.quick-view{max-height:92dvh;scroll-behavior:smooth}.quick-view__layout{align-items:start}.quick-view__layout>.quick-view__media{padding:0;min-height:0;aspect-ratio:4/5;position:sticky;top:0;overflow:hidden}.quick-view__media img{object-fit:contain!important;transform:none!important;height:calc(100% - 58px)}.gallery-controls{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px;background:#171717;color:#fff;font-size:12px}.quick-view__media .gallery-controls button{position:static;padding:10px;min-height:42px;font-size:10px}.quick-view__layout>div:not(.quick-view__media):not(.product-sticky){padding:28px}.product-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.product-shortcuts button,.review-link{background:none;border:0;color:#ffb451;text-decoration:underline;padding:8px 0;cursor:pointer;font:inherit;font-size:13px;min-height:40px}.availability,.payment-note{font-size:13px;line-height:1.6;color:#ccc}.product-selections{margin:20px 0}.product-selections .swatch-row{flex-wrap:wrap}.product-selections .quick-view__add{width:100%}.product-info,.product-reviews,.product-discovery{border-top:1px solid #444;margin-top:24px;padding-top:20px;scroll-margin-top:20px}.product-info summary,.product-reviews summary{cursor:pointer;padding:12px 0;font-weight:bold}.product-info p,.product-reviews p{font-size:14px;line-height:1.6}.product-info a{color:#ffb451}.product-reviews form{display:grid;gap:14px}.product-reviews label,.fit-pair label{display:grid;gap:8px;font-size:14px}.product-reviews input,.product-reviews select,.product-reviews textarea,.fit-pair select{width:100%;padding:12px;background:#222;color:white;border:1px solid #777;border-radius:4px;font:inherit}.product-reviews .review-consent{display:flex;align-items:flex-start}.review-consent input{width:auto}.product-reviews button,.product-sticky button{padding:14px;background:#f28b12;border:1px solid #f28b12;color:#111;font-weight:bold;cursor:pointer;min-height:44px}.product-reviews button:disabled,.product-sticky button:disabled{opacity:.5;cursor:default}.customer-review{border-top:1px solid #444;padding:18px 0}.customer-review time{font-size:12px;color:#aaa}.review-body{white-space:pre-wrap;overflow-wrap:anywhere}.fit-pair{display:grid;gap:10px;border:1px solid #555;padding:16px;border-radius:4px}.fit-pair p{margin:0;font-size:14px;line-height:1.5}.product-discovery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-discovery button{display:grid;gap:8px;text-align:left;background:#181818;color:white;border:1px solid #444;padding:8px;cursor:pointer;font:inherit;font-size:13px}.product-discovery img{width:100%;height:150px;object-fit:contain;background:#eee}.quick-view__layout>.product-sticky{grid-column:1/-1;position:sticky;bottom:0;z-index:3;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #555;background:#111;box-shadow:0 -8px 20px #0003}.product-sticky span{font-weight:bold}.product-sticky small{display:block;font-size:12px;font-weight:normal;margin-top:4px}.quick-view button:focus-visible,.quick-view select:focus-visible,.quick-view input:focus-visible,.quick-view textarea:focus-visible{outline:3px solid #ffb451;outline-offset:3px}[data-selection-status],[data-pair-status]{color:#ffb451;font-size:14px}
@media(max-width:700px){.quick-view{width:calc(100% - 12px);max-height:96dvh}.quick-view__layout{grid-template-columns:1fr}.quick-view__layout>.quick-view__media{position:relative;aspect-ratio:1/1;min-height:0}.quick-view__layout>div:not(.quick-view__media):not(.product-sticky){padding:22px 18px}.quick-view h2{font-size:30px;line-height:1.05}.quick-view__layout>.product-sticky{padding-left:16px;padding-right:16px}.product-sticky button{font-size:12px}.gallery-controls{font-size:11px}}
@media(prefers-reduced-motion:reduce){.quick-view{scroll-behavior:auto}}

[data-find-size]{display:grid;gap:12px;padding:16px 0;border-top:1px solid #444;margin-top:20px}[data-find-size] label{display:grid;gap:6px;font-size:14px}[data-find-size] input,[data-find-size] select{padding:12px;background:#222;color:#fff;border:1px solid #777;width:100%;font:inherit}[data-find-size] button{padding:14px;background:#f28b12;border:0;min-height:44px;font-weight:bold;cursor:pointer}[data-size-result]{color:#ffb451;line-height:1.6}

.product-page main>.page-intro,.product-page main>#collection{display:none}.product-page .quick-view{position:relative;inset:auto;margin:24px auto 64px;width:min(1100px,calc(100% - 24px));max-height:none;overflow:visible}.product-page .quick-view__close{position:absolute;top:6px;right:6px;z-index:6}.product-page .quick-view__media{top:90px}.product-shortcuts a{color:#ffb451;padding:8px 0;font-size:13px}.product-page .product-sticky{position:sticky;bottom:0}@media(max-width:700px){.product-page .quick-view__media{top:auto}.product-page .quick-view{margin-top:12px}}

.quick-view__media img{object-fit:contain!important;object-position:center!important;transform:none!important;padding:12px;box-sizing:border-box}.quick-view__layout>.quick-view__media{aspect-ratio:3/4;background:#202020}.fit-model__crop{aspect-ratio:3/4!important}.fit-model .fit-model__crop img{object-fit:contain!important;object-position:center!important;transform:none!important}@media(max-width:700px){.quick-view__layout>.quick-view__media{aspect-ratio:3/4}}

/* Full-width photos retain their native proportions on mobile and desktop. */
.quick-view__layout>.quick-view__media{aspect-ratio:auto!important;background:#151515!important;padding:0!important}
.quick-view__media img[src*="/assets/models/"]{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;padding:0!important;object-fit:contain!important;background:#151515!important}
.quick-view__media .gallery-controls{position:relative;inset:auto;width:100%;box-sizing:border-box}
.quick-view__media img{position:relative!important;inset:auto!important;display:block;width:100%!important;height:auto!important;max-height:none!important;padding:0!important}
/* Tall full photos scroll naturally so gallery controls remain reachable. */
.quick-view__layout>.quick-view__media{position:relative!important;top:auto!important}

/* Consistent inventory cards and descriptive garment color options. */
.shop-grid{align-items:stretch;grid-auto-rows:auto}
.shop-card{display:flex;flex-direction:column;height:100%;min-width:0}
.shop-card .shop-card__image{aspect-ratio:3/4!important;height:auto!important;flex:none;position:relative}
.shop-card .shop-card__image img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;position:absolute!important;inset:0;transform:none!important;padding:0!important}
.shop-card__body{display:flex;flex-direction:column;flex:1;min-width:0}
.shop-card h4{min-height:3.2em;line-height:1.6}
.shop-card__description{min-height:4.8em;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.shop-card .model-caption,.shop-card__fit{min-height:3em;line-height:1.5}
.shop-card__color{min-height:3.5em}
.swatch-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important;align-content:start}
.shop-card .swatch-row{height:160px;overflow-y:auto;overscroll-behavior:contain;margin-bottom:16px;padding:4px}
.color-swatch.colorway-option{width:100%;height:auto;min-height:64px;border-radius:4px;background:#191919;color:#eee;border:1px solid #666;padding:6px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer;font:inherit;font-size:14px;line-height:1.3}
.colorway-option img{width:42px!important;height:50px!important;object-fit:contain!important;background:#fff;flex:none;border-radius:2px}
.colorway-option span{overflow-wrap:anywhere}
.color-swatch.colorway-option::after{display:none}
.color-swatch.colorway-option.is-active{border:2px solid #f28b12;background:#352612;color:#fff}
.colorway-option:focus-visible{outline:3px solid #ffb451;outline-offset:2px}
.shop-card__actions{margin-top:0}
@media(max-width:480px){.shop-card .swatch-row{grid-template-columns:1fr}.product-selections .swatch-row{grid-template-columns:1fr}}

/* Compact catalog: retain every control and full product information. */
.shop-card .shop-card__image{aspect-ratio:1/1!important}
.shop-card>.product-views{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:6px}
.shop-card>.product-views button{font-size:14px;min-height:44px;padding:6px 3px;line-height:1.2}
.shop-card>.model-build-controls{padding:4px 10px;gap:6px;margin:0;font-size:14px}
.shop-card__body{padding:12px;gap:6px}
.shop-card__body>p,.shop-card__body>h4{margin:0}
.shop-card h4{font-size:18px;min-height:0;line-height:1.25}
.shop-card .product-price{font-size:18px;line-height:1.3}
.shop-card .shop-card__fit,.shop-card .model-caption{min-height:0;font-size:14px;line-height:1.35}
.shop-card .shop-card__description{min-height:0;font-size:14px;line-height:1.45;display:block;overflow:visible;-webkit-line-clamp:unset}
.shop-card .shop-card__color{min-height:0;display:flex;align-items:baseline;gap:8px;margin:2px 0;font-size:14px}
.shop-card .shop-card__color strong{font-size:14px}
.shop-card .swatch-row{display:flex!important;flex-wrap:nowrap!important;height:72px;min-height:72px;overflow-x:auto;overflow-y:hidden;gap:6px!important;margin:0 0 4px;padding:3px;scroll-snap-type:x proximity}
.shop-card .colorway-option{flex:0 0 152px;width:152px;min-height:60px;height:60px;scroll-snap-align:start;padding:5px;font-size:14px}
.shop-card .colorway-option img{width:34px!important;height:42px!important}
.shop-card .size-guide-link{align-self:flex-start;margin:0;padding:4px 0;font-size:14px;min-height:32px}
.shop-card .shop-card__actions{gap:8px;padding-top:4px;grid-template-columns:70px minmax(0,1fr)}
.shop-card .shop-card__actions label{gap:3px;font-size:14px}
.shop-card .shop-card__actions select,.shop-card .shop-card__actions>button{min-height:44px;padding:8px;font-size:14px;line-height:1.25}

/* Keep the added garment view compact alongside existing model views. */
.shop-card .product-views--3d{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
.shop-card .product-views--3d button{padding:6px 3px!important;min-width:0;font-size:14px!important;line-height:1.2}

.three-d-name{position:absolute;left:0;right:0;bottom:0;padding:20px 14px;background:linear-gradient(transparent,#151515 45%);color:#fff;text-align:center;font-size:16px;font-weight:700;line-height:1.35;pointer-events:none;z-index:2}.three-d-name[hidden]{display:none}.is-three-d{position:relative;background:#151515}.is-three-d img{object-fit:contain!important}.quick-three-d{margin:8px 12px;min-height:44px;padding:8px 16px}.quick-three-d[aria-pressed="true"]{background:#ef6b23;color:#111}

.quick-view__media .three-d-name{position:static;background:#151515;padding:14px;}.quick-view__media.is-three-d{background:#151515;}

.is-three-d [data-quick-open],.is-three-d [data-card-view]{z-index:3}.is-three-d .three-d-name{padding-bottom:48px}.quick-view__media.is-three-d .three-d-name{padding-bottom:14px}

.outfit-three-d{display:grid!important;grid-template-columns:1fr 1fr;align-items:center;gap:0;background:#151515!important;aspect-ratio:1/1!important;overflow:hidden}.outfit-three-d figure{margin:0;min-width:0;display:flex;flex-direction:column;align-items:center}.outfit-three-d img{position:static!important;width:100%!important;height:auto!important;aspect-ratio:3/4!important;object-fit:contain!important;transform:none!important}.outfit-three-d figcaption{color:#fff;font-size:14px;font-weight:700;line-height:1.4;padding:6px 10px 14px;text-align:center}.outfit-view-controls{display:flex;gap:8px;padding:12px}.outfit-view-controls button{flex:1;min-height:44px;font-size:14px;background:#222;color:white;border:1px solid #666;padding:8px}.outfit-view-controls button[aria-pressed="true"]{border-color:#ef6b23;background:#ef6b23;color:#111}

/* Keep view choices visible above the photo, outside image overlays. */
.quick-view__media .gallery-view-tabs{display:flex;gap:8px;padding:12px;background:#151515;position:relative;z-index:4;flex:none}
.quick-view__media .gallery-view-tabs button{position:static!important;inset:auto!important;margin:0;flex:1;min-height:44px;padding:10px 16px;border:1px solid #777;border-radius:4px;color:#fff;background:#222;font-size:14px;letter-spacing:0;text-transform:none}
.quick-view__media .gallery-view-tabs button[aria-pressed="true"]{background:#ef6b23;border-color:#ef6b23;color:#111}
.quick-view__media .gallery-view-tabs button[hidden]{display:none}

.shop-card .product-views--3d:has([data-show-view="3d-back"]){grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:700px){.gallery-view-tabs:has([data-quick-three-d-back]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
