/* Desktop-only Home sections. Tablet/mobile styling is intentionally deferred. */
.ls-home-section{display:none;background:var(--home-bg,var(--theme-card-bg));color:var(--home-text,var(--theme-home-text));padding-block:64px}
.ls-home-section__header{margin-bottom:26px}
.ls-home-section__header h2{margin:0;color:var(--home-heading,var(--theme-h2-override,var(--theme-home-heading)));line-height:1.2}
.ls-home-section__header p{margin:12px 0 0;color:var(--home-text,var(--theme-home-text));line-height:1.55}
.ls-home-section__header--center{text-align:center}
.ls-home-section__header--split{display:flex;align-items:flex-end;justify-content:space-between;gap:32px}
.ls-home-section__header--split>a{flex:0 0 auto;color:var(--home-accent,var(--theme-home-accent));font-weight:600;text-decoration:none}
.ls-home-section__header--split>a span{font-size:1.5em;vertical-align:-.06em}
/* Shared heading eyebrow and two-line section introductions. */
.ls-section-badge{box-sizing:border-box;display:inline-flex;align-items:center;gap:7px;max-width:100%;margin:0 0 14px;padding:6px 12px;border:1px solid var(--home-accent,var(--theme-home-accent));border-radius:999px;background:var(--theme-card-bg);color:var(--home-accent,var(--theme-home-accent));font-size:.8125em;font-weight:500;line-height:1.4;letter-spacing:.03em}
.ls-section-badge__icon{display:block;flex:0 0 19px;width:19px;height:19px;fill:currentColor}
.ls-section-badge>span{min-width:0;overflow-wrap:anywhere}
.ls-banner .ls-section-badge{margin-bottom:3px;background:var(--theme-decor-0005);border-color:currentColor;color:var(--banner-heading,var(--theme-contrast-text))}
.ls-home :is(.ls-home-section__header,.ls-home-extra__header,.ls-home-reviews__header) p,.ls-banner .ls-banner__description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;max-width:60ch;overflow-wrap:anywhere;text-wrap:pretty}
.ls-home-section__header--center p{margin-inline:auto}
.ls-home-section__header--split>div,.ls-home-extra__header--split>div,.ls-home-reviews__header>div{min-width:0}
@media(max-width:767px){.ls-banner__slide--hide-mobile-text :is(.ls-section-badge,.ls-banner__description){display:none}}
.ls-home-section.ls-home-offerings{display:block}
.ls-home-offerings__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ls-home-offering{display:flex;flex-direction:column;overflow:hidden;border-radius:28px;background:var(--theme-card-bg);box-shadow:0 8px 24px var(--theme-decor-251d2720)}
.ls-home-offering__image{display:block;width:100%;height:280px;object-fit:cover}
.ls-home-offering__body{position:relative;isolation:isolate;display:flex;flex:1;flex-direction:column;gap:18px;margin-top:-18px;padding:25px 20px 26px;background:var(--theme-card-bg);text-align:left}
.ls-home-offering__body::before{content:"";position:absolute;z-index:-1;left:-5%;top:-22px;width:110%;height:45px;border-radius:50% 50% 0 0;background:var(--theme-card-bg);transform:rotate(3deg)}
.ls-home-offering__body::after{content:"";position:absolute;z-index:-1;right:-80px;bottom:-105px;width:240px;height:220px;border-radius:55% 45% 0 0;background:var(--theme-alt-bg);transform:rotate(-30deg)}
.ls-home-offering__dots{position:absolute;right:12px;top:92px;width:34px;height:46px;opacity:.2;background:radial-gradient(circle,var(--home-accent,var(--theme-home-accent)) 1px,transparent 2px) 0 0/11px 11px;pointer-events:none}
.ls-home .ls-home-offering h3{position:relative;margin:0;padding-bottom:14px;color:var(--home-heading,var(--theme-h3-override,var(--theme-home-heading)));text-transform:none}
.ls-home-offering h3::after{content:"";position:absolute;bottom:0;left:0;width:30px;height:3px;border-radius:4px;background:var(--home-accent,var(--theme-home-accent))}
.ls-home-offering h3 span{color:var(--home-accent,var(--theme-home-accent))}
.ls-home-offering p{min-height:3em;margin:0;color:var(--home-text,var(--theme-home-text));line-height:1.5}
.ls-home-offering__features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:auto 0 0;padding:0;list-style:none}
.ls-home-offering__features li{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 4px;text-align:center;font-size:.875em;color:var(--home-text,var(--theme-home-text));line-height:1.3}
.ls-home-offering__features li+li{border-left:1px solid var(--livspace-border)}
.ls-home-offering__feature-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:var(--theme-alt-bg);color:var(--home-accent,var(--theme-home-accent))}
.ls-home-offering__symbol{width:25px;height:25px;fill:currentColor}
.ls-home-offering__cta{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:6px;padding:13px 22px;border:1px solid var(--home-accent,var(--theme-button-border));border-radius:999px;background:var(--theme-button-bg);color:var(--theme-button-text);font-family:inherit;font-size:inherit;font-weight:600;text-decoration:none}
.ls-home-offering__cta span{font-size:1.6em;line-height:1}
.ls-home-offering__cta[href]:is(:hover,:focus-visible){background:var(--theme-button-hover-bg);color:var(--theme-button-hover-text);border-color:var(--theme-button-hover-border)}
@media(max-width:1199px){.ls-home-offerings__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.ls-home-section.ls-home-offerings{padding-block:38px}.ls-home-offerings__grid{grid-template-columns:1fr;gap:24px}.ls-home-offering__image{height:auto;aspect-ratio:4/3}.ls-home-offering__body{padding:24px}.ls-home-offering__cta{align-self:flex-start;min-width:200px}}
.ls-home-card-link{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:50%;color:var(--home-heading,var(--theme-home-heading));font-size:26px;text-decoration:none}
.ls-home-card-link[href]:hover,.ls-home-card-link[href]:focus-visible{background:var(--theme-button-hover-bg);color:var(--theme-button-hover-text)}
.ls-home-inspiration__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:420px 220px;gap:10px}
.ls-home-inspiration__item{position:relative;display:block;overflow:hidden;border-radius:8px;background:var(--theme-decor-ddd)}
.ls-home-inspiration__item--1{grid-column:1/span 2}
.ls-home-inspiration__item--5{grid-column:2/span 2}
.ls-home-inspiration__image{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.ls-home-inspiration__item[href]:hover .ls-home-inspiration__image{transform:scale(1.025)}
.ls-home-inspiration__item span{position:absolute;inset:auto auto 12px 12px;padding:4px 8px;border-radius:4px;background:var(--theme-contrast-bg);color:var(--theme-contrast-text);line-height:1}
.ls-home-benefits__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:24px}
.ls-home-benefit{min-height:210px;padding:28px 18px;border:1px solid var(--livspace-border);border-radius:14px;background:var(--theme-card-bg);text-align:center}
.ls-home-benefit__icon{width:76px;height:76px;padding:14px;border-radius:24px;background:var(--theme-alt-bg);color:var(--home-accent,var(--theme-home-accent))}
.ls-home-benefit p{margin:18px 0 0;color:var(--home-text,var(--theme-home-text));line-height:1.45}
@media(min-width:1200px){.ls-home-section{display:block}}

/* Alternate only rendered Home sections after the image banner.
 * Alternation starts with the alternate color, then the card/white surface.
 * Section-specific --home-bg remains the highest-priority override.
 * Benefits remain hidden below 1200px; Inspiration now displays responsively.
 */
.ls-home>section:not(.ls-banner):not([hidden]){background:var(--home-bg,var(--home-stripe-bg,var(--theme-card-bg)))}
@media(max-width:1199px){
.ls-home>section:nth-child(odd of section:not(.ls-banner):not([hidden]):not(.ls-home-benefits)){--home-stripe-bg:var(--theme-alt-bg)}
.ls-home>section:nth-child(even of section:not(.ls-banner):not([hidden]):not(.ls-home-benefits)){--home-stripe-bg:var(--theme-card-bg)}
}
@media(min-width:1200px){
 .ls-home>section:nth-child(odd of section:not(.ls-banner):not([hidden])){--home-stripe-bg:var(--theme-alt-bg)}
 .ls-home>section:nth-child(even of section:not(.ls-banner):not([hidden])){--home-stripe-bg:var(--theme-card-bg)}
}

/* Design Inspiration is now available on tablet/mobile while preserving desktop placement. */
.ls-home-section.ls-home-inspiration{display:block}
.ls-home-inspiration__item .ls-home-inspiration__placeholder{display:block;position:static;inset:auto;width:100%;height:100%;background:linear-gradient(140deg,var(--theme-alt-bg),var(--theme-card-bg))}
.ls-home-inspiration__item .ls-home-inspiration__label{position:absolute;inset:auto auto 12px 12px}
@media(max-width:1199px){.ls-home-inspiration__grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}.ls-home-inspiration__item{grid-column:auto!important;aspect-ratio:4/3}.ls-home-section.ls-home-inspiration{padding-block:38px}}
@media(max-width:600px){.ls-home-inspiration__grid{gap:10px}.ls-home-inspiration__item{aspect-ratio:5/4}.ls-home-section.ls-home-inspiration .ls-home-section__header--split{align-items:flex-start;flex-direction:column;gap:16px}}
/* Offering homepage grid now comes from CPT (five cards) with existing curved-card appearance. */
@media(min-width:1400px){.ls-home-offerings__grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.ls-home-offering__image{height:235px}.ls-home-offering__body{padding:24px 17px}.ls-home-offering__features li{font-size:.77em}}
@media(min-width:992px) and (max-width:1399px){.ls-home-offerings__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}}
.ls-home-offerings .ls-home-offering{background:var(--theme-card-bg);color:var(--home-text,var(--theme-home-text))}
.ls-home-offerings .ls-home-offering__body,.ls-home-offerings .ls-home-offering__body::before{background:var(--theme-card-bg)}
.ls-home-offerings .ls-home-offering h3{color:var(--home-heading,var(--theme-home-heading))}
.ls-home-offerings .ls-home-offering p,.ls-home-offerings .ls-home-offering__features li{color:var(--home-text,var(--theme-home-text))}
.ls-home-offerings a.ls-home-offering__cta{color:var(--theme-button-text);background:var(--theme-button-bg);border-color:var(--theme-button-border)}
.ls-home-offerings a.ls-home-offering__cta:is(:hover,:focus-visible){color:var(--theme-button-hover-text);background:var(--theme-button-hover-bg);border-color:var(--theme-button-hover-border)}

/* A saved section background and its foreground stay together on Offering cards. */
.ls-home-offerings .ls-home-offering,.ls-home-offerings .ls-home-offering__body,.ls-home-offerings .ls-home-offering__body::before{background:var(--home-bg,var(--theme-card-bg))}
.ls-home-offerings a.ls-home-offering__cta:active{background:var(--theme-button-active-bg);color:var(--theme-button-active-text);border-color:var(--theme-button-hover-border)}

/* Reuse the existing Swiper initializer: four desktop cards, all five remain accessible. */
.ls-home-offerings__grid.swiper{display:block;overflow:hidden;padding:4px 4px 12px;margin:-4px -4px -12px}.ls-home-offerings__grid .swiper-wrapper{align-items:stretch}.ls-home-offerings__grid .ls-home-offering{height:auto;flex-shrink:0;width:100%}.ls-home-offerings__grid:not(.swiper-initialized) .swiper-wrapper{gap:24px}.ls-home-offerings__navigation{display:flex;justify-content:flex-end;gap:12px;padding:22px 4px 4px}.ls-home-offerings__navigation :is(.swiper-button-prev,.swiper-button-next){position:static;width:40px;height:40px;margin:0;border:1px solid var(--livspace-border);border-radius:50%;background:var(--theme-card-bg);color:var(--home-accent,var(--theme-home-accent));--swiper-navigation-size:16px}.ls-home-offerings__navigation button:focus-visible{outline:2px solid var(--theme-focus-color);outline-offset:3px}
@media(min-width:768px){.ls-home-offerings__grid:not(.swiper-initialized) .ls-home-offering{width:calc((100% - 24px)/2)}}
@media(min-width:1200px){.ls-home-offerings__grid:not(.swiper-initialized) .ls-home-offering{width:calc((100% - 72px)/4)}}

.ls-home-offerings__pause{border:1px solid var(--livspace-border);border-radius:999px;padding:8px 16px;background:var(--theme-card-bg);color:var(--theme-heading-color);font:inherit;cursor:pointer}.ls-home-offerings__pause[hidden]{display:none!important}.ls-home-offerings__pause:focus-visible{outline:2px solid var(--theme-focus-color);outline-offset:3px}
