:root {
  --bg: #111111;
  --bg-soft: #181818;
  --panel: #1f1f1f;
  --panel-2: #242424;
  --border: #2f2f2f;
  --text: #ffffff;
  --text-soft: #b8b8b8;
  --primary: #e50914;
  --primary-hover: #c40812;
  --secondary: #2b2b2b;
  --success: #25d366;
  --success-hover: #1ebe5a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1200px;
}

body[data-theme="light"] {
  --bg: #f6f7fb;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-2: #f1f3f7;
  --border: #e4e7ee;
  --text: #111111;
  --text-soft: #5f6470;
  --primary: #e50914;
  --primary-hover: #c40812;
  --secondary: #eceef3;
  --success: #25d366;
  --success-hover: #1ebe5a;
  --shadow: 0 10px 25px rgba(17, 17, 17, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  transition: background 0.25s ease, color 0.25s ease;
  overflow-x: hidden;
}

body.pwa-installed [data-install-app] {
  display: none !important;
}

@media (display-mode: standalone) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .site-header {
    padding-top: env(safe-area-inset-top);
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

body[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: fit-content;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: var(--text-soft);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.cart-toggle,
.menu-toggle,
.admin-access {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  flex-shrink: 0;
}

.admin-access[hidden] {
  display: none !important;
}

.theme-toggle:hover,
.cart-toggle:hover,
.menu-toggle:hover,
.admin-access:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 9, 20, 0.35);
}

.cart-toggle {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
}

/* HERO */
.hero {
  padding: 56px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.hero-content,
.hero-card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.hero-content {
  padding: 34px;
}

.hero-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  color: #ff7f86;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

body[data-theme="light"] .hero-badge {
  color: var(--primary);
  background: rgba(229, 9, 20, 0.08);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.hero p {
  color: var(--text-soft);
  max-width: 650px;
  font-size: 1rem;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-info {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 16px;
  min-height: 84px;
  backdrop-filter: blur(6px);
}

body[data-theme="light"] .hero-info-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.hero-info-card strong {
  display: block;
  margin-bottom: 4px;
}

.hero-info-card span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.hero-card {
  padding: 30px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 18px;
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--text-soft);
  max-width: 420px;
}

/* HERO SLIDER */
.hero.hero-slider {
  position: relative;
  min-height: clamp(620px, 84vh, 860px);
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, 0.3) 0%, rgba(8, 8, 12, 0.48) 55%, rgba(8, 8, 12, 0.74) 100%),
    linear-gradient(90deg, rgba(8, 8, 12, 0.78) 0%, rgba(8, 8, 12, 0.42) 42%, rgba(8, 8, 12, 0.26) 100%);
  z-index: 1;
}

body[data-theme="light"] .hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.28) 55%, rgba(246, 247, 251, 0.68) 100%),
    linear-gradient(90deg, rgba(246, 247, 251, 0.82) 0%, rgba(246, 247, 251, 0.38) 42%, rgba(246, 247, 251, 0.12) 100%);
}

.hero-slider-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-stage {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.62fr);
  gap: 22px;
  align-items: stretch;
}

.hero-copy {
  width: min(100%, 700px);
  background: rgba(13, 13, 18, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

body[data-theme="light"] .hero-copy {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-copy h1 {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero-copy p {
  max-width: 560px;
}

.hero-side-panel {
  display: grid;
  gap: 16px;
}

.hero-side-card {
  background: rgba(13, 13, 18, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

body[data-theme="light"] .hero-side-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-side-main {
  display: grid;
  gap: 16px;
}

.hero-side-support {
  display: grid;
  gap: 16px;
}

.hero-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  color: #ff9ca1;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

body[data-theme="light"] .hero-side-kicker {
  color: var(--primary);
}

.hero-side-card h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-shortcuts {
  display: grid;
  gap: 12px;
}

.hero-shortcut {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body[data-theme="light"] .hero-shortcut {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.hero-shortcut:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.32);
}

.hero-shortcut i {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.14);
  color: #fff;
  font-size: 1rem;
}

.hero-shortcut span {
  display: grid;
  gap: 2px;
}

.hero-shortcut strong {
  font-size: 0.98rem;
}

.hero-shortcut small {
  color: var(--text-soft);
  font-size: 0.85rem;
}

.hero-trust-strip {
  width: 100%;
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-trust-item {
  background: rgba(13, 13, 18, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  padding: 18px 18px 16px;
  backdrop-filter: blur(8px);
}

body[data-theme="light"] .hero-trust-item {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.hero-trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.hero-trust-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-left: 8px;
}

.hero-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, width 0.22s ease;
  flex-shrink: 0;
}

.hero-dot.active {
  width: 34px;
  background: var(--primary);
  border-color: transparent;
}

.hero-dot:hover {
  transform: translateY(-1px);
}

/* BUTTONS */
.btn {
  border-radius: 14px;
  padding: 13px 18px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, opacity 0.18s ease, border-color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: rgba(229, 9, 20, 0.35);
}

.btn-card {
  width: 100%;
  margin-top: 14px;
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-whatsapp {
  background: var(--success);
  color: #fff;
}

.btn-whatsapp:hover {
  background: var(--success-hover);
}

.btn-full {
  width: 100%;
}

/* SECTIONS */
.shop-section,
.info-section {
  padding: 42px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-soft);
}

/* TABS */
.category-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tab-btn {
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 9, 20, 0.35);
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

.products-panel {
  display: none;
}

.products-panel.active {
  display: block;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
  gap: 20px 16px;
  align-items: start;
}

/* PRODUCT CARD */
.product-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.2s ease, opacity 0.18s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-media,
.product-media *,
.product-body,
.product-body * {
  pointer-events: none;
}

.product-media {
  position: relative;
  width: min(100%, 246px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3 / 4.6;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.product-cover {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  background: transparent;
  border-radius: 20px;
}

.product-body {
  max-width: 246px;
  margin: -20px auto 0;
  position: relative;
  z-index: 2;
  text-align: center;
}

.product-body h3 {
  font-size: 0.96rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.14;
}

.product-price {
  color: var(--primary);
  font-weight: 900;
  font-size: 0.9rem;
  line-height: 1.15;
}

.soldout-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  background: #1f2a37;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 8px;
  letter-spacing: 0.4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.product-card-soldout {
  opacity: 0.78;
}

.product-card-soldout:hover {
  transform: none;
}

.product-card-soldout .product-media {
  filter: grayscale(0.2);
}

.product-card-soldout .product-price {
  color: var(--text-soft);
}

body[data-theme="light"] .product-price {
  color: #0b1d8d;
}

/* WHATSAPP FLOAT */
.whatsapp-support {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
  z-index: 1200;
  animation: whatsappPulse 1.8s infinite;
}

@keyframes whatsappPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* MODALS */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 1300;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card,
.checkout-card,
.mini-modal {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal-card {
  width: min(100%, 1040px);
  border-radius: 24px;
  padding: 26px;
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
}

.checkout-card {
  width: min(100%, 620px);
  border-radius: 22px;
  padding: 24px;
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
}

.mini-modal {
  width: min(100%, 420px);
  border-radius: 22px;
  padding: 24px;
  text-align: center;
}

.footer-info-modal {
  width: min(100%, 560px);
  text-align: left;
  position: relative;
  padding-top: 56px;
}

.footer-info-content {
  color: var(--text-soft);
  display: grid;
  gap: 12px;
  line-height: 1.6;
}

.footer-info-content p {
  margin: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
  z-index: 2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
  align-items: start;
}

.modal-image-wrap {
  background: var(--panel-2);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.modal-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 18px;
}

.modal-category {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-block;
  margin-bottom: 10px;
}

.modal-status-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 12px;
}

.modal-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.14);
  border: 1px solid rgba(37, 211, 102, 0.2);
  color: #8ff0b6;
  font-size: 0.84rem;
  font-weight: 800;
}

.modal-status-pill.is-soldout {
  background: rgba(229, 9, 20, 0.14);
  border-color: rgba(229, 9, 20, 0.2);
  color: #ff9ca1;
}

.modal-status-pill-soft {
  background: var(--panel-2);
  border-color: var(--border);
  color: var(--text-soft);
}

body[data-theme="light"] .modal-status-pill {
  color: #138245;
}

body[data-theme="light"] .modal-status-pill.is-soldout {
  color: var(--primary);
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-description {
  color: var(--text-soft);
  margin-bottom: 18px;
  max-height: 170px;
  overflow: auto;
  padding-right: 4px;
}

.modal-options {
  display: grid;
  gap: 14px;
}

.option-group {
  display: grid;
  gap: 8px;
}

.option-group label {
  font-weight: 700;
}

.option-group select,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.modal-price-box {
  margin: 20px 0;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.modal-price-box span,
.modal-price-box small {
  display: block;
}

.modal-price-box span {
  color: var(--text-soft);
  margin-bottom: 6px;
}

.modal-price-box strong {
  font-size: 1.8rem;
  color: var(--primary);
}

.modal-price-box small {
  color: var(--text-soft);
  margin-top: 4px;
}

.modal-selection-box {
  margin: 0 0 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

body[data-theme="light"] .modal-selection-box {
  background: var(--panel-2);
}

.modal-selection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-selection-head strong {
  font-size: 0.98rem;
}

.modal-selection-head span {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.modal-selection-grid {
  display: grid;
  gap: 8px;
}

.modal-selection-grid p {
  margin: 0;
  color: var(--text-soft);
}

.modal-selection-grid strong {
  color: var(--text);
}

.modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 1025px) {
  #productModal {
    padding: 18px;
  }

  #productModal .modal-card {
    width: min(100%, 1500px);
    max-height: calc(100vh - 36px);
    border-radius: 30px;
    padding: 30px;
  }

  #productModal .modal-grid {
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    min-height: calc(100vh - 96px);
    align-items: stretch;
  }

  #productModal .modal-image-wrap {
    position: sticky;
    top: 0;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 26px;
  }

  #productModal .modal-image {
    width: 100%;
    height: min(78vh, 900px);
    aspect-ratio: auto;
    object-fit: contain;
    padding: 0;
  }

  #productModal .modal-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-right: 10px;
  }

  #productModal .modal-content h3 {
    font-size: clamp(2rem, 2.4vw, 2.9rem);
    line-height: 1.02;
  }

  #productModal .modal-description {
    max-height: 240px;
    font-size: 1rem;
  }

  #productModal .modal-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  #productModal .modal-price-box,
  #productModal .modal-selection-box {
    border-radius: 22px;
    padding: 18px;
  }

  #productModal .modal-actions {
    margin-top: auto;
    padding-top: 8px;
  }
}

.mini-modal h3 {
  margin-bottom: 10px;
}

.mini-modal p {
  color: var(--text-soft);
  margin-bottom: 18px;
}

.mini-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* CART DRAWER */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: min(100%, 400px);
  height: 100vh;
  background: var(--panel);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 1350;
  display: flex;
  flex-direction: column;
  transition: right 0.25s ease;
}

.cart-drawer.active {
  right: 0;
}

.cart-header,
.cart-footer {
  padding: 18px;
  border-bottom: 1px solid var(--border);
}

.cart-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  background: var(--panel);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cart-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
  flex-shrink: 0;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px;
}

.empty-cart {
  color: var(--text-soft);
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border);
  background: var(--panel-2);
  border-radius: 18px;
  margin-bottom: 12px;
}

.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 14px;
}

.cart-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  line-height: 1.25;
}

.cart-item p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.remove-cart-item {
  align-self: start;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--text);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.cart-total strong {
  font-size: 1.3rem;
  color: var(--primary);
  text-align: right;
}

/* CHECKOUT */
.checkout-card h3 {
  margin-bottom: 18px;
  font-size: 1.6rem;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group label {
  font-weight: 700;
}

.whatsapp-field {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 10px;
}

.whatsapp-field input {
  width: 100%;
}

.country-select {
  position: relative;
}

.country-select-trigger {
  width: 100%;
  min-height: 52px;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-align: left;
}

.country-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(420px, 100vw - 48px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 40;
}

.country-select-search {
  margin-bottom: 8px;
}

.country-select-search input,
.whatsapp-field input {
  width: 100%;
}

.country-select-search input {
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.country-select-options {
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.country-option {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-align: left;
}

.country-option:hover,
.country-option.is-selected {
  background: var(--panel-2);
}

.country-option-flag {
  font-size: 1.15rem;
}

.country-option-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-option-dial {
  color: var(--text-soft);
  font-weight: 700;
}

.native-country-select {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  inset: 0;
}

.field-help {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.checkout-summary {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  color: var(--text-soft);
}

/* ADMIN ACCESS */
.admin-access {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.clickable-product-card {
  cursor: pointer;
}

.clickable-product-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* EXTRA MOBILE-READY HELPERS */
.mobile-accordion {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel-2);
  overflow: hidden;
}

.mobile-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mobile-accordion summary::-webkit-details-marker {
  display: none;
}

.mobile-accordion-content {
  padding: 0 16px 16px;
  color: var(--text-soft);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

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

  .product-media {
    width: min(100%, 236px);
    aspect-ratio: 3 / 4.55;
  }

  .product-body {
    max-width: 236px;
    margin-top: -20px;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .hero-content,
  .hero-card {
    padding: 28px;
  }

  .hero.hero-slider {
    min-height: 680px;
  }

  .hero-slider-content {
    padding-top: 72px;
    padding-bottom: 44px;
  }

  .hero-stage,
  .hero-trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    width: 100%;
    padding: 28px;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .site-header {
    backdrop-filter: blur(14px);
  }

  .header-inner {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
    flex: 1;
  }

  .brand-name {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .header-actions {
    gap: 8px;
  }

  .theme-toggle,
  .cart-toggle,
  .menu-toggle,
  .admin-access {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
    gap: 6px;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 11px 12px;
    border-radius: 12px;
    background: var(--panel-2);
    color: var(--text);
    font-size: 0.92rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover {
    background: rgba(229, 9, 20, 0.08);
    color: var(--text);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    padding: 24px 0 18px;
  }

  .hero.hero-slider {
    min-height: 600px;
    padding: 0;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-content,
  .hero-card,
  .modal-card,
  .checkout-card,
  .mini-modal {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-content,
  .hero-card,
  .section-head,
  .info-section .container,
  .shop-section .container {
    text-align: center;
  }

  .modal-content {
    text-align: left;
  }

  .hero-copy {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    text-align: center;
    margin-top: auto;
  }

  .hero-badge {
    margin-inline: auto;
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.05;
    margin-bottom: 12px;
  }

  .hero p,
  .hero-card p,
  .section-head p,
  .hero-copy p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-logo {
    width: 132px;
    height: 132px;
    margin-bottom: 14px;
  }

  .hero-card h3 {
    font-size: 1.25rem;
  }

  .hero-buttons,
  .category-tabs,
  .mini-modal-actions,
  .modal-actions {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .category-tabs .tab-btn,
  .mini-modal-actions .btn,
  .modal-actions .btn,
  .cart-footer .btn,
  .info-section .btn {
    width: 100%;
    min-height: 42px;
    padding: 11px 14px;
    font-size: 0.9rem;
    border-radius: 12px;
  }

  .hero-slider-content {
    justify-content: flex-end;
    align-items: stretch;
    padding-top: 90px;
    padding-bottom: 26px;
  }

  .hero-stage {
    gap: 16px;
  }

  .hero-slider-dots {
    justify-content: center;
    margin-top: 14px;
    padding-left: 0;
  }

  .hero-info {
    margin-top: 18px;
    gap: 10px;
  }

  .hero-info-card {
    text-align: center;
    min-height: auto;
    padding: 14px;
  }

  .modal-selection-head,
  .modal-status-row {
    justify-content: center;
  }

  .hero-side-card,
  .hero-trust-item {
    padding: 16px;
    border-radius: 22px;
  }

  .hero-side-card h3 {
    font-size: 1.1rem;
  }

  .hero-shortcut {
    text-align: left;
  }

  .shop-section,
  .info-section {
    padding: 30px 0;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-head h2 {
    font-size: 1.55rem;
  }

  .category-tabs {
    gap: 8px;
    margin-bottom: 16px;
  }

  .tab-btn {
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.85rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .product-media {
    width: min(100%, 190px);
    border-radius: 16px;
    aspect-ratio: 3 / 4.48;
  }

  .product-cover {
    border-radius: 16px;
  }

  .product-body {
    max-width: 190px;
    margin-top: -14px;
    text-align: center;
  }

  .product-body h3 {
    font-size: 0.88rem;
    margin-bottom: 0;
  }

  .product-price {
    font-size: 0.84rem;
  }

  .soldout-badge {
    top: 10px;
    left: 10px;
    font-size: 0.68rem;
    padding: 6px 9px;
  }

  .modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }

  #authModal {
    align-items: flex-end;
  }

  .modal-card,
  .checkout-card,
  .mini-modal {
    width: 100%;
    max-height: 92vh;
  }

  .auth-card {
    width: 100%;
    max-height: 96vh;
    min-height: min(720px, 96vh);
    border-radius: 24px 24px 0 0;
    padding: 16px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .auth-top {
    text-align: center;
    padding: 14px;
    gap: 8px;
  }

  .auth-top h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .auth-text {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .auth-feature-list {
    display: none;
  }

  .auth-feature-item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 10px 0;
  }

  .auth-main {
    gap: 12px;
  }

  .auth-tabs {
    margin-bottom: 0;
  }

  .auth-tab {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .auth-form {
    gap: 12px;
  }

  .auth-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .auth-status {
    text-align: center;
    margin-top: 0;
  }

  .auth-link-btn,
  .auth-remember {
    text-align: center;
    justify-content: center;
  }

  .country-select-dropdown {
    max-height: 250px;
  }

  .modal-card {
    border-radius: 22px 22px 0 0;
  }

  .modal-grid {
    gap: 16px;
  }

  .modal-image-wrap {
    max-width: 260px;
    margin: 0 auto;
  }

  .modal-content h3 {
    font-size: 1.4rem;
  }

  .modal-description {
    max-height: none;
    overflow: visible;
    margin-bottom: 14px;
    font-size: 0.98rem;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    text-align: left;
  }

  body[data-theme="light"] .modal-description {
    background: var(--panel-2);
  }

  .mobile-accordion summary,
  .mobile-accordion-content,
  .modal-selection-grid {
    text-align: left;
  }

  .modal-options {
    gap: 12px;
    text-align: left;
  }

  .option-group select,
  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 48px;
    padding: 13px 14px;
  }

  .whatsapp-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .country-select-dropdown {
    width: 100%;
    max-width: none;
  }

  .modal-price-box {
    margin: 16px 0;
    padding: 14px;
    text-align: center;
  }

  .modal-selection-box {
    padding: 14px;
  }

  .modal-price-box strong {
    font-size: 1.55rem;
  }

  .cart-drawer {
    width: 100%;
    right: -100%;
    border-left: 0;
  }

  .cart-header,
  .cart-items,
  .cart-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cart-header {
    padding-top: max(14px, env(safe-area-inset-top));
  }

  .cart-item {
    grid-template-columns: 60px 1fr auto;
    gap: 10px;
    padding: 10px;
    border-radius: 16px;
  }

  .cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .cart-item h4 {
    font-size: 0.95rem;
  }

  .cart-item p {
    font-size: 0.84rem;
  }

  .remove-cart-item {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .cart-total {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 12px;
  }

  .cart-total strong {
    font-size: 1.2rem;
    text-align: left;
  }

  .checkout-card h3 {
    font-size: 1.35rem;
    text-align: center;
    padding-right: 30px;
  }

  .checkout-form {
    gap: 12px;
  }

  .checkout-summary {
    text-align: left;
  }

  .whatsapp-support {
    width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
    font-size: 1.7rem;
  }

  .empty-cart {
    margin-top: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 18px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .theme-toggle,
  .cart-toggle,
  .menu-toggle,
  .admin-access {
    width: 40px;
    height: 40px;
  }

  .cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 0.7rem;
  }

  .hero {
    padding-top: 18px;
  }

  .hero.hero-slider {
    min-height: 540px;
    padding-top: 0;
  }

  .hero-content,
  .hero-card,
  .modal-card,
  .checkout-card,
  .mini-modal {
    padding: 16px;
  }

  .hero-copy {
    padding: 16px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    padding: 10px 13px;
    font-size: 0.88rem;
    gap: 8px;
    border-radius: 12px;
  }

  .section-head h2 {
    font-size: 1.42rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .product-media {
    width: min(100%, 156px);
    max-width: 156px;
    border-radius: 14px;
    aspect-ratio: 3 / 4.38;
  }

  .product-cover {
    border-radius: 14px;
  }

  .product-body {
    max-width: 156px;
    margin-top: -12px;
  }

  .product-body h3 {
    font-size: 0.8rem;
    line-height: 1.12;
  }

  .product-price {
    font-size: 0.78rem;
  }

  .soldout-badge {
    top: 8px;
    left: 8px;
    font-size: 0.64rem;
    padding: 5px 8px;
  }

  .product-body {
    max-width: 170px;
    margin-top: -12px;
  }

  .product-body h3 {
    font-size: 0.84rem;
    line-height: 1.1;
  }

  .product-price {
    font-size: 0.8rem;
  }

  .modal-card {
    padding-top: 48px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .modal-content h3 {
    font-size: 1.25rem;
  }

  .modal-category {
    font-size: 0.84rem;
  }

  .modal-price-box strong {
    font-size: 1.4rem;
  }

  .mini-modal h3,
  .checkout-card h3 {
    font-size: 1.2rem;
  }

  .whatsapp-support {
    width: 54px;
    height: 54px;
    font-size: 1.6rem;
  }
}

@media (max-width: 780px) {
  .hero-info {
    display: none;
  }
}

/* MARQUESINA LOGOS */
.logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 34px 0 38px;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .logo-marquee {
  background:
    radial-gradient(circle at top center, rgba(78, 161, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.01));
  border-top-color: rgba(17, 17, 17, 0.07);
  border-bottom-color: rgba(17, 17, 17, 0.07);
}

.logo-marquee::before,
.logo-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-soft), transparent);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-soft), transparent);
}

.logo-marquee-head {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.logo-marquee-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.18);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-marquee-head h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.logo-marquee-head p {
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
}

.logo-track {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: scrollLeft 42s linear infinite;
  will-change: transform;
}

.logo-row.reverse {
  animation: scrollRight 48s linear infinite;
}

.logo-row img {
  width: clamp(96px, 10vw, 132px);
  height: clamp(42px, 5vw, 54px);
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  padding: 10px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.9;
  filter: grayscale(0.18);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

body[data-theme="light"] .logo-row img {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(17, 17, 17, 0.08);
}

.logo-row img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(78, 161, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

@media (max-width: 780px) {
  .logo-marquee {
    padding: 28px 0 30px;
  }

  .logo-marquee::before,
  .logo-marquee::after {
    width: 44px;
  }

  .logo-marquee-head {
    margin-bottom: 18px;
  }

  .logo-marquee-head p {
    font-size: 0.95rem;
  }

  .logo-track {
    gap: 16px;
  }

  .logo-row {
    gap: 18px;
  }

  .logo-row img {
    width: 92px;
    height: 42px;
    padding: 8px 10px;
    border-radius: 14px;
  }
}

/* ============================= */
/* CUENTA CLIENTE / AUTH MODAL */
/* ============================= */

.account-access {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.account-access:hover {
  transform: translateY(-1px);
  border-color: rgba(229, 9, 20, 0.35);
}

/* AUTH MODAL */
.auth-card {
  width: min(100%, 920px);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  max-height: min(92vh, 900px);
  overflow: auto;
}

.shake-error {
  animation: shakeError 0.32s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}

.auth-top {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.12), rgba(229, 9, 20, 0.03));
  border: 1px solid rgba(229, 9, 20, 0.16);
  border-radius: 22px;
  padding: 22px;
  text-align: left;
  display: grid;
  gap: 12px;
}

.auth-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.auth-text {
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.auth-feature-list {
  display: grid;
  gap: 10px;
}

.auth-feature-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-theme="light"] .auth-feature-item {
  border-top-color: rgba(17, 17, 17, 0.08);
}

.auth-feature-item i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(229, 9, 20, 0.14);
  color: var(--primary);
}

.auth-feature-item span {
  color: var(--text-soft);
  line-height: 1.45;
}

.auth-main {
  display: grid;
  gap: 16px;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tab {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  background: var(--secondary);
  border: 1px solid var(--border);
  font-weight: 700;
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

/* FORM */
.auth-form {
  display: grid;
  gap: 14px;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--secondary);
  border: 1px solid var(--border);
  color: var(--text);
}

.auth-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auth-link-btn {
  font-size: 0.85rem;
  color: var(--primary);
}

.auth-status {
  margin-top: 10px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* CHECKOUT LOGIN NOTICE */
.checkout-auth-notice {
  border: 1px dashed var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 18px;
  background: var(--panel-2);
}

.checkout-auth-head {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.checkout-auth-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================= */
/* CAMPOS ESPECIALES RECARGA FF */
/* ============================= */

#gamePlayerIdGroup,
#gamePlayerNameGroup {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.08), rgba(229, 9, 20, 0.03));
  border: 1px solid rgba(229, 9, 20, 0.22);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.08);
}

#gamePlayerIdGroup label,
#gamePlayerNameGroup label {
  color: var(--primary);
  font-weight: 700;
}

#gamePlayerIdGroup input,
#gamePlayerNameGroup input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(229, 9, 20, 0.18);
}

body[data-theme="light"] #gamePlayerIdGroup,
body[data-theme="light"] #gamePlayerNameGroup {
  background: linear-gradient(180deg, rgba(229, 9, 20, 0.06), rgba(229, 9, 20, 0.02));
  border: 1px solid rgba(229, 9, 20, 0.16);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.05);
}

body[data-theme="light"] #gamePlayerIdGroup input,
body[data-theme="light"] #gamePlayerNameGroup input {
  background: #ffffff;
}

#gamePlayerIdGroup::before {
  content: "Datos de recarga";
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid rgba(229, 9, 20, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
}

@media (max-width: 780px) {
  #gamePlayerIdGroup,
  #gamePlayerNameGroup {
    padding: 12px;
    border-radius: 14px;
  }

  #gamePlayerIdGroup::before {
    font-size: 0.72rem;
    padding: 5px 9px;
    margin-bottom: 8px;
  }
}
/* ...Aquí está el contenido original del archivo que ya subiste... */

/* FOOTER */
.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  margin-top: 60px;
  color: var(--text-soft);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-brand p {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 400px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* MOBILE RESPONSIVE */
@media (max-width: 780px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    align-items: center;
  }

  .footer-brand p {
    margin-top: 12px;
    max-width: 100%;
  }
}

@media (max-width: 780px) {
  #authModal {
    align-items: flex-end;
    padding: 8px;
  }

  #authModal .auth-card {
    width: 100%;
    max-height: 96vh;
    min-height: auto;
    border-radius: 22px 22px 0 0;
    padding: 14px;
    overflow: auto;
  }

  #authModal .auth-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  #authModal .auth-top {
    padding: 14px;
    text-align: center;
    gap: 8px;
  }

  #authModal .auth-top h3 {
    font-size: 1.25rem;
    line-height: 1.08;
  }

  #authModal .auth-text {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  #authModal .auth-feature-list {
    display: none;
  }

  #authModal .auth-main {
    gap: 12px;
  }

  #authModal .auth-tabs {
    margin-bottom: 0;
    gap: 8px;
  }

  #authModal .auth-tab {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  #authModal .auth-form {
    gap: 12px;
  }

  #authModal .auth-inline {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  #authModal .auth-remember,
  #authModal .auth-link-btn,
  #authModal .auth-status {
    text-align: center;
    justify-content: center;
  }

  #authModal .whatsapp-field {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #authModal .country-select-dropdown {
    width: 100%;
    max-width: none;
    max-height: 240px;
  }
}
