/**
 * Livespace Furniture — homepage system v1.1.5
 * Purpose-built native homepage layer. JFC renders filtered homepage HTML outside main.jfc-main, so selectors scope directly to .lsf-home and never target the header.
 */

:root{
  --lsf-home-orange:#7E0026;
  --lsf-home-ink:#191D24;
  --lsf-home-muted:#667085;
  --lsf-home-border:#E6D7C7;
  --lsf-home-cream:#F7F8FA;
  --lsf-home-canvas:#FCF8F2;
  --lsf-home-white:#FFFFFF;
}

/* Keep the homepage deliberate rather than stretching every module edge-to-edge. */
body.lsf-site.lsf-child-theme .lsf-home .lsf-container{
  width:min(calc(100% - 64px),1460px)!important;
  margin-inline:auto!important;
}
body.lsf-site.lsf-child-theme .lsf-home{
  overflow:hidden;
  background:var(--lsf-home-canvas)!important;
}

/* =========================================================
   HERO — stable copy bounds, no clipped headline
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-hero{
  padding:30px 0 24px!important;
  background:var(--lsf-home-canvas)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.72fr) minmax(320px,.88fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__main{
  position:relative!important;
  min-height:520px!important;
  border-radius:6px!important;
  overflow:hidden!important;
  background:#D8C8B7!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__slide{
  position:absolute!important;
  inset:0!important;
  overflow:hidden!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__slide::after{
  background:linear-gradient(90deg,rgba(24,20,17,.72) 0%,rgba(24,20,17,.50) 40%,rgba(24,20,17,.17) 70%,rgba(24,20,17,0) 92%)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy{
  position:absolute!important;
  left:42px!important;
  right:auto!important;
  top:auto!important;
  bottom:42px!important;
  width:min(560px,54%)!important;
  max-width:none!important;
  padding:0!important;
  color:#fff!important;
  transform:none!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy>span{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  margin:0 0 12px!important;
  padding:0!important;
  background:transparent!important;
  color:#FFF1E7!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.14em!important;
  text-transform:uppercase!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy>span::before{
  content:""!important;
  width:24px!important;
  height:2px!important;
  flex:0 0 24px!important;
  background:var(--lsf-home-orange)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy h2{
  max-width:14ch!important;
  margin:0 0 15px!important;
  color:#fff!important;
  font-family:Archivo,Inter,sans-serif!important;
  font-size:clamp(2.65rem,3.25vw,3.65rem)!important;
  font-weight:650!important;
  line-height:.99!important;
  letter-spacing:-.045em!important;
  overflow:visible!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy p{
  max-width:48ch!important;
  margin:0 0 22px!important;
  color:rgba(255,255,255,.88)!important;
  font-size:14px!important;
  line-height:1.6!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy>a{
  min-height:44px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:11px!important;
  padding:0 18px!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--lsf-home-ink)!important;
  font-size:12px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__copy>a b{color:var(--lsf-home-orange)!important}
body.lsf-site.lsf-child-theme .lsf-home-hero__dots{
  left:auto!important;
  right:24px!important;
  top:22px!important;
  bottom:auto!important;
  z-index:5!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__dots button{
  width:24px!important;
  height:3px!important;
  background:rgba(255,255,255,.55)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__dots button.is-active{background:var(--lsf-home-orange)!important}
body.lsf-site.lsf-child-theme .lsf-home-hero__aside{
  display:grid!important;
  grid-template-rows:1fr 1fr!important;
  gap:16px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__mini{
  min-height:252px!important;
  border-radius:6px!important;
  overflow:hidden!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__mini span{
  left:24px!important;
  right:24px!important;
  bottom:22px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-hero__mini strong{
  max-width:18ch!important;
  font-size:22px!important;
  line-height:1.08!important;
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-section-head,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-section-head>div>span,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head>div>span{
  display:block!important;
  margin-bottom:7px!important;
  color:var(--lsf-home-orange)!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
body.lsf-site.lsf-child-theme .lsf-home-section-head h2,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head h2{
  margin:0!important;
  color:var(--lsf-home-ink)!important;
  font-family:Archivo,Inter,sans-serif!important;
  font-size:clamp(1.85rem,2.45vw,2.55rem)!important;
  font-weight:650!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
}
body.lsf-site.lsf-child-theme .lsf-home-section-head>a,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head>a{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  color:#5E5146!important;
  font-size:12px!important;
  font-weight:800!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.lsf-site.lsf-child-theme .lsf-home-section-head>a:hover,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head>a:hover{color:var(--lsf-home-orange)!important}
body.lsf-site.lsf-child-theme .lsf-home-section-head svg,
body.lsf-site.lsf-child-theme .lsf-home-shelf__head svg{width:16px!important;height:16px!important}

/* =========================================================
   CATEGORY DIRECTORY — 3 × 2 wide cards
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-directory{
  padding:62px 0 70px!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory .lsf-home-section-head{margin-bottom:26px!important}
body.lsf-site.lsf-child-theme .lsf-home-directory__grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__card{
  min-width:0!important;
  min-height:156px!important;
  display:grid!important;
  grid-template-columns:156px minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:18px!important;
  overflow:hidden!important;
  border:1px solid var(--lsf-home-border)!important;
  border-radius:5px!important;
  background:#fff!important;
  color:var(--lsf-home-ink)!important;
  text-decoration:none!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__card:hover{
  border-color:#D1B69C!important;
  box-shadow:0 10px 26px rgba(33,30,24,.06)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__image{
  width:156px!important;
  height:156px!important;
  display:block!important;
  overflow:hidden!important;
  border-right:1px solid var(--lsf-home-border)!important;
  background:#FBF4EA!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__image img{
  width:100%!important;
  height:100%!important;
  display:block!important;
  padding:10px!important;
  object-fit:contain!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__copy{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__copy strong{
  color:var(--lsf-home-ink)!important;
  font-size:16px!important;
  font-weight:800!important;
  line-height:1.16!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__copy small{
  color:#87786B!important;
  font-size:11px!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__arrow{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  margin-right:16px!important;
  color:var(--lsf-home-orange)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-directory__arrow svg{width:18px!important;height:18px!important}

/* =========================================================
   CATEGORY PRODUCT SHELVES
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-shelves{background:var(--lsf-home-canvas)!important}
body.lsf-site.lsf-child-theme .lsf-home-shelf{
  padding:58px 0 64px!important;
  border-top:1px solid rgba(230,215,199,.78)!important;
  background:var(--lsf-home-canvas)!important;
}
body.lsf-site.lsf-child-theme .lsf-home-shelf--alt{background:#fff!important}
body.lsf-site.lsf-child-theme .lsf-home-shelf__head{margin-bottom:22px!important}
body.lsf-site.lsf-child-theme .lsf-home-shelf__grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  min-width:0!important;
}
body.lsf-site.lsf-child-theme .lsf-home-shelf__grid>.lsf-product-card{
  min-width:0!important;
  width:100%!important;
}

/* Product cards stay dense and aligned inside every shelf. */
body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7{
  min-width:0!important;
  border:1px solid var(--lsf-home-border)!important;
  border-radius:4px!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__media{
  aspect-ratio:1/1!important;
  background:#FBF6EF!important;
}
body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__media img{
  object-fit:contain!important;
}
body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__body{padding:14px!important}
body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__title{
  margin:7px 0 9px!important;
  font-size:14px!important;
  line-height:1.28!important;
  min-height:36px!important;
}

/* Existing generic product blocks — keep the same page rhythm. */
body.lsf-site.lsf-child-theme .live-space-market-products,
body.lsf-site.lsf-child-theme .live-space-market-products--latest{
  padding:60px 0 66px!important;
}
body.lsf-site.lsf-child-theme .live-space-market-products{background:#fff!important}
body.lsf-site.lsf-child-theme .live-space-market-products--latest{background:var(--lsf-home-canvas)!important}
body.lsf-site.lsf-child-theme .live-space-market-products__grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}

/* =========================================================
   BUYING HELP — replaces the old repeated four-cell strip
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-help{
  padding:66px 0!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help>.lsf-container{
  display:grid!important;
  grid-template-columns:minmax(320px,.78fr) minmax(0,1.5fr)!important;
  overflow:hidden!important;
  border:1px solid var(--lsf-home-border)!important;
  border-radius:6px!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__intro{
  padding:36px 38px!important;
  background:var(--lsf-home-ink)!important;
  color:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__intro>span{
  display:block!important;
  margin-bottom:9px!important;
  color:#F3B88F!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__intro h2{
  max-width:15ch!important;
  margin:0 0 12px!important;
  color:#fff!important;
  font-family:Archivo,Inter,sans-serif!important;
  font-size:clamp(1.8rem,2.25vw,2.35rem)!important;
  font-weight:650!important;
  line-height:1.03!important;
  letter-spacing:-.04em!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__intro p{
  max-width:45ch!important;
  margin:0!important;
  color:rgba(255,255,255,.72)!important;
  font-size:12px!important;
  line-height:1.6!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__steps{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__steps>div,
body.lsf-site.lsf-child-theme .lsf-home-help__steps>a{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  align-content:center!important;
  gap:12px!important;
  padding:28px 24px!important;
  border-left:1px solid var(--lsf-home-border)!important;
  color:var(--lsf-home-ink)!important;
  text-decoration:none!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__steps b{
  color:var(--lsf-home-orange)!important;
  font-size:11px!important;
  font-weight:850!important;
}
body.lsf-site.lsf-child-theme .lsf-home-help__steps b svg{width:23px!important;height:23px!important;color:#25D366!important}
body.lsf-site.lsf-child-theme .lsf-home-help__steps span{display:flex!important;flex-direction:column!important;gap:5px!important}
body.lsf-site.lsf-child-theme .lsf-home-help__steps strong{font-size:13px!important;line-height:1.25!important}
body.lsf-site.lsf-child-theme .lsf-home-help__steps small{color:#7E7165!important;font-size:10.5px!important;line-height:1.45!important}
body.lsf-site.lsf-child-theme .lsf-home-help__steps>a:hover{background:var(--lsf-home-cream)!important}

/* =========================================================
   QUOTE CTA — no giant orange slab
   ========================================================= */
body.lsf-site.lsf-child-theme .lsf-home-quote{
  padding:0 0 68px!important;
  background:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-quote>.lsf-container{
  min-height:164px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:30px!important;
  padding:32px 36px!important;
  border:1px solid #342E28!important;
  border-radius:6px!important;
  background:#2A2521!important;
  color:#fff!important;
}
body.lsf-site.lsf-child-theme .lsf-home-quote span{
  display:block!important;
  margin-bottom:7px!important;
  color:#F1B88F!important;
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}
body.lsf-site.lsf-child-theme .lsf-home-quote h2{
  max-width:28ch!important;
  margin:0!important;
  color:#fff!important;
  font-family:Archivo,Inter,sans-serif!important;
  font-size:clamp(1.75rem,2.6vw,2.55rem)!important;
  font-weight:650!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
}
body.lsf-site.lsf-child-theme .lsf-home-quote a{
  min-height:46px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 18px!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--lsf-home-ink)!important;
  font-size:12px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
body.lsf-site.lsf-child-theme .lsf-home-quote a:hover{background:var(--lsf-home-cream)!important;color:var(--lsf-home-orange)!important}
body.lsf-site.lsf-child-theme .lsf-home-quote a svg{width:16px!important;height:16px!important}

@media(max-width:1100px){
  body.lsf-site.lsf-child-theme .lsf-home .lsf-container{width:min(calc(100% - 40px),1460px)!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__grid{grid-template-columns:minmax(0,1.48fr) minmax(280px,.92fr)!important;gap:12px!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__copy{left:32px!important;bottom:34px!important;width:min(500px,62%)!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__copy h2{font-size:clamp(2.35rem,4vw,3.2rem)!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.lsf-site.lsf-child-theme .lsf-home-shelf__grid,
  body.lsf-site.lsf-child-theme .live-space-market-products__grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.lsf-site.lsf-child-theme .lsf-home-help>.lsf-container{grid-template-columns:1fr!important}
  body.lsf-site.lsf-child-theme .lsf-home-help__steps>div:first-child,
  body.lsf-site.lsf-child-theme .lsf-home-help__steps>a:first-child{border-left:0!important}
}

@media(max-width:767px){
  body.lsf-site.lsf-child-theme .lsf-home .lsf-container{width:min(calc(100% - 24px),1460px)!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero{padding:14px 0 18px!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__grid{display:block!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__main{min-height:430px!important;border-radius:4px!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__slide::after{background:linear-gradient(180deg,rgba(24,20,17,.03) 10%,rgba(24,20,17,.22) 46%,rgba(24,20,17,.86) 100%)!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__copy{left:20px!important;right:20px!important;bottom:34px!important;width:auto!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__copy h2{max-width:12ch!important;font-size:2.2rem!important;line-height:1!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__copy p{max-width:34ch!important;font-size:12px!important;margin-bottom:18px!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__dots{right:18px!important;top:18px!important}
  body.lsf-site.lsf-child-theme .lsf-home-hero__aside{display:none!important}

  body.lsf-site.lsf-child-theme .lsf-home-directory{padding:42px 0 48px!important}
  body.lsf-site.lsf-child-theme .lsf-home-section-head,
  body.lsf-site.lsf-child-theme .lsf-home-shelf__head{align-items:flex-start!important;gap:12px!important;margin-bottom:18px!important}
  body.lsf-site.lsf-child-theme .lsf-home-section-head h2,
  body.lsf-site.lsf-child-theme .lsf-home-shelf__head h2{font-size:1.7rem!important}
  body.lsf-site.lsf-child-theme .lsf-home-section-head>a,
  body.lsf-site.lsf-child-theme .lsf-home-shelf__head>a{font-size:10px!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__card{min-height:0!important;display:block!important;padding:0!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__image{width:100%!important;height:auto!important;aspect-ratio:1.1/1!important;border-right:0!important;border-bottom:1px solid var(--lsf-home-border)!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__copy{padding:10px!important;gap:3px!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__copy strong{font-size:11px!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__copy small{font-size:9px!important}
  body.lsf-site.lsf-child-theme .lsf-home-directory__arrow{display:none!important}

  body.lsf-site.lsf-child-theme .lsf-home-shelf{padding:42px 0 48px!important}
  body.lsf-site.lsf-child-theme .lsf-home-shelf__grid,
  body.lsf-site.lsf-child-theme .live-space-market-products__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__body{padding:10px!important}
  body.lsf-site.lsf-child-theme .lsf-home .lsf-product-card--v7 .lsf-product-card__title{font-size:12px!important;min-height:34px!important}

  body.lsf-site.lsf-child-theme .lsf-home-help{padding:44px 0!important}
  body.lsf-site.lsf-child-theme .lsf-home-help__intro{padding:26px 22px!important}
  body.lsf-site.lsf-child-theme .lsf-home-help__intro h2{font-size:1.8rem!important}
  body.lsf-site.lsf-child-theme .lsf-home-help__steps{grid-template-columns:1fr!important}
  body.lsf-site.lsf-child-theme .lsf-home-help__steps>div,
  body.lsf-site.lsf-child-theme .lsf-home-help__steps>a{min-height:76px!important;padding:16px 20px!important;border-left:0!important;border-top:1px solid var(--lsf-home-border)!important}

  body.lsf-site.lsf-child-theme .lsf-home-quote{padding-bottom:48px!important}
  body.lsf-site.lsf-child-theme .lsf-home-quote>.lsf-container{min-height:0!important;grid-template-columns:1fr!important;align-items:start!important;padding:26px 22px!important}
  body.lsf-site.lsf-child-theme .lsf-home-quote h2{font-size:1.8rem!important}
  body.lsf-site.lsf-child-theme .lsf-home-quote a{width:100%!important;justify-content:center!important}
}
