:root { color-scheme: light; --ink: #242424; --muted: #666; --line: #d7d7d7; --surface: #f5f5f5; --paper: #fff; --danger: #a02020; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.9 Tahoma, Arial, sans-serif; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: 5px; }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: white; min-height: 44px; padding: 9px 18px; line-height: 1.7; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
button:disabled { opacity: .55; cursor: not-allowed; }
button.secondary, .button.secondary { color: var(--ink); background: var(--paper); border-color: var(--line); }
button.text-button { background: transparent; border-color: transparent; color: var(--danger); padding-inline: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #555; outline-offset: 5px; }
input, select, textarea { width: 100%; max-width: 100%; min-height: 46px; border: 1px solid #aaa; border-radius: 4px; padding: 8px 12px; background: white; color: var(--ink); }
textarea { resize: vertical; min-height: 110px; }
input[type="number"] { direction: ltr; text-align: center; }
label { display: grid; gap: 6px; font-weight: 600; }
label .hint { font-weight: 400; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
h1 { font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.6; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1rem; }
.skip-link { position: absolute; top: -90px; right: 20px; z-index: 100; padding: 8px 16px; background: white; border: 2px solid black; }
.skip-link:focus { top: 10px; }
.site-header { max-width: 1440px; min-height: 96px; margin: auto; padding: 20px clamp(16px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; display: flex; align-items: center; max-width: 100%; }
.brand-name { font: 600 clamp(15px, 2.2vw, 21px)/1.6 Arial, sans-serif; letter-spacing: .12em; }
.brand-logo { max-width: 240px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 26px; }
nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; }
nav a[aria-current="page"] { text-decoration: underline; }
.cart-count { border: 1px solid var(--line); padding: 0 7px; border-radius: 3px; font-size: .8rem; }
main { min-height: 65vh; }
.container { width: min(1280px, 100%); margin-inline: auto; padding: 36px clamp(16px, 4vw, 48px); }
.loading { margin: 56px 24px; text-align: center; color: var(--muted); }
.hero { width: min(1440px, 100%); margin: 0 auto; }
.hero img { width: auto; height: auto; max-width: 100%; margin-inline: auto; }
.asset-placeholder { min-height: 190px; padding: 40px 20px; display: grid; place-content: center; gap: 10px; text-align: center; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--line); }
.asset-placeholder p { max-width: 650px; margin: auto; }
.asset-placeholder .hint { font-size: .85rem; }
.page-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; }
.eyebrow { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.hint, .muted { color: var(--muted); font-size: .86rem; }
.empty-state { padding: 40px 24px; border: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 12px; }
.error-box { border: 1px solid var(--danger); padding: 18px; color: var(--danger); display: grid; gap: 14px; margin-block: 16px; }
.error-box .button, .error-box button { justify-self: start; }
.racks { display: grid; gap: 42px; }
.rack { min-width: 0; }
.rack-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.rack-heading span { color: var(--muted); font-size: .8rem; }
.rack-track { display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; padding: 30px 12px 20px; scroll-snap-type: x proximity; isolation: isolate; }
.rack-track:empty { padding: 0; }
.rack-empty { padding: 22px 0; color: var(--muted); }
/* The card frame never moves. Only the selected original image plane is raised. */
.product-card { flex: 0 0 210px; min-width: 0; position: relative; scroll-snap-align: start; }
.product-visual { position: relative; display: grid; place-items: center; width: 100%; height: 290px; border: 0; border-radius: 0; padding: 0; background: var(--surface); color: var(--ink); overflow: visible; }
.product-motion-stage { display: grid; place-items: center; width: 0; height: 0; min-width: 0; min-height: 0; pointer-events: none; transform-origin: top center; transition: transform .22s cubic-bezier(.2,.65,.3,1); }
.product-motion-image { grid-area: 1 / 1; min-width: 0; min-height: 0; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; visibility: hidden; }
.product-motion-image.is-current { visibility: visible; }
/* This narrow, left-leaning pose is an approximation of the front image only. */
.product-card[data-motion="front-2d"] .product-motion-stage { transform: translate(-6px, 0) rotate(2deg) skewY(-4deg) scale(.32, 1); }
.product-card.is-raised { z-index: 3; }
.product-card.is-raised[data-motion="front-2d"] .product-motion-stage { transform: translate(0, -4px) rotate(0deg) skewY(0deg) scale(1.025, 1.025); }
.product-card.motion-immediate .product-motion-stage { transition: none; }
.product-visual .missing-image { color: var(--muted); font-size: .8rem; padding: 20px; text-align: center; }
.product-card[data-motion="unavailable"] .product-motion-stage { width: 100%; height: 100%; }
.card-info { display: grid; gap: 5px; padding: 16px 2px 0; }
.card-code { color: var(--muted); font-size: .78rem; }
.card-price { font-size: .85rem; }
.product-link { min-height: 44px; display: inline-flex; align-items: center; width: fit-content; font-size: .85rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 36px; align-items: start; }
.product-gallery { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-panel { min-width: 0; border: 1px solid var(--line); }
.gallery-panel img { width: auto; height: auto; max-width: 100%; margin-inline: auto; }
.gallery-panel figcaption { padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }
.product-info { display: grid; gap: 20px; }
.product-description { white-space: pre-line; }
.attributes { display: grid; gap: 10px; margin: 0; }
.attributes div { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.attributes dt { color: var(--muted); }
.attributes dd { margin: 0; text-align: left; }
.price { font-size: 1.15rem; font-weight: 700; }
.order-form { display: grid; gap: 16px; border-top: 1px solid var(--line); padding-top: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-message { min-height: 26px; font-size: .86rem; }
.form-message.error { color: var(--danger); }
.related { margin-top: 56px; }
.related > h2 { margin-bottom: 24px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.cart-items { display: grid; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: start; gap: 16px; border: 1px solid var(--line); padding: 16px; }
.cart-thumb { width: auto; height: auto; max-width: 90px; max-height: 120px; justify-self: center; object-fit: contain; background: var(--surface); }
.cart-thumb-empty { width: 90px; min-height: 120px; display: grid; place-content: center; font-size: .7rem; text-align: center; background: var(--surface); color: var(--muted); padding: 8px; }
.cart-item-info { display: grid; gap: 8px; min-width: 0; }
.cart-item-actions { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; }
.cart-item-actions label { font-size: .8rem; max-width: 110px; }
.cart-line-error { color: var(--danger); font-size: .8rem; }
.checkout-panel { padding: 24px; border: 1px solid var(--line); display: grid; gap: 22px; }
.summary { display: grid; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.checkout-form { display: grid; gap: 16px; }
.checkout-form label { font-size: .9rem; }
.checkout-form .payment-note { font-size: .83rem; padding: 12px; background: var(--surface); }
.success-state { padding: 36px 24px; border: 1px solid var(--line); display: grid; gap: 16px; justify-items: start; }
.reference { display: block; font-size: 1.4rem; font-weight: bold; direction: ltr; overflow-wrap: anywhere; }
.site-footer { max-width: 1440px; margin: 40px auto 0; padding: 26px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: .8rem; }
.footer-brand { letter-spacing: .08em; }
.notification { position: fixed; z-index: 50; bottom: 22px; left: 22px; right: 22px; margin-inline: auto; width: fit-content; max-width: calc(100% - 44px); background: var(--ink); color: white; padding: 14px 22px; border-radius: 4px; box-shadow: 0 4px 18px #0002; }
@media (max-width: 850px) {
  .product-layout, .cart-layout { grid-template-columns: 1fr; }
  .product-info { max-width: none; }
  .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-panel { padding: 20px; }
}
@media (max-width: 520px) {
  .site-header { padding-block: 16px; gap: 10px; }
  .brand { width: 100%; }
  nav { width: 100%; justify-content: space-between; gap: 6px; }
  nav a { font-size: .78rem; }
  .container { padding-top: 24px; }
  .asset-placeholder { min-height: 160px; padding-inline: 20px; font-size: .9rem; }
  .product-card { flex-basis: 160px; }
  .product-visual { height: 235px; }
  .rack-track { gap: 14px; padding-inline: 10px; }
  .product-gallery { gap: 10px; }
  .gallery-panel figcaption { font-size: .72rem; padding: 6px; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .cart-thumb { max-width: 64px; max-height: 96px; }
  .cart-thumb-empty { width: 64px; height: 96px; min-height: 96px; }
  .field-row { grid-template-columns: 1fr; }
  .success-state { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-motion-stage { transition: none; }
}

/* The approved source is preserved intact. These viewports reveal only its original pixels. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.has-reference { background: #07373d; color: #e8e4d7; }
body.has-reference > .site-header, body.has-reference > .site-footer { display: none; }
body.has-reference.reference-custom-hero > .site-header { display: flex; background: #08363c; color: #e8e4d7; border-color: #34545a; }
.reference-uploaded-hero { width: auto; height: auto; max-width: 100%; margin-inline: auto; }
body.has-reference main { min-height: 100vh; }
body.has-reference #page-content { width: 100%; }
.reference-stage { width: min(100%, 853px); margin-inline: auto; }
.reference-hero { position: relative; z-index: 10; width: 100%; aspect-ratio: 853 / 414; isolation: isolate; }
.reference-hero-artwork { position: absolute; inset: 0; overflow: hidden; }
.reference-hero-image { width: 100%; max-width: none; height: auto; }
.reference-overlay-nav { position: absolute; inset: 0; display: block; pointer-events: none; }
.reference-overlay-nav .reference-nav-hit { position: absolute; top: 0; min-height: 44px; height: 6.45%; min-width: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; color: #e8e4d7; pointer-events: auto; text-decoration: none; }
.reference-nav-men { left: 37.4%; width: 6.2%; }
.reference-nav-fit { left: 44.4%; width: 8.9%; }
.reference-nav-about { left: 54%; width: 8%; }
.reference-nav-search { right: 13.25%; width: 5.16%; }
.reference-nav-cart { right: 8.09%; width: 5.16%; }
.reference-nav-menu { right: 2.93%; width: 5.16%; }
.reference-nav-hit:focus-visible, .reference-explore:focus-visible { outline: 2px solid #e8e4d7; outline-offset: -3px; }
.reference-cart-count { position: absolute; top: 29px; left: 0; background: #07373d; border-color: #e8e4d7; border-radius: 50%; font-size: 10px; min-width: 18px; line-height: 18px; text-align: center; padding: 0 3px; }
.reference-explore { position: absolute; left: 63.7%; top: 82.6%; width: 31%; height: 10.7%; min-height: 44px; }
.reference-nav-panel { position: absolute; z-index: 20; top: max(46px, 5.5vw); right: 4%; width: min(360px, 92%); max-height: min(75vh, 550px); overflow-y: auto; padding: 20px; background: #07373d; border: 1px solid #a6aaa0; color: #e8e4d7; box-shadow: 0 10px 30px #0005; font-size: 14px; direction: rtl; }
.reference-nav-panel h2 { font-size: 18px; margin-block: 12px; }
.reference-nav-panel nav, .reference-nav-panel form { display: grid; gap: 10px; }
.reference-nav-panel nav > a, .reference-nav-panel nav > button { justify-content: flex-start; min-height: 44px; text-align: right; }
.reference-nav-panel button { background: transparent; border-color: #a6aaa0; color: #e8e4d7; }
.reference-nav-panel input { margin-block: 8px; }
.reference-panel-close { display: flex; margin-inline-start: auto; }
.reference-search-results { display: grid; gap: 8px; margin-top: 12px; }
.reference-search-results a { padding: 8px 0; min-height: 44px; }
.reference-racks { gap: 0; }
.reference-rack { width: 100%; container-type: inline-size; background: #08363c; color: #e8e4d7; }
.reference-rack .rack-heading { position: relative; min-height: 5.04103165cqw; display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-start; gap: 0; padding: 0 16cqw 0 4.455cqw; border: 0; direction: ltr; }
.reference-rack--straight .rack-heading { min-height: 5.27549824cqw; }
.reference-rack--limited .rack-heading { min-height: 5.15826495cqw; }
.reference-rack .rack-heading h2 { font: normal 3.28cqw/1.12 Georgia, 'Times New Roman', serif; color: #e8e4d7; flex: 0 1 auto; min-width: 0; max-width: 45cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reference-rack .rack-subtitle { font: 500 .88cqw/1.5 Arial, sans-serif; letter-spacing: .115em; color: #e0e1d8; padding-left: 2.15cqw; margin-left: 2.15cqw; border-left: 1px solid #aeb4ab80; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reference-rack .rack-view-all { position: absolute; right: 5.041cqw; top: 50%; transform: translateY(-50%); padding: 0; height: 44px; min-height: 44px; min-width: 76px; border: 0; background: transparent; color: #e0e1d8; display: flex; gap: 1.25cqw; }
.reference-rack .rack-view-all > span { color: inherit; font: 500 .9cqw/1 Arial, sans-serif; letter-spacing: .13em; white-space: nowrap; }
.reference-rack .rack-view-all .view-all-line { display: block; width: 2.35cqw; height: 1px; background: #aeb4ab; }
.reference-artwork { position: relative; width: 100%; overflow: hidden; }
.reference-row-image { width: 100%; max-width: none; height: auto; position: absolute; top: 0; left: 0; pointer-events: none; user-select: none; }
.reference-artwork--regular { aspect-ratio: 853 / 161; }
.reference-artwork--straight { aspect-ratio: 853 / 164; }
.reference-artwork--baggy { aspect-ratio: 853 / 170; }
.reference-artwork--limited { aspect-ratio: 853 / 196; }
.reference-artwork--regular .reference-row-image { transform: translateY(-35.703125%); }
.reference-artwork--straight .reference-row-image { transform: translateY(-51.796875%); }
.reference-artwork--baggy .reference-row-image { transform: translateY(-67.96875%); }
.reference-artwork--limited .reference-row-image { transform: translateY(-84.6875%); }
.reference-rack .rack-track, .reference-rack .rack-empty { position: relative; background: linear-gradient(to bottom, transparent 0%, #05262c 88%, #8d8d8270 88%, #a7a69b99 94%, #747c7480 100%); }
.reference-rack .rack-track { padding: 28px 4.5% 16px; direction: ltr; gap: 18px; }
.reference-rack .rack-track::before, .reference-rack .rack-empty::before { content: ''; position: absolute; top: 5px; left: 4.5%; right: 4.5%; height: 3px; background: linear-gradient(to bottom, #d2c7ae, #4d5149 50%, #b0a28c 70%, #162d2c); box-shadow: 0 2px 1px #0005; }
.reference-rack .product-card { flex-basis: 170px; direction: rtl; }
.reference-rack .product-visual { height: 250px; background: transparent; }
.reference-rack .card-info { background: #08363c; padding: 12px 8px 8px; }
.reference-rack .card-code, .reference-rack .card-price, .reference-rack .product-link { color: #e8e4d7; }
.reference-rack .missing-image { color: #e8e4d7; }
.reference-rack .rack-empty { min-height: 20cqw; margin: 0; padding: 28px 20px; display: grid; place-content: center; text-align: center; color: #e8e4d7; font-size: 14px; }
@media (max-width: 700px) {
  .reference-nav-fit, .reference-nav-about, .reference-nav-search, .reference-nav-cart { display: none !important; }
  .reference-overlay-nav .reference-nav-men { left: 37%; width: 25%; min-height: 44px; }
  .reference-overlay-nav .reference-nav-menu { right: 2.5%; width: 16%; min-height: 44px; }
  .reference-explore { top: auto; bottom: 0; min-height: 44px; }
  .reference-rack .rack-view-all { min-height: 44px; min-width: 44px; padding: 0; gap: 1.25cqw; }
  .reference-rack .rack-heading { min-height: 5.04103165cqw; }
  .reference-rack--straight .rack-heading { min-height: 5.27549824cqw; }
  .reference-rack--limited .rack-heading { min-height: 5.15826495cqw; }
  .reference-rack .rack-track { padding-top: 24px; }
  .reference-rack .product-card { flex-basis: 150px; }
  .reference-rack .product-visual { height: 220px; }
  .reference-rack .rack-empty { min-height: 140px; }
}

/* Customer identity and address controls are scoped to checkout; approved artwork is unchanged. */
.customer-identification, .customer-otp-form, .customer-address-form { display: grid; gap: 14px; min-width: 0; }
.customer-test-note { padding: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; }
.customer-verified { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: .86rem; }
.customer-checkbox { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: .86rem; font-weight: 400; cursor: pointer; }
.customer-checkbox input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; margin: 5px 0 0; accent-color: var(--ink); padding: 0; }
.customer-address-manager { border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
.customer-address-manager summary { cursor: pointer; min-height: 44px; font-weight: 600; }
.customer-address-list { display: grid; gap: 12px; margin-block: 10px 20px; }
.customer-address-card { padding: 14px; border: 1px solid var(--line); display: grid; gap: 8px; font-size: .86rem; }
.customer-inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.customer-address-form { padding-top: 12px; border-top: 1px solid var(--line); }
.customer-address-form h3 { margin-bottom: 4px; }
.customer-otp-form input[name="otpCode"] { letter-spacing: .28em; font-size: 1.15rem; text-align: center; }
@media (max-width: 520px) {
  .customer-inline-actions > button { flex: 1 1 130px; }
  .customer-verified { align-items: flex-start; }
  .checkout-panel select { overflow: hidden; text-overflow: ellipsis; }
}

/* The customer product page reuses the approved homepage palette only. */
body[data-page="product"] {
  color-scheme: dark;
  --paper: #07373d;
  --surface: #08363c;
  --ink: #e8e4d7;
  --muted: #e0e1d8;
  --line: #a6aaa0;
}
body[data-page="product"] :is(input, select, textarea) {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
body[data-page="product"] :is(button, .button) { color: var(--paper); }
body[data-page="product"] :is(button.secondary, .button.secondary, .product-visual, .rack-view-all) { color: var(--ink); }
body[data-page="product"] .product-visual { background: var(--surface); }
body[data-page="product"] .reference-rack .product-visual { background: transparent; }
body[data-page="product"] .skip-link { color: var(--paper); }
body[data-page="product"] .notification { color: var(--paper); }
body[data-page="product"] :is(a, button, input, select, textarea, [tabindex]):focus-visible { outline-color: var(--ink); }
body[data-page="product"] button.text-button { background: var(--ink); color: var(--danger); }
body[data-page="product"] .error-box,
body[data-page="product"] .form-message.error:not(:empty) {
  background: var(--ink);
  color: var(--danger);
}
body[data-page="product"] .form-message.error:not(:empty) { padding: 8px 12px; }
body[data-page="product"] .error-box :is(button, .button) {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* Wholesale packs keep the approved rack motion and image sources unchanged. */
.product-media-column { min-width: 0; display: grid; gap: 24px; }
.gallery-panel-front { grid-column: 1 / -1; }
.gallery-panel > a { display: block; }
.gallery-panel figcaption a { display: inline; }
.product-tools { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.product-tools > * { flex: 1 1 170px; font-size: .84rem; }
.pack-composition { font-size: .86rem; overflow-wrap: anywhere; }
.pack-price { font-size: .86rem; }
.measurement-guide { display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 1fr); align-items: start; gap: 14px 22px; border: 1px solid var(--line); padding: 20px; }
.measurement-guide > h2, .measurement-guide > .hint { grid-column: 1 / -1; }
.measurement-guide h2 { font-size: 1rem; }
.measurement-schematic { display: block; width: min(100%, 240px); height: auto; max-height: 330px; margin: auto; }
.measurement-guide > a { min-width: 0; }
.measurement-original { width: auto; height: auto; max-width: 100%; }
.measurement-values { font-size: .82rem; align-self: center; }
.measurement-values div { gap: 10px; padding-bottom: 7px; }
.measurement-values dd { white-space: nowrap; }
.measurement-guide > .measurement-schematic + .hint { grid-column: 1; font-size: .72rem; }
.measurement-guide:has(.measurement-schematic) .measurement-values { grid-column: 2; grid-row: 2 / 4; }
.saved-cart-controls { border: 1px solid var(--line); padding: 16px; display: grid; gap: 12px; margin-block: 18px; }
.cart-storage-note { margin-block: 12px 20px; }
.cart-item-info > a { width: fit-content; }
.shipping-explanation { font-size: .86rem; }
.catalog-filters { display: grid; gap: 16px; }
.catalog-filters form { display: grid; gap: 12px; }
.catalog-filter-container details { padding: 16px; border: 1px solid var(--line); }
.catalog-filter-container summary { cursor: pointer; min-height: 44px; }
.catalog-filter-container .catalog-filters { margin-top: 12px; }
.reference-nav-panel :is(select, input) { color: #242424; background: #fff; }
@media (max-width: 520px) {
  .measurement-guide { padding: 14px; gap: 12px; grid-template-columns: minmax(100px, .8fr) minmax(0, 1fr); }
  .measurement-values { font-size: .72rem; }
  .measurement-values dd { white-space: normal; }
  .product-tools { display: grid; }
  .cart-item .button, .cart-item button.secondary { font-size: .76rem; padding-inline: 10px; }
}

/* Customer language controls and logical text alignment. Administration uses its own stylesheet. */
.store-language-bar{display:flex;justify-content:flex-end;padding:10px max(4%,16px);border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:21}.store-language-bar .language-picker{color:var(--ink)}body.has-reference .store-language-bar{background:#07373d;border-color:#34545a}body.has-reference .store-language-bar .language-picker{color:#e8e4d7}html[dir=ltr] body{text-align:left}html[dir=ltr] :is(.checkout-form,.order-form,.form-message,.error-box,.customer-address-manager,.customer-identification,.customer-profile,.customer-address-form){direction:ltr;text-align:start}html[dir=ltr] .reference-nav-panel{direction:ltr;text-align:left}html[dir=ltr] .reference-nav-panel :is(input,select,button,a){text-align:start}html[dir=ltr] .breadcrumb{direction:ltr}html[dir=ltr] :is(.checkout-panel,.cart-item-info,.attributes,.product-info,.notification){text-align:start}html[dir=ltr] .measurement-guide{direction:ltr}.site-header nav{flex-wrap:wrap}.site-header nav a,.checkout-form label,.customer-address-form label{overflow-wrap:anywhere}@media(max-width:600px){.store-language-bar{padding:8px 16px}.site-header nav{gap:12px}.store-language-bar .language-picker{max-width:100%}}@media(prefers-reduced-motion:reduce){.store-language-bar{scroll-behavior:auto}}
