/* Core workspace and storefront hierarchy, scoped to avoid customer account leakage. */
.admin-shell{--paper:#f5f6f8;--ink:#24252b;--muted:#727580;--line:#e5e7eb;grid-template-columns:232px minmax(0,1fr);background:var(--paper);min-height:100vh;font-family:var(--font-ui)}
.admin-shell .sidebar{background:#fff;color:#24252b;border-right:1px solid var(--line);padding:30px 20px;gap:8px}
.admin-shell .sidebar .wordmark{font:700 23px/1.12 var(--font-ui);letter-spacing:-1px;color:#27242a}
.admin-shell .sidebar .eyebrow{font-size:12px;color:#87838a;letter-spacing:.08em;margin:16px 0 0}
.admin-shell .sidebar nav{display:block;margin-top:24px}
.admin-shell .sidebar nav details{border:0;margin:18px 0}
.admin-shell .sidebar nav summary{font-size:12px;font-weight:600;color:#85818a;padding:8px 12px;cursor:pointer}
.admin-shell .sidebar nav button{width:100%;text-align:left;background:transparent;color:#57535d;border:0;border-radius:7px;padding:11px 12px;font-size:14px;margin:2px 0;min-height:42px}
.admin-shell .sidebar nav button.active{background:#f3e9ed;color:#7a263a;font-weight:650}
.admin-shell .sidebar nav button:hover{background:#f5f3f5}.admin-shell .sidebar nav button span{display:none}
.admin-shell .sidebar-bottom{border-top:1px solid var(--line);font-size:13px;color:#625b60}
.admin-shell .admin-main{padding:0 clamp(24px,4vw,64px) 64px;min-width:0;max-width:1700px;width:100%}
.admin-shell .admin-top{min-height:80px;margin-bottom:36px;border-bottom:1px solid var(--line);color:#77717b}
.admin-shell h1{font:650 30px/1.3 var(--font-ui);letter-spacing:-.04em;margin:0 0 10px}
.admin-shell h2{font:600 21px/1.4 var(--font-ui)}
.admin-shell .admin-panel,.admin-shell .stats article{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 5px #20203003;padding:24px}
.admin-shell .button{background:#7a263a;color:#fff;border:1px solid #7a263a;border-radius:7px;padding:11px 18px}
.admin-shell .secondary{background:#fff;border:1px solid #dedbe1;color:#37323c;border-radius:7px;padding:10px 16px}
.admin-shell input,.admin-shell select,.admin-shell textarea{background:#fff;border:1px solid #dedbe1;border-radius:7px;padding:10px 12px;color:#29262e}
.product-workbench{display:flex;flex-wrap:wrap;gap:20px;align-items:end;margin:28px 0 16px}.product-workbench label:first-child{flex:1;min-width:220px}.product-workbench label{font-size:13px}.product-workbench input,.product-workbench select{display:block;width:100%;margin-top:6px}.product-workbench p{font-size:13px;color:#77717b}
.admin-shell .product-table{padding:0 22px}.admin-shell .product-admin-row{padding:22px 0;gap:16px;border-bottom:1px solid var(--line)}.product-admin-row[hidden]{display:none!important}
.admin-shell .product-admin-row h3{font:600 15px/1.5 var(--font-ui);margin:0 0 6px}.admin-shell .product-admin-row p{font-size:12px;color:#79737f;line-height:1.7}.admin-shell .product-admin-row img{border-radius:6px;width:56px;height:70px;object-fit:contain;background:#f5f3f1}
.admin-shell .status{background:#f4eee3;color:#786142;border:0;border-radius:5px;padding:5px 10px;font-size:12px}
dialog:has(.product-editor){width:min(1100px,94vw);max-width:94vw;background:#f8f9fb;border:0;border-radius:14px;padding:28px 36px}dialog::backdrop{background:#18152280;backdrop-filter:blur(3px)}
.product-editor>section{background:white;border:1px solid #e5e7eb;border-radius:10px;margin:20px 0;padding:28px}.product-editor h3{font:600 20px/1.4 var(--font-ui)}.product-editor .editor-jumps{top:-28px;background:#f8f9fb;padding:12px 0;gap:8px}.product-editor .editor-save{bottom:-28px;background:#f8f9fb;padding:16px 0}.product-editor input,.product-editor select,.product-editor textarea{border-radius:6px;border:1px solid #dcdde2;background:#fff;padding:11px}.product-editor .notice{background:#f6f4f1;border:0;padding:14px 16px;color:#68616a;font-size:14px}
.storefront{background:var(--theme-soft,#faf8f5)}.storefront .store-header{background:var(--theme-soft,#faf8f5);padding-top:26px;padding-bottom:14px}.storefront .global-search{border:0;border-bottom:1px solid #d8d2ce;border-radius:0;background:transparent}.storefront .global-search input{background:transparent}
.storefront .product-grid,.storefront .ranking-grid{column-gap:24px;row-gap:42px}.storefront .product-image{background:#eeebe7;border-radius:2px;overflow:hidden}.storefront .product-info h3,.storefront .ranking-grid h3{font-size:16px;font-weight:500;line-height:1.55;margin:14px 0 10px}.storefront .selling-price{font-size:18px;font-weight:650}.storefront .size-range{font-size:12px;font-weight:500;letter-spacing:.05em;color:#726a70}.storefront .merch-badges>span{border-radius:2px;font-size:11px;padding:6px 9px}.storefront .button,.storefront .secondary{border-radius:3px;box-shadow:none}.storefront .hero-poster .carousel-arrow{border:0;border-radius:0;background:transparent;font-size:56px;width:56px;height:64px;text-shadow:0 1px 10px #0005}.storefront .section-heading{margin-bottom:28px}.storefront .product-detail{gap:clamp(32px,5vw,80px);padding-top:44px}.storefront .product-detail h1{font-size:clamp(28px,3vw,42px);line-height:1.2}.storefront .product-detail .notice{background:transparent;border-top:1px solid var(--line);font-size:12px;padding:16px 0;color:#797078}.storefront footer{padding-top:64px;padding-bottom:56px}.storefront .bag-item h3{font:500 17px/1.5 var(--font-ui)}
@media(max-width:900px){.admin-shell{grid-template-columns:190px minmax(0,1fr)}.admin-shell .admin-main{padding:0 22px 40px}.admin-shell .product-admin-row{display:flex;flex-wrap:wrap}.admin-shell .product-admin-row>div:first-of-type{flex:1;min-width:180px}}
@media(max-width:700px){.admin-shell{display:block}.admin-shell .sidebar{position:static;padding:18px}.admin-shell .sidebar nav{margin-top:12px}.admin-shell .sidebar nav details{margin:5px 0}.admin-shell .sidebar nav button{width:auto;display:inline-block;margin-right:4px}.admin-shell .sidebar .wordmark br{display:none}.admin-shell .admin-top{margin-bottom:24px}.admin-shell .admin-main{padding:0 16px 32px}.admin-shell .product-admin-row img{display:block}.product-workbench{gap:12px}.product-workbench p{width:100%;margin:0}.product-editor>section{padding:18px}dialog:has(.product-editor){padding:20px 14px}.product-editor .editor-jumps{top:-20px}.product-editor .editor-save{bottom:-20px}.storefront .product-grid,.storefront .ranking-grid{gap:28px 12px}.storefront .product-info h3,.storefront .ranking-grid h3{font-size:14px}.storefront .product-detail{padding-top:24px}.storefront .product-detail h1{font-size:29px}}
.recommendation-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:300px;overflow:auto}.recommendation-picker label{display:flex;gap:10px;align-items:center;padding:10px;background:#f8f9fb;border-radius:6px}.recommendation-picker img{width:42px;height:54px;object-fit:contain}.recommendation-picker span{font-size:13px}.recommendation-picker input{min-height:20px}.related-products{padding:48px 5% 72px}.product-page>.breadcrumbs{padding:24px 5% 0;font-size:13px;color:#776b70}.storefront .campaign-slider[data-tone=light] .poster-copy,.storefront .campaign-slider[data-tone=light] .poster-copy h1,.storefront .campaign-slider[data-tone=light] .poster-copy p,.storefront .campaign-slider[data-tone=light] .poster-copy .eyebrow{color:white}.storefront .campaign-slider[data-tone=dark] .poster-copy,.storefront .campaign-slider[data-tone=dark] .poster-copy h1,.storefront .campaign-slider[data-tone=dark] .poster-copy p,.storefront .campaign-slider[data-tone=dark] .poster-copy .eyebrow{color:#242124}
@media(max-width:700px){.related-products .product-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:72%;overflow-x:auto;scroll-snap-type:x mandatory}.related-products .product{scroll-snap-align:start}.recommendation-picker{grid-template-columns:1fr}}
.admin-shell .product-admin-row{display:grid;grid-template-columns:56px minmax(160px,1fr) 95px 72px 82px 92px;align-items:center}.admin-shell .product-admin-row:has(.drag-handle:not([hidden])){grid-template-columns:30px 56px minmax(160px,1fr) 95px 80px 72px 82px 92px}.admin-shell .product-admin-row>[hidden]{display:none!important}.admin-shell .product-admin-row>.text-button{white-space:nowrap;font-size:13px;margin:0}.admin-shell .product-admin-row>.secondary{padding:8px 10px;font-size:13px}.workbench-pagination{display:flex;gap:18px;align-items:center;justify-content:flex-end;margin-top:20px}.workbench-pagination[hidden]{display:none}.product-workbench label:last-child{display:flex;align-items:center;gap:8px;font-size:13px}.product-workbench label:last-child input{width:auto;min-height:20px;margin:0}.product-workbench [data-product-count]{order:5}.product-workbench label:first-child{min-width:180px}.product-workbench label:last-child{width:100%}
@media(max-width:900px){.admin-shell .product-admin-row,.admin-shell .product-admin-row:has(.drag-handle:not([hidden])){display:flex;flex-wrap:wrap}.admin-shell .product-admin-row>div:first-of-type{flex:1;min-width:160px}.admin-shell .product-admin-row>.secondary,.admin-shell .product-admin-row>.text-button{flex:1}.admin-shell .product-admin-row .admin-prices{flex-basis:100%}.admin-shell .sidebar{max-height:none}}
.detail-visual{position:relative}.image-expand{position:absolute;right:14px;bottom:14px;z-index:2;background:#fffffff0;border:1px solid #ddd;width:44px;height:44px;font-size:24px;border-radius:50%}.image-viewer{width:min(1100px,96vw);max-width:96vw;padding:20px;background:#fff}.image-viewer img{display:block;max-width:100%;height:auto;margin:20px auto}.image-viewer form{position:sticky;top:0;text-align:right}.product-editor .button{background:#7a263a;color:white;border-radius:6px;border-color:#7a263a}.product-editor .rich-toolbar button{background:white;border:1px solid #dcdde2;border-radius:5px}.product-editor .rich-title{border:1px solid #dcdde2;border-radius:6px;background:white}
.admin-shell .product-admin-row>*{grid-column:auto}.admin-shell .product-admin-row .copy-product{grid-column:auto;margin:0;justify-self:stretch}.admin-shell .product-admin-row{min-height:112px}.admin-shell .product-admin-row p{font-size:13px}.admin-shell .product-workbench{gap:14px}.admin-shell .product-workbench>p{margin:0}.admin-shell .product-workbench label:last-child{width:auto;margin-left:auto}.admin-shell .product-workbench [data-product-count]{order:0}
.admin-mobile-nav{display:none}@media(max-width:700px){.admin-shell .sidebar nav,.admin-shell .sidebar>.eyebrow,.admin-shell .sidebar>p,.admin-shell .sidebar-bottom{display:none}.admin-shell .sidebar{padding:16px 20px;border-bottom:1px solid #e5e7eb}.admin-shell .sidebar .wordmark{font-size:19px}.admin-shell .admin-top{padding:16px 0;gap:12px}.admin-mobile-nav{display:block;width:100%}.admin-shell .admin-top>span:first-child{display:none}.admin-shell .product-workbench label:last-child{margin-left:0}.admin-shell .section-heading{gap:16px}.admin-shell .ops-actions{display:flex;gap:8px;width:100%}.admin-shell .ops-actions>*{flex:1}}
/* Category headers: text remains HTML; images occupy an independent panel. */
.storefront .compact-collection{max-width:1280px;margin:0 auto;padding:20px 32px 0;background:var(--theme-soft,#faf8f5);border:0}
.storefront .compact-collection .breadcrumbs{margin:0 0 16px;font-size:13px;line-height:1.5;gap:8px;letter-spacing:0}
.storefront .collection-heading{padding:8px 0 20px}
.storefront .collection-heading h1{font-size:clamp(30px,3.2vw,44px);line-height:1.15;margin:0 0 10px;overflow-wrap:anywhere}
.storefront .collection-heading p{font-size:15px;line-height:1.6;margin:0;max-width:640px}
.storefront .collection-heading.has-cover{display:grid;grid-template-columns:minmax(0,1fr) 450px;min-height:300px;max-width:none;margin:0 auto;padding:0;overflow:hidden;background:linear-gradient(105deg,#f2e9df 0%,#e6d1be 62%,#e5ccb5 100%)}
.storefront .has-cover .collection-heading-copy{padding:32px 20px 32px 48px;align-self:center;min-width:0}.storefront .has-cover h1{font-size:clamp(38px,4vw,56px);letter-spacing:-.035em;margin-bottom:14px}.storefront .has-cover p{max-width:380px;color:#625448;line-height:1.65}
.storefront .has-cover .category-cover{margin:0;max-width:none;width:450px;height:300px;min-width:0;display:block;background:transparent;mask-image:linear-gradient(to right,transparent,#000 18%,#000 85%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 18%,#000 85%,transparent)}
.storefront .has-cover .category-cover img{display:block;width:100%;height:100%;max-height:none;object-fit:var(--category-fit,contain);object-position:var(--category-position,center)}
.storefront .compact-collection+.collection{max-width:1280px;margin:0 auto;padding:12px 32px 60px}
.storefront .compact-collection+.collection .collection-tools{grid-template-columns:repeat(5,minmax(0,1fr)) auto;gap:12px;margin:0 0 20px;padding:8px 0 16px;border-bottom:1px solid var(--line)}
.storefront .compact-collection+.collection .collection-tools select{min-height:44px;padding:8px;margin-top:4px;border-radius:4px}
.collection-result-bar{font-size:13px;line-height:1.5;color:var(--muted);padding:4px 0}
.storefront .compact-collection+.collection #filter-summary:empty{display:none}
.media-card:is([data-profile=category],[data-profile=categoryMobile]) .media-preview{height:220px;background:#eee9e2}.media-card:is([data-profile=category],[data-profile=categoryMobile]) .media-preview img{object-fit:contain;max-height:220px}
@media(max-width:1000px) and (min-width:701px){.storefront .collection-heading.has-cover{grid-template-columns:minmax(0,1fr) 360px;min-height:240px}.storefront .has-cover .category-cover{width:360px;height:240px}.storefront .has-cover .collection-heading-copy{padding:24px}.storefront .compact-collection+.collection .collection-tools{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.storefront .compact-collection{padding:12px 16px 0}.storefront .compact-collection .breadcrumbs{font-size:12px;margin-bottom:10px}.storefront .collection-heading{padding:4px 0 12px}.storefront .collection-heading h1{font-size:28px;margin-bottom:7px}.storefront .collection-heading p{font-size:13px;line-height:1.5}.storefront .collection-heading.has-cover{grid-template-columns:minmax(0,1fr) 144px;min-height:180px;background:linear-gradient(110deg,#f2e9df,#e5ccb5)}.storefront .has-cover .collection-heading-copy{padding:18px 4px 18px 18px}.storefront .has-cover h1{font-size:29px;margin-bottom:9px}.storefront .has-cover p{font-size:12px;line-height:1.55}.storefront .has-cover .category-cover{width:144px;height:180px;align-self:center;mask-image:linear-gradient(to right,transparent,#000 12%,#000 90%,transparent);-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 90%,transparent)}.storefront .compact-collection+.collection{padding:8px 16px 40px}.storefront .compact-collection+.collection .mobile-filter-toggle{margin:4px 0 8px;min-height:42px;padding:8px 14px;display:inline-block}.storefront .compact-collection+.collection .collection-result-bar{float:right;padding:14px 0 8px}.storefront .compact-collection+.collection .collection-tools{clear:both;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;margin-bottom:16px}.storefront .compact-collection+.collection .collection-tools>.text-button{justify-self:start}.storefront .compact-collection+.collection .product-grid{clear:both}.storefront .compact-collection+.collection #filter-summary{clear:both;padding-bottom:8px}}

.active-collection-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.active-collection-filters .chip{margin:0;padding:6px 10px;min-height:32px;border:1px solid var(--line);background:var(--theme-soft,#faf8f5);border-radius:4px}

.storefront .collection-heading.ranking-heading {
  min-height: 240px;
  background: linear-gradient(100deg, #f1eee9, #d1d0c7);
}
.storefront .ranking-heading .category-cover {
  height: 240px;
  mask-image: linear-gradient(to right, transparent, black 16%);
}
@media (max-width: 700px) {
  .storefront .collection-heading.ranking-heading { min-height: 160px; }
  .storefront .ranking-heading .category-cover { height: 160px; }
}
