/* Reusable image-led CMS layouts; the same renderer serves public and preview. */
.boutique-preview .cms-section:has(>.cms-hero--immersive){width:100%;max-width:none;margin:0;background:var(--color-primary)}
.boutique-preview .cms-hero--immersive{position:relative;display:grid;grid-template-columns:1fr;min-height:0;isolation:isolate;padding:0;background:var(--color-primary);color:var(--color-on-accent);border-radius:0}
.boutique-preview .hero-image--desktop{width:100%;grid-area:1/1}.boutique-preview .hero-image--mobile{display:none}.boutique-preview .cms-hero--immersive .cms-editorial__media{width:100%;aspect-ratio:var(--crop-ratio);mask-image:none}
.boutique-preview .cms-hero--immersive .cms-section__copy{grid-area:1/1;align-self:end;position:relative;z-index:1;inset:auto;transform:none;translate:none;padding:clamp(28px,5vw,72px);width:100%;max-width:none;background:linear-gradient(transparent,#0009);color:white}
.boutique-preview .cms-hero--immersive h2{font:400 clamp(32px,4vw,58px)/1.12 var(--boutique-display);max-width:20ch;white-space:normal;color:inherit;margin-bottom:14px}.boutique-preview .cms-hero--immersive p{font-size:15px;max-width:44ch;line-height:1.6}.boutique-preview .cms-hero--immersive .button{background:var(--color-background);color:var(--color-text);border:0}
.boutique-preview .cms-hero--immersive:not(:has(.hero-image--desktop)){background:var(--color-surface);color:var(--color-text)}.boutique-preview .cms-hero--immersive:not(:has(.hero-image--desktop)) .cms-section__copy{background:none;color:inherit;padding:40px var(--editorial-gutter)}
.boutique-preview .cms-editorial{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,6vw,88px);align-items:center;background:transparent;border-radius:0;overflow:hidden}
.boutique-preview .cms-editorial__copy{padding:20px 0}.boutique-preview .cms-editorial__copy h2{max-width:18ch}.boutique-preview .cms-editorial__copy p{max-width:42ch}.boutique-preview .cms-editorial--image_first .cms-editorial__media{grid-column:1;grid-row:1}.boutique-preview .cms-editorial--image_first .cms-editorial__copy{grid-column:2;grid-row:1}
.boutique-preview .cms-editorial:not(:has(>.cms-editorial__media)){display:block;max-width:48rem;margin:auto}.boutique-preview .editorial-items{list-style:none;margin:24px 0 0;padding:0}.boutique-preview .editorial-items li{border-top:1px solid color-mix(in srgb,currentColor 22%,transparent);padding:16px 0}.boutique-preview .editorial-items h3{font-size:17px;margin:0 0 8px}
.boutique-preview .cms-section:has(>.cms-editorial--spotlight){width:100%;background:var(--color-primary);color:var(--color-on-accent);padding:0}.boutique-preview .cms-editorial--spotlight{gap:0;grid-template-columns:1fr 1.2fr}.boutique-preview .cms-editorial--spotlight .cms-editorial__copy{padding:clamp(28px,5vw,72px)}.boutique-preview .cms-editorial--spotlight .cms-editorial__media{height:100%;min-height:420px;aspect-ratio:var(--crop-ratio)}.boutique-preview .cms-editorial--spotlight .button{color:inherit;border-color:currentColor;background:none}
.detail-notes details{border-top:1px solid color-mix(in srgb,currentColor 30%,transparent);font-size:13px}.detail-notes summary{padding:16px 0;min-height:44px;cursor:pointer}.detail-notes details p{margin-top:12px}
.boutique-preview .cms-editorial--story{grid-template-columns:1.2fr 1fr}.boutique-preview .cms-editorial--story .cms-editorial__copy{position:static;background:none;box-shadow:none;width:auto;max-width:none}.boutique-preview .cms-editorial--story .cms-editorial__media{width:100%}
.boutique-preview .cms-discovery{padding:0}.boutique-preview .section-intro{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.boutique-preview .section-intro h2{margin:0}.boutique-preview .section-intro p{font-size:13px;margin:0;max-width:32ch}
.boutique-preview .discovery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.boutique-preview .discovery-grid article,.boutique-preview .discovery-grid article:first-child{background:none;padding:0;border:0;grid-column:auto;grid-row:auto;border-radius:0;min-width:0}.boutique-preview .discovery-number{display:none}.boutique-preview .discovery-grid .cms-editorial__media{aspect-ratio:var(--crop-ratio);margin:0 0 18px}.boutique-preview .discovery-grid h3,.boutique-preview .discovery-grid article:first-child h3{font:400 16px/1.4 var(--boutique-display);margin:0 0 8px}.boutique-preview .discovery-grid h3 a{display:flex;justify-content:space-between;align-items:center;min-height:44px;text-decoration:none}.boutique-preview .discovery-grid h3 a:hover{text-decoration:underline}.boutique-preview .discovery-grid p{font-size:12px}
.boutique-preview .cms-discovery--mosaic .discovery-grid{grid-template-columns:1.4fr 1fr 1fr}.boutique-preview .cms-discovery--icons .category-icons{display:flex;flex-wrap:wrap;gap:24px}.category-icons>a{display:inline-flex;align-items:center;gap:12px;min-height:44px}.category-icons svg{width:32px;height:32px}
.boutique-preview .product-category-links{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:24px}.boutique-preview .product-category-links a{font-size:13px;min-height:44px;display:inline-flex;align-items:center}
.boutique-preview .product-look__layout{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center}.boutique-preview .product-rail--standard .product-look__layout{display:block}.boutique-preview .product-look__layout:has(.product-grid:empty){grid-template-columns:1fr}.boutique-preview .product-grid:empty{display:none}.boutique-preview .product-rail--look .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.boutique-preview .image-carousel--lookbook .carousel__track{gap:24px;align-items:start}.boutique-preview .image-carousel--lookbook .carousel__item{flex:0 0 38%;padding:0;background:none;border:0;border-radius:0}.boutique-preview .image-carousel--lookbook .carousel__item:nth-child(2n){flex-basis:29%}.boutique-preview .image-carousel__copy{padding:18px 0}.boutique-preview .image-carousel__copy h3{font:400 19px/1.3 var(--boutique-display);margin:0 0 10px}.boutique-preview .image-carousel__copy p{font-size:13px}.boutique-preview .image-carousel__copy .button{background:none;color:inherit;border:0;border-bottom:1px solid currentColor;border-radius:0;padding:8px 0}
.boutique-preview .image-carousel--diptych>h2{margin-bottom:16px}.boutique-preview .image-carousel--diptych .image-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.boutique-preview .image-carousel--diptych .carousel__item{border:0;background:none;padding:0;min-width:0}.boutique-preview .image-carousel--diptych .image-carousel__copy{max-width:42ch}
.boutique-preview .cms-cta{padding:32px 0;background:none;color:var(--color-text);border-radius:0;display:flex;align-items:center;justify-content:space-between;gap:32px}.boutique-preview .cms-cta h2{margin-bottom:12px}.boutique-preview .cms-cta p{margin:0}.boutique-preview .cms-cta--campaign{display:grid;grid-template-columns:1fr 1fr;align-items:center;padding:0}.boutique-preview .campaign-image{grid-column:2;grid-row:1/3}.boutique-preview .cms-cta--campaign>.button{justify-self:start}
.boutique-preview .cms-section--top-none{margin-top:0}.boutique-preview .cms-section--bottom-none{margin-bottom:0}.boutique-preview .cms-section--top-compact{margin-top:24px}.boutique-preview .cms-section--bottom-compact{margin-bottom:24px}.boutique-preview .cms-section--reading{max-width:48rem}.boutique-preview .cms-section--subtle{background:var(--color-surface);padding:clamp(20px,4vw,48px)}.boutique-preview .cms-section--accent{background:var(--color-primary);color:var(--color-on-accent);padding:clamp(20px,4vw,48px)}
@media(hover:hover){.boutique-preview .discovery-grid article img,.boutique-preview .image-carousel img{transition:filter .4s}.boutique-preview .discovery-grid article:hover img,.boutique-preview .image-carousel .carousel__item:hover img{filter:brightness(.95)}}
@media(max-width:47.99rem){.boutique-preview .hero-image--desktop:has(+.hero-image--mobile){display:none}.boutique-preview .hero-image--mobile{display:block;grid-area:1/1}.boutique-preview .cms-hero--immersive .cms-section__copy{padding:24px 20px}.boutique-preview .cms-hero--immersive h2{font-size:32px;max-width:19ch}.boutique-preview .cms-hero--immersive p{font-size:13px;max-width:32ch}.boutique-preview .cms-editorial,.boutique-preview .cms-editorial--story,.boutique-preview .cms-editorial--spotlight{grid-template-columns:1fr;gap:24px}.boutique-preview .cms-editorial .cms-editorial__media,.boutique-preview .cms-editorial .cms-editorial__copy{grid-column:1;grid-row:auto}.boutique-preview .cms-editorial--spotlight{gap:0}.boutique-preview .cms-editorial--spotlight .cms-editorial__media{min-height:0}.boutique-preview .cms-editorial--spotlight .cms-editorial__copy{padding:28px 20px}.boutique-preview .section-intro{display:block}.boutique-preview .section-intro p{margin-top:16px}.boutique-preview .discovery-grid,.boutique-preview .cms-discovery--mosaic .discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}.boutique-preview .product-look__layout{grid-template-columns:1fr;gap:24px}.boutique-preview .image-carousel--lookbook .carousel__item{flex-basis:82%}.boutique-preview .image-carousel--lookbook .carousel__item:nth-child(2n){flex-basis:72%}.boutique-preview .image-carousel--diptych .image-gallery__grid{grid-template-columns:1fr;gap:32px}.boutique-preview .cms-cta,.boutique-preview .cms-cta--campaign{display:flex;flex-direction:column;align-items:start;gap:24px}}

.boutique-preview .product-rail--editorial{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(24px,6vw,88px);align-items:center}.boutique-preview .product-rail--editorial>.product-rail__heading{flex-direction:column;align-items:start;justify-content:center;margin:0}.boutique-preview .product-rail--editorial .product-look__layout{display:block}.boutique-preview .product-rail--editorial .product-grid{display:none}
@media(max-width:47.99rem){.boutique-preview .product-rail--editorial{grid-template-columns:1fr}}

.boutique-preview .cms-hero:not(:has(.cms-editorial__media)){display:block}.boutique-preview .cms-hero:not(:has(.cms-editorial__media)) .cms-section__copy{max-width:52rem;margin:auto;padding:36px var(--editorial-gutter)}

@media(min-width:48rem){.boutique-preview .discovery-grid:has(>article:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:47.99rem){.boutique-preview .cms-hero--immersive{display:flex;flex-direction:column}.boutique-preview .cms-hero--immersive .cms-section__copy{order:2;background:none;color:var(--color-on-accent)}.boutique-preview .hero-image--desktop,.boutique-preview .hero-image--mobile{order:1;width:100%}.boutique-preview .cms-hero--immersive .cms-editorial__media{min-height:0;aspect-ratio:var(--crop-ratio)}.boutique-preview .cms-hero--immersive:not(:has(.hero-image--desktop)) .cms-section__copy{color:var(--color-text)}}

.boutique-preview .cms-section--accent .cms-cta{color:var(--color-on-accent)}.boutique-preview .cms-section--accent .cms-cta .button{background:var(--color-on-accent);color:var(--color-primary)}

/* Default rhythm follows the composition; explicit CMS spacing still takes precedence. */
.boutique-preview .cms-section--top-normal[data-section-type="text"]{margin-top:28px}
.boutique-preview .cms-section--bottom-normal[data-section-type="text"]{margin-bottom:28px}
.boutique-preview .cms-section--top-normal[data-section-type="discovery"],.boutique-preview .cms-section--top-normal[data-section-type="product_rail"],.boutique-preview .cms-section--top-normal[data-section-type="faq"]{margin-top:40px}
.boutique-preview .cms-section--bottom-normal[data-section-type="discovery"],.boutique-preview .cms-section--bottom-normal[data-section-type="product_rail"],.boutique-preview .cms-section--bottom-normal[data-section-type="faq"]{margin-bottom:40px}
.boutique-preview .cms-section--top-normal[data-section-type="image_carousel"],.boutique-preview .cms-section--top-normal[data-section-type="editorial_list"]{margin-top:56px}
.boutique-preview .cms-section--bottom-normal[data-section-type="image_carousel"],.boutique-preview .cms-section--bottom-normal[data-section-type="editorial_list"]{margin-bottom:56px}
@media(max-width:47.99rem){
.boutique-preview .cms-discovery--categories .discovery-grid:has(>article:nth-child(3):last-child){grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:78%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-block:4px 12px}
.boutique-preview .cms-discovery--categories .discovery-grid>article{scroll-snap-align:start}
.boutique-preview .cms-section--top-normal[data-section-type="image_carousel"],.boutique-preview .cms-section--top-normal[data-section-type="editorial_list"]{margin-top:40px}
.boutique-preview .cms-section--bottom-normal[data-section-type="image_carousel"],.boutique-preview .cms-section--bottom-normal[data-section-type="editorial_list"]{margin-bottom:40px}
.boutique-preview .cms-section--top-normal[data-section-type="discovery"],.boutique-preview .cms-section--top-normal[data-section-type="product_rail"],.boutique-preview .cms-section--top-normal[data-section-type="faq"]{margin-top:28px}
.boutique-preview .cms-section--bottom-normal[data-section-type="discovery"],.boutique-preview .cms-section--bottom-normal[data-section-type="product_rail"],.boutique-preview .cms-section--bottom-normal[data-section-type="faq"]{margin-bottom:28px}
}

.boutique-preview .cms-section--top-generous{margin-top:10rem}.boutique-preview .cms-section--bottom-generous{margin-bottom:10rem}
