/* PurePeptide — dark/red theme */
:root {
  --bg: #050505;
  --bg-elev: #0c0c0c;
  --bg-panel: #0a0a0a;
  --bg-card: #f6f6f4;
  --card-text: #111;
  --card-muted: #555;
  --border: #1a1a1a;
  /* legacy gold-named vars now carry the red brand color so existing rules pick it up */
  --border-gold: rgba(200,16,46,.35);
  --border-gold-strong: rgba(200,16,46,.75);
  --text: #f3f3f3;
  --muted: #a2a2a2;
  --gold: #c8102e;
  --gold-bright: #e63946;
  --red: #d62828;
  --green: #1f9d55;
  --shadow: 0 10px 40px rgba(0,0,0,.55);
  --shadow-glow: 0 0 60px rgba(200,16,46,.10), 0 10px 40px rgba(0,0,0,.55);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; max-width: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  position: relative;
  isolation: isolate;
}
/* Ambient animated dark-red background — drifts slowly + parallax via --scroll */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(40vw 38vw at 18% 22%, rgba(200,16,46,.18), transparent 65%),
    radial-gradient(48vw 40vw at 82% 78%, rgba(140,10,30,.14), transparent 70%),
    radial-gradient(30vw 28vw at 60% 18%, rgba(220,40,60,.10), transparent 70%);
  filter: blur(6px);
  transform: translate3d(0, calc(var(--scroll, 0px) * -0.18), 0);
  animation: pp-amber-drift 28s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 8px),
    radial-gradient(120% 80% at 50% 0%, transparent, rgba(0,0,0,.45) 70%, rgba(0,0,0,.7) 100%);
  pointer-events: none;
}
@keyframes pp-amber-drift {
  0%   { transform: translate3d(0, calc(var(--scroll, 0px) * -0.18), 0) scale(1); }
  50%  { transform: translate3d(1vw, calc(var(--scroll, 0px) * -0.18 - 1.5vh), 0) scale(1.04); }
  100% { transform: translate3d(-1vw, calc(var(--scroll, 0px) * -0.18 + 1vh), 0) scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; transform: none; }
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }

/* Top bar — light, like reference */
.topbar {
  background: #f4f4f2;
  color: #1a1a1a;
  text-align: center;
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 600;
  text-transform: uppercase;
  padding: 14px 16px;
}

/* Header */
.site-header {
  display: flex; justify-content: center; align-items: center;
  padding: 48px 16px 28px;
}
.logo img { height: 44px; width: auto; max-width: 100%; }
@media (max-width: 520px) {
  .site-header { padding: 36px 16px 22px; }
  .logo img { height: 36px; }
}

/* Nav */
.main-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px 16px 30px;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  max-width: 1320px; margin: 0 auto;
}
.main-nav-links { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; flex: 1; justify-content: center; }
.main-nav a { color: #e7e7e7; }
.main-nav a:hover { color: var(--gold); }
/* Special Warenkorb button — stands out from the plain nav links */
.main-nav .nav-cart {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e63946, #a8141f);
  color: #fff !important;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 18px rgba(200,16,46,.35), inset 0 1px 0 rgba(255,255,255,.18);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.main-nav .nav-cart:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(200,16,46,.45), inset 0 1px 0 rgba(255,255,255,.22);
}
.main-nav .nav-cart iconify-icon { font-size: 1.2em; }
.main-nav .nav-cart #cart-count { display: inline-block; min-width: 1.4em; padding: 0 6px; text-align: center; background: rgba(0,0,0,.28); border-radius: 999px; font-size: 12px; }
/* Live "active users" pill — top-right */
.nav-active {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(200,16,46,.08);
  border: 1px solid rgba(200,16,46,.35);
  color: #f0d6d9; font-size: 12px; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0 0 0 rgba(200,16,46,.35);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav-active.is-pulse { transform: scale(1.04); box-shadow: 0 0 0 6px rgba(200,16,46,0); background: rgba(200,16,46,.16); }
.nav-active .nav-active-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71; box-shadow: 0 0 0 0 rgba(46,204,113,.7);
  animation: nav-active-blink 2.4s ease-in-out infinite;
}
.nav-active .nav-active-label { color: #cfcfcf; font-weight: 500; }
.nav-active .nav-active-num { color: var(--gold); font-weight: 700; min-width: 1.4em; text-align: center; }
@keyframes nav-active-blink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  50%       { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
}
@media (max-width: 720px) {
  .site-header { padding: 22px 16px 8px; }
  .main-nav { flex-direction: column; gap: 14px; padding: 12px 16px 22px; }
  .main-nav-links { gap: 18px 22px; justify-content: center; width: 100%; }
  .nav-active { order: 0; margin: 0 auto; }
}

/* Page wrapper */
.page { max-width: 1320px; margin: 0 auto; padding: 0 20px 60px; }
.container.narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.container.wide   { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

/* Hero */
.hero {
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(200,16,46,.14), transparent 65%),
    linear-gradient(180deg, #0e0e0e, #060606);
  padding: 70px 24px 64px;
  margin-bottom: 60px;
  box-shadow: var(--shadow-glow);
}
.hero-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-inner.hero-grid {
  max-width: 1180px;
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr);
  gap: 44px; align-items: center;
  text-align: left;
}
.hero-grid .hero-copy { min-width: 0; }
.hero-grid .hero-copy .hero-cta { justify-content: flex-start; }
.hero-grid #search { max-width: 100%; }
.hero-stats {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
.stat-card {
  position: relative;
  background: linear-gradient(160deg, rgba(200,16,46,.10), rgba(200,16,46,.02) 60%, #0a0a0a);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 22px 22px 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.02);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}
.stat-card::after {
  content: ""; position: absolute; inset: -1px; border-radius: 18px;
  background: radial-gradient(120% 80% at 100% 0%, rgba(200,16,46,.22), transparent 55%);
  pointer-events: none; opacity: .9;
}
.stat-card .stat-icon {
  font-size: clamp(56px, 6vw, 72px);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  width: 1em; height: 1em;
  filter: drop-shadow(0 4px 14px rgba(200,16,46,.35));
  flex: 0 0 auto;
  margin: 0;
}
.stat-card .stat-body { min-width: 0; }
.stat-card .stat-num {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800; letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
}
.stat-card .stat-num.is-bump { animation: stat-bump .5s ease; }
@keyframes stat-bump {
  0% { transform: translateY(0) scale(1); color: #fff; }
  40% { transform: translateY(-3px) scale(1.04); color: var(--gold-bright, var(--gold)); }
  100% { transform: translateY(0) scale(1); color: #fff; }
}
.stat-card .stat-label { color: #e7e7e7; font-weight: 600; font-size: 14px; margin-top: 4px; }
.stat-card .stat-sub { color: #9a9a9a; font-size: 12px; margin-top: 2px; }
@media (max-width: 900px) {
  .hero-inner.hero-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-grid .hero-copy .hero-cta { justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; }
}
.badge-pill {
  display: inline-block;
  border: 1px solid rgba(200,16,46,.55);
  color: var(--gold);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 48px);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.hero p { color: #d4d4d4; font-size: 17px; margin: 0 auto 28px; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
#search {
  width: 100%; max-width: 520px;
  background: #0c0c0c; border: 1px solid #2a2a2a; color: var(--text);
  padding: 14px 18px; border-radius: 12px; font-size: 15px;
}
#search:focus { outline: none; border-color: var(--gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-bright); color: #fff; }
.btn-primary:disabled { background: #3a3a3a; color: #888; cursor: not-allowed; }
.btn-secondary { background: #1a1a1a; color: #fff; border-color: #2a2a2a; }
.btn-secondary:hover { background: #232323; color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 1px solid #3a3a3a; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.block { width: 100%; }

/* Section + panel wrapper */
.section {
  margin: 40px 0;
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(200,16,46,.08), transparent 70%),
    linear-gradient(180deg, #0c0c0c, #060606);
  padding: 44px 26px 36px;
  box-shadow: var(--shadow-glow);
}
.section-head { text-align: center; margin-bottom: 28px; }
.kicker {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: .35em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 700;
}
.section-head h2 {
  font-size: clamp(22px, 3.4vw, 32px);
  letter-spacing: .08em;
  margin: 0;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}
.section-head h2::before,
.section-head h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold-strong), transparent);
}
.section-head h2::before { right: calc(100% + 18px); }
.section-head h2::after { left: calc(100% + 18px); }

/* Grid + product cards (light) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
  max-width: 900px;
  margin: 0 auto;
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* Global Iconify defaults — inherit text color by default so icons fit any context */
iconify-icon {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.18em;
  color: inherit;
}
/* Icons inside buttons / nav inherit the parent text color and scale slightly larger */
.btn iconify-icon,
.nav-cart iconify-icon { color: currentColor; font-size: 1.15em; vertical-align: -0.22em; margin-right: 2px; }

.product-card {
  background: var(--bg-card);
  color: var(--card-text);
  border: 1px solid #e7e3d7;
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s ease, transform .15s ease, border-color .2s ease;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.product-card:hover {
  border-color: var(--border-gold-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 0 1px rgba(200,16,46,.25);
}
.product-media {
  position: relative;
  background: #fff;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 22px;
  border-bottom: 1px solid #ececec;
}
.product-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.product-media-icon {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--gold, #c8102e);
}
.product-media-icon iconify-icon { font-size: 96px; line-height: 1; }
.product-detail-icon {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 280px;
  color: var(--gold, #c8102e);
}
.product-detail-icon iconify-icon { font-size: 180px; line-height: 1; }

/* Badges (top-left of media) */
.badge {
  position: absolute; top: 12px; left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #fff;
  text-transform: uppercase;
}
.badge-neu { background: #111; color: var(--gold-bright); border: 1px solid var(--gold); }
.badge-bestseller {
  background: linear-gradient(180deg, #e63946, #8b1a26);
  color: #fff;
}
.badge-sale { background: #111; color: #fff; }
.badge-ausverkauft { background: var(--red); color: #fff; }

/* Card body (on light) */
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
/* Category tag — DIFFERENT visual language from product badges:
   outlined chip, square-ish corners, sits inside the card body. */
.product-cat {
  align-self: flex-start;
  background: rgba(200,16,46,.08);
  color: var(--gold);
  border: 1px solid rgba(200,16,46,.45);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
}
.product-card h3 {
  margin: 0; font-size: 18px; font-weight: 800;
  color: var(--card-text);
  letter-spacing: .01em;
}
.prices { display: flex; gap: 10px; align-items: baseline; }
.price { font-weight: 800; color: var(--card-text); font-size: 18px; }
.price-old { text-decoration: line-through; color: var(--card-muted); font-size: 14px; }
/* Variant (size) selector */
.variant-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 6px 28px 6px 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--card-text, #111);
  cursor: pointer;
  max-width: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666' d='M0 0l5 6 5-6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.variant-select:focus { outline: 2px solid #111; outline-offset: 2px; }
.product-card .variant-select { align-self: flex-start; }
.product-detail-body .variant-select { margin: 4px 0 8px; }
.product-desc { color: #444; font-size: 13.5px; margin: 0; flex: 1; line-height: 1.5; }
.unavailable { color: var(--red); font-size: 12px; font-weight: 700; margin: 0; }
.product-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.product-actions .btn { flex: 1; min-width: 130px; font-size: 13px; padding: 11px 14px; }

/* Card-specific button colours */
.product-card .btn-secondary { background: #fff; color: #111; border-color: #e2e2e2; }
.product-card .btn-secondary:hover { background: #f3f3f3; color: #111; }
.product-card .btn-primary { background: #111; color: #fff; border-color: #111; }
.product-card .btn-primary:hover { background: #000; color: #fff; }
.product-card .btn-primary:disabled { background: #d2d2d2; color: #777; border-color: #d2d2d2; }

/* Product detail */
.product-detail { padding: 10px 0 40px; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  background: linear-gradient(180deg, #0c0c0c, #060606);
  border: 1px solid var(--border-gold);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow-glow);
}
.product-detail-media {
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 18px;
  padding: 30px;
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1;
}
.product-detail-body h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3.4vw, 36px);
  letter-spacing: -.01em;
}
.product-detail-body .price { font-size: 24px; color: var(--text); }
.product-detail-body .price-old { color: var(--muted); }
.long-desc { color: #d4d4d4; margin-top: 18px; }
.trust-list { list-style: none; padding: 0; margin: 18px 0; color: #e4e4e4; }
.trust-list li { margin: 5px 0; }
.bonus-card {
  display: flex; gap: 16px; align-items: center;
  background: #111;
  border: 1px dashed rgba(200,16,46,.55);
  border-radius: 14px;
  padding: 16px;
  margin: 20px 0;
}
.bonus-card img { width: 80px; height: 80px; object-fit: contain; }
.bonus-icon {
  flex: 0 0 auto;
  font-size: 64px;
  color: var(--gold);
  line-height: 1;
  filter: drop-shadow(0 6px 16px rgba(200,16,46,.35));
}
.bonus-card h3 { margin: 0 0 6px; color: var(--gold); font-size: 16px; }
.bonus-card p { margin: 0 0 8px; color: #cfcfcf; font-size: 13px; }
.bonus-card ul { margin: 6px 0 0; padding-left: 18px; color: #bdbdbd; font-size: 12.5px; }
.bonus-body { flex: 1 1 auto; min-width: 0; }
.bonus-price {
  margin-top: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.bonus-add {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: var(--gold, #c8102e);
  color: #fff;
  font-size: 26px; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 16px rgba(200,16,46,.35);
}
.bonus-add:hover { transform: translateY(-1px); background: #e3122f; }
.bonus-add:active { transform: translateY(0); }
.bonus-add:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.product-detail-body .product-actions .btn { flex: 0 1 auto; min-width: 180px; }
@media (max-width: 760px) { .product-detail-grid { grid-template-columns: 1fr; padding: 22px; } }

/* Info pages */
.info-page { padding: 20px 0 60px; }
.page-title {
  text-align: center;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .18em;
  margin: 0 0 28px;
}
.info-card {
  background: linear-gradient(180deg, #0c0c0c, #060606);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 26px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.info-card .info-card-icon {
  font-size: 44px;
  color: var(--gold);
  margin: 0 auto 14px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(200,16,46,.35));
}
.info-card h3 { margin: 0 0 12px; color: var(--gold); font-size: 19px; }
.info-card p { margin: 0 0 10px; color: #d6d6d6; }

/* Cart drawer */
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(420px, 100%);
  background: #0a0a0a; border-left: 1px solid var(--border);
  padding: 24px 22px;
  transform: translateX(100%);
  transition: transform .25s ease;
  z-index: 100;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: -10px 0 30px rgba(0,0,0,.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer h2 { margin: 0; }
.close-btn {
  position: absolute; top: 14px; right: 14px;
  background: #222; color: #fff;
  width: 36px; height: 36px;
  border: none; border-radius: 999px;
  font-size: 16px; cursor: pointer;
}
.cart-items { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center;
  background: #131313; border: 1px solid #232323; border-radius: 12px; padding: 10px;
}
.cart-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.cart-item .ci-icon {
  width: 60px; height: 60px;
  background: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #555;
}
.cart-item .ci-icon iconify-icon { font-size: 36px; line-height: 1; }
.cart-item .ci-info b { display: block; font-size: 14px; color: #fff; }
.cart-item .ci-info span { color: var(--muted); font-size: 13px; }
.cart-item .ci-controls { display: flex; align-items: center; gap: 6px; }
.cart-item .ci-controls button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid #333; background: #1c1c1c; color: var(--text); cursor: pointer;
}
.cart-item .ci-remove { background: transparent; border: none; color: var(--red); cursor: pointer; margin-left: 8px; font-size: 18px; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; padding: 10px 2px; }
.cart-total.big { font-size: 20px; padding: 16px 0; }
.empty { color: var(--muted); }

/* Checkout form */
.checkout-form { background: #0c0c0c; border: 1px solid var(--border-gold); border-radius: 16px; padding: 24px; margin-top: 24px; }
.checkout-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
@media (max-width: 600px) { .checkout-form .row { grid-template-columns: 1fr; } }
.checkout-form label { display: block; margin: 12px 0 0; font-size: 13px; color: #cfcfcf; }
.checkout-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
.checkout-form select,
.checkout-form textarea {
  width: 100%; box-sizing: border-box; margin-top: 6px;
  background: #060606; border: 1px solid #232323; border-radius: 10px; padding: 11px 14px; color: var(--text); font: inherit;
}
.checkout-form input:focus, .checkout-form select:focus, .checkout-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
.checkout-form .shipping-note { font-size: 12px; margin: 10px 2px 4px; color: #9a9a9a; }
/* Brand-coloured checkboxes & radios (kills default purple/blue) */
.checkout-form input[type=checkbox],
.checkout-form input[type=radio] {
  accent-color: var(--gold);
  width: 18px; height: 18px; flex: 0 0 18px;
  margin: 0; cursor: pointer;
}
/* WhatsApp / generic inline checkbox row — no field pill */
.checkout-form .checkbox-row {
  display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 0 2px;
  min-height: 46px; cursor: pointer;
  background: transparent; border: 0;
}
.checkout-form .checkbox-row span { color: var(--text); font-size: 13px; line-height: 1.2; }
/* Autofill override */
.checkout-form input:-webkit-autofill,
.checkout-form input:-webkit-autofill:hover,
.checkout-form input:-webkit-autofill:focus,
.checkout-form textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #060606 inset;
  box-shadow: 0 0 0 1000px #060606 inset;
  caret-color: var(--text);
  transition: background-color 9999s ease-in-out 0s;
}
.success-msg { background: #0f1a12; border: 1px solid #1f4a2c; border-radius: 12px; padding: 18px; margin-top: 16px; color: #c4e7ce; }

/* Recall modal (offer to reuse last order's address) */
.pp-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.pp-modal.is-open { opacity: 1; visibility: visible; }
.pp-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pp-modal-card {
  position: relative;
  width: min(440px, 100%);
  background: linear-gradient(180deg, #141414, #0a0a0a);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 30px 26px 24px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(200,16,46,.18) inset;
  transform: translateY(12px) scale(.96);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.pp-modal.is-open .pp-modal-card { transform: translateY(0) scale(1); }
.pp-modal-icon {
  font-size: 48px;
  color: var(--gold);
  filter: drop-shadow(0 4px 14px rgba(200,16,46,.45));
  margin-bottom: 8px;
  line-height: 1;
}
.pp-modal-card h3 {
  margin: 6px 0 8px;
  font-size: 22px; font-weight: 800;
  color: #fff; letter-spacing: -.01em;
}
.pp-modal-sub {
  margin: 0 0 22px;
  color: #c8c8c8; font-size: 14px; line-height: 1.5;
}
.pp-modal-sub strong { color: var(--gold); font-weight: 700; }
.pp-modal-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: #d8d8d8; }
.pp-modal-actions {
  display: flex; gap: 10px; flex-direction: column;
}
.pp-modal-actions .btn { width: 100%; justify-content: center; }
.pp-modal-close {
  position: absolute; top: 8px; right: 12px;
  background: transparent; border: 0; color: #9a9a9a;
  font-size: 28px; line-height: 1; cursor: pointer;
  padding: 4px 8px; border-radius: 8px;
}
.pp-modal-close:hover { color: var(--gold); background: rgba(255,255,255,.04); }
@media (min-width: 520px) {
  .pp-modal-actions { flex-direction: row; }
}

/* Reviews block */
.reviews {
  max-width: 1320px; margin: 50px auto 30px; padding: 36px 20px;
  border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 320px 1fr; gap: 36px;
}
@media (max-width: 820px) { .reviews { grid-template-columns: 1fr; } }
.rating-big { font-size: 54px; font-weight: 800; line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; }
.rating-meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.rating-bars { list-style: none; padding: 0; margin: 12px 0; }
.rating-bars li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: center; margin: 4px 0; font-size: 13px; color: var(--muted); }
.rating-bars .bar { background: #1f1f1f; height: 8px; border-radius: 99px; overflow: hidden; }
.rating-bars .bar i { display: block; height: 100%; background: var(--gold); }
.rating-note { color: #bdbdbd; font-size: 13px; }
.reviews-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
/* 2-row infinite carousel */
.reviews-carousel { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.reviews-row { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%); }
.reviews-track {
  display: flex; gap: 14px; width: max-content; will-change: transform;
  animation: pp-marquee var(--pp-duration, 95s) linear infinite;
}
.reviews-row.is-paused .reviews-track { animation-play-state: paused; }
.reviews-track .review { flex: 0 0 300px; width: 300px; box-sizing: border-box; display: flex; flex-direction: column; min-height: 230px; }
.reviews-track .review p { flex: 1 1 auto; }
.reviews-track .review footer { margin-top: auto; }
@media (max-width: 600px) { .reviews-track .review { flex-basis: 260px; width: 260px; } }
@keyframes pp-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; }
}
.review { background: #0c0c0c; border: 1px solid #1d1d1d; border-radius: 14px; padding: 16px; font-size: 13px; }
.review header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.verified { color: var(--green); font-size: 11px; font-weight: 700; }
.review p { margin: 0 0 10px; color: #d6d6d6; }
.review footer { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review footer b { display: block; font-size: 13px; color: #fff; }
.review footer span { color: var(--muted); font-size: 11px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  display: flex; flex-direction: column; gap: 6px;
}

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #1a1a1a; border: 1px solid var(--gold); color: var(--text);
  padding: 12px 18px; border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Order pages & checkout extras ============ */
.pay-methods { border:1px solid #1a1a1a; border-radius:10px; padding:14px; margin:16px 0; background:#0c0c0c; }
.pay-methods legend { padding:0 8px; color:#888; font-size:11px; letter-spacing:.22em; text-transform:uppercase; }
.checkout-form .pay-method, .pay-method { display:grid; grid-template-columns: 56px 1fr; align-items:center; gap:16px; padding:12px 14px; border:1px solid #1a1a1a; border-radius:10px; margin:6px 0; cursor:pointer; background:#080808; transition:border-color .15s, background .15s; }
.pay-method:hover { border-color:rgba(200,16,46,.55); }
/* Hide native radio – the whole row acts as the selector */
.pay-method input[type=radio] {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
/* SVG payment icons – grayscale by default, original colors when selected */
.pm-icon {
  flex: 0 0 auto;
  justify-self: center;
  position: relative;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  filter: grayscale(1) brightness(1.2) opacity(.75);
  transition: filter .2s ease, transform .2s ease;
}
.pm-icon img { display: block; max-width: 100%; max-height: 100%; }
.pm-icon .pm-base { width: 100%; height: 100%; object-fit: contain; }
.pm-icon-stack .pm-badge {
  position: absolute;
  right: -4px; bottom: -4px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
}
.pay-method input[type=radio]:checked ~ .pm-icon {
  filter: none;
  transform: scale(1.04);
}
.pay-method input[type=radio]:focus-visible ~ .pm-icon { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }
/* Selected row: stronger border + tinted background */
.pay-method:has(input[type=radio]:checked) { border-color: var(--gold); background: rgba(200,16,46,.06); }
.pm-body { display:flex; flex-direction:column; }
.pm-title { color:#fff; font-weight:800; }
.pm-sub { color:#888; font-size:12px; margin-top:2px; }
.pay-method input[type=radio]:checked ~ .pm-body .pm-title { color: var(--gold-bright); }

.form-error { color:#ff6b6b; margin-top:10px; }

.order-page { padding-bottom: 60px; }
.order-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.order-kicker { color:#888; font-size:11px; letter-spacing:.22em; text-transform:uppercase; }
.order-status { padding:8px 14px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; border:1px solid #1a1a1a; background:#0c0c0c; color:#cfcfcf; }
.order-status.status-pending_payment   { border-color: rgba(255,170,0,.5); color:#ffb347; }
.order-status.status-proof_submitted   { border-color: rgba(255,170,0,.5); color:#ffd479; }
.order-status.status-payment_confirmed { border-color: rgba(40,180,99,.5); color:#5ee69b; }
.order-status.status-shipped           { border-color: rgba(200,16,46,.6); color: var(--gold-bright); }
.order-status.status-completed         { border-color: rgba(40,180,99,.6); color:#5ee69b; background:rgba(40,180,99,.06); }
.order-status.status-cancelled,
.order-status.status-expired           { border-color:#3a3a3a; color:#888; }

.alert { padding:14px 16px; border-radius:10px; margin:18px 0; border:1px solid #1a1a1a; background:#0c0c0c; }
.alert-success { border-color: rgba(40,180,99,.5); color:#bff5d3; }
.alert-error   { border-color: rgba(255,80,80,.5); color:#ffc7c7; }

.order-panel { background:#0b0b0b; border:1px solid #1a1a1a; border-radius:12px; padding:22px; margin:18px 0; }
.order-panel h3 { margin:0 0 12px; color:#fff; font-size:16px; letter-spacing:.06em; text-transform:uppercase; }
.order-panel .muted { color:#888; }

.pay-panel { border-color: rgba(200,16,46,.5); box-shadow: 0 0 30px rgba(200,16,46,.08); }
.pay-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:10px; }
.pay-label { color:#888; font-size:11px; letter-spacing:.22em; text-transform:uppercase; }
.pay-value { color:#fff; font-weight:800; font-size:18px; margin-top:4px; }
.pay-amount { color: var(--gold-bright); font-size:24px; }
.pay-sub { color:#cfcfcf; margin-top:4px; }
.pay-addr-label { color:#888; font-size:11px; letter-spacing:.22em; text-transform:uppercase; margin-top:8px; }
.pay-addr { background:#050505; border:1px dashed #2a2a2a; border-radius:8px; padding:12px; margin-top:6px; font-family: Consolas, Menlo, monospace; color: var(--gold-bright); word-break: break-all; }
.pay-addr-row { display:flex; align-items:stretch; gap:8px; margin-top:6px; }
.pay-addr-row .pay-addr { margin-top:0; flex:1; min-width:0; }
.copy-btn { display:inline-flex; align-items:center; gap:6px; padding:0 14px; background:#1a1a1a; color:#fff; border:1px solid #2a2a2a; border-radius:8px; cursor:pointer; font-size:13px; font-weight:700; transition:background .15s, border-color .15s; }
.copy-btn:hover { background:#222; border-color:#c8102e; }
.copy-btn.copied { background:#1f9d55; border-color:#1f9d55; }
.copy-btn .copy-icon { font-size:16px; }
.contact-icons { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.contact-pill { display:inline-flex; align-items:center; gap:6px; padding:8px 12px; background:#141414; border:1px solid #2a2a2a; border-radius:8px; color:#e8e8e8; text-decoration:none; font-size:13px; font-weight:600; transition:background .15s, border-color .15s; }
.contact-pill iconify-icon { font-size: 16px; color: var(--gold); }
.contact-pill:hover { background:#1f1f1f; border-color:#c8102e; }
.contact-pill-wa iconify-icon { color: #25d366; }
.contact-pill-wa:hover { border-color:#25d366; }
.pay-note { color:#cfcfcf; margin-top:12px; font-size:13px; }
.pay-deadline { color:#ffb347; margin-top:6px; font-size:13px; }

.order-items { width:100%; border-collapse:collapse; }
.order-items td { padding:10px 0; border-bottom:1px solid #1a1a1a; color:#e8e8e8; font-size:14px; }
.order-items .ta-right { text-align:right; color:#fff; font-weight:700; }
.order-total-row td { padding-top:14px; border-bottom:0; color:#fff; font-weight:800; font-size:16px; }
.order-total-row td.ta-right { color: var(--gold-bright); font-size:18px; }

.order-actions { display:flex; flex-direction:column; gap:14px; margin-top:8px; }
.action-form { background:#0b0b0b; border:1px solid #1a1a1a; border-radius:12px; padding:18px; display:flex; flex-direction:column; gap:12px; }
.action-form.inline { flex-direction:row; align-items:center; flex-wrap:wrap; }
.action-form h3 { margin:0 0 4px; color:#fff; font-size:14px; letter-spacing:.08em; text-transform:uppercase; }
.action-form label { display:flex; flex-direction:column; gap:6px; color:#cfcfcf; font-size:13px; }
.action-form .row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.action-form .row > label { flex:1 1 0; }
@media (max-width: 560px) { .action-form .row { grid-template-columns:1fr; } }
.action-form input, .action-form textarea, .action-form select {
  width:100%; box-sizing:border-box;
  background:#050505; border:1px solid #1a1a1a; border-radius:8px;
  padding:10px 12px; color:#fff; font: inherit;
  -webkit-appearance:none; appearance:none;
}
.action-form input::placeholder, .action-form textarea::placeholder { color:#666; }
.action-form input:focus, .action-form textarea:focus, .action-form select:focus { outline:none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,16,46,.15); }
/* Override Chrome/Edge autofill yellow/white background */
.action-form input:-webkit-autofill,
.action-form input:-webkit-autofill:hover,
.action-form input:-webkit-autofill:focus,
.action-form textarea:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px #050505 inset;
  box-shadow: 0 0 0 1000px #050505 inset;
  caret-color: #fff;
  transition: background-color 9999s ease-in-out 0s;
}
.btn-ghost { display:inline-block; padding:11px 18px; border:1px solid #2a2a2a; background:#1a1a1a; color:#eee; border-radius:10px; font-weight:700; cursor:pointer; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); }

.admin-proof { background:#0c0c0c; border:1px solid #1a1a1a; border-radius:10px; padding:14px; }
.admin-proof code { background:#050505; padding:2px 6px; border-radius:4px; color: var(--gold-bright); }

.event-log { list-style:none; padding:0; margin:0; font-size:13px; color:#cfcfcf; }
.event-log li { padding:8px 0; border-bottom:1px solid #1a1a1a; display:flex; gap:12px; flex-wrap:wrap; }
.event-log .ev-time { color:#888; min-width:140px; }
.event-log .ev-actor { color: var(--gold-bright); text-transform:uppercase; font-size:11px; letter-spacing:.18em; min-width:80px; }
.event-log .ev-event { color:#fff; font-weight:700; }
.event-log .ev-detail { color:#888; font-family: Consolas, Menlo, monospace; }

@media (max-width: 640px) {
  .pay-grid { grid-template-columns:1fr; }
}
