.theme-a #product-dialog {width:min(1120px,96vw);padding:18px clamp(16px,3vw,44px) 30px}
.theme-a #product-dialog .close {margin:0 0 0 auto;top:0}
.theme-a .product-detail {align-items:start}
.shop-slides {display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.shop-slides>button {flex:0 0 100%;min-width:0;padding:0;height:min(70svh,680px);scroll-snap-align:center;cursor:zoom-in;background:#fafafa}
.shop-slides img {display:block;width:100%;height:100%;object-fit:contain}
.shop-controls {display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ddd;font-size:13px}
.shop-controls button {width:44px;height:44px;font-size:25px}
.shop-controls button:disabled {opacity:.25}
.shop-thumbnails {display:flex;overflow-x:auto;gap:6px;padding:8px 0;scrollbar-width:thin}
.shop-thumbnails button {flex:none;width:49px;height:60px;padding:2px;border:1px solid transparent}
.shop-thumbnails button[aria-pressed=true] {border-color:#252520}
.shop-thumbnails img {width:100%;height:100%;object-fit:contain}
.shop-size-chart {display:block;text-decoration:underline;min-height:44px;margin:6px 0 14px}
.theme-a .detail-copy>a {display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;background:#20211f;color:white}
#shop-zoom {background:white;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;overflow:hidden}
#shop-zoom button {position:absolute;z-index:1;top:max(12px,env(safe-area-inset-top));right:12px;min-height:44px;padding:0 18px;background:white;border:1px solid #aaa;border-radius:30px}
.zoom-pane {height:100%;width:100%;overflow:auto;overscroll-behavior:contain}
.zoom-pane img {display:block;width:max(200%,95svh);max-width:none;height:auto}
@media(max-width:700px){
 .theme-a #product-dialog {width:100%;height:100dvh;max-height:none;max-width:none;padding:0 0 30px;margin:0}
 .theme-a #product-dialog .close {height:44px;background:white}
 .shop-slides>button {height:min(65svh,125vw)}
 .shop-thumbnails,.shop-controls,.theme-a #product-dialog .detail-copy {padding-inline:16px}
}

.theme-a .a-header {
  position:fixed; inset:0 0 auto; z-index:40; height:72px;
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); padding:0 3vw;
  background:linear-gradient(to bottom,#0008,transparent);
}
.theme-a .a-header .brand {position:static;transform:none;grid-area:1 / 2;justify-self:center;opacity:1;filter:none}
.theme-a .a-header .wordmark {width:clamp(155px,22vw,240px);height:64px;aspect-ratio:auto}
.theme-a .a-header .wordmark img {width:100%;height:100%;object-fit:contain}
.theme-a .a-header-actions {grid-area:1 / 3;justify-self:end;white-space:nowrap}
.theme-a .a-header.is-scrolled {background:#191a19}
.theme-a #collection,.theme-a #visual,.theme-a #denim-story {scroll-margin-top:72px}
.shop-heading {position:sticky;top:0;background:white;z-index:6;display:flex;justify-content:center;align-items:center;height:52px;border-bottom:1px solid #eee;margin-bottom:10px}
.shop-heading img {width:142px;height:44px;object-fit:contain}
.theme-a #product-dialog .shop-heading .close {position:absolute;right:0;top:4px;margin:0}
@media(max-width:700px){.theme-a .a-header{height:56px}.theme-a .a-header .wordmark{height:52px}.theme-a #collection,.theme-a #visual,.theme-a #denim-story{scroll-margin-top:56px}}
.theme-a .a-header-actions>a.official-bag {display:inline-flex;align-items:center;min-height:44px;color:white}
.shop-size-field {border:0;padding:0;margin:20px 0 0;min-width:0}
.shop-size-field legend {padding:0;font-size:14px;font-weight:600;letter-spacing:.04em}
.shop-checkout-options {display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.shop-checkout-options button {
  display:grid;place-content:center;gap:2px;min-height:56px;min-width:74px;
  border:1px solid #aaa9a1;color:#242420;padding:7px 12px;font-size:15px;text-align:center;
}
.shop-checkout-options small {font-size:11px;font-weight:400}
.shop-checkout-options button:disabled {background:#efeee9;color:#63615a;border-color:#e0ded5}
.shop-checkout-options button[aria-pressed=true] {background:#20211f;color:white;border-color:#20211f}
.shop-checkout-options button:focus-visible,.shop-fit summary:focus-visible {outline:2px solid #20211f;outline-offset:3px}
.shop-purchase .bag-pay {min-height:48px;letter-spacing:.04em}
.shop-dots {display:flex;justify-content:center;align-items:center;gap:0;margin:4px 0}
.shop-dots button {display:grid;place-items:center;flex:0 1 30px;min-width:24px;height:44px;padding:0}
.shop-dots button::after {content:"";width:6px;height:6px;border-radius:8px;background:#aaa;transition:transform 220ms ease-out,background-color 180ms}
.shop-dots button[aria-pressed=true]::after {transform:scaleX(2.8);background:#21221e}
.shop-dots button:focus-visible {outline:1px solid currentColor;outline-offset:-3px}
.shop-fit {margin:0 0 16px;border-block:1px solid #d9d6cd;color:#222}
.shop-fit>summary {display:flex;justify-content:space-between;align-items:center;cursor:pointer;padding:16px 0;font-size:15px;font-weight:600;list-style:none}
.shop-fit>summary::-webkit-details-marker {display:none}
.shop-fit>summary span {font-size:20px;transition:transform 220ms}
.shop-fit[open]>summary span {transform:rotate(45deg)}
.shop-fit-body {padding-bottom:14px}
.shop-fit table {width:100%;border-collapse:collapse;font:14px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.shop-fit th,.shop-fit td {padding:9px 5px;border-bottom:1px solid #ddd;text-align:center}
.shop-fit th:first-child {text-align:left}
.shop-fit tbody th {font-weight:400}
.shop-fit thead {background:#f3f1eb}
.shop-diagram summary {cursor:pointer;font-size:13px;padding:14px 0 4px}
.shop-diagram img {display:block;width:100%;height:auto}
@media(prefers-reduced-motion:no-preference){.shop-fit[open]>.shop-fit-body {animation:fit-open 200ms ease-out both}@keyframes fit-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.shop-dots button::after,.shop-fit>summary span {transition:none}}
.a-header .official-bag {display:inline-flex;align-items:center;gap:6px;color:white;font:inherit;min-height:44px}
#bag-count {font-size:11px}
.bag-pay {display:block;width:100%;padding:15px 12px;text-align:center;background:#20211f;color:white;border:0}
.bag-pay:disabled {background:#eee;color:#555}
#official-cart {width:min(500px,94vw);padding:24px}
#official-cart header,.bag-quantity {display:flex;align-items:center;gap:12px}
#official-cart header {justify-content:space-between;border-bottom:1px solid #ccc;padding-bottom:12px}
#official-cart header h2 {margin:0;font-size:21px}
#official-cart button {min-height:44px;padding:0 10px}
.bag-content article {display:grid;grid-template-columns:76px 1fr;gap:14px;padding:16px 0;border-bottom:1px solid #ddd}
.bag-content article img {width:76px;height:96px;object-fit:contain}
.bag-content p {margin:14px 0}
.bag-total {text-align:right}

.shop-dots {overflow-x:auto;justify-content:safe center;scrollbar-width:thin;overscroll-behavior-x:contain;}
.shop-dots button {flex-shrink:0;touch-action:manipulation;}

.shop-fit .is-selected-size {background:#e9e5db;color:#20211f;font-weight:600}
.kept-outfits h3 {font-size:1rem;margin:16px 0 8px}
.kept-pair {display:grid;grid-template-columns:clamp(60px,20vw,94px) minmax(0,1fr);align-items:start;gap:12px;padding:14px 0;border-bottom:1px solid #ddd}
.kept-photo {width:100%;aspect-ratio:2/3;object-fit:contain;background:#bcbab8}
.kept-products {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.kept-products img {display:block;width:100%;aspect-ratio:3/4;object-fit:contain;background:#f4f3f0}
.kept-products img:only-child {grid-column:1 / -1}
.kept-details {display:grid;min-width:0;line-height:1.35}
.kept-details strong {font-size:.9rem;font-weight:600;overflow-wrap:anywhere}
.kept-details small {font-size:.77rem;color:#575850}
.kept-details small + strong {margin-top:8px}
.kept-details .kept-total {margin-top:8px;color:inherit;font-variant-numeric:tabular-nums}
.kept-actions {display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin-top:3px}
.kept-actions a,.kept-continue {display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:.84rem;text-decoration:underline;text-underline-offset:3px}
#official-cart .kept-actions button,#official-cart .kept-continue {background:transparent;border:0;padding:0;color:inherit;font-size:.83rem}
#official-cart .kept-actions button {margin-left:auto}
#official-cart .kept-continue {width:100%;justify-content:center;margin-top:10px;border:1px solid #aaa99f;text-decoration:none}
