/* Clog Club storefront */
@font-face { font-family: "ttCrocs"; src: url("/fonts/ttCrocs-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "ttCrocs"; src: url("/fonts/ttCrocs-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "ttCrocs"; src: url("/fonts/ttCrocs-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "KarlSt"; src: url("/fonts/karlSt-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "KarlSt"; src: url("/fonts/karlSt-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "KarlSt"; src: url("/fonts/karlSt-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --ink: #0d2b4e;
  --ink-soft: #4b6079;
  --ink-faint: #7d8c9e;
  --paper: #ffffff;
  --stage: #f1f3ee;
  --stage-deep: #e6eade;
  --line: #e2e6dc;
  --line-strong: #c9d0c0;
  --lime: #c8e820;
  --lime-press: #b5d414;
  --leaf: #4f7a00;
  --sky: #0098e0;
  --sky-ink: #00689c;
  --coral: #f86858;
  --display: "ttCrocs", "KarlSt", ui-rounded, system-ui, sans-serif;
  --text: "KarlSt", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1360px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --radius-s: 14px;
  --header: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (min-width: 900px) { :root { --header: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-s { width: 18px; height: 18px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

/* ---------- product stages: square, image contained ---------- */
.card-stage, .tile-stage, .band-charms a, .gallery-track figure, .thumbs button, .swatches button, .li-stage {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
}
.card-stage > img, .tile-stage > img, .band-charms a > img, .gallery-track figure > img, .thumbs button > img, .swatches button > img, .li-stage > img {
  position: absolute; top: var(--pad, 10%); left: var(--pad, 10%); width: calc(100% - 2 * var(--pad, 10%)); height: calc(100% - 2 * var(--pad, 10%));
  object-fit: contain; mix-blend-mode: multiply;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; letter-spacing: .005em;
  transition: background-color .18s, color .18s, transform .12s, box-shadow .18s; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(13, 43, 78, .12); }
.btn-lime:hover { background: var(--lime-press); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #173d68; }
.btn-line { border: 1.5px solid var(--line-strong); background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.text-link { color: var(--sky-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.text-link:hover { color: var(--ink); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--stage); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { height: var(--header); display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
@media (min-width: 900px) { .brand img { height: 48px; } }
.main-nav { display: none; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search-field { display: none; }
.bag-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  background: var(--coral); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 19px; text-align: center;
}
.bag-count:empty { display: none; }
@media (min-width: 1100px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
  .main-nav > a, .main-nav > .nav-more > button {
    display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 13px; border-radius: 999px;
    font-weight: 500; font-size: 15.5px; color: var(--ink);
  }
  .main-nav > a:hover, .main-nav > .nav-more > button:hover, .main-nav [aria-current="page"] { background: var(--stage); }
  .search-field { display: flex; }
  .search-toggle { display: none; }
}
.search-field {
  align-items: center; gap: 8px; width: 260px; height: 44px; padding: 0 14px; border-radius: 999px;
  background: var(--stage); border: 1.5px solid transparent; color: var(--ink-soft); font-size: 15px;
}
.search-field:hover { border-color: var(--line-strong); }
.nav-more { position: relative; }
.nav-pop {
  position: absolute; top: calc(100% + 10px); left: 0; width: 640px; padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(13, 43, 78, .25);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px;
}
.nav-pop[hidden] { display: none; }
.nav-pop a { padding: 8px 10px; border-radius: 12px; font-weight: 500; }
.nav-pop .pop-item { display: flex; align-items: center; gap: 10px; }
.pop-thumb { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; overflow: hidden; }
.pop-thumb img { width: 36px; height: 36px; object-fit: contain; }
.nav-pop a:hover { background: var(--stage); }
.nav-pop .nav-pop-all { grid-column: 1 / -1; margin-top: 8px; font-weight: 700; color: var(--sky-ink); }

/* ---------- hero: the shoe wall ---------- */
.hero { background: var(--lime); overflow: hidden; }
.hero-grid { display: grid; gap: 28px; padding-block: 44px 36px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); padding-block: 64px; gap: 56px; } }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 9vw, 104px); line-height: .92; letter-spacing: -.02em; color: var(--ink); max-width: 9ch; }
.hero-copy p { margin-top: 18px; font-size: 18px; max-width: 34ch; color: var(--ink); }
.hero-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero .btn-ink { min-height: 56px; padding: 0 30px; }
.hero .btn-line { background: transparent; border-color: rgba(13, 43, 78, .35); }
.hero .btn-line:hover { border-color: var(--ink); background: rgba(255, 255, 255, .35); }
.hero-copy p.hero-dealer { max-width: none; }
.hero-dealer { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: #1f4a00; }
.hero-dealer .icon { width: 20px; height: 20px; color: #3d7300; }
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cubby {
  position: relative; display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .38));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 -14px 24px rgba(13, 43, 78, .06), 0 10px 24px -18px rgba(13, 43, 78, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cubby img { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(13, 43, 78, .18)); transition: transform .45s var(--ease); }
.cubby-tag { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(13, 43, 78, .88); color: #fff; font-size: 12.5px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease); }
.cubby:hover, .cubby:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .9), 0 22px 36px -22px rgba(13, 43, 78, .55); }
.cubby:hover img, .cubby:focus-visible img { transform: rotate(-6deg) scale(1.06); }
.cubby:hover .cubby-tag, .cubby:focus-visible .cubby-tag { opacity: 1; transform: none; }
@media (max-width: 899px) { .wall .cubby:nth-child(n+7) { display: none; } }
@media (min-width: 900px) { .wall { gap: 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .cubby { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i) * 65ms + 120ms); }
  @keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
}

/* collab tiles */
.collabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.collabs::-webkit-scrollbar { display: none; }
.collab {
  position: relative; scroll-snap-align: start; display: grid; align-content: start; gap: 2px; min-height: 230px; padding: 20px 20px 0; border-radius: calc(var(--radius) + 4px);
  background: var(--tile); color: var(--tile-ink); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease);
}
.collab-name { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.collab-count { font-size: 14px; font-weight: 500; opacity: .75; }
.collab img { position: absolute; right: -6%; bottom: -10%; width: 72%; height: 72%; object-fit: contain; z-index: -1; filter: drop-shadow(0 14px 14px rgba(13, 43, 78, .18)); transform: rotate(-8deg); transition: transform .45s var(--ease); }
.collab:hover { transform: translateY(-4px); }
.collab:hover img { transform: rotate(-2deg) scale(1.06); }
@media (min-width: 900px) {
  .collabs { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
  .collab { min-height: 260px; }
  .collab.wide { grid-column: span 2; }
  .collab.wide .collab-name { font-size: 40px; }
  .collab.wide img { width: 52%; height: 96%; right: 2%; bottom: -14%; }
}

/* ---------- sections ---------- */
.section { padding-block: 56px 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-family: var(--display); font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; }
.section-head p { color: var(--ink-soft); margin-top: 6px; max-width: 56ch; }
.section-head .text-link { flex: none; }

/* category tiles */
.tiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 40%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.tiles::-webkit-scrollbar { display: none; }
.tile { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px; min-width: 0; }
.tile-stage { --pad: 13%; min-width: 0; border-radius: var(--radius); background: var(--stage); transition: background-color .2s; }
.tile img { transition: transform .3s var(--ease); }
.tile:hover .tile-stage { background: var(--stage-deep); }
.tile:hover img { transform: scale(1.05); }
.tile span { font-weight: 700; font-size: 16px; padding-left: 4px; }
@media (min-width: 900px) { .tiles { grid-auto-flow: row; grid-template-columns: repeat(7, minmax(0, 1fr)); overflow: visible; } }

/* rails + grids */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 44%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: minmax(200px, 30%); } }
@media (min-width: 1100px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; } .rail > :nth-child(n+5) { display: none; } }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 20px; } }
@media (min-width: 1280px) { .grid.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* product card */
.card { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card-stage { --pad: 10%; border-radius: var(--radius); background: var(--stage); }
.card-stage img { transition: transform .35s var(--ease), opacity .2s; }
.card:hover .card-stage img { transform: scale(1.04); }
.card-flag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 500; }
.card-body { display: grid; gap: 4px; padding-inline: 2px; }
.card-title { font-size: 15.5px; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }
.card-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; min-height: 26px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.dots { position: relative; z-index: 2; display: flex; align-items: center; gap: 4px; }
.dot { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; }
.dot span { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(13, 43, 78, .18); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 1.5px var(--ink); }
.dots-more { font-size: 13px; color: var(--ink-soft); font-weight: 500; padding-left: 2px; }
.card-colors { font-size: 13.5px; color: var(--ink-soft); }

/* fandom chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: #fff; font-weight: 500; font-size: 15px; white-space: nowrap;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-weight: 500; opacity: .7; }

/* charms band */
.band { margin-top: 64px; background: var(--ink); color: #fff; }
.band-grid { display: grid; gap: 28px; padding-block: 48px; align-items: center; }
.band h2 { font-family: var(--display); font-size: clamp(32px, 5vw, 56px); line-height: 1; letter-spacing: -.01em; }
.band p { margin-top: 14px; color: rgba(255, 255, 255, .82); max-width: 42ch; font-size: 17px; }
.band .btn { margin-top: 24px; }
.band-charms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.band-charms a { --pad: 15%; border-radius: 18px; background: #fff; transition: transform .25s var(--ease); }
.band-charms a:hover { transform: rotate(-4deg) scale(1.04); }
@media (min-width: 900px) { .band-grid { grid-template-columns: .9fr 1.1fr; padding-block: 72px; gap: 56px; } }

/* assurances */
.promises { display: grid; gap: 22px; padding-block: 56px; border-top: 1px solid var(--line); margin-top: 64px; }
.promise { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.promise-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--stage); display: grid; place-items: center; color: var(--leaf); }
.promise h3 { font-size: 17px; font-weight: 700; }
.promise p { color: var(--ink-soft); margin-top: 4px; font-size: 15px; }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ---------- collection page ---------- */
.page-head { padding-block: 30px 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head h1 { font-family: var(--display); font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -.015em; }
.page-head .lede { margin-top: 8px; color: var(--ink-soft); max-width: 60ch; }
.subnav { margin-top: 18px; }
.listing { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 18px; }
@media (min-width: 1100px) { .listing { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; } }
.toolbar {
  position: sticky; top: var(--header); z-index: 20; display: flex; align-items: center; gap: 10px; padding: 10px 0;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.toolbar .count { color: var(--ink-soft); font-size: 15px; margin-right: auto; white-space: nowrap; }
.toolbar .btn { min-height: 42px; padding: 0 16px; font-size: 15px; }
.sort { position: relative; display: inline-flex; align-items: center; }
.sort select { appearance: none; height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 500; font-size: 15px; cursor: pointer; }
.sort .icon { position: absolute; right: 12px; pointer-events: none; }
.sort-short { display: none; }
/* Phones: the pill reads "Sort" and the see-through select on top of it opens the native picker, so the toolbar fits on one line. */
@media (max-width: 699px) {
  .sort-short { display: inline-flex; align-items: center; height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 500; font-size: 15px; }
  .sort select { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; opacity: 0; font-size: 16px; }
  .sort:has(select:focus-visible) .sort-short { outline: 3px solid var(--sky); outline-offset: 2px; }
}
.applied { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.applied:empty { display: none; }
.applied button { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border-radius: 999px; background: var(--stage); font-size: 14px; font-weight: 500; }
.applied button:hover { background: var(--stage-deep); }
.applied .clear { background: none; text-decoration: underline; text-underline-offset: 3px; }
.sidebar { display: none; }
@media (min-width: 1100px) {
  .sidebar { display: block; position: sticky; top: calc(var(--header) + 12px); align-self: start; max-height: calc(100vh - var(--header) - 24px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
  .filters-toggle { display: none !important; }
}
.facet { border-bottom: 1px solid var(--line); padding: 14px 0; }
.facet:first-child { padding-top: 4px; }
.facet summary { list-style: none; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 16px; padding: 4px 0; }
.facet summary::-webkit-details-marker { display: none; }
.facet[open] summary .icon { transform: rotate(180deg); }
.facet summary .icon { transition: transform .2s; }
.facet-body { display: grid; gap: 2px; padding-top: 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; cursor: pointer; border-radius: 8px; }
.check input { appearance: none; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); display: grid; place-items: center; flex: none; margin: 0; background: #fff; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.check .n { margin-left: auto; color: var(--ink-faint); font-size: 13.5px; font-variant-numeric: tabular-nums; }
.check .swatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(13, 43, 78, .2); flex: none; }
.size-facet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding-top: 6px; }
.size-facet label { position: relative; }
.size-facet input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-facet label span { display: grid; place-items: center; height: 40px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-size: 13.5px; font-weight: 500; }
.size-facet label input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-facet input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.size-group-label { grid-column: 1 / -1; font-size: 13px; color: var(--ink-soft); font-weight: 500; margin-top: 8px; }
.more-wrap { display: grid; justify-items: center; gap: 12px; padding: 48px 0 8px; }
.more-wrap p { color: var(--ink-soft); font-size: 14.5px; }
.progress { width: 220px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); }
.empty { padding: 56px 0; display: grid; gap: 14px; justify-items: start; }
.empty h2 { font-family: var(--display); font-size: 30px; }
.empty p { color: var(--ink-soft); max-width: 50ch; }

/* ---------- product page ---------- */
.pdp { display: grid; gap: 22px; padding-top: 12px; }
@media (min-width: 960px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); gap: 56px; padding-top: 28px; } }
.gallery { min-width: 0; }
.gallery-main { position: relative; border-radius: var(--radius); background: var(--stage); overflow: hidden; }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { --pad: 9%; flex: 0 0 100%; margin: 0; scroll-snap-align: center; }
.gallery-count { position: absolute; right: 14px; bottom: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 13.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.gallery-step { position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: none; place-items: center; box-shadow: 0 6px 18px -8px rgba(13, 43, 78, .45); }
.gallery-step:hover { background: var(--lime); }
.gallery-step.prev { left: 14px; }
.gallery-step.next { right: 14px; }
@media (hover: hover) and (min-width: 960px) { .gallery-step { display: grid; } }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { --pad: 10%; flex: 0 0 72px; border-radius: 14px; background: var(--stage); border: 2px solid transparent; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.buy { display: grid; gap: 22px; align-content: start; }
@media (min-width: 960px) { .buy { position: sticky; top: calc(var(--header) + 20px); } }
.buy-head { display: grid; gap: 14px; }
.buy h1 { font-family: var(--display); font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.01em; line-height: 1.05; }
.buy .price { font-size: 22px; }
.option { display: grid; gap: 12px; }
.option-label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 15.5px; }
.option-label strong { font-weight: 700; }
.option-label .text-link { font-size: 14.5px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { --pad: 9%; width: 68px; border-radius: 16px; background: var(--stage); border: 2px solid transparent; transition: border-color .15s; }
.swatches button:hover { border-color: var(--line-strong); }
.swatches button[aria-checked="true"] { border-color: var(--ink); }
/* size picker: chart and system switches, clog-toe keys that light up their holes when picked */
.size-option { gap: 14px; }
.size-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.size-kind { font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.size-kind b { font-family: var(--display); font-weight: 500; color: var(--ink); }
.seg { position: relative; isolation: isolate; display: inline-grid; grid-template-columns: repeat(var(--n), 1fr); padding: 3px; border-radius: 999px; background: var(--stage); box-shadow: inset 0 0 0 1px rgba(13, 43, 78, .06); }
.seg::before {
  content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: calc((100% - 6px) / var(--n)); border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(13, 43, 78, .14), 0 6px 14px -8px rgba(13, 43, 78, .45);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .35s var(--ease);
}
.seg button { min-width: 46px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--ink-soft); transition: color .2s; }
.seg button:hover, .seg button[aria-checked="true"] { color: var(--ink); }
.fit-tabs { position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); max-width: 300px; border-bottom: 1px solid var(--line-strong, #d9dde2); }
.fit-tabs::after { content: ""; position: absolute; left: 0; bottom: -1px; width: calc(100% / var(--n)); height: 3px; background: var(--ink); transform: translateX(calc(var(--i) * 100%)); transition: transform .3s var(--ease); }
.fit-tabs button { height: 40px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.fit-tabs button[aria-checked="true"] { color: var(--ink); }
.sizes { display: grid; grid-template-columns: repeat(var(--cols-s, 5), minmax(0, 1fr)); gap: 10px; max-width: 470px; }
@media (min-width: 900px) { .sizes { grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); } }
.sizes.wide-keys .key-main { letter-spacing: -.03em; }
.size-group { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.size-group ~ .size-group { margin-top: 6px; }
.sizes button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  aspect-ratio: 1; min-height: 48px; padding: 4px; border-radius: 6px; border: 1px solid #b9bec4;
  background: #fff; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s;
}
.sizes button:hover { border-color: var(--ink); }
.key-main { font-weight: 500; font-size: 17px; line-height: 1; white-space: nowrap; }
.key-main small { font-size: .84em; margin-right: 1px; opacity: .55; }
.key-sub { font-size: 11px; line-height: 1; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.sizes.wide-keys button { aspect-ratio: auto; }
.sizes.wide-keys .key-main { font-size: 14px; }
.sizes button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sizes button[aria-checked="true"] .key-sub { color: rgba(255, 255, 255, .72); }
.sizes button[data-last] { border-color: var(--sky); border-style: dashed; }
.size-legend { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-soft); }
.size-legend i { width: 14px; height: 12px; border: 1.5px dashed var(--sky); border-radius: 6px 6px 4px 4px; }
.fit-meter { display: grid; gap: 9px; padding: 15px 16px 13px; border-radius: 18px; background: var(--stage); }
.fit-track {
  position: relative; height: 6px; margin: 5px 8px 0; border-radius: 6px;
  background: linear-gradient(90deg, rgba(13, 43, 78, .13) calc(33.33% - 2px), transparent 0 calc(33.33% + 2px), rgba(13, 43, 78, .13) 0 calc(66.66% - 2px), transparent 0 calc(66.66% + 2px), rgba(13, 43, 78, .13) 0);
}
.fit-dot { position: absolute; top: 50%; left: 84%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--lime), 0 4px 10px -2px rgba(13, 43, 78, .5); }
.fit-scale { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12.5px; font-weight: 500; color: var(--ink-soft); }
.fit-scale span:nth-child(2) { text-align: center; }
.fit-scale span:last-child { text-align: right; color: var(--ink); font-weight: 700; }
.fit-meter p { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.fit-meter p .icon { flex: none; color: var(--sky-ink); margin-top: 2px; }
.sizes.needs { animation: nudge .4s; }
.sizes.needs button { border-color: var(--coral); }
@keyframes nudge { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.size-msg { font-size: 14.5px; color: #b0362a; font-weight: 500; }
.size-msg:empty { display: none; }
.fit-note { font-size: 14.5px; color: var(--ink-soft); }
.buy-actions { display: grid; gap: 10px; }
.buy-actions .btn { min-height: 58px; font-size: 17px; }
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.assure li { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--radius-s); background: var(--stage); font-size: 13.5px; color: var(--ink-soft); line-height: 1.35; }
.assure li strong { display: block; color: var(--ink); font-size: 14px; margin-bottom: 2px; }
.assure .icon { color: var(--leaf); width: 24px; height: 24px; }
@media (max-width: 420px) { .assure { grid-template-columns: 1fr; } .assure li { grid-template-columns: 26px 1fr; align-items: center; } }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 18px 2px; cursor: pointer; font-weight: 700; font-size: 16.5px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { transition: transform .2s; }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc .acc-body { padding: 0 2px 20px; color: var(--ink-soft); font-size: 15.5px; display: grid; gap: 12px; max-width: 62ch; }
.acc .acc-body ul { display: grid; gap: 8px; }
.acc .acc-body li { display: grid; grid-template-columns: 14px 1fr; gap: 10px; }
.acc .acc-body li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime-press); margin-top: 9px; }
.sticky-buy {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 35;
  display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 8px; border-radius: 22px;
  background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(13, 43, 78, .08), 0 18px 40px -18px rgba(13, 43, 78, .45);
  -webkit-transform: translate3d(0, calc(100% + 40px), 0); transform: translate3d(0, calc(100% + 40px), 0);
  transition: transform .35s var(--ease); will-change: transform;
}
.sticky-buy.show { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.sticky-buy .sticky-info { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.sticky-buy .sticky-info strong { font-size: 15.5px; font-variant-numeric: tabular-nums; }
.sticky-buy .sticky-info span { font-size: 13px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy .btn { flex: none; min-height: 48px; padding: 0 20px; border-radius: 16px; }
@media (min-width: 960px) { .sticky-buy { display: none; } }

/* ---------- dialogs (drawers, sheets) ---------- */
dialog.drawer {
  margin: 0 0 0 auto; height: 100%; max-height: 100%; width: min(440px, 100%); max-width: 100%; padding: 0; border: 0;
  background: #fff; color: var(--ink); display: flex; flex-direction: column; overflow: hidden;
}
dialog.drawer:not([open]) { display: none; }
dialog.drawer.left { margin: 0 auto 0 0; }
dialog.drawer::backdrop { background: rgba(13, 43, 78, .42); }
@media (prefers-reduced-motion: no-preference) {
  dialog.drawer[open] { animation: slide-in .32s var(--ease); }
  dialog.drawer.left[open] { animation-name: slide-in-left; }
  dialog.drawer[open]::backdrop { animation: fade .3s; }
  @keyframes slide-in { from { transform: translateX(100%); } }
  @keyframes slide-in-left { from { transform: translateX(-100%); } }
  @keyframes fade { from { opacity: 0; } }
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-size: 26px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 12px; background: #fff; }
dialog.sheet { width: min(760px, calc(100% - 24px)); max-height: min(86vh, 900px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
dialog.sheet:not([open]) { display: none; }
dialog.sheet::backdrop { background: rgba(13, 43, 78, .42); }
@media (max-width: 700px) { dialog.sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92vh; } }

/* menu drawer */
.menu-group + .menu-group { margin-top: 26px; }
.menu-group h3 { font-size: 13.5px; color: var(--ink-soft); font-weight: 500; margin-bottom: 6px; }
.menu-group a { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.menu-group a .icon { color: var(--ink-faint); }
.menu-fans { display: flex; flex-wrap: wrap; gap: 8px; }
.menu-fans a { min-height: 40px; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 14px; font-size: 15px; }

/* bag */
.bag-status { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-s); background: #eef7d2; color: var(--leaf); font-weight: 500; font-size: 15px; margin-bottom: 16px; }
.bag-status:empty { display: none; }
.line-item { display: grid; grid-template-columns: 88px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item .li-stage { --pad: 9%; width: 88px; border-radius: 16px; background: var(--stage); }
.li-top { display: flex; justify-content: space-between; gap: 10px; }
.li-title { font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.li-meta { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
.li-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 999px; height: 38px; }
.qty button { width: 36px; height: 100%; display: grid; place-items: center; border-radius: 999px; }
.qty button:hover { background: var(--stage); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.li-remove { font-size: 13.5px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.subtotal { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; }
.foot-note { font-size: 13.5px; color: var(--ink-soft); }
.ship-goal { display: grid; gap: 7px; }
.ship-goal p { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--ink-soft); }
.ship-goal p strong { color: var(--ink); }
.ship-goal.is-on p, .ship-goal.is-on p strong { color: var(--leaf); }
.ship-track { height: 6px; border-radius: 6px; background: var(--stage-deep); overflow: hidden; }
.ship-track span { display: block; height: 100%; border-radius: inherit; background: var(--lime); transition: width .4s var(--ease); }
.checkout-msg { font-size: 14px; color: var(--ink); background: var(--stage); border-radius: 12px; padding: 10px 12px; }
.checkout-msg:empty { display: none; }
.bag-empty { display: grid; gap: 14px; justify-items: start; padding-top: 8px; }
.bag-empty h3 { font-family: var(--display); font-size: 26px; }
.bag-empty p { color: var(--ink-soft); }
.addons { margin-top: 24px; }
.addons h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.addons p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.addon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.addon { display: grid; gap: 6px; font-size: 13px; }
.addon .li-stage { --pad: 11%; width: 100%; border-radius: 14px; background: var(--stage); }
.addon button { height: 32px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 13px; }
.addon button:hover { border-color: var(--ink); }

/* search */
.search-box { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); }
.search-box input { flex: 1; height: 50px; border: 0; outline: 0; font-size: 19px; font-weight: 500; background: none; min-width: 0; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-body { overflow-y: auto; padding: 18px 20px 24px; }
.search-body h3 { font-size: 14px; color: var(--ink-soft); font-weight: 500; margin-bottom: 10px; }
.suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hits { display: grid; gap: 4px; }
.hit { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 6px; border-radius: 14px; }
.hit:hover, .hit[aria-selected="true"] { background: var(--stage); }
.hit .li-stage { --pad: 9%; width: 64px; border-radius: 12px; background: var(--stage); }
.hit:hover .li-stage { background: #fff; }
.hit-title { font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.hit-kind { font-size: 13.5px; color: var(--ink-soft); }
.search-all { margin-top: 14px; }
mark { background: #eaf6b8; color: inherit; border-radius: 3px; padding: 0 1px; }

/* filters sheet (mobile) */
.filters-sheet .drawer-body { padding-top: 6px; }
.filters-sheet .drawer-foot { grid-template-columns: auto 1fr; align-items: center; }

/* size guide */
.table-scroll { overflow-x: auto; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 10px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.size-table th { font-weight: 700; background: var(--stage); }
.size-table tr:first-child th:first-child { border-top-left-radius: 10px; }
.guide-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.size-table td, .size-table tbody th { white-space: nowrap; }
@media (max-width: 480px) { .size-table { font-size: 14px; } .size-table th, .size-table td { padding: 9px 7px; } }
@media (max-width: 374px) { .size-table th, .size-table td { padding-inline: 5px; } }
.guide-note { margin-top: 14px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 8px; }

/* info pages */
.prose { max-width: 720px; padding-block: 8px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; font-size: 17px; }
.prose h2 { font-family: var(--display); font-size: 28px; margin-top: 18px; }
.prose p { color: var(--ink-soft); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary .icon { transition: transform .2s; flex: none; }
.faq p { padding-bottom: 18px; color: var(--ink-soft); }

/* not found */
.lost { display: grid; justify-items: start; gap: 16px; padding-block: 72px; }
.lost h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); line-height: 1; }
.lost p { color: var(--ink-soft); font-size: 18px; max-width: 46ch; }
.lost img { width: 140px; }

/* footer */
.site-footer { margin-top: 80px; background: var(--stage); }
.footer-grid { display: grid; gap: 32px; padding-block: 48px 28px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 14px; color: var(--ink-soft); max-width: 34ch; font-size: 15px; }
.footer-col h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.footer-col a { display: block; padding: 5px 0; color: var(--ink-soft); font-size: 15px; }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { border-top: 1px solid var(--line-strong); padding-block: 20px 28px; font-size: 13px; color: var(--ink-faint); display: grid; gap: 6px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 500; font-size: 15px; box-shadow: 0 12px 30px -12px rgba(13, 43, 78, .5); }
.toast:empty { display: none; }

/* loading */
.loading { min-height: 60vh; display: grid; place-items: center; color: var(--ink-soft); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- authorized dealer badge ---------- */
.dealer {
  position: relative; display: inline-flex; align-items: center; gap: 6px; width: fit-content; max-width: 100%;
  padding: 4px 8px 4px 9px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #fbfef3 0%, #f1f8de 100%); color: #2f5a00;
  box-shadow: inset 0 0 0 1px #7fb21f, 0 1px 0 rgba(255, 255, 255, .9) inset, 0 4px 12px -9px rgba(79, 122, 0, .5);
}
.dealer::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%) no-repeat; background-size: 260% 100%; background-position: 160% 0;
}
@media (prefers-reduced-motion: no-preference) { .dealer::after { animation: sheen 1.8s .5s var(--ease) both; } @keyframes sheen { to { background-position: -60% 0; } } }
.dealer-logo { height: 10px; width: auto; display: block; }
.dealer-rule { width: 1px; height: 10px; background: #a9cc5c; border-radius: 1px; }
.dealer-text { font-weight: 700; font-size: 10.5px; line-height: 1; color: #1f4a00; letter-spacing: .02em; white-space: nowrap; }
.dealer-mark { position: relative; display: inline-grid; place-items: center; width: 13px; height: 13px; }
.dealer-check { width: 12px; height: 12px; color: #4f8a10; }
.dealer-spark { position: absolute; right: -5px; top: -5px; width: 7px; height: 7px; color: #9ccc3c; }

/* ---------- product page details ---------- */
.option-count { font-size: 14px; color: var(--ink-soft); }
.text-link.with-icon { display: inline-flex; align-items: center; gap: 6px; }
.fit-note { display: flex; gap: 8px; align-items: flex-start; }
.fit-note .icon { color: var(--sky-ink); margin-top: 2px; }
.btn-add { justify-content: space-between; padding: 0 26px; }
.btn-add > .icon { margin-right: -2px; }
.btn-add > span:first-of-type { margin-right: auto; }
.btn-price { font-variant-numeric: tabular-nums; opacity: .8; font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.features:empty { display: none; }
.feature { display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line); text-align: center; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.feature-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #eef7d2; color: #3d7300; }
.feature-icon .icon { width: 24px; height: 24px; }
.gallery-main.fade-in figure img { animation: photo-in .35s var(--ease); }
@keyframes photo-in { from { opacity: 0; transform: scale(.97); } }
.thumbs button { position: relative; }
.thumb-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 43, 78, .62); color: #fff; font-weight: 700; font-size: 15px; border-radius: 12px; }
.sticky-buy img { width: 48px; height: 48px; flex: none; object-fit: contain; border-radius: 14px; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px var(--line); }

/* card: second angle on hover */
.card-stage > .card-alt { opacity: 0; transition: opacity .3s var(--ease); }
@media (hover: hover) { .card:hover .card-alt[src] { opacity: 1; } .card:hover .card-alt[src] ~ .card-flag, .card:hover .card-img:has(+ .card-alt[src]) { opacity: 0; } }

/* add to bag flight */
.fly-ghost { position: fixed; z-index: 80; object-fit: contain; pointer-events: none; }

/* page transitions (shared product photo) */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(product-shot) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }

/* ---------- editorial stories ---------- */
.story { display: grid; gap: 22px; align-items: center; }
.story-media { display: block; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 16 / 10; background: var(--stage); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.story-media:hover img { transform: scale(1.035); }
.story-copy h2 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: .98; letter-spacing: -.018em; }
.story-copy p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; max-width: 34ch; }
.story-copy .btn { margin-top: 26px; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 64px; }
  .story.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
  .story.flip .story-media { order: 2; }
}

/* Safari: no blend modes inside the top layer or fixed bars; white stages instead */
dialog .li-stage { background: #fff !important; box-shadow: inset 0 0 0 1px var(--line); }
dialog .li-stage > img { mix-blend-mode: normal; }
.size-system { display: inline-block; padding: 1px 7px; margin-left: 2px; border-radius: 6px; background: var(--stage); font-size: 12px; font-weight: 700; letter-spacing: .02em; vertical-align: 1px; }
.buy { align-self: start; }
.site-header { -webkit-backdrop-filter: saturate(1.4) blur(10px); }

/* ---------- official logos and limited edition ---------- */
.hero-dealer img { height: 15px; width: auto; display: block; margin-right: -2px; }
.collab-logo-plate { display: inline-flex; align-items: center; height: 64px; max-width: 70%; }
.collab-logo { max-width: 100%; width: auto; object-fit: contain; object-position: left center; filter: drop-shadow(0 2px 6px rgba(255, 255, 255, .6)); }
.collab.wide .collab-logo-plate { height: 84px; }
.collab img.collab-logo { position: static; width: auto; height: calc(46px * var(--ls, 1)); max-height: 60px; transform: none; z-index: auto; }
.collab.wide img.collab-logo { height: calc(62px * var(--ls, 1)); max-height: 80px; }
.collection-logo { margin-bottom: 14px; }
.collection-logo img { height: calc(54px * var(--ls, 1)); width: auto; max-width: 100%; object-fit: contain; object-position: left center; display: block; }
.brand-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.pdp-collab-logo { height: calc(36px * var(--ls, 1)); width: auto; max-width: 100%; object-fit: contain; object-position: left center; display: block; }
.collab-text { font-family: var(--display); font-weight: 700; font-size: 18px; }
.card-flag.limited {
  z-index: 2; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px 3px 6px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; line-height: 1.2; letter-spacing: .01em;
  background: linear-gradient(135deg, #0d2b4e 0%, #1d4a7d 100%); color: #fff; box-shadow: 0 4px 10px -6px rgba(13, 43, 78, .8);
}
.card-flag.limited .icon { width: 9px; height: 9px; color: var(--lime); }
.card-flag.gallery-flag { left: 14px; top: 14px; }

/* ---------- pair deal: a perforated clog strap that fills up, in the bag and docked on collections ---------- */
.goal { display: grid; gap: 12px; }
.goal-msg { font-size: 14px; line-height: 1.35; color: var(--ink); }
.goal-msg strong { font-weight: 800; }
.goal-track {
  --holes: radial-gradient(circle at 6px 50%, rgba(13, 43, 78, .14) 1.7px, transparent 2.2px) 0 0 / 12px 100% repeat-x;
  position: relative; height: 12px; margin-right: 17px; border-radius: 12px;
  background: var(--holes), #fff; box-shadow: inset 0 0 0 1px rgba(13, 43, 78, .08);
}
.goal-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--progress, 0%); border-radius: inherit;
  background: radial-gradient(circle at 6px 50%, rgba(13, 43, 78, .3) 1.7px, transparent 2.2px) 0 0 / 12px 100% repeat-x, var(--lime);
  box-shadow: inset 0 -2px 0 rgba(13, 43, 78, .08);
  transition: width .8s var(--ease);
}
.goal-node {
  position: absolute; top: 50%; left: var(--at); z-index: 1; display: grid; place-items: center;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: #fff; color: var(--ink-soft); box-shadow: 0 0 0 1.5px rgba(13, 43, 78, .12), 0 6px 14px -8px rgba(13, 43, 78, .5);
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.goal-node .icon { width: 18px; height: 18px; }
.goal-node.is-on { background: var(--ink); color: var(--lime); box-shadow: 0 0 0 2px var(--lime), 0 8px 18px -8px rgba(13, 43, 78, .7); }
.goal-node.pop { animation: goal-pop .7s var(--ease) .5s both; }
@keyframes goal-pop { 40% { transform: scale(1.3) rotate(-8deg); } }
.goal-label { position: absolute; top: calc(100% + 7px); left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; color: var(--ink-soft); }
.goal-node:last-of-type .goal-label { left: auto; right: 0; transform: none; }
.goal-node.is-on .goal-label { color: var(--ink); }
.goal:not(.is-compact) .goal-track { margin-bottom: 21px; }
.goal.is-compact { gap: 9px; }
.goal.is-compact .goal-msg { font-size: 13px; }
.goal.is-compact .goal-track { height: 10px; margin-right: 13px; background: var(--holes), #e8ebe2; box-shadow: none; }
.goal.is-compact .goal-node { width: 26px; height: 26px; margin: -13px 0 0 -13px; }
.goal.is-compact .goal-node .icon { width: 14px; height: 14px; }
.bag-goal { padding: 14px 22px 16px; background: var(--stage); border-bottom: 1px solid var(--line); }
.goal-dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  display: flex; align-items: center; gap: 14px; max-width: 520px; margin: 0 auto; padding: 12px 10px 13px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(13, 43, 78, .08), 0 18px 40px -18px rgba(13, 43, 78, .5);
  animation: dock-in .55s var(--ease) both;
}
.goal-dock[hidden] { display: none; }
@keyframes dock-in { from { transform: translateY(calc(100% + 24px)); } }
.goal-dock .goal { flex: 1; min-width: 0; }
.goal-bag { position: relative; flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--ink); color: #fff; }
.goal-bag span { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 800; box-shadow: 0 0 0 2px #fff; }
.goal-bag span:empty { display: none; }
.has-dock .site-footer { padding-bottom: 104px; }
.li-deal { display: inline-flex; flex-direction: column-reverse; align-items: flex-end; gap: 1px; white-space: nowrap; color: var(--leaf); }
.li-deal s { font-weight: 500; font-size: 13px; color: var(--ink-soft); }
.gift-line .li-stage { position: relative; }
.gift-flag { position: absolute; left: 6px; top: 6px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.gift-flag .icon { width: 15px; height: 15px; }
.gift-pick { margin-top: 16px; padding: 14px; border-radius: 18px; background: var(--stage); }
.gift-pick h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.gift-list { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.gift-list::-webkit-scrollbar { display: none; }
.gift-list button { flex: 0 0 88px; display: grid; align-content: start; gap: 6px; text-align: left; scroll-snap-align: start; }
.gift-list .li-stage { --pad: 10%; width: 88px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.gift-list button[aria-checked="true"] .li-stage { box-shadow: inset 0 0 0 2px var(--ink); }
.gift-name { font-size: 12.5px; font-weight: 500; line-height: 1.25; color: var(--ink-soft); }
.gift-list button[aria-checked="true"] .gift-name { color: var(--ink); }
.sum-rows { display: grid; gap: 6px; font-size: 14.5px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-soft); }
.sum-row span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.sum-row.is-deal { color: var(--leaf); font-weight: 700; }
.sum-row .icon { width: 17px; height: 17px; }

/* ---------- holiday shop: campaign photo with the offer, then a gift guide ---------- */
.holiday { margin-top: 40px; }
.holiday-card { position: relative; isolation: isolate; display: grid; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--ink); color: #fff; }
.holiday-media { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.holiday-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.holiday-card:hover .holiday-media img { transform: scale(1.025); }
.holiday-copy { display: grid; justify-items: start; gap: 12px; padding: 24px 22px 26px; }
.holiday-title { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 62px); line-height: .98; letter-spacing: -.018em; }
.holiday-text { color: rgba(255, 255, 255, .84); font-size: 17px; max-width: 32ch; }
.holiday-copy .btn { margin-top: 10px; }
@media (min-width: 900px) {
  .holiday-media { aspect-ratio: 2400 / 873; }
  .holiday-card::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(270deg, rgba(6, 18, 36, .82) 0%, rgba(6, 18, 36, .5) 30%, rgba(6, 18, 36, 0) 52%); }
  .holiday-copy { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: min(42%, 500px); align-content: center; padding: 40px 52px 40px 12px; }
}
.gift-guide { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 40%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.gift-guide::-webkit-scrollbar { display: none; }
.gift-tile { display: grid; gap: 10px; scroll-snap-align: start; }
.gift-photo { display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--stage); }
.gift-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gift-tile:hover .gift-photo img { transform: scale(1.04); }
.gift-label { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.1; }
@media (min-width: 900px) { .gift-guide { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; } }

/* ---------- sale prices: full price struck through, then the sale price and the saving in green ---------- */
.price-pair { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 7px; font-variant-numeric: tabular-nums; }
.was { font-weight: 700; color: var(--ink); text-decoration-thickness: 1.5px; }
.price.is-sale { color: var(--leaf); }
.card-row .was { font-size: 14.5px; }
.price-line .was { font-size: 22px; }

/* ---------- spell it in charms (product page) ---------- */
.spell { border-radius: var(--radius); background: var(--stage); }
.spell > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.spell > summary::-webkit-details-marker { display: none; }
.spell-badge { flex: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--leaf); }
.spell-badge .icon { width: 24px; height: 24px; }
.spell-head { display: grid; gap: 2px; min-width: 0; }
.spell-title { font-family: var(--display); font-weight: 500; font-size: 19px; line-height: 1.15; }
.spell-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.35; }
.spell-chev { flex: none; margin-left: auto; transition: transform .2s; }
.spell[open] .spell-chev { transform: rotate(180deg); }
.spell-body { display: grid; gap: 18px; padding: 2px 18px 18px; }
.spell .swatches button { width: 60px; background: #fff; }
.spell-field { display: grid; gap: 10px; }
.spell-input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink);
  font: 700 19px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.spell-input::placeholder { color: var(--ink-faint); font: 500 16px/1 var(--text); letter-spacing: .01em; text-transform: none; }
.spell-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 152, 224, .22); }
.spell-input[aria-invalid="true"] { border-color: #b0362a; }
.spell-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(176, 54, 42, .16); }
.spell-msg { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; font-weight: 500; color: #b0362a; line-height: 1.4; }
.spell-msg:empty { display: none; }
.spell-msg .icon { flex: none; margin-top: 2px; }
.spell-msg .text-link { color: var(--ink); font-size: inherit; }
.spell-avail { display: grid; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 14.5px; }
.spell-avail p { display: flex; gap: 10px; letter-spacing: .08em; }
.spell-avail strong { flex: none; width: 64px; letter-spacing: 0; }
.spell-avail .spell-avail-note { display: block; letter-spacing: 0; color: var(--ink-soft); font-size: 13.5px; }
.spell-tray-wrap { display: grid; gap: 10px; }
.spell-tray-label { font-size: 15.5px; }
.spell-tray { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 50px; }
.spell-tile { position: relative; flex: none; width: 46px; height: 46px; border-radius: 12px; background: #fff; }
.spell-tile img { position: absolute; inset: 5px; width: calc(100% - 10px); height: calc(100% - 10px); object-fit: contain; mix-blend-mode: multiply; }
.spell-tile.is-out { display: grid; place-items: center; border: 1.5px dashed #b0362a; background: #fff6f4; color: #b0362a; font: 700 19px/1 var(--display); }
.spell-gap { flex: none; width: 14px; }
.spell-empty { font-size: 14.5px; color: var(--ink-faint); }
@media (prefers-reduced-motion: no-preference) {
  .spell-tile.is-new { animation: tile-in .3s var(--ease); }
  @keyframes tile-in { from { opacity: 0; transform: translateY(6px) scale(.7); } }
}

/* Holiday promotion and Crocs fan gallery */
.weekend-sale { background: #7dd322; color: #141414; }
.weekend-sale[hidden] { display: none; }
.weekend-sale-inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 2px 22px; padding: 8px 12px; text-align: center;
}
.weekend-sale-link { font: 400 15px/1.3 var(--display); }
.weekend-sale-link strong { margin-left: 6px; font-weight: 900; }
.weekend-sale-link:hover { text-decoration: underline; }
.weekend-sale-countdown {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font: 400 12px/1.4 var(--text);
}
.weekend-sale-clock { min-width: 10ch; font-weight: 700; font-variant-numeric: tabular-nums; }
.fan-gallery-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 14px;
}
.fan-gallery-heading h2 { font: 700 clamp(22px, 3vw, 32px)/1.15 var(--display); }
.fan-gallery-instagram { flex: 0 0 auto; }
.fan-gallery-body {
  position: relative; border-radius: var(--radius-s); padding: 14px;
  background: #f5f3f6;
}
.fan-gallery-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(124px, 16vw, 172px);
  gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 9px;
  scrollbar-width: thin; scrollbar-color: var(--ink) transparent;
}
.fan-gallery-track img {
  width: 100%; height: auto; aspect-ratio: 8 / 9; object-fit: cover;
  border-radius: 8px; scroll-snap-align: start; background: #eae7ec;
}
.fan-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .14); color: var(--ink);
}
.fan-gallery-arrow[data-fan-gallery="-1"] { left: 5px; }
.fan-gallery-arrow[data-fan-gallery="1"] { right: 5px; }
.fan-gallery-arrow:disabled { visibility: hidden; }
.fan-gallery-arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- reviews imported from crocs.com ---------- */
.rv-jump { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); }
.rv-jump button { color: var(--sky-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.rv-jump button:hover { color: var(--ink); }
.reviews .section-head p { max-width: 62ch; }
.reviews h2:focus { outline: none; }
.rv-grid { columns: 2; column-gap: 10px; }
@media (min-width: 760px) { .rv-grid { columns: 3; column-gap: 16px; } }
@media (min-width: 1120px) { .rv-grid { columns: 4; } }
.rv-card { display: inline-block; width: 100%; margin: 0 0 10px; vertical-align: top; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; background: #fff; }
@media (min-width: 760px) { .rv-card { margin-bottom: 16px; } }
.rv-media { position: relative; display: block; width: 100%; aspect-ratio: 1; background: var(--stage); cursor: zoom-in; }
.rv-media img { width: 100%; height: 100%; object-fit: cover; }
.rv-media:focus-visible { outline-offset: -3px; border-radius: 0; }
.rv-play { position: absolute; inset: 0; display: grid; place-items: center; }
.rv-play .icon { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: rgba(13, 43, 78, .74); color: #fff; }
.rv-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(13, 43, 78, .8); color: #fff; font-size: 12.5px; font-weight: 700; }
.rv-body { display: grid; justify-items: start; gap: 6px; padding: 12px 13px 13px; }
.rv-stars { display: inline-flex; gap: 1px; }
.rv-star { width: 15px; height: 15px; color: var(--line-strong); }
.rv-star.on { color: var(--ink); }
.rv-body h3 { font-size: 15.5px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.rv-text { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); white-space: pre-line; overflow-wrap: anywhere; }
.rv-text.clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.rv-read { font-size: 13.5px; font-weight: 500; color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.rv-meta { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 13px; color: var(--ink-faint); }
.rv-meta strong { color: var(--ink); font-weight: 500; }
.rv-tag { padding: 1px 8px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11.5px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.rv-foot { display: flex; justify-content: center; margin-top: 8px; }
@media (max-width: 559px) {
  .rv-body { padding: 10px 10px 11px; }
  .rv-body h3 { font-size: 14.5px; }
  .rv-text { font-size: 13.5px; }
}

dialog.viewer { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 22, 40, .95); color: #fff; }
dialog.viewer:not([open]) { display: none; }
dialog.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
dialog.viewer::backdrop { background: transparent; }
.viewer-stage { display: flex; align-items: center; justify-content: center; min-height: 0; height: 100%; padding: 68px 64px 6px; overflow: hidden; }
.viewer-stage img, .viewer-stage video { max-width: min(100%, 900px); max-height: 100%; max-height: min(100%, calc(100dvh - 150px)); border-radius: 12px; background: #000; object-fit: contain; }
.viewer-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; padding: 12px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 14px; }
.viewer-cap .rv-star { color: rgba(255, 255, 255, .3); }
.viewer-cap .rv-star.on { color: #fff; }
.viewer-cap .rv-tag { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .4); }
.viewer-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.viewer-btn:hover { background: rgba(255, 255, 255, .26); }
.viewer-btn:focus-visible { outline-color: #fff; }
.viewer-close { top: 12px; right: 12px; }
.viewer-step { top: 50%; margin-top: -48px; }
.viewer-step.prev { left: 10px; }
.viewer-step.next { right: 10px; }
@media (max-width: 559px) {
  .viewer-stage { padding: 68px 8px 6px; }
  .viewer-step { width: 44px; height: 44px; margin-top: -44px; background: rgba(8, 22, 40, .55); }
  .viewer-step.prev { left: 6px; }
  .viewer-step.next { right: 6px; }
}

/* ---------- sold out (catalog "x") ---------- */
.card-flag.is-out { background: var(--ink); color: #fff; }
.swatches button.is-out > img { opacity: .4; }
.swatches button.is-out::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top right, transparent calc(50% - 1px), var(--ink-soft) calc(50% - 1px), var(--ink-soft) calc(50% + 1px), transparent calc(50% + 1px));
}
.out-note { margin-left: 10px; font-size: 13.5px; font-weight: 700; }
.btn-out { background: var(--stage); color: var(--ink-soft); box-shadow: inset 0 0 0 1px var(--line); }
.btn-out[disabled] { opacity: 1; }
.line-item.is-out .li-stage > img { opacity: .45; }
.li-out { flex: none; font-size: 13.5px; font-weight: 700; }
.li-note { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); }

/* Product-first typography and spacing */
:root { --ink: #171717; --ink-soft: #626262; --ink-faint: #777; --stage: #f7f7f7; --stage-deep: #efefef; --line: #e6e6e6; --line-strong: #ccc; --radius: 6px; --radius-s: 4px; }
body { font-synthesis: none; }
h1, h2, h3, h4 { font-weight: 400; }
.section-head h2, .page-head h1, .fan-gallery-heading h2 { font-family: var(--display); font-weight: 700; }
.main-nav a, .nav-pop a, .text-link, .btn, .sort select, .chip, .facet summary, .acc summary, .footer-col h3 { font-weight: 500; }
.hero h1 { font-size: clamp(44px, 6.5vw, 82px); line-height: 1; }
.hero-grid { gap: 28px; }
.hero-copy > p { max-width: 42ch; }
.hero-dealer { font-weight: 500; }
.section-head p { max-width: 52ch; font-size: 14px; }
.card { gap: 12px; }
.card-stage { --pad: 6%; border-radius: 3px; background: #f7f7f7; }
.card:hover .card-stage img { transform: scale(1.025); }
.card-body { gap: 8px; padding: 0 2px; }
.card-title { font-family: var(--text); font-size: 15px; font-weight: 400; line-height: 1.4; }
.card-title a::after { border-radius: 3px; }
.card-row { align-items: flex-start; flex-direction: column; justify-content: flex-start; gap: 9px; }
.card .price-pair { gap: 8px; font-size: 15px; }
.card .price { font-family: var(--text); font-weight: 500; }
.card .was { font-size: 14px; color: #777; font-weight: 400; text-decoration-thickness: 1px; }
.card .dots { gap: 5px; }
.card .dots-more { font-weight: 400; font-size: 12px; }
.card-flag { border-radius: 2px; font-weight: 500; font-size: 11px; padding: 4px 7px; }
.buy h1 { font-family: var(--text); font-weight: 500; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.was { font-weight: 400; }
.price { font-family: var(--display); font-weight: 700; }
@media (max-width: 599px) {
 .card-title { font-size: 14px; }
 .card .price-pair { font-size: 14px; gap: 6px; }
 .card .was { font-size: 13px; }
 .section { padding-top: 36px; }
}

/* Logo-only collaboration tiles */
.collabs { grid-auto-columns: 150px; gap: 14px; }
.collab.collab-logo-only {
  display: flex; align-items: center; justify-content: center; padding: 20px;
  min-height: 140px; background: #fff; color: #171717;
  border: 1px solid #ededed; border-radius: 4px;
}
.collab-logo-only .collab-logo-plate { height: 90px; max-width: 100%; justify-content: center; width: 100%; }
.collab-logo-only img.collab-logo {
  width: auto; height: auto; max-width: 100%; max-height: 85px;
  object-position: center; filter: none; transform: none;
}
.collab-logo-only[href="/collections/star-wars"] { background: #171717; }
.collab-logo-only .collab-name { font-size: 24px; }
@media (min-width: 900px) {
  .collabs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- crocs.com rating under the product title (catalog "rt") ---------- */
.rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: -6px; font-size: 14.5px; color: var(--ink-soft); }
.rating-line strong { color: var(--ink); font-weight: 700; }
.rating-stars { position: relative; display: inline-flex; flex: none; line-height: 0; }
.rating-stars > span { display: inline-flex; gap: 2px; }
.rating-stars .rs-base { color: var(--line-strong); }
.rating-stars .rs-on { position: absolute; top: 0; left: 0; width: var(--fill); overflow: hidden; color: var(--ink); }
.rating-stars svg { width: 16px; height: 16px; flex: none; }
