/* ============================================================================
   Kuripot UI — "palengke broadsheet"
   ----------------------------------------------------------------------------
   Loaded AFTER style.css, and ONLY by the public pages (index/login/signup).
   Storefronts, admin, reseller and the 21 store themes never link it, so this
   file cannot regress them. To revert the whole look: delete the <link>.

   The idea: a deals site is a price board. Structure comes from rules and
   alignment like a printed page — not from stacked drop shadows — and the
   typography carries the hierarchy, because the numbers ARE the product.
   ========================================================================== */

/* The webfonts are <link>ed from the templates, NOT @imported here — an @import
   inside a render-blocking stylesheet is discovered late and serializes the
   font request behind this file's download. */

body.deals-page,
body.auth-body {
  /* paper, not screen */
  --paper:      #f2efe9;
  --paper-2:    #fffefb;
  --paper-sink: #e9e4da;

  --ink:        #15181f;
  --ink-2:      #3d4351;
  --ink-soft:   #6d7486;

  --rule:       #ddd6ca;
  --rule-soft:  #e8e2d8;

  /* one hot accent, reserved for savings — never decorative */
  --flame:      #db2f20;
  --flame-deep: #a81f14;
  --flame-wash: #fdeeec;

  --azure:      #1462d8;      /* interactive / brand moments only */
  --gold:       #e0a005;
  --gold-wash:  #fdf3d8;

  --r:     12px;
  --r-sm:  7px;
  --r-pill:999px;

  --display: "Bricolage Grotesque", "Archivo", Georgia, sans-serif;
  --sans:    "Archivo", ui-sans-serif, system-ui, sans-serif;
}

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

body.deals-page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  /* Flat paper on purpose: .controls is sticky and must paint an opaque fill of
     its own, so any viewport-fixed gradient here would show a seam where the
     toolbar ends. The tooth below supplies the texture instead. */
}

body.deals-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}
body.deals-page > * { position: relative; z-index: 1; }

body.deals-page b,
body.deals-page strong { font-weight: 700; }

/* --------------------------------------------------------------- topbar --- */

body.deals-page .topbar {
  background: var(--paper-2);
  border: 0;
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  margin: 0;
  padding: 14px 34px;
  gap: 28px;
}

body.deals-page .brand { gap: 11px; }
body.deals-page .brand .logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--rule);
}
body.deals-page .brand h1 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.028em;
  color: var(--ink);
}
body.deals-page .brand p {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--flame);
}

/* nav: text tabs with a printed underline, not floating pills */
body.deals-page .mainmenu {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 4px;
  border-radius: 0;
}
body.deals-page .menu-item {
  background: transparent;
  color: var(--ink-soft);
  border-radius: 0;
  padding: 9px 4px;
  margin: 0 10px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  border-bottom: 2.5px solid transparent;
  transition: color .16s, border-color .16s;
}
body.deals-page .menu-item:hover { color: var(--ink); background: transparent; }
body.deals-page .menu-item.on,
body.deals-page .menu-item.premium.on {
  background: transparent;
  color: var(--ink);
  border-bottom-color: var(--flame);
  font-weight: 700;
}
body.deals-page .menu-item.premium .tab-badge {
  background: var(--gold-wash);
  color: #8a5d00;
  border: 1px solid #f0dcaa;
  box-shadow: none;
  font-size: 8px;
  letter-spacing: .1em;
  padding: 2px 5px;
  border-radius: 4px;
}

body.deals-page .nav-link {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--r-sm);
}
body.deals-page .nav-link:hover { color: var(--ink); background: var(--paper-sink); }
body.deals-page .nav-cta {
  background: var(--ink);
  color: var(--paper-2);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13px;
  padding: 9px 17px;
  letter-spacing: -.005em;
  transition: background .16s, transform .16s;
}
body.deals-page .nav-cta:hover { background: var(--flame); transform: translateY(-1px); }
body.deals-page .nav-user {
  border-radius: var(--r-pill);
  border: 1px solid var(--rule);
  background: var(--paper-2);
}

/* ----------------------------------------------------------- masthead ----- */
/* the live-stats strip reads as a newspaper masthead rule */

body.deals-page .hero-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  margin: 0 auto;
  padding: 14px 34px 12px;
  max-width: 1280px;
}
body.deals-page .hero-card::before,
body.deals-page .hero-card::after { display: none; }
body.deals-page .hc-inner { gap: 18px; align-items: baseline; }
body.deals-page .hc-eyebrow {
  color: var(--flame);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
body.deals-page .hc-big {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
body.deals-page .hc-big span { font-size: 15px; font-weight: 600; color: var(--ink-soft); letter-spacing: -.01em; }
body.deals-page .hc-pill {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--rule);
  border-radius: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 0 2px 14px;
  margin-left: 4px;
}
body.deals-page .hc-pill b {
  font-family: var(--display);
  color: var(--flame);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

/* ---------------------------------------------------------- controls ------ */
/* the old toolbar was a heavy white panel; make it quiet furniture */

/* NOTE: .controls is position:sticky in the base sheet — it MUST stay opaque or
   the card grid scrolls visibly underneath it. It shares the grid's max-width,
   so a plain background covers the full scroll channel. */
body.deals-page .controls {
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: 0 10px 14px -12px rgba(21, 24, 31, .30);
  backdrop-filter: none;
  padding: 14px 6px 10px;
  gap: 10px;
}

body.deals-page .searchwrap {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 3px 3px 0 rgba(21, 24, 31, .08);   /* printed offset, not a blur */
  overflow: hidden;
  padding: 0;
  gap: 0;                       /* input + button read as ONE control */
  width: 100%;
  margin: 0;
  transition: box-shadow .16s, transform .16s;
}
/* the base sheet gives the input its own border/pill/background — strip it so it
   merges into the box above instead of looking like a field inside a field */
body.deals-page .searchwrap input {
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  flex: 1 1 auto;
  min-width: 0;
}
body.deals-page .searchwrap input:focus { border: 0; box-shadow: none; }
body.deals-page .searchwrap:focus-within {
  box-shadow: 3px 3px 0 var(--flame);
  transform: translate(-1px, -1px);
}
body.deals-page #q {
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  padding: 14px 16px;
}
body.deals-page #q::placeholder { color: var(--ink-soft); font-weight: 500; }
body.deals-page .searchwrap .btn-primary,
body.deals-page #searchBtn {
  background: var(--ink);
  color: var(--paper-2);
  border: 0;
  border-radius: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -.005em;
  padding: 14px 22px;
  box-shadow: none;
  transition: background .16s;
}
body.deals-page #searchBtn:hover { background: var(--flame); transform: none; }

body.deals-page .storebar-head,
body.deals-page .filters .toggle,
body.deals-page .filters .sort select {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  box-shadow: none;
  transition: border-color .16s, color .16s;
}
body.deals-page .storebar-head:hover,
body.deals-page .filters .toggle:hover,
body.deals-page .filters .sort select:hover { border-color: var(--ink); color: var(--ink); }
body.deals-page .sb-title { font-weight: 700; color: var(--ink); }
body.deals-page .sb-summary { color: var(--ink-soft); font-weight: 500; }
body.deals-page .sb-count {
  background: var(--paper-sink);
  color: var(--ink-2);
  border-radius: var(--r-sm);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
body.deals-page .filters { gap: 18px; color: var(--ink-soft); font-size: 12.5px; font-weight: 600; }
body.deals-page .filters .slider b {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
body.deals-page .toggle[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper-2);
  border-color: var(--ink);
}
body.deals-page .storepanel {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  box-shadow: 6px 6px 0 rgba(21, 24, 31, .10);
}

/* range input — thin rule with a solid ink thumb */
body.deals-page input[type="range"] { accent-color: var(--flame); }

/* ------------------------------------------------------------- chips ------ */

body.deals-page .chips.cats { margin-top: 4px; gap: 7px; }
body.deals-page .chip {
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  transition: border-color .15s, color .15s, background .15s;
}
body.deals-page .chip:hover { border-color: var(--ink); color: var(--ink); background: transparent; }
body.deals-page .chip b { opacity: .55; font-weight: 600; font-variant-numeric: tabular-nums; }
body.deals-page .chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}
body.deals-page .chip.on b { opacity: .7; }

/* ------------------------------------------------------------ the grid ---- */

body.deals-page .grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
  padding-top: 18px;
}

body.deals-page .card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: none;
  overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s, border-color .18s;
  animation: k-rise .38s cubic-bezier(.2,.8,.3,1) both;
}
body.deals-page .card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 4px 6px 0 rgba(21, 24, 31, .09);
}

/* staggered reveal — one orchestrated load beats scattered micro-motion */
@keyframes k-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
body.deals-page .card:nth-child(1)  { animation-delay: .01s }
body.deals-page .card:nth-child(2)  { animation-delay: .03s }
body.deals-page .card:nth-child(3)  { animation-delay: .05s }
body.deals-page .card:nth-child(4)  { animation-delay: .07s }
body.deals-page .card:nth-child(5)  { animation-delay: .09s }
body.deals-page .card:nth-child(6)  { animation-delay: .11s }
body.deals-page .card:nth-child(7)  { animation-delay: .13s }
body.deals-page .card:nth-child(8)  { animation-delay: .15s }
body.deals-page .card:nth-child(n+9){ animation-delay: .17s }

body.deals-page .thumb {
  background: #fff;
  border-bottom: 1px solid var(--rule-soft);
}
body.deals-page .card:hover .thumb img { transform: scale(1.04); }

/* the discount is the emotional hook: a sharp printed price tag */
body.deals-page .badge {
  top: 10px; left: 10px;
  background: var(--flame);
  color: #fff;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: none;
  background-image: none;
  font-variant-numeric: tabular-nums;
}
body.deals-page .badge.new  { background: var(--azure); background-image: none; }
body.deals-page .badge.soon { background: #5b4bd6; background-image: none; }
body.deals-page .badge.pre  { background: #b8365a; background-image: none; }
body.deals-page .badge.sold { background: var(--ink-soft); background-image: none; }
body.deals-page .badge.new,
body.deals-page .badge.soon,
body.deals-page .badge.pre,
body.deals-page .badge.sold { font-size: 10px; letter-spacing: .07em; padding: 5px 9px; }

body.deals-page .card .body { padding: 13px 14px 14px; gap: 8px; }

body.deals-page .prices { align-items: baseline; gap: 8px; }
body.deals-page .now {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
body.deals-page .was {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--flame);
}
body.deals-page .name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--ink-2);
  letter-spacing: -.003em;
}
body.deals-page .meta { font-size: 10.5px; color: var(--ink-soft); gap: 6px; }
body.deals-page .srcchip {
  background: var(--paper-sink);
  color: var(--ink-2);
  border: 0;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 6px;
}
body.deals-page .stock.in      { color: #1c7a4a; }
body.deals-page .stock.low     { color: var(--flame); font-weight: 700; }
body.deals-page .stock.out,
body.deals-page .stock.unknown { color: var(--ink-soft); }

body.deals-page .view {
  background: var(--ink);
  color: var(--paper-2);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -.005em;
  padding: 11px 14px;
  box-shadow: none;
  background-image: none;
  transition: background .16s;
}
body.deals-page .view:hover { background: var(--flame); }
body.deals-page .view .arrow { transition: transform .18s; }
body.deals-page .card:hover .view .arrow { transform: translateX(3px); }
body.deals-page .view.disabled { background: var(--paper-sink); color: var(--ink-soft); }

body.deals-page .save {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--rule);
  box-shadow: none;
  backdrop-filter: none;
}
body.deals-page .save:hover { border-color: var(--flame); }

body.deals-page .soldout-card { opacity: .62; }

/* -------------------------------------------------- status / pager -------- */

body.deals-page .status {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 16px 34px 8px;
  text-align: left;
  max-width: 1280px;
  margin: 0 auto;
}
body.deals-page .pager button,
body.deals-page .pager a {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-family: var(--sans);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
body.deals-page .pager .on,
body.deals-page .pager button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

/* ------------------------------------------- trial / upsell surfaces ------ */

body.deals-page .cap-banner {
  background: var(--flame-wash);
  border: 1px solid #f3cdc7;
  border-left: 4px solid var(--flame);
  border-radius: var(--r-sm);
  box-shadow: none;
}
body.deals-page .cap-banner span { font-size: 13.5px; color: var(--ink-2); font-weight: 500; }
body.deals-page .cap-banner b { color: var(--flame-deep); font-weight: 700; }
body.deals-page .cap-banner a {
  background: var(--ink);
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 13px;
  transition: background .16s;
}
body.deals-page .cap-banner a:hover { background: var(--flame); }

body.deals-page .trial-pill {
  background: var(--gold-wash);
  border: 1px solid #efd9a4;
  color: #7a5300;
  border-radius: var(--r-pill);
  font-weight: 700;
}
body.deals-page .trial-pill b { color: #573a00; font-variant-numeric: tabular-nums; }

body.deals-page .premium-hero h2 {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.035em;
}
body.deals-page .premium-lead { color: var(--ink-soft); font-size: 14.5px; }
body.deals-page .premium-card {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: none;
}
body.deals-page .premium-tag {
  background: var(--gold-wash);
  color: #7a5300;
  border: 1px solid #efd9a4;
  border-radius: 4px;
  letter-spacing: .12em;
}
body.deals-page .premium-cta {
  background: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: 3px 3px 0 rgba(21, 24, 31, .14);
  transition: background .16s, transform .16s, box-shadow .16s;
}
body.deals-page .premium-cta:hover {
  background: var(--flame);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(21, 24, 31, .18);
}

body.deals-page .k-toast {
  background: var(--ink);
  border-radius: var(--r);
  box-shadow: 5px 5px 0 rgba(21, 24, 31, .18);
  font-weight: 600;
}
body.deals-page .k-toast a { background: var(--gold); color: var(--ink); border-radius: var(--r-pill); }

/* ------------------------------------------------- skeletons / empty ------ */

body.deals-page .skeleton-card { background: var(--paper-2); border-color: var(--rule-soft); animation: none; }
body.deals-page .skeleton-block,
body.deals-page .skeleton-line { background: var(--paper-sink); }

/* --------------------------------------------------------- bottom nav ----- */

body.deals-page .bottomnav {
  background: var(--paper-2);
  border-top: 1px solid var(--rule);
  backdrop-filter: none;
  box-shadow: none;
}
body.deals-page .bnav-item { color: var(--ink-soft); font-weight: 600; font-size: 10.5px; }
body.deals-page .bnav-item.on { color: var(--flame); }

/* --------------------------------------------------------- responsive ----- */

@media (max-width: 900px) {
  /* On a phone the toolbar is ~350px tall — pinning it leaves almost no room
     for the deals themselves. Let it scroll away; the bottom nav is the
     persistent chrome on mobile. */
  body.deals-page .controls { position: static; box-shadow: none; }

  body.deals-page .topbar   { padding: 12px 16px; gap: 14px; }
  body.deals-page .hero-card{ padding: 12px 16px 10px; }
  body.deals-page .controls { padding: 16px 16px 4px; }
  body.deals-page .status   { padding: 14px 16px 6px; }
  body.deals-page .hc-big   { font-size: 24px; }
  body.deals-page .brand h1 { font-size: 19px; }
  body.deals-page .menu-item{ margin: 0 7px; font-size: 12.5px; }
}

@media (max-width: 640px) {
  body.deals-page .grid { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 12px; }
  body.deals-page .now  { font-size: 20px; }
  body.deals-page .badge{ font-size: 13px; padding: 4px 8px; }
  body.deals-page .card .body { padding: 11px 11px 12px; }
  body.deals-page .name { font-size: 12.5px; }
}

/* -------------------------------------------- desktop toolbar proportions -- */
/* The base sheet lays .controls out as a 3-column grid at >=1024px and gives
   search only minmax(320px,1fr), which truncated the placeholder once the
   filters column grew. Give the search the room it deserves — it is the
   primary action on a catalogue this size. */
@media (min-width: 1024px) {
  body.deals-page .controls {
    /* `auto` on the filters column lets it size to its own content, so
       "Hide sold out" stops dropping to a second line */
    grid-template-columns: minmax(340px, 1fr) auto auto;
    column-gap: 16px;
  }
  body.deals-page .filters { max-width: none; gap: 14px; flex-wrap: nowrap; }
  body.deals-page .chips.cats { padding-top: 2px; }
}

/* masthead mascot: sit it on the baseline instead of floating over the rule */
body.deals-page .hc-mascot {
  align-self: center;
  opacity: .95;
  filter: saturate(1.05);
}

@media (prefers-reduced-motion: reduce) {
  body.deals-page .card { animation: none; }
  body.deals-page * { transition-duration: .01ms !important; }
}

/* ============================================================ auth pages == */

body.auth-body {
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(219, 47, 32, .05), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(20, 98, 216, .06), transparent 45%);
}
body.auth-body .auth-card {
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  box-shadow: 6px 7px 0 rgba(21, 24, 31, .11);
}
body.auth-body .auth-brand {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}
body.auth-body .auth-title {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -.032em;
  color: var(--ink);
}
body.auth-body .auth-sub { color: var(--ink-soft); font-size: 13.5px; line-height: 1.55; }
body.auth-body .trial-perks {
  background: var(--gold-wash);
  border: 1px solid #efd9a4;
  border-radius: var(--r);
  color: #6a4a00;
}
body.auth-body .trial-perks b { color: #4a3200; }
body.auth-body .btn-google,
body.auth-body .btn-google-lg {
  border: 1.5px solid var(--ink);
  border-radius: var(--r);
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(21, 24, 31, .12);
  transition: transform .16s, box-shadow .16s;
}
body.auth-body .btn-google:hover,
body.auth-body .btn-google-lg:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--flame);
  background: var(--paper-2);
}
body.auth-body .auth-form input {
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  background: var(--paper-2);
  color: var(--ink);
}
body.auth-body .auth-form input:focus { border-color: var(--ink); outline: 0; box-shadow: 2px 2px 0 rgba(21,24,31,.10); }
body.auth-body .auth-form label { color: var(--ink-2); font-weight: 600; }
body.auth-body .btn-primary {
  background: var(--ink);
  border-radius: var(--r);
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: 3px 3px 0 rgba(21, 24, 31, .12);
  transition: background .16s, transform .16s;
}
body.auth-body .btn-primary:hover { background: var(--flame); transform: translate(-1px, -1px); }
body.auth-body .auth-switch a { color: var(--azure); font-weight: 700; }
body.auth-body .auth-back { color: var(--ink-soft); font-weight: 600; }

/* ── hero: "of N" total + reset, shown only when a sticky filter narrows the
   view. The filters live in localStorage, so without these the hero reports the
   filtered slice forever and the catalogue looks empty. ───────────────────── */
.hc-of { margin-left: 4px; opacity: .72; white-space: nowrap; }
body.deals-page .hc-of { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
button.hc-reset { cursor: pointer; font-family: inherit; line-height: 1; }
body.deals-page button.hc-reset {
  background: var(--amber-400);
  border-color: var(--amber-400);
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
}
body.deals-page button.hc-reset:hover { filter: brightness(.94); }
body.deals-page button.hc-reset:focus-visible { outline: 2px solid var(--navy-900); outline-offset: 2px; }
button.hc-reset[hidden] { display: none; }
