:root {
  --ivory: #f5f1e8;
  --paper: #faf8f2;
  --sand: #ded4c5;
  --taupe: #aa8977;
  --taupe-dark: #967565;
  --terracotta: #a98573;
  --olive: #8d907b;
  --ink: #403b35;
  --charcoal: #33342e;
  --line: rgba(64, 59, 53, .22);
  --white: #fffdfa;
  --shell: min(100% - 64px, 1380px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 15px/1.55 "Mulish", "Avenir Next", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
.shell { width: var(--shell); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 500; top: 14px; left: 14px; padding: 10px 14px; background: var(--white); transform: translateY(-150%); transition: transform .2s ease; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 100; top: 0; color: var(--ink); background: rgba(250,248,242,.95); border-bottom: 1px solid rgba(64,59,53,.08); backdrop-filter: blur(14px); transition: box-shadow .5s var(--ease), background-color .5s var(--ease); }
.site-header.is-scrolled { background: rgba(250,248,242,.985); box-shadow: 0 9px 28px rgba(50,44,38,.045); }
.header-inner { min-height: 60px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-logo { width: 190px; justify-self: start; }
.brand-logo img { width: 100%; }
.desktop-nav { display: flex; gap: clamp(24px,3vw,52px); }
.desktop-nav a { position: relative; padding: 9px 0; font-size: 15px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 3px; }
.icon-button, .arrow-button { display: inline-grid; place-items: center; border: 0; background: transparent; }
.icon-button { width: 42px; height: 42px; }
.icon-button svg { width: 19px; height: 19px; stroke-width: 1.35; }
.bag-button { width: auto; grid-auto-flow: column; gap: 7px; padding-inline: 10px 0; }
.bag-count { font-size: 12px; }
.mobile-menu-button { display: none; justify-self: start; }

.mobile-menu { position: fixed; z-index: 130; inset: 0; padding: 26px 24px 40px; visibility: hidden; opacity: 0; transform: translateY(-16px); background: var(--ivory); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-head img { width: 168px; }
.mobile-menu nav { display: grid; margin-top: 78px; border-top: 1px solid var(--line); }
.mobile-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 25px; }
.mobile-menu nav svg { width: 19px; }
.mobile-menu > p { position: absolute; bottom: 30px; color: rgba(64,59,53,.58); }

.product-hero { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(410px,1fr); gap: clamp(38px,4.25vw,66px); align-items: start; padding-top: 28px; }
.product-gallery { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 14px; min-width: 0; }
.thumbnail-list { display: grid; gap: 12px; align-content: start; }
.thumbnail { height: 96px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #eee9e1; transition: border-color .2s ease, opacity .2s ease; }
.thumbnail:hover { opacity: .84; }
.thumbnail.is-active { border-color: var(--taupe-dark); }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail:nth-child(2) img { object-position: 40% 38%; transform: scale(1.18); }
.thumbnail--detail img { object-position: 50% 25%; transform: scale(2.5); }
.thumbnail:nth-child(4) img { object-position: 70% 42%; transform: scale(1.35); }
.thumbnail:nth-child(5) img { object-position: 25% 35%; transform: scale(1.38); }
.main-photo { position: relative; height: min(63vw,740px); min-height: 590px; overflow: hidden; background: #e8e3dc; }
.main-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(var(--gallery-scale,1)); transition: transform .65s var(--ease), object-position .65s var(--ease), opacity .22s ease; }
.main-photo.is-changing > img { opacity: .72; }
.gallery-navigation { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 3px; padding: 4px; background: rgba(255,253,250,.9); backdrop-filter: blur(8px); }
.gallery-navigation button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; }
.gallery-navigation button:hover { background: rgba(64,59,53,.06); }
.gallery-navigation svg { width: 17px; stroke-width: 1.3; }
.gallery-navigation span { min-width: 45px; color: rgba(64,59,53,.65); font-size: 10px; text-align: center; }
.zoom-button { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,253,250,.92); }
.zoom-button svg { width: 19px; stroke-width: 1.3; }

.purchase-panel { position: sticky; top: 106px; padding-bottom: 18px; }
.purchase-panel h1 { margin-bottom: 4px; font-size: clamp(34px,3.05vw,48px); line-height: 1.08; letter-spacing: -.04em; }
.product-heading { margin-bottom: 24px; }
.product-title > .product-labels { margin-bottom: 14px; }
.product-title h1 { margin: 0; }
.product-price { margin-bottom: 10px; font-size: 22px; }
.rating-link { display: inline-flex; align-items: center; gap: 12px; color: rgba(64,59,53,.63); font-size: 12px; }
.product-rating.rating-link { display: flex; justify-content: flex-start; margin: 17px 0 0; }
.product-rating .product-rating-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 13px; font-size: 15px; }
.product-rating .product-rating-link:not(.empty) .rating-value { font-size: 21px; font-weight: 500; }
.product-rating .product-rating-link:not(.empty) .rating-stars { gap: 4px; font-size: 19px; letter-spacing: .03em; }
.product-rating .product-rating-link:not(.empty) .rating-count { color: rgba(64,59,53,.58); font-size: 13px; }
.product-rating .product-rating-link.empty { font-size: 13px; }
.rating-stars { display: inline-flex; gap: 2px; color: #b7774d; }
.rating-stars svg { width: 15px; height: 15px; fill: currentColor; stroke-width: 1.2; }
.collection-link { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 15px; padding-bottom: 3px; color: var(--taupe-dark); border-bottom: 1px solid currentColor; font-size: 12px; }
.collection-link svg { width: 15px; }
.product-lead { max-width: 510px; margin-bottom: 20px; color: rgba(64,59,53,.68); line-height: 1.7; }
.option-group { min-width: 0; margin: 0 0 18px; padding: 0; border: 0; }
.option-group legend { margin-bottom: 10px; font-size: 13px; }
.swatch-list { display: flex; gap: 12px; }
.color-swatch { position: relative; width: 42px; height: 42px; padding: 0; border: 6px solid var(--paper); border-radius: 50%; outline: 1px solid transparent; }
.color-swatch.is-selected { outline-color: var(--taupe-dark); }
.color-swatch--coffee { background: var(--sand); }
.color-swatch--olive { background: var(--olive); }
.color-swatch--graphite { background: #2f302c; }
.size-list { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.size-list button { height: 48px; border: 1px solid rgba(64,59,53,.17); background: transparent; transition: color .2s ease, border-color .2s ease, background-color .2s ease; }
.size-list button:hover { border-color: var(--ink); }
.size-list button.is-selected { color: var(--white); border-color: var(--taupe); background: var(--taupe); }
.size-options.has-error .size-list { outline: 1px solid #9b5249; outline-offset: 4px; }
.size-error { min-height: 0; margin: 6px 0 0; color: #924b43; font-size: 11px; }
.variant-group--bundle { display: block; }
.variant-group--bundle .variant-card-links { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.variant-card-link { display: inline-flex; min-height: 42px; align-items: center; padding: 0 14px; border: 1px solid rgba(64,59,53,.17); background: transparent; font-size: 12px; transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.variant-card-link:hover { border-color: var(--taupe); background: rgba(222,212,197,.28); }
.variant-card-link.is-current { color: var(--white); border-color: var(--taupe); background: var(--taupe); }
.size-guide-link { display: inline-flex; align-items: center; gap: 10px; margin: -5px 0 18px; padding: 0 0 5px; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: 12px; }
.size-guide-link svg { width: 16px; }
.purchase-actions { display: grid; grid-template-columns: 1fr 54px; gap: 10px; }
.add-to-cart { height: 54px; color: var(--white); border: 1px solid var(--taupe); background: var(--taupe); transition: background-color .25s ease, transform .25s ease; }
.add-to-cart:hover { background: var(--taupe-dark); transform: translateY(-1px); }
.add-to-cart.is-added { border-color: var(--olive); background: var(--olive); }
.add-to-cart:disabled { cursor: wait; opacity: .9; }
.favorite-action { display: grid; place-items: center; border: 1px solid var(--line); background: transparent; }
.favorite-action svg { width: 20px; stroke-width: 1.3; }
.favorite-action[aria-pressed="true"] svg { fill: currentColor; }
.purchase-benefits { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 20px 0 10px; }
.purchase-benefits p { display: flex; gap: 12px; margin: 0; font-size: 12px; }
.purchase-benefits svg { width: 23px; flex: 0 0 auto; stroke-width: 1.25; }
.purchase-benefits small { display: block; color: rgba(64,59,53,.55); font-size: 10px; }
.product-accordions { margin-top: 8px; border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item > button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 15px 0; border: 0; background: transparent; text-align: left; }
.accordion-item > button svg { width: 16px; transition: transform .25s ease; }
.accordion-item.is-open > button svg { transform: rotate(45deg); }
.accordion-content { display: grid; grid-template-rows: 0fr; overflow: hidden; opacity: 0; transition: grid-template-rows .35s var(--ease), opacity .25s ease; }
.accordion-content__inner { min-height: 0; }
.accordion-item.is-open .accordion-content { grid-template-rows: 1fr; opacity: 1; }
.accordion-item.is-open .accordion-content__inner { padding-bottom: 8px; }
.accordion-content p { margin-bottom: 18px; color: rgba(64,59,53,.68); line-height: 1.68; }

.outfit-section { padding: 92px 0 82px; }
.section-title-line { display: flex; align-items: center; gap: 28px; margin-bottom: 30px; }
.section-title-line h2 { margin: 0; font-size: 36px; letter-spacing: -.035em; }
.section-title-line span { flex: 1; height: 1px; background: var(--line); }
.outfit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: stretch; }
.outfit-image { display: block; overflow: hidden; background: #e9e3da; }
.outfit-card img { width: 100%; aspect-ratio: 1.34; object-fit: cover; transition: transform .65s var(--ease); }
.outfit-card:hover .outfit-image img { transform: scale(1.025); }
.outfit-card:nth-child(2) img { object-position: center 62%; }
.outfit-card h3 { margin: 13px 0 2px; font-size: 13px; }
.outfit-card p { margin-bottom: 8px; font-size: 13px; }
.outfit-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 3px; border-bottom: 1px solid currentColor; color: var(--taupe-dark); font-size: 11px; }
.outfit-link svg { width: 14px; }

.reviews-section { padding: 80px 0 94px; border-top: 1px solid var(--line); }
.reviews-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.reviews-heading h2 { margin: 0; font-size: 40px; letter-spacing: -.04em; }
.review-form-toggle { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 22px; padding: 0 19px; color: var(--white); border: 1px solid var(--taupe); background: var(--taupe); font-size: 13px; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.review-form-toggle:hover { background: var(--taupe-dark); transform: translateY(-1px); }
.review-form-toggle svg { width: 17px; }
.review-summary { display: grid; grid-template-columns: minmax(190px,.42fr) minmax(220px,.72fr) minmax(260px,1.55fr); gap: clamp(28px,4vw,68px); align-items: center; margin-bottom: 30px; }
.rating-summary { display: flex; flex-direction: column; align-items: flex-start; }
.rating-summary strong { display: block; font-size: 52px; font-weight: 400; line-height: 1; }
.rating-summary strong small { font-size: 20px; }
.rating-summary .rating-stars { margin: 13px 0 6px; }
.rating-summary p { margin: 0; color: rgba(64,59,53,.56); font-size: 12px; }
.rating-bars { display: grid; gap: 4px; }
.rating-bars label { display: grid; grid-template-columns: 14px 13px 1fr 20px; gap: 6px; align-items: center; font-size: 11px; }
.rating-bars svg { width: 11px; fill: currentColor; }
.rating-bars progress { width: 100%; height: 7px; border: 0; appearance: none; }
.rating-bars progress::-webkit-progress-bar { background: #ebe5dc; }
.rating-bars progress::-webkit-progress-value { background: var(--taupe); }
.rating-bars progress::-moz-progress-bar { background: var(--taupe); }
.customer-photos > p { margin-bottom: 10px; font-size: 12px; }
.customer-photos > div { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }
.customer-photos img, .customer-photos button { width: 100%; aspect-ratio: 1; border: 0; object-fit: cover; background: #e7dfd4; }
.customer-photos button { font-size: 18px; }
.reviews-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.reviews-content__main { min-width: 0; }
.reviews-content__aside { min-height: 1px; }
.review { display: grid; grid-template-columns: 170px 1fr 130px; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.review-author { display: grid; grid-template-columns: 1fr; align-content: start; gap: 3px; }
.review-author strong { font-size: 13px; }
.review-author time { color: rgba(64,59,53,.5); font-size: 11px; }
.review-author img { width: 84px; height: 84px; margin-top: 10px; object-fit: cover; }
.review-body .rating-stars { margin-bottom: 8px; }
.review-meta { display: flex; flex-wrap: wrap; gap: 4px 24px; color: rgba(64,59,53,.57); font-size: 11px; }
.review-body > p { margin-bottom: 12px; font-size: 15px; line-height: 1.65; }
.review-body b { font-weight: 600; }
.review-helpful { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 8px; color: rgba(64,59,53,.55); font-size: 11px; }
.review-helpful > span { flex-basis: 100%; text-align: right; }
.review-helpful button { display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; }
.review-helpful svg { width: 16px; stroke-width: 1.3; }
.brand-response { margin-top: 18px; padding: 15px 18px; background: #f1ece4; font-size: 11px; }
.brand-response time { margin-left: 18px; color: rgba(64,59,53,.5); }
.brand-response p { margin: 5px 0 0; }

.recommendations { padding-bottom: 104px; }
.recommendations-heading { display: flex; align-items: center; gap: 22px; margin-bottom: 30px; }
.recommendations-heading h2 { margin: 0; font-size: 38px; letter-spacing: -.04em; }
.recommendations-heading > span { flex: 1; height: 1px; background: var(--line); }
.recommendations-heading > div { display: flex; }
.recommendations-heading > a { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-size: 12px; }
.recommendations-heading a svg { width: 16px; }
.arrow-button { width: 40px; height: 40px; }
.arrow-button svg { width: 18px; stroke-width: 1.25; }
.recommendation-track { display: flex; gap: 20px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.recommendation-track::-webkit-scrollbar { display: none; }
.recommendation-card { position: relative; flex: 0 0 calc((100% - 60px)/4); scroll-snap-align: start; }
.recommendation-card > a { display: block; aspect-ratio: .76; overflow: hidden; background: #e9e3da; }
.recommendation-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.recommendation-card:hover img { transform: scale(1.025); }
.recommendation-card > button { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 38px; height: 38px; border: 0; background: rgba(250,248,242,.78); }
.recommendation-card button svg { width: 18px; }
.recommendation-card h3 { margin: 13px 0 2px; font-size: 13px; }
.recommendation-card p { margin: 0; font-size: 13px; }

.site-footer { color: rgba(255,253,250,.82); background: var(--charcoal); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr 1.2fr; gap: 58px; padding: 64px 0 50px; }
.footer-brand img { width: 188px; filter: invert(1) brightness(2); }
.footer-brand p { margin: 20px 0; font-size: 12px; }
.social-links { display: flex; gap: 14px; }
.social-links a { display: grid; place-items: center; width: 28px; height: 28px; font-size: 12px; }
.social-links svg { width: 18px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; align-content: start; font-size: 12px; }
.footer-contact { display: grid; gap: 5px; align-content: start; font-size: 12px; font-style: normal; }
.footer-contact span { color: rgba(255,253,250,.48); }
.footer-contact a:nth-of-type(2) { margin-top: 12px; }
.footer-subscribe > p { margin-bottom: 14px; font-size: 12px; }
.footer-subscribe form { display: grid; grid-template-columns: 1fr 44px; border: 1px solid rgba(255,253,250,.4); }
.footer-subscribe input { min-width: 0; height: 44px; padding: 0 14px; color: var(--white); border: 0; outline: 0; background: transparent; }
.footer-subscribe input::placeholder { color: rgba(255,253,250,.55); }
.footer-subscribe button { border: 0; color: var(--white); background: transparent; }
.footer-subscribe button svg { width: 17px; }
.footer-subscribe small { display: block; margin-top: 10px; color: rgba(255,253,250,.42); font-size: 10px; }
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; min-height: 72px; border-top: 1px solid rgba(255,253,250,.18); color: rgba(255,253,250,.45); font-size: 10px; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom > span:last-child { justify-self: end; }

.drawer-overlay { position: fixed; z-index: 190; inset: 0; visibility: hidden; pointer-events: none; background: rgba(35,31,28,.35); backdrop-filter: blur(3px); opacity: 0; transition: opacity .35s ease, visibility .35s ease; }
.drawer-overlay.is-open { visibility: visible; pointer-events: auto; opacity: 1; }
.size-drawer { position: fixed; z-index: 200; top: 0; right: 0; width: min(520px,100%); height: 100%; padding: 36px 38px; overflow-y: auto; background: var(--paper); box-shadow: -20px 0 55px rgba(43,36,31,.12); transform: translateX(102%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.size-drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head h2 { margin: 0; font-size: 36px; }
.size-drawer > p { color: rgba(64,59,53,.63); }
.table-wrap { overflow-x: auto; margin: 28px 0 34px; }
.size-drawer table { width: 100%; border-collapse: collapse; text-align: center; font-size: 12px; }
.size-drawer th, .size-drawer td { padding: 11px 8px; border: 1px solid rgba(64,59,53,.13); }
.size-drawer th { font-weight: 500; }
.model-parameters { display: grid; grid-template-columns: 145px 1fr; gap: 24px; align-items: start; margin-bottom: 26px; }
.model-parameters img { width: 145px; height: 190px; object-fit: cover; }
.model-parameters h3 { margin-bottom: 10px; font-size: 18px; }
.model-parameters p { margin-bottom: 3px; font-size: 12px; }
.model-parameters b { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; }
.size-drawer > a { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid currentColor; font-size: 12px; }
.size-drawer > a svg { width: 15px; }

.photo-modal { position: fixed; z-index: 220; inset: 0; display: grid; place-items: center; padding: 76px 96px; overscroll-behavior: contain; visibility: hidden; opacity: 0; background: rgba(30,27,24,.94); transition: opacity .3s ease, visibility .3s; }
.photo-modal.is-open { visibility: visible; opacity: 1; }
.photo-modal__figure { display: grid; width: 100%; justify-items: center; gap: 14px; max-width: min(1100px, 100%); max-height: 100%; margin: 0; }
.photo-modal__figure img { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); object-fit: contain; }
.photo-modal__figure figcaption { color: rgba(255,253,250,.68); font-size: 11px; letter-spacing: .08em; }
.photo-modal__close, .photo-modal__nav { position: absolute; z-index: 1; display: grid; place-items: center; padding: 0; color: var(--white); border: 1px solid rgba(255,253,250,.4); background: rgba(30,27,24,.62); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.photo-modal__close:hover, .photo-modal__nav:hover:not(:disabled) { border-color: var(--white); background: rgba(30,27,24,.9); }
.photo-modal__close { top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; }
.photo-modal__close svg { width: 21px; }
.photo-modal__nav { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); }
.photo-modal__nav--prev { left: 24px; }
.photo-modal__nav--next { right: 24px; }
.photo-modal__nav svg { width: 20px; }
.photo-modal__nav:disabled { cursor: default; opacity: .25; }
.toast { position: fixed; z-index: 250; right: 24px; bottom: 24px; max-width: 340px; padding: 14px 18px; color: var(--white); background: var(--charcoal); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 48px,1000px); }
  .desktop-nav { gap: 24px; }
  .brand-logo { width: 170px; }
  .product-hero { grid-template-columns: minmax(0,1.16fr) minmax(360px,1fr); gap: 34px; }
  .product-gallery { grid-template-columns: 70px minmax(0,1fr); gap: 12px; }
  .thumbnail { height: 88px; }
  .main-photo { min-height: 560px; }
  .review { grid-template-columns: 140px 1fr; }
  .review-helpful { grid-column: 2; justify-content: start; }
  .review-helpful > span { flex-basis: auto; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 40px,720px); }
  .header-inner { grid-template-columns: 44px 1fr auto; min-height: 60px; }
  .mobile-menu-button { display: inline-grid; }
  .brand-logo { justify-self: center; width: 165px; }
  .desktop-nav { display: none; }
  .account-button { display: none; }
  .breadcrumbs { overflow: hidden; white-space: nowrap; }
  .product-hero { grid-template-columns: 1fr; }
  .purchase-panel { position: static; }
  .main-photo { height: min(115vw,820px); }
  .purchase-panel h1 { font-size: 44px; }
  .outfit-section { padding-top: 74px; }
  .outfit-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .outfit-card { flex: 0 0 58%; scroll-snap-align: start; }
  .review-summary { grid-template-columns: .55fr 1fr; }
  .customer-photos { grid-column: 1/-1; }
  .reviews-content { grid-template-columns: 1fr; }
  .reviews-content__aside { display: none; }
  .review { grid-template-columns: 120px 1fr; }
  .recommendation-card { flex-basis: calc((100% - 20px)/2.1); }
  .footer-bottom { grid-template-columns: 1fr; padding: 24px 0; }
  .footer-bottom > span:last-child { justify-self: start; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 14px; }
  .site-header .shell { width: calc(100% - 24px); }
  .header-actions .icon-button { width: 36px; }
  .bag-count { display: none; }
  .brand-logo { width: 143px; }
  .breadcrumbs { margin-bottom: 16px; }
  .product-gallery { grid-template-columns: 1fr; }
  .thumbnail-list { grid-row: 2; display: flex; overflow-x: auto; scrollbar-width: none; }
  .thumbnail-list::-webkit-scrollbar { display: none; }
  .thumbnail { flex: 0 0 70px; height: 86px; }
  .main-photo { height: 500px; min-height: 0; }
  .purchase-panel h1 { font-size: 36px; }
  .product-price { font-size: 19px; }
  .section-title-line h2 { font-size: 31px; }
  .outfit-section { padding: 62px 0; }
  .outfit-card { flex-basis: 78%; }
  .reviews-section { padding: 62px 0 72px; }
  .reviews-heading h2 { font-size: 34px; }
  .review-summary { grid-template-columns: 1fr; }
  .rating-bars { max-width: 310px; }
  .review { grid-template-columns: 1fr; gap: 14px; }
  .review-author { grid-template-columns: auto 1fr; column-gap: 12px; }
  .review-author img { grid-row: 1/3; width: 60px; height: 60px; margin: 0; }
  .review-helpful { grid-column: auto; }
  .review-meta { gap: 4px 14px; }
  .brand-response { padding: 14px; }
  .recommendations { padding-bottom: 72px; }
  .recommendations-heading { flex-wrap: wrap; gap: 12px; }
  .recommendations-heading h2 { flex-basis: 100%; font-size: 32px; }
  .recommendations-heading > span { display: none; }
  .recommendations-heading > div { margin-left: auto; }
  .recommendation-card { flex-basis: 84%; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-top: 54px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom div { flex-direction: column; gap: 8px; }
  .size-drawer { padding: 28px 20px; }
  .drawer-head h2 { font-size: 31px; }
  .model-parameters { grid-template-columns: 110px 1fr; gap: 16px; }
  .model-parameters img { width: 110px; height: 155px; }
  .photo-modal { padding: 68px 54px 42px; padding: calc(env(safe-area-inset-top) + 62px) calc(env(safe-area-inset-right) + 48px) calc(env(safe-area-inset-bottom) + 30px) calc(env(safe-area-inset-left) + 48px); }
  .photo-modal__figure { gap: 10px; }
  .photo-modal__figure img { max-height: calc(100vh - 124px); max-height: calc(100dvh - 124px); }
  .photo-modal__figure figcaption { font-size: 10px; }
  .photo-modal__close { top: 14px; top: calc(env(safe-area-inset-top) + 12px); right: 14px; right: calc(env(safe-area-inset-right) + 12px); width: 42px; height: 42px; }
  .photo-modal__nav { width: 38px; height: 38px; }
  .photo-modal__nav--prev { left: 10px; left: calc(env(safe-area-inset-left) + 8px); }
  .photo-modal__nav--next { right: 10px; right: calc(env(safe-area-inset-right) + 8px); }
  .toast { right: 16px; bottom: 16px; left: 16px; max-width: none; }
}

@media (max-width: 560px) and (orientation: landscape) {
  .photo-modal { padding: 54px 58px 24px; padding: calc(env(safe-area-inset-top) + 48px) calc(env(safe-area-inset-right) + 54px) calc(env(safe-area-inset-bottom) + 18px) calc(env(safe-area-inset-left) + 54px); }
  .photo-modal__figure img { max-height: calc(100vh - 82px); max-height: calc(100dvh - 82px); }
  .photo-modal__close { width: 36px; height: 36px; }
  .photo-modal__close svg { width: 18px; }
  .photo-modal__nav { width: 34px; height: 34px; }
  .photo-modal__nav svg { width: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
