/* ==========================================================================
   Invicta Trade — B2B wholesale catalog
   Single stylesheet. No external fonts or assets (works over file://).
   ========================================================================== */

:root {
  --ink: #141210;
  --ink-2: #211d19;
  --ink-3: #322c26;
  --paper: #faf8f5;
  --paper-2: #f2ede6;
  --paper-3: #e9e2d8;
  --line: #e0d8cc;
  --line-strong: #cfc4b4;
  --text: #2a2521;
  --muted: #7e756b;
  --gold: #b08d57;
  --gold-dark: #8d6f42;
  --gold-soft: #f3ead9;
  --ok: #3f7d55;
  --ok-soft: #e8f2ea;
  --warn: #a8762b;
  --warn-soft: #fbf1de;
  --err: #a3423f;
  --err-soft: #f8eae9;

  --maxw: 1280px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(20, 18, 16, .05), 0 8px 24px -12px rgba(20, 18, 16, .18);
  --shadow-lg: 0 2px 4px rgba(20, 18, 16, .06), 0 24px 48px -20px rgba(20, 18, 16, .28);

  --sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", "Songti SC",
           "SimSun", serif;
  --mono: "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
}

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

/* The browser's own `[hidden] { display: none }` lives in the UA stylesheet,
   so ANY author rule that sets `display` beats it — a class like
   `.ad-modal { display: grid }` makes a `hidden` element show up anyway.
   Restating it here with !important is what makes the attribute reliable. */
[hidden] { display: none !important; }

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

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { width: 100%; max-width: 560px; margin: 0 auto; padding: 0 24px; }
.wrap-mid { width: 100%; max-width: 940px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: 13px; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 14px; }

/* ---------- Announcement bar ---------- */

.announce {
  background: var(--ink);
  color: #cfc6ba;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  padding: 9px 24px;
}
.announce strong { color: var(--gold); font-weight: 600; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, .93);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }

.brand { display: flex; align-items: baseline; gap: 9px; margin-right: auto; }
.brand-mark { font-family: var(--serif); font-size: 25px; letter-spacing: .01em; color: var(--ink); }
.brand-sub {
  font-size: 9px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Shop bar ----------
   Its own row under the brand: the material tabs are the primary way into
   the range, so they get the full width rather than competing with the
   account tools for what is left over. */

.nav-bar { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .5); }

.nav { display: flex; align-items: stretch; gap: 22px; height: 44px; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link.is-active,
.nav-item.is-active > .nav-link { border-bottom-color: var(--gold); color: var(--gold-dark); }

/* Pushes Wholesale and Contact away from the range tabs — they are a
   different kind of link and should not read as another material. */
.nav-sep { flex: 1 1 auto; }

.nav-item { position: relative; display: flex; align-items: stretch; }

.nav-caret { display: inline-flex; transform: rotate(90deg); opacity: .55; }
.nav-caret svg { width: 11px; height: 11px; }

.nav-drop {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 232px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 18px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: 0 18px 40px rgba(28, 24, 20, .11);
  z-index: 60;
}
.nav-item:hover > .nav-drop,
.nav-item:focus-within > .nav-drop,
.nav-item.is-open > .nav-drop { display: flex; }

.nav-drop .nav-link {
  height: 30px;
  border-bottom: 0;
  letter-spacing: .05em;
  text-transform: none;
  font-size: 13px;
}
.nav-drop .nav-link.is-active { color: var(--gold-dark); }

/* "All products" sits above the rule, the eight categories below it. */
.nav-drop .nav-drop-all {
  height: 38px;
  align-items: flex-start;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.header-tools { display: flex; align-items: center; gap: 14px; }

.lang-toggle { display: flex; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.lang-toggle button {
  background: transparent;
  border: 0;
  padding: 5px 9px;
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
  color: var(--muted);
}
.lang-toggle button.is-active { background: var(--ink); color: #fff; }

.header-account { font-size: 13px; display: flex; align-items: center; gap: 12px; }
.header-account .who { line-height: 1.25; }
.header-account .who b { display: block; font-weight: 600; }

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--line-strong);
  padding: 8px 13px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.cart-link:hover { border-color: var(--gold); color: var(--gold-dark); }
.cart-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, opacity .15s;
}
.btn:hover { background: var(--ink-3); border-color: var(--ink-3); }

.btn-gold { background: var(--gold); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: transparent; border-color: var(--gold); color: var(--gold-dark); }

.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--paper-2); border-color: var(--paper-2); }

.btn-sm { padding: 7px 14px; font-size: 11px; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.btn:disabled:hover { background: var(--ink); border-color: var(--ink); }

.btn-link {
  background: none; border: 0; padding: 0;
  color: var(--gold-dark); text-transform: none; letter-spacing: 0;
  font-size: 13px; font-weight: 500; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Hero ---------- */

.hero { background: var(--ink); color: #f0ebe4; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 78% 18%, rgba(176, 141, 87, .22), transparent 65%),
    radial-gradient(700px 500px at 8% 92%, rgba(176, 141, 87, .10), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 24px 92px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.04;
  margin: 18px 0 20px;
  letter-spacing: -.015em;
}
.hero p { color: #b8afa3; font-size: 16px; max-width: 46ch; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius);
  margin-top: 44px;
}
.hero-stats div { background: var(--ink); padding: 18px 16px; }
.hero-stats .n { font-family: var(--serif); font-size: 30px; color: var(--gold); line-height: 1; }
.hero-stats .l {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8e857b;
  margin-top: 7px;
}

.hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-tile {
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #1d1915, #14110f);
  display: grid;
  place-items: center;
  padding: 20px;
}
.hero-tile svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #ece6de; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #a49b90; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin-top: 8px; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Category strip ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 22px 20px 20px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.cat-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.cat-card .thumb { height: 96px; margin-bottom: 14px; }
.cat-card .thumb svg { width: 100%; height: 100%; }
.cat-card h3 { font-size: 15px; font-weight: 600; }
.cat-card .n { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ---------- Product grid ---------- */

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }

.card-media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(155deg, var(--paper-2), var(--paper-3));
  display: grid;
  place-items: center;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}
.card-media svg { width: 100%; height: 100%; }

.badge-row { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--ink);
  color: #fff;
}
.badge-gold { background: var(--gold); }
.badge-quiet { background: #fff; color: var(--muted); border: 1px solid var(--line); }

.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card-sku { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.card-title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.card-meta { font-size: 12px; color: var(--muted); }
.card-foot { margin-top: auto; padding-top: 14px; }

/* ---------- Price gate — the core B2B mechanic ---------- */

.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price-value { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.price-unit { font-size: 12px; color: var(--muted); }
.price-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-soft);
  padding: 2px 7px;
  border-radius: 2px;
}

.price-locked {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 10px 12px;
  width: 100%;
  justify-content: center;
  text-align: center;
  transition: border-color .15s, color .15s, background .15s;
}
a.price-locked:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-soft); }
.price-locked svg { width: 13px; height: 13px; flex: none; }

.price-pending { border-style: solid; border-color: #e4cfa4; background: var(--warn-soft); color: var(--warn); }

/* ---------- Filters ---------- */

.catalog-layout { display: grid; grid-template-columns: 244px 1fr; gap: 40px; align-items: start; }

.filters { position: sticky; top: 88px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.filter-opt { display: flex; align-items: center; gap: 9px; padding: 4px 0; font-size: 13px; cursor: pointer; }
.filter-opt input { accent-color: var(--gold); width: 15px; height: 15px; cursor: pointer; flex: none; }
.filter-opt .count { margin-left: auto; font-size: 11px; color: var(--muted); }

.catalog-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.catalog-bar .count { font-size: 13px; color: var(--muted); margin-right: auto; }

select.control, input.control, textarea.control {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 14px;
  width: 100%;
}
select.control { cursor: pointer; }
.control:focus { outline: 2px solid var(--gold); outline-offset: -1px; border-color: var(--gold); }
.control-inline { width: auto; min-width: 200px; }

/* ---------- Forms ---------- */

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.panel-sm { padding: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.field .req { color: var(--err); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error {
  font-size: 13px;
  color: var(--err);
  background: var(--err-soft);
  border: 1px solid #e9c9c7;
  border-radius: var(--radius);
  padding: 10px 13px;
  margin-bottom: 16px;
}
.form-note {
  font-size: 13px;
  background: var(--paper-2);
  border-left: 2px solid var(--gold);
  padding: 12px 14px;
  margin-bottom: 20px;
}

.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin-bottom: 16px; }
.checkline input { margin-top: 3px; accent-color: var(--gold); width: 15px; height: 15px; flex: none; }

/* ---------- Status pills ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
}
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-pending { background: var(--warn-soft); color: var(--warn); }
.pill-err { background: var(--err-soft); color: var(--err); }
.pill-quiet { background: var(--paper-2); color: var(--muted); }

/* ---------- Product detail ---------- */

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--paper-2), var(--paper-3));
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 64px;
}
.pdp-media svg { width: 100%; height: 100%; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pdp-thumb {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 14px;
  cursor: pointer;
}
.pdp-thumb.is-active { border-color: var(--gold); }
.pdp-thumb svg { width: 100%; height: 100%; }

.pdp h1 { font-family: var(--serif); font-size: 36px; font-weight: 400; margin: 10px 0 8px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { width: 42%; font-weight: 500; color: var(--muted); }

.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table th, .tier-table td { padding: 9px 12px; border: 1px solid var(--line); text-align: left; }
.tier-table th {
  background: var(--paper-2);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.tier-table tr.is-current td { background: var(--gold-soft); font-weight: 600; }

.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.qty button { width: 38px; height: 42px; background: #fff; border: 0; cursor: pointer; font-size: 17px; color: var(--muted); }
.qty button:hover { background: var(--paper-2); color: var(--text); }
.qty input {
  width: 62px; height: 42px;
  border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-weight: 600;
}
.qty-sm button { width: 30px; height: 34px; font-size: 15px; }
.qty-sm input { width: 48px; height: 34px; font-size: 13px; }

.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}
.chip:hover { border-color: var(--gold); }
.chip.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* ---------- Tables ---------- */

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0 12px 12px;
  border-bottom: 1px solid var(--line-strong);
}
.table td { padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th.r, .table td.r { text-align: right; }
.table-thumb {
  width: 62px; height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 8px;
  flex: none;
}
.line-item { display: flex; gap: 14px; align-items: center; }

.cart-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

.totals { font-size: 14px; }
.totals .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.totals .row.grand {
  border-top: 1px solid var(--line-strong);
  margin-top: 8px;
  padding-top: 15px;
  font-size: 19px;
  font-weight: 600;
}

.empty-state { text-align: center; padding: 72px 24px; }
.empty-state svg { width: 46px; height: 46px; opacity: .3; margin: 0 auto 18px; }

/* ---------- Gate banner ---------- */

.gate {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.gate .g-body { flex: 1; min-width: 260px; }
.gate h3 { font-size: 17px; margin-bottom: 5px; }
.gate p { margin: 0; font-size: 14px; color: var(--muted); }
.gate .g-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Feature rows ---------- */

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { border-top: 2px solid var(--gold); padding-top: 18px; }
.feature h3 { font-size: 16px; font-weight: 600; margin-bottom: 7px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }
.section-dark .feature p { color: #a49b90; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step { background: #fff; padding: 26px 24px; }
.step .n { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Demo accounts helper ---------- */

.demo-box {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 16px 18px;
  font-size: 13px;
  margin-top: 22px;
}
.demo-box h4 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.demo-box ul { margin: 0; padding-left: 18px; }
.demo-box li { margin-bottom: 5px; }
.demo-box code {
  font-family: var(--mono);
  font-size: 12px;
  background: #fff;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #a29a90; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding: 60px 0 48px; }
.site-footer h4 {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; font-size: 14px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand-mark { color: #fff; }
.footer-about { font-size: 14px; max-width: 38ch; margin: 14px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
  flex-wrap: wrap;
}

/* ---------- Toast ---------- */

.toast-host {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  animation: toast-in .22s ease-out;
  max-width: 340px;
}
.toast.is-err { background: var(--err); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Breadcrumb / page head ---------- */

.crumbs { font-size: 12px; color: var(--muted); padding: 20px 0; }
.crumbs a:hover { color: var(--gold-dark); }
.crumbs span { margin: 0 7px; opacity: .5; }

.page-head { padding: 34px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.page-head h1 { font-family: var(--serif); font-size: 40px; font-weight: 400; }
.page-head p { margin: 10px 0 0; color: var(--muted); max-width: 62ch; }

/* ---------- Account page ---------- */

.acct-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.acct-nav { display: flex; flex-direction: column; gap: 2px; }
/* The back-office entry is an <a>, not a tab, because it leaves the site. */
.acct-nav button, .acct-nav a {
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  color: var(--muted);
  text-decoration: none;
}
.acct-nav button:hover, .acct-nav a:hover { color: var(--text); background: var(--paper-2); }
.acct-nav button.is-active { border-left-color: var(--gold); color: var(--text); font-weight: 600; background: #fff; }

.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; }
.kv .k {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.kv .v { font-size: 14px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px 64px; }
  .hero h1 { font-size: 42px; }
  .hero-grid { max-width: 420px; }
  .pdp { grid-template-columns: 1fr; gap: 34px; }
  .catalog-layout, .acct-layout, .cart-grid { grid-template-columns: 1fr; gap: 24px; }
  .filters { position: static; }
  .acct-nav { flex-direction: row; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .acct-nav button, .acct-nav a { border-left: 0; border-bottom: 2px solid transparent; }
  .acct-nav button.is-active { border-left: 0; border-bottom-color: var(--gold); }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  /* The shop bar collapses into the burger. Its rule and tint go with it,
     otherwise a bare strip is left under the header. */
  .nav { display: none; }
  .nav-bar { border-top: 0; background: transparent; }
  .nav-sep { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 2px;
    padding: 10px 0 20px;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .nav-item { display: block; width: 100%; }
  .nav.is-open .nav-link { height: 34px; }
  .nav.is-open .nav-caret { display: none; }

  /* Nothing hovers on a phone, so the categories are simply listed, indented
     under their heading rather than hidden behind it. */
  .nav.is-open .nav-drop {
    position: static;
    display: flex;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 620px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: 1fr; }
  .field-row, .kv-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .panel { padding: 22px; }
  .page-head h1 { font-size: 30px; }
  .section { padding: 48px 0; }
  .header-account .who { display: none; }
  .cart-link .cart-word { display: none; }
}

/* Wide content scrolls inside its own box — the page body never scrolls sideways */
.table-scroll { overflow-x: auto; }
.table-scroll > table { min-width: 620px; }

/* ==========================================================================
   NOCTURNE MOTO — premium helmet storefront
   ========================================================================== */
:root{--ink:#0a0b0d;--paper:#f3f1ec;--gold:#c7ff3d;--gold-dark:#86a91f;--muted:#777973;--line:#d9d7d1;--radius:0;--sans:Inter,"Helvetica Neue",Arial,sans-serif;--serif:"Times New Roman",serif}
.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}
.brand-logo{width:176px;height:48px;overflow:hidden;display:block;background:#08090a}.brand-logo img{width:220px;height:74px;object-fit:cover;object-position:left center;filter:invert(1) grayscale(1) contrast(1.35);transform:translate(-7px,-13px)}.footer-logo{display:block;width:230px;height:72px;overflow:hidden;background:#08090a}.footer-logo img{width:290px;height:98px;object-fit:cover;object-position:left center;filter:invert(1) grayscale(1) contrast(1.35);transform:translate(-8px,-17px)}
.lang-picker select{min-height:38px;border:1px solid #34363a;background:#0a0b0d;color:#fff;padding:0 32px 0 12px;font:600 12px/1 var(--sans);cursor:pointer}.lang-picker select:focus{outline:2px solid #c7ff3d;outline-offset:2px}
.film-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.film-video[hidden]{display:none}.film-backdrop.has-video{opacity:0}
html{scroll-behavior:smooth}body{background:#f3f1ec;color:#0a0b0d;font-family:var(--sans)}.wrap{max-width:1380px;padding-left:32px;padding-right:32px}
.announce{background:#c7ff3d;color:#090a0b;font-size:10px;font-weight:700;letter-spacing:.18em;text-align:center;text-transform:uppercase;padding:8px 20px}
.site-header{background:#0a0b0d;color:#fff;border:0;position:relative}.header-row{height:82px}.brand{display:flex;align-items:baseline;gap:8px}.brand-mark{font-size:21px;font-weight:800;letter-spacing:.15em}.brand-sub{color:#c7ff3d;font-size:9px;font-weight:700;letter-spacing:.22em}.desktop-nav{margin-left:auto;margin-right:28px;display:flex;gap:26px}.nav-link{color:#aaa;height:auto;border:0;padding:10px 0;font-size:11px;font-weight:650;letter-spacing:.11em;text-transform:uppercase}.nav-link:hover,.nav-link.is-active{color:#fff;border:0}.header-tools{gap:12px}.lang-toggle{border-color:#333}.lang-toggle button{color:#888}.lang-toggle button.is-active{background:#fff;color:#0a0b0d}.mobile-nav{display:none}.menu-toggle{color:#fff;border-color:#333}
.btn{border-radius:0;font-size:11px;font-weight:750;letter-spacing:.11em;text-transform:uppercase;padding:13px 22px}.btn-light{background:#fff;color:#0a0b0d;border-color:#fff}.btn-whatsapp{background:#c7ff3d!important;color:#090a0b!important;border-color:#c7ff3d!important}.btn-whatsapp:hover{background:#dcff81!important}.btn-sm{padding:10px 15px}
.film-hero{height:min(810px,calc(100vh - 110px));min-height:610px;position:relative;background:#070809;color:#fff;overflow:hidden}.film-backdrop{position:absolute;inset:0;background:url('../images/helmet-hero.png') center/cover no-repeat;transform:scale(1.01);animation:heroBreath 12s ease-in-out infinite alternate}.film-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,4,5,.93) 0%,rgba(3,4,5,.66) 40%,rgba(3,4,5,.05) 72%),linear-gradient(0deg,rgba(3,4,5,.5),transparent 45%)}@keyframes heroBreath{to{transform:scale(1.055)}}.film-content{height:100%;position:relative;display:flex;align-items:center}.film-copy{max-width:670px;margin-top:-20px}.hero-kicker,.section-index{display:block;color:#c7ff3d;font-size:10px;font-weight:750;letter-spacing:.23em;margin-bottom:24px}.film-copy h1{font-size:clamp(60px,7.4vw,112px);font-weight:800;letter-spacing:-.065em;line-height:.78;margin:0 0 32px;text-transform:uppercase}.film-copy h1 em,.manifesto h2 em{color:transparent;-webkit-text-stroke:1px #fff;font-style:normal}.film-copy p{max-width:520px;color:#b7b8b7;font-size:16px;line-height:1.75;margin:0 0 34px}.hero-actions{display:flex;gap:10px}.film-ui{position:absolute;right:34px;bottom:34px;width:min(48%,580px);display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:16px}.film-ui b{font-size:10px;letter-spacing:.18em}.film-ui small{display:block;color:#858585;font-size:10px;margin-top:4px}.film-play{width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(0,0,0,.3);color:#fff;cursor:pointer}.film-line{height:1px;background:#5a5a5a}.film-line i{display:block;width:28%;height:1px;background:#c7ff3d}.film-ui>span{font-size:10px;color:#888}.scroll-note{position:absolute;left:34px;bottom:36px;font-size:9px;letter-spacing:.2em;display:flex;align-items:center;gap:12px}.scroll-note span{width:42px;height:1px;background:#777}
.category-section{background:#0b0c0e;color:#fff;padding:110px 0}.editorial-head{align-items:flex-end;margin-bottom:50px}.editorial-head h2,.manifesto h2{font-size:clamp(42px,5vw,72px);font-weight:700;letter-spacing:-.045em;line-height:1;margin:0}.editorial-head p{color:#888;max-width:420px;line-height:1.7}.helmet-cat-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:12px}.helmet-cat{grid-column:span 4;min-height:220px;padding:24px;position:relative;overflow:hidden;background:linear-gradient(145deg,#1a1b1e,#111214);color:#fff;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #24262a;transition:.35s}.helmet-cat:nth-child(1),.helmet-cat:nth-child(5){grid-column:span 6}.helmet-cat:before{content:"";position:absolute;width:240px;height:240px;border-radius:50%;right:-70px;bottom:-110px;background:radial-gradient(circle,#373b3e,transparent 68%);transition:.5s}.helmet-cat:hover{border-color:#c7ff3d;transform:translateY(-3px)}.helmet-cat:hover:before{transform:scale(1.25)}.helmet-cat>span{font-size:10px;color:#6d7075;letter-spacing:.18em}.helmet-cat h3{font-size:30px;margin:0 0 8px;letter-spacing:-.035em}.helmet-cat p{font-size:9px;color:#777;letter-spacing:.17em;margin:0}.helmet-cat>b{position:absolute;right:24px;top:22px;color:#c7ff3d;font-weight:400}
.manifesto{background:#c7ff3d;padding:120px 0}.manifesto-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:100px}.manifesto .section-index{color:#0a0b0d}.manifesto h2 em{-webkit-text-stroke-color:#0a0b0d}.manifesto-grid>div>p{font-size:20px;line-height:1.65;max-width:590px}.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:55px;padding-top:24px;border-top:1px solid rgba(0,0,0,.25)}.proof-grid b{display:block;font-size:28px}.proof-grid span{font-size:9px;letter-spacing:.14em}
.featured-section{padding:110px 0}.featured-section .section-index{color:#7b8d4a}.text-link{font-size:10px;font-weight:700;letter-spacing:.14em;border-bottom:1px solid}.product-grid{gap:18px}.card{background:transparent;border:0;box-shadow:none;display:flex;flex-direction:column}.card:hover{box-shadow:none;transform:none}.card-main{display:block}.card-media{height:auto;aspect-ratio:1/1.05;background:#d9d7d0;overflow:hidden}.product-photo{width:100%;height:100%;object-fit:cover;transform:scale(1.35);transition:.6s;filter:saturate(.72)}.card:hover .product-photo{transform:scale(1.42)}.product-tone-red .product-photo{filter:hue-rotate(320deg) saturate(.9)}.product-tone-gold .product-photo,.product-tone-amber .product-photo{filter:saturate(.95)}.product-tone-blue .product-photo{filter:hue-rotate(170deg) saturate(.65)}.product-tone-lime .product-photo{filter:hue-rotate(45deg) saturate(.8)}.card-body{padding:20px 0 14px}.card-sku{color:#888;font-size:9px;letter-spacing:.16em}.card-title{font-size:20px;font-weight:650;margin-top:8px}.card-meta{font-size:11px;color:#777;margin-top:7px}.card-foot{margin-top:16px}.price-value{font-size:17px;font-weight:750}.price-unit{color:#999;font-size:10px}.card-whatsapp{display:flex;justify-content:space-between;border-top:1px solid #d4d2cc;padding:14px 0;color:#252a18;font-size:10px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.card-whatsapp:hover{color:#708d1f}.badge{border-radius:0;font-size:8px;letter-spacing:.12em;background:#fff;color:#111}.badge-gold{background:#c7ff3d}
.service-band{background:#111317;color:#fff;padding:110px 0;text-align:center}.service-inner>span{font-size:9px;color:#c7ff3d;letter-spacing:.22em}.service-inner h2{max-width:850px;margin:25px auto 18px;font-size:clamp(38px,5vw,70px);letter-spacing:-.045em;line-height:1}.service-inner p{color:#888;max-width:570px;margin:0 auto 32px;line-height:1.7}
.site-footer{background:#08090a;color:#aaa}.footer-top{border-color:#25272a}.footer-top h4{color:#fff}.footer-bottom{border-color:#25272a}
.page-head{padding-top:70px}.page-head h1{font-family:var(--sans);font-weight:750;letter-spacing:-.04em}.filters{background:#e9e7e1}.control{border-radius:0}.pdp-media{background:#d8d6cf}.pdp-media .product-photo{transform:scale(1.2)}
@media(max-width:1050px){.desktop-nav{display:none}.menu-toggle{display:block}.mobile-nav{display:none;position:absolute;top:82px;left:0;right:0;background:#0a0b0d;z-index:80;padding:20px 32px;flex-direction:column}.mobile-nav.is-open{display:flex}.film-ui{width:55%}.helmet-cat,.helmet-cat:nth-child(1),.helmet-cat:nth-child(5){grid-column:span 6}.manifesto-grid{gap:45px}}
@media(max-width:700px){.wrap{padding-left:20px;padding-right:20px}.header-row{height:70px}.film-hero{min-height:680px;height:calc(100vh - 98px)}.film-backdrop{background-position:62% center}.film-shade{background:linear-gradient(90deg,rgba(3,4,5,.9),rgba(3,4,5,.26)),linear-gradient(0deg,rgba(3,4,5,.8),transparent)}.film-copy{align-self:flex-end;margin:0 0 135px}.film-copy h1{font-size:54px}.film-copy p{font-size:14px;max-width:90%}.film-ui{left:20px;right:20px;bottom:28px;width:auto}.scroll-note{display:none}.category-section,.manifesto,.featured-section,.service-band{padding:75px 0}.editorial-head{display:block}.editorial-head p{margin-top:20px}.helmet-cat,.helmet-cat:nth-child(1),.helmet-cat:nth-child(5){grid-column:span 12;min-height:170px}.manifesto-grid{grid-template-columns:1fr;gap:35px}.proof-grid{gap:10px}.proof-grid b{font-size:21px}.product-grid,.product-grid.cols-3{grid-template-columns:1fr}.card-media{aspect-ratio:1.15/1}.footer-top{grid-template-columns:1fr}.lang-toggle{display:none}}

/* Uploaded catalogue and editable homepage */
.home-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home-product-grid .card,.coming-card{background:#141619;border:1px solid #2c2e31;color:#fff;min-width:0}.home-product-grid .card-body{padding:22px}.card-title{display:block;line-height:1.35}.card-meta.reward-text{font-size:14px;line-height:1.7;letter-spacing:0;margin:12px 0;color:#737770}.home-product-grid .card-meta{color:#c4c8bc}.card-media{aspect-ratio:1/1;background:#fff}.card .product-photo,.card:hover .product-photo,.pdp-media .product-photo{object-fit:contain;transform:none;filter:none}.cod-price{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.cod-order{color:#455e05;font-size:14px;line-height:1.5;border-bottom:1px solid currentColor}.home-product-grid .cod-order{color:#c7ff3d}.sales-line{font-size:14px;color:#899476}.coming-card{min-height:400px;padding:24px;display:flex;flex-direction:column;justify-content:space-between}.coming-card>span{color:#89917f;font-size:14px}.coming-symbol{font-size:64px;font-weight:800;letter-spacing:-.06em;color:#30352b}.coming-card h3{font-size:24px;color:#a9b39b}.film-copy h1{white-space:pre-line;line-height:1.04}.hero-actions{flex-wrap:wrap}.hero-actions .btn{font-size:14px;letter-spacing:0}.credentials-section{background:#e9e7df;padding:90px 0}.credentials-section .section-index{color:#53632c}.credentials-copy{max-width:1040px;font-size:18px;line-height:1.9;margin:0 0 36px}.credentials-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.credentials-grid figure{margin:0}.credentials-grid img{width:100%;height:auto;display:block}.credentials-grid figcaption{font-size:16px;margin-top:15px}.reviews-section h2{font-size:42px}.reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.review-card{padding:24px;border:1px solid #c8c9c0;min-width:0}.review-card p{white-space:pre-wrap;overflow-wrap:anywhere}.review-person{display:flex;gap:12px;align-items:center}.review-avatar{width:44px;height:44px;object-fit:cover;border-radius:50%}.review-stars{color:#7a990b;letter-spacing:3px;font-size:24px;margin-top:16px}.review-stars span{color:#a4a79b}.review-photos{display:flex;gap:8px;flex-wrap:wrap}.review-photos img{width:90px;height:90px;object-fit:cover}.product-details{max-width:1000px;margin:60px auto}.product-details img{display:block;width:100%;height:auto;margin:0}.pdp-thumbs{display:flex;overflow-x:auto;gap:8px;padding:10px 0}.pdp-thumb{flex:0 0 80px;width:80px;height:80px;background:#fff;border:1px solid #aaa;cursor:pointer;padding:0}.pdp-thumb img{width:100%;height:100%;object-fit:contain}.pdp-media{aspect-ratio:1/1;background:#fff;overflow:hidden}.pdp-media .product-photo{height:100%;width:100%}.pdp .reward-text{font-size:16px;line-height:1.8}.film-ui[hidden]{display:none}.section-index,.hero-kicker{font-size:12px}.header-contact{letter-spacing:0;font-size:13px}.footer-bottom{white-space:pre-line}.service-inner h2{line-height:1.2}
@media(max-width:1000px){.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.credentials-grid{grid-template-columns:1fr}}
@media(max-width:600px){.home-product-grid,.reviews-grid{grid-template-columns:1fr}.coming-card{min-height:260px}.header-contact{display:none}.credentials-section{padding:60px 0}.film-copy h1{font-size:56px}.pdp h1{font-size:36px}.cod-price .price-value{font-size:20px}.credentials-copy{font-size:16px}}
