/* Mundial Store — design system */
:root {
  --bg: #faf7f2;
  --bg-2: #f3eee4;
  --ink: #1a1410;
  --ink-2: #4a3f36;
  --ink-3: #7a6d62;
  --line: #e6dfd1;
  --red: #d62828;
  --red-deep: #9d1d1d;
  --navy: #003049;
  --navy-2: #0a4566;
  --orange: #f4a261;
  --gold: #f4c95d;
  --green: #2a9d8f;
  --paper: #ffffff;
  --shadow-sm: 0 1px 2px rgba(26,20,16,.06), 0 2px 6px rgba(26,20,16,.04);
  --shadow-md: 0 4px 12px rgba(26,20,16,.08), 0 12px 32px rgba(26,20,16,.06);
  --shadow-lg: 0 20px 60px rgba(26,20,16,.18);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  /* aliases for PHP pages */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
input, textarea, select { font-family: inherit; }
html { scroll-behavior: smooth; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
.mono { font-family: var(--mono); letter-spacing: -0.02em; }

/* ===== Bunting (flag strip) ===== */
.bunting {
  height: 28px;
  background:
    repeating-linear-gradient(90deg,
      var(--red) 0 28px,
      var(--bg) 28px 32px,
      var(--navy) 32px 60px,
      var(--bg) 60px 64px,
      var(--gold) 64px 92px,
      var(--bg) 92px 96px,
      var(--green) 96px 124px,
      var(--bg) 124px 128px,
      var(--orange) 128px 156px,
      var(--bg) 156px 160px);
  position: relative;
}
.bunting::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 40%, rgba(0,0,0,.12));
  pointer-events: none;
}

/* ===== Header ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, var(--gold), var(--orange) 60%, var(--red) 100%);
  position: relative;
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.15), 0 2px 8px rgba(214,40,40,.3);
  flex-shrink: 0;
}
.logo-mark::before, .logo-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
.logo-mark::before {
  background:
    conic-gradient(from 0deg, transparent 0 5%, rgba(0,48,73,.55) 5% 8%, transparent 8% 18%,
      rgba(0,48,73,.55) 18% 21%, transparent 21% 32%, rgba(0,48,73,.55) 32% 35%, transparent 35% 50%,
      rgba(0,48,73,.55) 50% 53%, transparent 53% 65%, rgba(0,48,73,.55) 65% 68%, transparent 68%);
  mask: radial-gradient(circle, transparent 30%, black 32%);
  -webkit-mask: radial-gradient(circle, transparent 30%, black 32%);
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
@media (max-width: 880px) { .nav-links { display: none; } }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-account {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--ink-2); transition: background .2s, color .2s;
}
.nav-account:hover { background: var(--bg-2); color: var(--ink); }
.nav-admin-btn {
  font-size: 12px; font-weight: 600; font-family: var(--mono);
  background: var(--navy); color: #fff;
  padding: 6px 12px; border-radius: var(--radius-sm);
  transition: background .2s;
}
.nav-admin-btn:hover { background: var(--navy-2); }

.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: transform .15s ease, box-shadow .2s;
  position: relative;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-count {
  background: var(--red); color: white;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: var(--mono);
}
.cart-pulse { animation: pulse .5s ease; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-2);
  padding: 8px 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.92; letter-spacing: -0.035em;
  margin: 22px 0 24px;
  color: var(--ink);
}
.hero h1 .accent {
  display: inline-block;
  position: relative;
  color: var(--red);
}
.hero h1 .accent::after {
  content: "";
  position: absolute; left: -4%; right: -4%; bottom: -2%; height: 28%;
  background: var(--gold);
  z-index: -1; border-radius: 4px;
  transform: skew(-4deg);
}
.hero .sub {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 520px; margin-bottom: 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary {
  background: var(--red); color: white;
  box-shadow: 0 6px 18px rgba(214,40,40,.32);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(214,40,40,.4); }
.btn-secondary {
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--ink-2); padding: 10px 14px; }
.btn-ghost:hover { color: var(--ink); }
.btn-sm { font-size: 13px; padding: 9px 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Countdown ===== */
.countdown {
  display: inline-flex; gap: 14px; margin-top: 36px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.countdown-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--ink-3); align-self: center;
  max-width: 84px; line-height: 1.3;
}
.cd-unit {
  display: flex; flex-direction: column; align-items: center;
  min-width: 56px;
}
.cd-num {
  font-family: var(--mono); font-weight: 700; font-size: 28px;
  color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lbl {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  color: var(--ink-3); margin-top: 4px; letter-spacing: 0.08em;
}
.cd-sep {
  font-family: var(--mono); font-weight: 700; font-size: 28px;
  color: var(--line); align-self: flex-start; margin-top: -2px;
}

/* ===== Hero album visual ===== */
.album-stage {
  position: relative;
  height: 560px;
  display: flex; align-items: center; justify-content: center;
}
.album-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 60% 50%, rgba(244,201,93,.35), transparent 70%),
    radial-gradient(40% 40% at 30% 30%, rgba(214,40,40,.15), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.album-slot-wrap {
  position: relative; z-index: 2;
  transform: rotate(-4deg);
  transition: transform .3s ease;
}
.album-slot-wrap:hover { transform: rotate(-2deg) scale(1.02); }
.album-slot {
  width: 340px; height: 460px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(0,0,0,.08),
    0 30px 60px -10px rgba(26,20,16,.3),
    0 18px 36px -18px rgba(26,20,16,.25);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.album-slot img { width: 100%; height: 100%; object-fit: cover; }
.album-slot-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px;
  background: linear-gradient(145deg, var(--navy), #001e30);
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.album-slot-placeholder::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 50% 35%, rgba(244,201,93,.25), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.04) 18px 19px);
}
.album-slot-logo {
  font-family: var(--display); font-weight: 800; font-size: 28px;
  color: white; letter-spacing: -0.02em; text-align: center;
  position: relative; z-index: 1;
}
.album-slot-logo small {
  display: block; font-family: var(--mono); font-size: 10px;
  margin-top: 8px; letter-spacing: 0.12em; opacity: 0.6; font-weight: 500;
}
.album-spine {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 8px;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,.06));
  pointer-events: none;
  transform: translateX(-50%);
}
.album-badge {
  position: absolute; top: -16px; right: -16px;
  z-index: 3;
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--red); color: white;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800;
  box-shadow: var(--shadow-md);
  transform: rotate(10deg);
  animation: float 6s ease-in-out infinite;
}
.album-badge .big { font-size: 28px; line-height: 1; }
.album-badge .small { font-size: 10px; font-family: var(--mono); margin-top: 4px; letter-spacing: 0.08em; }
@keyframes float {
  0%, 100% { transform: rotate(10deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-8px); }
}

/* Floating cromos around the album */
.float-cromo {
  position: absolute;
  width: 90px; height: 130px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  z-index: 1;
  background: var(--paper);
  overflow: hidden;
}
.float-cromo .top {
  height: 70%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  position: relative;
}
.float-cromo .top::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 50% 45%, rgba(244,201,93,.35), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(255,255,255,.06) 8px 9px);
}
.float-cromo .bot {
  height: 30%;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4px 8px;
}
.float-cromo .bot .name {
  font-family: var(--display); font-weight: 800; font-size: 10px; line-height: 1;
  text-transform: uppercase;
}
.float-cromo .bot .meta {
  font-family: var(--mono); font-size: 8px; color: var(--ink-3); margin-top: 2px;
}
.float-cromo.c1 { top: 8%; left: 5%; transform: rotate(-12deg); animation: bob1 7s ease-in-out infinite; }
.float-cromo.c2 { bottom: 6%; left: 12%; transform: rotate(8deg); animation: bob2 8s ease-in-out infinite; }
.float-cromo.c3 { top: 14%; right: 6%; transform: rotate(14deg); animation: bob3 7.5s ease-in-out infinite; }
@keyframes bob1 { 0%,100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-12deg) translateY(-12px); } }
@keyframes bob2 { 0%,100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(8deg) translateY(10px); } }
@keyframes bob3 { 0%,100% { transform: rotate(14deg) translateY(0); } 50% { transform: rotate(14deg) translateY(-14px); } }

/* ===== Marquee ticker ===== */
.ticker {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ticker-track {
  display: flex; gap: 48px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  will-change: transform;
  transform: translateZ(0);
}
.ticker-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 700; font-size: 22px;
  letter-spacing: -0.01em;
}
.ticker-item .sep { color: var(--gold); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Section header ===== */
.section { padding: 80px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
}
.section-head .title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em; line-height: 1; margin: 0;
}
.section-head .kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 10px;
}
.section-head p { color: var(--ink-2); max-width: 420px; margin: 0; }

/* ===== Filters ===== */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px;
}
.chip {
  padding: 10px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .18s;
  cursor: pointer;
}
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.chip .count {
  font-family: var(--mono); font-size: 11px; opacity: 0.7; margin-left: 6px;
}

/* ===== Product grid ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.grid.dense { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }

.product {
  background: var(--paper);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
  display: flex; flex-direction: column;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(214,40,40,.3);
}
.product-img {
  aspect-ratio: 3 / 3.2;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform .35s ease;
}
.product:hover .product-img img { transform: scale(1.06); }
.product-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; opacity: .3;
}
.product-body {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.product .tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 9px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  z-index: 2;
}
.product .tag.hot { background: var(--red); }
.product .tag.deal { background: var(--gold); color: var(--ink); }
.product .tag.new { background: var(--navy); }
.product .name {
  font-family: var(--display); font-weight: 700;
  font-size: 20px; letter-spacing: -0.02em; line-height: 1.1;
}
.product .desc {
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 12px;
}
.product .row {
  display: flex; align-items: end; justify-content: space-between;
  margin-top: auto; gap: 12px;
}
.product .price {
  font-family: var(--mono); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em;
}
.product .price .old {
  font-family: var(--mono); font-weight: 500; font-size: 13px;
  color: var(--ink-3); text-decoration: line-through;
  margin-right: 6px;
}
.product .add {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s, background .2s;
  flex-shrink: 0;
}
.product .add:hover { background: var(--red); transform: rotate(90deg); }
.product .add.adding { background: var(--green); }

/* ===== Stock indicator ===== */
.stock {
  margin: -2px 0 12px;
  padding: 8px 10px;
  background: var(--bg-2);
  border-radius: 10px;
}
.stock-row {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2);
  margin-bottom: 6px;
}
.stock-text b { font-family: var(--mono); font-weight: 700; }
.stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(42,157,143,.18);
}
.stock.mid .stock-dot { background: var(--orange); box-shadow: 0 0 0 3px rgba(244,162,97,.22); }
.stock.low .stock-dot {
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(214,40,40,.22);
  animation: stockBlink 1.4s ease infinite;
}
.stock.low .stock-text { color: var(--red-deep); font-weight: 600; }
@keyframes stockBlink { 50% { opacity: 0.5; } }
.stock-bar {
  width: 100%; height: 4px; border-radius: 999px;
  background: rgba(0,0,0,.05);
  overflow: hidden;
}
.stock-fill {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  transition: width .5s ease;
}
.stock.mid .stock-fill { background: var(--orange); }
.stock.low .stock-fill { background: var(--red); }

/* ===== Bundles ===== */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 880px) { .bundles-grid { grid-template-columns: 1fr; } }

.bundle {
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease;
  min-height: 360px;
  display: flex; flex-direction: column;
}
.bundle:hover { transform: translateY(-6px); }
.bundle .name {
  font-family: var(--display); font-weight: 800;
  font-size: 32px; letter-spacing: -0.03em; line-height: 1;
}
.bundle .count {
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.08em;
  opacity: 0.7; margin-top: 6px;
}
.bundle ul {
  list-style: none; padding: 0; margin: 24px 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14px;
}
.bundle ul li { display: flex; align-items: center; gap: 8px; }
.bundle ul li::before { content: "→"; font-family: var(--mono); opacity: 0.7; }
.bundle .price-row {
  display: flex; align-items: end; justify-content: space-between;
  margin-top: auto;
}
.bundle .b-price {
  font-family: var(--mono); font-weight: 700; font-size: 38px;
  letter-spacing: -0.03em; line-height: 1;
}
.bundle .b-save {
  font-family: var(--mono); font-size: 11px; opacity: 0.7;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-top: 4px;
}
.bundle .b-add {
  padding: 12px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: transform .15s;
}
.bundle .b-add:hover { transform: translateY(-2px); }

.bundle.cream { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.bundle.cream .b-add { background: var(--ink); color: var(--bg); }
.bundle.navy { background: var(--navy); color: var(--bg); }
.bundle.navy .b-add { background: var(--gold); color: var(--ink); }
.bundle.red { background: var(--red); color: white; }
.bundle.red .b-add { background: white; color: var(--red); }

.bundle .badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}
.bundle.cream .badge { background: var(--bg-2); border-color: var(--line); }

.bundle-deco {
  position: absolute; right: -20px; bottom: -20px;
  font-family: var(--display); font-weight: 800;
  font-size: 180px; line-height: 1; letter-spacing: -0.06em;
  opacity: 0.08; pointer-events: none;
}

/* ===== Pack opener ===== */
.opener {
  background: linear-gradient(180deg, var(--navy), #001e30);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  position: relative;
  overflow: hidden;
}
.opener::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 30%, rgba(244,201,93,.18), transparent 60%),
    radial-gradient(40% 60% at 10% 80%, rgba(214,40,40,.2), transparent 60%);
  pointer-events: none;
}
.opener-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
@media (max-width: 880px) { .opener-grid { grid-template-columns: 1fr; } }
.opener h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.03em; line-height: 1; margin: 0 0 16px;
}
.opener p { color: rgba(250,247,242,.75); font-size: 16px; max-width: 380px; }
.opener .opener-eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px;
}

.pack-stage {
  position: relative;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.pack {
  width: 220px; height: 320px;
  border-radius: 14px;
  background:
    linear-gradient(160deg, var(--red), var(--red-deep));
  box-shadow: 0 30px 60px -10px rgba(0,0,0,.4);
  position: relative;
  cursor: pointer;
  transition: transform .3s ease;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: white;
  overflow: hidden;
}
.pack::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 50% 40%, rgba(255,255,255,.2), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(0,0,0,.08) 18px 19px);
}
.pack::after {
  content: ""; position: absolute; top: 28px; left: 16px; right: 16px;
  height: 1px; background: rgba(255,255,255,.25);
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
}
.pack-logo {
  font-family: var(--display); font-weight: 800; font-size: 26px;
  text-align: center; line-height: 1; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.pack-logo small {
  display: block; font-family: var(--mono); font-size: 10px;
  margin-top: 8px; letter-spacing: 0.1em; opacity: 0.7; font-weight: 500;
}
.pack-shine {
  position: absolute; top: 0; bottom: 0; left: -50%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}
@keyframes shine {
  0%, 100% { left: -50%; }
  50% { left: 120%; }
}
.pack:hover { transform: scale(1.04) rotate(-2deg); }
.pack.opening {
  animation: packOpen 0.7s ease forwards;
}
@keyframes packOpen {
  0% { transform: scale(1); }
  30% { transform: scale(1.08) rotate(-3deg); }
  60% { transform: scale(1.2) rotate(2deg); opacity: 0.7; filter: blur(2px); }
  100% { transform: scale(0.5) rotate(15deg); opacity: 0; }
}

.reveal-grid {
  display: grid;
  grid-template-columns: repeat(5, 106px);
  gap: 10px;
  pointer-events: none;
}
.reveal-card {
  border-radius: 10px;
  background: var(--paper);
  opacity: 0;
  transform: translateY(40px) scale(0.6) rotateY(180deg);
  box-shadow: 0 12px 30px rgba(0,0,0,.3);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  transition: box-shadow .2s, transform .1s;
}
.reveal-card.show {
  animation: revealIn 0.65s cubic-bezier(.2,.9,.3,1.2) forwards;
}
@keyframes revealIn {
  0%   { opacity: 0; transform: translateY(40px) scale(0.6) rotateY(180deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1) rotateY(0deg); }
}

/* ── Photo-card (new Panini-style design) ── */
.reveal-card.photo-card {
  cursor: default;
  display: flex;
  flex-direction: column;
}
.reveal-card.photo-card:hover {
  transform: scale(1.06) translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

/* country band */
.rc-band {
  height: 24px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  gap: 4px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.rc-band::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent 0 8px, rgba(255,255,255,.07) 8px 9px
  );
}
.rc-flag  { font-size: 13px; flex-shrink: 0; }
.rc-country-name {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  letter-spacing: .05em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-rar {
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255,255,255,.22);
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.3);
}
.reveal-card.gold .rc-rar  { background: rgba(255,190,0,.5); border-color: rgba(255,190,0,.6); }
.reveal-card.holo .rc-rar  { background: linear-gradient(90deg,#ff6ec7,#6ed5ff); border: none; }

/* photo area */
.rc-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.rc-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(255,255,255,.14), transparent 70%);
  z-index: 1; pointer-events: none;
}
.rc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform .3s;
}
.rc-img.cutout {
  object-fit: contain;
  object-position: bottom center;
  padding: 6px 4px 0;
}
.reveal-card.photo-card:hover .rc-img { transform: scale(1.04); }
/* fallback silhouette */
.rc-sil {
  width: 48%;
  height: 68%;
  background: rgba(255,255,255,.18);
  border-radius: 50% 50% 45% 45% / 30% 30% 70% 70%;
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}
.rc-sil::before {
  content: '';
  position: absolute;
  top: -32%; left: 22%;
  width: 56%; height: 50%;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

/* GOLD shine */
.reveal-card.gold .rc-photo {
  background-image: repeating-linear-gradient(
    60deg, rgba(255,210,0,.06) 0 12px, transparent 12px 24px
  ) !important;
}
/* HOLO rainbow */
.rc-holo {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(
    135deg,
    rgba(255,0,128,.18) 0%,
    rgba(255,165,0,.15) 15%,
    rgba(255,255,0,.15) 30%,
    rgba(0,255,128,.15) 45%,
    rgba(0,200,255,.18) 60%,
    rgba(128,0,255,.18) 75%,
    rgba(255,0,128,.18) 100%
  );
  background-size: 200% 200%;
  animation: holoShift 4s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes holoShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}
.reveal-card.holo {
  box-shadow:
    0 12px 30px rgba(0,0,0,.3),
    0 0 20px rgba(200,100,255,.25);
}
.reveal-card.holo.show {
  box-shadow:
    0 12px 40px rgba(0,0,0,.35),
    0 0 30px rgba(200,100,255,.4),
    0 0 60px rgba(100,200,255,.2);
}

/* card footer */
.rc-foot {
  background: #fff;
  padding: 5px 7px 6px;
  flex-shrink: 0;
  border-top: 2px solid rgba(0,0,0,.08);
}
.rc-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rc-meta {
  font-family: var(--mono);
  font-size: 7.5px;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}
.reveal-card.gold .rc-foot { background: linear-gradient(135deg, #fffde7, #fff8e1); }
.reveal-card.holo .rc-foot {
  background: linear-gradient(135deg, #fdf4ff, #f0f8ff);
}
.reveal-card.gold .rc-name { color: #7a4f00; }

/* loading state */
.rc-loading {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: rgba(255,255,255,.4);
}

/* responsive */
@media (max-width: 600px) {
  .reveal-grid {
    grid-template-columns: repeat(5, 62px);
    gap: 6px;
  }
  .rc-band   { height: 18px; }
  .rc-flag   { font-size: 10px; }
  .rc-country-name { font-size: 6px; }
  .rc-name   { font-size: 8px; }
  .rc-meta   { font-size: 6px; }
  .rc-foot   { padding: 4px 5px 5px; }
  .rc-rar    { display: none; }
}

.opener-actions {
  display: flex; gap: 12px; margin-top: 24px;
  position: relative; z-index: 1;
}
.opener-actions .btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 6px 18px rgba(244,201,93,.32); }
.opener-actions .btn-primary:hover { background: #fbd672; }
.opener-actions .btn-ghost { color: rgba(250,247,242,.7); border: 1px solid rgba(255,255,255,.18); padding: 14px 20px; border-radius: 999px; }
.opener-actions .btn-ghost:hover { color: white; }

.opener-stats {
  display: flex; gap: 36px; margin-top: 32px;
  position: relative; z-index: 1;
}
.opener-stats .stat .v {
  font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1;
}
.opener-stats .stat .l {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(250,247,242,.6); margin-top: 4px;
}

/* ===== Sticker showcase (horizontal scroll) ===== */
.showcase {
  padding: 80px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-scroll {
  display: flex; gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 32px 32px;
  margin: 0 -32px;
  scrollbar-width: thin;
}
.showcase-scroll::-webkit-scrollbar { height: 8px; }
.showcase-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.showcase-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform .3s ease, box-shadow .3s;
  cursor: pointer;
  display: flex; flex-direction: column;
}
.showcase-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); }
.showcase-card .top {
  flex: 1; position: relative;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  display: flex; align-items: center; justify-content: center;
}
.showcase-card .top::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(35% 35% at 50% 45%, rgba(255,255,255,.22), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 8px, rgba(0,0,0,.07) 8px 9px);
}
.showcase-card .silhouette {
  width: 45%; height: 60%;
  background: rgba(255,255,255,.18);
  border-radius: 50% 50% 50% 50% / 28% 28% 72% 72%;
  position: relative;
}
.showcase-card .silhouette::before {
  content: ""; position: absolute;
  top: -28%; left: 25%; width: 50%; height: 50%; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.showcase-card.gold .top { background: linear-gradient(135deg, var(--gold), #c9942f); }
.showcase-card.red .top { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.showcase-card.green .top { background: linear-gradient(135deg, var(--green), #1f7368); }
.showcase-card.orange .top { background: linear-gradient(135deg, var(--orange), #c97a36); }
.showcase-card.holo .top {
  background:
    linear-gradient(135deg, #ff6ec7, #ffd86e, #6ed5ff, #b06eff);
  background-size: 200% 200%;
  animation: holo 4s ease-in-out infinite;
}
@keyframes holo {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.showcase-card .bot {
  background: white;
  padding: 12px 14px;
  display: flex; flex-direction: column; gap: 4px;
}
.showcase-card .bot .name {
  font-family: var(--display); font-weight: 800; font-size: 15px;
  letter-spacing: -0.01em; line-height: 1; text-transform: uppercase;
}
.showcase-card .bot .meta {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  display: flex; justify-content: space-between;
}
.showcase-card .rarity-tag {
  position: absolute; top: 10px; right: 10px;
  font-family: var(--mono); font-size: 9px; font-weight: 700;
  padding: 3px 7px; border-radius: 999px;
  background: rgba(255,255,255,.95); color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.05em;
  z-index: 1;
}
.showcase-card.gold .rarity-tag { background: var(--gold); }
.showcase-card.holo .rarity-tag { background: linear-gradient(90deg, #ff6ec7, #6ed5ff); color: white; }
.showcase-card .num {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--mono); font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.7);
  z-index: 1;
}

/* ===== Favorites (flags) ===== */
.favorites {
  padding: 80px 0;
}
.flag-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
}
@media (max-width: 880px) { .flag-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .flag-row { grid-template-columns: repeat(2, 1fr); } }

.flag-cell {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .25s;
  background: transparent; border: 0; padding: 12px 8px; border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
}
.flag-cell:hover { transform: translateY(-3px); }
.flag-cell.active {
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.flag-cell.active .flag {
  transform: scale(1.08);
}
.flag-cell .flag { transition: transform .3s ease; }
.flag-name {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--ink-2); text-align: center;
}
.flag-pct {
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.flag-pct.show {
  max-height: 80px;
  opacity: 1;
  margin-top: 4px;
}
.pct-bar {
  width: 100%; height: 4px; border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
}
.pct-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 999px;
  transition: width .6s cubic-bezier(.2,.9,.3,1.1);
}
.pct-num {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  letter-spacing: -0.02em; line-height: 1; color: var(--ink);
}
.pct-lbl {
  font-family: var(--mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-3);
}
.flag {
  width: 88px; height: 60px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.12), inset 0 0 0 1px rgba(0,0,0,.08);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.flag.br { background: #009c3b; }
.flag.br::before {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 70%; height: 75%;
  background: #ffdf00;
  transform: translate(-50%, -50%) rotate(45deg);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.flag.br::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 32%; height: 46%;
  border-radius: 50%;
  background: #002776;
  transform: translate(-50%, -50%);
}
.flag.ar { background: linear-gradient(180deg, #74acdf 0 33.3%, #fff 33.3% 66.6%, #74acdf 66.6%); }
.flag.ar::before {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle, #fcbf49 0 38%, #f4a261 38% 50%, transparent 50%);
  transform: translate(-50%, -50%);
}
.flag.fr { background: linear-gradient(90deg, #0055a4 0 33.3%, #fff 33.3% 66.6%, #ef4135 66.6%); }
.flag.en { background: #fff; }
.flag.en::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 8px; margin-top: -4px; background: #c8102e;
}
.flag.en::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 8px; margin-left: -4px; background: #c8102e;
}
.flag.es { background: linear-gradient(180deg, #aa151b 0 25%, #f1bf00 25% 75%, #aa151b 75%); }
.flag.de { background: linear-gradient(180deg, #000 0 33.3%, #dd0000 33.3% 66.6%, #ffce00 66.6%); }
.flag.pt {
  background: linear-gradient(90deg, #006847 0 40%, #c8102e 40%);
  position: relative;
}
.flag.pt::before {
  content: ""; position: absolute;
  left: 40%; top: 50%;
  width: 14px; height: 14px; border-radius: 50%;
  background: #ffdf00;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 0 2px #c8102e;
}
.flag.nl { background: linear-gradient(180deg, #ae1c28 0 33.3%, #fff 33.3% 66.6%, #21468b 66.6%); }

/* ===== Social Proof Toast ===== */
.social-toast {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 90;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow-md);
  min-width: 260px; max-width: 320px;
  animation: toastIn .4s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.social-toast .st-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700;
  flex-shrink: 0;
}
.social-toast .st-line {
  font-size: 13px; color: var(--ink-2); line-height: 1.3;
}
.social-toast .st-line b { color: var(--ink); font-weight: 700; }
.social-toast .st-item {
  font-family: var(--display); font-weight: 700; font-size: 14px;
  letter-spacing: -0.01em; margin-top: 2px;
}
.social-toast .st-time {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em;
}
@media (max-width: 540px) { .social-toast { left: 12px; right: 12px; max-width: none; bottom: 12px; } }

/* ===== Personalize section ===== */
.personalize-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 960px) { .personalize-grid { grid-template-columns: 1fr; } }
.custom-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.custom-head {
  padding: 28px 28px 8px;
}
.custom-eyebrow {
  display: inline-block;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--red); margin-bottom: 10px;
}
.custom-head h3 {
  font-family: var(--display); font-weight: 800;
  font-size: 28px; letter-spacing: -0.02em; line-height: 1;
  margin: 0 0 8px;
}
.custom-head p { color: var(--ink-3); font-size: 14px; margin: 0; line-height: 1.5; }
.custom-body {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  padding: 24px 28px 28px;
}
@media (max-width: 640px) { .custom-body { grid-template-columns: 1fr; } }
.custom-preview {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(244,201,93,.2), transparent 70%),
    var(--bg-2);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 320px;
}

.big-cromo {
  width: 200px; aspect-ratio: 2 / 3;
  background: var(--paper);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.big-cromo .bc-num {
  position: absolute; top: 8px; left: 10px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.85);
  z-index: 2;
}
.big-cromo .bc-rarity {
  position: absolute; top: 8px; right: 8px;
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  padding: 3px 6px; border-radius: 4px;
  background: var(--gold); color: var(--ink);
  letter-spacing: 0.05em;
  z-index: 2;
}
.bc-top {
  flex: 1;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  position: relative;
  overflow: hidden;
  display: flex; align-items: end; justify-content: center;
}
.bc-top::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 40% at 50% 45%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(135deg, transparent 0 7px, rgba(0,0,0,.07) 7px 8px);
}
.bc-silhouette {
  width: 50%; height: 70%; margin-bottom: 0;
  background: rgba(255,255,255,.2);
  border-radius: 50% 50% 50% 50% / 24% 24% 76% 76%;
  position: relative; z-index: 1;
}
.bc-silhouette::before {
  content: ""; position: absolute;
  top: -25%; left: 25%; width: 50%; height: 50%; border-radius: 50%;
  background: rgba(255,255,255,.2);
}
.bc-flag-strip {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 6px; display: flex; z-index: 2;
}
.bc-stripe { flex: 1; }
.bc-stripe.red { background: var(--red); }
.bc-stripe.gold { background: var(--gold); }
.bc-stripe.navy { background: var(--navy); }
.bc-bot {
  background: white;
  padding: 10px 12px;
}
.bc-name {
  font-family: var(--display); font-weight: 800; font-size: 16px;
  letter-spacing: -0.01em; line-height: 1; text-transform: uppercase;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bc-meta {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  margin-top: 4px;
  display: flex; justify-content: space-between;
}

.big-pack {
  width: 180px; height: 260px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  align-items: center;
  padding: 32px 16px 16px;
  color: white;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.big-pack::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at 50% 35%, rgba(255,255,255,.18), transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(0,0,0,.07) 14px 15px);
}
.bp-shine {
  position: absolute; top: 0; bottom: 0; left: -50%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  animation: shine 4s ease-in-out infinite;
}
.bp-tear {
  position: absolute; top: 20px; left: 12px; right: 12px;
  height: 1px; background: rgba(255,255,255,.3);
}
.bp-logo {
  font-family: var(--display); font-weight: 800; font-size: 22px;
  text-align: center; line-height: 1; letter-spacing: -0.02em;
  position: relative; z-index: 1;
}
.bp-logo small {
  display: block; font-family: var(--mono); font-size: 8px;
  margin-top: 6px; letter-spacing: 0.1em; opacity: 0.75; font-weight: 500;
}
.bp-personal {
  position: relative; z-index: 1;
  margin-top: auto; width: 100%;
  background: rgba(0,0,0,.18);
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}
.bp-for {
  font-family: var(--mono); font-size: 9px; opacity: 0.8;
  letter-spacing: 0.12em; margin-bottom: 4px;
}
.bp-name {
  font-family: var(--display); font-weight: 800; font-size: 18px;
  letter-spacing: -0.01em; line-height: 1;
}

.custom-form { display: flex; flex-direction: column; gap: 14px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-field label {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3);
}
.cf-field input[type="text"], .cf-field input[type="number"] {
  font-family: var(--sans); font-size: 14px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink); width: 100%;
  outline: none;
  transition: border-color .15s, background .15s;
}
.cf-field input:focus { border-color: var(--red); background: var(--paper); }
.cf-upload {
  padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 500;
  align-self: flex-start;
  transition: transform .15s, background .2s;
}
.cf-upload:hover { background: var(--red); transform: translateY(-1px); }
.cf-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.cf-pills { display: flex; gap: 6px; }
.cf-pills.wrap { flex-wrap: wrap; }
.cf-pill {
  padding: 7px 11px; border-radius: 999px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: var(--ink-2);
  transition: all .15s;
}
.cf-pill:hover { color: var(--ink); border-color: var(--ink-2); }
.cf-pill.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cf-pill.swatch { color: white; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.cf-pill.swatch.active { outline: 2px solid var(--ink); outline-offset: 2px; }
.cf-foot {
  display: flex; align-items: end; justify-content: space-between;
  margin-top: 6px;
}
.cf-price {
  font-family: var(--mono); font-weight: 700; font-size: 22px;
  letter-spacing: -0.02em; line-height: 1;
}
.cf-price span {
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  color: var(--ink-3); margin-left: 4px;
}
.cf-add {
  padding: 12px 18px; border-radius: 999px;
  background: var(--red); color: white;
  font-weight: 600; font-size: 14px;
  transition: transform .15s, background .2s;
}
.cf-add:hover { background: var(--red-deep); transform: translateY(-2px); }

/* ===== FAQ ===== */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.faq-item h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.faq-item p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.55; }

/* ===== Feature row ===== */
.feature-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 720px) { .feature-row { grid-template-columns: repeat(2, 1fr); } }
.feature-row .f {
  display: flex; flex-direction: column; gap: 4px;
}
.feature-row .f .t {
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.feature-row .f .d {
  font-size: 12px; color: var(--ink-3);
}
.feature-row .f .icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
  font-family: var(--mono); font-size: 14px; font-weight: 700;
  color: var(--red);
}

/* ===== Footer ===== */
.footer {
  background: var(--ink); color: var(--bg);
  padding: 56px 0 32px; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h5 {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(250,247,242,.5);
  margin: 0 0 16px; font-weight: 500;
}
.footer a { display: block; padding: 4px 0; color: rgba(250,247,242,.8); font-size: 14px; }
.footer a:hover { color: white; }
.footer .brand {
  font-family: var(--display); font-weight: 800; font-size: 28px;
  letter-spacing: -0.02em; margin-bottom: 10px;
}
.footer .tagline { color: rgba(250,247,242,.6); font-size: 14px; max-width: 280px; }
.social-row {
  display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap;
}
.social-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  color: rgba(250,247,242,.9) !important;
  transition: background .2s, transform .15s, color .2s;
}
.social-btn:hover {
  background: rgba(255,255,255,.16);
  color: white !important;
  transform: translateY(-2px);
}
.social-btn svg { flex-shrink: 0; }
.footer .bottom {
  display: flex; justify-content: space-between; padding-top: 32px; margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(250,247,242,.5); font-size: 12px;
  font-family: var(--mono);
}

/* ===== Cart drawer ===== */
.cart-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(26,20,16,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 100vw;
  background: var(--bg); z-index: 101;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,.2,.2,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0; letter-spacing: -0.02em; }
.cart-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.cart-close:hover { background: var(--bg-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-empty {
  padding: 60px 24px; text-align: center; color: var(--ink-3);
}
.cart-empty .big-emoji {
  font-family: var(--display); font-size: 64px; opacity: 0.3; line-height: 1;
  margin-bottom: 16px;
}
.cart-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-img {
  width: 70px; height: 70px; border-radius: 12px;
  background: var(--bg-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; overflow: hidden;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-body { flex: 1; display: flex; flex-direction: column; }
.cart-item-name { font-family: var(--display); font-weight: 700; font-size: 15px; line-height: 1.2; }
.cart-item-price { font-family: var(--mono); font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.qty-control {
  display: inline-flex; align-items: center;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  align-self: flex-start;
}
.qty-control button {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px;
  transition: background .15s;
}
.qty-control button:hover { background: var(--bg-2); }
.qty-control .val {
  min-width: 28px; text-align: center;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
}
.cart-item-total {
  align-self: start; margin-left: auto;
  font-family: var(--mono); font-weight: 700; font-size: 15px;
}
.cart-remove {
  align-self: start; margin-left: 4px;
  color: var(--ink-3); transition: color .2s; padding: 4px;
}
.cart-remove:hover { color: var(--red); }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }

/* Gift mode */
.gift-mode {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 14px;
  background: var(--bg);
  transition: border-color .2s, background .2s;
}
.gift-mode.open { border-color: var(--red); background: var(--paper); }
.gift-toggle {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  text-align: left;
}
.gift-icon { font-size: 22px; }
.gift-meta { flex: 1; min-width: 0; }
.gift-title { font-family: var(--display); font-weight: 700; font-size: 14px; }
.gift-sub { font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.gift-switch {
  width: 36px; height: 20px; border-radius: 999px;
  background: var(--line);
  position: relative;
  flex-shrink: 0;
  transition: background .2s;
}
.gift-switch.on { background: var(--red); }
.gift-switch span {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: white;
  transition: transform .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.gift-switch.on span { transform: translateX(16px); }
.gift-form {
  padding: 0 14px 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gift-form input, .gift-form textarea {
  font-family: var(--sans); font-size: 13px;
  padding: 8px 12px; border-radius: 8px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--ink); width: 100%;
  outline: none; resize: none;
  transition: border-color .15s;
}
.gift-form input:focus, .gift-form textarea:focus { border-color: var(--red); }
.gift-counter {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  text-align: right;
}
.cart-subtotal {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
}
.cart-subtotal .lbl { font-size: 14px; color: var(--ink-2); }
.cart-subtotal .v { font-family: var(--mono); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; }
.cart-checkout {
  width: 100%; padding: 16px; border-radius: 999px;
  background: var(--red); color: white;
  font-weight: 600; font-size: 15px;
  transition: background .2s, transform .15s;
}
.cart-checkout:hover { background: var(--red-deep); transform: translateY(-1px); }
.cart-note { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 10px; }
.free-shipping-bar {
  height: 4px; border-radius: 999px;
  background: var(--bg-2);
  overflow: hidden;
  margin-bottom: 14px;
}
.free-shipping-progress {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transition: width .5s ease;
}
.free-shipping-text {
  font-size: 11px; color: var(--ink-3); margin-top: 4px; margin-bottom: 14px;
  text-align: center;
}
.free-shipping { color: var(--green); font-weight: 600; }

/* ===== Flying cart animation ===== */
.fly-chip {
  position: fixed; z-index: 200; pointer-events: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 20px;
  box-shadow: var(--shadow-md);
  transition: all .7s cubic-bezier(.5,-0.2,.5,1.2);
}

/* ===== PHP-specific: Forms ===== */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.form-control {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
}
.form-control:focus { border-color: var(--red); }
.form-control::placeholder { color: var(--ink-3); }
.form-error { color: var(--red); font-size: 12px; margin-top: 4px; }
.form-help { color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== PHP-specific: Auth page ===== */
.auth-page {
  min-height: calc(100vh - 100px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.auth-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all .2s;
}
.auth-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ===== PHP-specific: Alerts ===== */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  border-left: 3px solid;
}
.alert-error   { background: #fdf0f0; color: #9b1c1c; border-color: var(--red); }
.alert-success { background: #f0fdf4; color: #166534; border-color: var(--green); }
.alert-info    { background: #eff6ff; color: #1e40af; border-color: #3b82f6; }

/* ===== PHP-specific: Checkout ===== */
.checkout-page { padding: 60px 0; }
.checkout-page .container { max-width: 900px; }
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.checkout-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.checkout-form-card h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 24px; }
.checkout-summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 90px;
  min-width: 0;
  overflow: hidden;
}
.checkout-summary h3 { font-family: var(--display); font-weight: 700; font-size: 18px; margin: 0 0 20px; }
.summary-item {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; padding: 8px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  min-width: 0;
}
.summary-item span:last-child { flex-shrink: 0; font-family: var(--mono); }
.summary-total { font-weight: 700; font-size: 16px; color: var(--ink); border-top: 2px solid var(--ink); padding-top: 12px; margin-top: 8px; border-bottom: none; }
.summary-shipping-charged {
  background: rgba(244,162,97,.12);
  border-radius: 6px;
  padding: 8px 10px !important;
  margin: 4px -10px;
  border-bottom: none !important;
  font-weight: 600;
  color: var(--ink);
}
.summary-shipping-charged .shipping-price { color: var(--orange); font-weight: 700; font-size: 15px; }
.shipping-notice {
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  background: rgba(244,162,97,.07);
  border-radius: 0 0 6px 6px;
  padding: 5px 10px 7px;
  margin: -2px -10px 6px;
  line-height: 1.4;
}
.shipping-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(244,162,97,.13);
  border: 1px solid rgba(244,162,97,.35);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 16px;
}
.shipping-banner-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
@media (max-width: 880px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { order: -1; position: static; }
}

/* ===== PHP-specific: Order success ===== */
.success-page { padding: 80px 20px; text-align: center; }
.success-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), #1a6b65);
  color: #fff; font-size: 2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.success-title { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.success-sub { font-size: 16px; color: var(--ink-2); margin-bottom: 32px; }
.order-detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 540px;
  margin: 0 auto 32px;
  text-align: left;
}
.order-detail-card h3 { font-family: var(--display); font-weight: 700; margin-bottom: 16px; }

/* ===== PHP-specific: Pagination ===== */
.pagination {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 40px; flex-wrap: wrap; align-items: center;
}
.page-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: all .2s;
}
.page-link:hover, .page-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-info { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-left: 8px; }

/* ===== PHP-specific: Account page ===== */
.account-page { padding: 60px 0; }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-sidebar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  height: fit-content;
}
.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: all .2s;
}
.account-nav a:hover, .account-nav a.active { background: var(--bg-2); color: var(--ink); }
@media (max-width: 720px) { .account-grid { grid-template-columns: 1fr; } }

/* ===== PHP-specific: Mono/fw-bold utils ===== */
.mono { font-family: var(--mono) !important; }
.fw-bold { font-weight: 700 !important; }

/* ===== Payment method selector ===== */
.stripe-pay-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #f7f5ff;
  border: 2px solid #635BFF;
  border-radius: var(--radius);
  margin-top: 12px;
  flex-wrap: wrap;
}
.stripe-pay-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stripe-pay-cards {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stripe-pay-cards img {
  height: 24px;
  object-fit: contain;
  filter: grayscale(20%);
}
.stripe-pay-info {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.6;
  border-left: 3px solid #635BFF;
}

/* ===== Payment box on success page ===== */
.payment-box {
  background: var(--paper); border: 2px solid var(--navy);
  border-radius: var(--radius); padding: 22px 24px;
  max-width: 540px; margin: 0 auto 24px; text-align: left;
}
.payment-box h4 { font-family: var(--display); font-weight: 700; margin: 0 0 12px; font-size: 1rem; color: var(--navy); }
.payment-box .pay-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: .85rem; }
.payment-box .pay-row strong { font-family: var(--mono); letter-spacing: .04em; color: var(--ink); }
.payment-box .pay-note { font-size: .78rem; color: var(--ink-3); margin-top: 10px; }

/* ===== Termos page ===== */
.legal-page { padding: 60px 0 80px; }
.legal-page h1 { font-family: var(--display); font-weight: 800; font-size: 2.2rem; letter-spacing: -.03em; margin-bottom: 6px; }
.legal-page .legal-date { font-size: .82rem; color: var(--ink-3); font-family: var(--mono); margin-bottom: 40px; }
.legal-body { max-width: 780px; }
.legal-body h2 { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 36px 0 10px; padding-top: 36px; border-top: 1px solid var(--line); }
.legal-body h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal-body p, .legal-body li { font-size: .9rem; color: var(--ink-2); line-height: 1.75; margin-bottom: 8px; }
.legal-body ul { padding-left: 20px; list-style: disc; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .85rem; margin: 12px 0; }
.legal-body table th { background: var(--bg-2); padding: 8px 12px; text-align: left; font-weight: 600; border: 1px solid var(--line); }
.legal-body table td { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink-2); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal-nav a { font-size: .8rem; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); transition: all .2s; }
.legal-nav a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Design improvements — product palette ===== */

/* Hero colorful backdrop (product palette orbs) */
.hero {
  background:
    radial-gradient(ellipse 56% 66% at 88% 42%, rgba(59,189,181,.11), transparent 65%),
    radial-gradient(ellipse 38% 44% at 12% 78%, rgba(144,80,184,.08), transparent 60%),
    radial-gradient(ellipse 44% 38% at 58% 6%,  rgba(232,120,96,.07), transparent 60%),
    var(--bg);
}

/* Richer album glow (exact colors from the real Panini 2026 album) */
.album-bg-glow {
  background:
    radial-gradient(60% 60% at 50% 50%,  rgba(56,192,184,.22), transparent 55%),
    radial-gradient(45% 40% at 20% 25%,  rgba(58,184,54,.18),  transparent 60%),
    radial-gradient(38% 38% at 82% 20%,  rgba(239,110,48,.16), transparent 60%),
    radial-gradient(36% 36% at 18% 78%,  rgba(120,72,176,.16), transparent 60%),
    radial-gradient(38% 38% at 82% 78%,  rgba(204,38,38,.14),  transparent 60%);
}

/* Colorful feature-row icons */
.feature-row .f:nth-child(1) .icon { background: rgba(59,189,181,.12); border-color: rgba(59,189,181,.28); color: #1a8a82; }
.feature-row .f:nth-child(2) .icon { background: rgba(244,201,93,.15); border-color: rgba(244,201,93,.32); color: #9a6a08; }
.feature-row .f:nth-child(3) .icon { background: rgba(76,184,104,.12); border-color: rgba(76,184,104,.28); color: #1d7040; }
.feature-row .f:nth-child(4) .icon { background: rgba(144,80,184,.12); border-color: rgba(144,80,184,.28); color: #6030a0; }

/* Bundle card product image */
.bundle-img {
  margin: -32px -28px 22px -28px;
  height: 175px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.bundle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform .4s ease;
}
.bundle:hover .bundle-img img { transform: scale(1.04); }

/* Hero real-photo display — transparent PNG, floating album */
/* Floating book hero */
@keyframes bookFloat {
  0%, 100% { transform: translateY(0px) rotate(-1deg); }
  50%       { transform: translateY(-18px) rotate(1deg); }
}
@keyframes bookShadow {
  0%, 100% { transform: scaleX(1);   opacity: .45; }
  50%       { transform: scaleX(.72); opacity: .22; }
}
.hero-float-book {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center;
  animation: bookFloat 4s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}
.hero-float-book img {
  max-height: 460px;
  max-width: 100%;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 32px 48px rgba(0,48,73,.32))
    drop-shadow(0 12px 24px rgba(0,48,73,.22))
    drop-shadow(0 2px 6px rgba(0,0,0,.14));
}
.hero-float-shadow {
  width: 55%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(0,20,40,.45) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: -10px;
  animation: bookShadow 4s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-product-photo {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  transition: transform .4s cubic-bezier(.22,1,.36,1);
}
.hero-product-photo:hover { transform: translateY(-6px); }
.hero-product-photo img {
  max-height: 480px;
  max-width: 100%;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 40px 60px rgba(0,48,73,.28))
    drop-shadow(0 16px 28px rgba(0,48,73,.18))
    drop-shadow(0 4px 8px rgba(0,0,0,.12));
}

/* Small product-detail badges below the album */
.hero-album-badges {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.hab {
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
  letter-spacing: .04em;
}
.hab-official { background: var(--navy); color: #fff; }
.hab-stock    { background: rgba(76,184,104,.15); color: #1d7040; border: 1px solid rgba(76,184,104,.3); }
.hab-ship     { background: rgba(59,189,181,.12); color: #1a8a82; border: 1px solid rgba(59,189,181,.28); }

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: calc(100% - 40px);
  max-width: 720px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  opacity: 0;
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.cookie-banner.cookie-show { opacity: 1; pointer-events: all; }
.cookie-banner.cookie-hide { opacity: 0; transform: translateX(-50%) translateY(16px); }
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  flex-wrap: wrap;
}
.cookie-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}
.cookie-icon { font-size: 20px; flex-shrink: 0; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: 8px;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.cookie-btn:hover { opacity: .85; }
.cookie-accept { background: var(--red); color: #fff; }
.cookie-reject { background: rgba(255,255,255,0.12); color: #fff; }
@media (max-width: 520px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-btns { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}

/* ===== Hero Showcase (real photo mode) ===== */
.hero-showcase {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Album centerpiece */
.hsc-album {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 40px 60px rgba(0,48,73,.30)) drop-shadow(0 12px 24px rgba(0,48,73,.18));
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.hsc-album:hover { transform: translateY(-8px) scale(1.02); }
.hsc-album img {
  max-height: 440px;
  max-width: 280px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Glow behind album */
.hsc-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center,
    rgba(59,189,181,.28) 0%,
    rgba(144,80,184,.18) 45%,
    transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: hscGlowPulse 3s ease-in-out infinite;
}
@keyframes hscGlowPulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.08); }
}

/* Shine sweep over album */
.hsc-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 8px;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: hscShineSweep 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hscShineSweep {
  0%   { background-position: 200% 0; }
  50%  { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Floating stat cards */
.hsc-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 8px 32px rgba(0,48,73,.14), 0 2px 8px rgba(0,0,0,.08);
  animation: hscFloat 3s ease-in-out infinite;
}
.hsc-icon { font-size: 20px; line-height: 1; }
.hsc-info { display: flex; flex-direction: column; }
.hsc-val { font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--ink); line-height: 1; }
.hsc-lbl { font-size: 10px; color: var(--ink-3); font-weight: 500; margin-top: 2px; letter-spacing: .03em; }

.hsc-card-1 { top: 40px;  left: 0;    animation-delay: 0s;    animation-duration: 3.2s; }
.hsc-card-2 { top: 40px;  right: 0;   animation-delay: .8s;   animation-duration: 3.6s; }
.hsc-card-3 { bottom: 80px; left: 10px; animation-delay: .4s; animation-duration: 3.4s; }
.hsc-card-4 { bottom: 80px; right: 10px; animation-delay: 1.2s; animation-duration: 3s; }

@keyframes hscFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@media (max-width: 700px) {
  .hero-showcase { height: 420px; }
  .hsc-album img { max-height: 340px; max-width: 220px; }
  .hsc-card { padding: 8px 10px; }
  .hsc-card-1 { top: 10px; left: -8px; }
  .hsc-card-2 { top: 10px; right: -8px; }
  .hsc-card-3 { bottom: 40px; left: -8px; }
  .hsc-card-4 { bottom: 40px; right: -8px; }
}

/* ===== Coming Soon Block ===== */
/* ===== CROMOS EM BREVE — hero redesign ===== */
.csb-section { background: transparent; }
.csb-hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  background: linear-gradient(135deg, #0b1a30 0%, #0f2644 55%, #0c1c38 100%);
  border-radius: 24px;
  padding: 64px 56px;
  overflow: hidden;
}
/* Background glow orbs */
.csb-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.csb-orb-1 {
  width: 420px; height: 420px;
  top: -140px; left: -60px;
  background: radial-gradient(circle, rgba(59,189,181,.18) 0%, transparent 65%);
}
.csb-orb-2 {
  width: 340px; height: 340px;
  bottom: -120px; right: 60px;
  background: radial-gradient(circle, rgba(144,80,184,.16) 0%, transparent 65%);
}
/* Fan of sticker cards */
.csb-fan {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  align-items: flex-end;
}
.csb-fan-card {
  width: 88px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.45);
  animation: fanFloat 3.2s ease-in-out infinite;
}
.csb-fan-1 { animation-delay: 0s; }
.csb-fan-2 { animation-delay: .35s;  animation-name: fanFloat2; }
.csb-fan-3 { animation-delay: .7s;   animation-name: fanFloat3; }
.csb-fan-4 { animation-delay: 1.05s; animation-name: fanFloat2; }
.csb-fan-5 { animation-delay: .5s;   animation-name: fanFloat3; }
.csb-fan-6 { animation-delay: .2s;   animation-name: fanFloat2; }
@keyframes fanFloat  { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-12px); } }
@keyframes fanFloat2 { 0%,100% { transform: translateY(14px); } 50% { transform: translateY(2px);  } }
@keyframes fanFloat3 { 0%,100% { transform: translateY(7px);  } 50% { transform: translateY(-5px); } }
.csb-fc-top {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.csb-fc-ico { font-size: 30px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }
.csb-fc-bot { background: white; padding: 8px 7px; }
/* Color gradients — reused for product soon cards too */
.csb-bg-red    { background: linear-gradient(145deg,#E8354A,#9B0A20); }
.csb-bg-green  { background: linear-gradient(145deg,#27B89A,#1a7a68); }
.csb-bg-orange { background: linear-gradient(145deg,#F4A261,#c97a36); }
.csb-bg-navy   { background: linear-gradient(145deg,#1B3A5C,#001f30); }
.csb-bg-teal   { background: linear-gradient(145deg,#3BBDB5,#1a8a82); }
.csb-bg-purple { background: linear-gradient(145deg,#9050B8,#5a2a78); }
/* Shared line elements */
.csb-line { height: 6px; border-radius: 3px; background: rgba(0,0,0,.12); margin-bottom: 5px; }
.csb-line-long  { width: 90%; }
.csb-line-short { width: 55%; }
/* Text content */
.csb-hero-text {
  flex: 1;
  position: relative;
  z-index: 1;
}
.csb-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #3BBDB5;
  background: rgba(59,189,181,.12);
  border: 1px solid rgba(59,189,181,.25);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.csb-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.4rem;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -.03em;
}
.csb-desc {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  line-height: 1.65;
  max-width: 400px;
  margin: 0 0 24px;
}
.csb-features {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.csb-feat {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}
.csb-notify {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  letter-spacing: .03em;
  animation: notifyPulse 2.8s ease-in-out infinite;
}
@keyframes notifyPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(59,189,181,0); }
  50%      { box-shadow: 0 0 0 7px rgba(59,189,181,.14); }
}
@media (max-width: 820px) {
  .csb-hero { flex-direction: column; padding: 40px 28px; gap: 36px; }
  .csb-fan { justify-content: center; }
  .csb-fan-5, .csb-fan-6 { display: none; }
  .csb-title { font-size: 1.9rem; }
  .csb-hero-text { text-align: center; }
  .csb-desc { max-width: none; }
  .csb-features { justify-content: center; }
}

/* ===== PRODUCT — "Em breve" card variant ===== */
.product-soon {
  opacity: .92;
  background: linear-gradient(160deg, var(--paper) 0%, #f4f0ff 100%);
}
.tag-soon {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg,#7c3aed,#a855f7);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(124,58,237,.35);
}
.soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  color: #7c3aed;
  background: rgba(124,58,237,.08);
  border: 1px solid rgba(124,58,237,.2);
  padding: 6px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ===== CHECKOUT — shipping highlight block ===== */
.summary-shipping-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 6px 0;
}
.summary-shipping-block.charged {
  background: rgba(244,162,97,.13);
  border: 1px solid rgba(244,162,97,.3);
}
.summary-shipping-block.free {
  background: rgba(39,184,154,.1);
  border: 1px solid rgba(39,184,154,.25);
}
.ssb-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.ssb-icon { font-size: 20px; flex-shrink: 0; }
.ssb-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.ssb-hint {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 2px;
}
.ssb-value {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}
.ssb-value.free { color: var(--green); }

/* ── Order tracking steps ── */
.track-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 32px;
  position: relative;
}
.track-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  text-align: center;
}
.track-step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: border-color .2s, background .2s, box-shadow .2s;
  flex-shrink: 0;
}
.track-step.done .track-step-dot {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(0,48,73,.18);
}
.track-step.current .track-step-dot {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(244,162,97,.2);
}
.track-step-line {
  position: absolute;
  top: 23px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.track-step-line.done {
  background: var(--navy);
}
.track-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
  line-height: 1.2;
}
.track-step-sub {
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 3px;
  line-height: 1.3;
  padding: 0 4px;
}
.track-step:not(.done) .track-step-label { color: var(--ink-3); }
.track-step.current .track-step-label { color: var(--orange); font-weight: 800; }

@media (max-width: 520px) {
  .track-step-sub { display: none; }
  .track-step-dot { width: 38px; height: 38px; font-size: 16px; }
  .track-step-line { top: 18px; }
  .track-step-label { font-size: 11px; }
}
.ssb-value.free { color: var(--green); }

/* ── Pack cooldown ── */
.pack-cooldown {
  margin-top: 12px;
  font-size: .82rem;
  color: var(--ink-3);
  font-family: var(--mono);
  background: rgba(0,0,0,.04);
  border-radius: 8px;
  padding: 8px 14px;
  display: inline-block;
}
.btn.pack-locked {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(.4);
}

/* ── Cromos Individuais section ── */
.ci-section { background: var(--bg); padding: 60px 0 80px; }

/* Filters */
.ci-filters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 28px 0 8px;
}
.ci-country-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.ci-tabs {
  display: flex;
  gap: 6px;
  white-space: nowrap;
  min-width: max-content;
}
.ci-tab {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  flex-shrink: 0;
}
.ci-tab:hover { border-color: var(--navy); color: var(--navy); }
.ci-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.ci-rarity-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ci-pill {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: .04em;
}
.ci-pill:hover { border-color: var(--ink-2); color: var(--ink); }
.ci-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.ci-pill.gold-pill.active  { background: #C8920A; border-color: #C8920A; }
.ci-pill.lenda-pill.active { background: linear-gradient(135deg,#C8920A,#C0392B); border: none; color:#fff; }
.ci-pill.holo-pill.active  { background: linear-gradient(135deg,#6366f1,#06b6d4); border: none; color:#fff; }

.ci-result-count {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 16px;
  letter-spacing: .03em;
}

/* Card grid */
.ci-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 20px;
}

/* Skeleton loaders */
.ci-skeleton {
  aspect-ratio: 2 / 3.6;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skelShimmer 1.4s ease-in-out infinite;
}
@keyframes skelShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Individual card wrapper */
.ci-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  background: var(--paper);
  transition: transform .2s, box-shadow .2s;
}
.ci-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

/* The sticker itself fills width */
.ci-sticker {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}
.ci-sticker .rc-band  { height: 26px; }
.ci-sticker .rc-flag  { font-size: 14px; }
.ci-sticker .rc-country-name { font-size: 7.5px; }
.ci-sticker .rc-name  { font-size: 11px; }
.ci-sticker .rc-meta  { font-size: 8px; }
.ci-sticker .rc-foot  { padding: 6px 7px 7px; }

/* Price + button below sticker */
.ci-card-bottom {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--paper);
}
.ci-rarity-badge {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
}
.ci-rb-ouro  { background: #FEF3C7; color: #92400E; }
.ci-rb-lenda { background: linear-gradient(135deg,#FEF3C7,#FEE2E2); color: #7F1D1D; }
.ci-rb-holo  { background: linear-gradient(135deg,#EDE9FE,#CFFAFE); color: #4338CA; }

.ci-price {
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.ci-buy-btn {
  width: 100%;
  padding: 8px 0;
  border-radius: 8px;
  border: none;
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.ci-buy-btn:hover  { background: var(--navy-2); }
.ci-buy-btn:active { transform: scale(.97); }
.ci-buy-btn:disabled { background: var(--line); color: var(--ink-3); cursor: not-allowed; }

@media (max-width: 520px) {
  .ci-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
  .ci-sticker .rc-name { font-size: 9.5px; }
}

/* ── (album styles removed) ── */
.album-hero {
  background: linear-gradient(135deg, #003049 60%, #001829);
  color: #fff;
  padding: 48px 20px 40px;
}
.album-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.album-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.album-title {
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0;
}
.album-hero-right { flex: 1; min-width: 220px; }
.album-stat-box { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.album-stat-num {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: #F4A261;
}
.album-stat-label { font-size: .85rem; color: rgba(255,255,255,.6); }
.album-progress-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.album-progress-bar {
  flex: 1; height: 8px;
  background: rgba(255,255,255,.15);
  border-radius: 4px; overflow: hidden;
}
.album-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #F4A261, #E76F51);
  border-radius: 4px;
  transition: width .6s cubic-bezier(.2,.9,.3,1);
}
.album-progress-pct {
  font-family: var(--mono); font-size: .8rem;
  color: rgba(255,255,255,.6); flex-shrink: 0; width: 36px; text-align: right;
}
.album-mini-stats {
  display: flex; gap: 16px;
  font-size: .78rem; color: rgba(255,255,255,.45);
  font-family: var(--mono); margin-bottom: 16px;
}
.album-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.album-legend {
  background: #EDE9E0;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 10px 20px;
}
.album-legend .container {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .78rem; color: var(--ink-3);
}
.al-item { display: flex; align-items: center; gap: 5px; }
.al-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.al-normal { background: var(--navy); }
.al-ouro   { background: #D4A017; }
.al-lenda  { background: linear-gradient(135deg, #D4A017, #C0392B); }
.al-holo   { background: linear-gradient(135deg, #ff6ec7, #6ed5ff); }
.al-empty  { background: #ccc; border: 2px dashed #aaa; box-sizing: border-box; }
.al-sep    { color: #ccc; }
.al-muted  { color: #aaa; }

.album-body { max-width: 900px; margin: 0 auto; padding: 32px 16px 80px; }
.album-section { margin-bottom: 36px; }
.album-section-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 10px 10px 0 0; color: #fff;
}
.asf { font-size: 18px; }
.asn { font-family: var(--display); font-weight: 700; font-size: .9rem; flex: 1; }
.asc {
  font-family: var(--mono); font-size: .78rem; opacity: .8;
  background: rgba(0,0,0,.2); padding: 2px 8px; border-radius: 12px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px; padding: 14px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(0,0,0,.07);
  border-top: none; border-radius: 0 0 10px 10px;
}

.album-slot {
  aspect-ratio: 2 / 3; border-radius: 7px;
  overflow: hidden; position: relative;
  transition: transform .18s, box-shadow .18s;
}
.album-slot.found {
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
}
.album-slot.found:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  z-index: 2;
}
.album-slot.not-found {
  background: #DDD6C8;
  border: 2px dashed #BFB8AC;
  display: flex; align-items: center; justify-content: center;
}
.slot-empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  height: 100%; gap: 6px;
}
.slot-empty-sil {
  width: 40%; aspect-ratio: 1 / 1.3;
  background: rgba(0,0,0,.12);
  border-radius: 50% 50% 45% 45% / 30% 30% 70% 70%;
  position: relative;
}
.slot-empty-sil::before {
  content: ''; position: absolute;
  top: -30%; left: 22%; width: 56%; height: 50%;
  border-radius: 50%; background: rgba(0,0,0,.12);
}
.slot-empty-num { font-family: var(--mono); font-size: 9px; color: rgba(0,0,0,.3); font-weight: 600; }
.slot-count {
  position: absolute; bottom: 4px; right: 4px;
  background: var(--red); color: #fff;
  font-family: var(--mono); font-size: 8px; font-weight: 700;
  padding: 1px 4px; border-radius: 4px; z-index: 3;
}

.album-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s;
  backdrop-filter: blur(4px);
}
.album-lightbox.open { opacity: 1; pointer-events: all; }
.alb-card {
  background: #fff; border-radius: 16px;
  padding: 32px 24px 24px; position: relative;
  min-width: 220px; box-shadow: 0 30px 60px rgba(0,0,0,.4);
  transform: scale(.9);
  transition: transform .2s cubic-bezier(.2,.9,.3,1.2);
}
.album-lightbox.open .alb-card { transform: scale(1); }
.alb-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; font-size: 18px;
  cursor: pointer; color: var(--ink-3); line-height: 1;
}

/* Album slots use same rc-* classes but smaller */
.album-slot .rc-band  { height: 20px; }
.album-slot .rc-flag  { font-size: 11px; }
.album-slot .rc-country-name { font-size: 6.5px; }
.album-slot .rc-name  { font-size: 9px; }
.album-slot .rc-meta  { font-size: 6.5px; }
.album-slot .rc-foot  { padding: 4px 5px 5px; }
.album-slot .rc-rar   { display: none; }

@media (max-width: 600px) {
  .album-hero-inner { gap: 24px; }
  .album-title { font-size: 2rem; }
  .album-stat-num { font-size: 2.2rem; }
  .album-grid { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
}

/* ===================================================
   CROMOS.PHP — Full sticker catalog page
   =================================================== */
.crm-hero {
  padding: 52px 0 36px;
  text-align: center;
}
.crm-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin: 0 0 .5rem;
}
.crm-hero-sub {
  color: var(--ink-3);
  font-size: 1rem;
  margin: 0 0 1.4rem;
}
.crm-stats {
  display: inline-flex;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 8px 22px;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-2);
  flex-wrap: wrap;
  justify-content: center;
}
.crm-controls {
  padding: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.crm-search-wrap {
  position: relative;
}
.crm-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
  pointer-events: none;
}
.crm-search {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: .95rem;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
}
.crm-search:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(0,48,73,.08);
}
.crm-conf-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.crm-conf-tab {
  padding: 7px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.crm-conf-tab:hover { border-color: var(--navy); color: var(--navy); }
.crm-conf-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.crm-conf-section { margin-bottom: 40px; }
.crm-conf-section.hidden { display: none; }
.crm-conf-label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.crm-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.crm-team {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  border-left: 4px solid var(--tc1, var(--navy));
  transition: box-shadow .18s;
}
.crm-team:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.crm-team.hidden { display: none; }
.crm-team-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 10px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--tc1,var(--navy)) 12%, transparent), transparent);
  border-bottom: 1px solid var(--line);
}
.crm-team-flag { font-size: 22px; line-height: 1; flex-shrink: 0; }
.crm-team-info { flex: 1; min-width: 0; }
.crm-team-name {
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.crm-team-range {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-3);
  margin-top: 1px;
}
.crm-team-count {
  font-family: var(--mono);
  font-size: .75rem;
  color: var(--ink-3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2px 8px;
  flex-shrink: 0;
}
.crm-player-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.crm-player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: background .12s;
}
.crm-player:last-child { border-bottom: none; }
.crm-player:hover { background: rgba(0,0,0,.025); }
.crm-player.hidden { display: none; }
.crm-sticker-num {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-3);
  min-width: 28px;
  flex-shrink: 0;
}
.crm-pos {
  font-family: var(--mono);
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: .03em;
}
.crm-pos.pos-gk  { background: #FEF3C7; color: #92400E; }
.crm-pos.pos-def { background: #DBEAFE; color: #1D4ED8; }
.crm-pos.pos-mid { background: #D1FAE5; color: #065F46; }
.crm-pos.pos-atk { background: #FEE2E2; color: #991B1B; }
.crm-pos.pos-esp { background: #EDE9FE; color: #4338CA; }
.crm-player-name {
  flex: 1;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crm-shirt {
  font-family: var(--mono);
  font-size: .68rem;
  color: var(--ink-3);
  flex-shrink: 0;
}
.crm-rar {
  font-family: var(--mono);
  font-size: .6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: .04em;
}
.crm-rar-ouro  { background: #FEF3C7; color: #92400E; }
.crm-rar-lenda { background: linear-gradient(135deg,#FEF3C7,#FEE2E2); color: #7F1D1D; }
.crm-rar-holo  { background: linear-gradient(135deg,#EDE9FE,#CFFAFE); color: #4338CA; }
.crm-buy-btn {
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1.5px solid var(--navy);
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .14s, color .14s, transform .1s;
  letter-spacing: .02em;
}
.crm-buy-btn:hover  { background: var(--navy); color: #fff; }
.crm-buy-btn:active { transform: scale(.95); }
.crm-buy-btn.crm-buy-added { background: var(--green, #16a34a); border-color: var(--green, #16a34a); color: #fff; }
.crm-buy-btn:disabled { opacity: .6; cursor: default; }
.crm-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-3);
  font-size: 1rem;
}
.crm-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--ink-3);
  margin-bottom: 4px;
  text-decoration: none;
}
.crm-back-link:hover { color: var(--navy); }

.ci-teaser {
  background: linear-gradient(135deg, #003049 60%, #00121e);
  color: #fff;
  padding: 64px 0;
}
.ci-teaser-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.ci-teaser-inner .kicker { color: rgba(255,255,255,.5); }
.ci-teaser-inner .title { color: #fff; }
.ci-teaser-flags {
  font-size: 2rem;
  line-height: 1.8;
  opacity: .7;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .crm-teams-grid { grid-template-columns: 1fr; }
  .crm-hero { padding: 36px 0 24px; }
  .ci-teaser-flags { display: none; }
}

/* =====================================================
   MOBILE NAVIGATION — Hamburger + Drawer
   ===================================================== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  order: -1;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) { .nav-hamburger { display: flex; } }

.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  opacity: 0;
  transition: opacity .25s;
}
.mobile-nav-overlay.open { display: block; opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: 8px 0 32px rgba(0,0,0,.18);
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-inner {
  padding: 72px 24px 40px;
  display: flex;
  flex-direction: column;
}
.mobile-nav-link {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -.02em;
  transition: color .15s;
}
.mobile-nav-link:hover { color: var(--red); }
.mobile-nav-sep {
  height: 20px;
}

/* =====================================================
   GLOBAL MOBILE OPTIMIZATIONS
   ===================================================== */

/* Prevent iOS zoom on input focus — ALL inputs must be ≥16px */
@media (max-width: 767px) {
  input, textarea, select {
    font-size: 16px !important;
  }
}

/* Cart button — hide text label on small screens */
@media (max-width: 400px) {
  .cart-btn span:first-of-type { display: none; }
  .cart-btn { padding: 10px 12px; }
}

/* Sections — reduce vertical padding on mobile */
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 36px 0 52px; }
  .hero .sub { font-size: 16px; margin-bottom: 24px; }
  .section-head { margin-bottom: 28px; }
  .section-head .title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}

/* Countdown — wrap on very small screens */
@media (max-width: 480px) {
  .countdown { gap: 10px; padding: 12px 14px; flex-wrap: wrap; justify-content: center; }
  .countdown-label { text-align: center; max-width: none; flex-basis: 100%; }
  .cd-num { font-size: 22px; }
  .cd-sep { font-size: 22px; }
  .cd-unit { min-width: 44px; }
}

/* Pack opener — stacked on mobile */
@media (max-width: 640px) {
  .opener-stats { gap: 20px; flex-wrap: wrap; }
  .opener-actions { flex-direction: column; }
  .opener-actions .btn { width: 100%; justify-content: center; }
  .reveal-grid { grid-template-columns: repeat(5, 58px); gap: 4px; }
}

/* Bundles grid — single col below 480px */
@media (max-width: 480px) {
  .bundles-grid { grid-template-columns: 1fr !important; }
}

/* Flag row — 3 col on small screens */
@media (max-width: 360px) {
  .flag-row { grid-template-columns: repeat(3, 1fr) !important; }
}

/* Cart drawer — full width on mobile */
@media (max-width: 480px) {
  .cart-drawer {
    width: 100%;
    right: 0;
    border-radius: 20px 20px 0 0;
    top: auto;
    bottom: 0;
    height: 88vh;
  }
  .cart-overlay { display: block !important; }
}

/* Footer — single col on very small screens */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
}

/* CTA row — stack on mobile */
@media (max-width: 420px) {
  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
}

/* Checkout & account forms — full-width inputs */
@media (max-width: 640px) {
  .checkout-grid, .form-grid, .form-grid-2 { grid-template-columns: 1fr !important; }
}

/* Touch targets — minimum 44px */
.btn, .cart-btn, .nav-account, .cart-close,
.qty-control button, .cart-remove {
  min-height: 44px;
  min-width: 44px;
}
.qty-control button { min-width: 36px; min-height: 36px; }

/* Track page — stack form on mobile */
@media (max-width: 520px) {
  .track-form-grid { grid-template-columns: 1fr !important; }
}

/* Smooth scrolling + momentum on iOS */
.cart-items, .mobile-nav, .crm-conf-tabs {
  -webkit-overflow-scrolling: touch;
}

/* Tap highlight removal */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ================================================================
   MOBILE OPTIMISATION — GPU acceleration + layout fixes
   ================================================================ */

/* Remove 300ms tap delay em todos os elementos interativos */
button, a, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* GPU compositing para elementos com overflow ou posição fixed */
.cart-drawer, .mobile-nav, .cookie-banner {
  will-change: transform;
}

/* ── HERO / CADERNETA ── */
/* Tablet: reduz a stage */
@media (max-width: 960px) {
  .album-stage { height: 420px; }
  .hero-float-book img { max-height: 340px; }
}

/* Mobile: esconde a caderneta flutuante completamente */
@media (max-width: 767px) {
  .album-stage { display: none !important; }
  .hero { overflow: hidden; padding-bottom: 40px; }
  .hero-grid { gap: 0; }
}

/* ── TICKER ── */
@media (max-width: 640px) {
  .ticker { padding: 10px 0; }
  .ticker-item { font-size: 15px; gap: 7px; }
  .ticker-item .sep { margin: 0 1px; }
  .ticker-track { gap: 22px; animation-duration: 14s; }
}

/* Pausa o ticker se o utilizador preferir menos movimento */
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-play-state: paused; }
  .hero-float-book { animation: none; }
  .hero-float-shadow { animation: none; }
}

/* ── PACK OPENER ── */
@media (max-width: 880px) {
  .pack-stage { height: 320px; }
}

@media (max-width: 640px) {
  .pack-stage { height: 280px; }
  .pack { width: 180px; height: 262px; }
  .pack-logo { font-size: 20px; }
  .pack-logo small { font-size: 9px; }
  .opener-stats { gap: 16px; }
  .opener-stats .stat .v { font-size: 26px; }
}

/* Reveal grid — 3 cima + 2 baixo centrados no mobile */
@media (max-width: 640px) {
  .pack-stage { height: auto; min-height: 160px; }

  /* Grid de 6 colunas: os 3 primeiros ocupam 2 cada; os últimos 2 ficam centrados */
  .reveal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    width: 100%;
  }
  .rc-band   { height: 20px; }
  .rc-flag   { font-size: 11px; }
  .rc-country-name { font-size: 7px; }
  .rc-name   { font-size: 9px; line-height: 1.2; }
  .rc-meta   { font-size: 7px; }
  .rc-foot   { padding: 4px 6px 5px; }
  .rc-rar    { font-size: 7px; }
}

/* Ecrãs muito pequenos */
@media (max-width: 380px) {
  .reveal-grid { gap: 5px; }
  .pack { width: 150px; height: 218px; }
}

/* ── GRID DE PRODUTOS ── */
@media (max-width: 480px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-body { padding: 10px 12px 12px; }
  .product-body .name { font-size: 13px; }
  .product-body .desc { font-size: 12px; }
  .product-body .price { font-size: 15px; }
  .add { width: 34px; height: 34px; }
}

/* ── SECTION PADDING ── */
@media (max-width: 480px) {
  .section { padding: 44px 0; }
  .hero    { padding: 28px 0 40px; }
  .section-head { margin-bottom: 22px; gap: 10px; }
}

/* ── PERSONALIZE (custom cards) ── */
@media (max-width: 480px) {
  .custom-card { padding: 20px 16px; }
  .big-cromo { max-width: 160px; }
  .big-pack  { max-width: 160px; max-height: 220px; }
  .cf-field label { font-size: 11px; }
  .cf-pill { font-size: 11px; padding: 5px 10px; }
}

/* ── FOOTER ── */
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr !important; }
}

/* ── IMAGENS ── */
img {
  max-width: 100%;
  height: auto;
}

/* ── PACK COOLDOWN UI ── */
.pack-cooldown-box {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.pack-cooldown-box .cd-label {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(250,247,242,.55);
}
.pack-cooldown-timer {
  font-family: var(--mono); font-weight: 700; font-size: 28px;
  color: var(--gold); letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

/* ── MOBILE POLISH GLOBAL ── */
@media (max-width: 767px) {

  /* ══ HERO ══ */
  .hero { overflow: hidden; padding: 28px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-text {
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
  }
  .eyebrow { font-size: 11px; padding: 7px 12px; }
  .hero h1 { font-size: clamp(32px, 10vw, 52px); margin: 14px 0 14px; }
  .hero .sub {
    font-size: 15px; margin-bottom: 20px;
    max-width: 100%; text-align: center;
  }
  .cta-row { flex-direction: column; gap: 10px; width: 100%; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .countdown {
    gap: 8px; padding: 10px 16px;
    width: 100%; justify-content: center;
  }
  .countdown-label { display: none; }
  .cd-num { font-size: 22px; }
  .cd-sep { font-size: 22px; }
  .cd-unit { min-width: 40px; }

  /* ══ SECTIONS ══ */
  .section { padding: 40px 0; }
  .section-head {
    flex-direction: column; gap: 8px; margin-bottom: 22px;
    align-items: center; text-align: center;
  }
  .section-head .title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-head p { margin: 0; text-align: center; }
  .kicker { text-align: center; }

  /* ══ PRODUCTS ══ */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-img { aspect-ratio: 1 / 1; }
  .product-body { padding: 8px 10px 10px; }
  .product-body .name { font-size: 12px; line-height: 1.3; }
  .product-body .desc { display: none; }
  .product-body .price { font-size: 14px; }
  .product-body .row { gap: 6px; }
  .add { width: 32px; height: 32px; padding: 0; flex-shrink: 0; }
  .stock { display: none; }
  .filters {
    flex-wrap: nowrap; overflow-x: auto;
    padding-bottom: 4px; gap: 6px;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }

  /* ══ BUNDLES ══ */
  .bundles-grid { grid-template-columns: 1fr !important; }
  .bundle { padding: 24px 20px; }
  .bundle .price-row { justify-content: space-between; }

  /* ══ PACK OPENER ══ */
  .opener { padding: 28px 18px; border-radius: 16px; }
  .opener-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Pack visual sobe para cima do texto em mobile */
  .opener-grid .pack-stage { grid-row: 1; }
  .opener-grid > div:first-child { grid-row: 2; text-align: center; }
  .opener h2 { font-size: clamp(24px, 7vw, 36px); text-align: center; }
  .opener p { font-size: 14px; text-align: center; max-width: none; }
  .opener .opener-eyebrow { display: block; text-align: center; }
  .opener-stats {
    gap: 20px; flex-wrap: nowrap;
    justify-content: center; margin-top: 20px;
  }
  .opener-stats .stat { text-align: center; }
  .opener-stats .stat .v { font-size: 24px; }
  .opener-stats .stat .l { font-size: 9px; }
  .opener-actions {
    flex-direction: column; gap: 8px;
    align-items: stretch; margin-top: 16px;
  }
  .opener-actions .btn { width: 100%; justify-content: center; }
  .pack-cooldown-box { align-items: center; }

  /* Pack — altura automática para a reveal-grid não transbordar */
  .pack-stage { height: auto; min-height: 200px; }
  .pack { width: 155px; height: 226px; }
  .pack-logo { font-size: 17px; }
  .pack-logo small { font-size: 8px; margin-top: 6px; }

  /* Reveal grid — 3 em cima + 2 centrados em baixo */
  .reveal-grid { grid-template-columns: repeat(6, 1fr); gap: 6px; width: 100%; }
  .reveal-grid > div:nth-child(1) { grid-column: 1 / 3; }
  .reveal-grid > div:nth-child(2) { grid-column: 3 / 5; }
  .reveal-grid > div:nth-child(3) { grid-column: 5 / 7; }
  .reveal-grid > div:nth-child(4) { grid-column: 2 / 4; }
  .reveal-grid > div:nth-child(5) { grid-column: 4 / 6; }
  .rc-band   { height: 20px; }
  .rc-flag   { font-size: 12px; }
  .rc-country-name { font-size: 7px; }
  .rc-name   { font-size: 9px; line-height: 1.2; }
  .rc-meta   { font-size: 7px; }
  .rc-foot   { padding: 3px 5px 4px; }
  .rc-rar    { font-size: 7px; }
  .rc-holo   { display: none; }

  /* ══ PERSONALIZE ══ */
  .personalize-grid { gap: 16px; }
  .custom-card { padding: 20px 16px; border-radius: 16px; }
  .custom-head { text-align: center; }
  .custom-body { gap: 16px; }
  .big-cromo { max-width: 150px; margin: 0 auto; }
  .big-pack  { max-width: 150px; min-height: 200px; margin: 0 auto; }
  .cf-pill { font-size: 11px; padding: 5px 10px; }
  .cf-foot { flex-direction: column; gap: 10px; align-items: stretch; }
  .cf-add { width: 100%; text-align: center; justify-content: center; }

  /* ══ FLAGS / FAVORITAS ══ */
  .favorites { padding: 40px 0; }
  .flag-row { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .flag { transform: scale(.85); }
  .flag-cell { padding: 8px 4px; gap: 6px; }
  .flag-name { font-size: 10px; }

  /* ══ CI TEASER (cromos) ══ */
  .ci-teaser-inner {
    flex-direction: column; gap: 16px;
    padding: 28px 20px; text-align: center;
  }
  .ci-teaser-inner > div { display: flex; flex-direction: column; align-items: center; }
  .ci-teaser-flags { font-size: 22px; text-align: center; }

  /* ══ CHECKOUT ══ */
  .checkout-page { padding: 28px 0 40px; }
  .checkout-page .container { max-width: 100%; }
  .checkout-page h1 { font-size: 1.6rem !important; text-align: center; }
  .checkout-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .checkout-summary { order: -1; position: static; padding: 20px; }
  .checkout-summary h3 { font-size: 16px; margin-bottom: 14px; }
  .checkout-form-card { padding: 20px 16px; border-radius: 14px; }
  .checkout-form-card h2 { font-size: 17px; margin-bottom: 16px; }
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
  .stripe-pay-box { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px; }
  .stripe-pay-logos { flex-wrap: wrap; gap: 8px; }
  .stripe-pay-cards { flex-wrap: wrap; gap: 8px; }
  .stripe-pay-info { font-size: .8rem; }
  .shipping-banner { font-size: 12px; padding: 10px 12px; }
  .summary-item { font-size: 13px; }

  /* ══ CART DRAWER — bottom sheet ══ */
  .cart-drawer {
    width: 100% !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    height: 88vh !important;
    max-height: 88vh;
  }
  .cart-head { padding: 16px 20px 12px; }
  .cart-head h3 { font-size: 16px; }

  /* ══ FAQ ══ */
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-item { padding: 16px; }
  .faq-item h4 { font-size: 14px; }
  .faq-item p  { font-size: 13px; }

  /* ══ MOBILE HERO STICKER CARDS ══ */
  .mobile-hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    margin-top: 28px;
    height: 148px;
    padding: 0 20px 6px;
    pointer-events: none;
    overflow: hidden;
  }
  .mhv-card {
    width: 76px; height: 108px;
    border-radius: 9px;
    position: relative; overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.38);
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 5px 6px; flex-shrink: 0;
  }
  .mhv-card:nth-child(1) { transform: rotate(-11deg) translateX(7px); z-index: 1; }
  .mhv-card.mhv-featured { transform: translateY(-12px) scale(1.1); z-index: 3; }
  .mhv-card:nth-child(3) { transform: rotate(11deg) translateX(-7px); z-index: 1; }
  .mhv-flag { position: absolute; top: 6px; left: 6px; font-size: 17px; line-height: 1; }
  .mhv-num { position: absolute; top: 6px; right: 5px; font-family: var(--mono); font-size: 8px; font-weight: 600; color: rgba(255,255,255,.5); }
  .mhv-sil { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 38px; height: 46px; background: rgba(255,255,255,.13); border-radius: 50% 50% 6px 6px; }
  .mhv-info { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
  .mhv-name { font-family: var(--display); font-weight: 700; font-size: 9.5px; color: white; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
  .mhv-tag { font-family: var(--mono); font-size: 7px; font-weight: 700; padding: 1px 4px; border-radius: 3px; letter-spacing: .04em; align-self: flex-start; }
}

/* Ecrãs muito pequenos (≤ 380px) */
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .reveal-grid { grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .reveal-grid > div:nth-child(1) { grid-column: 1 / 3; }
  .reveal-grid > div:nth-child(2) { grid-column: 3 / 5; }
  .reveal-grid > div:nth-child(3) { grid-column: 5 / 7; }
  .reveal-grid > div:nth-child(4) { grid-column: 2 / 4; }
  .reveal-grid > div:nth-child(5) { grid-column: 4 / 6; }
  .pack { width: 150px; height: 218px; }
  .pack-stage { height: auto; min-height: 180px; }
  .container { padding: 0 14px; }
}

/* ── MOBILE HERO STICKER CARDS — esconde em desktop ── */
@media (min-width: 768px) { .mobile-hero-visual { display: none; } }
