:root {
  --bg: #07070c;
  --bg-card: #14141c;
  --bg-elev: #1c1c26;
  --gold: #f5c451;
  --gold-bright: #ffd770;
  --cyan: #00e5ff;
  --magenta: #ff2a8e;
  --green: #00d97e;
  --text: #f0f0f2;
  --text-dim: #8b8b95;
  --border: #26262e;
  --shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* Forzamos respeto al atributo HTML5 "hidden" — algunos selectores con
   display:flex/grid lo sobrescriben sin querer y dejan elementos
   invisibles capturando clicks sobre toda la página */
[hidden] { display: none !important; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; width: 100%; }

/* ===================== TOPBAR ===================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 7, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; }

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  order: 2;
}

.topnav {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  align-items: center;
  order: 3;
  flex-basis: 100%;
}
.topnav a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  transition: all 0.15s;
}
.topnav a:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.topnav a.active {
  color: var(--gold);
  background: rgba(245, 196, 81, 0.12);
}
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  transition: all 0.15s;
  cursor: pointer;
}
.cart-link:hover { color: var(--cyan); background: rgba(0, 229, 255, 0.08); }
.cart-link svg { pointer-events: none; }
.cart-badge {
  display: none;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--magenta), #c41872);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.show { display: inline-flex; }

/* ===================== PAGINATION ===================== */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2.5rem;
}
.page-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 2.4rem;
  transition: all 0.15s;
}
.page-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.page-btn.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: var(--gold);
  color: #1a0e02;
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-ellipsis { color: var(--text-dim); padding: 0 0.3rem; align-self: center; }

/* ===================== CART PAGE ===================== */
.cart-page { padding: 2.5rem 1rem 4rem; animation: fade-in 0.25s ease; }
.cart-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  margin: 0.5rem 0 1.5rem;
}
.cart-list { display: flex; flex-direction: column; gap: 0.8rem; margin-bottom: 1.5rem; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem;
}
.cart-img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  position: relative;
}
.cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-img .placeholder { font-size: 1.8rem; }
.cart-game-title { font-weight: 700; font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.3rem; }
.cart-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.78rem; }
.cart-platform {
  background: rgba(0, 0, 0, 0.5);
  color: var(--cyan);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.cart-modality {
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
}
.cart-modality.principal { background: rgba(245, 196, 81, 0.15); color: var(--gold); border: 1px solid rgba(245, 196, 81, 0.35); }
.cart-modality.secundaria { background: rgba(0, 229, 255, 0.12); color: var(--cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.cart-price { font-weight: 800; color: var(--gold); font-size: 1.05rem; }
.cart-remove {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
.cart-remove:hover { color: var(--magenta); border-color: var(--magenta); }

.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-row { display: flex; justify-content: space-between; align-items: center; }
.cart-row.total { font-size: 1.2rem; font-weight: 800; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.cart-total { color: var(--gold); font-size: 1.5rem; font-weight: 900; }
.cta-wa {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e) !important;
  color: white !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3) !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  font-size: 1rem;
}
.cta-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.9rem;
}
.cta-secondary:hover { color: var(--magenta); border-color: var(--magenta); }
.cart-note { font-size: 0.85rem; color: var(--text-dim); margin: 0; }

/* ===================== PRODUCT PAGE — buttons (override) ===================== */
.price-card .price-cta {
  margin-top: auto;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s;
}
.price-card.secundaria .price-cta {
  background: linear-gradient(135deg, var(--cyan), #00a8c0);
  color: #002028;
}
.price-card .price-cta:hover { filter: brightness(1.1); }
.price-card .price-cta.added { background: linear-gradient(135deg, var(--green), #00a85e); color: white; }

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-elev);
  color: var(--text);
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== AUTH IN TOPBAR ===================== */
.auth-slot { position: relative; display: flex; align-items: center; }
.auth-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02 !important;
  font-weight: 800;
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px !important;
  font-size: 0.85rem !important;
}
.auth-btn:hover { filter: brightness(1.07); background: linear-gradient(135deg, var(--gold), var(--gold-bright)) !important; }

.auth-menu { position: relative; }
.auth-trigger {
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.7rem 0.35rem 0.4rem;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
}
.auth-trigger:hover { border-color: var(--gold); }
.auth-trigger img,
.auth-trigger .avatar-fallback {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a0e02;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  object-fit: cover;
}
.auth-name { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.auth-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.auth-dropdown a,
.auth-dropdown button {
  background: transparent;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: none;
}
.auth-dropdown a:hover,
.auth-dropdown button:hover { background: rgba(245, 196, 81, 0.08); color: var(--gold); }

/* ===================== AUTH PAGE ===================== */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 3rem 1rem;
}
.auth-card {
  max-width: 420px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}
.auth-card h1 {
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1.7rem;
}
.auth-card p { color: var(--text-dim); margin-bottom: 1.5rem; }
.login-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.login-form label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--text-dim); }
.login-form input[type="email"],
.login-form input[type="text"] {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.15s;
}
.login-form input[type="email"]:focus,
.login-form input[type="text"]:focus { border-color: var(--gold); outline: none; }
.login-form input#otpCode {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.5rem;
  letter-spacing: 0.5rem;
  text-align: center;
  font-weight: 700;
}
.otp-info { color: var(--text-dim); font-size: 0.9rem; margin: 0; text-align: center; }
.otp-info strong { color: var(--text); }
.login-submit-btn {
  width: 100%;
  background: var(--gold);
  color: #0a0a0f;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.15s, transform 0.15s;
}
.login-submit-btn:hover:not(:disabled) { opacity: 0.88; transform: translateY(-2px); }
.login-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.login-msg { padding: 0.5rem 0; text-align: center; display: flex; flex-direction: column; gap: 0.8rem; }
.login-sent-icon { font-size: 2.5rem; }
.login-msg p { color: var(--text-dim); margin: 0; }
.login-msg strong { color: var(--text); }
.auth-note { font-size: 0.78rem; opacity: 0.7; margin-top: 1rem !important; }

/* ===================== MI CUENTA ===================== */
.account-page { padding: 2.5rem 1rem 4rem; }
.account-header { margin-bottom: 2rem; text-align: center; }
.account-header h1 { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.3rem; }
.account-header p { color: var(--text-dim); }
.cta-secondary.small { padding: 0.4rem 0.9rem; font-size: 0.78rem; margin-top: 0.8rem; }

.pwd-change {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.pwd-change h3 { color: var(--gold); font-size: 1.05rem; margin: 0; }
.pwd-change label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.85rem; color: var(--text-dim); }
.pwd-change input {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.8rem;
}
.pwd-change input:focus { border-color: var(--gold); outline: none; }
.pwd-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pwd-actions button { flex: 1; min-width: 120px; padding: 0.55rem 0.9rem; font-size: 0.85rem; }

.create-client { margin-bottom: 2rem; }
.create-client code {
  display: block;
  background: var(--bg-raised);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-top: 0.5rem;
  word-break: break-all;
  border: 1px solid var(--border);
  color: var(--cyan);
  cursor: pointer;
}

.empty-purchases {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.empty-purchases p { color: var(--text-dim); margin-bottom: 0.5rem; }

.purchase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  margin-bottom: 1rem;
}
.purchase-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.purchase-head > div { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.purchase-head time { color: var(--text-dim); font-size: 0.85rem; }

.purchase-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
}
.purchase-fields > div { display: flex; flex-direction: column; gap: 0.2rem; }
.purchase-fields > div.full { grid-column: 1 / -1; }
.purchase-fields dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-dim);
  font-weight: 700;
}
.purchase-fields dd {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.purchase-fields dd.pre {
  white-space: pre-wrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 6px;
  padding: 0.5rem 0.7rem;
}
.copy-able { cursor: copy; transition: background 0.12s; }
.copy-able:hover { background: rgba(245, 196, 81, 0.1); border-radius: 5px; }
.purchase-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.8rem; opacity: 0.7; }

@media (max-width: 600px) {
  .purchase-fields { grid-template-columns: 1fr; }
}

/* ===================== ADMIN ===================== */
.admin-page { padding: 2.5rem 1rem 4rem; }
.admin-page h1 { color: var(--gold); margin-bottom: 1.5rem; }
.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 1.2fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 850px) { .admin-grid { grid-template-columns: 1fr; } }

.admin-form,
.admin-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
}
.admin-form h2,
.admin-list h2 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.admin-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
.admin-form textarea { resize: vertical; min-height: 60px; }
.admin-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.8rem;
}
@media (max-width: 500px) { .admin-form .row { grid-template-columns: 1fr; } }
.admin-form button[type="submit"] {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  font-weight: 800;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}
.form-status {
  margin-top: 0.8rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.form-status.error { color: var(--magenta); }
.form-status.ok { color: var(--green); }

.admin-purchase {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 0.6rem;
}
.admin-purchase header {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}
.admin-purchase header strong { color: var(--gold); }
.admin-purchase header span { color: var(--text-dim); }
.admin-purchase header time { color: var(--text-dim); margin-left: auto; font-size: 0.78rem; }
.admin-del {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}
.admin-del:hover { color: var(--magenta); border-color: var(--magenta); }
.admin-account {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--text-dim);
  word-break: break-all;
}
.empty-state-small { color: var(--text-dim); padding: 1rem; text-align: center; }

/* ===================== NINTENDO BUNDLES ===================== */
.telegram-link {
  display: inline-block;
  margin-top: 1rem;
  color: #229ED9;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}
.telegram-link:hover { text-decoration: underline; }

.bundle-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 600;
}
.bundle-first {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bundle-price {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid rgba(245, 196, 81, 0.4);
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.2rem;
}
.bundle-price .price-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--gold);
}
.bundle-price .price-amount {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  margin-top: 0.2rem;
}

.bundle-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.cta-telegram {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #229ED9, #1a7eb0);
  color: white;
  padding: 0.95rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(34, 158, 217, 0.3);
  transition: transform 0.15s;
}
.cta-telegram:hover { transform: translateY(-2px); }

.bundle-games h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
  letter-spacing: 0.5px;
}
.bundle-games ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
}
.bundle-games li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.8rem;
}
.bundle-games li:last-child { border-bottom: none; }
.bundle-games .g-name { color: var(--text); }
.bundle-games .g-size {
  color: var(--text-dim);
  font-size: 0.78rem;
  white-space: nowrap;
  background: rgba(0, 229, 255, 0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

/* ===================== RESPONSIVE — cart + bundles ===================== */
@media (max-width: 600px) {
  .bundle-cta-row { grid-template-columns: 1fr; }
}

/* ===================== RESPONSIVE — cart ===================== */
@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 60px 1fr auto;
    grid-template-rows: auto auto;
    gap: 0.7rem;
  }
  .cart-img { width: 60px; height: 60px; }
  .cart-price { grid-column: 2; font-size: 0.95rem; }
  .cart-remove { grid-row: 1 / 3; grid-column: 3; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 3rem 0 2.5rem;
  background: radial-gradient(ellipse at top, #1a0a25 0%, #07070c 70%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
}
.hero.slim { padding: 2rem 0 1.5rem; }
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.18), transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(255, 42, 142, 0.18), transparent 45%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.logo {
  max-width: 420px;
  width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.35))
          drop-shadow(0 0 30px rgba(255, 42, 142, 0.25));
}
.tagline {
  color: var(--text-dim);
  margin-top: 1rem;
  font-size: 1rem;
}
.slim-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--gold);
  margin: 0;
  letter-spacing: 1px;
}
.cta {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #1a0e02;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 6px 24px rgba(245, 196, 81, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(245, 196, 81, 0.5);
}

/* ===================== CATALOG ===================== */
.catalog-section { padding: 2.5rem 0 3rem; }
.section-title { margin-bottom: 1.8rem; text-align: center; }
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold);
  letter-spacing: 0.5px;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.6rem auto 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 2px;
}
.section-title p {
  margin-top: 0.8rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}

.toolbar { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
#search {
  flex: 1;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.1rem;
  border-radius: 10px;
  font-size: 1rem;
}
#search:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}
#search::placeholder { color: var(--text-dim); }

.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}
.filter:hover { border-color: var(--cyan); color: var(--cyan); }
.filter.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  border-color: var(--gold);
}

.status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
}
.status.error { color: var(--magenta); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ===================== CARD ===================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.18s;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }

.card-image {
  aspect-ratio: 1 / 1;
  background: #000;
  position: relative;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.card:hover .card-image img { transform: scale(1.05); }
.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 2.5rem;
}

.badge-sale {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  background: linear-gradient(135deg, var(--magenta), #c41872);
  color: white;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(255, 42, 142, 0.4);
}
.badge-platform {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  background: rgba(0, 0, 0, 0.78);
  color: var(--cyan);
  padding: 0.22rem 0.55rem;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.card-body {
  padding: 0.85rem 0.95rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.price-rows { margin-top: auto; display: flex; flex-direction: column; gap: 0.3rem; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  background: rgba(245, 196, 81, 0.08);
  border: 1px solid rgba(245, 196, 81, 0.18);
}
.price-row.secundaria {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.18);
}
.price-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.price-row.secundaria .price-tag { color: var(--cyan); }
.price-value { font-size: 1rem; font-weight: 800; }

/* ===================== PRODUCT PAGE ===================== */
.product-page {
  padding: 2.5rem 1rem 4rem;
  animation: fade-in 0.25s ease;
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.back-link {
  display: inline-block;
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.back-link:hover { color: var(--cyan); }

.product-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.2fr;
  gap: 3rem;
  align-items: start;
}
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-image .badge-sale {
  font-size: 1rem;
  padding: 0.5rem 0.9rem;
}

.product-platform {
  display: inline-block;
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(0, 229, 255, 0.3);
}
.product-info h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.product-desc {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.price-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 1.2rem;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.price-card.principal { border-color: rgba(245, 196, 81, 0.4); }
.price-card.principal:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245, 196, 81, 0.18);
}
.price-card.secundaria { border-color: rgba(0, 229, 255, 0.4); }
.price-card.secundaria:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 229, 255, 0.18);
}
.price-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.price-card.principal .price-label { color: var(--gold); }
.price-card.secundaria .price-label { color: var(--cyan); }
.price-amount {
  font-size: 1.7rem;
  font-weight: 900;
  margin: 0.4rem 0 0.3rem;
}
.price-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
}
.price-cta {
  margin-top: auto;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
}

.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.product-meta strong { color: var(--text); font-weight: 700; }
.stock-ok { color: var(--green); font-weight: 700; }

/* ===================== EMPTY STATE ===================== */
.empty-state {
  padding: 4rem 1rem;
  text-align: center;
}
.empty-state h2 {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.empty-state p {
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto 1.8rem;
}

/* ===================== HOW TO ===================== */
.how-to {
  background: linear-gradient(180deg, #0a0a12 0%, #07070c 100%);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.how-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.4fr;
  gap: 3rem;
  align-items: center;
}
.mascot {
  width: 100%;
  max-width: 380px;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 12px 30px rgba(0, 229, 255, 0.15));
}
.how-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-dim);
}
.steps li strong { color: var(--text); }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ===================== FOOTER ===================== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.9rem;
  background: #050508;
  margin-top: auto;
}
.footer-brand { color: var(--gold); font-weight: 800; font-size: 1rem; margin-bottom: 0.5rem; }
.payments { font-size: 0.85rem; opacity: 0.9; }
.attribution { font-size: 0.78rem; opacity: 0.6; margin-top: 0.8rem; }
footer a { color: var(--gold); text-decoration: none; font-weight: 700; }
footer a:hover { text-decoration: underline; }
footer p + p { margin-top: 0.35rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 850px) {
  .product-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-image { max-width: 420px; margin: 0 auto; }
  .how-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .mascot { max-width: 280px; }
}
@media (max-width: 600px) {
  .topbar-inner { padding: 0.55rem 0.6rem; }
  .brand-logo { height: 36px; }
  .topnav a { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
  .hero { padding: 2rem 0 1.5rem; }
  .logo { max-width: 260px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
  .card-title { font-size: 0.85rem; }
  .price-tag { font-size: 0.65rem; }
  .price-value { font-size: 0.9rem; }
  .filter { padding: 0.7rem 1rem; font-size: 0.85rem; }
  .price-options { grid-template-columns: 1fr; }
  .product-meta { grid-template-columns: 1fr; }
  .steps li { padding: 0.85rem 0.85rem 0.85rem 3.5rem; font-size: 0.92rem; }
  .steps li::before { left: 0.8rem; width: 1.9rem; height: 1.9rem; font-size: 1rem; }
}

/* ===================== HERO SLIDER ===================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(280px, 50vw, 540px);
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a14 0%, #1a0e2e 100%);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.no-img img { display: none; }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  background: linear-gradient(to top, rgba(7,7,12,0.85) 0%, rgba(7,7,12,0.3) 50%, transparent 100%);
}
.hero-title {
  font-size: clamp(1.7rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  max-width: 700px;
}
.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  color: var(--text);
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  margin-bottom: 1.4rem;
  max-width: 600px;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(7,7,12,0.6);
  border: 1px solid rgba(245,196,81,0.4);
  color: var(--gold);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.15s;
  font-family: inherit;
  line-height: 1;
}
.hero-arrow:hover { background: var(--gold); color: #1a0e02; }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }
.hero-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s;
}
.hero-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ===================== TRUST BAR ===================== */
.trust-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.trust-icon { font-size: 1.8rem; }
.trust-item div { display: flex; flex-direction: column; }
.trust-item strong { color: var(--text); font-size: 0.95rem; }
.trust-item span { color: var(--text-dim); font-size: 0.8rem; }

/* ===================== HOW TO STEPS (NUEVA) ===================== */
.how-to { padding: 3.5rem 0; }
.section-title.centered { text-align: center; margin-bottom: 2.5rem; }
.section-title.centered h2 { color: var(--gold); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.section-title.centered p { color: var(--text-dim); margin-top: 0.5rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem 1.2rem;
  position: relative;
  transition: all 0.2s;
}
.step-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(245,196,81,0.1);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  font-weight: 900;
  font-size: 1.1rem;
  border-radius: 50%;
  margin-bottom: 0.8rem;
}
.step-card h3 { color: var(--text); font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.5; }
.cta-row { text-align: center; margin-top: 2rem; }

/* ===================== TESTIMONIOS ===================== */
.testimonials-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,229,255,0.03) 100%);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
}
.testimonial-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}
.testimonial-author strong { color: var(--text); font-size: 0.9rem; }
.testimonial-author span { color: var(--cyan); font-size: 0.8rem; }

/* ===================== FAQ ===================== */
.faq-section { padding: 3rem 0 4rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.6rem; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 800;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 1.2rem 1.2rem;
  color: var(--text-dim);
  line-height: 1.65;
}
.faq-more { text-align: center; margin-top: 1.5rem; }

/* ===================== WHATSAPP FLOATING ===================== */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5);
  z-index: 100;
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.15s;
}
.wa-float:hover { transform: scale(1.1); }
@keyframes wa-pulse {
  0% { box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== FOOTER REDISEÑADO ===================== */
.site-footer {
  background: linear-gradient(180deg, var(--bg) 0%, #0a0a14 100%);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-logo { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-tagline {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all 0.15s;
}
.footer-social a:hover {
  background: var(--gold);
  color: #1a0e02;
  border-color: var(--gold);
}
.footer-payments {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 1.2rem;
  line-height: 1.6;
}
.footer-payments strong { color: var(--text); }
.footer-bottom { padding: 1.5rem 0; text-align: center; }
.footer-bottom .attribution { color: var(--text-dim); font-size: 0.85rem; }

/* ===================== INFO PAGES ===================== */
.info-page {
  padding: 3rem 1rem 4rem;
  max-width: 900px;
}
.info-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.info-block h2 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}
.info-block h2:first-child { margin-top: 0; }
.info-block h3 {
  color: var(--cyan);
  font-size: 1.1rem;
  margin: 1.3rem 0 0.7rem;
}
.info-block p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}
.info-block strong { color: var(--text); }
.info-meta { font-size: 0.85rem; opacity: 0.7; }
.info-steps {
  counter-reset: step;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}
.info-steps li {
  counter-increment: step;
  background: var(--bg-elev);
  padding: 1rem 1.2rem 1rem 3.6rem;
  border-radius: 10px;
  position: relative;
  color: var(--text);
  line-height: 1.6;
}
.info-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 0.85rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0;
}
.info-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-dim);
  line-height: 1.6;
}
.info-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.info-note {
  background: rgba(245,196,81,0.08);
  border: 1px solid rgba(245,196,81,0.25);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem !important;
}
.info-cta {
  background: linear-gradient(135deg, rgba(245,196,81,0.1), rgba(0,229,255,0.06));
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}
.info-cta h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 0.5rem; }
.info-cta p { color: var(--text); margin-bottom: 1.3rem; }

/* Stats grid (Sobre nosotros) */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.stat-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.3rem 0.8rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.stat-label { color: var(--text-dim); font-size: 0.85rem; }

/* ===================== MOBILE MENU TOGGLE ===================== */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  padding: 0.4rem;
}

/* ===================== RESPONSIVE NUEVO ===================== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .topnav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }
  .topnav.open {
    max-height: 800px;
    padding: 0.5rem 0;
  }
  .topnav a { padding: 0.85rem 1rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .info-block { padding: 1.3rem; }
  .info-page { padding: 2rem 0.7rem 3rem; }
  .info-block h2 { font-size: 1.2rem; }
  .info-steps li { padding-left: 3.2rem; font-size: 0.92rem; }
  .info-steps li::before { width: 1.8rem; height: 1.8rem; font-size: 0.85rem; left: 0.7rem; top: 0.9rem; }

  .wa-float { width: 54px; height: 54px; bottom: 1rem; right: 1rem; }
  .wa-float svg { width: 28px; height: 28px; }

  .hero-arrow { width: 38px; height: 38px; font-size: 1.5rem; }
  .hero-arrow.prev { left: 0.5rem; }
  .hero-arrow.next { right: 0.5rem; }
  .hero-slide-overlay { padding-bottom: 2rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .trust-icon { font-size: 1.4rem; }
  .trust-item strong { font-size: 0.85rem; }
  .trust-item span { font-size: 0.72rem; }
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===================== SUBSCRIPTIONS / PLANS ===================== */
.subscriptions-page { padding: 2.5rem 1rem 4rem; }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2rem;
}
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.6rem 1.4rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: all 0.2s;
}
.plan-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(245, 196, 81, 0.15);
}
.plan-card.popular {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245, 196, 81, 0.06), var(--bg-card));
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.plan-head { display: flex; justify-content: space-between; align-items: baseline; }
.plan-tier {
  color: var(--gold);
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.plan-duration {
  color: var(--text-dim);
  font-size: 0.85rem;
  background: var(--bg-elev);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
}
.plan-price { text-align: center; padding: 0.6rem 0; }
.plan-amount {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 900;
  color: var(--text);
}
.plan-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}
.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}
.plan-cta {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: auto;
}
.subs-note {
  margin-top: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
}
.subs-note p { color: var(--text-dim); margin-bottom: 0.6rem; line-height: 1.55; }
.subs-note p:last-child { margin-bottom: 0; }
.subs-note strong { color: var(--gold); }

/* Variantes por marca */
.plans-grid.brand-ps .plan-tier { color: var(--cyan); }
.plans-grid.brand-ps .plan-features li::before { color: var(--cyan); }
.plans-grid.brand-ps .plan-card.popular { border-color: var(--cyan); background: linear-gradient(180deg, rgba(0,229,255,0.06), var(--bg-card)); }
.plans-grid.brand-ps .plan-badge { background: linear-gradient(135deg, var(--cyan), #4fe7ff); color: #001a1f; }

.plans-grid.brand-xbox .plan-tier { color: var(--green); }
.plans-grid.brand-xbox .plan-features li::before { color: var(--green); }
.plans-grid.brand-xbox .plan-card.popular { border-color: var(--green); background: linear-gradient(180deg, rgba(0,217,126,0.06), var(--bg-card)); }
.plans-grid.brand-xbox .plan-badge { background: linear-gradient(135deg, var(--green), #4ff5a8); color: #002915; }

/* ===================== RESERVACIONES ===================== */
.reservas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}
.reserva-card {
  display: flex;
  flex-direction: column;
}
.badge-reserva {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  background: linear-gradient(135deg, var(--magenta), #c41872);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.reserva-meta {
  display: flex;
  flex-direction: column;
  background: var(--bg-elev);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
}
.reserva-meta span { color: var(--text-dim); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
.reserva-meta strong { color: var(--gold); font-size: 0.92rem; }
.reserva-desc {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0.7rem;
}
.reserva-deposit {
  background: rgba(245, 196, 81, 0.08);
  border: 1px dashed rgba(245, 196, 81, 0.4);
  color: var(--text);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: center;
  margin: 0.6rem 0 0.8rem;
}
.reserva-deposit strong { color: var(--gold); font-weight: 800; }
.reserva-cta {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: auto;
}

/* ===================== ICONS SVG (reemplazo emojis) ===================== */
.placeholder svg {
  width: 56px;
  height: 56px;
  color: rgba(245, 196, 81, 0.35);
  filter: drop-shadow(0 0 8px rgba(245, 196, 81, 0.15));
}
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20,20,28,0.9), rgba(28,28,38,0.6));
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.12), rgba(245, 196, 81, 0.04));
  border: 1px solid rgba(245, 196, 81, 0.25);
  color: var(--gold);
  flex-shrink: 0;
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-item:nth-child(2) .trust-icon { color: var(--cyan); background: linear-gradient(135deg, rgba(0,229,255,0.12), rgba(0,229,255,0.04)); border-color: rgba(0,229,255,0.3); }
.trust-item:nth-child(3) .trust-icon { color: var(--magenta); background: linear-gradient(135deg, rgba(255,42,142,0.12), rgba(255,42,142,0.04)); border-color: rgba(255,42,142,0.3); }
.trust-item:nth-child(4) .trust-icon { color: var(--green); background: linear-gradient(135deg, rgba(0,217,126,0.12), rgba(0,217,126,0.04)); border-color: rgba(0,217,126,0.3); }

.hero-arrow svg { width: 22px; height: 22px; }
.hero-arrow {
  font-size: 0;
  padding: 0;
}

.info-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.info-note-icon {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
.info-note-icon svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .trust-icon { width: 36px; height: 36px; }
  .trust-icon svg { width: 18px; height: 18px; }
  .placeholder svg { width: 44px; height: 44px; }
}

/* ===================== CARDS — HOVER REFINADO ===================== */
.card {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(245, 196, 81, 0.4),
    0 0 30px rgba(245, 196, 81, 0.12);
  border-color: rgba(245, 196, 81, 0.3);
}
.card .card-image img { transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.card:hover .card-image img { transform: scale(1.08); }

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
}
.card:hover .card-image::after { opacity: 1; }

.badge-sale {
  animation: badge-pulse 2.4s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(255,42,142,0.4);
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255,42,142,0.4); }
  50% { transform: scale(1.07); box-shadow: 0 6px 20px rgba(255,42,142,0.6); }
}

/* Card titles más nítidos en hover */
.card .card-title { transition: color 0.2s; }
.card:hover .card-title { color: var(--gold); }

/* ===================== SKELETON LOADERS ===================== */
.card-skeleton {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-skeleton .skel-image {
  aspect-ratio: 1 / 1;
  background: var(--bg-elev);
}
.card-skeleton .skel-body {
  padding: 0.85rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.skel-line {
  background: var(--bg-elev);
  border-radius: 6px;
  height: 14px;
}
.skel-title { height: 18px; width: 85%; }
.skel-line-2 { width: 60%; }
.skel-price-rows {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.skel-price { height: 28px; border-radius: 7px; }

/* Animación shimmer */
.skel-image,
.skel-line {
  position: relative;
  overflow: hidden;
}
.skel-image::after,
.skel-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(245, 196, 81, 0.08) 50%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}

/* ===================== TOPNAV — DROPDOWNS + SEARCH ===================== */
.dropdown { position: relative; display: inline-block; }
/* Puente invisible que conecta el botón con el menú (cubre el gap del top)
   para que el hover no se pierda al mover el mouse de uno al otro */
.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.6rem;
  background: transparent;
  pointer-events: auto;
}
.dropdown-trigger {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-weight: 700;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s;
}
.dropdown-trigger:hover,
.dropdown.open .dropdown-trigger {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}
.dropdown-trigger svg { transition: transform 0.2s; }
.dropdown.open .dropdown-trigger svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(245, 196, 81, 0.15);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.15s, transform 0.15s, visibility 0s linear 0.15s;
  z-index: 60;
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.15s, transform 0.15s;
}
.dropdown-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 7px;
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.12s;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background: linear-gradient(135deg, rgba(245, 196, 81, 0.12), rgba(0, 229, 255, 0.06));
  color: var(--gold);
  transform: translateX(3px);
}

/* Link "Ofertas" destacado */
.topnav a.nav-highlight {
  color: var(--magenta);
  position: relative;
}
.topnav a.nav-highlight::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--magenta);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--magenta);
  animation: highlight-pulse 1.5s infinite;
}
@keyframes highlight-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.topnav a.nav-highlight:hover {
  color: var(--magenta);
  background: rgba(255, 42, 142, 0.1);
}

/* Búsqueda en el topnav */
.top-search {
  display: flex;
  align-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  gap: 0.5rem;
  min-width: 220px;
  transition: all 0.15s;
}
.top-search:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.12);
}
.top-search svg {
  color: var(--text-dim);
  flex-shrink: 0;
}
.top-search:focus-within svg { color: var(--gold); }
.top-search input {
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  width: 100%;
}
.top-search input::placeholder { color: var(--text-dim); }
.top-search input::-webkit-search-cancel-button { display: none; }

/* Mobile: dropdowns y search */
@media (max-width: 768px) {
  .dropdown { width: 100%; }
  .dropdown::after { display: none; }
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-radius: 0;
  }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--bg-elev);
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    transform: none;
    max-height: 0;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .dropdown.open .dropdown-menu {
    max-height: 500px;
  }
  .dropdown:hover .dropdown-menu {
    /* En mobile no abrir por hover */
    max-height: 0;
  }
  .dropdown.open .dropdown-menu { max-height: 500px; }
  .dropdown-menu a {
    padding: 0.7rem 1.8rem;
    border-radius: 0;
    border-top: 1px solid var(--border);
  }

  .top-search {
    width: 100%;
    min-width: 0;
    margin-top: 0.4rem;
    padding: 0.5rem 1rem;
  }
}

/* ===================== MICROINTERACCIONES ===================== */

/* Smooth scroll global */
html { scroll-behavior: smooth; }

/* Carrito que rebota cuando agregás algo */
.cart-link.bump svg {
  animation: cart-bump 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-link.bump .cart-badge {
  animation: badge-pop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes cart-bump {
  0%   { transform: scale(1) rotate(0); }
  20%  { transform: scale(1.25) rotate(-12deg); }
  45%  { transform: scale(0.95) rotate(8deg); }
  70%  { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}
@keyframes badge-pop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.5); box-shadow: 0 0 14px var(--magenta); }
  100% { transform: scale(1); }
}

/* Toast mejorado con icono SVG */
.toast {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.3rem;
  background: var(--bg-elev);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 30px rgba(0, 229, 255, 0.15);
  transform: translateX(-50%) translateY(20px) scale(0.92);
  transition: opacity 0.25s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}
.toast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.toast-icon svg { width: 18px; height: 18px; }
.toast-text { font-weight: 600; }

.toast.toast-success {
  border-color: var(--green);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 28px rgba(0,217,126,0.25);
}
.toast.toast-success .toast-icon { color: var(--green); }

.toast.toast-error {
  border-color: var(--magenta);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 28px rgba(255,42,142,0.25);
}
.toast.toast-error .toast-icon { color: var(--magenta); }

.toast.toast-info { border-color: var(--cyan); }
.toast.toast-info .toast-icon { color: var(--cyan); }

/* WhatsApp flotante con tooltip */
.wa-float { position: relative; }
.wa-float::after {
  content: "Chateá con nosotros";
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg-card);
  border: 1px solid var(--green);
  color: var(--text);
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.wa-float:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
@media (max-width: 768px) {
  .wa-float::after { display: none; }
}

/* Hero slider — cursor cambia mientras pausa */
.hero-slider:hover { cursor: default; }

/* Fade-in del hero al cargar */
.hero-slide.active .hero-title { animation: hero-text-in 0.7s 0.15s both; }
.hero-slide.active .hero-subtitle { animation: hero-text-in 0.7s 0.3s both; }
.hero-slide.active .cta { animation: hero-text-in 0.7s 0.45s both; }
@keyframes hero-text-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.15s;
}
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current {
  color: var(--gold);
  font-weight: 600;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===================== PRODUCT — TAGS ===================== */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}
.tag-stock { color: var(--green); border-color: rgba(0,217,126,0.3); background: rgba(0,217,126,0.06); }
.tag-delivery { color: var(--gold); border-color: rgba(245,196,81,0.3); background: rgba(245,196,81,0.06); }
.tag-warranty { color: var(--cyan); border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.06); }

/* CTA buttons mejorados con icono */
.price-card .price-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.product-wa-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto !important;
  padding: 0.7rem 1.4rem !important;
  border-radius: 999px !important;
  text-decoration: none;
  margin-top: 1rem;
  font-size: 0.92rem !important;
}

/* ===================== PRODUCT — SECCIONES ===================== */
.product-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.product-section-title {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.product-section-desc {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 800px;
}
.product-section-desc strong { color: var(--text); }

/* RAWG: ficha enriquecida (descripción, Metacritic, dev, screenshots). */
.rawg-section:empty { display: none; }
.rawg-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.rawg-head .product-section-title { margin: 0; }
.meta-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a0a0a;
}
.meta-badge.meta-good { background: #6cda66; }
.meta-badge.meta-mid  { background: #fdc432; }
.meta-badge.meta-bad  { background: #ff6c6c; }
.rawg-desc {
  color: var(--text-dim);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  max-width: 800px;
}
.rawg-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.6rem 1.5rem;
}
.rawg-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.92rem;
}
.rawg-meta li span {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.rawg-meta li strong { color: var(--text); font-weight: 600; }
.rawg-shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.rawg-shots img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.rawg-credit {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.6;
  margin: 0;
}

/* Explorar AAA: filtros + tarjetas */
.explorar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.explorar-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.explorar-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}
.explorar-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}

/* Chips de categoría (género) en las páginas de plataforma */
.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-dim);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cat-chip:hover {
  border-color: var(--gold);
  color: var(--text);
}
.cat-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0a0a;
}
.card-meta {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 32px;
  height: 32px;
  font-size: 0.85rem;
  z-index: 2;
}
.explorar-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.4rem;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  background: #25d366;
  color: #0a0a0a;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}
.explorar-wa:hover { background: #1faa55; color: #fff; }

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}
.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
}
.product-feature .pf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(245,196,81,0.15), rgba(245,196,81,0.05));
  border: 1px solid rgba(245,196,81,0.3);
  border-radius: 10px;
  color: var(--gold);
  flex-shrink: 0;
}
.product-feature .pf-icon svg { width: 20px; height: 20px; }
.product-feature strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.product-feature span {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}

.similars-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

/* ===================== MINI CART FLOTANTE ===================== */
.mini-cart {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 6.5rem; /* deja espacio para el botón flotante de WA */
  max-width: 440px;
  z-index: 99;
  animation: mini-cart-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mini-cart-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.mini-cart[hidden] { display: none; }
.mini-cart-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  text-decoration: none;
  color: var(--text);
  box-shadow:
    0 12px 36px rgba(0,0,0,0.55),
    0 0 30px rgba(245, 196, 81, 0.15),
    0 0 0 1px rgba(245, 196, 81, 0.1);
  transition: all 0.18s;
}
.mini-cart-inner:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.6),
    0 0 35px rgba(245, 196, 81, 0.25);
}
.mini-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  border-radius: 10px;
  flex-shrink: 0;
}
.mini-cart-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.mini-cart-info strong {
  font-size: 0.92rem;
  color: var(--text);
  white-space: nowrap;
}
.mini-cart-info span {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold);
}
.mini-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
}
.mini-cart.bump .mini-cart-inner {
  animation: cart-bump 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 768px) {
  .mini-cart {
    left: 0.8rem;
    right: 5rem;
    bottom: 0.8rem;
  }
  .mini-cart-inner { padding: 0.6rem 0.8rem; gap: 0.7rem; }
  .mini-cart-icon { width: 38px; height: 38px; }
  .mini-cart-info strong { font-size: 0.82rem; }
  .mini-cart-info span { font-size: 0.95rem; }
  .mini-cart-btn span { display: none; }
  .product-feature { padding: 0.9rem; }
  .breadcrumb-current { max-width: 160px; }
}

/* ===================== LIVE ACTIVITY FEED ===================== */
.live-activity {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 320px;
  z-index: 95;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem 0.85rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  box-shadow:
    0 14px 40px rgba(0,0,0,0.55),
    0 0 22px rgba(0, 229, 255, 0.1);
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.live-activity.show {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.live-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
}
.live-icon.purchase {
  background: linear-gradient(135deg, rgba(245,196,81,0.18), rgba(245,196,81,0.04));
  color: var(--gold);
  border: 1px solid rgba(245,196,81,0.3);
}
.live-icon.viewing {
  background: linear-gradient(135deg, rgba(0,229,255,0.18), rgba(0,229,255,0.04));
  color: var(--cyan);
  border: 1px solid rgba(0,229,255,0.3);
}
.live-icon.delivered {
  background: linear-gradient(135deg, rgba(0,217,126,0.18), rgba(0,217,126,0.04));
  color: var(--green);
  border: 1px solid rgba(0,217,126,0.3);
}
.live-text { flex: 1; min-width: 0; }
.live-msg {
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
}
.live-msg em {
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}
.live-time {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 600;
}
.live-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: inline-flex;
  transition: all 0.15s;
}
.live-close:hover {
  color: var(--magenta);
  background: rgba(255, 42, 142, 0.1);
}

@media (max-width: 768px) {
  .live-activity {
    bottom: auto;
    top: 5rem;
    left: 0.8rem;
    right: 0.8rem;
    max-width: none;
  }
}

/* ===================== REVIEWS STATS BAR (home) ===================== */
.reviews-stats-bar {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.3rem 1.8rem;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.rsb-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}
.rsb-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.rsb-stars {
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin: 0.25rem 0;
}
.rsb-total {
  color: var(--text-dim);
  font-size: 0.78rem;
}
.rsb-stat { text-align: center; }
.rsb-stat strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.15rem;
}
.rsb-stat span {
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reviews-mini-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  background: var(--bg-elev);
  border-radius: 999px;
  border: 1px solid var(--border);
}
.reviews-mini-summary .rsb-num.small {
  font-size: 1rem;
  color: var(--gold);
}
.reviews-mini-summary .rsb-stars.small {
  color: var(--gold);
  font-size: 0.85rem;
}
.reviews-mini-summary .rsb-total.small {
  font-size: 0.78rem;
  color: var(--text-dim);
}
.reviews-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .reviews-stats-bar { grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem; }
  .rsb-rating { grid-column: 1 / -1; border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 0.8rem; }
}

/* ===================== TESTIMONIO CARD MEJORADO ===================== */
.testimonial-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.testimonial-source {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(66, 103, 178, 0.15);
  color: #5d8af0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(66, 103, 178, 0.3);
}
.testimonial-source:not(:has(text)) {}

.testimonials-more {
  text-align: center;
  margin-top: 1.5rem;
}

/* ===================== PÁGINA RESEÑAS ===================== */
.resenas-page { padding: 2.5rem 1rem 4rem; }
.resenas-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.resenas-summary {
  background: var(--bg-card);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 0 30px rgba(245, 196, 81, 0.08);
}
.resenas-big-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.big-num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.big-stars {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 3px;
}
.big-total {
  color: var(--text-dim);
  font-size: 0.9rem;
}
.resenas-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.break-row {
  display: grid;
  grid-template-columns: 28px 1fr 32px;
  gap: 0.6rem;
  align-items: center;
}
.break-label { color: var(--gold); font-weight: 700; font-size: 0.85rem; }
.break-bar {
  background: var(--bg-elev);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.break-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  border-radius: 999px;
  transition: width 0.4s;
}
.break-count {
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: right;
}
.resenas-cta {
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(245, 196, 81, 0.06));
  border: 1px solid var(--cyan);
  border-radius: 16px;
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  text-align: center;
}
.resenas-cta h3 { color: var(--gold); font-size: 1.2rem; }
.resenas-cta p { color: var(--text-dim); }

@media (max-width: 768px) {
  .resenas-header { grid-template-columns: 1fr; }
}

/* ===================== POPUP DESCUENTO ===================== */
.discount-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.discount-popup.show { opacity: 1; }
.discount-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.discount-popup-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 2.5rem 2rem 1.6rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    0 0 60px rgba(245, 196, 81, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.discount-popup.show .discount-popup-card {
  transform: scale(1) translateY(0);
}
.popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--text-dim);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.popup-close:hover { color: var(--magenta); border-color: var(--magenta); }
.popup-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 30px rgba(245, 196, 81, 0.35);
}
.discount-popup-card h2 {
  color: var(--gold);
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.popup-subtitle {
  color: var(--text-dim);
  margin-bottom: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.5;
}
.popup-subtitle strong { color: var(--text); }
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.popup-form input[type="email"] {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.15s;
}
.popup-form input[type="email"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 196, 81, 0.15);
}
.popup-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.popup-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green), #00a85e);
  color: white;
  border-radius: 50%;
  animation: popup-check-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes popup-check-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
.popup-success h3 { color: var(--text); font-size: 1.15rem; }
.popup-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  background: var(--bg-elev);
  border: 2px dashed var(--gold);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  letter-spacing: 1px;
  user-select: all;
}
.popup-note {
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.5;
}
.popup-tiny {
  color: var(--text-dim);
  font-size: 0.75rem;
  margin-top: 1.2rem;
  opacity: 0.7;
}

/* ===================== NEWSLETTER BAND (footer) ===================== */
.newsletter-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(245,196,81,0.08), rgba(0,229,255,0.04));
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
}
.newsletter-text h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.newsletter-text p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}
.newsletter-text strong { color: var(--gold); }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.65rem 1.1rem;
  min-width: 220px;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--gold); }
.newsletter-form button {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #1a0e02;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  transition: filter 0.15s;
}
.newsletter-form button:hover:not(:disabled) { filter: brightness(1.1); }
.newsletter-form button:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 768px) {
  .newsletter-band { grid-template-columns: 1fr; padding: 1.2rem; text-align: center; }
  .newsletter-form { justify-content: center; }
  .newsletter-form input { min-width: 0; flex: 1; }
}

/* ===================== CART — DISCOUNT CODE ===================== */
.cart-row.discount {
  color: var(--green);
  font-weight: 700;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 217, 126, 0.06);
  border: 1px dashed rgba(0, 217, 126, 0.4);
  border-radius: 8px;
}
.cart-discount-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cart-discount-label code {
  background: rgba(0, 217, 126, 0.15);
  color: var(--green);
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  font-family: ui-monospace, "SF Mono", monospace;
  font-size: 0.85rem;
}
.cart-discount-amount { color: var(--green); }
.cart-remove-code {
  background: transparent;
  border: 1px solid rgba(0, 217, 126, 0.3);
  color: var(--green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.cart-remove-code:hover { color: var(--magenta); border-color: var(--magenta); }

.cart-code-input {
  background: var(--bg-elev);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
}
.cart-code-input summary {
  cursor: pointer;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.9rem;
  list-style: none;
}
.cart-code-input summary::-webkit-details-marker { display: none; }
.cart-code-input summary::before { content: "+ "; margin-right: 0.2rem; }
.cart-code-input[open] summary::before { content: "− "; }
.cart-code-input form {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.8rem;
}
.cart-code-input input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  padding: 0.55rem 0.8rem;
  font-family: ui-monospace, "SF Mono", monospace;
  text-transform: uppercase;
  font-size: 0.88rem;
  outline: none;
}
.cart-code-input input:focus { border-color: var(--gold); }
.cart-code-input button {
  background: var(--gold);
  color: #1a0e02;
  border: none;
  border-radius: 7px;
  padding: 0.55rem 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.cart-code-hint {
  margin: 0.6rem 0 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.cart-code-hint a { color: var(--gold); text-decoration: none; font-weight: 700; }
.cart-code-hint a:hover { text-decoration: underline; }
