/*
 * Home page (front-page.php + pattern l24-store/home). Sizes and spacing follow the previous
 * Divi home page; .l24-cats is the category grid styled as before (its CSS lived in a Divi code module).
 */

.l24-home { overflow: hidden; }
/* Classic theme: group blocks have an inner container; grid/flex rules target it too. */
.l24-home .wp-block-group__inner-container { min-width: 0; grid-column: 1 / -1; flex: 1 1 100%; }
.l24-home__inner { width: 100%; max-width: calc(var(--l24-container) + 2 * var(--l24-gutter)); margin: 0 auto; padding: 0 var(--l24-gutter); }
.l24-home h2 { margin: 0 0 12px; font-size: 26px; font-weight: 600; line-height: 1.3; }
.l24-home p { margin: 0 0 14px; }
.l24-home .wp-block-image { margin: 0; }
.l24-home .wp-block-image img { display: block; width: 100%; height: auto; }
.l24-home-kicker { margin: 0 0 10px !important; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.l24-home-note { font-size: 12px; }
.l24-home-section { padding: 80px 0; }
.l24-home-section--soft { background: #f9f9f9; }

/* Buttons: dark by default, icon after the label (bag / car), as before. */
.l24-home .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin: 22px 0 0; }
.l24-home-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 16px; border-radius: 10px; background: var(--l24-dark); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.7; text-decoration: none; transition: background-color .15s, color .15s; }
.l24-home-btn .wp-block-button__link:hover { background: #2b2b2b; color: #fff; }
.l24-home-btn--bag .wp-block-button__link::after,
.l24-home-btn--car .wp-block-button__link::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--l24-icon) center / contain no-repeat; mask: var(--l24-icon) center / contain no-repeat; }
.l24-home-btn--bag { --l24-icon: url("../../../../uploads/2026/06/shopping-bag.svg"); }
.l24-home-btn--car { --l24-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 11l1.6-4.4A2 2 0 0 1 8.5 5h7a2 2 0 0 1 1.9 1.6L19 11h1a1 1 0 0 1 1 1v5h-2v1.5a1.5 1.5 0 0 1-3 0V17H8v1.5a1.5 1.5 0 0 1-3 0V17H3v-5a1 1 0 0 1 1-1zm2.2 0h9.6l-1.2-3.4a.8.8 0 0 0-.8-.6H9.2a.8.8 0 0 0-.8.6zM6.5 15a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm11 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z'/%3E%3C/svg%3E"); }
.l24-home-btn--light .wp-block-button__link { background: #fff; color: var(--l24-dark); }
.l24-home-btn--light .wp-block-button__link:hover { background: #f1f1f1; color: var(--l24-dark); }
.l24-home-btn--accent .wp-block-button__link { background: var(--l24-accent); color: #fff; }
.l24-home-btn--accent .wp-block-button__link:hover { background: var(--l24-accent-dark); color: #fff; }
.l24-home-btn--more .wp-block-button__link { min-height: 46px; padding: 8px 16px; background: #fff; color: var(--l24-accent); }
.l24-home-btn--more .wp-block-button__link:hover { background: #fff; color: var(--l24-accent-dark); }

/* Category tiles */
.l24-home-cats-section { padding: 36px 0 70px; }
.l24-cats { width: 100%; }
.l24-cats__head { margin: 0 0 28px; }
.l24-cats__eyebrow { display: block; margin: 0 0 10px; text-transform: uppercase; font-size: 14px; line-height: 1.3; letter-spacing: .02em; }
.l24-cats__head h2 { margin: 0 0 12px; padding: 0; font-weight: 500; }
.l24-cats__head p { margin: 0; padding: 0; }
.l24-cats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.l24-cats__tile {display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:14px;padding:22px;background:#fff;border:1px solid #e7e7e7;border-radius:14px;color:inherit;text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
.l24-cats__tile:hover {border-color:var(--l24-accent);color:inherit;box-shadow:0 6px 20px #00000006;transform:translateY(-2px)}
.l24-cats__tile:focus-visible {outline:2px solid var(--l24-accent);outline-offset:3px}
.l24-cats__icon {display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#fff3eb;flex-shrink:0}
.l24-cats__icon :is(img,svg) {display:block;width:26px;height:26px}
.l24-cats__copy {min-width:0}
.l24-cats__tile h3 {margin:0 0 5px;padding:0;font-size:17px;font-weight:600;line-height:1.3}
.l24-home .l24-cats__tile p {margin:0;font-size:12px;line-height:1.5;color:#666}
.l24-cats__arrow {color:#b94b00;font-size:20px;line-height:1}
.l24-home .l24-cats__more {margin:20px 0 0;font-size:13px;color:#666}
.l24-cats__more a {color:#171717;text-underline-offset:4px}

/* Product carousel section */
.l24-home-products { padding: 30px 0 90px; }
.l24-home-products h2 { margin-bottom: 8px; }
.l24-home-products .l24-home__inner > p:not(.l24-home-kicker) { margin-bottom: 20px; }

/* Cards (promo, bestseller): white card with the light topographic pattern */
.l24-home-card { gap: 0 !important; margin: 0 !important; overflow: hidden; border: 1px solid #ededed; border-radius: 14px; background: #fff; }
.l24-home-card--pattern .l24-home-card__text { background: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .82)), #fff url("../../../../uploads/2026/08/bg-white.webp") center / 1420px auto repeat; }
.l24-home-card > .wp-block-column { flex-basis: 50% !important; align-self: stretch !important; }
.l24-home-card__text { display: flex; flex-direction: column; justify-content: center; padding: 48px 32px; }
.l24-home-card__media { min-height: 100%; }
.l24-home-card__media .wp-block-image, .l24-home-card__media .wp-block-image img { height: 100%; }
.l24-home-card__media .wp-block-image img { object-fit: cover; }
.l24-home-card__media--video { display: flex; align-items: center; justify-content: center; border-left: 1px solid #ededed; }
.l24-home-card__media--video .wp-block-video { margin: 0; width: 100%; }
.l24-home-card__media--video video { display: block; width: 100%; height: auto; }
.l24-home-promo-section { padding: 110px 0; }
.l24-home-promo-section .l24-home-card__text h2 { line-height: 1.3; }

/* Editorial content: product photography, store benefits, media and FAQ. */
.l24-home-split {gap:48px!important;margin:0 0 76px!important}
.l24-home-split:last-child {margin-bottom:0!important}
.l24-home-why {padding:76px 0 32px}
.l24-home-why .l24-home-kicker {font-size:11px;letter-spacing:.08em;color:#a94200}
.l24-home-why__images {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:start;padding-bottom:26px}
.l24-home-why__images .wp-block-image:nth-child(2) {transform:translateY(26px)}
.l24-home-why__images .wp-block-image img {aspect-ratio:3/5;max-height:360px;object-fit:cover;border-radius:20px}
.l24-home-why__list {margin-top:24px}
.l24-home-why__list > .wp-block-group__inner-container {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.l24-home-why__item {padding:14px 12px;border:1px solid #e9e7e4;border-radius:12px;background:#fff;min-width:0}
.l24-home-why__item:last-child {grid-column:1/-1}
.l24-home-why__item > .wp-block-group__inner-container {display:flex;align-items:center;gap:10px}
.l24-home-why__item .wp-block-image {flex:0 0 36px;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#fff3eb}
.l24-home-why__item .wp-block-image img {width:21px;height:21px;object-fit:contain}
.l24-home .l24-home-why__item p {margin:0;font-size:12px;line-height:1.5;font-weight:500}
.l24-home .l24-home-media {display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:32px!important;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;align-items:center}
.l24-home-media > .wp-block-column {min-width:0}
.l24-home-media h2 {font-size:25px;line-height:1.3;letter-spacing:-.02em}
.l24-home-media .wp-block-image img,.l24-home-rounded img {border-radius:16px}
.l24-home-media .l24-home-note {margin-top:10px;font-size:11px;color:#777}
.l24-home-bestseller {margin:0 0 76px!important}
.l24-home .l24-home-faq {display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:stretch;gap:40px!important;padding:30px;background:#fff;border:1px solid #e8e8e8;border-radius:24px}
.l24-home-faq > .wp-block-column {min-width:0}
.l24-home-faq h2 {margin-bottom:12px}
.l24-home-faq .l24-accordion {margin-top:24px;gap:8px;counter-reset:faq}
.l24-home-faq .l24-accordion__item {background:#fafafa;border:1px solid #eee;border-radius:12px;counter-increment:faq}
.l24-home-faq .l24-accordion__item[open] {background:#fff;border-color:#ffc49c}
.l24-home-faq .l24-accordion__item > summary {padding:16px 14px;gap:12px;color:#222}
.l24-home-faq .l24-accordion__item > summary::before {content:counter(faq,decimal-leading-zero);font-size:11px;color:#b94b00;flex:0 0 18px;font-weight:600}
.l24-home-faq .l24-accordion__title {flex:1;font-size:14px;line-height:1.45;margin:0}
.l24-home-faq .l24-accordion__body {padding:0 18px 16px 44px;line-height:1.7}
.l24-home-faq__images {display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;padding-bottom:0;align-items:stretch;min-height:0}
.l24-home-faq__images .wp-block-image {position:relative;min-height:0;overflow:hidden;border-radius:16px}
.l24-home .l24-home-faq__images .wp-block-image img {position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;border-radius:16px}

/* Blog */
.l24-home-blog { padding: 32px 0 100px; background: #f9f9f9; }
.l24-home-blog__head { margin: 0 0 36px !important; }
.l24-home-blog__head p:last-child { max-width: 590px; margin: 0; }
.l24-home-blog__head .wp-block-buttons { margin: 0; }
.l24-home-blog .l24-post-card__meta span { display: none; } /* date only, as before */

@media (max-width: 980px) {
  .l24-home h2 { font-size: 22px; }
  .l24-home-section, .l24-home-promo-section, .l24-home-why, .l24-home-blog { padding: 56px 0; }
  .l24-home-card__media .wp-block-image img { aspect-ratio: 4 / 3; }
  .l24-home-cats-section { padding: 36px 0 48px; }
  .l24-cats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .l24-home-split { gap: 32px !important; margin-bottom: 64px !important; }
  .l24-home-card > .wp-block-column { flex-basis: 100% !important; }
  .l24-home-card__text { padding: 32px 22px; }
  .l24-home-card__media--video { border-left: 0; border-top: 1px solid #ededed; }
  .l24-home-bestseller { margin-bottom: 64px !important; }
  .l24-home-blog__head .wp-block-buttons { justify-content: flex-start !important; }
}

@media (max-width: 480px) {
  .l24-cats__head { margin-bottom: 20px; }
  .l24-cats__eyebrow { font-size: 13px; margin-bottom: 8px; }
  .l24-cats__grid { gap: 8px; }
  .l24-cats__tile { padding:14px 10px;gap:8px;grid-template-columns:30px minmax(0,1fr);border-radius:12px;align-items:start; }
  .l24-cats__icon { width:30px;height:30px;border-radius:8px; }
  .l24-cats__icon :is(img,svg) {width:20px;height:20px;}
  .l24-cats__tile h3 {font-size:14px;line-height:1.4;}
  .l24-cats__arrow {display:none;}
  .l24-home .l24-cats__tile p {font-size:11px;}
  .l24-home-why__images, .l24-home-faq__images { gap: 14px; }
}
/* StealthTrack: same brand colours, model-led introduction, no new JS. */
.l24-brand-section { padding:68px 0; background:#fff; }
.l24-brand-intro { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; margin-bottom:30px; }
.l24-brand-intro .l24-home-kicker { color:#b84700; font-size:11px; letter-spacing:.12em; font-weight:600; }
.l24-brand-intro h2 { font-size:32px; line-height:1.22; letter-spacing:-.02em; margin:0; }
.l24-brand-intro p { font-size:14px; line-height:1.7; color:#525252; }
.l24-brand-link { display:inline-flex; align-items:center; gap:12px; color:#141414; font-size:13px; font-weight:600; text-underline-offset:5px; }
.l24-brand-link span { color:var(--l24-accent); }
.l24-brand-models { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.l24-brand-model { display:flex; flex-direction:column; min-width:0; border:1px solid #e9e9e9; border-radius:16px; overflow:hidden; color:#161616; text-decoration:none; transition:border-color .18s; }
.l24-brand-model:hover { border-color:var(--l24-accent); color:#161616; }
.l24-brand-model__image { background:#fafafa; padding:16px; }
.l24-brand-model__image img { display:block; width:100%; max-height:210px; object-fit:contain; mix-blend-mode:multiply; }
.l24-brand-model__text { display:flex; flex:1; flex-direction:column; padding:22px; }
.l24-brand-model__label { font-size:10px; letter-spacing:.07em; color:#656565; }
.l24-brand-model h3 { font-size:20px; line-height:1.35; margin:8px 0; }
.l24-brand-model p { font-size:13px; color:#555; line-height:1.6; }
.l24-brand-model__cta { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:12px; border-top:1px solid #eee; font-size:12px; font-weight:600; }
.l24-brand-model__cta span { color:var(--l24-accent); font-size:19px; }
.l24-home .l24-brand-note { font-size:11px; line-height:1.6; color:#666; margin:18px 0 0; max-width:850px; }
@media(max-width:760px) {
 .l24-brand-section { padding:40px 0; }
 .l24-brand-intro { grid-template-columns:1fr; gap:16px; margin-bottom:22px; }
 .l24-brand-intro h2 { font-size:26px; }
 .l24-brand-models { grid-template-columns:1fr; gap:12px; }
 .l24-brand-model { flex-direction:row; }
 .l24-brand-model__image { display:flex; align-items:center; width:104px; flex:0 0 104px; padding:8px; }
 .l24-brand-model__text { padding:16px; }
 .l24-brand-model h3 { font-size:17px; }
 .l24-brand-model p { font-size:12px; margin-bottom:12px; }
 .l24-brand-model__label { font-size:9px; }
}

/* Store-wide reasons to buy: four evenly spaced items; compact 2x2 on phones. */
.l24-shop-benefits {background:#1d1d1d;color:#f1f1f1;border-top:1px solid #ffffff10}
.l24-shop-benefits__inner {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:calc(var(--l24-container) + 2 * var(--l24-gutter));padding:0 var(--l24-gutter);margin:0 auto;list-style:none;min-height:70px;align-items:center}
.l24-shop-benefits__inner li {min-width:0;padding:0 24px;border-left:1px solid #ffffff20}
.l24-shop-benefits__inner li:first-child {padding-left:0;border:0}
.l24-shop-benefits__inner li:last-child {padding-right:0}
.l24-shop-benefits__inner a,.l24-shop-benefits__item {display:flex;gap:12px;align-items:center;color:inherit;text-decoration:none;font-size:13px;font-weight:500;line-height:1.5;justify-content:center}
.l24-shop-benefits__inner li:first-child :is(a,.l24-shop-benefits__item) {justify-content:flex-start}
.l24-shop-benefits__inner li:last-child :is(a,.l24-shop-benefits__item) {justify-content:flex-end}
.l24-shop-benefits svg {flex-shrink:0;color:#ccc}
.l24-shop-benefits a:hover {color:#ff7900}
@media(max-width:980px) {.l24-shop-benefits__inner{padding:0 24px}.l24-shop-benefits__inner li{padding:0 12px}.l24-shop-benefits__inner a,.l24-shop-benefits__item{font-size:12px;gap:8px}}
@media(max-width:600px) {
 .l24-shop-benefits__inner{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 18px;min-height:0}
 .l24-shop-benefits__inner li,.l24-shop-benefits__inner li:first-child,.l24-shop-benefits__inner li:last-child{padding:14px 8px;border:0}
 .l24-shop-benefits__inner li:nth-child(n+3){border-top:1px solid #ffffff16}
 .l24-shop-benefits__inner li:nth-child(even){border-left:1px solid #ffffff16}
 .l24-shop-benefits__inner li :is(a,.l24-shop-benefits__item){justify-content:flex-start;font-size:11px;gap:9px}
 .l24-shop-benefits svg{width:21px;height:21px}
}

@media(max-width:980px){.l24-home .l24-home-media,.l24-home .l24-home-faq{grid-template-columns:minmax(0,1fr);padding:24px}.l24-home-media .wp-block-image img{max-height:380px;object-fit:cover}.l24-home-faq__images{max-width:500px;margin:auto!important}.l24-home-faq__images .wp-block-image img{max-height:260px}.l24-home-why__images .wp-block-image img{max-height:320px}}
@media(max-width:600px){.l24-home-why{padding:44px 0}.l24-home .l24-home-media,.l24-home .l24-home-faq{padding:20px 16px;gap:24px!important;border-radius:18px}.l24-home-split{margin-bottom:44px!important}.l24-home-why__images .wp-block-image img{max-height:230px;border-radius:14px}.l24-home-media h2{font-size:23px}.l24-home-why__item{padding:12px 8px}.l24-home-why__item > .wp-block-group__inner-container{gap:8px}.l24-home-why__item .wp-block-image{width:30px;height:30px;flex-basis:30px}.l24-home-faq .l24-accordion__title{font-size:13px}.l24-home-faq .l24-accordion__item > summary{padding:14px 10px;gap:8px}.l24-home-faq__images{width:100%}.l24-home-faq__images .wp-block-image img{max-height:220px}}

/* Compact transition into the blog; stacked FAQ photos retain a useful mobile height. */
@media(max-width:980px){
  .l24-home .l24-home-media{padding:0;border-radius:0}
  .l24-home-faq__images{width:100%}
  .l24-home-faq__images .wp-block-image{height:260px}
  .l24-home-why{padding-bottom:24px}
  .l24-home-blog{padding-top:24px}
}
@media(max-width:600px){
  .l24-home-faq__images .wp-block-image{height:220px}
}

/* Black Friday: live HTML copy with responsive, lazy-loaded campaign artwork. */
.l24-bf-wrap{padding:36px 0;background:#f9f9f9}
.l24-bf{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:center;background:#080808;color:#fff;border-radius:22px;overflow:hidden;isolation:isolate}
.l24-bf__copy{padding:38px 0 38px 40px;position:relative;z-index:1}
.l24-home .l24-bf__eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:#ff9b52;margin:0 0 16px}
.l24-home .l24-bf h2{font-size:clamp(29px,3.4vw,44px);line-height:1.08;letter-spacing:-.035em;margin:0 0 18px;color:#fff}
.l24-bf h2 span{color:#ff812b}
.l24-home .l24-bf__copy > p:not(.l24-bf__eyebrow){font-size:14px;line-height:1.7;color:#d1d1d1;max-width:350px;margin:0 0 24px}
.l24-bf__cta{display:inline-flex;align-items:center;justify-content:center;gap:18px;padding:13px 19px;min-height:46px;background:#ff6b00;color:#111;border-radius:8px;text-decoration:none;font-size:14px;font-weight:650}
.l24-bf__cta:hover{background:#ff8c35;color:#111}
.l24-bf__cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
.l24-bf__visual{min-width:0;position:relative}
.l24-bf__visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080808,transparent 18%);pointer-events:none}
.l24-bf__visual img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
@media(max-width:700px){.l24-bf-wrap{padding:24px 0}.l24-bf{grid-template-columns:minmax(0,1fr);border-radius:16px}.l24-bf__copy{padding:28px 24px 0}.l24-home .l24-bf h2{font-size:34px}.l24-home .l24-bf__copy > p:not(.l24-bf__eyebrow){font-size:13px;margin-bottom:18px}.l24-bf__visual::after{background:linear-gradient(#080808,transparent 22%)}.l24-bf__visual{margin-top:8px}}
