/* ==========================================================================
   PATAKA HUB — the world of the owner's logo
   Night navy fields (the logo's own outline), Hub cream ground, marigold and
   ember, fire red for money, rocket sky. Die-cut listing cards with a navy
   keyline and a hard navy offset. Anek Latin; the logo owns the script.
   ========================================================================== */

:root {
  --night: #0A0F2E;
  --night-2: #161C45;
  --night-3: #2A3268;
  --on-night: #FFF5E1;
  --on-night-2: #C9CCE6;
  --ink: #0A0F2E;
  --ink-2: #3A3F5C;
  --ink-3: #5B607A;
  --hair: #E2D3B6;
  --cream: #FFF5E1;
  --cream-2: #F6E6C6;
  --white: #FFFFFF;
  --gold: #FFC21A;
  --gold-soft: #FFE8A6;
  --orange: #F7901E;
  --red: #D7102A;
  --red-deep: #A60B1F;
  --sky: #1AC4FD;
  --ok: #0B7A4C;
  --ok-tint: #E2F4E9;
  --err: #B0290B;
  --err-tint: #FFEBE3;

  --f: "Anek Latin", "Anek Telugu", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --f-te: "Anek Telugu", "Nirmala UI", "Gautami", "Noto Sans Telugu", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --r-card: 14px;
  --r-ctl: 10px;
  --press: 3px 3px 0 var(--night);
  --lift: 5px 5px 0 var(--night);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:lang(te) { font-family: var(--f-te); }

:focus-visible { outline: 3px solid var(--night); outline-offset: 3px; }
.site-head :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .list-bar :focus-visible { outline-color: var(--sky); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--night); padding: .6rem 1rem; font-weight: 700;
  border: 2px solid var(--night); border-radius: var(--r-ctl);
}
.skip:focus { top: 12px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 900px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------------- type ---------------- */
.h-section {
  font-weight: 800; font-stretch: 118%;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  line-height: .98; letter-spacing: -.02em;
}
.h-block { font-weight: 800; font-stretch: 110%; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -.01em; }
.lede { font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem); line-height: 1.45; max-width: 40rem; }
.muted { color: var(--ink-2); }
.small { font-size: .95rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.te { font-family: var(--f-te); font-weight: 600; }

/* The swash: a level ember bar under a heading. It used to rise left to
   right like the logo's baseline; the owner asked for it straight
   (2026-10-08). */
.swash { position: relative; display: inline-block; padding-bottom: .16em; isolation: isolate; }
.swash::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .14em;
  background: var(--orange); border-radius: 999px;
  z-index: -1;
}

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .7em 1.3em;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.1;
  background: var(--gold); color: var(--night);
  border: 2px solid var(--night); border-radius: var(--r-ctl);
  box-shadow: var(--press);
  text-decoration: none; cursor: pointer;
  transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), background-color .14s;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--night); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--night); }
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--cream-2); color: var(--ink-3); border-color: var(--ink-3); box-shadow: none; transform: none; cursor: not-allowed;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-deep); }
.btn-night { background: var(--night); color: var(--on-night); }
.btn-night:hover { background: var(--night-2); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 1.1875rem; padding-inline: 1.5em; }
.btn.is-added { background: var(--ok); color: var(--white); }
.btn.is-busy { cursor: progress; }
/* on night fields the navy offset would vanish: the offset turns ember, like
   the lower half of the logo's lettering */
.hero .btn, .list-bar .btn { border-color: var(--night); box-shadow: 3px 3px 0 var(--orange); }
.hero .btn:hover, .list-bar .btn:hover { box-shadow: 4px 4px 0 var(--orange); }
.btn-line { background: transparent; color: var(--on-night); border-color: var(--on-night) !important; box-shadow: none !important; }
.btn-line:hover { background: var(--on-night); color: var(--night); }

.textlink { font-weight: 650; color: inherit; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.linkbtn { background: none; border: 0; padding: 0; font-weight: 650; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .2em; cursor: pointer; }

/* ---------------- the logo ---------------- */
.logo { position: relative; display: block; line-height: 0; }
.logo img { width: 100%; height: auto; }
.glints { position: absolute; inset: 0; pointer-events: none; }
.glint {
  position: absolute; width: 5.2%; aspect-ratio: 1; margin: -2.6% 0 0 -2.6%;
  background: #FFFBEA;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  transform: scale(0); opacity: 0;
  /* masthead and footer: the four glints run once on load, and again on hover */
  animation: glint .8s ease-in-out 1 both; animation-delay: calc(var(--g, 0) * .75s + .6s);
}
a:hover .glint, a:focus-visible .glint { animation-name: glint-again; animation-delay: calc(var(--g, 0) * .2s); }
@keyframes glint {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  45% { transform: scale(1) rotate(30deg); opacity: 1; }
  100% { transform: scale(0) rotate(80deg); opacity: 0; }
}
@keyframes glint-again {
  0% { transform: scale(0) rotate(0deg); opacity: 0; }
  45% { transform: scale(1) rotate(30deg); opacity: 1; }
  100% { transform: scale(0) rotate(80deg); opacity: 0; }
}
/* home hero: the promo film's controls */
.film-btn {
  display: inline-flex; align-items: center; gap: .45rem; padding: .25rem .75rem; min-height: 36px;
  background: transparent; color: var(--on-night); border: 1.5px solid var(--night-3); border-radius: 999px;
  font-family: inherit; font-size: .8125rem; font-weight: 650; cursor: pointer;
}
.film-btn:hover { border-color: var(--gold); color: var(--gold); }
.film-btn svg { width: 14px; height: 14px; fill: currentColor; flex: none; }

/* ---------------- masthead ---------------- */
.site-head { position: relative; z-index: 30; background: var(--night); color: var(--on-night); }
.mast {
  max-width: var(--max); margin-inline: auto; padding: .7rem var(--gutter);
  display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 1.6rem;
}
/* "We sell" + the Standard Fireworks wordmark, beside our own logo on every page */
.std-badge { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding-left: 1.2rem; border-left: 1px solid var(--night-3); line-height: 1; }
.std-badge span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); }
.std-badge .std-logo { height: 38px; width: auto; }
.brand { display: block; width: 136px; margin-block: -12px -8px; text-decoration: none; }
.brand:hover .logo img { transform: rotate(-1.5deg) scale(1.03); }
.brand .logo img { transition: transform .35s var(--ease-out); }
.search { display: flex; max-width: 640px; width: 100%; justify-self: center; }
.search-input {
  flex: 1; min-width: 0; min-height: 46px; padding: .55rem .9rem;
  background: var(--cream); color: var(--ink); border: 2px solid var(--cream); border-right: 0;
  border-radius: var(--r-ctl) 0 0 var(--r-ctl); font-size: 1rem;
}
.search-input::placeholder { color: var(--ink-3); }
.search-input:focus { outline: 3px solid var(--sky); outline-offset: 0; }
.search-btn {
  display: grid; place-items: center; width: 52px; min-height: 46px; padding: 0;
  background: var(--gold); color: var(--night); border: 2px solid var(--gold); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; cursor: pointer;
}
.search-btn:hover { background: var(--orange); border-color: var(--orange); }
.search-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }
.cart-link {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; min-height: 46px;
  border: 2px solid var(--on-night); border-radius: var(--r-ctl); text-decoration: none; font-weight: 700; color: var(--on-night);
  transition: border-color .15s, color .15s;
}
.cart-link:hover, .cart-link[aria-current="page"] { border-color: var(--gold); color: var(--gold); }
.cart-link svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  min-width: 1.7em; height: 1.7em; padding: 0 .35em; border-radius: 999px; display: inline-grid; place-items: center;
  background: var(--red); color: var(--white); font-size: .875rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.cart-count.bump { animation: bump .5s var(--ease-out); }
@keyframes bump { 0% { transform: scale(1.5); } 100% { transform: scale(1); } }

.catbar { border-top: 1px solid var(--night-3); }
.catbar ul {
  list-style: none; max-width: var(--max); margin-inline: auto; padding: 0 var(--gutter);
  display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none;
}
.catbar ul::-webkit-scrollbar { display: none; }
.catbar li { flex: 0 0 auto; }
.catbar a {
  display: block; padding: .65rem 0 .55rem; font-weight: 600; font-size: .95rem; color: var(--on-night-2);
  text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap;
}
.catbar a:hover { color: var(--on-night); border-bottom-color: var(--orange); }
.catbar a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.catbar-list { margin-left: auto; }
.catbar-list a { color: var(--gold); }

@media (max-width: 720px) {
  .mast { grid-template-columns: auto auto minmax(0, 1fr); grid-template-areas: "brand std cart" "search search search"; gap: .5rem .8rem; padding-block: .55rem .75rem; }
  .std-badge { grid-area: std; padding-left: .75rem; gap: .1rem; }
  .std-badge span { font-size: .56rem; }
  .std-badge .std-logo { height: 28px; }
  .brand { grid-area: brand; width: 104px; margin-block: -6px -4px; }
  .search { grid-area: search; max-width: none; }
  .cart-link { grid-area: cart; justify-self: end; }
  .cart-word { display: none; }
  .catbar ul { gap: 1.2rem; }
  .catbar-list { margin-left: 0; }
}

/* ---------------- HOME: hero ---------------- */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(1.6rem, 3vw, 2.4rem);
}
.hero-brand, .hero-copy { position: relative; }
.hero-greet { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .6rem; font-size: 1.0625rem; font-weight: 700; color: var(--gold); margin-bottom: .2rem; }
.hero-greet span + span { font-size: .95rem; font-weight: 600; color: var(--on-night-2); }
.hero-film { width: clamp(300px, 40vw, 580px); margin: .5rem 0 0; }
.hero-film video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  background: var(--night-2); border: 2px solid var(--gold); border-radius: var(--r-card); box-shadow: 6px 6px 0 var(--orange);
}
.film-controls { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.hero-title { position: relative; z-index: 1; }
.hero-title .logo { width: 100%; }
.hero-line {
  display: block;
  font-weight: 800; font-stretch: 116%; font-size: clamp(1.6rem, 1.05rem + 1.7vw, 2.5rem);
  line-height: 1; letter-spacing: -.02em; color: var(--on-night);
}
.hero-lede { color: var(--on-night-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.45; max-width: 34rem; margin: 1rem 0 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; font-weight: 650; font-size: .9rem; }
.hero-facts li { padding: .25rem .65rem; border: 1.5px solid var(--night-3); border-radius: 999px; color: var(--on-night); }
.hero-facts li:last-child { border-color: var(--gold); color: var(--gold); }

.hero-line .hl { color: var(--gold); }
.hero-early {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: .8rem; padding: .35rem .95rem;
  background: var(--gold); color: var(--night); border-radius: 999px; box-shadow: 3px 3px 0 var(--orange);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
}
.hero-early::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); animation: live-dot 1.8s ease-out infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 rgba(215, 16, 42, .55); } 100% { box-shadow: 0 0 0 .45rem rgba(215, 16, 42, 0); } }

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 1rem; }
  .hero-film { width: min(100%, 560px); margin-inline: auto; }
  .film-controls { justify-content: center; }
  .hero-greet { display: flex; justify-content: center; }
  .hero-line { text-align: center; }
  .hero-lede { text-align: center; margin-inline: auto; }
  .hero-actions { flex-direction: column; gap: .8rem; }
  .hero-actions .btn { width: 100%; min-height: 52px; font-size: 1.125rem; }
  .hero-facts { justify-content: center; gap: .35rem; font-size: .8125rem; }
  .hero-facts li { padding: .2rem .55rem; }
  .hero-early { display: flex; width: fit-content; margin-inline: auto; }
}

/* ---------------- sections ---------------- */
.section { padding-block: clamp(3rem, 6vw, 5rem) 0; }
.section-tight { padding-top: clamp(2.8rem, 5vw, 4.2rem); }
.section-last { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.section-head h2 { margin-bottom: .45rem; }

/* category tiles */
.kinds { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem 1.2rem; }
.kind {
  display: flex; flex-direction: column; height: 100%; text-decoration: none;
  background: var(--white); border: 2px solid var(--night); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--press);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.kind:hover { transform: translate(-2px, -2px); box-shadow: var(--lift); }
.kind-photo { display: block; aspect-ratio: 1 / 1; background: var(--white); overflow: hidden; border-bottom: 1px solid var(--hair); }
.kind-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease-out); }
.kind:hover .kind-photo img { transform: scale(1.04); }
.kind-text { display: grid; gap: .1rem; padding: .6rem 1rem .9rem; }
.kind-name { font-weight: 800; font-stretch: 108%; font-size: 1.3rem; line-height: 1.1; }
.kind:hover .kind-name { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .15em; }
.kind-te { color: var(--ink-2); font-size: .95rem; }
.kind-meta { color: var(--ink-3); font-size: .9rem; }
@media (max-width: 900px) { .kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .9rem; } .kind-name { font-size: 1.1rem; } .kind-text { padding: .3rem .75rem .75rem; } }

/* ---------------- the listing card ---------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1.8rem 1.4rem; }
.cards-shop { padding-bottom: 4rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 2px solid var(--night); border-radius: var(--r-card); overflow: hidden;
  box-shadow: 4px 4px 0 var(--night);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--night); }
.card-top { position: relative; }
.card-std { position: absolute; left: 8px; top: 8px; z-index: 1; display: block; padding: 4px 7px 3px; background: var(--night); border-radius: 8px; line-height: 0; pointer-events: none; }
.card-std .std-logo { height: 24px; width: auto; }
.card-photo { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--white); }
.card-photo img {
  width: 100%; height: 100%; object-fit: contain; background: var(--white);
  transition: transform .5s var(--ease-out);
}
.card:hover .card-photo img { transform: scale(1.04); }
.card-price {
  position: absolute; right: 10px; bottom: 2px; z-index: 1;
  display: grid; justify-items: end; padding: .3rem .7rem .35rem;
  background: var(--gold); color: var(--night); border: 2px solid var(--night); border-radius: var(--r-ctl);
  box-shadow: 3px 3px 0 var(--night); transform: rotate(-4deg); transform-origin: 100% 100%;
  line-height: 1;
}
.card-price b { font-weight: 800; font-size: 1.5rem; font-stretch: 100%; letter-spacing: -.01em; font-variant-numeric: tabular-nums lining-nums; }
.card-price span { font-size: .75rem; font-weight: 650; margin-top: .15rem; }
.card-price .mrp { font-size: .72rem; font-weight: 650; color: var(--ink-2); margin-bottom: .2rem; text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.card-price .mrp span { margin: 0; font-size: inherit; }
.card-flag {
  position: absolute; left: 10px; top: 10px; z-index: 1; padding: .2rem .55rem; border-radius: 8px;
  background: var(--night); color: var(--on-night); font-weight: 700; font-size: .85rem;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: .6rem 1rem 1rem; border-top: 1px solid var(--hair); }
.card-cat { font-size: .85rem; font-weight: 650; color: var(--ink-3); padding-right: 6.5rem; min-height: 1.3em; }
.card-name { font-size: 1.1875rem; font-weight: 750; font-stretch: 98%; line-height: 1.15; margin-top: .45rem; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card-name a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.card-fx { color: var(--ink-2); font-size: .9rem; line-height: 1.35; margin-top: .3rem; }
/* gun and caps pairing: which caps a gun uses, which gun the caps fit */
.card-pair {
  align-self: flex-start; justify-self: start; margin-top: .5rem; padding: .12rem .6rem;
  background: var(--gold-soft); border: 1.5px solid var(--night); border-radius: 999px;
  font-size: .82rem; font-weight: 750; line-height: 1.3; color: var(--ink);
}
.card-meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center; margin-top: .6rem; }
.card-unit { font-size: .9rem; font-weight: 650; margin-top: .5rem; }
.card-low { font-size: .85rem; font-weight: 650; color: var(--red-deep); margin-top: .2rem; }
.card-buy { margin-top: auto; padding-top: .9rem; position: relative; z-index: 1; }
.card-buy .btn { width: 100%; }
.card .suit, .card .noise, .card .card-fx, .card .card-unit { position: relative; z-index: 1; }
.btn-add { min-height: 44px; padding: .5em 1em; font-size: 1rem; }
.card.is-out .card-photo img { filter: grayscale(.85) brightness(.8); }
.card.is-out .card-price { background: var(--cream-2); }

.stock { display: inline-block; font-size: .875rem; font-weight: 650; }
.stock-out { color: var(--err); }
.stock-low { color: var(--red-deep); }

.suit { display: inline-flex; align-items: center; font-size: .8rem; font-weight: 700; padding: .15rem .5rem; line-height: 1.3; border: 1.5px solid var(--night); border-radius: 6px; }
.suit-kids { background: var(--sky); color: var(--night); }
.suit-teens { background: var(--gold); color: var(--night); }
.suit-adults { background: var(--night); color: var(--on-night); }
.noise { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.noise-bars { display: inline-flex; align-items: flex-end; gap: 2px; }
.noise-bars i { width: 4px; background: var(--hair); display: block; border-radius: 1px; }
.noise-bars i:nth-child(1) { height: 6px; } .noise-bars i:nth-child(2) { height: 9px; } .noise-bars i:nth-child(3) { height: 12px; }
.noise-bars i.on { background: var(--night); }
.noise-loud .noise-bars i.on { background: var(--red); }

@media (max-width: 600px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem .8rem; }
  .card { box-shadow: 3px 3px 0 var(--night); }
  .card-body { padding: .45rem .65rem .7rem; }
  .card-cat, .card-fx, .card-meta .noise { display: none; }
  .card-name { font-size: 1rem; margin-top: .25rem; }
  .card-meta { margin-top: .45rem; }
  .suit { font-size: .75rem; }
  .card-unit { font-size: .82rem; margin-top: .35rem; }
  .card-std { left: 6px; top: 6px; padding: 3px 5px 2px; border-radius: 6px; }
  .card-std .std-logo { height: 17px; }
  .card-pair { font-size: .74rem; margin-top: .35rem; padding-inline: .45rem; }
  .card-price { right: 6px; padding: .22rem .5rem .28rem; }
  .card-price b { font-size: 1.2rem; }
  .card-price span { font-size: .68rem; }
  .card-price .mrp { font-size: .66rem; }
  .card-buy { padding-top: .7rem; }
  .btn-add { font-size: .95rem; padding-inline: .5em; }
}

/* ---------------- page heads ---------------- */
.page-head { padding-block: clamp(1.8rem, 4vw, 3rem) clamp(1.2rem, 2.5vw, 1.8rem); }
.page-head h1 { font-weight: 800; font-stretch: 120%; font-size: clamp(2.3rem, 1.3rem + 3vw, 3.8rem); line-height: .95; letter-spacing: -.025em; margin-bottom: .9rem; }
.page-te { color: var(--ink-2); font-size: 1.0625rem; min-height: 0; margin-bottom: .3rem; }
.page-te:empty { display: none; }
.notes { display: grid; gap: .5rem; margin-top: 1rem; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; font-size: .95rem; color: var(--ink-2); padding-top: 1.4rem; margin-bottom: 1.2rem; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--ink-3); }
.crumbs a { color: inherit; }

/* ---------------- catalogue tools ---------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .8rem 1.1rem; align-items: flex-end;
  padding: 1rem 1.1rem; background: var(--white); border: 2px solid var(--night); border-radius: var(--r-card);
}
.filters .field { flex: 0 1 200px; }
.viewswitch { margin-left: auto; display: inline-flex; gap: 2px; background: var(--night); border: 2px solid var(--night); border-radius: var(--r-ctl); overflow: hidden; }
.viewswitch button { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .4rem .9rem; white-space: nowrap; border: 0; background: var(--white); font-weight: 700; cursor: pointer; }
.viewswitch button:hover { background: var(--gold-soft); }
.viewswitch button[aria-pressed="true"] { background: var(--night); color: var(--on-night); }
.viewswitch svg { width: 18px; height: 18px; fill: currentColor; stroke: currentColor; stroke-width: 0; }
.viewswitch svg path { fill: none; stroke-width: 2; stroke-linecap: round; }
.viewswitch button:focus-visible { outline-offset: -5px; outline-color: var(--sky); }
@media (max-width: 600px) {
  .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem .7rem; padding: .8rem; }
  .filters .field { flex: none; }
  .filters .field > span { font-size: .875rem; }
  .filters .select { min-height: 46px; font-size: 1rem; padding: .5rem 2rem .5rem .7rem; background-position: right .7rem center; }
  .filters .field-sort { grid-column: 1 / -1; }
  .viewswitch { grid-column: 1 / -1; margin-left: 0; }
  .viewswitch button { flex: 1; justify-content: center; }
}
.result-line { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.2rem 1.3rem; color: var(--ink-2); }
.result-line b { color: var(--ink); }

.empty { padding: 2rem 0 5rem; max-width: 38rem; }
.empty h2 { font-size: 1.875rem; font-weight: 800; margin-bottom: .6rem; }
.empty p { color: var(--ink-2); margin-bottom: 1.2rem; }
.empty-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------------- price list view ---------------- */
.pl-wrap { padding-bottom: 4rem; }
.pl { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2px solid var(--night); border-radius: var(--r-card); overflow: hidden; }
.pl caption { text-align: left; padding-bottom: .8rem; color: var(--ink-2); font-size: .95rem; }
.pl th, .pl td { text-align: left; padding: .6rem .7rem; vertical-align: middle; }
.pl thead th { font-size: .85rem; font-weight: 700; color: var(--ink-2); border-bottom: 2px solid var(--night); background: var(--white); }
.pl tbody td { border-bottom: 1px solid var(--hair); }
.pl .pl-group th { background: var(--night); color: var(--on-night); font-size: 1.1875rem; font-weight: 800; font-stretch: 110%; padding: .55rem .9rem; }
.pl .pl-group th .pl-te { font-weight: 600; font-stretch: 100%; font-size: .9rem; color: var(--gold); margin-left: .7rem; }
.pl-img { width: 84px; }
.pl-img a { display: block; width: 64px; }
.pl-img img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; border: 2px solid var(--night); background: var(--white); }
.pl-item a { font-weight: 750; font-size: 1.0625rem; text-decoration: none; }
.pl-item a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.pl-item small { display: block; color: var(--ink-2); font-size: .875rem; margin: .1rem 0 .35rem; }
.pl-pack { color: var(--ink-2); font-size: .95rem; }
.pl-pack small { display: block; font-size: .85rem; font-weight: 650; color: var(--ink); }
.pl-price { font-weight: 800; font-size: 1.125rem; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.pl-price .mrp { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.pl-amt { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; color: var(--ink-3); min-width: 5.5rem; }
.pl-amt.has { color: var(--ink); font-weight: 800; }
.pl th.r { text-align: right; }
.pl tr.is-out td { color: var(--ink-3); }
.pl tr.is-out .pl-img img { filter: grayscale(.9); }
.pl tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) {
  .pl { border: 0; background: none; border-radius: 0; overflow: visible; }
  .pl thead { display: none; }
  .pl, .pl tbody, .pl tr, .pl td, .pl th { display: block; }
  .pl caption { display: block; }
  .pl .pl-group th { margin-top: 1.1rem; border-radius: var(--r-ctl); }
  .pl tbody tr:not(.pl-group) {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .35rem .8rem; padding: .85rem 0; border-bottom: 1px solid var(--hair);
  }
  .pl tbody td { border: 0; padding: 0; }
  .pl-img { grid-row: 1 / span 3; width: auto; }
  .pl-img a, .pl-img img { width: 72px; height: 72px; }
  .pl-item { grid-column: 2 / -1; }
  .pl-pack { grid-column: 2; }
  .pl-price { grid-column: 3; grid-row: 2; }
  .pl-qty { grid-column: 2; }
  .pl-amt { grid-column: 3; align-self: center; min-width: 0; }
}

/* qty stepper */
.qty { display: inline-flex; align-items: stretch; border: 2px solid var(--night); border-radius: var(--r-ctl); background: var(--white); height: 44px; overflow: hidden; }
.qty button { width: 42px; border: 0; background: var(--white); font-size: 1.25rem; font-weight: 700; line-height: 1; cursor: pointer; color: var(--night); }
.qty button:hover:not(:disabled) { background: var(--gold-soft); }
.qty button:disabled { color: var(--hair); cursor: not-allowed; }
.qty button:focus-visible, .qty input:focus-visible { outline-offset: -4px; outline-color: var(--sky); }
.qty input { width: 3rem; border: 0; border-inline: 2px solid var(--night); text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; background: var(--white); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-lg { height: 56px; }
.qty-lg button { width: 50px; }

/* ---------------- cart bar (browsing pages) ---------------- */
.list-bar { position: sticky; bottom: 0; z-index: 25; background: var(--night); color: var(--on-night); border-top: 3px solid var(--gold); }
.list-bar-inner { max-width: var(--max); margin-inline: auto; padding: .7rem var(--gutter) .8rem; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.6rem; align-items: center; }
.list-bar-sum { display: grid; line-height: 1.1; }
.list-bar-sum span { font-size: .85rem; font-weight: 650; color: var(--on-night-2); }
.list-bar-sum b { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.list-bar .ruler-msg { color: var(--on-night); }
.list-bar .btn { min-height: 44px; }
@media (max-width: 700px) {
  .list-bar-inner { grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1rem; padding-block: .55rem .65rem; }
  .list-bar .ruler { grid-column: 1 / -1; grid-row: 2; }
  .list-bar .ruler-track, .list-bar .ruler-mark em { display: none; }
  .list-bar .ruler-msg { margin: 0; font-size: .875rem; }
  .list-bar .btn { justify-self: end; }
}

/* ---------------- ruler ---------------- */
.ruler { min-width: 0; }
.ruler-msg { font-size: .95rem; margin-bottom: .5rem; }
.ruler-track { position: relative; height: 16px; background: var(--white); border: 2px solid var(--night); border-radius: 999px; margin-bottom: 1.6rem; }
.ruler-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left center; background: var(--orange); border-radius: 999px; transition: transform .5s var(--ease-out); }
.ruler.free .ruler-fill { background: var(--ok); }
.ruler-track i { position: absolute; top: 0; width: 1px; height: 5px; background: var(--night); }
.ruler-track i.major { height: 8px; }
.ruler-mark { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1px; background: var(--night); border-radius: 2px; }
.ruler-mark em { position: absolute; top: 100%; left: 0; margin-top: 3px; transform: translateX(-50%); font-style: normal; white-space: nowrap; font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.ruler-mark-free em { transform: translateX(-80%); }
.list-bar .ruler-track { border-color: var(--on-night); background: var(--night-2); }
.list-bar .ruler-mark { background: var(--on-night); }
.list-bar .ruler-mark em { color: var(--on-night-2); }

/* ---------------- forms ---------------- */
.field { display: grid; gap: .35rem; align-content: start; }
.field > span, .field-label { font-weight: 650; font-size: .95rem; }
.field small, .hint { display: block; color: var(--ink-2); font-size: .875rem; }
.input, .select {
  width: 100%; min-height: 50px; padding: .65rem .85rem; background: var(--white);
  border: 2px solid var(--night); border-radius: var(--r-ctl); font-size: 1.0625rem; color: var(--ink);
}
.input::placeholder { color: var(--ink-3); }
.input:focus, .select:focus { outline: 3px solid var(--sky); outline-offset: 1px; }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--err); background: var(--err-tint); }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230A0F2E' stroke-width='2.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; }
.err { color: var(--err); font-weight: 600; font-size: .95rem; display: flex; gap: .4rem; align-items: flex-start; }
.err:empty { display: none; }
.err::before { content: "!"; flex: 0 0 1.2rem; height: 1.2rem; display: inline-grid; place-items: center; background: var(--err); color: var(--white); font-weight: 800; font-size: .78rem; margin-top: .1rem; border-radius: 50%; }
.err-age { margin-top: .5rem; }
.err-text { color: var(--err); font-weight: 600; }
.inline-row { display: flex; gap: .6rem; }
.inline-row .input { flex: 1; min-width: 0; }
.inline-row .btn { box-shadow: none; min-height: 50px; flex: 0 0 auto; }
.inline-row .btn:hover, .inline-row .btn:active { transform: none; box-shadow: none; }
.pin-out { margin-top: .7rem; }
.pin-out:empty { display: none; }
.pin-out .ok, .pin-out .no { padding: .85rem 1rem; border: 2px solid var(--night); border-radius: var(--r-ctl); display: grid; gap: .3rem; font-size: .95rem; }
.pin-out .ok { background: var(--ok-tint); border-color: var(--ok); }
.pin-out .ok b { color: var(--ok); }
.pin-out .no { background: var(--err-tint); border-color: var(--err); }
.pin-out .warn { color: var(--red-deep); font-weight: 650; }

/* ---------------- product ---------------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(2rem, 4.5vw, 4.5rem); padding-bottom: 4rem; align-items: start; }
.pd-visual { position: sticky; top: 1.2rem; }
.pd-frame { position: relative; aspect-ratio: 1 / 1; border: 2px solid var(--night); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 8px 8px 0 var(--night); }
.pd-frame img { width: 100%; height: 100%; object-fit: contain; background: var(--white); }
.pd-photo.is-out img { filter: grayscale(.85) brightness(.8); }
.pd-thumbs { display: flex; gap: .8rem; margin-top: 1.3rem; }
.pd-thumb {
  display: grid; justify-items: center; gap: .3rem; padding: .35rem .35rem .45rem; width: 108px;
  background: var(--white); border: 2px solid var(--hair); border-radius: 12px; cursor: pointer;
  font-size: .8125rem; font-weight: 650; color: var(--ink-2); transition: border-color .15s, box-shadow .15s;
}
.pd-thumb img { width: 88px; height: 88px; object-fit: contain; border-radius: 8px; }
.pd-thumb:hover { border-color: var(--ink-3); }
.pd-thumb[aria-pressed="true"] { border-color: var(--night); color: var(--ink); box-shadow: 3px 3px 0 var(--night); }
.pd-photo figcaption { margin-top: .9rem; font-size: .9rem; color: var(--ink-2); max-width: 40rem; }
.pd-cat { font-weight: 650; color: var(--ink-2); margin-bottom: .5rem; }
.pd-cat a { color: inherit; }
.pd h1 { font-weight: 800; font-stretch: 112%; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: .98; letter-spacing: -.02em; margin-bottom: .7rem; }
.pd-maker { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem .75rem; font-weight: 650; color: var(--ink-2); margin-bottom: .9rem; }
.std-chip { display: inline-flex; padding: 4px 8px 3px; background: var(--night); border-radius: 8px; line-height: 0; }
.std-chip .std-logo { height: 30px; width: auto; }
.pd-short { font-size: 1.25rem; line-height: 1.4; margin-bottom: 1.5rem; max-width: 34rem; }
.pd-pair {
  margin: -.6rem 0 1.4rem; padding: .55rem .85rem; max-width: 34rem;
  background: var(--gold-soft); border: 2px solid var(--night); border-radius: var(--r-ctl); font-weight: 600;
}
.pd-pair b { font-weight: 800; }
.pd-pair a { color: var(--ink); font-weight: 750; text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.pd-price { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.4rem; margin-bottom: 1.4rem; }
.pd-sticker {
  display: grid; justify-items: start; padding: .45rem 1rem .5rem; line-height: 1;
  background: var(--gold); border: 2px solid var(--night); border-radius: 12px; box-shadow: 4px 4px 0 var(--night); transform: rotate(-3deg);
}
.pd-sticker b { font-size: 2.6rem; font-weight: 800; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.pd-sticker span { font-size: .875rem; font-weight: 650; margin-top: .2rem; }
.pd-price-sub { color: var(--ink-2); font-size: .95rem; line-height: 1.45; display: grid; gap: .15rem; }
.pd-mrp { font-weight: 650; color: var(--ink-2); }
.pd-mrp s { text-decoration-thickness: 1.5px; font-variant-numeric: tabular-nums; }
.pd-off { display: inline-block; margin-left: .35rem; color: var(--ok); font-weight: 750; }
.pd-holds { font-size: 1.125rem; margin: -.3rem 0 1.2rem; }
.pd-stock { margin: -.4rem 0 1rem; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; padding-bottom: 1.2rem; }
.pd-note { font-size: .95rem; color: var(--ink-2); padding: .85rem 0 0; margin-bottom: .2rem; border-top: 1px solid var(--hair); }
.pd-note b { color: var(--ink); }
.pd-section { margin-top: 2.4rem; }
.pd-section h2 { font-size: 1.5rem; font-weight: 800; font-stretch: 108%; padding-bottom: .55rem; border-bottom: 2px solid var(--night); margin-bottom: .2rem; }
.spec { display: grid; grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr); margin: 0; }
.spec dt, .spec dd { padding: .65rem 0; border-bottom: 1px solid var(--hair); margin: 0; }
.spec dt { font-weight: 650; color: var(--ink-2); }
.pd-follow { margin-top: .9rem; font-size: .95rem; font-weight: 650; }
.who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.2rem; align-items: center; padding: 1.1rem 0; }
.who .suit { font-size: .95rem; padding: .4rem .75rem; }
.who p { color: var(--ink-2); }
.who p b { color: var(--ink); }
.safety-notes { list-style: none; display: grid; }
.safety-notes li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .6rem; padding: .65rem 0; border-bottom: 1px solid var(--hair); }
.safety-notes li::before { content: ""; width: 12px; height: 12px; background: var(--orange); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); margin: .4em 0 0 2px; transform: scale(1.3); }
.pd-desc { font-size: 1.0625rem; max-width: 65ch; margin-top: 1rem; }
.contents { width: 100%; border-collapse: collapse; margin-top: .4rem; }
.contents td, .contents th { padding: .55rem .3rem; border-bottom: 1px solid var(--hair); text-align: left; vertical-align: middle; }
.contents th { font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.contents td.c-img { width: 56px; }
.contents td.c-img img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 2px solid var(--night); background: var(--white); }
.contents td.q { font-weight: 800; width: 2.8rem; font-variant-numeric: tabular-nums; }
.contents td.r, .contents th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contents a { font-weight: 650; text-decoration: none; }
.contents a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.contents small { display: block; color: var(--ink-3); }
.contents tfoot td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--night); }
.save { display: inline-block; margin-top: .9rem; font-weight: 700; background: var(--gold); padding: .3rem .75rem; border: 2px solid var(--night); border-radius: var(--r-ctl); }
.inboxes { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.inboxes a { display: inline-flex; gap: .5rem; padding: .45rem .85rem; border: 2px solid var(--night); border-radius: var(--r-ctl); text-decoration: none; font-weight: 650; background: var(--white); }
.inboxes a span { color: var(--ink-2); font-weight: 600; }
.inboxes a:hover { background: var(--gold-soft); }
.related { border-top: 2px solid var(--night); padding: 2.4rem 0 4rem; }
.nf-actions { padding-bottom: 5rem; }
@media (max-width: 900px) {
  .pd { grid-template-columns: 1fr; }
  .pd-visual { position: static; }
  .pd-frame { box-shadow: 5px 5px 0 var(--night); }
  .spec { grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .who { grid-template-columns: 1fr; gap: .7rem; }
  .who .suit { justify-self: start; }
  .pd-sticker b { font-size: 2.1rem; }
  .pd-buy .btn { flex: 1; }
}

/* ---------------- cart ---------------- */
.cart { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: 5rem; }
.lines { list-style: none; border-top: 2px solid var(--night); margin-bottom: 1.2rem; }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: .8rem 1.3rem; padding: 1.2rem 0; border-bottom: 1px solid var(--hair); align-items: start; }
.line-img img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; border: 2px solid var(--night); box-shadow: 3px 3px 0 var(--night); background: var(--white); }
.line h2 { font-size: 1.25rem; font-weight: 750; line-height: 1.15; }
.line h2 a { text-decoration: none; }
.line h2 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.line-sub { color: var(--ink-2); font-size: .95rem; margin-top: .25rem; }
.line-sub .mrp { color: var(--ink-3); }
.line-ctl { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; margin-top: .8rem; }
.line-total { text-align: right; font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.line-total small { display: block; font-weight: 500; font-size: .875rem; color: var(--ink-3); }
.remove { background: none; border: 0; padding: .4rem 0; color: var(--ink-2); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; }
.remove:hover { color: var(--err); }
.keep { margin-top: 1.2rem; }
.bill { background: var(--white); border: 2px solid var(--night); border-radius: 18px; box-shadow: 8px 8px 0 var(--night); padding: 1.5rem; position: sticky; top: 1.2rem; }
.bill h2, .summary h2 { font-weight: 800; font-stretch: 112%; font-size: 1.875rem; line-height: 1; }
.bill-sub { color: var(--ink-2); font-size: .95rem; margin: .3rem 0 1rem; }
.sums { margin: 0; border-top: 2px solid var(--night); }
.sums-open { border-top: 0; }
.sums div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--hair); }
.sums dt { color: var(--ink-2); }
.sums dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.sums .disc dd { color: var(--ok); }
.sums .grand { border-bottom: 0; border-top: 2px solid var(--night); padding-top: .9rem; margin-top: .2rem; align-items: baseline; }
.sums .grand dt { color: var(--ink); font-weight: 750; font-size: 1.25rem; }
.sums .grand dd { font-size: 2rem; font-weight: 800; line-height: 1; }
.gst { font-size: .875rem; color: var(--ink-3); text-align: right; margin-top: .2rem; }
.bill-block { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.bill-block .hint { margin-top: .4rem; }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: var(--gold-soft); border: 2px dashed var(--night); border-radius: var(--r-ctl); padding: .5rem .8rem; font-weight: 650; }
.coupon-msg { margin-top: .45rem; font-size: .95rem; }
.coupon-msg:empty { display: none; }
#coupon { text-transform: uppercase; }
#coupon::placeholder { text-transform: none; }
.bill .ruler { margin: 1.2rem 0 .2rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.bill-cta { margin-top: .6rem; }
.bill-why { font-size: .9rem; color: var(--ink-2); margin-top: .7rem; }
@media (max-width: 900px) {
  .cart { grid-template-columns: 1fr; }
  .bill { position: static; box-shadow: 5px 5px 0 var(--night); }
}
@media (max-width: 560px) {
  .line { grid-template-columns: 76px minmax(0, 1fr); }
  .line-img img { width: 76px; height: 76px; }
  .line-total { grid-column: 2; text-align: left; }
  .bill { padding: 1.1rem; }
}

/* ---------------- checkout ---------------- */
.co { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(330px, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; padding-bottom: 5rem; }
.co-step { border-top: 2px solid var(--night); padding-top: 1.3rem; margin-bottom: 2.4rem; }
.co-step h2 { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-stretch: 110%; font-size: 1.75rem; margin-bottom: 1.2rem; }
.co-step h2 i { font-style: normal; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; background: var(--gold); color: var(--night); border: 2px solid var(--night); border-radius: 50%; font-size: 1.0625rem; font-stretch: 100%; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.grid2 .span2 { grid-column: 1 / -1; }
.agebox { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; padding: 1.1rem; border: 2px solid var(--night); border-radius: var(--r-ctl); background: var(--gold-soft); cursor: pointer; align-items: start; }
.agebox input { width: 1.5rem; height: 1.5rem; accent-color: var(--night); margin: .1rem 0 0; cursor: pointer; }
.agebox b { display: block; font-size: 1.0625rem; }
.agebox span span { color: var(--ink-2); font-size: .95rem; }
.agebox.invalid { border-color: var(--err); background: var(--err-tint); }
.co-note { margin-top: 1rem; font-size: .95rem; color: var(--ink-2); }
.errsum { border: 2px solid var(--err); border-radius: var(--r-card); background: var(--err-tint); padding: 1rem 1.2rem; margin-bottom: 2rem; }
.errsum h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: .4rem; }
.errsum ul { padding-left: 1.2rem; }
.errsum a { color: var(--err); font-weight: 650; }
.summary { background: var(--white); border: 2px solid var(--night); border-radius: 18px; box-shadow: 8px 8px 0 var(--red); padding: 1.5rem; position: sticky; top: 1.2rem; }
.summary h2 { margin-bottom: 1rem; }
.sumlines { list-style: none; border-top: 2px solid var(--night); max-height: 340px; overflow-y: auto; }
.sumlines li { display: grid; grid-template-columns: 44px 2rem minmax(0, 1fr) auto; gap: .6rem; padding: .55rem 0; border-bottom: 1px solid var(--hair); font-size: .95rem; align-items: center; }
.sumlines img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; border: 2px solid var(--night); background: var(--white); }
.sumlines .q { font-weight: 800; font-variant-numeric: tabular-nums; }
.sumlines .a { font-variant-numeric: tabular-nums; font-weight: 650; }
.sumlines small { display: block; color: var(--ink-3); font-size: .85rem; }
.pay-note { font-size: .875rem; color: var(--ink-2); margin-top: .9rem; }
.pay-note b { color: var(--ink); }
.summary .btn { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .summary { position: static; box-shadow: 5px 5px 0 var(--red); }
}
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .summary { padding: 1.1rem; } }

/* ---------------- order outcome ---------------- */
.outcome { padding-block: clamp(2.5rem, 6vw, 4.5rem) 5rem; }
.stamp {
  display: inline-block; padding: .35rem 1.1rem .25rem; border: 4px solid currentColor; border-radius: 12px; outline: 1.5px solid currentColor; outline-offset: 3px;
  font-weight: 800; font-stretch: 125%; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1;
  transform: rotate(-5deg); margin-bottom: 1.8rem;
  animation: stamp .55s var(--ease-out) both .15s;
}
@keyframes stamp { from { transform: rotate(-5deg) scale(1.7); opacity: .15; filter: blur(2px); } to { transform: rotate(-5deg) scale(1); opacity: 1; filter: none; } }
.stamp-paid { color: var(--ok); }
.stamp-failed { color: var(--err); }
.stamp-cancelled { color: var(--ink-2); }
.stamp-pending { color: var(--red-deep); }
.outcome h1 { font-weight: 800; font-stretch: 116%; font-size: clamp(2.3rem, 1.3rem + 3.2vw, 4rem); line-height: .96; letter-spacing: -.02em; margin-bottom: 1rem; }
.outcome .lede { margin-bottom: 2rem; }
.reason { border: 2px solid var(--night); border-radius: var(--r-ctl); background: var(--white); padding: 1.1rem 1.2rem; margin-bottom: 1.8rem; max-width: 44rem; }
.reason p + p { margin-top: .4rem; }
.reason small { color: var(--ink-3); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.actions-after { margin-top: 2.5rem; }
.orderbox { border: 2px solid var(--night); border-radius: 18px; background: var(--white); box-shadow: 8px 8px 0 var(--night); margin-bottom: 3rem; overflow: hidden; }
.orderbox-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: var(--night); color: var(--on-night); }
.orderbox-head p { font-size: .95rem; color: var(--on-night-2); }
.orderbox-head b { display: block; color: var(--gold); font-size: 1.25rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.orderbox-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; padding: 1.4rem; }
.orderbox h2 { font-size: 1.0625rem; font-weight: 800; margin-bottom: .6rem; }
.orderbox .h-gap { margin-top: 1.4rem; }
.orderbox address { font-style: normal; color: var(--ink-2); }
.t-lbl { font-weight: 600; }
.contents tfoot td.t-flat, .contents tfoot .t-flat { border-top: 0; }
@media (max-width: 760px) { .orderbox-body { grid-template-columns: 1fr; } }
.next-title { margin-bottom: 1rem; }
.next { list-style: none; counter-reset: n; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.next li { counter-increment: n; padding: 1.1rem 1.1rem 1.2rem; background: var(--white); border: 2px solid var(--night); border-radius: var(--r-card); }
.next li::before { content: counter(n); display: inline-grid; place-items: center; width: 2rem; height: 2rem; background: var(--gold); border: 2px solid var(--night); border-radius: 50%; font-weight: 800; margin-bottom: .7rem; }
.next b { display: block; font-size: 1.2rem; margin-bottom: .3rem; }
.next p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }
.attempts-box { margin-bottom: 2rem; border-bottom: 1px solid var(--hair); }
.attempts-box summary { cursor: pointer; padding: .8rem 0; font-weight: 700; }
.attempts { list-style: none; font-size: .95rem; color: var(--ink-2); padding-bottom: .8rem; }
.attempts li { padding: .35rem 0; border-bottom: 1px dotted var(--hair); }

/* ---------------- footer ---------------- */
.site-footer { background: var(--night); color: var(--on-night); }
.foot-inner { max-width: var(--max); margin-inline: auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); gap: 2.5rem; }
.foot-logo { display: block; width: 180px; margin: -.8rem 0 .6rem -.4rem; }
.foot-brand p { max-width: 30rem; color: var(--on-night-2); }
.foot-mail { margin-top: .8rem; }
.foot-std { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; }
.foot-std span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.foot-std .std-logo { height: 44px; width: auto; }
.foot-mail a { color: var(--on-night); text-decoration-color: var(--gold); }
.site-footer h2 { font-size: 1rem; font-weight: 750; color: var(--gold); margin-bottom: .8rem; }
.foot-nav ul, .foot-rules ul { list-style: none; display: grid; gap: .45rem; }
.foot-nav a { color: var(--on-night); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.foot-rules li { color: var(--on-night-2); font-size: .95rem; }
.foot-slug { max-width: var(--max); margin-inline: auto; padding: 1.1rem var(--gutter) 2rem; border-top: 1px solid var(--night-3); font-size: .85rem; color: var(--on-night-2); }
.foot-addr { font-style: normal; margin-top: .8rem; color: var(--on-night-2); font-size: .95rem; line-height: 1.5; }
.site-footer .foot-h-gap { margin-top: 1.6rem; }
.foot-copy { margin-top: .5rem; }

/* ---------------- policy pages (contact, shipping, refunds, terms, privacy) ---------------- */
.doc { padding-bottom: 4.5rem; }
.doc .page-head { padding-bottom: .4rem; }
.doc-meta { color: var(--ink-3); font-size: .95rem; margin-bottom: 2rem; }
.doc-body { max-width: 44rem; }
.doc-body h2 { font-weight: 800; font-stretch: 110%; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); margin: 2.2rem 0 .7rem; }
.doc-body p, .doc-body ul, .doc-body ol { margin-bottom: .9rem; }
.doc-body ul, .doc-body ol { padding-left: 1.3rem; display: grid; gap: .35rem; }
.doc-body a { font-weight: 650; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.doc-card { border: 2px solid var(--night); border-radius: var(--r-card); background: var(--white); box-shadow: var(--lift); padding: 1.3rem 1.4rem; margin: 1rem 0 2rem; }
.doc-card address { font-style: normal; }
.doc-card dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .5rem 1.2rem; margin: 0; }
.doc-card dt { font-weight: 700; }
.doc-card dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .doc-card dl { grid-template-columns: 1fr; gap: .15rem; } .doc-card dd + dt { margin-top: .6rem; } }
@media (max-width: 820px) {
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-logo { width: 150px; }
}
@media (max-width: 480px) { .foot-inner { grid-template-columns: 1fr; } }

/* ---------------- toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  display: flex; gap: 1rem; align-items: center; max-width: min(92vw, 560px);
  background: var(--white); color: var(--ink); border: 2px solid var(--night); border-radius: var(--r-ctl); box-shadow: 5px 5px 0 var(--gold);
  padding: .8rem 1rem; transition: transform .35s var(--ease-out), opacity .2s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.toast a { font-weight: 700; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.toast-act { background: var(--night); color: var(--on-night); border: 0; border-radius: 8px; padding: .5rem .8rem; font-weight: 700; cursor: pointer; min-height: 40px; }

/* ---------------- catalogue: listings in the first viewport ---------------- */
body[data-page="shop"] .page-head { padding-block: 1.3rem .9rem; }
body[data-page="shop"] .page-head h1 { font-size: clamp(2.1rem, 1.4rem + 1.9vw, 3rem); margin-bottom: .45rem; }
body[data-page="shop"] .page-head .lede { font-size: 1.0625rem; }
body[data-page="shop"] .filters { padding: .7rem 1rem; }
body[data-page="shop"] .filters .select { min-height: 44px; padding-block: .45rem; }
body[data-page="shop"] .filters .field > span { font-size: .875rem; }
body[data-page="shop"] .result-line { padding-block: .9rem 1rem; }
@media (max-width: 600px) {
  body[data-page="shop"] .page-head .lede { font-size: 1rem; }
}

/* ---------------- home on phones: products sooner ---------------- */
@media (max-width: 720px) {
  .hero-greet { font-size: .95rem; }
  .hero-line { font-size: 1.55rem; }
  .hero-lede { font-size: 1rem; margin: .7rem auto 1.1rem; }
  .hero-actions { margin-bottom: 1rem; }
  .section { padding-top: 2.4rem; }
}

/* programmatic focus targets (headings, summaries) don't need a ring */
[tabindex="-1"]:focus { outline: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .glint { display: none; }
}
.doc-actions { margin-top: 1.6rem; }
