/* ==========================================================================
   Resale Store — dark editorial storefront
   Layout mirrors a Shopify sneaker collection: 4-up grid, 20px column gap,
   40px row gap, borderless tiles, quiet grey product names.
   ========================================================================== */

:root {
  --bg: #0b0b0d;
  --surface: #141417;
  --surface-2: #1c1c21;
  --line: #26262d;
  --line-strong: #3a3a44;
  --text: #f4f4f6;
  --muted: #8b8b96;
  --muted-2: #6a6a75;
  --accent: #d6ff3f;
  --radius: 2px;
  --max: 1180px;
  --gutter: 20px;
  --row-gap: 40px;
  --font: "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   header
   -------------------------------------------------------------------------- */
.site-header {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.site-header .brand {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.site-nav a {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-header .stock {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}

.site-header .back {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-header .back:hover {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   collection head
   -------------------------------------------------------------------------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 80px;
}

.collection-head {
  padding: 56px 0 34px;
}

.collection-head h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.collection-head .lede {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   filter bar
   -------------------------------------------------------------------------- */
.filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* The search grows to fill leftover space but is capped so the pills and the
   reset link stay on the same row at desktop widths. */
.filters .search {
  flex: 1 1 200px;
  max-width: 320px;
  min-width: 160px;
  appearance: none;
  background: transparent;
  color: var(--text);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 9px 2px;
  font: inherit;
  font-size: 13px;
}

.filters .search::placeholder {
  color: var(--muted-2);
}

.filters .search:focus {
  outline: none;
  border-bottom-color: var(--text);
}

.filters .field {
  position: relative;
  display: inline-flex;
}

.filters .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  white-space: nowrap;
  transition: border-color 0.15s ease, background 0.15s ease;
}

/* The chevron is a rotated square. It needs its own left margin because the
   pill's flex gap does not apply between a text node and a pseudo-element. */
.filters .pill::after {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-left: 2px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.55;
}

.filters .field:hover .pill,
.filters .field:focus-within .pill {
  border-color: var(--text);
  background: var(--surface);
}

/* The real <select> sits invisibly on top of the pill so keyboard access and
   the existing change listeners keep working. */
.filters select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font: inherit;
  border: 0;
  background: transparent;
  color: var(--text);
}

.filters .reset {
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 9px 2px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.filters .reset:hover {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}

/* Collection link block: the internal link graph that makes the brand and
   model pages crawlable. Kept visually quiet so it reads as navigation, not
   as a wall of SEO links. */
.collection-links-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px 32px;
  padding: 22px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 22px;
}

.collection-links-group h2 {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}

.collection-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.collection-links li {
  font-size: 13px;
}

.collection-links a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.collection-links a:hover {
  border-bottom-color: var(--line-strong);
}

.collection-links .n {
  color: var(--muted-2);
  font-size: 11px;
}

.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 0;
}

.result-count {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   grid + card
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--row-gap);
  margin-top: 28px;
}

.card {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}

.card[hidden] {
  display: none;
}

.card .media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--surface-2);
  overflow: hidden;
}

.card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .media img {
  transform: scale(1.035);
}

/* Hairline frame on hover, drawn inside the tile so it never shifts layout. */
.card .media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.2s ease;
  pointer-events: none;
}

.card:hover .media::after {
  border-color: var(--line-strong);
}

.card .body {
  padding-top: 12px;
}

.card .vendor {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card h3 {
  margin: 3px 0 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.card:hover h3 {
  color: var(--text);
}

.card .price {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}

.card .badges {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.card .badge + .badge::before {
  content: "·";
  margin-right: 6px;
}

.noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty {
  grid-column: 1 / -1;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   load more
   -------------------------------------------------------------------------- */
.load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 48px 0 0;
}

.load-more {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 28px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.load-more:hover {
  border-color: var(--text);
  background: var(--surface);
}

/* --------------------------------------------------------------------------
   newsletter
   -------------------------------------------------------------------------- */
.newsletter {
  margin-top: 72px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.newsletter p {
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 440px;
}

.newsletter-form input {
  flex: 1 1 220px;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 11px 14px;
  font: inherit;
  font-size: 13px;
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: var(--muted-2);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--text);
}

.newsletter-form button {
  appearance: none;
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  border-radius: var(--radius);
  padding: 11px 22px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 26px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--text);
}

.breadcrumb span[aria-current] {
  color: var(--text);
}

/* --------------------------------------------------------------------------
   detail page
   -------------------------------------------------------------------------- */
.detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  padding-top: 28px;
  align-items: start;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Portrait phone photos can be 3:4 or taller; capping the height keeps the
   buy panel reachable without cropping the product. */
.gallery img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 0;
  background: var(--surface-2);
}

.info {
  position: sticky;
  top: 96px;
}

.info .vendor {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.info h1 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.info .price {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 400;
}

.info .condition {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.buy-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0 0;
}

.buy {
  display: block;
  text-align: center;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.buy:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

/* Primary checkout action. Filled rather than outlined so it reads as the
   main path, with the marketplace links demoted beneath it. */
.buy-primary {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--text);
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.buy-primary:hover:not(:disabled) {
  background: transparent;
  color: var(--text);
}

.buy-primary:disabled {
  opacity: 0.55;
  cursor: progress;
}

/* Secondary cart action: outlined so Buy now stays the loudest thing on the
   page, but still a full-width tap target on mobile. */
.add-to-cart {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.add-to-cart:hover:not(:disabled) {
  border-color: var(--text);
}

.add-to-cart:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.add-to-cart.in-cart {
  border-color: var(--text);
  opacity: 0.75;
}

.stock-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Cart badge in the header nav. */
.cart-link {
  position: relative;
}

.cart-count {
  display: inline-block;
  min-width: 17px;
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  vertical-align: 1px;
}

/* ------------------------------------------------------------------ */
/* cart page                                                          */
/* ------------------------------------------------------------------ */
.cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.cart-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  display: block;
  width: 84px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-body {
  min-width: 0;
}

.cart-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.cart-title:hover {
  text-decoration: underline;
}

.cart-meta {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.cart-flag {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text);
  opacity: 0.8;
}

.cart-price {
  margin: 0;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-remove {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-remove:hover {
  border-color: var(--line-strong);
  color: var(--text);
}

.cart-summary {
  margin: 26px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  max-width: 420px;
  margin-left: auto;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-total strong {
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cart-note {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
}

.cart-clear {
  display: block;
  width: 100%;
  margin: 12px 0 0;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-clear:hover {
  color: var(--text);
}

.cart-empty {
  margin: 30px 0;
  font-size: 14px;
  color: var(--muted);
}

.cart-empty a {
  color: var(--text);
}

@media (max-width: 620px) {
  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .cart-thumb {
    width: 64px;
  }

  .cart-remove {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

.buy-error {
  margin: 10px 0 0;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.buy-alt {
  margin: 18px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.buy-alt-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.soldout {
  margin: 0;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* trust block */
.trust {
  list-style: none;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.trust li {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}

.trust strong {
  display: block;
  font-weight: 500;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

/* facts table */
.facts {
  display: grid;
  grid-template-columns: minmax(96px, auto) 1fr;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.facts dt {
  color: var(--muted-2);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}

.facts dd {
  margin: 0;
  color: var(--text);
}

.description {
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* share */
.share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-label {
  color: var(--muted-2);
}

.share a,
.share button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.share a:hover,
.share button:hover {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}

/* related */
.related {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.related-head {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.related-grid {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   prose (policy pages)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 68ch;
  padding-top: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 14px;
}

.prose a {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
}

.prose a:hover {
  border-bottom-color: var(--text);
}

.prose .btn {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.prose .btn:hover {
  background: var(--text);
  color: var(--bg);
}

/* --------------------------------------------------------------------------
   footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter) 32px;
}

.footer-col p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.footer-name {
  font-size: 14px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text) !important;
  margin-bottom: 12px !important;
}

.footer-head {
  font-size: 11px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2) !important;
  margin-bottom: 14px !important;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.footer-col li {
  font-size: 13px;
  color: var(--muted);
}

.footer-col a:hover {
  color: var(--text);
}

.footer-base {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-base p {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-base .fine {
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info {
    position: static;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 14px;
    --row-gap: 30px;
  }

  .site-header {
    gap: 16px;
    padding: 16px var(--gutter);
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 16px;
  }

  .collection-head {
    padding: 34px 0 24px;
  }

  .filters .search {
    flex-basis: 100%;
    max-width: none;
  }

  .filters .reset {
    margin-left: 0;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
  }

  .footer-base {
    flex-direction: column;
    gap: 6px;
  }

  .related {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  .card:hover .media img {
    transform: none;
  }
}
