:root {
  --paper: #fcfbf9;
  --ink: #171714;
  --muted: #57554e;
  --line: #dad8d2;
  --tile: #efeeea;
  --blue: #55593e;
  --gutter: clamp(15px, 1.53vw, 24px);
  --face: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.44 var(--face); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: 8px; z-index: 8; padding: 10px; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.masthead {
  display: grid;
  grid-template-columns: minmax(116px,1fr) auto minmax(116px,1fr);
  align-items: center;
  height: 68px;
  padding: 0 var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: baseline; justify-self: start; font-size: 34px; letter-spacing: -.105em; line-height: .9; width: max-content; }
.logo b { font-weight: 880; }
.logo i { width: 6px; height: 6px; background: var(--blue); margin-left: 7px; }
.masthead nav, .tools { display: flex; align-items: center; }
.masthead nav { gap: clamp(13px, 1.6vw, 25px); }
.masthead nav a { white-space: nowrap; }
.masthead nav a, footer a:not(.logo) { font-size: 14px; font-weight: 600; }
.masthead nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.tools { justify-self: end; gap: 3px; }
.icon { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; position: relative; }
.favorite[aria-pressed=true] svg { fill: var(--blue); }
#favorite-count { position: absolute; font-size: 11px; line-height: 17px; min-width: 17px; top: 1px; right: 1px; background: #dce0cc; border-radius: 50%; font-weight: 720; }
.menu-toggle { display: none; }

.lead.section { padding-top: clamp(14px, 1.5vw, 22px); padding-bottom: clamp(37px, 3.8vw, 56px); }
.lead-photo, .story-picture { display: block; overflow: hidden; position: relative; background: var(--tile); }
.lead-photo { aspect-ratio: 2.25; background: #4f6873; }
.lead-photo picture { display: block; height: 100%; }
.lead-photo img, .story-picture img { width: 100%; height: 100%; object-fit: cover; }
.lead-photo img { object-position: center; }
.editorial-caption { display: grid; justify-items: start; padding-top: 14px; }
.eyebrow { color: var(--muted); font-size: 14px; line-height: 1.15; letter-spacing: .045em; text-transform: uppercase; }
.editorial-caption h1, .editorial-caption h2 {
  margin-top: 7px;
  font-size: clamp(30px, 3.35vw, 49px);
  font-weight: 690;
  letter-spacing: -.021em;
  line-height: 1.01;
  text-transform: uppercase;
}
.lead-caption h1 span { white-space: nowrap; }
.editorial-caption .text-link { margin-top: clamp(23px, 2.05vw, 32px); font-size: 15px; }
.text-link {
  display: inline-block;
  width: fit-content;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 3px;
  background: none;
  font-size: 14px;
  line-height: 1.36;
  font-weight: 570;
}
.text-link:hover { color: var(--blue); }
.section { padding: clamp(32px, 3.6vw, 56px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; margin-bottom: 19px; }
.section-head h2, .about h2 { font-size: clamp(32px, 3.2vw, 50px); line-height: 1.01; font-weight: 640; letter-spacing: -.052em; }
.section-head p { color: var(--muted); white-space: nowrap; font-size: 14px; }
.edit-section { border-top: 1px solid var(--line); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px 8px; }
.edit-grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
.card { min-width: 0; position: relative; }
.card-link { display: block; }
.product-photo {
  position: relative;
  aspect-ratio: 4 / 4.85;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--tile);
  isolation: isolate;
}
.product-photo img { height: 100%; min-height: 0; object-fit: contain; padding: 0; mix-blend-mode: multiply; }
.product-photo .alternate-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .2s ease; }
@media (hover: hover) {
  .card-link:hover .alternate-shot { opacity: 1; }
  .card-link:has(.alternate-shot):hover img:not(.alternate-shot) { opacity: 0; }
}
.card .favorite { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; }
.card .favorite svg { width: 18px; }
.card-data { padding: 10px 1px 0; line-height: 1.3; }
.card-data b { display: block; font-size: 15px; font-weight: 650; }
.card-data p { margin: 3px 0 6px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.card-data strong { font-size: 15px; font-weight: 620; }
.card-data small { font-size: 12px; color: var(--muted); margin-left: 6px; }
.photo-error { font-size: 13px; color: var(--muted); }

.stories.section { padding-top: 0; }
.story-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(30px,3.6vw,56px) clamp(13px,1.05vw,20px); }
.story-grid article { min-width: 0; }
.story-picture { aspect-ratio: 1.49; }
.amomento-story img { object-position: center 43%; }
.recto-story .story-picture { background: linear-gradient(#ede8e4, #dedcdd); }
.recto-story img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, black 13%, black 87%, transparent);
}
.shoe-story img { object-position: center; }
.bag-story img { object-position: center 6%; }

.product-photo img[src$="urban-gentle-monster-academya-silver.webp"] { filter: contrast(1.23); }
.menu-dialog { margin: 0; height: 100dvh; width: min(88vw,390px); max-height: none; }
.menu-panel { position: relative; padding: 72px 24px 25px; }
.menu-panel nav { display: grid; }
.menu-panel .menu-categories { grid-template-columns: 1fr 1fr; column-gap: 16px; margin-top: 23px; }
.menu-panel .menu-categories a { font-size: 15px; font-weight: 540; }
.menu-panel nav a { display: block; font-size: 20px; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--line); }
.menu-panel nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.menu-panel .close { top: 13px; right: 12px; }

.catalog-section, .brands { border-top: 1px solid var(--line); }
.category-strip { display: flex; overflow: auto; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 14px; scrollbar-width: thin; }
.category-strip button { flex: none; white-space: nowrap; font-size: 14px; padding: 8px 0 11px; border: 0; border-bottom: 2px solid transparent; background: none; }
.category-strip button[aria-pressed=true] { font-weight: 700; border-bottom-color: var(--ink); }
.category-strip button:hover:not([aria-pressed=true]) { text-decoration: underline; text-underline-offset: 4px; }
.filter-strip { display: grid; grid-template-columns: minmax(225px,1.75fr) repeat(3,minmax(140px,1fr)) auto; gap: 8px; margin-bottom: 16px; }
.search, .filter-strip select { border: 1px solid var(--line); min-height: 46px; background: transparent; min-width: 0; }
.search { display: flex; align-items: center; gap: 9px; padding: 0 12px; }
.search svg { flex: none; width: 18px; }
.search input { border: 0; outline: 0; width: 100%; min-width: 0; background: transparent; font-size: max(16px, 1em); }
.search:focus-within { outline: 2px solid var(--blue); outline-offset: -2px; }
.filter-strip select { appearance: none; border-radius: 0; padding: 0 31px 0 11px; font-size: 14px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10'%3E%3Cpath d='m1 2 6 6 6-6' fill='none' stroke='%2320211f' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 11px center; }
.filter-strip .text-link { align-self: center; margin: 0 7px; }
.empty { text-align: center; padding: 44px 0; }
.empty p { margin: 4px 0 12px; }
.more { text-align: center; margin-top: 22px; }
.more:has(button[hidden]) { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 19px; font-size: 14px; font-weight: 630; border: 1px solid var(--ink); background: var(--ink); color: #fff; transition: background .19s, color .19s; }
.button:hover { background: var(--blue); border-color: var(--blue); }
.button.outline { background: transparent; color: var(--ink); }
.button.outline:hover { background: var(--ink); color: #fff; }
.brands-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0 24px; }
.brands-grid button { border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; padding: 11px 0; font-weight: 590; }
.brands-grid button:hover { text-decoration: underline; text-underline-offset: 4px; }
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 23px; background: #eae9e1; }
.about p { max-width: 34ch; margin-bottom: 15px; font-size: clamp(16px, 1.55vw, 23px); line-height: 1.3; }
footer { display: flex; justify-content: space-between; gap: 19px; align-items: center; padding: 26px var(--gutter); }
footer > div { display: flex; flex-wrap: wrap; gap: 8px 16px; }

dialog { border: 0; padding: 0; margin: auto; background: var(--paper); color: var(--ink); width: min(920px,calc(100% - 28px)); max-height: calc(100dvh - 30px); overflow: auto; }
dialog::backdrop { background: #20211fb0; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; }
.detail-media { background: var(--tile); min-width: 0; }
.detail-gallery { display: flex; gap: 7px; padding: 8px; overflow-x: auto; }
.detail-gallery button { background: none; flex: 0 0 62px; border: 1px solid transparent; padding: 2px; }
.detail-gallery button[aria-pressed=true] { border-color: var(--ink); }
.detail-gallery img { height: 55px; object-fit: contain; mix-blend-mode: multiply; }
.detail-img { background: var(--tile); display: grid; place-items: center; min-height: 380px; }
.detail-img img { max-height: 510px; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.detail-info { padding: 43px 25px 24px; }
.detail-info h2 { font-size: clamp(27px,3.6vw,46px); line-height: 1; letter-spacing: -.05em; margin: 10px 0 12px; overflow-wrap: anywhere; }
.detail-info p { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.detail-info .detail-credit { margin-top: 16px; }
.detail-info .detail-price { font-size: 23px; color: var(--ink); margin: 12px 0; font-weight: 650; }
.size-guide { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 9px 0 15px; list-style: none; }
.size-guide li { border: 1px solid var(--line); padding: 4px 9px; font-size: 14px; }
.actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.close { position: absolute; top: 2px; right: 2px; background: var(--paper); }
.related { border-top: 1px solid var(--line); padding: 15px 23px 25px; }
.related h3 { margin-bottom: 10px; }
.related .product-grid { gap: 10px 8px; }
.credits { max-width: 490px; padding: 25px; }
.credits li { margin: 7px 0; }
.credits a { text-decoration: underline; }

@media (max-width: 960px) {
  .edit-grid, .catalog-section .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1020px) {
  .masthead { height: 59px; grid-template-columns: 1fr auto 1fr; padding-inline: 11px; }
  .masthead .main-nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .masthead .logo { justify-self: center; font-size: 30px; }
  .tools { gap: 0; }
  .tools .icon { width: 38px; }
}
@media (max-width: 900px) {
  .filter-strip { grid-template-columns: minmax(200px,1.6fr) repeat(3,minmax(112px,1fr)) auto; }
}
@media (max-width: 700px) {
  .lead.section { padding-top: 15px; padding-bottom: 43px; }
  .lead-photo { aspect-ratio: 1; }
  .lead-photo img { object-position: center 48%; }
  .editorial-caption { padding-top: 10px; }
  .editorial-caption h1, .editorial-caption h2 { font-size: clamp(24px, 8vw, 35px); line-height: 1.04; }
  .lead-caption h1 span { display: block; }
  .editorial-caption .text-link { margin-top: 23px; }
  .eyebrow { font-size: 13px; }
  .story-grid { grid-template-columns: 1fr; gap: 38px; }
  .story-picture { aspect-ratio: 1.51; }
  .bag-story .story-picture { aspect-ratio: 1.25; }
  .product-grid, .catalog-section .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 21px 6px; }
  .filter-strip { grid-template-columns: 1fr 1fr auto; }
  .search { grid-column: 1 / -1; }
  .detail-img { min-height: 300px; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 505px) {
  .section-head { margin-bottom: 14px; gap: 8px; }
  .section-head p { font-size: 13px; }
  .card-data b { font-size: 14px; }
  .card-data p { font-size: 13px; }
  .card-data small { display: block; margin: 0; }
  .brands-grid { grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .filter-strip { grid-template-columns: 1fr 1fr; gap: 6px; }
  .category-strip { gap: 16px; }
  .product-detail-layout { grid-template-columns: 1fr; }
  .detail-img, .detail-img img { height: 265px; min-height: 0; }
  .detail-info { padding: 16px; }
  .related { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.lead-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; margin-top: 26px; }
.lead-actions .button { min-width: 152px; justify-content: space-between; }
.lead-actions .text-link { margin-top: 0; }
.button span[aria-hidden] { margin-left: 18px; }

.shop { width: min(100%, 1650px); margin-inline: auto; padding: 0 var(--gutter); }
.crumbs {
  display: flex; flex-wrap: wrap; gap: 7px 11px; align-items: baseline; min-height: 54px;
  padding: 17px 0 14px; font-size: 13px; color: var(--muted);
}
.crumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.crumbs span:last-child { color: var(--ink); overflow-wrap: anywhere; }
.catalog-hero { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); min-height: min(29vw, 404px); }
.catalog-heading {
  background: #eeece4;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  gap: 28px; padding: clamp(24px,3.15vw,58px);
}
.catalog-heading h1 {
  max-width: 100%;
  font-size: clamp(48px, 6.2vw, 114px);
  font-weight: 690; line-height: .92; letter-spacing: -.073em;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.catalog-heading h1.long-title { font-size: clamp(37px,5vw,78px); }
.catalog-heading .text-link { font-size: 15px; }
.catalog-heading .text-link span { margin-left: 12px; }
.catalog-visual { min-width: 0; position: relative; overflow: hidden; background: #d4cdc5; }
.catalog-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.catalog-content, .shop-brands { padding: clamp(28px,3.1vw,46px) 0; }
.catalog-content > .category-strip { gap: 20px; margin-bottom: 22px; }
.catalog-content > .category-strip button { padding-bottom: 14px; }
.audience-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.audience-filter button { border: 1px solid var(--line); background: transparent; padding: 8px 14px; min-height: 42px; font-size: 14px; }
.audience-filter button[aria-pressed=true] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.card-data p.card-audience { margin: 0 0 6px; font-size: 12px; }
.product-meta > div + div { margin-top: 5px; }
.catalog-content .filter-strip { grid-template-columns: minmax(0,1.55fr) repeat(3,minmax(0,1fr)); margin: 0; gap: 10px; }
.results-bar {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin: 17px 0 10px; min-height: 25px; font-size: 13px; color: var(--muted);
}
.results-bar button { color: var(--ink); }
.shop-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px 13px; }
.shop-grid .product-photo { background: #f1efea; aspect-ratio: 1.11; }
.shop-grid .product-photo img { padding: 8%; }
.shop-grid .card-data { padding: 11px 2px 0; }
.shop-grid .card-data b { font-size: 16px; }
.shop-grid .card-data p { font-size: 14px; }
.shop-grid .card .favorite { top: 7px; right: 7px; }
.shop .more { margin: 34px 0 6px; }
.shop-brands { border-top: 1px solid var(--line); }
.shop-brands.section { padding-inline: var(--gutter); }
.shop-brands h2 { margin-bottom: 18px; font-size: clamp(31px,3.15vw,49px); letter-spacing: -.055em; line-height: 1.05; }
.brands-grid a { border-bottom: 1px solid var(--line); padding: 11px 0; font-weight: 590; overflow-wrap: anywhere; }
.brands-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }

.product-page .crumbs { padding-bottom: 18px; }
.product-layout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: clamp(24px,5vw,91px); align-items: start; }
.product-media { min-width: 0; }
.product-main-photo { display: grid; place-items: center; background: #f1efea; aspect-ratio: 1.12; }
.product-main-photo img { width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.product-thumbs { display: flex; gap: 8px; overflow: auto; padding: 8px 0 12px; }
.product-thumbs button { padding: 0; flex: 0 0 clamp(52px,6vw,83px); border: 1px solid transparent; background: #f1efea; }
.product-thumbs button[aria-pressed=true] { border-color: var(--ink); }
.product-thumbs img { aspect-ratio: 1; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.product-info { min-width: 0; padding: clamp(16px,3vw,52px) 0 20px; }
.product-info h1 { font-size: clamp(34px,4.2vw,68px); font-weight: 660; line-height: .98; letter-spacing: -.063em; margin: 14px 0 22px; overflow-wrap: anywhere; }
.product-meta { color: var(--muted); margin: 0 0 19px; font-size: 14px; }
.product-meta > div { display: flex; gap: 11px; }
.product-meta dt { min-width: 50px; }
.product-meta dd { margin: 0; overflow-wrap: anywhere; }
.product-price { margin: 1px 0 24px; font-size: clamp(24px,2.45vw,36px); font-weight: 650; line-height: 1.2; }
.product-info h2 { font-size: 14px; font-weight: 650; margin-bottom: 9px; }
.product-sizes { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.product-sizes li { display: flex; align-items: baseline; gap: 7px; border: 1px solid var(--line); padding: 7px 9px; font-size: 13px; }
.product-sizes b { font-weight: 620; }
.product-note { font-size: 14px; color: var(--muted); }
.product-actions { display: flex; align-items: center; gap: 9px; margin: 23px 0 14px; }
.product-actions .favorite { border: 1px solid var(--line); min-height: 46px; }
.product-source { color: var(--muted); font-size: 13px; }
.product-related { margin-top: clamp(28px,5vw,82px); border-top: 1px solid var(--line); padding: clamp(25px,4vw,55px) 0; }

@media (max-width: 760px) {
  .catalog-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); min-height: 235px; }
  .catalog-heading { gap: 18px; padding: 23px 18px; }
  .catalog-heading h1 { font-size: clamp(31px, 7vw, 64px); }
  .catalog-heading h1.long-title { font-size: clamp(26px, 5vw, 48px); }
  .catalog-content .filter-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .catalog-content .filter-strip select:last-child { grid-column: 1 / -1; }
  .catalog-content .search { grid-column: 1/-1; }
  .shop-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 8px; }
  .shop-grid .product-photo { aspect-ratio: .91; }
  .shop-grid .card-data b { font-size: 14px; }
  .shop-grid .card-data p { font-size: 13px; }
  .shop-grid .card .favorite { top: 3px; right: 3px; }
  .product-layout { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .product-info { padding-top: 11px; }
  .product-main-photo { aspect-ratio: 1; }
}
@media (max-width: 500px) {
  .catalog-hero { grid-template-columns: 1fr; }
  .catalog-heading { padding: 17px 17px 20px; gap: 16px; }
  .catalog-heading h1 { font-size: clamp(40px,10vw,57px); }
  .catalog-visual { aspect-ratio: 1.88; }
  .crumbs { min-height: 44px; padding: 13px 0 11px; }
  .lead-actions { gap: 12px 18px; }
}

.bag-control #bag-count { position: absolute; top: 1px; right: 1px; border-radius: 50%; min-width: 17px; line-height: 17px; font-size: 11px; font-weight: 700; background: #dce0cc; }
.delivery-estimate { margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 400; line-height: 1.35; }
.card-data p.delivery-estimate { margin: 4px 0 0; font-size: 12px; }
.product-price .delivery-estimate { font-size: 14px; }
.card-data .card-colors { display: block; margin: 5px 0 0; }
.card-sizes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; font-size: 11px; line-height: 1.3; }
.card-sizes span { border: 1px solid var(--line); padding: 3px 5px; }
.product-colors, .size-selection { margin: 0 0 21px; }
.product-colors h2 span, .product-single-color span { color: var(--muted); font-weight: 400; margin-right: 4px; }
.product-colors h2 span { margin-left: 7px; }
.product-single-color { font-size: 14px; margin-bottom: 20px; }
.color-options { display: flex; flex-wrap: wrap; gap: 6px; }
.color-options a { width: 63px; border: 1px solid var(--line); background: #f1efea; }
.color-options a[aria-current=true] { border-color: var(--ink); outline: 1px solid var(--ink); }
.color-options img { aspect-ratio: 1; padding: 4px; object-fit: contain; mix-blend-mode: multiply; }
.product-sizes > button {
  display: grid; place-content: center; gap: 3px; text-align: center;
  border: 1px solid var(--line); background: transparent; min-height: 50px;
  min-width: 64px; padding: 5px 9px; font-size: 14px;
}
.product-sizes > button:hover:not(:disabled), .product-sizes > button[aria-pressed=true] { border-color: var(--ink); }
.product-sizes > button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.product-sizes > button:disabled { background: var(--tile); color: var(--muted); cursor: default; opacity: .65; }
.size-selection .product-note { margin-top: 10px; }
.product-actions .button:disabled { border-color: var(--line); background: var(--tile); color: var(--muted); cursor: default; }
.bag-dialog { margin: 0 0 0 auto; width: min(440px,100%); max-height: none; height: 100dvh; padding: 54px 23px 23px; }
.bag-dialog h2 { font-size: 36px; line-height: 1; letter-spacing: -.055em; margin-bottom: 24px; }
.bag-dialog > div > p { margin-bottom: 16px; }
.bag-list { list-style: none; padding: 0; margin: 0; }
.bag-list li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.bag-list img { aspect-ratio: 1; object-fit: contain; background: var(--tile); }
.bag-list p { margin: 3px 0; color: var(--muted); font-size: 13px; }
.bag-list button { display: block; margin-top: 5px; font-size: 13px; }
.bag-total { display: flex; justify-content: space-between; margin-top: 16px; }
.bag-actions { position: sticky; bottom: -23px; padding: 4px 0 23px; background: var(--paper); }
.bag-actions .button, #send-order { width: 100%; margin-top: 14px; }
#checkout-back { margin-bottom: 16px; }
#checkout-form { display: grid; gap: 13px; }
#checkout-form label { display: grid; gap: 5px; min-width: 0; font-size: 14px; font-weight: 600; }
#checkout-form input, #checkout-form textarea {
  width: 100%; min-width: 0; min-height: 43px; border: 1px solid var(--line);
  padding: 8px 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400;
}
#checkout-form textarea { resize: vertical; }
.checkout-names { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.checkout-contacts { display: grid; gap: 9px; padding: 0; margin: 0; border: 0; min-width: 0; }
.checkout-contacts legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 650; }
#checkout-form label small { margin-left: 3px; font-size: 12px; font-weight: 400; color: var(--muted); }
.delivery-field { position: relative; }
#address-feedback:not(:empty) { margin-top: 5px; }
.address-options {
  position: absolute; z-index: 2; top: 100%; left: 0; right: 0; margin: 3px 0 0;
  padding: 3px 0; max-height: 180px; overflow: auto; list-style: none;
  border: 1px solid var(--line); background: var(--paper); box-shadow: 0 6px 14px #0002;
  overscroll-behavior: contain;
}
.address-options li { padding: 9px 10px; font-size: 14px; cursor: pointer; }
.address-options li:hover, .address-options li[aria-selected=true] { background: var(--tile); }
.checkout-note { font-size: 13px; color: var(--muted); }
.checkout-error { color: #922f23; font-size: 14px; }
#checkout-form .bag-total, #send-order { margin-top: 0; }
#send-order:disabled { opacity: .6; }
#order-status { margin-bottom: 18px; }

@media (max-width: 360px) {
  .masthead .tools .icon { width: 32px; }
  .card-sizes { gap: 3px; }
}

.gallery-stage, .photo-large-stage { position: relative; background: #f1efea; touch-action: pan-y; }
.gallery-open {
  display: grid; place-items: center; width: 100%; padding: 0; border: 0;
  background: transparent; aspect-ratio: 1.12; cursor: zoom-in; touch-action: pan-y;
}
.gallery-open img { width: 100%; height: 100%; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.gallery-arrow {
  display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border: 1px solid var(--line); padding: 0 0 2px;
  background: var(--paper); color: var(--ink); font-size: 35px; line-height: .9;
}
.gallery-arrow:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.gallery-arrow.previous { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-position {
  position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%);
  border: 1px solid var(--line); background: var(--paper); padding: 4px 10px;
  font-size: 13px; line-height: 1.2; white-space: nowrap; pointer-events: none;
}
.gallery-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 8px 0 7px; }
.gallery-thumbs button {
  display: block; flex: 0 0 clamp(56px,5vw,80px); padding: 0;
  border: 1px solid transparent; background: #f1efea;
}
.gallery-thumbs button[aria-current=true] { border-color: var(--ink); }
.gallery-thumbs img { aspect-ratio: 1; object-fit: contain; padding: 7%; mix-blend-mode: multiply; }
.photo-dialog { width: min(860px,calc(100% - 28px)); background: #f1efea; }
.photo-dialog img { width: 100%; max-height: calc(100dvh - 40px); object-fit: contain; }
.photo-dialog .close { z-index: 1; }
@media (max-width: 760px) {
  .gallery-open { aspect-ratio: 1.03; }
  .gallery-arrow.previous { left: 8px; }
  .gallery-arrow.next { right: 8px; }
  .gallery-position { bottom: 8px; }
}

.product-sizes > button > b { font-size: 12px; font-weight: 650; }
.size-tables { margin-top: 16px; }
.size-tables summary { cursor: pointer; font-size: 14px; text-decoration: underline; text-underline-offset: 0.25em; }
.size-tables h3, .brand-size-tables { margin-top: 14px; font-size: 14px; }
.size-brand-link { display: inline-block; margin-top: 10px; font-size: 14px; }
.size-table-scroll { margin-top: 10px; max-width: 100%; overflow-x: auto; }
.size-table-scroll table { border-collapse: collapse; min-width: 100%; font-size: 13px; }
.size-table-scroll th, .size-table-scroll td { padding: 7px 9px; border-bottom: 1px solid var(--line); text-align: left; }
.size-table-scroll td { white-space: nowrap; }
.shoe-sizing .size-table-scroll { max-height: 340px; }
.shoe-sizing thead th { position: sticky; top: 0; background: var(--paper); }

.card-sizes { gap: 5px; }
.card-sizes span { white-space: nowrap; }
