/*! ============================================================================
 *  GoBox Import — hoja de estilos
 *  Refactor: reglas muertas eliminadas, selectores unificados y media queries
 *  agrupadas al final. El resultado visual es idéntico al de la versión 76.5.
 *  Orden: tokens → base → estructura → componentes → vistas → media queries
 * ========================================================================= */

/* Tokens de diseño ================================================== */

:root {
  --success: #2bc0ac;
  --danger: #dc3545;
  --purple: #8c68cd;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-2: #f1f3f5;
  --text: #1a1a1a;
  --muted: #6c757d;
  --border: #dee2e6;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.16);
  --radius: 14px;
  --mobile-nav: 72px;

  /* Escala de redondeos: los mismos valores que ya usaba el diseño,
     ahora con nombre para poder ajustarlos desde un solo sitio. */
  --radius-xs: 9px;
  --radius-sm: 11px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 22px;
  --radius-pill: 999px;

  /* Tipografía */
  --font-sans: "Segoe UI", Roboto, Arial, sans-serif;
}

:root { color-scheme: light; }
[data-theme="dark"] { color-scheme: dark; }

[data-theme="dark"] {
  --bg: #0b0f17;
  --surface: #121824;
  --surface-2: #1a2333;
  --text: #f8f9fa;
  --muted: #94a3b8;
  --border: #243247;
  --shadow: rgba(0, 0, 0, 0.45);
  --shadow-lg: rgba(0, 0, 0, 0.65);
}

:root {
  --primary: #00B0D5;
  --primary-hover: #0098B8;
  --accent: #FD7100;
  --gobox-turquesa: #00B0D5;
  --gobox-naranja: #FD7100;
  --gobox-gris-texto: #263238;
  --gobox-gris-suave: #F5F7F8;
}

/* Reset y base ====================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.view {
  display: none;
  padding: 38px 0 80px;
  animation: fadeUp 0.3s ease;
}

.view.active {
  display: block;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head h2 {
  font-size: 1.55rem;
  font-weight: 950;
}

.section-head p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.9rem;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-head h2 {
  letter-spacing: -.35px;
}

/* Cabecera, navegación y pie ======================================== */

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 18px var(--shadow);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
}

.desktop-menu {
  display: flex;
  gap: 18px;
  list-style: none;
}

.desktop-menu a {
  font-weight: 800;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 9px 12px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  cursor: pointer;
}

.desktop-menu a.active,
.desktop-menu a:hover {
  color: var(--primary);
  background: var(--surface-2);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.05rem;
  transition: 0.2s ease;
}

.circle-btn:hover {
  transform: translateY(-1px);
}

.cart-bounce {
  animation: cartPulse 0.55s ease;
  box-shadow: 0 0 0 6px rgba(253, 113, 0, 0.18), 0 0 20px rgba(253, 113, 0, 0.45);
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--surface);
}

.announcement {
  height: 40px;
  background: linear-gradient(90deg, var(--accent), var(--accent));
  color: #fff;
  overflow: hidden;
  position: relative;
  font-weight: 900;
  font-size: 0.88rem;
}

.announcement-track {
  position: absolute;
  width: 100%;
  top: 0;
  transition: top 0.45s ease;
}

.announcement-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 0 14px;
}

.gobox-exit-modal {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.gobox-exit-modal.show {
  display: flex;
}

.gobox-exit-card {
  width: min(360px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 22px 60px var(--shadow-lg);
  text-align: center;
  animation: fadeUp 0.22s ease;
}

.gobox-exit-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 176, 213, 0.10);
  color: var(--primary);
  font-size: 1.35rem;
}

.gobox-exit-card h3 {
  font-size: 1.08rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.gobox-exit-card p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.48;
  margin-bottom: 16px;
}

.gobox-exit-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.gobox-exit-actions button {
  min-height: 44px;
  border-radius: var(--radius-md);
  font-weight: 950;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.gobox-exit-actions .stay {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gobox-exit-actions .leave {
  color: var(--muted);
}

.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--mobile-nav);
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px var(--shadow);
  z-index: 4700;
  grid-template-columns: repeat(5, 1fr);
}

.mobile-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.67rem;
  color: var(--muted);
  font-weight: 900;
  gap: 4px;
  position: relative;
}

.mobile-nav i {
  font-size: 1.08rem;
}

.mobile-nav button.active {
  color: var(--primary);
}

.mobile-badge {
  position: absolute;
  top: 7px;
  right: 22%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.62rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

.splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .splash-screen {
  background: #0b0f17;
}

.splash-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.splash-logo {
  animation: fadeInLogo 0.75s ease-out 0.15s backwards;
}

.splash-logo svg {
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.splash-text {
  display: none;
}

.gobox-footer {
  width: 100%;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 46px 0 24px;
  margin: 80px 0 0;
}

[data-theme="dark"] .gobox-footer {
  background: #0a0f18;
}

.gobox-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 28px;
}

.gobox-footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 390px;
}

.gobox-footer-section h4 {
  font-size: 0.98rem;
  font-weight: 950;
  margin-bottom: 14px;
  color: var(--text);
}

.gobox-footer-boxi h4,
.gobox-footer-boxi a {
  font-style: italic;
}

.gobox-footer-section ul {
  list-style: none;
  display: grid;
  gap: 9px;
}

.gobox-footer-section a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 850;
  transition: color 0.2s ease;
}

.gobox-footer-section a:hover {
  color: var(--primary);
}

.gobox-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
}

.gobox-footer-bottom p:last-child {
  font-style: italic;
}

.gobox-logo-switch {
  display: block;
  width: 100%;
  max-width: 100%;
  line-height: 0;
}

.gobox-logo-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gobox-logo-switch .logo-dark,
[data-theme="dark"] .gobox-logo-switch .logo-light {
  display: none;
}

[data-theme="dark"] .gobox-logo-switch .logo-dark {
  display: block;
}

.brand .gobox-logo-switch {
  height: auto;
}

.splash-logo {
  max-width: min(480px, 84vw);
  width: min(480px, 84vw);
}

.splash-logo .gobox-logo-switch {
  width: 100%;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.gobox-footer-logo {
  width: clamp(200px, 18vw, 240px);
  max-width: 240px;
  height: auto;
}

.gobox-footer-logo .gobox-logo-switch {
  width: 100%;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.gobox-logo-switch {
  background: transparent !important;
}

.gobox-logo-img {
  image-rendering: auto;
  background: transparent !important;
}

.brand .gobox-logo-switch {
  width: clamp(210px, 20vw, 240px);
  max-width: 240px;
  max-height: 56px;
}

.splash-screen {
  animation: fadeOutSplash .38s ease-out .82s forwards !important;
}

/* Componentes de interfaz =========================================== */

.btn-primary,
.btn-secondary,
.btn-full {
  border-radius: var(--radius-sm);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 13px 25px;
  box-shadow: 0 6px 18px rgba(0, 176, 213, 0.28);
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 176, 213, 0.36);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 176, 213, 0.24);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 18px;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 176, 213, 0.12);
}

.btn-full {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  font-size: 0.98rem;
  transition: all 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 900;
}

.btn-full:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 176, 213, 0.32);
}

.btn-full:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 176, 213, 0.24);
}

.btn-full:disabled,
.payment-continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.25);
  box-shadow: none;
  transform: none;
}

.btn-full:disabled:hover,
.payment-continue:disabled:hover {
  transform: none;
}

.side-btn {
  width: 100%;
  text-align: left;
  padding: 10px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.side-btn:hover,
.side-btn.active {
  background: rgba(0, 176, 213, 0.09);
  color: var(--primary);
}

.chip-btn {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 900;
  white-space: nowrap;
  font-size: 0.82rem;
}

.chip-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.status {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.status.stock {
  background: rgba(44, 192, 172, 0.92);
  color: #fff;
}

.status.low {
  background: rgba(253, 113, 0, 0.92);
  color: #fff;
}

.status.order {
  background: rgba(140, 104, 205, 0.92);
  color: #fff;
}

.category-tag {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.price {
  font-size: 1.15rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.msi-green {
  color: #13a567;
  background: rgba(43, 192, 172, 0.12);
  border: 1px solid rgba(43, 192, 172, 0.22);
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1.35;
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  margin: 4px 0 10px;
}

.back {
  color: var(--primary);
  font-weight: 950;
  margin-bottom: 22px;
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.notice {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 10px;
  line-height: 1.45;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.notice.info {
  background: rgba(0, 176, 213, 0.08);
  color: var(--primary);
  border-color: rgba(0, 176, 213, 0.2);
}

.notice.warn {
  background: rgba(253, 113, 0, 0.1);
  color: var(--accent);
  border-color: rgba(253, 113, 0, 0.24);
}

.countdown {
  margin-top: 10px;
  background: var(--surface);
  border: 1px solid rgba(253, 113, 0, 0.26);
  border-radius: 10px;
  padding: 10px;
  color: var(--accent);
  font-weight: 950;
  text-align: center;
  font-size: 0.88rem;
}

.selector {
  margin-bottom: 17px;
}

.label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 900;
}

.pill.selected {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 176, 213, 0.08);
}

.meter {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.84rem;
  font-weight: 850;
  display: flex;
  gap: 9px;
  line-height: 1.45;
}

.meter.yellow {
  background: rgba(253, 113, 0, 0.1);
  color: var(--accent);
  border: 1px solid rgba(253, 113, 0, 0.23);
}

.meter.green {
  background: rgba(43, 192, 172, 0.12);
  color: var(--success);
  border: 1px solid rgba(43, 192, 172, 0.25);
}

.meter.shipping-meter {
  align-items: flex-start;
}

.meter.shipping-meter i {
  flex: 0 0 auto;
  margin-top: 2px;
}

.meter-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.meter-title {
  color: var(--text);
  font-weight: 950;
  line-height: 1.28;
}

.meter.yellow .meter-title strong {
  color: var(--accent);
}

.meter.green .meter-title strong {
  color: var(--success);
}

.meter-detail {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.38;
  font-weight: 800;
}

.tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 5px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 950;
  margin-bottom: 6px;
}

.tag.stock {
  background: rgba(43, 192, 172, 0.13);
  color: var(--success);
}

.tag.order {
  background: rgba(140, 104, 205, 0.14);
  color: var(--purple);
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 10px;
}

.empty i {
  font-size: 3rem;
  opacity: 0.25;
  margin-bottom: 12px;
}

.helper {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin-top: 8px;
}

.address-badge {
  display: none;
  background: rgba(0, 176, 213, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 12px;
}

.legal {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  line-height: 1.48;
  color: var(--muted);
  box-shadow: 0 5px 18px var(--shadow);
}

.legal strong {
  color: var(--accent);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 5000;
  background: var(--text);
  color: var(--surface);
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  font-size: 0.84rem;
  display: none;
  box-shadow: 0 8px 24px var(--shadow-lg);
  max-width: calc(100vw - 40px);
}

.status.out {
  background: #dc3545;
  color: #ffffff;
  border: 1px solid #b02a37;
  box-shadow: 0 3px 10px rgba(220, 53, 69, 0.35);
}

.stock-left {
  font-size: 0.78rem;
  color: var(--success);
  margin: 0 0 10px;
  line-height: 1.35;
}

.stock-left.sold {
  color: var(--danger);
}

.stock-left.low {
  color: var(--accent);
}

.notify-btn {
  background: var(--surface-2) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(253, 113, 0, 0.28) !important;
}

.checkout-note {
  background: rgba(0, 176, 213, 0.07);
  border: 1px solid rgba(0, 176, 213, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 12px;
}

.legal.legal-focus {
  border-color: rgba(253, 113, 0, 0.45);
  box-shadow: 0 0 0 4px rgba(253, 113, 0, 0.10), 0 8px 24px var(--shadow);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.status {
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notice.danger {
  background: rgba(220, 53, 69, 0.09);
  color: var(--danger);
  border-color: rgba(220, 53, 69, 0.22);
}

.countdown[data-gobox-close] {
  display: block;
  clear: both;
  position: relative;
  z-index: 2;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Formularios ======================================================= */

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.counter {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}

.counter button {
  width: 40px;
  height: 40px;
  font-size: 1.15rem;
  font-weight: 950;
}

.counter input {
  width: 48px;
  border: none;
  background: transparent;
  text-align: center;
  color: var(--text);
  font-weight: 950;
}

.mini-counter {
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: 8px;
  overflow: hidden;
  align-items: center;
}

.mini-counter button {
  width: 26px;
  height: 26px;
  font-weight: 950;
}

.mini-counter span {
  min-width: 28px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 950;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field,
.textarea,
.select-field {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-xs);
  font-size: 0.84rem;
  transition: all 0.25s ease;
}

.textarea {
  grid-column: 1 / -1;
  min-height: 76px;
  resize: vertical;
}

.field:focus,
.textarea:focus,
.select-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 176, 213, 0.12);
  transform: translateY(-1px);
  background: var(--surface);
}

.field.error,
.textarea.error,
.select-field.error {
  border-color: var(--danger);
  background: rgba(220, 53, 69, 0.04);
}

.field.error:focus,
.textarea.error:focus,
.select-field.error:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.toggle {
  border: 2px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-items: center;
  text-align: center;
  font-weight: 950;
  font-size: 0.82rem;
  line-height: 1.25;
  cursor: pointer;
  position: relative;
}

.toggle input {
  position: absolute;
  opacity: 0;
}

.toggle.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 176, 213, 0.05);
}

.toggle.orange {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(253, 113, 0, 0.06);
}

/* Home: carrusel, tendencias y categorías =========================== */

.panel,
.product-card,
.cart-group,
.faq-node,
.promo-carousel,
.trends-box,
.catalog-sidebar,
.rules-box,
.review-box,
.footer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 5px 18px var(--shadow);
}

.promo-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
}

.promo-track {
  display: flex;
  transition: transform 0.55s ease;
}

.promo-slide {
  min-width: 100%;
  min-height: 250px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  background: radial-gradient(circle at top right, rgba(0, 176, 213, 0.18), transparent 34%), radial-gradient(circle at bottom left, rgba(253, 113, 0, 0.16), transparent 34%), var(--surface);
}

.promo-slide h3 {
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 950;
  line-height: 1.1;
  margin-bottom: 10px;
}

.promo-slide p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.promo-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.promo-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.promo-dot.active {
  background: var(--accent);
}

.trends-box {
  overflow: hidden;
  padding: 18px;
  margin-bottom: 42px;
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeMove 32s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.trend-card {
  width: 178px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  cursor: pointer;
}

.trend-card img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  margin-bottom: 8px;
}

.trend-card h4 {
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.trend-card p {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 950;
}

.product-card.sold-out .product-img img,
.main-photo.sold-out img,
.trend-card.sold-out img {
  filter: grayscale(100%);
}

.home-boxi-carousel {
  margin-bottom: 30px;
}

.home-section-tight {
  margin-top: 2px;
}

.campaign-carousel {
  border-radius: 20px;
  margin-bottom: 34px;
}

.campaign-carousel .promo-slide {
  min-height: 310px;
  padding: 32px;
  background: radial-gradient(circle at 80% 10%, rgba(253, 113, 0, 0.22), transparent 28%), radial-gradient(circle at 10% 90%, rgba(0, 176, 213, 0.24), transparent 30%), linear-gradient(135deg, var(--surface), var(--surface-2));
}

.quick-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 38px;
}

.quick-category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 16px;
  min-height: 118px;
  box-shadow: 0 5px 18px var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.2s ease;
  overflow: hidden;
  position: relative;
}

.quick-category-card::after {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(0, 176, 213, 0.08);
}

.quick-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px var(--shadow-lg);
  border-color: rgba(0, 176, 213, 0.35);
}

.quick-category-card i {
  color: var(--accent);
  font-size: 1.28rem;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.quick-category-card strong {
  font-size: 0.94rem;
  font-weight: 950;
  position: relative;
  z-index: 1;
}

.quick-category-card small {
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.35;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.video-banner {
  min-height: 210px;
  border-radius: 20px;
  padding: 18px;
  color: #fff;
  overflow: hidden;
  position: relative;
  background: #08111d;
  box-shadow: 0 8px 24px var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.video-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.74));
  z-index: 1;
}

.video-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: 0.3s ease;
}

.video-banner:hover img {
  transform: scale(1.05);
}

.play-badge {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  font-size: 1.05rem;
}

.video-banner-copy {
  position: relative;
  z-index: 2;
}

.video-banner-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.55px;
  font-size: 0.68rem;
}

.video-banner-copy h3 {
  margin: 8px 0 6px;
  line-height: 1.1;
  font-size: 1.16rem;
  font-weight: 950;
}

.video-banner-copy p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  font-size: 0.82rem;
}

.home-msi-carousel .promo-slide h3 {
  max-width: 620px;
}

.home-final-shell {
  margin: 0 0 36px;
}

.home-final-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 10% 12%, rgba(0, 176, 213, 0.10), transparent 30%), radial-gradient(circle at 90% 88%, rgba(253, 113, 0, 0.11), transparent 32%), var(--surface);
  box-shadow: 0 12px 32px var(--shadow);
  padding: 26px 42px 56px;
}

.home-final-carousel .promo-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  transition: transform 0.55s ease;
  will-change: transform;
}

.home-final-carousel .promo-slide {
  flex: 0 0 100%;
  min-width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  background: transparent;
}

.home-banner-frame {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.13);
}

.home-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center;
  image-rendering: auto;
  background: #fff;
}

.home-banner-logo-patch {
  position: absolute;
  z-index: 3;
  display: block;
  line-height: 0;
  background: #fff;
  border-radius: 7px;
  padding: 0.45%;
  pointer-events: none;
}

.home-banner-logo-patch img {
  display: block;
  width: 100%;
  height: auto;
}

.home-final-carousel .promo-slide:nth-child(1) .home-banner-logo-patch {
  left: 5.4%;
  top: 3.55%;
  width: 50.3%;
}

.home-final-carousel .promo-slide:nth-child(2) .home-banner-logo-patch {
  left: 4.7%;
  top: 3.10%;
  width: 44.8%;
}

.home-final-carousel .promo-slide:nth-child(3) .home-banner-logo-patch {
  left: 4.2%;
  top: 2.90%;
  width: 42.6%;
}

.home-final-carousel .promo-slide:nth-child(4) .home-banner-logo-patch {
  left: 24.0%;
  top: 6.75%;
  width: 52.8%;
}

.home-final-carousel .promo-slide:nth-child(5) .home-banner-logo-patch {
  left: 7.0%;
  top: 4.65%;
  width: 42.7%;
}

.home-final-carousel .promo-slide:nth-child(6) .home-banner-logo-patch {
  left: 3.9%;
  top: 3.00%;
  width: 45.0%;
}

.home-final-carousel .promo-slide:nth-child(7) .home-banner-logo-patch {
  left: 5.1%;
  top: 5.90%;
  width: 42.5%;
}

.home-final-carousel .promo-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.home-final-carousel .promo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 176, 213, 0.30);
  background: rgba(0, 176, 213, 0.22);
}

.home-final-carousel .promo-dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--gobox-naranja);
  border-color: var(--gobox-naranja);
}

.home-catalog-cta-wrap {
  display: flex;
  justify-content: center;
  margin: -14px 0 34px;
  position: relative;
  z-index: 4;
}

.home-catalog-cta {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 12px 28px rgba(0,176,213,.28);
  transition: transform .22s ease,box-shadow .22s ease,background .22s ease;
}

.home-catalog-cta:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,176,213,.34);
}

.home-catalog-cta:focus-visible {
  outline: 3px solid rgba(253,113,0,.38);
  outline-offset: 3px;
}

.home-final-carousel .promo-slide {
  opacity: 1;
  filter: none;
  box-shadow: none;
  transition: transform .52s ease,opacity .52s ease,filter .52s ease;
  transform-origin: center center;
}

.home-final-carousel .promo-slide.active {
  z-index: 3;
}

.quick-category-card,
.product-card,
.trend-card {
  isolation: isolate;
}

.home-promo-arrow {
  position: absolute;
  top: 50%;
  z-index: 9;
  width: 42px;
  height: 58px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--radius-pill);
  background: rgba(15,32,48,.62);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 8px 24px rgba(13,36,57,.10);
  backdrop-filter: blur(7px);
  transition: opacity .22s ease,background .22s ease,transform .22s ease,box-shadow .22s ease;
  user-select: none;
}

.home-promo-arrow span {
  display: block;
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1;
  margin-top: -3px;
}

.home-promo-arrow-left {
  left: 9px;
}

.home-promo-arrow-right {
  right: 9px;
}

.home-promo-arrow:hover,
.home-promo-arrow:focus-visible {
  opacity: 1;
  background: rgba(15,32,48,.82);
  background: rgba(15,32,48,.42);
  box-shadow: 0 12px 28px rgba(13,36,57,.18);
  outline: none;
}

.home-promo-arrow-left:hover,
.home-promo-arrow-left:focus-visible {
  transform: translateY(-50%) translateX(-2px);
}

.home-promo-arrow-right:hover,
.home-promo-arrow-right:focus-visible {
  transform: translateY(-50%) translateX(2px);
}

[data-theme="dark"] .home-promo-arrow {
  background: rgba(4,10,18,.66);
  border-color: rgba(255,255,255,.18);
}

/* Catálogo ========================================================== */

.catalog-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  align-items: start;
}

.catalog-sidebar {
  padding: 18px;
  position: sticky;
  top: 96px;
}

.filter-title {
  font-weight: 950;
  margin-bottom: 10px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group {
  margin-bottom: 20px;
}

.top-filter-mobile {
  display: none;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.top-filter-mobile::-webkit-scrollbar {
  display: none;
}

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

.product-card {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px var(--shadow-lg);
}

.product-img {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: var(--surface-2);
  cursor: pointer;
}

.product-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  margin-bottom: 8px;
  cursor: pointer;
}

.product-btn {
  margin-top: auto;
  width: 100%;
  background: var(--surface-2);
  color: var(--primary);
  border-radius: var(--radius-xs);
  padding: 10px;
  font-weight: 950;
}

.product-card:hover .product-btn {
  background: var(--primary);
  color: #fff;
}

.product-price {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 950;
  margin-bottom: 12px;
}

.product-card.sold-out {
  opacity: 0.86;
}

.product-card.sold-out .product-img {
  cursor: default;
}

/* Ficha de producto ================================================= */

.mini-info {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
  margin-bottom: 14px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
}

.main-photo {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 18px var(--shadow);
}

.main-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-top: 12px;
  padding-bottom: 4px;
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.thumb.active {
  border-color: var(--primary);
}

.product-meta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 950;
  line-height: 1.15;
  margin-bottom: 10px;
}

.description {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.preorder-box {
  background: rgba(140, 104, 205, 0.08);
  border: 1px solid rgba(140, 104, 205, 0.22);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
}

.preorder-box h4 {
  color: var(--purple);
  font-size: 0.92rem;
  font-weight: 950;
  margin-bottom: 10px;
}

.preorder-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 7px;
  line-height: 1.35;
}

.preorder-row strong {
  color: var(--text);
  text-align: right;
}

.preorder-followup {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
}

/* Carrito y checkout ================================================ */

.cart-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: start;
}

.panel {
  padding: 22px;
  margin-bottom: 20px;
}

.checkout-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding: 0;
  gap: 0;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.stepper-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.stepper-step.active:not(:last-child)::after,
.stepper-step.completed:not(:last-child)::after {
  background: var(--primary);
  transition: background 0.4s ease;
}

.stepper-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  font-size: 1.1rem;
  background: var(--surface);
  border: 2px solid var(--border);
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  margin-bottom: 12px;
}

.stepper-step.active .stepper-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(0, 176, 213, 0.12);
  transform: scale(1.08);
}

.stepper-step.completed .stepper-circle {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.stepper-label {
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  color: var(--muted);
  max-width: 100px;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}

.stepper-step.active .stepper-label {
  color: var(--primary);
  font-weight: 950;
}

.stepper-step.completed .stepper-label {
  color: var(--success);
}

.panel-title {
  font-size: 1.05rem;
  font-weight: 950;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  display: flex;
  gap: 9px;
  align-items: center;
}

.panel-title i {
  color: var(--primary);
}

.save-primary-action {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 8px 20px rgba(0, 176, 213, 0.22);
}

.save-primary-action:hover {
  background: var(--primary-hover) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.cart-group {
  overflow: hidden;
  margin-bottom: 16px;
}

.group-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 14px 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.group-head h3 {
  font-size: 0.94rem;
  font-weight: 950;
  margin-bottom: 3px;
}

.group-head p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.group-total {
  color: var(--primary);
  font-weight: 950;
  white-space: nowrap;
  font-size: 0.9rem;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface-2);
  flex-shrink: 0;
}

.cart-mid {
  flex: 1;
  min-width: 0;
}

.cart-name {
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-specs {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.cart-price {
  font-weight: 950;
  text-align: right;
  font-size: 0.9rem;
  white-space: nowrap;
}

.remove {
  color: var(--muted);
  margin-bottom: auto;
}

.gateways {
  display: grid;
  gap: 10px;
  margin: 10px 0 14px;
}

.gateway {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-weight: 900;
  font-size: 0.84rem;
  cursor: pointer;
  position: relative;
}

.gateway input {
  position: absolute;
  opacity: 0;
}

.gateway.active {
  border-color: var(--primary);
  background: rgba(0, 176, 213, 0.045);
}

.gateway.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--surface-2);
}

.gateway-note {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
  line-height: 1.25;
}

.processor {
  display: none;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-top: 12px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 9px;
}

.summary-line.total {
  border-top: 1px solid var(--border);
  padding-top: 11px;
  margin-top: 11px;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 950;
}

.summary-line.total span:last-child {
  color: var(--primary);
  font-size: 1.25rem;
}

.summary-line.pending {
  color: var(--accent);
  font-weight: 950;
}

/* Total real del pedido: referencia clara, sin competir con el importe de hoy. */
.summary-line.order-total {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
}

.summary-line.order-total span:last-child {
  font-size: 1.05rem;
}

.summary-note {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}

.review-box {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
  box-shadow: 0 10px 28px var(--shadow-lg);
}

.review-box h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.review-box p {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

.payment-center-head {
  text-align: center;
  margin-bottom: 20px;
}

.payment-center-head h2 {
  font-size: 1.55rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.payment-center-head p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.payment-mini-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.payment-blocks {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.payment-block {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 5px 18px var(--shadow);
}

.payment-block-head {
  padding: 15px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.payment-block-head h3 {
  font-size: 0.98rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.payment-block-head p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.payment-block-amount {
  color: var(--primary);
  font-weight: 950;
  white-space: nowrap;
  text-align: right;
}

.payment-block-body {
  padding: 15px;
}

.payment-method-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
}

.payment-method-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.payment-method-mini small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.reservation-note {
  border-left: 4px solid var(--accent);
  background: rgba(253, 113, 0, 0.08);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
  margin-top: 12px;
}

.payment-confirm-note {
  margin: -4px 0 16px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.receipt-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px;
}

.receipt-hero {
  text-align: center;
  margin-bottom: 18px;
}

.receipt-hero i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(43, 192, 172, 0.12);
  color: var(--success);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.receipt-hero h2 {
  font-size: 1.65rem;
  font-weight: 950;
  margin-bottom: 8px;
}

.receipt-hero p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.receipt-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.checkout-accordion .panel-title {
  width: 100%;
  text-align: left;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.25s ease;
}

.checkout-accordion .panel-title:hover {
  padding: 5px;
}

.checkout-accordion .panel-title::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--muted);
  font-size: 0.82rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin-left: auto;
}

.checkout-accordion.collapsed .panel-title::after {
  transform: rotate(-90deg);
}

.checkout-accordion-body {
  display: block;
  animation: slideDown 0.3s ease forwards;
}

.checkout-accordion.collapsed .checkout-accordion-body {
  display: none;
  animation: slideUp 0.25s ease forwards;
}

.checkout-saved-summary {
  display: none;
  background: rgba(43, 192, 172, 0.10);
  border: 1px solid rgba(43, 192, 172, 0.22);
  border-left: 4px solid var(--success);
  border-radius: var(--radius-md);
  padding: 13px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin-top: 12px;
  animation: fadeIn 0.3s ease;
}

.checkout-accordion.checkout-saved .checkout-saved-summary {
  display: block;
}

.checkout-saved-summary strong {
  color: var(--text);
}

.checkout-saved-summary button {
  color: var(--primary);
  font-weight: 950;
  margin-top: 9px;
}

.checkout-accordion.needs-attention.collapsed:not(.checkout-saved),
.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) {
  border-color: rgba(253, 113, 0, 0.32);
}

.checkout-accordion.needs-attention.collapsed:not(.checkout-saved) {
  animation: checkoutGuideGlow 1.45s ease-in-out 0s 3;
}

.checkout-accordion.needs-attention.collapsed:not(.checkout-saved) .panel-title,
.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) .panel-title {
  position: relative;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 4px;
  padding-right: 0;
}

.checkout-accordion.needs-attention.collapsed:not(.checkout-saved) .panel-title::before,
.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) .panel-title::before {
  order: 3;
  content: "Toca para completar este paso";
  flex: 0 0 100%;
  margin: 0 0 0 28px;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: normal;
  pointer-events: none;
}

.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) {
  opacity: 0.86;
  border-color: rgba(0, 176, 213, 0.22);
}

.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) .panel-title::before {
  content: "Primero guarda datos y entrega";
  color: var(--muted);
}

.checkout-accordion.needs-attention.collapsed:not(.checkout-saved) .panel-title::after {
  color: var(--accent);
  animation: checkoutArrowNudge 1.15s ease-in-out 0s 3;
}

.checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) .panel-title::after {
  color: var(--muted);
}

.payment-options-area {
  display: none;
}

.payment-options-area.show {
  display: block;
}

.payment-choice-note {
  background: rgba(0, 176, 213, 0.07);
  border: 1px solid rgba(0, 176, 213, 0.18);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 10px 0 14px;
}

.payment-choice-note strong {
  color: var(--text);
}

.pay-choice-box {
  display: grid;
  gap: 11px;
  margin-bottom: 16px;
}

.pay-choice {
  border: 2px solid var(--border);
  background: var(--surface);
  border-radius: 15px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  position: relative;
  transition: 0.2s ease;
}

.pay-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-choice-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.pay-choice strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 950;
  margin-bottom: 4px;
}

.pay-choice small {
  display: block;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.42;
  font-weight: 750;
}

.pay-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 176, 213, 0.35);
  box-shadow: 0 8px 22px var(--shadow);
}

.pay-choice.active {
  border-color: var(--primary);
  background: rgba(0, 176, 213, 0.055);
  box-shadow: 0 8px 22px rgba(0, 176, 213, 0.12);
}

.pay-choice.orange.active,
.pay-choice.orange:hover {
  border-color: var(--accent);
  background: rgba(253, 113, 0, 0.06);
  box-shadow: 0 8px 22px rgba(253, 113, 0, 0.12);
}

.pay-mini-banner {
  background: linear-gradient(135deg, rgba(0, 176, 213, 0.11), rgba(253, 113, 0, 0.08));
  border: 1px solid rgba(0, 176, 213, 0.18);
  border-radius: var(--radius-lg);
  padding: 13px 14px;
  color: var(--muted);
  line-height: 1.48;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.pay-mini-banner strong {
  color: var(--text);
}

.saved-summary-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 7px;
}

.saved-summary-top button {
  color: var(--accent);
  font-weight: 950;
  white-space: nowrap;
  font-size: 0.78rem;
}

.saved-summary-top button:hover {
  color: var(--primary);
}

.payment-editable {
  display: block;
}

.checkout-accordion.checkout-saved .payment-editable {
  display: none;
}

.save-payment-action {
  width: 100%;
  margin-top: 12px;
}

.cart-left,
.cart-right {
  min-width: 0;
}

.cart-right {
  position: static;
  top: auto;
  align-self: start;
}

#orderSummaryPanel .panel-title {
  cursor: default;
}

#orderSummaryPanel .panel-title::after {
  display: none !important;
  content: none !important;
}

#view-cart .cart-right,
.cart-right {
  position: static !important;
  top: auto !important;
  align-self: start !important;
}

#view-cart .cart-right,
#orderSummaryPanel {
  position: static !important;
  top: auto !important;
  height: auto !important;
  align-self: start !important;
}

.checkout-accordion .panel-title:hover {
  background: transparent !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Contenido: reglas, términos y dudas =============================== */

.rules-box {
  padding: 26px;
  box-shadow: 0 6px 18px var(--shadow);
}

.rule {
  margin-bottom: 22px;
}

.rule:last-child {
  margin-bottom: 0;
}

.rule h3 {
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 950;
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.rule p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.terms-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.term-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.term-q {
  width: 100%;
  padding: 15px 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-align: left;
  font-weight: 950;
  color: var(--text);
}

.term-a {
  display: none;
  padding: 0 16px 15px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.term-a.open {
  display: block;
}

.faq-list {
  display: grid;
  gap: 13px;
}

.faq-node {
  overflow: hidden;
}

.faq-q {
  width: 100%;
  padding: 17px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-weight: 950;
  text-align: left;
}

.faq-a {
  display: none;
  padding: 0 18px 17px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-a.open {
  display: block;
}

/* Asistente Boxi ==================================================== */

.boxi-orb {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.boxi-orb.small {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 1.35rem;
  margin: 0;
  flex-shrink: 0;
}

.boxi-floating {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 4600;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.boxi-floating.open,
.boxi-fab,
.boxi-floating.open .boxi-panel {
  pointer-events: auto;
}

.boxi-panel {
  width: min(360px, calc(100vw - 28px));
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: 0 18px 50px var(--shadow-lg);
  overflow: hidden;
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s ease;
}

.boxi-floating.open .boxi-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.boxi-panel-head {
  background: radial-gradient(circle at top right, rgba(253, 113, 0, 0.2), transparent 35%), linear-gradient(135deg, var(--primary), #006d92);
  color: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.boxi-panel-head h4 {
  font-size: 0.98rem;
  font-weight: 950;
  margin-bottom: 3px;
}

.boxi-panel-head p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.35;
}

.boxi-panel-close {
  margin-left: auto;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.boxi-chat {
  padding: 14px;
  display: grid;
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
}

.boxi-message {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.5;
}

.boxi-message strong {
  display: block;
  margin-bottom: 4px;
}

.boxi-question-grid {
  display: grid;
  gap: 8px;
}

.boxi-question {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 10px 11px;
  text-align: left;
  color: var(--text);
  font-weight: 900;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  transition: 0.18s ease;
}

.boxi-question:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.boxi-answer {
  background: rgba(0, 176, 213, 0.075);
  border: 1px solid rgba(0, 176, 213, 0.18);
  border-radius: 16px;
  padding: 12px;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.55;
}

.boxi-panel-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 14px 14px;
}

.boxi-whatsapp-btn {
  width: 100%;
  border-radius: 13px;
  padding: 12px 13px;
  background: #25d366;
  color: #fff;
  font-weight: 950;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.boxi-fab {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-2xl);
  background: radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.42), transparent 24%), linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 16px 34px rgba(0, 176, 213, 0.36);
  position: relative;
  transition: 0.2s ease;
}

.boxi-fab:hover {
  transform: translateY(-2px);
}

.boxi-fab-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 26px;
  border: 2px solid rgba(0, 176, 213, 0.22);
  animation: boxiPulse 1.9s ease infinite;
  pointer-events: none;
}

.mascot-orb {
  overflow: hidden;
  background: transparent;
  border: none;
}

.mascot-orb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.mascot-fab {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  padding: 0;
  border-radius: 50%;
}

.boxi-fab-icon {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  box-shadow: 0 16px 34px rgba(0, 176, 213, 0.30);
  background: transparent;
  transition: 0.2s ease;
}

.mascot-fab:hover .boxi-fab-icon {
  transform: translateY(-2px);
}

.mascot-fab .boxi-fab-pulse {
  inset: -5px;
  border-radius: 50%;
}

.boxi-floating {
  transition: opacity .22s ease,transform .22s ease;
}

/* Tarjetas de aviso y seguimiento =================================== */

.v63-push-card,
.v63-rescue-card {
  border: 1px solid var(--border);
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: 14px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 12px 0 14px;
}

.v63-push-card strong,
.v63-rescue-card strong {
  color: var(--text);
}

.v63-rescue-card {
  border-left: 4px solid var(--accent);
  background: rgba(253, 113, 0, 0.08);
}

.v63-push-card {
  border-left: 4px solid var(--success);
  background: rgba(43, 192, 172, 0.08);
}

.v63-action-row {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.v63-status-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.v63-status-icon.warn {
  background: rgba(253, 113, 0, 0.12);
  color: var(--accent);
}

.v63-status-icon.danger {
  background: rgba(220, 53, 69, 0.10);
  color: var(--danger);
}

.v63-waitlist-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 8px;
}

.v64-customer-note {
  border: 1px solid rgba(0, 176, 213, 0.18);
  border-left: 4px solid var(--primary);
  background: rgba(0, 176, 213, 0.07);
  border-radius: 13px;
  padding: 12px 13px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.48;
  margin: 10px 0 14px;
}

.v64-customer-note strong {
  color: var(--text);
}

/* Varios ============================================================ */

.remove:hover {
  color: var(--danger);
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.footer h4 {
  font-weight: 950;
  margin-bottom: 12px;
  color: var(--text);
}

.footer p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.footer button {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: left;
}

.footer button:hover {
  color: var(--primary);
}

img.gobox-image-fallback {
  object-fit: contain !important;
  padding: 18px;
  opacity: .92;
}

/* Animaciones ======================================================= */

@keyframes cartPulse {
    0% { transform: scale(1); }
    35% { transform: scale(1.18) rotate(-8deg); }
    70% { transform: scale(0.98) rotate(5deg); }
    100% { transform: scale(1); }
}

@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(12px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes marqueeMove {
    from {
    transform: translateX(0);
    }
    to {
    transform: translateX(-50%);
    }
}

@keyframes popIn {
    from {
    transform: scale(0.5);
    opacity: 0;
    }
    to {
    transform: scale(1);
    opacity: 1;
    }
}

@keyframes slideDown {
    from {
    opacity: 0;
    transform: translateY(-8px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
    opacity: 1;
    transform: translateY(0);
    }
    to {
    opacity: 0;
    transform: translateY(-8px);
    }
}

@keyframes fadeIn {
    from {
    opacity: 0;
    }
    to {
    opacity: 1;
    }
}

@keyframes checkoutArrowNudge {
    0%, 100% { transform: rotate(-90deg) translateX(0); }
    35% { transform: rotate(-90deg) translateX(-3px); }
    70% { transform: rotate(-90deg) translateX(2px); }
}

@keyframes checkoutGuideGlow {
    0%, 100% { box-shadow: 0 5px 18px var(--shadow); }
    50% { box-shadow: 0 0 0 4px rgba(253, 113, 0, 0.10), 0 8px 24px var(--shadow); }
}

@keyframes boxiPulse {
    0% { transform: scale(0.96); opacity: 0.8; }
    70% { transform: scale(1.17); opacity: 0; }
    100% { transform: scale(1.17); opacity: 0; }
}

@keyframes fadeInLogo {
    0% {
    opacity: 0;
    transform: scale(0.85) translateY(-15px);
    }
    100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    }
}

@keyframes fadeOutSplash {
    0% {
    opacity: 1;
    visibility: visible;
    }
    100% {
    opacity: 0;
    visibility: hidden;
    }
}

/* Media queries ===================================================== */

@media (max-width:760px) {

  .checkout-stepper {
    margin-bottom: 24px;
    gap: 8px;
  }

  .stepper-circle {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .stepper-step:not(:last-child)::after {
    top: 20px;
  }

  .stepper-label {
    font-size: 0.7rem;
  }

  .checkout-accordion.needs-attention.collapsed:not(.checkout-saved) .panel-title::before {
    content: "Toca para completar";
    font-size: 0.68rem;
  }

  .checkout-accordion.checkout-locked.collapsed:not(.checkout-saved) .panel-title::before {
    content: "Primero guarda tus datos";
    font-size: 0.68rem;
  }

}

@media (prefers-reduced-motion:reduce) {

  .checkout-accordion.needs-attention.collapsed:not(.checkout-saved),
  .checkout-accordion.needs-attention.collapsed:not(.checkout-saved) .panel-title::after {
    animation: none !important;
  }

}

@media (max-width:760px) {

  .checkout-accordion .panel-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .checkout-accordion:not(.collapsed) .panel-title {
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }

}

@media (max-width:899px) {

  .product-layout,
  .cart-layout,
  .catalog-shell,
  .promo-slide,
  .footer {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar,
  .cart-right {
    position: static;
  }

  .quick-category-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width:760px) {

  body {
    padding-bottom: var(--mobile-nav);
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .desktop-menu {
    display: none;
  }

  .nav {
    height: 68px;
  }

  .circle-btn {
    width: 39px;
    height: 39px;
  }

  .view {
    padding: 28px 0 78px;
  }

  .catalog-sidebar {
    display: none;
  }

  .top-filter-mobile {
    display: flex;
  }

  .mini-info {
    display: none;
  }

  .product-btn {
    font-size: 0.75rem;
    padding: 9px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 18px;
  }

  .cart-item {
    gap: 10px;
  }

  .cart-item img {
    width: 64px;
    height: 64px;
  }

  .gateway {
    flex-direction: column;
    align-items: flex-start;
  }

  .gateway-note {
    text-align: left;
  }

  .meter.shipping-meter {
    padding: 12px 13px;
    gap: 10px;
    font-size: 0.82rem;
  }

  .meter-title {
    font-size: 0.88rem;
  }

  .meter-detail {
    font-size: 0.75rem;
  }

  .review-box {
    padding: 20px;
  }

  .footer {
    padding: 22px;
  }

  .toast {
    left: 14px;
    right: 14px;
    bottom: 84px;
    text-align: center;
  }

  .quick-category-grid {
    grid-template-columns: 1fr;
  }

  .quick-category-card {
    min-height: 94px;
  }

  .video-banner {
    min-height: 186px;
  }

  .home-boxi-carousel {
    margin-bottom: 26px;
  }

  .boxi-panel {
    width: calc(100vw - 28px);
  }

  .mobile-nav {
    display: grid;
  }

}

@media (max-width:980px) {

  .gobox-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width:760px) {

  .splash-logo {
    max-width: min(420px, 86vw);
    width: min(420px, 86vw);
  }

  .gobox-footer {
    padding: 34px 0 92px;
  }

  .gobox-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .gobox-footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  body.checkout-flow .boxi-floating {
    display: none !important;
  }

  body.checkout-flow.desktop-view .boxi-floating {
    display: flex !important;
    bottom: 100px !important;
    right: 20px !important;
  }

  body.checkout-flow.desktop-view .boxi-floating .boxi-panel {
    display: none !important;
  }

  body.checkout-flow.desktop-view .boxi-fab {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.4rem !important;
  }

  body.checkout-flow.desktop-view .boxi-fab-pulse {
    animation: none !important;
    display: none !important;
  }

  .gobox-footer {
    padding-bottom: calc(var(--mobile-nav) + 118px);
  }

  .gobox-footer-logo {
    width: clamp(180px, 56vw, 200px);
    max-width: 200px;
  }

  .gobox-footer-brand p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

}

@media (min-width:981px) {

  #view-cart .cart-layout {
    align-items: start;
  }

}

@media (max-width:760px) {

  #orderSummaryPanel {
    display: block !important;
  }

}

@media (min-width:900px) {

  .home-final-shell {
    margin: 0 0 36px;
  }

  .home-banner-frame {
    border-radius: var(--radius-2xl);
  }

}

@media (min-width:1200px) {

  .home-banner-frame {
    width: min(100%, 330px);
    max-width: 330px;
  }

}

@media (max-width:899px) {

  .home-final-carousel {
    border-radius: 20px;
    padding: 14px 0 42px;
  }

  .home-final-carousel .promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 12px;
  }

  .home-banner-frame {
    width: min(100%, 430px);
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 12px 26px var(--shadow);
  }

}

@media (max-width:760px) {

  .brand .gobox-logo-switch {
    width: clamp(160px, 46vw, 185px);
    max-width: 185px;
  }

  .home-final-shell {
    margin-top: -10px;
    margin-bottom: 26px;
  }

  .home-final-carousel {
    border-radius: var(--radius-xl);
    padding: 10px 0 38px;
  }

  .home-final-carousel .promo-slide {
    padding: 0 10px;
  }

  .home-banner-frame {
    border-radius: var(--radius-xl);
  }

  .home-final-carousel .promo-dots {
    bottom: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 13px;
  }

  .status {
    top: 7px;
    right: 7px;
    padding: 4px 7px;
    border-radius: var(--radius-pill);
    font-size: 0.56rem;
    letter-spacing: 0.15px;
    line-height: 1;
  }

  .product-info {
    padding: 11px;
  }

  .category-tag {
    font-size: 0.62rem;
    margin-bottom: 5px;
  }

  .product-title {
    font-size: 0.79rem;
    line-height: 1.25;
    height: 2.5em;
    margin-bottom: 7px;
  }

  .price {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .stock-left {
    font-size: 0.72rem;
    margin-bottom: 8px;
  }

  .product-btn {
    min-height: 38px;
    border-radius: 10px;
  }

  .product-layout {
    gap: 18px;
  }

  .main-photo {
    border-radius: var(--radius-lg);
  }

  .thumbs {
    gap: 8px;
  }

  .thumb {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-xs);
  }

  .product-meta h2 {
    font-size: 1.32rem;
    line-height: 1.15;
  }

  .product-price {
    font-size: 1.55rem;
    margin-bottom: 10px;
  }

  .description {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 14px;
  }

  .notice {
    padding: 12px;
    border-radius: var(--radius-md);
    font-size: 0.80rem;
    line-height: 1.42;
    margin-bottom: 14px;
  }

  .preorder-box {
    padding: 13px;
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
  }

  .preorder-box h4 {
    font-size: 0.88rem;
    margin-bottom: 9px;
  }

  .preorder-row {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8px;
    font-size: 0.78rem;
    margin-bottom: 8px;
    align-items: start;
  }

  .preorder-row strong {
    text-align: right;
    line-height: 1.28;
  }

  .countdown {
    padding: 9px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    margin-top: 9px;
  }

  .qty-row {
    gap: 10px;
    margin: 18px 0;
  }

  .counter button {
    width: 42px;
    height: 42px;
  }

  .counter input {
    width: 48px;
    height: 42px;
  }

  #view-cart .panel {
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
  }

  #view-cart .panel-title {
    font-size: 0.96rem;
  }

  .pay-mini-banner,
  .payment-choice-note,
  .payment-mini-summary,
  .checkout-note,
  .reservation-note {
    font-size: 0.78rem;
    line-height: 1.45;
    border-radius: var(--radius-md);
    padding: 11px 12px;
  }

  .pay-choice {
    padding: 12px;
    border-radius: 13px;
    gap: 10px;
  }

  .pay-choice-icon {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
  }

  .pay-choice strong {
    font-size: 0.86rem;
  }

  .pay-choice small {
    font-size: 0.72rem;
    line-height: 1.35;
  }

  .gateway {
    padding: 11px 12px;
    border-radius: var(--radius-md);
    gap: 6px;
  }

  .gateway-note {
    font-size: 0.66rem;
  }

  .save-payment-action,
  .save-primary-action,
  .btn-full {
    min-height: 48px;
    font-size: 0.92rem;
  }

  .legal {
    padding: 13px;
    font-size: 0.76rem;
    line-height: 1.42;
    border-radius: 13px;
    margin-bottom: 14px;
  }

  .legal input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
  }

  .summary-line {
    font-size: 0.82rem;
    gap: 10px;
  }

  .summary-line.total {
    font-size: 1rem;
  }

  .summary-line.total span:last-child {
    font-size: 1.13rem;
  }

}

@media (max-width:390px) {

  .status {
    font-size: 0.52rem;
    padding: 4px 6px;
  }

  .product-title {
    font-size: 0.76rem;
  }

  .product-btn {
    font-size: 0.72rem;
  }

  .preorder-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .preorder-row strong {
    text-align: left;
  }

}

@media (min-width:761px) {

  .checkout-accordion .panel-title:hover {
    padding: 0 0 10px !important;
  }

}

@media (max-width:760px) {

  .checkout-accordion .panel-title:hover {
    padding: 0 !important;
  }

  .checkout-accordion:not(.collapsed) .panel-title:hover {
    padding-bottom: 10px !important;
  }

  .preorder-box .countdown[data-gobox-close] {
    margin: 10px 0 0;
    padding: 11px 12px;
    font-size: 0.84rem;
    line-height: 1.32;
    min-height: 42px;
  }

  .preorder-followup.preorder-followup-after {
    margin-top: 8px;
    font-size: 0.74rem;
    line-height: 1.38;
  }

}

@media (min-width:900px) {

  .home-final-carousel {
    padding: 28px 30px 56px;
  }

  .home-final-carousel .promo-track {
    display: flex;
    align-items: stretch;
    width: 100%;
  }

  .home-final-carousel .promo-slide {
    flex: 0 0 33.333333%;
    min-width: 33.333333%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 12px;
  }

  .home-banner-frame {
    width: min(100%, 360px);
    max-width: 360px;
    aspect-ratio: 941 / 1672;
  }

}

@media (min-width:1400px) {

  .home-banner-frame {
    max-width: 390px;
  }

}

@media (min-width:900px) {

  .home-final-carousel .promo-slide {
    opacity: .78;
    transform: scale(.925);
    filter: saturate(.90) brightness(.97);
  }

  .home-final-carousel .promo-slide.active {
    opacity: 1;
    transform: scale(1.025);
    filter: saturate(1.04) brightness(1);
  }

  .home-final-carousel .promo-slide.active .home-banner-frame {
    box-shadow: 0 24px 54px rgba(13,36,57,.22);
    border-color: rgba(0,176,213,.25);
  }

}

@media (max-width:899px) {

  .home-final-carousel .promo-slide,
  .home-final-carousel .promo-slide.active {
    opacity: 1;
    transform: none;
    filter: none;
  }

}

@media (max-width:760px) {

  .boxi-floating {
    right: 12px;
    bottom: calc(var(--mobile-nav) + 12px);
  }

  .boxi-fab,
  .boxi-fab-icon {
    width: 54px !important;
    height: 54px !important;
  }

  .boxi-floating.boxi-mobile-hidden:not(.open) {
    opacity: 0;
    transform: translateY(16px) scale(.94);
    pointer-events: none !important;
  }

  .home-catalog-cta-wrap {
    margin: -8px 0 28px;
  }

  .home-catalog-cta {
    width: min(100%,320px);
    min-height: 48px;
  }

}

@media (prefers-reduced-motion:reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}

@media (max-width:899px) {

  .home-promo-arrow {
    width: 34px;
    height: 48px;
    opacity: 1;
    background: rgba(15,32,48,.58);
  }

  .home-promo-arrow span {
    font-size: 1.9rem;
  }

  .home-promo-arrow-left {
    left: 4px;
  }

  .home-promo-arrow-right {
    right: 4px;
  }

}

@media (hover:none) {

  .home-promo-arrow:active {
    opacity: 1;
    background: rgba(15,32,48,.38);
  }

}

/* Ajustes finales (parches que deben aplicarse al final) ============ */

.product-img,
.main-photo,
.trend-card,
.video-banner {
  background: radial-gradient(circle at 18% 20%,rgba(0,176,213,.12),transparent 34%), radial-gradient(circle at 82% 78%,rgba(253,113,0,.10),transparent 34%), var(--surface-2);
}

/* Carrito vacío: sin formulario, sin pago y sin resumen ===================== */

#view-cart.cart-empty .checkout-stepper,
#view-cart.cart-empty #customerDeliveryPanel,
#view-cart.cart-empty #paymentPanel,
#view-cart.cart-empty #msiCartBox,
#view-cart.cart-empty .legal,
#view-cart.cart-empty .meter,
#view-cart.cart-empty .cart-right {
  display: none;
}

#view-cart.cart-empty .cart-layout {
  grid-template-columns: 1fr;
}

#view-cart.cart-empty .panel-title {
  display: none;
}

/* Arreglos de compatibilidad ================================================ */

/* Tablets en vertical (761–899 px): el menú de escritorio y el logo se compactan
   para que el botón del carrito no quede fuera de pantalla. Fuera de este rango
   no cambia nada. */
@media (min-width: 761px) and (max-width: 899px) {
  .nav {
    height: auto;
    min-height: 74px;
    gap: 12px;
  }

  .brand .gobox-logo-switch,
  .brand-logo.gobox-logo-switch {
    width: clamp(148px, 21vw, 182px);
    max-width: 182px;
  }

  .desktop-menu {
    gap: 8px;
  }

  .desktop-menu a {
    padding: 8px 9px;
    font-size: 0.84rem;
    white-space: nowrap;
  }
}

/* Ergonomía táctil y legibilidad en móvil ==================================
   Objetivo: nada que se toque por debajo de ~44 px y nada que se lea por
   debajo de 12 px. Va al final a propósito: tiene que ganar a los ajustes
   de las media queries anteriores. */

@media (max-width: 760px) {

  /* --- objetivos táctiles --- */

  .circle-btn {
    width: 44px;
    height: 44px;
  }

  .mini-counter button {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .mini-counter span {
    min-width: 34px;
    font-size: 0.9rem;
  }

  .remove {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: -6px;
    font-size: 1rem;
  }

  /* Los puntos del carrusel crecen y ensanchan su zona de toque sin
     invadir la del vecino. El carrusel además se puede deslizar. */
  .promo-dots {
    gap: 16px;
    padding: 10px 0;
  }

  .promo-dots .promo-dot {
    width: 13px;
    height: 13px;
    position: relative;
  }

  .promo-dots .promo-dot::after {
    content: "";
    position: absolute;
    inset: -14px -1px;
  }

  .gobox-footer-section a,
  .gobox-footer-section li > a {
    display: inline-block;
    padding: 14px 0;
  }

  .thumb {
    width: 62px;
    height: 62px;
  }

  /* --- legibilidad --- */

  .status {
    font-size: 0.76rem;
    padding: 6px 10px;
  }

  .category-tag {
    font-size: 0.75rem;
  }

  .product-btn {
    font-size: 0.82rem;
    padding: 15px 10px;
  }

  .field,
  .select-field {
    min-height: 46px;
  }

  .boxi-question-grid .boxi-question {
    min-height: 48px;
  }

  .boxi-panel-close {
    width: 44px;
    height: 44px;
  }

  .boxi-panel-actions .boxi-whatsapp-btn,
  .boxi-whatsapp-btn {
    min-height: 46px;
  }

  .home-promo-arrow {
    width: 44px;
  }

  .chip-btn {
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* La casilla legal es obligatoria para continuar: que se pueda picar. */
  .legal input[type="checkbox"],
  #legalCheck,
  #finalCheck {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .btn-secondary,
  .boxi-panel-actions .boxi-whatsapp-btn {
    min-height: 46px;
  }

  .boxi-panel-close {
    width: 46px;
    height: 46px;
  }

  .stepper-label {
    font-size: 0.75rem;
  }

  .stock-left,
  .mini-info {
    font-size: 0.78rem;
  }

  .cart-specs {
    font-size: 0.78rem;
  }

  .quick-category-card small,
  .quick-category-card span {
    font-size: 0.8rem;
  }

}
/* Ocultar SOLO el botón flotante de Boxi, no el panel de ayuda */
.boxi-fab-icon,
.boxi-fab,
.boxi-widget,
#boxiFloating {
    display: none !important;
}
/* ═══════════════════════════════════════════════════════════════════
   PRODUCTOS SOBRE PEDIDO CERRADOS Y BANNER DE CIERRE
   ═══════════════════════════════════════════════════════════════════ */

.product-card.preorder-closed {
  opacity: 1; /* Quitamos la transparencia general */
  filter: none; /* Quitamos el filtro gris general */
}

.product-card.preorder-closed:hover {
  transform: none;
  box-shadow: 0 5px 18px var(--shadow);
}

/* Hacemos gris SOLO la imagen para que se note que está cerrado */
.product-card.preorder-closed .product-img {
  filter: grayscale(100%);
  opacity: 0.5;
}

/* El texto se queda normal y legible (antes se atenuaba y no se leía bien) */
.product-card.preorder-closed .product-info > *:not(.product-btn) {
  opacity: 1;
}

/* El botón se queda NARANJA y brillante */
.product-card.preorder-closed .product-btn {
  opacity: 1 !important;
  background: #ff6b00 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer;
  border: none !important;
}

.product-card.preorder-closed .product-btn:hover {
  background: #e65c00 !important;
}

.preorder-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.45;
  animation: fadeUp 0.3s ease;
}

.preorder-banner i {
  flex: 0 0 auto;
  font-size: 1.1rem;
  margin-top: 2px;
}

.preorder-banner strong {
  display: block;
  font-weight: 950;
  margin-bottom: 3px;
}

.preorder-banner-copy {
  flex: 1;
  min-width: 0;
}

.preorder-banner.green {
  background: rgba(43, 192, 172, 0.12);
  color: var(--success);
  border: 1px solid rgba(43, 192, 172, 0.32);
}

.preorder-banner.orange {
  background: rgba(253, 113, 0, 0.14);
  color: var(--accent);
  border: 1px solid rgba(253, 113, 0, 0.36);
}

.preorder-banner.red {
  background: rgba(220, 53, 69, 0.14);
  color: var(--danger);
  border: 1px solid rgba(220, 53, 69, 0.42);
  animation: fadeUp 0.3s ease, pulse-urgent 2s ease-in-out infinite;
}

.preorder-banner.closed {
  background: rgba(220, 53, 69, 0.20);
  color: #fff;
  background-color: #b02a37;
  border: 1px solid #dc3545;
}

.preorder-banner .preorder-banner-copy strong {
  color: inherit;
}

.preorder-banner .preorder-banner-copy div {
  color: inherit;
  opacity: 0.92;
}

@keyframes pulse-urgent {
  0%, 100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(220, 53, 69, 0); }
}
.product-btn.notify-btn {
    background: #ff6b00 !important; /* Naranja GoBox */
    color: #ffffff !important; /* Texto blanco */
    font-weight: 700 !important;
}

.product-btn.notify-btn:hover {
    background: #e65c00 !important;
}
/* Botón Avísame Naranja - GoBox Import */
.product-card.preorder-closed .product-btn.notify-btn,
.product-btn.notify-btn {
  background: #ff6b00 !important; /* Naranja GoBox */
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer;
  border: none !important;
}

.product-card.preorder-closed .product-btn.notify-btn:hover,
.product-btn.notify-btn:hover {
  background: #e65c00 !important; /* Naranja más oscuro al pasar el mouse */
}
/* ═══════════════════════════════════════════════════════════════════
   PANTALLA INTERMEDIA PREMIUM (Redirección a Mercado Pago)
   ═══════════════════════════════════════════════════════════════════ */

.payment-redirect-card {
  max-width: 680px;
  margin: 40px auto;
  padding: clamp(40px, 8vw, 80px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 48px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Gradiente radial sutil de fondo */
.payment-redirect-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 176, 213, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.payment-redirect-card::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(253, 113, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.redirect-logo {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.redirect-logo .gobox-logo-switch {
  width: clamp(180px, 25vw, 240px);
  max-width: 240px;
  margin: 0 auto;
}

.redirect-icon-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 32px rgba(0, 176, 213, 0.35);
  animation: redirectPulse 2s ease-in-out infinite;
}

.redirect-icon-circle i {
  font-size: 2.2rem;
  color: #ffffff;
}

.redirect-title {
  font-family: "Arial Black", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0 auto 20px;
  max-width: 580px;
  position: relative;
  z-index: 1;
}

.redirect-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.redirect-text strong {
  color: var(--primary);
  font-weight: 850;
}

.redirect-spinner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(0, 176, 213, 0.08);
  border: 1px solid rgba(0, 176, 213, 0.2);
  border-radius: 999px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.spinner-ring {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0, 176, 213, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinRotate 0.8s linear infinite;
}

.redirect-spinner span {
  font-size: 0.95rem;
  font-weight: 850;
  color: var(--primary);
  letter-spacing: 0.02em;
}

.redirect-fallback {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.redirect-manual-btn {
  max-width: 320px;
  margin: 0 auto;
  background: var(--accent);
  position: relative;
  z-index: 1;
}

.redirect-manual-btn:hover {
  background: var(--accent);
  filter: brightness(1.1);
}

/* ═══════════════════════════════════════════════════════════════════
   ANIMACIONES
   ═══════════════════════════════════════════════════════════════════ */

@keyframes redirectPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 12px 32px rgba(0, 176, 213, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 176, 213, 0.45);
  }
}

@keyframes spinRotate {
  to {
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════════════════════════════════
   DARK MODE (automático gracias a variables CSS)
   ═══════════════════════════════════════════════════════════════════ */

[data-theme="dark"] .payment-redirect-card {
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .payment-redirect-card::before {
  background: radial-gradient(circle, rgba(0, 176, 213, 0.12) 0%, transparent 70%);
}

[data-theme="dark"] .payment-redirect-card::after {
  background: radial-gradient(circle, rgba(253, 113, 0, 0.08) 0%, transparent 70%);
}

[data-theme="dark"] .redirect-icon-circle {
  box-shadow: 0 12px 32px rgba(0, 176, 213, 0.5);
}

[data-theme="dark"] .redirect-spinner {
  background: rgba(0, 176, 213, 0.12);
  border-color: rgba(0, 176, 213, 0.3);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE (móvil)
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 760px) {
  .payment-redirect-card {
    margin: 20px auto;
    padding: 32px 24px;
    border-radius: 32px;
  }
  
  .redirect-icon-circle {
    width: 72px;
    height: 72px;
  }
  
  .redirect-icon-circle i {
    font-size: 1.8rem;
  }
  
  .redirect-title {
    font-size: 1.8rem;
  }
  
  .redirect-text {
    font-size: 0.95rem;
  }
}
/* Número de la cuenta regresiva */
.redirect-count {
  display: inline-block;
  min-width: 1.4em;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: 950;
  text-align: center;
  animation: redirectCountPop 1s ease infinite;
}

@keyframes redirectCountPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

[data-theme="dark"] .redirect-count {
  color: var(--accent);
}
/* Número de la cuenta regresiva */
.redirect-count {
  display: inline-block;
  min-width: 1.4em;
  color: var(--accent);
  font-size: 1.2em;
  font-weight: 950;
  text-align: center;
  animation: redirectCountPop 1s ease infinite;
}

@keyframes redirectCountPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}