@font-face {
  font-family: Inter;
  src: url("vendor/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --white: #fff;
  --ink: #211f1b;
  --muted: #5d5850;
  --line: #ded8cd;
  --strong: #23211e;
  --photo: #ded8d0;
  --focus: #35528b;
  --header-height: 62px;
  --tile-height: clamp(142px, 36vw, 425px);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.45; }
h1, h2, h3, p, figure { margin: 0; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.shell { width: min(100% - 32px, 1280px); margin-inline: auto; }
.muted { color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); font-size: .89rem; font-weight: 650; text-decoration: none; }
.button:hover:not(:disabled) { filter: brightness(.96); }
.primary { background: var(--strong); border-color: var(--strong); color: white; }
.full { width: 100%; }

.site-header { position: sticky; top: 0; z-index: 2; border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wordmark { display: inline-block; font-size: clamp(1.34rem, 4.5vw, 2.05rem); font-weight: 900; letter-spacing: -.082em; line-height: 1; text-decoration: none; }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 6px; }
.language-select { min-height: 44px; width: 57px; padding: 0 5px 0 9px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 650; cursor: pointer; }
.bag-button { gap: 9px; border-radius: 99px; padding-inline: 10px; }
.bag-label { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.bag-icon { position: relative; width: 15px; height: 14px; margin-top: 3px; border: 1.6px solid currentColor; border-radius: 2px 2px 3px 3px; }
.bag-icon::before { content: ""; position: absolute; width: 6px; height: 7px; top: -6px; left: 2.9px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 5px 5px 0 0; }
.bag-count { min-width: 25px; height: 25px; padding-inline: 5px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--strong); color: white; font-size: .78rem; }

.hero { padding-block: clamp(23px, 5vw, 68px) clamp(22px, 4vw, 51px); }
.hero-intro {
  display: grid;
  gap: 10px;
  align-items: end;
  margin-bottom: clamp(17px, 2.5vw, 30px);
}
.hero h1 {
  font-size: clamp(2.04rem, 8.15vw, 5.45rem);
  font-weight: 845;
  letter-spacing: -.085em;
  line-height: .98;
  text-wrap: balance;
}
.hero p { color: var(--muted); font-size: clamp(.8rem, 1.25vw, .98rem); line-height: 1.48; }
.hero-panels { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(8px, 1.1vw, 15px); }
.hero-panels:has(.category-tile[hidden]) { grid-template-columns: 1fr; }
.category-tile { display: grid; min-width: 0; border: 1px solid var(--line); border-radius: 3px; overflow: clip; background: var(--white); text-decoration: none; }
.category-photo { position: relative; display: block; height: var(--tile-height); overflow: hidden; }
.category-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-photo-jacket { background: #e8e1d8; }
.category-photo-jacket img { object-position: 52% 42%; }
.category-photo-sneaker img { width: 92%; margin-inline: auto; object-fit: contain; }
.category-caption {
  min-height: 45px;
  padding: 7px clamp(8px, 1.6vw, 21px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  border-top: 1px solid var(--line);
  font-size: clamp(.94rem, 2.5vw, 1.82rem);
  font-weight: 770;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.category-arrow {
  width: clamp(24px, 3vw, 37px);
  aspect-ratio: 1;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .16s ease-out, color .16s ease-out, translate .16s ease-out;
}
.category-arrow::before, .category-arrow::after { content: ""; grid-area: 1 / 1; }
.category-arrow::before { width: 8px; height: 8px; border-top: 1.5px solid; border-right: 1.5px solid; translate: 2px -2px; }
.category-arrow::after { width: 11px; height: 1.5px; background: currentColor; rotate: -45deg; }
.category-tile:is(:hover, :focus-visible) .category-arrow { background: var(--strong); color: var(--white); translate: 1px -1px; }
.category-tile:active .category-arrow { translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .category-arrow { transition: none; }
  .category-tile:is(:hover, :focus-visible) .category-arrow { translate: none; }
}

.catalogue { scroll-margin-top: 4px; }
.catalogue-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 12px; justify-content: space-between; padding: 10px 0; border-block: 1px solid var(--line); }
.filters { display: flex; gap: 5px; flex-wrap: wrap; }
.filters button { min-height: 43px; padding: 7px clamp(9px, 2.2vw, 20px); border-radius: 99px; border: 1px solid var(--line); background: transparent; font-size: .86rem; font-weight: 650; }
.filters button:hover { background: var(--white); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: white; }
.model-count { font-size: .82rem; font-variant-numeric: tabular-nums; }
.catalogue-status:has(> :not([hidden])) { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 0; }
.photo-missing { background: var(--photo) !important; }
.mirrored-photo { transform: scaleX(-1); }
.product-group { margin: 23px 0 34px; }
.product-group h2 { font-size: clamp(1.58rem, 4.7vw, 3.2rem); font-weight: 805; letter-spacing: -.073em; line-height: 1.03; margin-bottom: 13px; }
.sneaker-note { font-size: .86rem; }
.sneaker-brands { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 6px 0; }
.sneaker-brands a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 650; text-underline-offset: 4px; }
.sneaker-group { margin-top: 15px; }
.sneaker-group + .sneaker-group { margin-top: 27px; }
.sneaker-group h3 { font-size: clamp(1.13rem, 3vw, 1.55rem); letter-spacing: -.035em; margin-bottom: 10px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; }
.product { min-width: 0; }
.product-button { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left; background: var(--white); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.product-button:hover { border-color: #9f9993; }
.product-image { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; background: var(--photo); }
.product-image.shoe-photo { aspect-ratio: 4/3; object-fit: contain; background: white; }
.product-caption { display: grid; gap: 3px; width: 100%; padding: 10px 10px 12px; border-top: 1px solid var(--line); }
.product-name { font-size: .94rem; font-weight: 700; line-height: 1.25; letter-spacing: -.023em; }
.product-colour { font-size: .81rem; }
.product-select { display: flex; align-items: center; justify-content: space-between; gap: 4px; margin-top: 7px; color: var(--ink); font-size: .8rem; font-weight: 675; }
.product-select::after { content: ""; width: 7px; height: 7px; margin-right: 3px; border-top: 1.5px solid; border-right: 1.5px solid; rotate: 45deg; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; min-height: 75px; padding-block: 10px; border-top: 1px solid var(--line); font-size: .85rem; }

dialog { width: min(100%, 585px); max-width: 100%; max-height: min(93dvh, 920px); margin: auto auto 0; padding: 0; border: 1px solid var(--line); border-radius: 16px 16px 0 0; background: var(--white); color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: rgb(22 20 18 / 65%); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--white); }
.dialog-top h2 { font-size: 1.22rem; letter-spacing: -.04em; }
.dialog-top p { font-size: .87rem; }
.product-dialog[open] { display: flex; flex-direction: column; overflow: hidden; }
.product-dialog .dialog-top, .product-add { flex: none; }
.product-options { display: flex; flex-direction: column; min-height: 0; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(65px, 25%) minmax(0, 1fr);
  grid-template-areas: "photo identity" "filling filling" "sizes sizes";
  align-items: center;
  gap: 10px 13px;
  padding: 12px 15px;
  overflow: auto;
  overscroll-behavior: contain;
}
.detail-visual { grid-area: photo; margin: 0; }
.detail-visual figcaption { margin-top: 3px; font-size: .74rem; text-align: center; }
.detail-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; border-radius: 7px; background: var(--photo); }
.detail-photo.shoe-photo { aspect-ratio: 4/3; background: white; }
.product-identity { grid-area: identity; }
.product-identity h2 { font-size: 1.45rem; letter-spacing: -.04em; }
.flow-panel { padding: 15px; }
fieldset { min-width: 0; padding: 0; border: 0; margin: 14px 0 0; }
legend, .field { font-size: .91rem; font-weight: 650; }
.filling-field { grid-area: filling; margin: 2px 0 0; }
.filling-field > .muted { font-size: .86rem; }
.filling-field .field { margin-top: 7px; }
.size-field { grid-area: sizes; margin: 2px 0 0; }
.sizes-note { margin-top: 3px; font-size: .79rem; }
.size-panel { margin-top: 5px; }
.size-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding-block: 1px; border-top: 1px solid var(--line); }
.size-name { min-width: 0; font-size: .94rem; font-weight: 650; }
.size-counter { display: flex; align-items: center; gap: 4px; }
.size-quantity, .custom-size { min-height: 44px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font-size: 1rem; }
.size-quantity { width: 58px; padding: 0 3px; text-align: center; appearance: textfield; }
.size-quantity::-webkit-inner-spin-button, .size-quantity::-webkit-outer-spin-button { appearance: none; margin: 0; }
.size-quantity[data-selected] { background: #eae8e5; border-color: #a9a29b; font-weight: 700; }
.custom-size { width: 100%; max-width: 165px; min-width: 0; padding: 0 8px; }
.product-add { padding: 8px 15px max(11px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }
#product-status { margin-bottom: 7px; font-size: .86rem; }
#product-status:empty { display: none; }
.size-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.option { position: relative; display: inline-flex; cursor: pointer; }
.option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option > span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 9px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; font-size: .86rem; }
.option input:checked + span { color: #fff; background: var(--strong); border-color: var(--strong); }
.option input:focus-visible + span { outline: 2px solid #4c4946; outline-offset: 3px; }
.field { display: grid; gap: 5px; margin-top: 12px; }
.field input, .field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); font-size: 1rem; }
.colour-field { margin-top: 6px; }
.cart-list { list-style: none; padding: 0; margin: 0; }
.cart-line { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.line-image { display: block; border-radius: 6px; object-fit: cover; background: var(--photo); }
.line-image.shoe-photo { object-fit: contain; background: white; }
.line-info h3 { font-size: .99rem; }
.line-info p { font-size: .86rem; }
.line-controls { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 7px; }
.stepper { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 1.14rem; line-height: 1; }
.line-quantity { min-width: 22px; text-align: center; font-size: .9rem; font-weight: 650; }
.text-button { border-color: transparent; background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding-inline: 3px; }
.remove-line { margin-left: auto; font-size: .82rem; }
.cart-bottom { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-bottom p, .checkout-privacy { font-size: .86rem; }
#cart-empty .button { margin-top: 12px; }
.address-line { display: grid; grid-template-columns: minmax(88px, .7fr) minmax(0, 1.4fr); gap: 8px; }
.checkout-privacy { margin: 12px 0; }
.pdf-details { display: grid; gap: 3px; padding: 13px; margin: 13px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.pdf-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-actions .button { flex: 1 1 125px; }
.flow-status { margin: 0 15px 14px; font-size: .88rem; }
.flow-status:empty { display: none; }
.toast { position: fixed; z-index: 3; bottom: max(14px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 26px); padding: 10px 14px; border-radius: 8px; color: white; background: var(--strong); box-shadow: 0 3px 15px #20191426; font-size: .89rem; }

@media (max-width: 365px) {
  .header-inner { gap: 6px; }
  .wordmark { font-size: 1.14rem; }
  .bag-button { padding-inline: 8px; gap: 6px; font-size: .82rem; }
  .bag-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .language-select { width: 52px; padding-left: 6px; }
}
@media (min-width: 690px) {
  :root { --header-height: 73px; }
  .shell { width: min(100% - 70px, 1280px); }
  .bag-button { padding-inline: 14px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  .product-caption { padding: 13px 14px 15px; }
  dialog { margin: auto; max-width: calc(100% - 32px); border-radius: 13px; }
  .product-dialog { width: min(840px, calc(100% - 32px)); }
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, .94fr);
    grid-template-areas: "photo identity" "photo filling" "photo sizes";
    gap: 12px 22px;
    padding: 20px 24px;
  }
  .detail-visual { align-self: start; }
  .product-add { padding-inline: 24px; }
  .flow-panel { padding: 18px; }
}
@media (min-width: 760px) {
  .hero-intro { grid-template-columns: minmax(0, auto) minmax(190px, max-content); justify-content: space-between; gap: 24px; }
  .hero h1 { font-size: clamp(3rem, 6.4vw, 5.45rem); text-wrap: initial; }
  .hero p { text-align: right; }
  .hero-panels { grid-template-columns: 1.17fr 1fr; }
  .category-photo-jacket img { object-position: 50% 48%; }
  .category-photo-sneaker img { width: 84%; }
  .category-caption { min-height: 61px; }
  .catalogue-nav { padding: 12px 0; }
  .filters { gap: 7px; }
  .product-group { margin-top: 26px; }
  .product-group h2 { margin-bottom: 20px; }
}
@media (min-width: 1080px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
