/* Search, campaign controls and the visual merchandising studio. */
.storefront .store-header{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,520px) minmax(150px,1fr);gap:16px 28px;padding:22px 5% 12px;transition:padding .2s}
.storefront.is-scrolled .store-header{padding:12px 5% 8px}
.storefront .store-header nav{grid-column:1/-1;grid-row:2;order:initial;justify-content:center;width:100%;padding:8px 0 0;border-top:1px solid var(--line);gap:8px 24px}
.storefront .header-actions{justify-self:end;white-space:nowrap}
.global-search{position:relative;margin:0;display:flex;align-items:center;border:1px solid #b9b2bd;border-radius:8px;background:#fff}
.global-search input{margin:0;border:0;background:transparent;padding:12px 50px 12px 16px;font-size:16px;width:100%;border-radius:8px;min-height:48px}
.global-search button{position:absolute;right:4px;top:2px;min-width:42px;font-size:24px;background:transparent;border:0;color:#26232a}
.search-open,.global-search .search-dismiss{display:none}
.storefront .size-range{font-size:14px;letter-spacing:.035em;font-weight:600;line-height:1.5;margin:12px 0 5px;color:var(--ink)}
.storefront .fixed-density{font-size:13px;line-height:1.5;letter-spacing:.04em;margin-bottom:8px;color:var(--muted)}
.rating-summary{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px;font:14px/1.6 var(--font-ui);margin:10px 0;color:var(--ink)}
.rating-summary .summary-stars{font-size:19px;letter-spacing:1px;color:var(--theme-dark)}
.rating-summary small{font-size:12px;flex-basis:100%;color:var(--muted)}
.empty-rating{color:var(--muted)}
.product-reviews{scroll-margin-top:190px}
.sibling-products{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.sibling-products>span{width:100%;font-size:14px}.sibling-products a{padding:9px 12px;border:1px solid var(--line);font-size:14px;border-radius:6px}.sibling-products a:hover{background:var(--theme-mid)}
.storefront .hero-poster{touch-action:pan-y;width:100%;min-width:0;min-height:460px;height:auto;max-height:none;aspect-ratio:12/5}
.hero-poster .campaign-slide{position:absolute;inset:0;overflow:hidden}.hero-poster .campaign-slide[hidden]{display:none}
.hero-poster:after{display:none}.campaign-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#18131ce6,transparent 80%);pointer-events:none}
.hero-poster .campaign-slide img{object-position:center}
.hero-poster .poster-copy{bottom:60px;left:8%;right:8%;z-index:2;max-width:740px}
.storefront .poster-copy h1{font-size:clamp(40px,5vw,72px)}
.hero-poster .carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:4;border:1px solid #fff8;border-radius:50%;height:46px;width:46px;min-height:46px;background:#21192385;color:white;font:32px/1 sans-serif;padding:0}
.carousel-arrow.previous{left:18px}.carousel-arrow.next{right:18px}
.hero-poster .slider-controls{right:auto;left:50%;transform:translateX(-50%);bottom:15px;z-index:4}
.hero-poster .slider-controls button{font-size:13px;height:36px;min-height:36px;min-width:36px;width:36px}
.product-editor>section{padding:28px 0;border-bottom:1px solid var(--line);scroll-margin-top:100px}
.editor-jumps{position:sticky;top:-35px;z-index:5;display:flex;flex-wrap:wrap;gap:8px;background:var(--paper);padding:12px 0;border-bottom:1px solid var(--line)}
.editor-jumps button,.media-actions button,.gallery-item button,.slide-order button,.crop-actions button{border:1px solid #c4bbc7;border-radius:6px;background:white;color:#302b33;padding:8px 12px;min-height:42px;font-size:14px}
.editor-save{position:sticky;bottom:-35px;padding:14px 0;background:var(--paper);border-top:1px solid var(--line);z-index:5;text-align:right}
.editor-card-preview{max-width:360px;padding:20px;margin-top:20px;background:white;border:1px solid var(--line)}.editor-card-preview img{width:100%;aspect-ratio:4/5;object-fit:cover}
.media-card{border:1px solid #d8d1db;border-radius:10px;padding:16px;background:#fff;margin:16px 0;min-width:0;overflow:hidden}
.media-card>label{font-weight:600}.media-card input[type=file]{font-weight:400;font-size:14px;padding:10px 0;border:0;background:transparent;max-width:100%}
.media-spec,.media-dimensions,.media-status{font-size:14px!important;line-height:1.6;color:#625c66;margin:10px 0}
.media-preview{min-height:100px;background:repeating-conic-gradient(#f5f2f6 0 25%,#eae5ed 0 50%) 0/20px 20px;display:flex;align-items:center;justify-content:center;border-radius:7px;overflow:hidden;max-width:100%;margin:12px auto}
.media-preview img,.media-preview video{display:block;max-width:100%;width:auto;max-height:300px;object-fit:contain}.media-preview>span{padding:30px;color:#625c66;font-size:14px}
.media-card.mobile-preview .media-preview{max-width:220px;border:5px solid #302b33;border-radius:16px}.media-card.mobile-preview .media-preview img{width:100%;max-height:360px}
.media-card[data-profile=product] .media-preview{width:240px;max-width:100%;aspect-ratio:4/5;min-height:0}
.media-card[data-profile=product] .media-preview img{width:100%;height:100%;max-height:none;object-fit:cover}
.media-card[data-profile=product].mobile-preview .media-preview{width:180px}
.media-card[data-profile=hero].mobile-preview .media-preview{aspect-ratio:4/5}
.media-card[data-profile=cover].mobile-preview .media-preview{aspect-ratio:4/3}
.media-card[data-profile=hero] .media-preview{aspect-ratio:12/5;min-height:0}
.media-card[data-profile=mobile] .media-preview{aspect-ratio:4/5;width:240px;min-height:0}
.media-card[data-profile=cover] .media-preview{aspect-ratio:5/2;min-height:0}
.media-card[data-profile=coverMobile] .media-preview{aspect-ratio:4/3;min-height:0}
.media-card:is([data-profile=hero],[data-profile=mobile],[data-profile=cover],[data-profile=coverMobile]) .media-preview img{width:100%;height:100%;max-height:none;object-fit:cover}
.media-card[data-media-video] .media-preview{aspect-ratio:auto;width:100%}
.media-card .media-preview:has(>span){aspect-ratio:auto;min-height:80px;width:100%}
.structured-sku .media-card[data-profile=product] .media-preview{width:144px}
.product-detail label[hidden]{display:none}
.sku-selectors:has(>label:only-child){grid-template-columns:1fr;max-width:300px}
.media-actions{display:flex;flex-wrap:wrap;gap:8px}.media-actions [aria-pressed=true]{background:#e9e2ed;border-color:#56415f}
.structured-sku{grid-template-columns:repeat(3,minmax(0,1fr))}.structured-sku .media-card{grid-column:1/-1}.structured-sku .media-preview img{max-height:180px}.structured-sku>.text-button{justify-self:start}
.gallery-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.gallery-item{padding:12px;background:white;border:1px solid var(--line);border-radius:8px;min-width:0}.gallery-item>img{display:block;width:100%;height:180px;object-fit:contain;background:#f4f0f5}.gallery-item>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.gallery-item .gallery-drag{width:100%;cursor:grab;margin-bottom:6px}.gallery-add{padding:20px;background:#f4f0f5;border:1px dashed #a695ad;margin-top:16px}
.slide-row{border-radius:12px;background:#f7f4f9}.slide-order{display:flex;flex-wrap:wrap;gap:8px}.slide-drag{cursor:grab}
.crop-dialog{width:min(900px,96vw);border-radius:14px;padding:24px;background:#faf8fc;color:#26232a;max-height:94dvh}.crop-heading{display:flex;align-items:center;justify-content:space-between}.crop-heading h2{margin:0;font:600 24px/1.4 var(--font-ui)}.crop-heading button{background:none;border:0;font-size:30px}
.crop-dialog p{font-size:14px;line-height:1.6;margin:12px 0}.crop-workspace{height:330px;display:flex;justify-content:center;align-items:center;background:#e7e0eb;border-radius:8px;overflow:hidden}.crop-workspace canvas{max-width:100%;max-height:100%;object-fit:contain;touch-action:none;cursor:move}.crop-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;margin-top:15px}.crop-controls input{margin:0}.crop-actions{display:flex;justify-content:flex-end;gap:10px}.crop-actions [data-crop-save]{background:#493852;color:white}.crop-dialog::backdrop{background:#21162ecc}
.product-table .copy-product{justify-self:end}
@media(max-width:1000px){.storefront .store-header{grid-template-columns:minmax(150px,1fr) minmax(220px,1.5fr) auto;gap:12px 18px}.storefront .wordmark{font-size:25px}.storefront .header-actions{gap:12px}.storefront .hero-poster{min-height:490px}.storefront .poster-copy h1{font-size:48px}}
@media(max-width:700px){
  .storefront .store-header,.storefront.is-scrolled .store-header{grid-template-columns:1fr auto;padding:12px 5% 4px;gap:7px 10px}
  .storefront .wordmark{font-size:22px}.storefront .wordmark small{font-size:12px}.storefront .header-actions{font-size:13px;gap:9px}.storefront .count{margin-left:0}
  .search-open{display:inline-flex;align-items:center;justify-content:center;background:none;border:0;min-width:34px;min-height:44px;font-size:26px;padding:0}
  .global-search{display:none;grid-column:1/-1;grid-row:2}.search-expanded .global-search{display:flex}.global-search input{padding-right:85px}.global-search button[type=submit]{right:40px}.global-search .search-dismiss{display:block;right:0}
  .storefront .store-header nav{grid-row:3;justify-content:flex-start;gap:0 18px;overflow:auto;flex-wrap:nowrap;padding:4px 0;scrollbar-width:thin}.storefront .store-header nav>a,.storefront .mega>summary{font-size:14px;min-height:40px;padding:6px 0}
  .storefront .hero-poster{aspect-ratio:4/5;min-height:450px}.hero-poster .poster-copy{left:7%;right:7%;bottom:62px}.storefront .poster-copy h1{font-size:39px}.storefront .poster-copy p{font-size:15px;line-height:1.5;margin-bottom:14px}.hero-poster .carousel-arrow{width:34px;height:38px;min-height:38px;font-size:25px;top:28%}.carousel-arrow.previous{left:8px}.carousel-arrow.next{right:8px}
  .rating-summary{font-size:13px;gap:3px 6px}.rating-summary .summary-stars{font-size:16px;letter-spacing:0}.storefront .size-range{font-size:13px}.storefront .fixed-density{font-size:12px}.sibling-products a{font-size:13px}
  .editor-jumps{top:-35px;gap:5px}.editor-jumps button{font-size:13px;padding:7px}.gallery-cards{grid-template-columns:1fr}.crop-dialog{padding:16px}.crop-controls{gap:8px 12px}.crop-workspace{height:280px}.product-editor .two-col{grid-template-columns:1fr}.structured-sku{grid-template-columns:repeat(2,minmax(0,1fr))}.media-card{padding:12px}
}
/* Review moderation shares the store typography and theme. */
.review-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.review-metrics article{padding:22px;background:var(--theme-soft,#f6f3ef);border:1px solid var(--line,#ddd);border-radius:12px}.review-metrics strong{display:block;font-size:32px;margin-top:12px}.review-filters,.review-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.review-filters [aria-pressed=true]{background:var(--theme-dark,#333);color:#fff}.moderation-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.moderation-heading h2{font-size:24px;margin:0 0 12px}.moderation-state{padding:8px 14px;border-radius:24px;background:#f4edd9;color:#5d460c;white-space:nowrap}.state-published{background:#e6f0e9;color:#245339}.state-rejected{background:#f4e9e8;color:#7c3330}.review-priority{padding:12px 16px;background:#f8eee2;color:#714615;border-left:3px solid #a46c2a}.review-body{white-space:pre-wrap;overflow-wrap:anywhere}.review-photos{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.review-photos img{width:112px;height:140px;object-fit:contain;background:var(--theme-soft,#f5f3f0);border-radius:6px}.review-photos figure{margin:0;max-width:150px}.review-photos label{max-width:160px}.review-photos button{display:block}.review-audit{border-top:1px solid var(--line,#ddd);padding-top:16px;margin-top:20px}.review-audit summary{cursor:pointer}.review-audit article{border-bottom:1px solid var(--line,#ddd);padding:16px 0}.review-audit pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 var(--font-ui);background:var(--theme-soft,#f7f5f2);padding:16px}.review-reply{margin:20px 0 0;padding:16px;border-left:3px solid var(--theme-dark,#555);background:var(--theme-soft,#f6f3ef)}.moderation-card{overflow-wrap:anywhere}.moderation-card p,.moderation-card label,[data-review-form] label{font-size:16px;line-height:1.7}[data-review-form] textarea{min-height:110px}[data-review-form] [type=checkbox]{width:auto}#detail:has([data-review-form]){max-width:760px;width:calc(100% - 32px)}
@media(max-width:700px){.review-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.review-metrics article{padding:16px}.moderation-heading{align-items:flex-start}.moderation-heading h2{font-size:21px}.review-actions>*{flex:1}.review-photos img{width:96px;height:120px}.review-metrics strong{font-size:28px}}
@media(max-width:1100px){.review-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.section-heading:has([data-review-action=refresh]){flex-wrap:wrap}.section-heading [data-review-action=refresh]{white-space:nowrap;flex-shrink:0}}
