/* ==========================================================================
   Gelsoft India — site styles
   Tokens first, then base, then components. No framework, no build step.
   ========================================================================== */

:root {
  /* ink + paper */
  --ink:        #15171A;
  --ink-2:      #2A2D31;
  --ink-3:      #3C4044;
  --muted:      #5A6066;
  --muted-2:    #8A8F95;
  --paper:      #F4F2ED;
  --card:       #FFFFFF;
  --card-2:     #FDFCFA;
  --surface:    #EAE7E0;
  --line:       #E2DED4;
  --line-2:     #DCD7CB;
  --line-dash:  #D2CCBE;

  /* accents — two only, both low chroma */
  --ember:      #B14A24;
  --ember-dark: #8E3A1A;
  --ember-tint: #FBF1EB;
  --ember-line: #E6CDBE;
  --olive:      #4C5A3C;
  --olive-dark: #3F4A33;
  --olive-tint: #EDEFE6;
  --olive-line: #D5DBC6;
  --olive-ink:  #28301E;

  /* dark surfaces */
  --dark:       #15171A;
  --dark-2:     #1E2126;
  --dark-3:     #262A30;
  --dark-line:  #2E3238;
  --dark-line-2:#343A41;
  --on-dark:    #F4F2ED;
  --on-dark-2:  #B9BEC4;
  --on-dark-3:  #9AA0A6;
  --ember-soft: #D4855F;
  --olive-soft: #A8C08C;

  /* state colours */
  --ok:         #4C5A3C;
  --warn:       #8A5A1A;
  --bad:        #A8381A;

  /* metal / nylon / none — gears chip */
  --metal-fg: #8E3A1A;  --metal-bg: #FBF1EB;  --metal-line: #E6CDBE;
  --nylon-fg: #3C4044;  --nylon-bg: #F4F2ED;  --nylon-line: #E2DED4;
  --manual-fg:#3F4A33;  --manual-bg:#EDEFE6;  --manual-line:#D5DBC6;

  /* type */
  --display: 'Archivo', system-ui, sans-serif;
  --body:    'Inter', system-ui, sans-serif;

  /* shape */
  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow: 0 10px 24px rgba(21, 23, 26, 0.08);

  --wrap: 1200px;
  --gutter: 24px;
}

/* --------------------------------------------------------------- base ---- */

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--display); margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--ember); text-decoration: none; }
a:hover { color: var(--ember-dark); text-decoration: underline; }

img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }

.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;
}

/* ------------------------------------------------------------- layout ---- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 64px 0; }
.section--sm { padding: 40px 0; }
.section--flush-top { padding-top: 0; }

.band { background: var(--dark); color: var(--on-dark); }
.band h1, .band h2, .band h3 { color: #fff; }
.band--olive { background: var(--olive-tint); border-top: 1px solid var(--olive-line); border-bottom: 1px solid var(--olive-line); color: var(--olive-dark); }
.band--olive h2, .band--olive h3 { color: var(--ink); }
.band--card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.row { display: flex; flex-wrap: wrap; gap: 24px; }
.row--between { justify-content: space-between; }
.row--center { align-items: center; }
.row--end { align-items: flex-end; }
.row--top { align-items: flex-start; }
.row--tight { gap: 12px; }

.grid { display: grid; gap: 20px; }
.grid--auto   { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--auto-s { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--auto-l { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2      { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.grow { flex: 1 1 auto; min-width: 0; }
.col  { flex: 999 1 560px; min-width: 0; }
.col--half { flex: 1 1 420px; min-width: 0; }

/* rail + results (filter pages) */
.layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.rail { flex: 1 1 250px; max-width: 280px; min-width: 240px; }
.results { flex: 999 1 560px; min-width: 0; }

/* ---------------------------------------------------------- typography --- */

.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
}
.eyebrow--ember { color: var(--ember); }
.eyebrow--soft  { color: var(--ember-soft); }
.eyebrow--olive { color: var(--olive); }

.h-hero { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.0; letter-spacing: -0.025em; font-weight: 800; }
.h-page { font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.025em; font-weight: 800; }
.h-sect { font-size: clamp(24px, 3vw, 30px); font-weight: 700; }
.h-card { font-size: 18px; font-weight: 700; }
.h-kicker { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

.lead  { font-size: 17px; line-height: 1.7; color: var(--ink-3); }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.tiny  { font-size: 12.5px; }
.measure { max-width: 46em; }
.measure--wide { max-width: 62em; }
.on-dark { color: var(--on-dark-2); }

/* ------------------------------------------------------------ header ----- */

.util { background: var(--dark); color: var(--on-dark-2); font-size: 12.5px; }
.util__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.util a { color: var(--on-dark-2); }
.util a:hover { color: var(--on-dark); }

.hdr { background: var(--paper); border-bottom: 1px solid var(--line-2); }
.hdr__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; padding-top: 18px; padding-bottom: 18px; }

.logo { display: flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo:hover { text-decoration: none; color: var(--ink); }
.logo b { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: 0.06em; }
.logo span { font-size: 10px; letter-spacing: 0.3em; color: var(--muted); margin-top: 4px; }

.nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; flex-grow: 1; font-size: 14.5px; font-weight: 500; }
.nav a { color: var(--ink); padding: 6px 0; }
.nav a:hover { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--line-2); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--ember); }

.nav__games {
  display: inline-flex; gap: 8px; align-items: center; font-weight: 600;
  color: var(--ember-dark); background: var(--ember-tint);
  border: 1px solid var(--ember-line); border-radius: var(--r-pill); padding: 8px 14px;
}
.nav__games:hover { color: var(--ember-dark); background: #F7E6DC; text-decoration: none; border-bottom: 1px solid var(--ember-line); }
.nav__games[aria-current="page"] { background: var(--ember); border-color: var(--ember); color: #fff; }
.nav__games[aria-current="page"] .dot { background: var(--paper); }
.nav__games .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); }

.hdr__actions { display: flex; gap: 10px; align-items: center; }

.nav-toggle { display: none; }

/* --------------------------------------------------------- components --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: none; border-radius: var(--r-sm);
  font-size: 15.5px; font-weight: 600; cursor: pointer; text-decoration: none;
  background: var(--card); color: var(--ink); border: 1.5px solid var(--ink);
}
.btn:hover { text-decoration: none; color: var(--ink); }
.btn--primary { background: var(--ember); border-color: var(--ember); color: #fff; }
.btn--primary:hover { background: var(--ember-dark); border-color: var(--ember-dark); color: #fff; }
.btn--dark { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.btn--dark:hover { color: var(--on-dark); background: #000; }
.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--olive { background: var(--olive); border-color: var(--olive); color: #fff; }
.btn--olive:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: #fff; }
.btn--ghost-dark { background: transparent; border-color: var(--dark-line-2); color: var(--on-dark); }
.btn--ghost-dark:hover { color: var(--on-dark); border-color: var(--on-dark-3); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn--xs { min-height: 36px; padding: 0 13px; font-size: 13px; border-width: 1px; border-color: var(--line-2); }
.btn--link { background: none; border: none; min-height: 0; padding: 0; color: var(--ember); font-size: 14px; }
.btn--link:hover { color: var(--ember-dark); text-decoration: underline; }
.btn--block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-pill); cursor: pointer;
}
.cart-btn {
  height: 44px; display: inline-flex; gap: 8px; align-items: center;
  background: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-pill);
  padding: 0 16px; color: var(--on-dark); font-size: 14px; font-weight: 500; cursor: pointer;
}
.cart-btn:hover { color: var(--on-dark); text-decoration: none; }

.search {
  font-size: 14px; background: var(--card); border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 11px 16px; width: 180px; min-height: 44px;
}

.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.card--pad { padding: 24px; }
.card--pad-lg { padding: 28px; }
.card--dark { background: var(--dark-2); border-color: var(--dark-line); color: var(--on-dark); }
.card--olive { background: var(--olive-tint); border-color: var(--olive-line); }
.card--surface { background: var(--surface); border-color: var(--line-2); }
.card--soft { background: var(--card-2); }
.card--link { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.card--link:hover { color: var(--ink); text-decoration: none; border-color: var(--line-2); box-shadow: var(--shadow); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-size: 11.5px; font-weight: 600; color: var(--ink-3);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px;
}
.chip--metal  { color: var(--metal-fg);  background: var(--metal-bg);  border-color: var(--metal-line); }
.chip--nylon  { color: var(--nylon-fg);  background: var(--nylon-bg);  border-color: var(--nylon-line); }
.chip--manual { color: var(--manual-fg); background: var(--manual-bg); border-color: var(--manual-line); }
.chip--pill { border-radius: var(--r-pill); padding: 5px 11px; }
.chip--ok { color: var(--olive-dark); background: var(--olive-tint); border-color: var(--olive-line); }

.tag-ok   { color: var(--ok);   font-weight: 600; font-size: 12.5px; }
.tag-warn { color: var(--warn); font-weight: 600; font-size: 12.5px; }

/* grade mark — 1/2/3 bars */
.grade { display: inline-flex; gap: 8px; align-items: center; }
.grade__bars { display: flex; gap: 3px; align-items: flex-end; }
.grade__bars i { display: block; width: 4px; border-radius: 1px; background: var(--line-dash); }
.grade__bars i:nth-child(1) { height: 8px; }
.grade__bars i:nth-child(2) { height: 12px; }
.grade__bars i:nth-child(3) { height: 16px; }
.grade--toy     .grade__bars i:nth-child(1) { background: var(--ink); }
.grade--mid     .grade__bars i:nth-child(1),
.grade--mid     .grade__bars i:nth-child(2) { background: var(--ink); }
.grade--premium .grade__bars i { background: var(--ember); }
.grade__label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.grade--badge {
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 5px 10px;
}

/* product card */
.prod { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); }
.prod:hover { color: var(--ink); text-decoration: none; box-shadow: var(--shadow); }
.prod__media { background: var(--surface); height: 172px; display: flex; align-items: center; justify-content: center; padding: 20px; position: relative; }
.prod__flag { position: absolute; top: 12px; left: 12px; }
.prod__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.prod__brand { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prod__name { font-size: 16px; line-height: 1.3; font-weight: 700; }
.prod__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price { font-family: var(--display); font-size: 19px; font-weight: 700; }
.price--lg { font-size: 34px; }

/* empty state */
.empty { background: var(--card); border: 1px dashed var(--line-dash); border-radius: 14px; padding: 56px 32px; text-align: center; }
.empty__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); margin-bottom: 18px; }
.empty h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.empty p { color: var(--muted); max-width: 44em; margin: 0 auto 24px; }
.empty--sm { padding: 40px 24px; }
.empty--dark { background: var(--dark-2); border-color: var(--dark-line-2); }
.empty--dark p { color: var(--on-dark-2); }

/* inline alert row */
.notice { display: flex; gap: 15px; align-items: flex-start; border-radius: 14px; padding: 20px 24px; }
.notice--olive { background: var(--olive-tint); border: 1px solid var(--olive-line); color: var(--olive-dark); }
.notice--olive strong { color: var(--olive-ink); }
.notice--paper { background: var(--surface); border: 1px dashed #C9C2B2; color: var(--ink-3); }
.notice svg { flex: 0 0 auto; margin-top: 2px; }

/* ticked / crossed lists */
.list { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; color: var(--ink-3); }
.list li { display: flex; gap: 11px; align-items: flex-start; }
.list svg { flex: 0 0 auto; margin-top: 3px; }
.list--inline { flex-direction: row; flex-wrap: wrap; gap: 14px 28px; font-size: 13.5px; }
.list--rule li { border-bottom: 1px solid #EDEAE3; padding-bottom: 13px; }
.x { color: var(--bad); font-weight: 700; }
.b { color: var(--ember); font-weight: 700; }

/* numbered steps */
.steps { display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.7; color: var(--ink-3); }
.steps .n {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--olive-tint); border: 1px solid var(--olive-line); color: var(--olive-dark);
  display: flex; align-items: center; justify-content: center; font-size: 12.5px; font-weight: 700;
}
.steps--dark .n { background: var(--dark-3); border-color: var(--dark-3); color: var(--on-dark); }
.steps--dark li { color: var(--on-dark-2); }

/* ------------------------------------------------------------- forms ----- */

.field { display: block; }
.field + .field { margin-top: 18px; }
.field__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field__hint { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.req { color: var(--bad); }
.opt { font-weight: 400; color: var(--muted); }

.input, .select, .textarea {
  width: 100%; font-size: 15px; background: var(--card-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); min-height: 46px; padding: 0 14px;
}
.textarea { min-height: 0; padding: 13px 14px; line-height: 1.65; resize: vertical; }
.select { padding: 0 12px; }
.input--money { display: flex; align-items: center; background: var(--card-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); min-height: 46px; padding: 0 14px; }
.input--money span { font-family: var(--display); font-weight: 700; color: var(--muted); margin-right: 6px; }
.input--money input { border: none; background: none; width: 100%; min-width: 0; font-weight: 600; outline: none; }
.input--bare { background: none; border: none; outline: none; min-height: 0; padding: 0; }

.fieldset { border: none; margin: 0; padding: 0; }
.fieldset + .fieldset { margin-top: 22px; border-top: 1px solid #EDEAE3; padding-top: 18px; }
.fieldset legend { font-size: 13.5px; font-weight: 600; margin-bottom: 12px; padding: 0; }
.fieldset--card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin: 0; }
.fieldset--card + .fieldset--card { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.fieldset--card legend { font-family: var(--display); font-size: 17px; font-weight: 700; padding: 0 8px; margin-left: -8px; }

.checkline { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 14px; color: var(--ink-3); cursor: pointer; }
.checkline input { width: 17px; height: 17px; accent-color: var(--ember); margin: 0; flex: 0 0 auto; }
.checkline--top { align-items: flex-start; line-height: 1.55; }
.checkline--top input { margin-top: 2px; }
.checkline .count { font-size: 12.5px; color: var(--muted); }
.checkline .name { flex-grow: 1; }

.radio-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  background: var(--card-2); border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.radio-card input { width: 18px; height: 18px; accent-color: var(--ember); margin: 2px 0 0; flex: 0 0 auto; }
.radio-card:has(input:checked) { background: #FDF6F1; border-color: var(--ember); }
.radio-card strong { font-size: 14.5px; }
.radio-card span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form .input { width: 260px; }

/* ------------------------------------------------------------ tables ----- */

.table-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 14px 10px; }
.table th:first-child, .table td:first-child { padding-left: 20px; }
.table th:last-child, .table td:last-child { padding-right: 20px; }
.table thead th { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.table tbody tr { border-bottom: 1px solid #EDEAE3; }
.table tbody tr:last-child { border-bottom: none; }
.table--spec th { font-weight: 500; color: var(--muted); width: 44%; padding-left: 0; }
.table--spec td { font-weight: 500; }
.table--spec tr { border-bottom: 1px solid var(--line); }

/* --------------------------------------------------------- accordion ----- */

.acc { display: flex; flex-direction: column; gap: 12px; }
.acc__item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acc__q {
  width: 100%; min-height: 62px; display: flex; gap: 16px; align-items: center; justify-content: space-between;
  text-align: left; background: none; border: none; padding: 18px 22px; cursor: pointer;
  font-family: var(--display); font-size: 16.5px; font-weight: 700; color: var(--ink);
}
.acc__icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center; transition: transform 0.15s ease;
}
.acc__q[aria-expanded="true"] .acc__icon { transform: rotate(180deg); }
.acc__a { padding: 0 22px 24px; max-width: 64em; }
.acc__a p + p { margin-top: 14px; }
.acc__a[hidden] { display: none; }

/* ------------------------------------------------------------- tabs ------ */

.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line-2); }
.tabs button {
  min-height: 48px; padding: 0 20px; background: none; border: none;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ember); }
.tabpanel[hidden] { display: none; }

/* ------------------------------------------------------------ footer ----- */

.ftr { background: var(--dark); color: var(--on-dark-2); }
.ftr__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 36px; padding: 56px 0 32px; }
.ftr b { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: 0.06em; color: var(--on-dark); display: block; }
.ftr__sub { font-size: 10px; letter-spacing: 0.3em; color: var(--muted-2); display: block; margin: 4px 0 16px; }
.ftr h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 14px; font-family: var(--body); }
.ftr ul { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.ftr a { color: var(--on-dark-2); }
.ftr a:hover { color: var(--on-dark); }
.ftr__bottom { border-top: 1px solid var(--dark-line); font-size: 12.5px; }
.ftr__bottom .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }

/* ------------------------------------------------------------- misc ------ */

.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding: 72px 0 76px; }
.hero__art { background: var(--dark); border-radius: 18px; padding: 56px 40px; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero__card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px; display: inline-flex; gap: 18px; align-items: center;
  margin: -34px 0 0 24px; position: relative; box-shadow: var(--shadow);
}

.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { padding: 0 8px; }
.breadcrumb .here { color: var(--ink); padding: 0; }

.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.stat dt { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.stat dd { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1; }
.stat .note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

.avatar {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--olive); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 14px; font-weight: 700;
}

.pager { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 40px; }
.pager button { min-width: 44px; min-height: 44px; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 14px; cursor: pointer; }
.pager button[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); font-weight: 600; }

.swatches { display: flex; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--card); border: 2px solid var(--line-2); }
.swatch[aria-pressed="true"] { border-color: var(--ink); }
.swatch i { display: block; width: 26px; height: 26px; border-radius: 50%; }

.stepper { display: flex; align-items: center; border: 1px solid var(--line-2); background: var(--card); border-radius: var(--r-sm); overflow: hidden; }
.stepper button { width: 46px; height: 52px; background: none; border: none; font-size: 20px; cursor: pointer; }
.stepper output { min-width: 36px; text-align: center; font-family: var(--display); font-size: 16px; font-weight: 600; }

.thumbs { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.thumb { flex: 0 0 auto; width: 92px; height: 68px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--surface); border: 2px solid var(--line); cursor: pointer; }
.thumb[aria-pressed="true"] { border-color: var(--ink); }

.gallery { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px 40px; display: flex; align-items: center; justify-content: center; min-height: 340px; position: relative; }
.gallery__tag { position: absolute; top: 18px; left: 18px; }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.photo-slot { background: var(--card-2); border: 1.5px dashed #C9C2B2; border-radius: 10px; height: 104px; display: flex; flex-direction: column; gap: 7px; align-items: center; justify-content: center; cursor: pointer; color: var(--muted); font-size: 12.5px; font-weight: 600; }

.scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.scroller > * { flex: 0 0 auto; }

.date {
  flex: 0 0 auto; width: 56px; background: var(--ink); color: var(--on-dark);
  border-radius: 10px; padding: 10px 0; text-align: center;
}
.date b { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1; }
.date span { display: block; font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; color: var(--on-dark-3); }

/* ------------------------------------------------------ small screens --- */

@media (max-width: 860px) {
  :root { --gutter: 16px; }
  .section { padding: 44px 0; }
  .hero { padding: 40px 0 48px; gap: 32px; }
  .hero__art { padding: 32px 24px; min-height: 0; }
  .nav { display: none; width: 100%; }
  .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding-top: 8px; }
  .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__games { justify-content: center; margin-top: 8px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; order: -1;
    background: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); cursor: pointer;
  }
  .hdr__inner { gap: 12px; }
  .search { width: 100%; }
  .hdr__actions { width: 100%; }
  .rail { max-width: none; }
  .layout { gap: 20px; }
  .btn { width: 100%; }
  .btn--xs, .btn--link, .pager button, .icon-btn, .cart-btn, .nav-toggle { width: auto; }
}

@media print {
  .util, .hdr, .ftr, .nav-toggle { display: none; }
  body { background: #fff; }
}
