/* Scoped to the approved storefront presentation. */
.staging-ui-preview [data-theme="dark"] .sale-nav,html.staging-ui-preview[data-theme="dark"] .sale-nav,html.staging-ui-preview[data-theme="dark"] .nav a[href="#sale"]{color:#D5DDEB!important}
.staging-ui-preview :is(.theme-toggle,.icon-btn,.heart,.gallery-zoom,.magnifier-toggle,.hero-arrow){min-width:44px;min-height:44px}
.staging-ui-preview .heart{width:44px;height:44px;flex-shrink:0}
.staging-ui-preview .preview-price-basis{display:block;font-size:12px;line-height:1.5;color:var(--muted);font-weight:400;margin-top:5px}
.staging-ui-preview .preview-optional{border-top:1px solid var(--line);padding-top:12px;margin-top:16px}
.staging-ui-preview .preview-optional summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:var(--ink)}
.staging-ui-preview #preview-location{min-width:0}
.staging-ui-preview #preview-location .text-button{min-height:44px;text-align:left;line-height:1.5;padding:12px;width:100%}
.staging-ui-preview #checkout-form .field{font-size:14px;line-height:1.5}
.staging-ui-preview #checkout-form input,.staging-ui-preview #checkout-form textarea{font-size:16px}
.staging-ui-preview .hero-slide-inner{grid-template-columns:42% 58%;gap:0;max-width:1440px;padding:0;margin:auto;min-height:560px}
.staging-ui-preview .hero-slide-copy{padding:50px 12% 60px 10%;align-self:center}
.staging-ui-preview .hero-slide-copy :is(h1,h2){font-size:clamp(34px,3.8vw,58px);line-height:1.12;letter-spacing:-1.5px}
.staging-ui-preview .hero-photo-group{display:block;position:relative;min-height:560px;margin:0}
.staging-ui-preview .hero-photo-group .hero-photo-0{width:100%;height:100%;min-height:560px;border-radius:0;aspect-ratio:auto}
.staging-ui-preview .hero-photo-group .hero-photo-0 img{width:100%;height:100%;object-fit:cover;aspect-ratio:1.2}
.staging-ui-preview .hero-photo-group .hero-photo:not(.hero-photo-0){display:none}
.staging-ui-preview .hero-photo-group .hero-photo-0 span{left:20px;bottom:24px;right:auto;padding:12px 18px;background:var(--white);color:var(--ink);border-radius:4px}
.staging-ui-preview .hero-photo:after{display:none}
.staging-ui-preview .hero-doodles{z-index:2}.staging-ui-preview .hero-fabric-frame,.staging-ui-preview .hero-corner-spark{display:none}
.staging-ui-preview .hero-controls{margin:16px auto}.staging-ui-preview .hero-slide{background:var(--sky)}
.staging-ui-preview .preview-shopping-intro [data-action="compare"]{background:var(--sky);padding:12px 18px;border-radius:8px;min-height:48px}
#preview-checkout-bar{display:none}
@media(max-width:1000px){.staging-ui-preview .hero-slide-inner{min-height:440px}.staging-ui-preview .hero-slide-copy{padding:30px 8%}.staging-ui-preview .hero-photo-group,.staging-ui-preview .hero-photo-group .hero-photo-0{min-height:440px}}
@media(max-width:700px){
 .staging-ui-preview .shop-category-nav{display:none}
 .staging-ui-preview .announcement{padding:5px 12px;font-size:11px}
 .staging-ui-preview .header-inner{padding-top:10px;padding-bottom:10px}
 .staging-ui-preview .hero-slide-inner{display:flex;flex-direction:column;min-height:0}
 .staging-ui-preview .hero-slide-copy{padding:28px 24px 24px;width:100%}
 .staging-ui-preview .hero-slide-copy :is(h1,h2){font-size:36px;line-height:1.13;margin-bottom:14px}
 .staging-ui-preview .hero-slide-copy p{font-size:14px;line-height:1.65;margin-bottom:18px}
 .staging-ui-preview .hero-photo-group,.staging-ui-preview .hero-photo-group .hero-photo-0{min-height:0;width:100%;height:auto;aspect-ratio:1.3}
 .staging-ui-preview .hero-photo-group .hero-photo-0 img{height:100%;aspect-ratio:1.3}
 .staging-ui-preview .hero-photo-group .hero-photo-0 span{bottom:14px;left:14px;font-size:13px;padding:8px 12px}
 .staging-ui-preview .hero-brand-companion{right:12px;bottom:8px;transform:scale(.7);transform-origin:bottom right}
 .staging-ui-preview .hero-controls{margin:10px auto}
 .staging-ui-preview body[data-page="checkout"] :is(.announcement,.storefront-search,.language-picker,.theme-toggle,.mobile-menu,.steps){display:none}
 .staging-ui-preview body[data-page="cart"] .steps{display:none}
 .staging-ui-preview body[data-page="cart"] .page-heading h1,.staging-ui-preview body[data-page="checkout"] .page-heading h1{font-size:32px}
 .staging-ui-preview .cart-upsell{padding:16px;margin-top:24px}
 .staging-ui-preview .upsell-offers{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory}
 .staging-ui-preview .upsell-graphic{display:flex;align-items:center;flex:0 0 265px;max-width:85vw;scroll-snap-align:start}
 .staging-ui-preview .upsell-art{width:92px;min-width:92px;aspect-ratio:1;height:92px}
 .staging-ui-preview .upsell-art svg{width:100%;height:100%}
 .staging-ui-preview .upsell-caption{padding:12px;min-width:0}.staging-ui-preview .upsell-caption strong{font-size:14px}.staging-ui-preview .upsell-arrow{display:none}
 .staging-ui-preview #preview-checkout-bar{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:45;gap:12px;align-items:center;justify-content:space-between;padding:12px 18px calc(12px + env(safe-area-inset-bottom));background:var(--white);color:var(--ink);border-top:1px solid var(--line)}
 .staging-ui-preview #preview-checkout-bar small{display:block;font-size:11px;color:var(--muted)}.staging-ui-preview #preview-checkout-bar strong{font-size:17px}
 .staging-ui-preview #preview-checkout-bar .btn{font-size:14px;min-height:48px;padding:12px 18px}
 .staging-ui-preview .preview-has-checkout-bar{padding-bottom:100px}.staging-ui-preview .preview-has-checkout-bar #footer{padding-bottom:30px}
 .staging-ui-preview #checkout-form .form-grid{grid-template-columns:1fr}.staging-ui-preview #checkout-form .span2{grid-column:auto}
}
.staging-ui-preview .hero-carousel .hero-controls{position:relative;inset:auto;transform:none;margin:0 auto;padding:10px 8px;background:transparent}
.staging-ui-preview .hero-photo-group .hero-photo-0>span,.staging-ui-preview .hero-photo-group .hero-photo-0>span small{color:var(--ink)!important;text-shadow:none}
.staging-ui-preview .hero-photo-group .hero-photo-0>span{background:var(--white)!important}
.staging-ui-preview .hero-brand-companion{bottom:18px;right:18px}
@media(max-width:700px){
 .staging-ui-preview body[data-page="checkout"] .stepper,.staging-ui-preview body[data-page="cart"] .stepper{display:none}
 .staging-ui-preview .preview-has-checkout-bar #chat-launcher{bottom:calc(92px + env(safe-area-inset-bottom))}
 .staging-ui-preview .preview-has-checkout-bar .chat-customer{bottom:calc(150px + env(safe-area-inset-bottom));max-height:calc(100dvh - 180px)}
}
/* Audit 2: readable controls, compact navigation and guided checkout. */
html.staging-ui-preview[data-theme="dark"] .zoom-btn{background:#1F2A44!important;color:#F7F8FB!important;border:1px solid #4660B0;min-width:44px;min-height:44px}
html.staging-ui-preview[data-theme="dark"] .hero-carousel .hero-controls{background:#1F2A44;color:#F7F8FB}
html.staging-ui-preview[data-theme="dark"] .hero-controls :is(button,.hero-count){color:#F7F8FB!important}
html.staging-ui-preview[data-theme="dark"] .hero-dots button span{background:#D5DDEB}
html.staging-ui-preview[data-theme="dark"] .purchase-service{color:#D5DDEB}
.preview-menu-settings{display:flex;align-items:center;gap:12px;grid-column:1/-1;min-height:44px}.preview-menu-settings:empty{display:none}
.staging-ui-preview .preview-price-guide{font-size:12px;line-height:1.5;color:var(--muted);margin:12px 0 0;max-width:680px}
.staging-ui-preview .preview-size-heading{font-size:16px;margin:24px 0 14px}
.staging-ui-preview .advanced-body .elastic-options{margin-top:0}
.staging-ui-preview .product-copy #advanced-options{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}
.staging-ui-preview #preview-inline-help{margin-top:10px;min-height:44px;font-size:13px}
.staging-ui-preview body[data-page="checkout"] #chat-launcher{display:none}
@media(max-width:700px){
 .staging-ui-preview .header-inner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;min-height:64px}
 .staging-ui-preview .header-inner>a:first-child{flex:0 0 112px;margin:0}.staging-ui-preview .header-inner .logo{width:112px;max-width:112px}
 .staging-ui-preview .header-tools{margin-left:auto;gap:4px;flex:0 0 auto;order:0}
 .staging-ui-preview .header-tools .account-label{display:none}
 .staging-ui-preview .storefront-search{order:2;flex:1 0 100%;margin:0;min-width:0}
 .staging-ui-preview .storefront-search input{padding:10px 13px;font-size:14px}
 .staging-ui-preview .announcement{display:none}
 .staging-ui-preview .header-inner .nav.open{top:58px;max-width:calc(100vw - 32px);min-width:0;left:16px;right:16px}
 .staging-ui-preview .header-inner .nav .preview-menu-settings :is(.language-picker,.theme-toggle){display:flex!important}
 .staging-ui-preview .hero-slide-copy{padding:22px 22px 18px}
 .staging-ui-preview .hero-slide-copy :is(h1,h2){font-size:30px;line-height:1.12;margin:10px 0}
 .staging-ui-preview .hero-slide-copy p{font-size:13px;line-height:1.5;margin:8px 0 14px;max-width:350px}
 .staging-ui-preview .hero-photo-group,.staging-ui-preview .hero-photo-group .hero-photo-0,.staging-ui-preview .hero-photo-group .hero-photo-0 img{aspect-ratio:1.6}
 .staging-ui-preview body[data-page="checkout"] .chat-customer{bottom:calc(92px + env(safe-area-inset-bottom));max-height:calc(100dvh - 120px)}
 .staging-ui-preview .product-copy #dimensions>.form-grid{grid-template-columns:1fr 1fr;gap:12px}
 .staging-ui-preview .product-copy #dimensions>.form-grid select{font-size:14px;padding-left:10px;padding-right:24px;min-width:0}
}

html.staging-ui-preview[data-theme="dark"] .hero-carousel{background:#1F2A44}

/* A continuous home canvas joins navigation to the collection hero. */
html.staging-ui-preview body[data-page="home"]{--home-canvas:#E6ECF8}
html.staging-ui-preview[data-theme="dark"] body[data-page="home"]{--home-canvas:#1F2A44}
html.staging-ui-preview body[data-page="home"] :is(#header,.announcement,.shop-category-nav,.hero-carousel,.hero-slide){background:var(--home-canvas);border-color:transparent;box-shadow:none}
html.staging-ui-preview body[data-page="home"] #header{backdrop-filter:none}
html.staging-ui-preview body[data-page="home"] .storefront-search{background:transparent;border:0;border-bottom:1px solid #D5DDEB;border-radius:0;box-shadow:none}
html.staging-ui-preview body[data-page="home"] .storefront-search:focus-within{border-bottom-color:var(--ink)}
html.staging-ui-preview body[data-page="home"] .hero-carousel .hero-controls{background:var(--home-canvas)}
html.staging-ui-preview body[data-page="home"] .hero-slide-copy{padding-top:32px}
@media(max-width:700px){html.staging-ui-preview body[data-page="home"] .hero-slide-copy{padding-top:24px}html.staging-ui-preview body[data-page="home"] .storefront-search input{padding-left:0}}
/* Keep the logo blended throughout the header background transition, including route changes. */
html.staging-ui-preview #header :is(img.logo,.logo img){mix-blend-mode:multiply;background:transparent}

html.staging-ui-preview #header{position:sticky;top:0;z-index:40;background:var(--white);border-bottom:1px solid var(--line)}
html.staging-ui-preview.header-scrolled body[data-page="home"] #header{background:var(--white);border-bottom-color:var(--line)}
html.staging-ui-preview.header-scrolled body[data-page="home"] .shop-category-nav{background:var(--white)}
html.staging-ui-preview #header{transition:background-color .18s ease,border-color .18s ease}
@media(prefers-reduced-motion:reduce){html.staging-ui-preview #header{transition:none}}

/* Soft navigation distinguishes selected materials from secondary collection actions. */
html.staging-ui-preview body[data-page="home"]{--soft-action:#E6ECF8;--soft-action-hover:#E6ECF8;--soft-action-ink:#1F2A44}
html.staging-ui-preview[data-theme="dark"] body[data-page="home"]{--soft-action:#1F2A44;--soft-action-hover:#1F2A44;--soft-action-ink:#E6ECF8}
html.staging-ui-preview body[data-page="home"] .showcase-tabs{border:0;gap:8px;padding:4px 2px 8px}
html.staging-ui-preview body[data-page="home"] .showcase-tabs .chip{border:0;border-radius:8px;padding:11px 16px;min-height:44px;background:transparent;color:var(--muted);box-shadow:none}
html.staging-ui-preview body[data-page="home"] .showcase-tabs .chip[aria-pressed="true"]{background:var(--soft-action);color:var(--soft-action-ink);font-weight:650}
html.staging-ui-preview body[data-page="home"] :is(.showcase-bottom,.editorial-break,.original-actions,.home-builder-copy) .text-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 17px;border:0;border-radius:10px;background:var(--soft-action);color:var(--soft-action-ink);text-decoration:none;line-height:1.4}
html.staging-ui-preview body[data-page="home"] .original-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
html.staging-ui-preview body[data-page="home"] .original-all{display:inline-flex;align-items:center;min-height:44px;border:0;text-decoration:none;padding:8px 0;color:var(--muted)}
@media(hover:hover){html.staging-ui-preview body[data-page="home"] :is(.showcase-bottom,.editorial-break,.original-actions,.home-builder-copy) .text-link:hover,html.staging-ui-preview body[data-page="home"] .showcase-tabs .chip:hover{background:var(--soft-action-hover);color:var(--soft-action-ink)}html.staging-ui-preview body[data-page="home"] .original-all:hover{color:var(--ink)}}
html.staging-ui-preview body[data-page="home"] #main .showcase-tabs .chip{border-radius:8px!important}
html.staging-ui-preview body[data-page="home"] #main :is(.showcase-bottom,.editorial-break,.original-actions,.home-builder-copy) .text-link{border-radius:10px!important}

html.staging-ui-preview{--soft-action:#E6ECF8;--soft-action-hover:#E6ECF8;--soft-action-ink:#1F2A44}
html.staging-ui-preview[data-theme="dark"]{--soft-action:#1F2A44;--soft-action-hover:#1F2A44;--soft-action-ink:#E6ECF8}
html.staging-ui-preview #main :is(.shopping-intro,.home-closer,.purchase-secondary,.recommendation-heading) .text-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 17px;border:0;border-radius:10px!important;background:var(--soft-action);color:var(--soft-action-ink);text-decoration:none;line-height:1.4}
html.staging-ui-preview #main :is(.home-series-tabs,.eoe-photo-options){display:flex;flex-wrap:wrap;gap:8px;border:0}
html.staging-ui-preview #main :is(.home-series-tabs,.eoe-photo-options) button{min-height:44px;padding:10px 14px;border:0;border-radius:8px;background:transparent;color:var(--muted);box-shadow:none;text-decoration:none}
html.staging-ui-preview #main :is(.home-series-tabs,.eoe-photo-options) button:is(.active,[aria-pressed="true"]){background:var(--soft-action);color:var(--soft-action-ink);font-weight:650;border:0}
html.staging-ui-preview #main .purchase-secondary{gap:12px;flex-wrap:wrap}
html.staging-ui-preview #main .purchase-secondary [aria-pressed="true"]{background:var(--soft-action-hover);color:var(--soft-action-ink)}
html.staging-ui-preview #main .home-closer .text-link{max-width:calc(100% - 32px);text-align:center}
@media(hover:hover){html.staging-ui-preview #main :is(.shopping-intro,.home-closer,.purchase-secondary,.recommendation-heading) .text-link:hover,html.staging-ui-preview #main :is(.home-series-tabs,.eoe-photo-options) button:hover{background:var(--soft-action-hover);color:var(--soft-action-ink)}}

html.staging-ui-preview body[data-page="cart"] #main :is(.cart-edit,.cart-layout a.text-link[href="#collections"]),html.staging-ui-preview button[data-action="price-details"]{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 15px;border:0;border-radius:10px!important;background:var(--soft-action);color:var(--soft-action-ink);text-decoration:none;line-height:1.4}
html.staging-ui-preview .cart-item-bottom .remove{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:0;border-radius:10px;background:#f6ebea;color:#893d3d;text-decoration:none}
html.staging-ui-preview[data-theme="dark"] .cart-item-bottom .remove{background:#1F2A44;color:#f0bbbb}
html.staging-ui-preview button[data-action="price-details"]{font-size:12px;margin-top:5px;padding:8px 12px}
@media(hover:hover){html.staging-ui-preview body[data-page="cart"] #main :is(.cart-edit,.cart-layout a.text-link[href="#collections"]):hover,html.staging-ui-preview button[data-action="price-details"]:hover{background:var(--soft-action-hover)}html.staging-ui-preview .cart-item-bottom .remove:hover{filter:brightness(.94)}}
html.staging-ui-preview button[data-action="price-details"]{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
html.staging-ui-preview button[data-action="price-details"],html.staging-ui-preview button[data-action="price-details"]:hover{background:transparent;border:0;border-radius:0!important;padding:6px 0;color:var(--muted);box-shadow:none}

/* Search remains part of the header with a soft, bounded input surface. */
html.staging-ui-preview #header .storefront-search{background:#FFFFFF;border:1px solid #E6ECF8;border-radius:14px;box-shadow:none;overflow:hidden}
html.staging-ui-preview body[data-page="home"] #header .storefront-search{background:#FFFFFF;border:1px solid #E6ECF8;border-radius:14px}
html.staging-ui-preview #header .storefront-search input{padding:12px 16px}
html.staging-ui-preview #header .storefront-search button{min-width:48px;min-height:46px}
html.staging-ui-preview #header .storefront-search:focus-within{border-color:#4660B0;outline:2px solid #D5DDEB;outline-offset:2px}
html.staging-ui-preview[data-theme="dark"] body #header .storefront-search{background:#1F2A44;border-color:#4660B0}
@media(max-width:700px){
 html.staging-ui-preview #main .shopping-intro{gap:14px;padding-top:24px;align-items:flex-start}
 html.staging-ui-preview #main .shopping-intro>.text-link{font-size:13px;padding:10px 14px;min-height:44px;margin:0}
 html.staging-ui-preview #main .shopping-intro h2{font-size:27px;line-height:1.2;margin:0;letter-spacing:-.6px}
 html.staging-ui-preview #main .shopping-intro .caps{font-size:9px;line-height:1.5;letter-spacing:1px;margin-bottom:8px}
 html.staging-ui-preview .shopping-intro .price-strip{flex-basis:100%;width:100%;min-width:0;margin:0 0 12px;border-radius:12px;background:var(--white);overflow:hidden}
 html.staging-ui-preview .price-strip-options>summary{padding:12px;gap:10px;align-items:center}
 html.staging-ui-preview .price-strip-summary{flex:1;min-width:0;gap:3px}
 html.staging-ui-preview .price-strip-summary strong{white-space:normal;overflow:visible;font-size:13px;line-height:1.5;color:var(--ink)}
 html.staging-ui-preview .price-strip-summary small{color:var(--muted)}
 html.staging-ui-preview .price-strip-change{display:flex;align-items:center;justify-content:center;flex:none;min-width:50px;min-height:44px;padding:8px 10px;border-radius:8px;background:var(--soft-action);color:var(--soft-action-ink);text-decoration:none;font-size:12px}
 html.staging-ui-preview .price-strip>.preview-price-guide{margin:0;padding:10px 12px 12px;border-top:1px solid var(--line);font-size:12px;line-height:1.55;color:var(--muted)}
}

#preview-home-help{display:none!important}
@media(max-width:700px){
 html.staging-ui-preview body[data-page="home"] #chat-launcher{display:none!important}
 html.staging-ui-preview body[data-page="home"] #main #preview-home-help{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;margin:0;border:1px solid var(--line);border-radius:10px!important;background:var(--white);color:var(--ink);font-size:13px;line-height:1.4;text-decoration:none}
 html.staging-ui-preview body[data-page="home"] .shopping-intro>div:first-child{flex-basis:100%}
 html.staging-ui-preview body[data-page="home"] .shopping-intro{justify-content:flex-start;gap:12px}
 html.staging-ui-preview body[data-page="home"] .chat-customer{bottom:calc(16px + env(safe-area-inset-bottom));height:min(540px,calc(100dvh - 100px))}
}

/* Keep purchase facts visible while reducing repeated catalog introductions. */
html.staging-ui-preview body[data-page="home"] :is(.shopping-intro .caps,.showcase-heading>p,.editorial-break .caps,.editorial-break p,.brand-promises,.fabric-samples-heading .caps,.fabric-samples-intro,.compact-brand-overview .section-head>p,.compact-brand-overview .brands-grid p){display:none}
html.staging-ui-preview body[data-page="home"] .showcase-card .card-sub{display:none}
html.staging-ui-preview body[data-page="home"] .home-content:has(.shopping-intro .price-strip) .showcase-card .card-size{display:none}
html.staging-ui-preview .recommendation-heading .caps{display:none}
html.staging-ui-preview .recommendation-heading h2{margin-top:0}
html.staging-ui-preview .showcase-copy .card-price{margin-top:6px}
html.staging-ui-preview body[data-page="home"] .editorial-break{padding-top:20px;padding-bottom:20px}
html.staging-ui-preview body[data-page="home"] .compact-brand-overview{padding-top:24px;padding-bottom:24px}

html.staging-ui-preview body[data-page="home"] .cotton-illustration{min-height:0;padding-block:8px;margin-block:8px 16px;gap:28px}
html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{height:180px;max-height:180px}
@media(max-width:700px){html.staging-ui-preview body[data-page="home"] .cotton-illustration{padding-block:4px;margin-block:6px 12px;gap:14px}html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{height:125px;max-height:125px}}

/* A compact, warm collection invitation keeps the illustration and action together. */
html.staging-ui-preview body[data-page="home"] .cotton-illustration{grid-template-columns:180px minmax(0,310px);justify-content:center;align-items:center;gap:36px;max-width:1100px;padding:20px 28px;margin-block:16px 28px;background:#E6ECF8;border:0;border-radius:16px;box-shadow:none}
html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{width:180px;height:150px;max-height:150px;object-fit:contain}
html.staging-ui-preview body[data-page="home"] .cotton-illustration h2{font-size:30px;margin:0 0 14px;line-height:1.2;color:var(--ink)}
html.staging-ui-preview body[data-page="home"] #main .cotton-illustration .text-link{background:#4660B0;color:#fff;padding:11px 17px;min-height:44px;font-size:14px;gap:12px;white-space:nowrap}
html.staging-ui-preview body[data-page="home"] #main .cotton-illustration .text-link:hover{background:#1F2A44}
html.staging-ui-preview[data-theme="dark"] body[data-page="home"] .cotton-illustration{background:#1F2A44}
@media(max-width:700px){
 html.staging-ui-preview body[data-page="home"] .cotton-illustration{width:calc(100% - 32px);grid-template-columns:105px minmax(0,1fr);justify-content:initial;gap:14px;padding:16px;margin-block:12px 20px}
 html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{width:105px;height:112px;max-height:112px}
 html.staging-ui-preview body[data-page="home"] .cotton-illustration h2{font-size:21px;letter-spacing:-.4px;margin:0 0 10px}
 html.staging-ui-preview body[data-page="home"] #main .cotton-illustration .text-link{font-size:12px;padding:10px 12px;gap:8px}
 html.staging-ui-preview .cotton-illustration .text-link .icon{width:18px;height:18px}
}
@media(max-width:350px){html.staging-ui-preview body[data-page="home"] .cotton-illustration{grid-template-columns:85px minmax(0,1fr);gap:12px;padding:14px}html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{width:85px;height:100px}html.staging-ui-preview body[data-page="home"] .cotton-illustration h2{font-size:20px}}
/* Search is a full-page photo gallery; filter controls remain out of the browsing path. */
.staging-ui-preview .discover-page{padding-top:24px;padding-bottom:40px}
.staging-ui-preview .discover-page>h1{font-size:26px;margin:0 0 20px}
.staging-ui-preview body[data-page=discover] #header .storefront-search{display:none}
.staging-ui-preview .discover-page>.search-field{background:var(--white,#fff);border:1px solid var(--line);border-radius:14px;padding:12px 16px}
.staging-ui-preview .discover-page>.search-field input{border:0;background:transparent}
.staging-ui-preview .search-results{display:block;width:100%;max-height:none!important;height:auto!important;overflow:visible!important}
.staging-ui-preview .search-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
.staging-ui-preview .search-photo-grid img{width:100%;aspect-ratio:1;object-fit:cover}
.staging-ui-preview .search-filter-drawer{margin:12px 0;position:relative}
.staging-ui-preview .search-filter-drawer>summary{width:max-content;padding:10px 18px;min-height:44px;background:var(--soft-action,#E6ECF8);border-radius:10px;cursor:pointer}
.staging-ui-preview .search-filter-drawer .search-filters{padding:16px;background:var(--white,#fff);border:1px solid var(--line);border-radius:12px}
.staging-ui-preview .search-suggestions{display:none}
.staging-ui-preview .search-size-settings{margin-top:28px}
.staging-ui-preview .search-size-settings>summary{cursor:pointer;padding:14px 0;text-decoration:underline}
.staging-ui-preview body[data-page=home] .home-content:has(.shopping-intro .price-strip) .showcase-card .card-size,
.staging-ui-preview .card-size{display:block!important;font-size:11px;font-weight:400;line-height:1.6;color:var(--muted);margin-top:5px}
.staging-ui-preview .hero-photo,.staging-ui-preview .hero-photo img{background:#E6ECF8}
.staging-ui-preview body[data-page=home] .cotton-illustration{grid-template-columns:220px minmax(0,370px);gap:32px;padding:16px 32px;background:#E6ECF8;border:1px solid #E6ECF8}
.staging-ui-preview body[data-page=home] .cotton-illustration>img{width:220px;height:170px;max-height:170px}
.staging-ui-preview body[data-page=home] .cotton-illustration h2{font-size:32px;letter-spacing:-.04em}
.staging-ui-preview[data-theme=dark] body[data-page=home] .cotton-illustration{background:#1F2A44;border-color:#1F2A44}
@media(max-width:700px){
 .staging-ui-preview .search-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}
 .staging-ui-preview .discover-page{padding-top:16px}
 .staging-ui-preview .discover-page>h1{font-size:22px;margin-bottom:12px}
 .staging-ui-preview .search-photo-grid .card-sub{font-size:11px}
 .staging-ui-preview .search-filter-drawer[open]{position:fixed;inset:auto 0 0;z-index:100;background:var(--white,#fff);padding:20px;border-radius:20px 20px 0 0;box-shadow:0 -8px 40px #1F2A4430;max-height:75dvh;overflow:auto}
 .staging-ui-preview .search-filter-drawer[open]>summary::after{content:' · Tutup';font-weight:600}
 .staging-ui-preview .haven-auth{display:flex;flex-direction:column;margin:16px auto 32px}
 .staging-ui-preview .haven-auth .auth-panel{order:-1;padding:24px}
 .staging-ui-preview .haven-auth .auth-panel h1{font-size:28px;margin:12px 0}
 .staging-ui-preview .haven-auth .auth-panel h1 br{display:none}
 .staging-ui-preview .haven-auth .auth-intro{font-size:13px;line-height:1.6;margin-bottom:20px}
 .staging-ui-preview .haven-auth-story{display:none}
 .staging-ui-preview body[data-page=home] .cotton-illustration{grid-template-columns:115px minmax(0,1fr);gap:14px;padding:16px}
 .staging-ui-preview body[data-page=home] .cotton-illustration>img{width:125px;height:130px;max-height:130px;margin-left:-5px}
 .staging-ui-preview body[data-page=home] .cotton-illustration h2{font-size:23px;line-height:1.2}
}

.staging-ui-preview .discover-page .search-count{margin:14px 0 16px}
.staging-ui-preview .discover-page>.search-field{position:relative}
.staging-ui-preview .discover-page>.search-field>svg{display:none}
.staging-ui-preview .discover-page>.search-field input{padding:8px 0;min-height:40px;box-shadow:none;border-radius:0}
.staging-ui-preview .search-filter-drawer:focus-within{outline-offset:3px}
@media(max-width:700px){
 .staging-ui-preview body[data-page=account]:has(.haven-auth) #header .storefront-search{display:none}
 .staging-ui-preview .haven-auth .auth-panel>.caps{display:none}
 .staging-ui-preview .haven-auth .auth-panel{padding-top:20px}
}
/* Package graphic and dimensions share their own row below the price. */
html.staging-ui-preview body #main .product-card .card-size{display:flex!important;flex-basis:100%;align-items:center;gap:8px;margin:3px 0 0;padding:7px 0;background:transparent;white-space:normal;min-width:0;border-radius:0;line-height:1.5}
html.staging-ui-preview body #main .card-size .package-art{width:32px;height:28px;flex:0 0 32px;margin:0;color:var(--muted)}
.staging-ui-preview .card-size-copy{display:flex;flex-direction:column;min-width:0;gap:1px}
.staging-ui-preview .card-package-name{font-weight:600;color:var(--ink)}
.staging-ui-preview .search-photo-grid{width:100%;min-width:0}
.staging-ui-preview .search-photo-grid>.motif-card{min-width:0}
@media(max-width:700px){html.staging-ui-preview body #main .card-size .package-art{width:25px;height:25px;flex-basis:25px}html.staging-ui-preview body #main .product-card .card-size{gap:6px;font-size:10px}}
/* A horizontal collection signpost, with the action aligned to the far edge. */
html.staging-ui-preview body[data-page="home"] .cotton-illustration{grid-template-columns:160px minmax(0,1fr);justify-content:stretch;gap:24px;padding:12px 36px 12px 20px;max-width:1100px;background:#E6ECF8;border:1px solid #E6ECF8}
html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{width:200px;max-width:none;height:140px;max-height:140px;object-fit:contain;margin:0 0 0 -20px}
html.staging-ui-preview body[data-page="home"] .cotton-illustration>div{display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0}
html.staging-ui-preview body[data-page="home"] .cotton-illustration h2{font-size:30px;margin:0;letter-spacing:-.04em;line-height:1.2}
html.staging-ui-preview body[data-page="home"] #main .cotton-illustration .text-link{flex-shrink:0;margin:0;padding:12px 20px}
html.staging-ui-preview[data-theme="dark"] body[data-page="home"] .cotton-illustration{background:#1F2A44;border-color:#1F2A44}
@media(max-width:700px){
 html.staging-ui-preview body[data-page="home"] .cotton-illustration{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:14px 18px;margin-block:12px 20px}
 html.staging-ui-preview body[data-page="home"] .cotton-illustration>img{width:140px;height:120px;max-height:120px;margin-left:-20px}
 html.staging-ui-preview body[data-page="home"] .cotton-illustration>div{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
 html.staging-ui-preview body[data-page="home"] .cotton-illustration h2{font-size:23px}
 html.staging-ui-preview body[data-page="home"] #main .cotton-illustration .text-link{padding:10px 14px;font-size:12px}
}
html.staging-ui-preview body[data-page="home"] .cotton-illustration>div{width:100%;max-width:none}
@media(min-width:701px){
 html.staging-ui-preview body #main .product-card .card-price{align-items:center;column-gap:12px}
 html.staging-ui-preview body #main .product-card .card-size{flex:1 1 145px;justify-content:flex-end;margin:0 0 0 auto;padding:0;gap:6px}
 html.staging-ui-preview body #main .card-size .package-art{width:26px;height:26px;flex-basis:26px}
}
/* The cotton collection uses an existing bedding photo as its visual anchor. */
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner{grid-template-columns:44% minmax(0,1fr);gap:0;padding:0;overflow:hidden;background:#E6ECF8;border:0;border-radius:16px}
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>img{width:100%;max-width:100%;height:220px;max-height:none;margin:0;object-fit:cover;object-position:50% 58%}
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>div{width:100%;max-width:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:20px;padding:28px 44px}
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner h2{font-size:34px;line-height:1.15;margin:0}
html.staging-ui-preview[data-theme="dark"] body[data-page="home"] .cotton-photo-banner{background:#1F2A44}
@media(max-width:700px){
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner{grid-template-columns:42% minmax(0,1fr);padding:0;gap:0;border-radius:12px}
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>img{width:100%;height:166px;max-height:none;margin:0;object-position:54% 53%}
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>div{padding:18px;gap:16px}
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner h2{font-size:23px}
 html.staging-ui-preview body[data-page="home"] #main .cotton-photo-banner .text-link{padding:10px 12px;gap:8px}
}
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>div{gap:12px}
html.staging-ui-preview body[data-page="home"] .cotton-photo-banner p{display:block;max-width:380px;margin:0;font-size:14px;line-height:1.6;color:var(--muted)}
@media(max-width:700px){
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner p{font-size:12px;line-height:1.55}
 html.staging-ui-preview body[data-page="home"] .cotton-photo-banner>img{height:100%;min-height:220px}
}
html.staging-ui-preview body[data-page="home"] #main .cotton-photo-banner p{display:block}
/* Keep search filters in the page flow so mobile results never sit behind them. */
html.staging-ui-preview .discover-page,
html.staging-ui-preview .discover-page :is(.search-field,.search-results,.search-filter-drawer,.search-filters,.field,.motif-card){min-width:0;max-width:100%;box-sizing:border-box}
html.staging-ui-preview .discover-page :is(input,select){width:100%;min-width:0;max-width:100%;box-sizing:border-box}
html.staging-ui-preview .discover-page .search-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
html.staging-ui-preview .discover-page .card-sub{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
 html.staging-ui-preview .discover-page .search-filter-drawer[open]{position:relative;inset:auto;z-index:auto;margin:12px 0 18px;padding:0;border-radius:0;background:transparent;box-shadow:none;max-height:none;overflow:visible;width:100%}
 html.staging-ui-preview .discover-page .search-filters{grid-template-columns:minmax(0,1fr);gap:14px;padding:16px;margin:12px 0}
 html.staging-ui-preview .discover-page :is(input,select){font-size:16px;min-height:48px}
 html.staging-ui-preview .discover-page .search-field{padding:10px 14px}
 html.staging-ui-preview .discover-page .search-field input{padding:4px 0}
 html.staging-ui-preview .discover-page .search-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
}
