/* FEARMAXO: the site wears the tracksuit.
   Dark sections are the black set (red piping, red collar panel, red ribbed hem).
   Light sections are the white set (orange trim, orange ribbed hem). */
:root {
  --black: #0c0c0e;
  --coal: #151517;
  --bone: #f3f0e8;
  --red: #e8322a;
  --red-deep: #c4241d;
  --orange: #ff6a1a;
  --orange-deep: #e25508;
  --silver: #c9ccd1;
  /* theme slots, dark by default */
  --bg: var(--black);
  --card: var(--coal);
  --fg: var(--bone);
  --mut: #9a9ca3;
  --edge: #2b2b30;
  --accent: var(--red);
  --accent-deep: var(--red-deep);
  --display: "Michroma", "Arial Black", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pipe: 1.5px solid var(--accent);
}
.light, .page-head, .cart {
  --bg: var(--bone);
  --card: #ffffff;
  --fg: var(--black);
  --mut: #6a6a70;
  --edge: #d9d4c7;
  --accent: var(--orange);
  --accent-deep: var(--orange-deep);
  background: var(--bg);
  color: var(--fg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.55; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; text-transform: uppercase; letter-spacing: 0.04em; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* Ribbed hem: the cuff and waistband of the tracksuit */
.hero::after, .page-head::after, .band::after, .light.section::after, .footer::before, .cart-head::after {
  content: ""; display: block; height: 18px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, var(--accent-deep) 5px 7px);
}

/* Ticker */
.ticker { background: #000; color: var(--silver); overflow: hidden; white-space: nowrap; font-family: var(--display); font-size: 10px; letter-spacing: 0.32em; padding: 9px 0; }
.ticker-track { display: inline-block; animation: ticker 40s linear infinite; }
.ticker-track span { padding: 0 14px; }
.ticker-track span:nth-child(even) { color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Header: black body, red collar panel with silver lettering */
.nav { position: sticky; top: 0; z-index: 20; background: var(--black); border-bottom: 2px solid var(--red); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.logo { order: 2; font-family: var(--display); font-size: 15px; letter-spacing: 0.38em; text-indent: 0.38em; text-decoration: none; color: #eceef1; background: var(--red); padding: 20px 54px 22px; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); }
.nav-links { order: 1; display: flex; gap: 4px; align-items: center; justify-self: start; }
.nav-links a { text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.16em; padding: 8px 12px; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--red); color: var(--red); }
.cart-btn { order: 3; justify-self: end; font: inherit; font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.16em; background: none; color: var(--bone); border: 1.5px solid var(--silver); border-radius: 999px; padding: 8px 16px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.cart-btn:hover { border-color: var(--red); color: var(--red); }
.cart-count { background: var(--red); color: #fff; min-width: 20px; height: 20px; border-radius: 10px; display: inline-grid; place-items: center; font-size: 11px; letter-spacing: 0; padding: 0 5px; }
.cart-count:empty { display: none; }
@media (max-width: 640px) {
  .logo { font-size: 11px; letter-spacing: 0.22em; text-indent: 0.22em; padding: 17px 26px 18px; }
  .nav-links a { padding: 8px 6px; font-size: 11px; letter-spacing: 0.1em; }
  .cart-btn { padding: 7px 11px; font-size: 11px; letter-spacing: 0.1em; }
}

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; text-decoration: none; text-align: center; padding: 13px 24px; background: none; color: var(--fg); border: 1.5px solid var(--fg); border-radius: 999px; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 13px; padding: 17px 34px; }
.btn-primary:hover:not(:disabled) { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-block { display: block; width: 100%; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: inherit; font-size: 14px; }
.link-btn:hover { color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding: clamp(48px, 8vw, 110px) 0; }
.hero h1 { font-size: clamp(30px, 5.4vw, 78px); }
.hero h1 span { color: var(--red); display: block; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); max-width: 480px; margin: 22px 0 30px; color: var(--silver); }
.eyebrow { font-family: var(--display); font-size: 11px !important; letter-spacing: 0.34em; text-transform: uppercase; color: var(--silver) !important; margin: 0 0 18px !important; }

/* Sections */
.section { padding: clamp(48px, 7vw, 92px) 0 0; }
.section > .wrap { padding-bottom: clamp(48px, 7vw, 92px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; padding-bottom: 16px; border-bottom: var(--pipe); }
.section-head h2, .page-title { font-size: clamp(24px, 3.6vw, 46px); }
.band { background: var(--red); color: #fff; --accent: var(--black); --accent-deep: #232326; --fg: #fff; }
.band h2 { font-size: clamp(28px, 5vw, 68px); }
.band p { font-size: 18px; max-width: 620px; margin-top: 18px; }
.band .btn:hover { background: var(--black); border-color: var(--black); color: #fff; }
.page-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.page-head .wrap { padding-bottom: clamp(36px, 5vw, 64px); }
.page-head p { margin-top: 12px; font-size: 17px; max-width: 640px; color: var(--mut); }
.prose { max-width: 720px; font-size: 18px; }
.prose p + p { margin-top: 18px; }
.prose h2 { font-size: 24px; margin: 44px 0 14px; color: var(--accent); }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.cat { position: relative; display: block; text-decoration: none; border: var(--pipe); border-radius: 22px; min-height: 200px; padding: 22px; background: var(--card); overflow: hidden; }
.cat:hover { border-color: var(--silver); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat h3 { position: relative; font-size: 22px; }
.cat.has-img h3 { background: var(--black); color: var(--bone); display: inline-block; padding: 8px 12px; border-radius: 999px; }

/* Product grid: each card is piped like a seam */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.grid.dim { opacity: 0.5; }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--edge); border-radius: 22px; overflow: hidden; transition: border-color 0.15s; }
.tile:hover { border-color: var(--accent); }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 5; background: #1d1d20; overflow: hidden; }
.tile-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.tile-media .hover-img { position: absolute; inset: 0; opacity: 0; }
.tile-media:hover .hover-img { opacity: 1; }
.no-img { display: grid; place-items: center; height: 100%; font-family: var(--display); font-size: 14px; letter-spacing: 0.3em; color: var(--mut); }
.ribbons { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ribbon { background: var(--accent); color: #fff; border-radius: 999px; font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; padding: 4px 10px; }
.tile-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: var(--pipe); }
.tile-name { font-weight: 600; font-size: 16px; text-decoration: none; }
.tile-name:hover { color: var(--accent); }
.price { font-weight: 600; }
.was { text-decoration: line-through; color: var(--mut); font-weight: 400; margin-left: 6px; }
.small { font-size: 13px; color: var(--mut); }
.dots { display: flex; gap: 5px; }
.dot { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid var(--silver); }
.tile-actions { margin-top: auto; padding-top: 10px; }

/* Shop toolbar */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; min-width: 46px; padding: 9px 16px; background: none; color: var(--fg); border: 1.5px solid var(--edge); border-radius: 999px; cursor: pointer; }
.chip:hover:not(:disabled) { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip:disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 22px 0; }
.toolbar-right { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.field, select.field { font: inherit; padding: 10px 16px; border: 1.5px solid var(--edge); background: var(--card); color: var(--fg); border-radius: 999px; }
.field::placeholder { color: var(--mut); }
.field:focus { border-color: var(--accent); outline: none; }
.check { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; font-size: 13px; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.shop-layout.no-facets { grid-template-columns: 1fr; }
.facets fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.facets legend { font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; padding: 0; color: var(--accent); }
.facet-choice { display: flex; gap: 8px; align-items: center; font-size: 15px; padding: 3px 0; cursor: pointer; }
.facet-choice input { width: 17px; height: 17px; accent-color: var(--red); }
.state { border: 1.5px solid var(--edge); border-radius: 22px; background: var(--card); padding: 44px 20px; text-align: center; font-weight: 600; }
.state p + * { margin-top: 16px; }
.more { text-align: center; margin-top: 36px; }
@media (max-width: 800px) { .shop-layout { grid-template-columns: 1fr; } }

/* Product page */
.crumbs { font-size: 13px; letter-spacing: 0.04em; margin: 24px 0; display: flex; flex-wrap: wrap; gap: 8px; color: var(--mut); }
.crumbs a { color: var(--fg); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; padding-bottom: 80px; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } }
.pdp-main { border: var(--pipe); border-radius: 26px; background: #1d1d20; aspect-ratio: 4 / 5; overflow: hidden; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.thumb { width: 72px; aspect-ratio: 4 / 5; padding: 0; border: 1.5px solid var(--edge); border-radius: 12px; background: var(--card); cursor: pointer; overflow: hidden; }
.thumb[aria-pressed="true"] { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(22px, 2.8vw, 36px); }
.pdp-price { font-size: 24px; font-weight: 600; margin: 16px 0 6px; color: var(--accent); }
.pdp-info fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.pdp-info legend { font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: 0.16em; margin-bottom: 10px; padding: 0; color: var(--mut); }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--silver); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--accent); outline-offset: 3px; }
.swatch:disabled { opacity: 0.3; cursor: not-allowed; }
.buy { display: flex; gap: 14px; align-items: stretch; margin-top: 28px; flex-wrap: wrap; }
.stepper { display: inline-flex; border: 1.5px solid var(--edge); border-radius: 999px; background: var(--card); align-items: center; overflow: hidden; }
.stepper button { font: inherit; font-weight: 600; font-size: 18px; width: 42px; height: 100%; min-height: 40px; border: 0; background: none; color: var(--fg); cursor: pointer; }
.stepper button:hover:not(:disabled) { color: var(--accent); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper span { min-width: 30px; text-align: center; font-weight: 600; }
.buy .btn-primary { flex: 1; min-width: 200px; }
.note { margin-top: 12px; font-size: 14px; color: var(--mut); }
.alert { margin-top: 12px; font-weight: 600; color: #ff6b61; }
.light .alert, .cart .alert { color: #c4241d; }
.ok { margin-top: 12px; font-weight: 600; color: #3ccf91; }
.rich { margin-top: 30px; font-size: 16px; color: var(--silver); }
.rich p { margin: 0 0 12px; }
details.info { border-top: 1.5px solid var(--edge); padding: 14px 0; }
details.info:last-of-type { border-bottom: 1.5px solid var(--edge); }
details.info summary { font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: 0.14em; cursor: pointer; }
details.info .rich { margin-top: 10px; }
.notify { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.notify .field { flex: 1; min-width: 200px; }
.mod-text { display: block; margin-top: 18px; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--mut); }
.mod-text .field { display: block; width: 100%; margin-top: 8px; text-transform: none; font-weight: 400; letter-spacing: 0; }

/* Cart drawer: the white set */
.cart-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.7); display: flex; justify-content: flex-end; }
.cart { width: min(440px, 100%); height: 100%; border-left: 2px solid var(--orange); display: flex; flex-direction: column; }
.cart-head { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 30px; }
.cart-head::after { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; }
.cart-head h2 { font-size: 18px; }
.icon-btn { font: inherit; font-size: 16px; width: 40px; height: 40px; background: none; color: var(--fg); border: 1.5px solid var(--fg); border-radius: 50%; cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-error { margin: 0; padding: 0 20px; font-weight: 600; color: #c4241d; }
.cart-error:not(:empty) { padding: 12px 20px; background: #ffe3da; }
.cart-lines { flex: 1; overflow-y: auto; padding: 8px 20px; }
.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1.5px solid var(--edge); }
.line-img { width: 76px; aspect-ratio: 4 / 5; border-radius: 12px; background: var(--edge); object-fit: cover; }
.line-top { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.line-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.line .stepper button { width: 32px; min-height: 30px; font-size: 16px; }
.cart-foot { border-top: 1.5px solid var(--orange); padding: 16px 20px 20px; background: var(--card); }
.coupon { display: flex; gap: 8px; }
.coupon .field { flex: 1; min-width: 0; background: var(--bg); }
.coupon-on { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-top: 8px; }
.totals { margin: 16px 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 0; font-size: 15px; }
.totals dt, .totals dd { margin: 0; }
.totals dd { text-align: right; }
.totals .grand { font-weight: 700; font-size: 19px; padding-top: 10px; border-top: 1.5px solid var(--edge); margin-top: 6px; }
.fine { font-size: 13px; color: var(--mut); margin-top: 12px; text-align: center; }

/* Footer */
.footer { background: #000; color: var(--bone); --accent: var(--orange); --accent-deep: var(--orange-deep); }
.footer .wrap { padding: 54px 0 32px; }
.footer-big { font-family: var(--display); font-size: clamp(22px, 7.4vw, 104px); letter-spacing: 0.24em; line-height: 1; color: var(--silver); white-space: nowrap; overflow: hidden; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 18px; border-top: 1.5px solid var(--red); font-size: 13px; color: var(--mut); }
.footer-row nav { display: flex; gap: 18px; }
.footer-row a { color: var(--bone); text-decoration: none; text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; }
.footer-row a:hover { color: var(--orange); }
/* Phone header fit */
@media (max-width: 640px) {
  .nav-inner { grid-template-columns: auto auto auto; justify-content: space-between; gap: 6px; }
  .logo { font-size: 10px; letter-spacing: 0.16em; text-indent: 0.16em; padding: 17px 20px 18px; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 8px 5px; }
  .cart-btn { padding: 7px 10px; gap: 5px; }
}

/* ==== Motion, video and phone layout ==== */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
.scroll-pipe { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--red); transform: scaleX(var(--scroll, 0)); transform-origin: 0 50%; z-index: 60; pointer-events: none; }
.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  body { animation: fade 0.5s both; }
  @keyframes fade { from { opacity: 0; } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }
  /* the collar panel drops into the header */
  .logo { animation: collar 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes collar { from { transform: translateY(-100%); } }
  /* hero copy rises in, line by line */
  .hero .eyebrow { animation: rise 0.8s 0.05s both; }
  .hero h1 { animation: rise 0.8s 0.15s both; }
  .hero h1 span { animation: rise 0.8s 0.3s both; }
  .hero-inner p:not(.eyebrow) { animation: rise 0.8s 0.45s both; }
  .hero .btn { animation: rise 0.8s 0.6s both; }
  /* the piping stitches itself across the hero */
  .piping path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: stitch 2.4s 0.2s ease-out forwards; }
  .piping path:nth-child(2) { animation-delay: 0.5s; }
  .piping path.thin { animation-delay: 0.9s; }
  @keyframes stitch { to { stroke-dashoffset: 0; } }
  /* the ribbed hems knit slowly sideways */
  .hero::after, .page-head::after, .band::after, .light.section::after, .footer::before, .cart-head::after { animation: knit 1.6s linear infinite; }
  @keyframes knit { to { background-position: 7px 0; } }
  /* hero frames arrive, then drift apart a little on scroll */
  .frame { animation: frame-in 1s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .frame-white { animation-delay: 0.5s; translate: 0 calc(var(--sy, 0px) * -0.05); }
  .frame-black { translate: 0 calc(var(--sy, 0px) * 0.03); }
  @keyframes frame-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } }
  /* cards lift, photos lean in */
  .tile { transition: border-color 0.15s, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .tile:hover { transform: translateY(-6px); }
  .tile-media img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s; }
  .tile:hover .tile-media img { transform: scale(1.05); }
  .looks figure img { transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .looks figure:hover img { transform: scale(1.06); }
  .pdp-main img { animation: fade 0.45s both; }
  /* a sheen runs across the main button */
  .btn-primary { position: relative; overflow: hidden; }
  .btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); transform: translateX(-120%); }
  .btn-primary:hover:not(:disabled)::after { transform: translateX(120%); transition: transform 0.7s; }
  .chip, .thumb, .swatch { transition: background 0.15s, border-color 0.15s, transform 0.15s; }
  .chip:active:not(:disabled), .btn:active:not(:disabled) { transform: scale(0.96); }
  /* the cart slides in from the side */
  .cart-backdrop { animation: fade 0.25s both; }
  .cart { animation: drawer 0.38s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  @keyframes drawer { from { transform: translateX(100%); } }
  .line { animation: rise 0.4s both; }
}

/* Phone layout */
.cart { height: 100dvh; }
.cart-foot { padding-bottom: max(20px, env(safe-area-inset-bottom)); }
@media (max-width: 800px) {
  .hero-inner { padding: 40px 0 48px; }
  .section-head { margin-bottom: 22px; }
  .section-head h2, .page-title { font-size: clamp(20px, 6.2vw, 30px); }
  .band h2 { font-size: clamp(24px, 8vw, 40px); }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 19px; }
  /* two products per row */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile { border-radius: 16px; }
  .tile-body { padding: 12px; }
  .tile-name { font-size: 14px; line-height: 1.35; }
  .tile .btn { padding: 12px 6px; font-size: 10.5px; letter-spacing: 0.08em; }
  /* comfortable tap targets */
  .btn, .chip { min-height: 44px; }
  .chip { min-width: 48px; }
  .icon-btn { width: 44px; height: 44px; }
  .stepper button { min-height: 44px; }
  .line .stepper button { min-height: 38px; width: 38px; }
  /* shop filters */
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar-right { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .toolbar-right .field { width: 100%; min-width: 0; }
  #search { grid-column: 1 / -1; }
  .facets fieldset { margin-bottom: 14px; }
  .facet-choice { display: inline-flex; margin-right: 16px; padding: 7px 0; }
  /* product page: photo strip scrolls, buy bar stays within reach */
  .crumbs { margin: 16px 0; }
  .pdp { padding-bottom: 48px; }
  .pdp-main { border-radius: 20px; }
  .thumbs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 62px; }
  #pdp-buy { position: sticky; bottom: 0; z-index: 5; background: var(--bg); padding: 2px 0 12px; margin-top: 12px; border-top: 1.5px solid var(--edge); }
  #pdp-buy .buy { margin-top: 12px; flex-wrap: nowrap; }
  #pdp-buy .btn-primary { min-width: 0; padding: 15px 12px; }
  /* cart fills the screen */
  .cart { width: 100%; border-left: 0; }
  .footer .wrap { padding: 40px 0 28px; }
  .footer-row { flex-direction: column; gap: 10px; }
}
/* Product page fits the phone */
.pdp > * { min-width: 0; }
.pdp-info h1 { overflow-wrap: anywhere; }
.thumbs { max-width: 100%; }
@media (max-width: 800px) {
  .pdp-info h1 { font-size: 20px; }
  .pdp-info .chips { gap: 6px; }
  .pdp-info .chip { min-width: 46px; padding: 9px 12px; }
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { height: 24px; width: auto; flex: none; fill: #0c0c0e; }
.logo-bars { fill: #fff; }
.footer-brand { display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); }
.footer-badge { width: clamp(60px, 9vw, 120px); height: auto; aspect-ratio: 1; border-radius: 50%; flex: none; }
.footer-brand .footer-big { min-width: 0; }
.s-logo { fill: #0c0c0e; }
@media (max-width: 640px) {
  .logo { gap: 6px; padding: 16px 13px 17px; letter-spacing: 0.1em; text-indent: 0; }
  .logo-mark { height: 17px; }
  .nav-links a { padding: 8px 3px; }
  .footer-big { font-size: 5.6vw; letter-spacing: 0.18em; }
}

/* Currency switch */
.cur { display: inline-flex; align-items: center; gap: 6px; }
.cur-label { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; margin-right: 4px; }
.cur-btn { font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; min-height: 36px; padding: 6px 14px; background: none; color: var(--bone); border: 1.5px solid #3a3a40; border-radius: 999px; cursor: pointer; }
.cur-btn:hover { border-color: var(--orange); }
.cur-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.cur-note { font-size: 12px; color: var(--mut); margin-top: 8px; }

/* ==== Light and dark mode ==== */
/* Dark mode (default) is the black set. Light mode is the white set: the page turns off-white
   with orange trim, and the sections that were light turn black with red, so both suits stay in view. */
#site-header { display: contents; }
.light, .page-head, .cart { --pipe: 1.5px solid var(--accent); }
.ticker { position: relative; }
.theme-switch { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 40px; background: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 40%); }
.theme-dot { position: relative; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 2.5px solid var(--red); background: #18181b; cursor: pointer; }
.theme-dot::after { content: ""; position: absolute; inset: -8px -5px; }
.theme-dot[data-theme-set="light"] { background: var(--bone); border-color: var(--orange); }
.theme-dot[aria-pressed="true"] { outline: 2px solid #fff; outline-offset: 2px; }
html.theme-anim body, html.theme-anim body *:not(.ticker-track) { transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, fill 0.45s ease, stroke 0.45s ease !important; }

html[data-theme="light"] {
  --bg: var(--bone); --card: #ffffff; --fg: var(--black); --mut: #6a6a70; --edge: #d9d4c7;
  --accent: var(--orange); --accent-deep: var(--orange-deep); --pipe: 1.5px solid var(--orange);
}
html[data-theme="light"] .light, html[data-theme="light"] .page-head, html[data-theme="light"] .cart {
  --bg: var(--black); --card: var(--coal); --fg: var(--bone); --mut: #9a9ca3; --edge: #2b2b30;
  --accent: var(--red); --accent-deep: var(--red-deep); --pipe: 1.5px solid var(--red);
}
html[data-theme="light"] .nav { background: var(--bone); border-bottom-color: var(--orange); }
html[data-theme="light"] .logo { background: var(--orange); }
html[data-theme="light"] .nav-links a:hover, html[data-theme="light"] .nav-links a[aria-current="page"] { border-color: var(--orange); color: var(--orange-deep); }
html[data-theme="light"] .cart-btn { color: var(--black); border-color: var(--black); }
html[data-theme="light"] .cart-btn:hover { color: var(--orange-deep); border-color: var(--orange); }
html[data-theme="light"] .cart-count { background: var(--orange); }
html[data-theme="light"] .scroll-pipe { background: var(--orange); }
html[data-theme="light"] .hero { background: radial-gradient(120% 90% at 50% 18%, #ffffff 0%, #e6e1d4 70%); }
html[data-theme="light"] .hero h1 span { color: var(--orange-deep); }
html[data-theme="light"] .hero p, html[data-theme="light"] .hero .eyebrow, html[data-theme="light"] .rail-tag { color: #4a4a50 !important; }
html[data-theme="light"] .rail-item:hover .rail-tag { color: var(--orange-deep) !important; }
html[data-theme="light"] .rail-item svg { filter: drop-shadow(0 16px 16px rgba(0, 0, 0, 0.22)); }
html[data-theme="light"] .band { background: var(--orange); }
html[data-theme="light"] .tile-media, html[data-theme="light"] .pdp-main, html[data-theme="light"] .reel-card { background: #e6e1d5; }
html[data-theme="light"] .reel-card { border-color: var(--orange); }
html[data-theme="light"] .reel-card:nth-child(even) { border-color: var(--red); }
html[data-theme="light"] .looks figure { border-color: var(--red); }
html[data-theme="light"] .rich { color: #3a3a40; }
html[data-theme="light"] .pdp-price { color: var(--orange-deep); }
html[data-theme="light"] .alert { color: #c4241d; }
html[data-theme="light"] .cart .alert { color: #ff8a80; }
html[data-theme="light"] .ok { color: #007a52; }
html[data-theme="light"] .dot { border-color: #8a8a90; }
html[data-theme="light"] .check input, html[data-theme="light"] .facet-choice input { accent-color: var(--orange); }
html[data-theme="light"] .cart { border-left-color: var(--red); }
html[data-theme="light"] .cart-foot { border-top-color: var(--red); }
html[data-theme="light"] .cart-error:not(:empty) { background: #3a1512; color: #ff8a80; }
@media (max-width: 640px) {
  .theme-switch { gap: 8px; padding: 0 10px 0 30px; }
  .theme-dot { width: 18px; height: 18px; }
}
/* Customs note on the product page */
.ship-note { margin-top: 18px; padding-top: 14px; border-top: 1.5px solid var(--edge); font-size: 13px; line-height: 1.5; }
