/* Shared live-data homepage components. One composition sheet is loaded per theme. */
body[data-home-layout]{--th-space:clamp(2rem,5vw,4.5rem);--th-columns:4;--th-hero-height:30rem;--th-copy-width:42%;--th-hero-radius:var(--theme-radius,12px)}
body[data-home-layout] main.store-shell{padding-top:1.5rem}
body[data-home-layout] .theme-home-stage{margin:0 0 var(--th-space);min-width:0}
body[data-home-layout] .theme-home-hero{border-radius:var(--th-hero-radius);overflow:hidden;background:var(--color-background-tertiary);min-width:0}
body[data-home-layout] .th-carousel{position:relative;overflow:hidden;width:100%;min-width:0}
body[data-home-layout] .th-slide-track{position:relative;display:flex!important;flex-wrap:nowrap;align-items:stretch;width:100%!important;height:auto!important;transition:transform .6s ease}
body[data-home-layout] .th-slide-item{display:flex!important;align-items:stretch;flex:0 0 100%!important;min-width:0!important;max-width:100%!important;width:100%!important;position:relative}
body[data-home-layout] .th-slide{flex:1;width:100%}
body[data-home-layout] .th-slide{display:grid!important;grid-template-columns:var(--th-copy-width) minmax(0,1fr);grid-template-areas:'copy image';align-items:stretch!important;position:relative;height:auto!important;aspect-ratio:auto!important;min-height:var(--th-hero-height)!important;max-height:none!important;border-radius:0!important;background:transparent!important;overflow:hidden;box-shadow:none!important;transform:none!important;cursor:default}
body[data-home-layout] .th-hero-media{grid-area:image;display:block;position:relative;min-width:0;min-height:100%;background:var(--color-background-secondary);overflow:hidden}
body[data-home-layout] .th-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:none!important;filter:none!important}
body[data-home-layout] .th-product-media img{object-fit:contain;padding:clamp(1rem,3vw,3rem)}
body[data-home-layout] .th-hero-copy{grid-area:copy;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:clamp(1.5rem,4vw,4rem);background:var(--color-background-tertiary);color:var(--color-text-primary);text-align:left;z-index:1}
body[data-home-layout] .th-eyebrow{margin:0 0 1rem;font-size:.66rem!important;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:var(--color-text-secondary)}
body[data-home-layout] .th-hero-title{margin:0;font-family:var(--font-heading)!important;font-size:clamp(1.8rem,3.5vw,3.8rem)!important;font-weight:var(--theme-heading-weight,600);letter-spacing:-.045em;line-height:1.07!important;overflow-wrap:anywhere;color:inherit}
body[data-home-layout] .th-hero-support{margin:1.1rem 0 0;line-height:1.7;font-size:.9rem;color:var(--color-text-secondary);max-width:34rem}
body[data-home-layout] .th-hero-price{margin-top:1rem;font-size:1.4rem;font-weight:700;color:var(--color-primary)}
body[data-home-layout] .th-hero-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin-top:1.7rem}
body[data-home-layout] .th-button{display:inline-flex;align-items:center;justify-content:center;gap:1.2rem;padding:.85rem 1.25rem;min-height:44px;border:1px solid var(--color-primary);background:var(--color-primary);color:var(--color-on-primary);border-radius:var(--theme-radius,8px);font-size:.8rem;font-weight:600;text-decoration:none;line-height:1.3}
body[data-home-layout] .th-button:hover{background:var(--color-primary-dark);color:var(--color-on-primary-dark)}
body[data-home-layout] .th-button-outline{background:transparent;color:var(--color-primary)}
body[data-home-layout] .th-text-link{font-size:.75rem;text-decoration:underline;text-underline-offset:4px;color:inherit;line-height:1.6}
body[data-home-layout] .th-hero-signature{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--color-border);font-size:.65rem;text-transform:uppercase;letter-spacing:.12em;color:var(--color-text-secondary)}
body[data-home-layout] .th-carousel-controls{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;position:relative;padding:.7rem 1.25rem;background:var(--color-background-secondary);border-top:1px solid var(--color-border)}
body[data-home-layout] .th-carousel-controls>button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--color-border);border-radius:50%;background:transparent;color:var(--color-text-primary)}
body[data-home-layout] .th-carousel-dots{display:flex;align-items:center;gap:8px}
body[data-home-layout] .th-carousel-dots .banner-indicator{position:static;width:8px;height:8px;min-width:8px;min-height:8px;padding:0;border:0;border-radius:50%;background:var(--color-border-dark);box-shadow:none;opacity:1;transform:none}
body[data-home-layout] .th-carousel-dots .banner-indicator.active{background:var(--color-primary);width:24px;border-radius:6px}
body[data-home-layout] .th-image-empty{display:flex;align-items:center;justify-content:center;height:100%;min-height:15rem;font-size:4rem;color:var(--color-border-dark)}
body[data-home-layout] .th-editorial-intro{max-width:54rem;text-align:center;margin:1rem auto 3rem;padding:1rem}
body[data-home-layout] .th-editorial-intro h1{font-family:var(--font-heading)!important;font-size:clamp(2.6rem,5vw,5rem)!important;line-height:1.05!important;margin:.75rem 0 1.25rem;letter-spacing:-.05em}
body[data-home-layout] .th-editorial-intro p:last-child{color:var(--color-text-secondary);font-size:1rem;line-height:1.8}
body[data-home-layout] .th-store-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:1.5rem;padding:2rem 0;margin-bottom:2rem;border-bottom:1px solid var(--color-border)}
body[data-home-layout] .th-store-intro h1{font-size:clamp(2rem,4vw,3rem)!important;margin:0 0 .8rem;line-height:1.1!important}
body[data-home-layout] .th-store-intro div>p:last-child{max-width:48rem;color:var(--color-text-secondary);line-height:1.8}
body[data-home-layout] .th-store-intro>span{font-size:.8rem;color:var(--color-text-secondary);white-space:nowrap}
body[data-home-layout] .th-home-section{margin:0 0 var(--th-space);min-width:0}
body[data-home-layout] .th-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
body[data-home-layout] .th-section-heading h2{font-size:clamp(1.4rem,2.2vw,2.3rem)!important;line-height:1.2!important;letter-spacing:-.035em;margin:0;font-family:var(--font-heading)!important;color:var(--color-text-primary)}
body[data-home-layout] .th-section-heading .th-eyebrow{margin-bottom:.5rem}
body[data-home-layout] .th-section-heading>a{font-size:.75rem;line-height:1.4;white-space:nowrap;text-decoration:underline;text-underline-offset:4px;color:var(--color-text-primary)}
body[data-home-layout] .th-products{display:grid;grid-template-columns:repeat(var(--th-columns),minmax(0,1fr));gap:clamp(.8rem,2vw,1.5rem)}
body[data-home-layout] .th-product-item{min-width:0}
body[data-home-layout] .th-product-item>.product-card{height:100%;width:100%;margin:0}
body[data-home-layout] .th-products-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:1rem;overscroll-behavior-inline:contain}
body[data-home-layout] .th-products-rail>.th-product-item{flex:0 0 calc((100% - 5 * 1rem)/6);min-width:11rem;scroll-snap-align:start}
body[data-home-layout] .th-products-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 2rem}
body[data-home-layout] .th-products-menu .product-card{display:grid!important;grid-template-columns:7.5rem minmax(0,1fr);gap:1.2rem;padding:1.2rem 0;border:0!important;border-bottom:1px solid var(--color-border)!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;align-items:center}
body[data-home-layout] .th-products-menu .product-card .product-card-image-area{height:7.5rem!important;aspect-ratio:1!important;border-radius:var(--theme-radius,12px)!important;min-height:0}
body[data-home-layout] .th-products-menu .product-card>div:last-child{padding:0!important}
body[data-home-layout] .th-products-menu .product-card h3{font-size:1rem!important;line-height:1.4!important;max-height:none!important;-webkit-line-clamp:3}
body[data-home-layout] .th-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
body[data-home-layout] .th-category{min-width:0;display:flex;flex-direction:column;gap:1rem;text-decoration:none;color:var(--color-text-primary)}
body[data-home-layout] .th-category-picture{position:relative;display:block;aspect-ratio:1.25;background:var(--color-background-tertiary);border-radius:var(--theme-radius,12px);overflow:hidden}
body[data-home-layout] .th-category-picture img{width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
body[data-home-layout] .th-category:hover .th-category-picture img{transform:scale(1.035)}
body[data-home-layout] .th-category-name{display:block;font-size:.95rem;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
body[data-home-layout] .th-category-name small{display:block;font-weight:400;font-size:.7rem;color:var(--color-text-secondary);margin-top:.4rem}
body[data-home-layout] .th-categories-icons{grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem}
body[data-home-layout] .th-categories-icons .th-category{padding:1.2rem;border:1px solid var(--color-border);border-radius:var(--theme-radius,12px);background:var(--color-background-secondary)}
body[data-home-layout] .th-category-symbol{font-size:1.2rem;color:var(--color-primary);margin-bottom:.4rem}
body[data-home-layout] .th-categories-numbered .th-category{padding:1.4rem;border-top:2px solid var(--color-primary);border-bottom:1px solid var(--color-border);min-height:10rem;justify-content:space-between}
body[data-home-layout] .th-category-number{font-size:2.2rem;line-height:1;color:var(--color-text-tertiary);font-family:var(--font-heading)}
body[data-home-layout] .th-categories-chips{display:flex;gap:.65rem;overflow-x:auto;padding:.5rem 0;scroll-snap-type:x proximity}
body[data-home-layout] .th-categories-chips .th-category{flex:0 0 auto;padding:.9rem 1.15rem;border:1px solid var(--color-border);border-radius:50px;background:var(--color-background-secondary);scroll-snap-align:start}
body[data-home-layout] .th-categories-chips .th-category-name{font-size:.8rem;white-space:nowrap}
body[data-home-layout] .th-categories-chips small{display:none}
body[data-home-layout] .th-categories-round .th-category-picture{aspect-ratio:1;border-radius:50%}
body[data-home-layout] .th-categories-round .th-category{text-align:center}
body[data-home-layout] .th-categories-portrait .th-category-picture{aspect-ratio:.7;border-radius:0}
body[data-home-layout] .th-categories-mosaic{grid-template-columns:1.3fr 1fr 1fr}
body[data-home-layout] .th-categories-mosaic .th-category:first-child{grid-row:span 2}
body[data-home-layout] .th-categories-mosaic .th-category:first-child .th-category-picture{height:100%;aspect-ratio:auto;min-height:18rem}
body[data-home-layout] .th-categories-collection{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-home-layout] .th-categories-collection .th-category{display:grid;grid-template-columns:1fr .8fr;grid-template-areas:'copy image';align-items:center;padding:1.5rem;background:var(--color-background-tertiary);border-radius:var(--theme-radius,12px)}
body[data-home-layout] .th-categories-collection .th-category-picture{grid-area:image;aspect-ratio:1;background:transparent}
body[data-home-layout] .th-categories-collection .th-category-picture img{object-fit:contain}
body[data-home-layout] .th-categories-collection .th-category-name{grid-area:copy}
body[data-home-layout] .th-story{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;margin:var(--th-space) 0;background:var(--color-background-tertiary);border-radius:var(--theme-radius,12px);overflow:hidden}
body[data-home-layout] .th-story-picture{min-height:24rem;display:block;background:var(--color-background-secondary)}
body[data-home-layout] .th-story-picture img{width:100%;height:100%;max-height:35rem;object-fit:contain;padding:2rem}
body[data-home-layout] .th-story>div{padding:clamp(1.5rem,4vw,4rem);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1rem}
body[data-home-layout] .th-story h2{font-family:var(--font-heading)!important;font-size:clamp(1.5rem,2.5vw,2.7rem)!important;line-height:1.2!important;overflow-wrap:anywhere}
body[data-home-layout] .th-story>div>p:not(.th-eyebrow){font-size:.9rem;line-height:1.8;color:var(--color-text-secondary)}
body[data-home-layout] .th-discovery{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0 2rem}
body[data-home-layout] .th-discovery a{padding:.75rem 1rem;border-radius:50px;border:1px solid var(--color-border);background:var(--color-background-secondary);font-size:.8rem}
body[data-home-layout] .th-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
body[data-home-layout] .th-packs>a{display:flex;flex-direction:column;gap:1rem;padding:1.25rem;border:1px solid var(--color-border);border-radius:var(--theme-radius,12px);font-size:.8rem}
body[data-home-layout] .th-pack-images{display:flex;gap:.5rem}
body[data-home-layout] .th-pack-images img{width:calc((100% - 1rem)/3);aspect-ratio:1;object-fit:contain;background:#fff}
body[data-home-layout] .th-mosaic-feature{position:relative;overflow:hidden;min-height:26rem;border-radius:var(--th-hero-radius);background:var(--color-background-secondary);color:#fff}
body[data-home-layout] .th-mosaic-feature>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
body[data-home-layout] .th-mosaic-feature>div{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:1rem;padding:2rem;min-height:100%;background:linear-gradient(transparent,rgba(0,0,0,.75))}
body[data-home-layout] .th-mosaic-feature .th-eyebrow{color:#fff}
body[data-home-layout] .th-mosaic-feature h2{font-size:1.6rem!important;line-height:1.2!important;color:#fff}
@media(min-width:768px) and (max-width:1023px){body[data-home-layout]{--th-columns:3;--th-hero-height:25rem}body[data-home-layout] .th-categories-icons{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-home-layout] .th-categories-collection{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 body[data-home-layout]{--th-space:2.5rem;--th-columns:2;--th-hero-height:0}
 body[data-home-layout] main.store-shell{padding-top:1rem}
 body[data-home-layout] .th-slide{display:flex!important;flex-direction:column;min-height:0!important}
 body[data-home-layout] .th-hero-media{min-height:0;height:16rem;order:2;flex:none;width:100%}
 body[data-home-layout] .th-hero-copy{padding:1.5rem;order:1;width:100%}
 body[data-home-layout] .th-hero-title{font-size:clamp(1.7rem,7vw,2.4rem)!important;line-height:1.12!important}
 body[data-home-layout] .th-hero-signature{margin-top:1.2rem}
 body[data-home-layout] .th-hero-actions{margin-top:1.25rem;gap:.9rem}
 body[data-home-layout] .th-hero-actions .th-text-link{font-size:.7rem}
 body[data-home-layout] .th-carousel-controls{padding:.5rem .75rem}
 body[data-home-layout] .th-section-heading h2{font-size:1.4rem!important}
 body[data-home-layout] .th-section-heading>a{font-size:.65rem}
 body[data-home-layout] .th-products{gap:.75rem}
 body[data-home-layout] .th-products-rail>.th-product-item{flex-basis:45%;min-width:9.5rem}
 body[data-home-layout] .th-products-menu{grid-template-columns:1fr}
 body[data-home-layout] .th-products-menu .product-card{grid-template-columns:6.5rem minmax(0,1fr);gap:1rem}
 body[data-home-layout] .th-products-menu .product-card .product-card-image-area{height:6.5rem!important}
 body[data-home-layout] .th-categories,body[data-home-layout] .th-categories-icons,body[data-home-layout] .th-categories-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
 body[data-home-layout] .th-categories-collection{grid-template-columns:1fr}
 body[data-home-layout] .th-categories-mosaic .th-category:first-child{grid-row:auto;grid-column:span 2}
 body[data-home-layout] .th-categories-mosaic .th-category:first-child .th-category-picture{min-height:12rem}
 body[data-home-layout] .th-category-name{font-size:.85rem}
 body[data-home-layout] .th-story{grid-template-columns:1fr}
 body[data-home-layout] .th-story-picture{min-height:0;height:18rem}
 body[data-home-layout] .th-story>div{padding:1.5rem}
 body[data-home-layout] .th-packs{grid-template-columns:1fr}
 body[data-home-layout] .th-store-intro{align-items:flex-start;flex-direction:column}
 body[data-home-layout] .th-editorial-intro{margin:0 auto 1.5rem;padding:.5rem 0}
 body[data-home-layout] .th-editorial-intro h1{font-size:2.5rem!important}
}
@media(prefers-reduced-motion:reduce){body[data-home-layout] .th-slide-track,body[data-home-layout] .th-category-picture img{transition:none}}
