/* Livespace Furniture client UI corrections — v2.0.1
 * Final brand/purchase/cart layer. Loaded after every legacy commerce stylesheet.
 */
:root{
  --lsf201-red:#7E0026;
  --lsf201-red-dark:#5C001C;
  --lsf201-blue:#0151B2;
  --lsf201-blue-dark:#003E88;
  --lsf201-ink:#18243A;
  --lsf201-muted:#667085;
  --lsf201-bg:#F7F8FA;
  --lsf201-surface:#FFFFFF;
  --lsf201-soft-red:#F8EEF1;
  --lsf201-soft-blue:#EAF1FB;
  --lsf201-border:#D7DEE7;
  --lsf201-wa:#25D366;
}

/* Do not use black/dark blocks as the default action language. */
html body.lsf-site.lsf-child-theme .lsf-product-card__add,
html body.lsf-site.lsf-child-theme .lsf-product-card--v12 .lsf-product-card__add,
html body.lsf-site.lsf-child-theme .lsf-product-card--v11 .lsf-product-card__add,
html body.lsf-site.lsf-child-theme .lsf-product-card--v10 .lsf-product-card__add,
html body.lsf-site.lsf-child-theme .lsf-cart-native .button,
html body.lsf-site.lsf-child-theme .lsf-cart-update-v7,
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 .single_add_to_cart_button,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback .single_add_to_cart_button,
html body.lsf-site.lsf-child-theme .lsf-commerce-steps li.is-active{
  border-color:var(--lsf201-red)!important;
  background:var(--lsf201-red)!important;
  color:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-product-card__add:hover,
html body.lsf-site.lsf-child-theme .lsf-cart-native .button:hover,
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 .single_add_to_cart_button:hover,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback .single_add_to_cart_button:hover{
  border-color:var(--lsf201-red-dark)!important;
  background:var(--lsf201-red-dark)!important;
  color:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-commerce-steps li.is-active span{
  background:#fff!important;
  color:var(--lsf201-red)!important;
}
html body.lsf-site.lsf-child-theme .lsf-account-native .woocommerce-MyAccount-navigation li.is-active a{
  background:var(--lsf201-soft-red)!important;
  color:var(--lsf201-red)!important;
}

/* WhatsApp is a first-class contact channel now that the client phone is used. */
html body.lsf-site.lsf-child-theme .lsf-btn--whatsapp,
html body.lsf-site.lsf-child-theme .lsf-product-card__whatsapp,
html body.lsf-site.lsf-child-theme .lsf-cart-whatsapp-v7{
  border-color:var(--lsf201-wa)!important;
  background:var(--lsf201-wa)!important;
  color:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-btn--whatsapp svg,
html body.lsf-site.lsf-child-theme .lsf-product-card__whatsapp svg,
html body.lsf-site.lsf-child-theme .lsf-cart-whatsapp-v7 svg{color:#fff!important;fill:currentColor!important}

/* ---------- Single product purchase area ---------- */
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5{
  border-top:1px solid var(--lsf201-border)!important;
  background:#fff!important;
}
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback{
  display:grid!important;
  grid-template-columns:86px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:stretch!important;
  margin:16px 0 0!important;
}
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart .quantity,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback .quantity{
  width:86px!important;
  margin:0!important;
}
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart .qty,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback .qty{
  width:86px!important;
  height:50px!important;
  margin:0!important;
  border:1px solid var(--lsf201-border)!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--lsf201-ink)!important;
  text-align:center!important;
}
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 .single_add_to_cart_button,
html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback .single_add_to_cart_button{
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  border-radius:4px!important;
  font-size:13px!important;
  font-weight:800!important;
}
html body.lsf-site.lsf-child-theme .lsf-product-buybox__secondary{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:10px!important;
  margin-top:10px!important;
}
html body.lsf-site.lsf-child-theme .lsf-product-buybox__secondary .lsf-btn{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border-radius:4px!important;
}
html body.lsf-site.lsf-child-theme .lsf-product-summary__top,
html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5,
html body.lsf-site.lsf-child-theme .live-space-product-assurance-v6,
html body.lsf-site.lsf-child-theme .lsf-product-summary__meta{
  background:#fff!important;
}

/* Product information: use the width, don't leave a dead left gutter. */
html body.lsf-site.lsf-child-theme .lsf-product-information--v8{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-inline:0!important;
}
html body.lsf-site.lsf-child-theme .lsf-product-information--v8 .lsf-product-information__layout,
html body.lsf-site.lsf-child-theme .lsf-product-information--v8 .lsf-product-information__content,
html body.lsf-site.lsf-child-theme .lsf-product-information--v8 .lsf-product-description{
  margin-left:0!important;
  padding-left:0!important;
}

/* ---------- Cart v7 ---------- */
html body.lsf-site.lsf-child-theme .lsf-cart-native{
  width:100%!important;
  min-height:0!important;
  padding:0!important;
  background:transparent!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-layout-v7{
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(340px,.7fr)!important;
  gap:24px!important;
  align-items:start!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7{
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--lsf201-border)!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__heading{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  padding:18px 20px!important;
  border-bottom:1px solid var(--lsf201-border)!important;
  background:var(--lsf201-soft-blue)!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__heading strong{color:var(--lsf201-ink)!important;font-size:17px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__heading span{color:var(--lsf201-muted)!important;font-size:12px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__items{display:block!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7{
  display:grid!important;
  grid-template-columns:116px minmax(0,1fr)!important;
  gap:18px!important;
  padding:18px 20px!important;
  border-bottom:1px solid var(--lsf201-border)!important;
  background:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__image{
  width:116px!important;
  height:96px!important;
  display:block!important;
  border-radius:6px!important;
  overflow:hidden!important;
  background:#F7F8FA!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__image img{width:100%!important;height:100%!important;object-fit:contain!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__details{min-width:0!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__title-row{display:flex!important;justify-content:space-between!important;gap:18px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__title{color:var(--lsf201-ink)!important;font-size:15px!important;font-weight:800!important;text-decoration:none!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__remove{color:var(--lsf201-red)!important;font-size:11px!important;font-weight:700!important;text-decoration:none!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__meta{display:flex!important;justify-content:space-between!important;gap:16px!important;margin-top:12px!important;color:var(--lsf201-muted)!important;font-size:12px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__meta strong{color:var(--lsf201-red)!important;font-size:15px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__quantity{display:flex!important;align-items:center!important;gap:10px!important;margin-top:12px!important;color:var(--lsf201-muted)!important;font-size:11px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__quantity .qty{width:72px!important;height:38px!important;border:1px solid var(--lsf201-border)!important;border-radius:4px!important;background:#fff!important;text-align:center!important}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__actions{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:16px 20px!important;background:#F7F8FA!important}
html body.lsf-site.lsf-child-theme .lsf-cart-coupon-v7{display:grid!important;grid-template-columns:minmax(150px,230px) auto!important;gap:8px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-coupon-v7 input{height:40px!important;border:1px solid var(--lsf201-border)!important;border-radius:4px!important;background:#fff!important;padding:0 10px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__actions .button{min-height:40px!important;padding:0 16px!important;border-radius:4px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7{
  position:sticky!important;
  top:132px!important;
  min-width:0!important;
}
html body.admin-bar.lsf-site.lsf-child-theme .lsf-cart-summary-v7{top:164px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .cart_totals{
  float:none!important;
  width:100%!important;
  margin:0!important;
  padding:22px!important;
  border:1px solid var(--lsf201-border)!important;
  border-radius:8px!important;
  background:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .cart_totals h2{margin:0 0 14px!important;color:var(--lsf201-ink)!important;font-size:22px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .cart_totals table{width:100%!important;margin:0!important;border:0!important}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .cart_totals th,
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .cart_totals td{padding:12px 0!important;border-bottom:1px solid var(--lsf201-border)!important;background:transparent!important;font-size:12px!important}
html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7 .checkout-button{
  width:100%!important;
  min-height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:16px!important;
  border-radius:4px!important;
  background:var(--lsf201-red)!important;
  border-color:var(--lsf201-red)!important;
  color:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-whatsapp-v7{
  min-height:48px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  margin-top:10px!important;
  padding:0 14px!important;
  border-radius:4px!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:800!important;
}
html body.lsf-site.lsf-child-theme .lsf-cart-whatsapp-v7 svg{width:20px!important;height:20px!important}

/* Never let legacy cart collaterals/cross-sell floats re-enter the native cart. */
html body.lsf-site.lsf-child-theme .lsf-cart-layout-v7 .cross-sells{display:none!important}
html body.lsf-site.lsf-child-theme .lsf-cart-layout-v7 .cart-collaterals{float:none!important;width:auto!important;margin:0!important}

/* Checkout uses light surfaces + brand actions, not black panels. */
html body.lsf-site.lsf-child-theme .lsf-checkout-native #place_order,
html body.lsf-site.lsf-child-theme .lsf-cart-native .checkout-button{
  background:var(--lsf201-red)!important;
  border-color:var(--lsf201-red)!important;
  color:#fff!important;
}
html body.lsf-site.lsf-child-theme .lsf-checkout-native #payment,
html body.lsf-site.lsf-child-theme .lsf-checkout-native #order_review,
html body.lsf-site.lsf-child-theme .lsf-checkout-native #customer_details{background:#fff!important}

/* Product cards: brand-red purchase button, no black slabs. */
html body.lsf-site.lsf-child-theme .lsf-product-card__actions{align-items:stretch!important}
html body.lsf-site.lsf-child-theme .lsf-product-card__add,
html body.lsf-site.lsf-child-theme .lsf-product-card__whatsapp{height:48px!important;min-height:48px!important}

@media(max-width:900px){
  html body.lsf-site.lsf-child-theme .lsf-cart-layout-v7{grid-template-columns:1fr!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-summary-v7{position:static!important}
}
@media(max-width:640px){
  html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart,
  html body.lsf-site.lsf-child-theme .lsf-direct-purchase-fallback{grid-template-columns:72px minmax(0,1fr)!important}
  html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart .quantity,
  html body.lsf-site.lsf-child-theme .live-space-product-buybox-v5 form.cart .qty{width:72px!important}
  html body.lsf-site.lsf-child-theme .lsf-product-buybox__secondary{grid-template-columns:1fr!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-item-v7{grid-template-columns:84px minmax(0,1fr)!important;padding:14px!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-item-v7__image{width:84px!important;height:76px!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-list-v7__actions{align-items:stretch!important;flex-direction:column!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-coupon-v7{grid-template-columns:1fr auto!important;width:100%!important}
  html body.lsf-site.lsf-child-theme .lsf-cart-update-v7{width:100%!important}
}
