/* =========================================================================
   THEME — change these to re-colour the whole store
   ========================================================================= */
:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1c1c1f;
  --border: #26262b;
  --border-2: #34343a;
  --red: #e1121b;
  --red-hover: #ff2a33;
  --red-deep: #7a0a0f;
  --red-glow: rgba(225, 18, 27, 0.35);
  --text: #f2f2f3;
  --muted: #9a9aa2;
  --dim: #6b6b73;
  --green: #22c55e;
  --orange: #f59e0b;
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Rajdhani", "Inter", sans-serif;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: 0.02em; line-height: 1.1; margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--red-deep); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }
.muted { color: var(--muted); }
.view { flex: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em; white-space: nowrap;
  transition: background .18s, border-color .18s, box-shadow .18s, transform .18s, color .18s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); box-shadow: 0 0 24px var(--red-glow); }
.btn-ghost { background: transparent; border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--red); color: #fff; background: rgba(225,18,27,.08); }
.btn-dark { background: var(--surface-2); border-color: var(--border); }
.btn-dark:hover { border-color: var(--border-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 22px; line-height: 1;
  transition: border-color .18s, color .18s, background .18s;
}
.icon-btn:hover { border-color: var(--red); color: var(--red-hover); }
.icon-btn .count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--red); color: #fff; font: 700 11px/18px var(--font);
}

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-deep));
  color: #fff; font-size: 13px; font-weight: 500; text-align: center;
  height: 36px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative;
}
.announce span { animation: fadeUp .5s ease; padding: 0 40px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce a { text-decoration: underline; text-underline-offset: 2px; }
.announce .x { position: absolute; right: 10px; background: none; border: 0; color: #fff; opacity: .8; font-size: 18px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 44px; width: 44px; object-fit: contain; border-radius: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep)); box-shadow: 0 0 18px var(--red-glow);
  font: 700 20px/1 var(--display); color: #fff;
}
.logo-text { font: 700 24px/1 var(--display); letter-spacing: .06em; }
.logo-text small { display: block; font: 500 10px/1.4 var(--font); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.search {
  flex: 1; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  height: 42px; padding: 0 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); transition: border-color .18s, box-shadow .18s;
}
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(225,18,27,.15); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); min-width: 0; }
.search input::-webkit-search-cancel-button { display: none; }
kbd { font: 600 11px var(--font); color: var(--dim); border: 1px solid var(--border-2); border-radius: 5px; padding: 1px 6px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; font-weight: 600; }
.user-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------- Nav ---------- */
.nav { border-top: 1px solid var(--border); }
.nav-row { display: flex; align-items: center; gap: 2px; height: 48px; overflow-x: auto; scrollbar-width: none; }
.nav-row::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 14px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); white-space: nowrap; position: relative;
  transition: color .18s;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); }
.nav-link .chev { width: 10px; height: 10px; opacity: .6; }
.nav-badge { font-size: 9.5px; font-weight: 700; padding: 2px 6px; border-radius: 5px; background: var(--red); color: #fff; letter-spacing: .04em; }
.nav-discord { margin-left: auto; color: #fff; }
.dropdown {
  position: fixed; min-width: 220px; padding: 8px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6); z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s;
}
.dropdown.open { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; justify-content: space-between; gap: 20px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--muted); }
.dropdown a:hover { background: var(--surface-2); color: var(--text); }
.dropdown a span { color: var(--dim); font-size: 12.5px; }
.dropdown .all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 12px; color: var(--red); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 420px at 78% 40%, rgba(225,18,27,.28), transparent 65%),
    radial-gradient(600px 300px at 10% 100%, rgba(122,10,15,.35), transparent 70%),
    linear-gradient(180deg, #0d0d0f, var(--bg));
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: 520px; padding-top: 50px; padding-bottom: 50px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red-hover); background: rgba(225,18,27,.1); border: 1px solid rgba(225,18,27,.3); padding: 6px 12px; border-radius: 999px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 { font-size: clamp(44px, 6vw, 78px); text-transform: uppercase; margin: 20px 0 18px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 540px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--border); max-width: 520px; }
.hero-stats b { display: block; font: 700 30px/1 var(--display); }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-art { position: relative; min-height: 360px; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(225,18,27,.35)); animation: float 6s ease-in-out infinite; }
.hero-art img.hero-card { width: auto; max-width: 100%; height: auto; max-height: 460px; aspect-ratio: auto; border-radius: 18px; border: 1px solid rgba(225,18,27,.45); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(225,18,27,.3); filter: none; transform: rotate(2deg); animation: floatTilt 6s ease-in-out infinite; }
@keyframes floatTilt { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-12px); } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { font-size: 30px; text-transform: uppercase; }
.section-head h2::before { content: ""; display: inline-block; width: 4px; height: 22px; background: var(--red); margin-right: 12px; vertical-align: -2px; box-shadow: 0 0 10px var(--red); }
.section-head a { color: var(--muted); font-size: 14px; font-weight: 600; }
.section-head a:hover { color: var(--red-hover); }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  padding: 22px 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 140px at 100% 0%, rgba(225,18,27,.22), transparent 70%); opacity: .6; transition: opacity .2s; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.tile .ico { position: absolute; top: 16px; left: 18px; font-size: 30px; }
.tile h3 { position: relative; font-size: 20px; text-transform: uppercase; }
.tile span { position: relative; font-size: 13px; color: var(--muted); }
.tile:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(225,18,27,.18); }
.tile:hover::before { opacity: 1; }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; gap: 14px; }
.feature .ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px; background: rgba(225,18,27,.12); border: 1px solid rgba(225,18,27,.3); font-size: 20px; }
.feature h4 { font-size: 18px; margin-bottom: 4px; }
.feature p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(225,18,27,.4);
  background: radial-gradient(600px 300px at 100% 0%, rgba(225,18,27,.35), transparent 70%), linear-gradient(135deg, #1a0507, var(--surface));
  padding: 44px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cta h2 { font-size: 34px; text-transform: uppercase; margin-bottom: 6px; }
.cta p { margin: 0; color: var(--muted); }

/* ---------- Product cards ---------- */
:root { --cols: 3; --gap: 22px; }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); }
.grid > *, .row-scroll > * { min-width: 0; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll > * { scroll-snap-align: start; }
.row-nav { display: flex; gap: 8px; }
.row-nav button { width: 36px; height: 36px; font-size: 18px; }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: rgba(225,18,27,.65); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,.5), 0 0 24px rgba(225,18,27,.18); }
/* Product image box. --img-ratio: 1/1 (square) suits square product images.
   Images are never cropped: a blurred copy fills any empty space behind them. */
:root { --img-ratio: 1 / 1; }
.card-media { position: relative; display: block; aspect-ratio: var(--img-ratio); overflow: hidden; background: var(--bg-2); border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.gallery-main.card-media { border-radius: 16px; }
.gallery-wrap { position: relative; }
.card-media .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) brightness(.45) saturate(1.2); transform: scale(1.25); }
.card-media .fg { position: relative; display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; transition: transform .35s ease; }
.card:hover .card-media .fg { transform: scale(1.04); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.badge { font: 700 10.5px/1 var(--font); letter-spacing: .06em; padding: 6px 8px; border-radius: 6px; text-transform: uppercase; }
.badge-sale { background: var(--red); color: #fff; box-shadow: 0 0 14px var(--red-glow); }
.badge-new { background: linear-gradient(90deg, #ffffff, #bdf0ff); color: #06202b; box-shadow: 0 0 12px rgba(160,230,255,.55); }
.badge-hot { background: var(--orange); color: #000; }
.badge-sub { background: rgba(0,0,0,.65); color: #fff; border: 1px solid var(--border-2); }
.wish {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.1); color: #fff;
  backdrop-filter: blur(6px); transition: .18s; opacity: 0;
}
.card:hover .wish, .wish.on { opacity: 1; }
.wish:hover { border-color: var(--red); }
.wish.on svg { fill: var(--red); stroke: var(--red); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.card-title { font: 700 21px/1.15 var(--display); letter-spacing: .03em; margin: 4px 0 4px; text-transform: uppercase; }
.card-title:hover { color: var(--red-hover); }
.card-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font: 700 21px/1 var(--display); color: var(--text); }
.price s { font-size: 13px; color: var(--dim); }
.price small { font-size: 12px; color: var(--muted); }
.add-btn { flex-shrink: 0; white-space: nowrap; height: 36px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--red); background: rgba(225,18,27,.1); color: #fff; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; transition: .18s; }
.add-btn:hover { background: var(--red); box-shadow: 0 0 18px var(--red-glow); }
.add-btn.in { border-color: var(--green); background: rgba(34,197,94,.12); }

/* ---------- Category page ---------- */
.page-head { position: relative; padding: 40px 0 34px; border-bottom: 1px solid var(--border); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 260px at 85% 0%, rgba(225,18,27,.18), transparent 70%); }
.page-head .container { position: relative; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--dim); margin-bottom: 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; opacity: .5; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); text-transform: uppercase; }
.page-head p { color: var(--muted); max-width: 760px; margin: 12px 0 0; font-size: 16px; }
.subcats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-2); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted);
  transition: .16s; white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--dim); }
.chip.on { background: rgba(225,18,27,.14); border-color: var(--red); color: #fff; }
.chip span { color: var(--dim); font-weight: 500; }

.explainer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 28px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.explainer > :only-child { grid-column: 1 / -1; }
.p-meta div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.panel h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 12px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.panel ul b { color: var(--text); }
.panel .label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; margin: 0 0 10px; }
.panel .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.shop { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 30px 0 70px; }
.filters { position: sticky; top: 140px; align-self: start; display: grid; gap: 14px; }
.filters .panel { padding: 18px; }
.filters h4 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1px solid var(--border-2); background: var(--bg-2); display: grid; place-items: center; margin: 0; cursor: pointer; }
.check input:checked { background: var(--red); border-color: var(--red); }
.check input:checked::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 700; }
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]:checked::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.check:hover { color: var(--text); }
.check em { margin-left: auto; font-style: normal; color: var(--dim); font-size: 12.5px; }
.range { display: flex; gap: 8px; }
.input {
  width: 100%; height: 40px; padding: 0 12px; border-radius: 9px; background: var(--bg-2); border: 1px solid var(--border); outline: 0;
  transition: border-color .18s;
}
.input:focus { border-color: var(--red); }
select.input { appearance: none; cursor: pointer; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239a9aa2' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; margin-right: auto; }
.toolbar .count b { color: var(--text); }
.toolbar select { width: auto; }
.toolbar .local-search { position: relative; width: 240px; }
.mobile-filter-btn { display: none; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 34px; }
.pager button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: 14px; }
.pager button:hover { border-color: var(--dim); }
.pager button.on { background: var(--red); border-color: var(--red); }
.pager button[disabled] { opacity: .4; pointer-events: none; }

.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--border-2); border-radius: var(--radius); color: var(--muted); }
.empty h3 { color: var(--text); font-size: 24px; margin-bottom: 6px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .18s; }
.faq details[open] { border-color: rgba(225,18,27,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 20px 18px; color: var(--muted); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; padding: 34px 0 60px; }
.gallery { position: sticky; top: 140px; align-self: start; }
.gallery-main { border-radius: 16px; border: 1px solid var(--border); }
.p-info h1 { font-size: clamp(34px, 4vw, 48px); text-transform: uppercase; margin: 10px 0 6px; }
.p-sub { color: var(--muted); font-size: 16px; }
.p-price { display: flex; align-items: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
.p-price b { font: 700 42px/1 var(--display); }
.p-price s { color: var(--dim); font-size: 18px; }
.p-price .save { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--red); padding: 5px 9px; border-radius: 6px; }
.p-actions { display: flex; gap: 10px; }
.p-actions .btn-red { flex: 1; }
.p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.p-meta div { background: var(--surface); border: 1px solid var(--border); border-radius: 11px; padding: 12px 14px; font-size: 13px; color: var(--muted); }
.p-meta b { display: block; color: var(--text); font-size: 14px; }
.p-desc { color: #c9c9cf; border-top: 1px solid var(--border); padding-top: 22px; }
.p-desc h1, .p-desc h2, .p-desc h3 { font-size: 22px; margin: 18px 0 8px; }
.p-desc ul { padding-left: 20px; }
.p-desc li::marker { color: var(--red); }
.p-desc a { color: var(--red-hover); text-decoration: underline; }
.p-desc img, .p-desc iframe { max-width: 100%; border-radius: 10px; }
.secure { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 56px 0 26px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 34px; }
.footer h5 { font: 700 12px var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.pays { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.pays span { font-size: 11px; font-weight: 700; padding: 5px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); letter-spacing: .03em; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--dim); }
.foot-bottom p { margin: 0; max-width: 720px; font-size: 12.5px; color: var(--dim); }

/* ---------- Drawer / modal / toasts ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); z-index: 80; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer, .mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 90;
  background: var(--bg-2); border-left: 1px solid var(--border); display: flex; flex-direction: column;
  animation: slideIn .25s ease;
}
.mobile-menu { left: 0; right: auto; border-left: 0; border-right: 1px solid var(--border); animation-name: slideInL; overflow-y: auto; }
@keyframes slideIn { from { transform: translateX(100%); } }
@keyframes slideInL { from { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 22px; text-transform: uppercase; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { border-top: 1px solid var(--border); padding: 18px 20px; display: grid; gap: 12px; }
.line { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.line img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.line .n { font: 700 16px/1.2 var(--display); text-transform: uppercase; }
.line .p { font-size: 14px; color: var(--muted); }
.line .rm { margin-left: auto; align-self: center; background: none; border: 0; color: var(--dim); font-size: 13px; }
.line .rm:hover { color: var(--red-hover); }
.sum { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }
.sum.total { font-size: 18px; color: var(--text); font-weight: 700; }
.coupon { display: flex; gap: 8px; }
.mini-list { display: grid; gap: 8px; margin-top: 18px; }
.mini-list h5 { margin: 0 0 4px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.mini { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.mini img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; }
.mini .n { font: 700 14px/1.2 var(--display); text-transform: uppercase; flex: 1; }
.mini .p { font-size: 13px; color: var(--muted); }
.mobile-menu a { display: flex; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid var(--border); font-weight: 600; color: var(--muted); }
.mobile-menu a.sub { padding-left: 36px; font-weight: 500; font-size: 14px; }
.mobile-menu a:hover { color: var(--text); background: var(--surface); }

.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); animation: fade .2s; }
.modal { position: relative; width: min(440px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(225,18,27,.12); animation: fadeUp .25s; }
.modal-x { position: absolute; top: 14px; right: 14px; }
.modal h3 { font-size: 28px; text-transform: uppercase; margin-bottom: 8px; }
.modal p { color: var(--muted); margin: 0 0 22px; }
.modal .btn + .btn { margin-top: 10px; }

.toasts { position: fixed; bottom: 70px; left: 16px; z-index: 120; display: grid; gap: 10px; }
.toast { min-width: 260px; max-width: 360px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border-2); border-left: 3px solid var(--red); box-shadow: 0 14px 40px rgba(0,0,0,.5); font-size: 14px; animation: fadeUp .25s; }
.toast.ok { border-left-color: var(--green); }

.demo-flag { position: fixed; left: 16px; bottom: 16px; z-index: 70; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 9px; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.4); color: #fbbf24; }

.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }

.prose { max-width: 820px; padding: 40px 0 70px; color: #c9c9cf; }

/* ---------- Responsive ---------- */
.mobile-only { display: none; }
@media (max-width: 1180px) {
  .grid { grid-template-columns: repeat(min(var(--cols), 3), minmax(0, 1fr)); }
  .row-scroll { grid-auto-columns: calc((100% - 2 * var(--gap)) / min(var(--cols), 3)); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { display: none; }
  .shop { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-scroll { grid-auto-columns: calc((100% - var(--gap)) / 2); }
  .filters { display: none; position: static; }
  .filters.show { display: grid; }
  .mobile-filter-btn { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .explainer { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .nav { display: none; }
  .mobile-only { display: inline-grid; }
  .desktop-only { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-row { gap: 10px; height: 62px; }
  .search { display: none; }
  .search.mobile-show { display: flex; }
  .header-actions { margin-left: auto; gap: 8px; }
  .logo-text small { display: none; }
  #signInBtn { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .row-scroll { grid-auto-columns: 70%; gap: 12px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .card-body { padding: 12px; }
  .card-title { font-size: 16px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .wish { opacity: 1; }
  .toolbar .local-search { width: 100%; }
  .hero-stats { gap: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 44px 0; }
  .cta { padding: 28px; }
  .p-meta { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 23px; }
  .section-head { align-items: center; }
  .demo-flag { font-size: 11px; padding: 6px 9px; left: 10px; bottom: 10px; }
  .toasts { left: 10px; right: 10px; bottom: 50px; }
  .toast { min-width: 0; max-width: none; }
}

@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes flameSpin { to { --ang: 360deg; } }

/* ---------- Free / customer-only ---------- */
.badge-free { background: var(--green); color: #04150a; }
.price b.free, .p-price b.free { color: var(--green); }
.notice { margin-top: 14px; padding: 12px 14px; border-radius: 11px; font-size: 13.5px; color: var(--muted); background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.3); }
.notice b { color: var(--text); }

/* ---------- Product video ---------- */
.video { margin-top: 14px; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Customer reviews ---------- */
.review-stage { position: relative; max-width: 860px; margin: 0 auto; }
.review-slots { position: relative; display: grid; }
.review-slot { grid-area: 1 / 1; transition: opacity .6s ease, transform .6s ease; }
.review-slot.entering { opacity: 0; transform: translateY(10px); }
.review-slot.leaving { opacity: 0; transform: translateY(-10px); }
.review {
  position: relative; margin: 0; padding: 38px 42px 30px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(500px 220px at 100% 0%, rgba(225,18,27,.18), transparent 70%), var(--surface);
  border: 1px solid var(--border);
}
.quote-mark { position: absolute; top: -14px; right: 26px; font: 700 150px/1 Georgia, serif; color: rgba(225,18,27,.18); pointer-events: none; }
.stars { color: #ffb400; font-size: 20px; letter-spacing: 3px; margin-bottom: 12px; }
.stars span { color: var(--border-2); }
.review blockquote { margin: 0 0 22px; font-size: 19px; line-height: 1.6; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption img, .review .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review .avatar { display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); font: 700 18px var(--display); color: #fff; }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption small { color: var(--muted); font-size: 12.5px; }
.review-ui { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.review-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.review-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red)); box-shadow: 0 0 8px var(--red); }
.review-count { font-size: 13px; color: var(--muted); min-width: 52px; text-align: center; }
@media (max-width: 640px) { .review { padding: 28px 22px 22px; } .review blockquote { font-size: 16px; } }

/* row scrollers need room for sparkles that poke outside the card */
.row-scroll { padding: 16px 14px 18px; margin: -16px -14px -18px; scroll-padding: 0 14px; }

/* ---------- Reviews extras ---------- */
.rv-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rv-avg { font-size: 14px; color: var(--muted); }
.rv-avg b { color: var(--text); }
.rv-avg .stars { display: inline; font-size: 16px; margin: 0; letter-spacing: 0; }
.review figcaption > div { flex: 1; min-width: 0; }
.review-prod { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color .18s; max-width: 46%; }
.review-prod:hover { border-color: var(--red); }
.review-prod img { width: 40px !important; height: 40px !important; border-radius: 8px !important; object-fit: cover; }
.review-prod span { font-size: 11.5px; color: var(--muted); line-height: 1.3; min-width: 0; }
.review-prod b { display: block; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .review figcaption { flex-wrap: wrap; } .review-prod { max-width: 100%; width: 100%; } }

/* ---------- Gift ---------- */
.gift-btn { font-size: 20px; }
.modal .input { margin-bottom: 12px; height: 46px; }
.gift-tag { display: inline-block; margin-top: 2px; font-size: 12px; color: #ffb4b8; }
/* ---------- Reviews page ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 30px 0 70px; }
.reviews-grid .review { height: 100%; }
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   TAG BORDER STYLES  (set per tag in config: style: "flames" | "diamond" | ...)
   Colours come from --c1/--c2/--c3 (preset defaults or the tag's borderColors)
   ========================================================================= */
.fx { border-color: transparent !important; }
.fx::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: 4; pointer-events: none;
  background: conic-gradient(from var(--ang), var(--c1), var(--c2), var(--c3), var(--c2), var(--c1), var(--c2), var(--c3), var(--c2), var(--c1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: flameSpin var(--spin, 4s) linear infinite;
}
.fx .badges { z-index: 7; }
@keyframes fxGlow {
  from { box-shadow: 0 0 10px color-mix(in srgb, var(--c2) 35%, transparent), 0 0 26px color-mix(in srgb, var(--c1) 20%, transparent); }
  to   { box-shadow: 0 0 20px color-mix(in srgb, var(--c2) 55%, transparent), 0 0 48px color-mix(in srgb, var(--c1) 35%, transparent); }
}
.fx { animation: fxGlow var(--glow, 2s) ease-in-out infinite alternate; }

/* flames: fast spin + fire along the bottom of the image */
.fx-flames { --spin: 2.6s; --glow: 1.3s; }
.fx-flames::before { padding: 3px; }
.fx-flames .card-media::after, .gallery-main.fx-flames::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -6%; height: 44%; z-index: 1; pointer-events: none;
  background:
    radial-gradient(18% 70% at 10% 100%, rgba(255,210,63,.75), transparent 70%),
    radial-gradient(14% 90% at 27% 100%, rgba(255,122,0,.8), transparent 70%),
    radial-gradient(20% 75% at 45% 100%, rgba(255,210,63,.7), transparent 70%),
    radial-gradient(14% 95% at 62% 100%, rgba(255,60,0,.8), transparent 70%),
    radial-gradient(18% 70% at 80% 100%, rgba(255,160,0,.75), transparent 70%),
    radial-gradient(14% 85% at 95% 100%, rgba(255,60,0,.75), transparent 70%);
  filter: blur(6px); mix-blend-mode: screen; transform-origin: bottom;
  animation: flicker 1.1s ease-in-out infinite alternate;
}
@keyframes flicker { 0% { transform: scaleY(.85) translateX(-1%); opacity: .75; } 50% { transform: scaleY(1.08) translateX(1%); opacity: 1; } 100% { transform: scaleY(.95); opacity: .85; } }

/* diamond / gold / ice: slow spin + light glint sweeping across the image (+ sparkles) */
.fx-diamond { --spin: 4.5s; --glow: 2.4s; }
.fx-gold { --spin: 5s; --glow: 2.2s; }
.fx-ice { --spin: 6s; --glow: 2.8s; }
.fx-diamond .card-media::after, .fx-gold .card-media::after, .fx-ice .card-media::after,
.gallery-main.fx-diamond::after, .gallery-main.fx-gold::after, .gallery-main.fx-ice::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 35%, color-mix(in srgb, var(--c3) 22%, transparent) 47%, color-mix(in srgb, var(--c1) 35%, transparent) 50%, transparent 60%);
  background-size: 250% 100%; animation: glint 4.5s ease-in-out infinite;
}
@keyframes glint { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }

/* neon: solid tube that pulses */
.fx-neon::before { background: var(--c1); animation: neonPulse 1.6s ease-in-out infinite alternate; }
.fx-neon { animation: none; box-shadow: 0 0 14px var(--c1), 0 0 34px color-mix(in srgb, var(--c1) 50%, transparent), inset 0 0 14px color-mix(in srgb, var(--c1) 25%, transparent); }
@keyframes neonPulse { from { opacity: .7; } to { opacity: 1; } }

/* electric: very fast spin + flicker */
.fx-electric { --spin: 1.1s; --glow: .35s; }
.fx-electric::before { animation: flameSpin var(--spin) linear infinite, zap 2.2s steps(1) infinite; }
@keyframes zap { 0%, 100% { opacity: 1; } 8% { opacity: .35; } 10% { opacity: 1; } 52% { opacity: .5; } 54% { opacity: 1; } }

/* rainbow: full spectrum */
.fx-rainbow { --c1: #ff3b3b; --c2: #3bff8a; --c3: #3b8aff; }
.fx-rainbow::before { background: conic-gradient(from var(--ang), #ff3b3b, #ffb13b, #f4ff3b, #3bff8a, #3bd7ff, #6a3bff, #ff3bd1, #ff3b3b); --spin: 3s; }

/* toxic / plasma / blood: medium spin */
.fx-toxic { --spin: 3s; --glow: 1.6s; }
.fx-plasma { --spin: 3s; --glow: 1.8s; }
.fx-blood { --spin: 3.5s; --glow: 1.8s; }

/* glow: still border with a soft breathing glow */
.fx-glow::before { background: var(--c1); animation: none; }

/* sparkles (diamond / gold / ice by default) */
.sparkles { position: absolute; z-index: 6; width: 46px; height: 46px; pointer-events: none; }
.sparkles.tl { top: -14px; left: -14px; }
.sparkles.br { bottom: -14px; right: -14px; }
.sparkles b {
  position: absolute; display: block; background: #fff;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  filter: drop-shadow(0 0 4px var(--c2, #9fe8ff)) drop-shadow(0 0 8px var(--c2, #9fe8ff));
  animation: twinkle 2.2s ease-in-out infinite;
}
.sparkles b:nth-child(1) { width: 22px; height: 22px; top: 6px; left: 6px; }
.sparkles b:nth-child(2) { width: 11px; height: 11px; top: 0; left: 30px; animation-delay: .7s; }
.sparkles b:nth-child(3) { width: 9px; height: 9px; top: 30px; left: 0; animation-delay: 1.3s; }
.sparkles.br b:nth-child(1) { top: auto; left: auto; bottom: 6px; right: 6px; animation-delay: 1.1s; }
.sparkles.br b:nth-child(2) { top: auto; left: auto; bottom: 0; right: 30px; animation-delay: .3s; }
.sparkles.br b:nth-child(3) { top: auto; left: auto; bottom: 30px; right: 0; animation-delay: 1.8s; }
@keyframes twinkle { 0%, 100% { transform: scale(.35) rotate(0deg); opacity: .25; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { transform: scale(.7) rotate(70deg); opacity: .8; } }

.badge-tag { box-shadow: 0 0 12px color-mix(in srgb, var(--bglow) 55%, transparent); }

@media (prefers-reduced-motion: reduce) {
  .fx, .fx::before, .fx .card-media::after, .gallery-main.fx::after, .sparkles b { animation: none !important; }
}

/* ---------- Tag filter buttons ---------- */
.tag-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tag-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: var(--surface); color: var(--muted); font-size: 13.5px; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--tc) 55%, var(--border)); transition: .16s;
}
.tag-chip span { font-weight: 500; opacity: .7; font-size: 12.5px; }
.tag-chip:hover { color: var(--text); background: color-mix(in srgb, var(--tc) 14%, var(--surface)); }
.tag-chip.on { background: var(--tc); color: var(--tt); border-color: var(--tc); box-shadow: 0 0 16px color-mix(in srgb, var(--tc) 45%, transparent); }

/* ---------- Marquee (auto-scrolling strip) ---------- */
.marquee {
  overflow: hidden; padding: 18px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-dup { display: contents; }
.marquee-track > .card, .marquee-dup > .card { width: clamp(250px, 26vw, 380px); flex: 0 0 auto; margin-right: var(--gap); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.sec-sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } }

/* ---------- Recent buyers strip + page ---------- */
.buyers-strip { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 12px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); flex-wrap: wrap; }
.buyers-strip a { margin-left: auto; font-size: 13.5px; font-weight: 600; color: var(--red-hover); }
.bs-text { font-size: 14px; color: var(--muted); }
.bs-text b { color: var(--text); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; }
.av-stack { display: flex; }
.av-stack .av { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--surface); object-fit: cover; margin-left: -8px; background: var(--surface-2); }
.av-stack .av:first-child { margin-left: 0; }
.av-fallback { display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font: 700 14px var(--display); }
.buyers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; padding: 30px 0 20px; }
.buyer { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); animation: fadeUp .5s both; }
.buyer:nth-child(2) { animation-delay: .06s; } .buyer:nth-child(3) { animation-delay: .12s; } .buyer:nth-child(4) { animation-delay: .18s; } .buyer:nth-child(5) { animation-delay: .24s; }
.buyer-rank { position: absolute; top: 10px; left: 12px; font: 700 13px var(--display); color: var(--dim); }
.buyer-av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid var(--red); box-shadow: 0 0 20px var(--red-glow); font-size: 28px; margin-bottom: 6px; }
.buyer b { font-size: 16px; }
.buyer small { color: var(--muted); font-size: 12.5px; }
.verified { margin-top: 4px; font-size: 11.5px; font-weight: 700; color: var(--green); background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); padding: 3px 9px; border-radius: 999px; }



/* ---------- Badges: compact, never cut off ---------- */
.badges { right: 52px; flex-wrap: wrap; align-items: flex-start; }
.badge { white-space: nowrap; font-size: 10px; padding: 5px 7px; line-height: 1; }
.gallery .badges { right: 12px; }
.gallery .badge { font-size: 11.5px; padding: 6px 9px; }

/* ---------- Account (exclusive) discount pill ---------- */
.pd-pill {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font: 700 11px/1 var(--font); letter-spacing: .02em; padding: 5px 8px; border-radius: 999px;
  color: #fff; background: color-mix(in srgb, var(--pd) 28%, transparent); border: 1px solid var(--pd);
  box-shadow: 0 0 12px color-mix(in srgb, var(--pd) 45%, transparent);
}
.pd-break { flex-basis: 100%; height: 0; }
.price .pd-pill { flex: 0 0 auto; margin-top: 2px; }

/* ---------- Wide / tall images: soft edges so they blend into the blurred backdrop ---------- */
.card-media.is-wide .fg { position: absolute; inset: 0; margin: auto; width: 100%; height: auto; max-height: 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%); }
.card-media.is-tall .fg { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); }
.card-media.is-wide .bg, .card-media.is-tall .bg { filter: blur(28px) brightness(.38) saturate(1.3); transform: scale(1.6); }

/* =========================================================================
   MOBILE POLISH
   ========================================================================= */
.logo { min-width: 0; }
.logo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .header-row { gap: 8px; }
  .logo { gap: 8px; flex: 1; }
  .logo img { width: 36px; height: 36px; }
  .logo-mark { width: 34px; height: 34px; font-size: 18px; }
  .logo-text { font-size: 19px; letter-spacing: .03em; }
  .header-actions { gap: 6px; margin-left: 0; flex-shrink: 0; }
  .header-actions a[href="#/wishlist"] { display: none; }   /* wishlist is in the menu on phones */
  .icon-btn { width: 38px; height: 38px; }
  .announce { font-size: 12px; height: 32px; }
  .announce span { padding: 0 34px 0 12px; }

  /* cards: 2 across, everything stacks neatly inside */
  .card-body { padding: 11px 11px 12px; }
  .card-cat { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .card-title { font-size: 15.5px; overflow-wrap: anywhere; }
  .card-sub { font-size: 12px; }
  .card-foot { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .price { gap: 4px 6px; }
  .price b { font-size: 18px; }
  .price s { font-size: 12px; }
  .pd-pill { font-size: 9.5px; padding: 4px 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .pd-pill .pd-txt { display: none; }      /* phones show "👑 -10%" */
  .add-btn { width: 100%; justify-content: center; height: 34px; }
  .badges { top: 8px; left: 8px; right: 46px; gap: 4px; }
  .badge { font-size: 9px; padding: 4px 6px; }
  .wish { top: 8px; right: 8px; width: 30px; height: 30px; }
  .sparkles { transform: scale(.7); }
  .sparkles.tl { top: -12px; left: -12px; transform-origin: top left; }
  .sparkles.br { bottom: -12px; right: -12px; transform-origin: bottom right; }

  /* shop page */
  .tag-filters { gap: 6px; }
  .tag-chip { height: 32px; padding: 0 11px; font-size: 12.5px; }
  .toolbar { gap: 8px; }
  .toolbar .count { width: 100%; }
  .toolbar select { flex: 1; }
  .page-head { padding: 28px 0 24px; }
  .page-head p { font-size: 14.5px; }
  .shop { padding-top: 20px; }

  /* home */
  .hero-inner { padding-top: 30px; padding-bottom: 34px; }
  .hero h1 { font-size: 40px; }
  .hero p { font-size: 15px; }
  .hero-ctas .btn { width: 100%; }
  .hero-stats { gap: 18px; }
  .hero-stats b { font-size: 24px; }
  .buyers-strip { gap: 10px; padding: 10px 12px; }
  .buyers-strip .bs-text { font-size: 12.5px; flex: 1; min-width: 0; }
  .buyers-strip a { margin-left: 0; width: 100%; }
  .tile { min-height: 120px; padding: 16px 14px; }
  .tile h3 { font-size: 16px; }
  .marquee-track > .card, .marquee-dup > .card { width: 62vw; }
  .row-scroll { grid-auto-columns: 62vw; }
  .section-head { flex-wrap: wrap; gap: 10px; }
  .row-nav .icon-btn { display: none; }     /* swipe instead on phones */
  .review { padding: 24px 18px 18px; }
  .quote-mark { font-size: 100px; right: 14px; }
  .cta h2 { font-size: 26px; }

  /* product page */
  .p-info h1 { font-size: 30px; }
  .p-price b { font-size: 34px; }
  .p-actions .btn-lg { height: 48px; }
  .gallery .badges { right: 12px; }

  /* drawer + modals full width */
  .drawer { width: 100vw; }
  .modal { padding: 26px 20px; }
  .reviews-grid { padding-top: 20px; }
  .buyers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .buyer { padding: 22px 10px 16px; }
  .buyer-av { width: 60px; height: 60px; }
}

.marquee.rev .marquee-track { animation-direction: reverse; }
.mobile-menu a.menu-signin { color: #fff; background: rgba(225,18,27,.12); border-bottom-color: rgba(225,18,27,.35); }
