/* ═══════════════════════════════════════════════════════════════
   BOOZE — Beer · Wine · Spirits
   Estilo: Logo rojo sobre crema — Playfair Display + Inter
   ═══════════════════════════════════════════════════════════════ */

/* Fuentes: ahora self-hosted en /static/css/fonts.css (enlazado en base.html).
   Antes había un @import a Google Fonts acá que bloqueaba el render en redes lentas. */

:root {
  --red:        #A1312D;
  --red-dark:   #7E1F1C;
  --red-light:  #C8443F;
  --navy:       #1E2D5A;
  --navy-dark:  #141E3E;
  --navy-light: #2D4280;
  --cream:      #ECEBE7;
  --cream-mid:  #E0DDD3;
  --cream-dark: #CFC9BC;
  --white:      #FFFFFF;
  --dark:       #1A1A1A;
  --gray:       #6B7280;
  --success:    #16A34A;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --sh-sm:  0 1px 6px rgba(0,0,0,0.07);
  --sh-md:  0 4px 20px rgba(0,0,0,0.1);
  --sh-lg:  0 8px 40px rgba(0,0,0,0.15);
  --sh-red: 0 4px 20px rgba(200,48,42,0.3);

  --t:      0.2s cubic-bezier(.4,0,.2,1);
  --t-slow: 0.32s cubic-bezier(.4,0,.2,1);

  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input,select,textarea { font-family:inherit; }

/* ─── LAYOUT ── */
.container { width:100%; max-width:480px; margin:0 auto; padding:0 16px; }

/* ─── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid var(--cream-dark);
  padding: calc(10px + var(--safe-t)) 16px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.navbar-logo-text {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  letter-spacing: -0.5px;
  line-height: 1;
}

.navbar-actions { display:flex; align-items:center; gap:2px; }

.navbar-logo { flex-shrink: 0; }
.navbar-link-wrap {
  flex: 1;
  display: flex;
  align-items: stretch;
  margin-left: 14px;
  background: var(--navy);
  border-radius: 12px;
  min-height: 48px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1.5px rgba(212,175,55,0.55),
    0 0 14px rgba(212,175,55,0.25);
  animation: navHeartbeat 1.8s ease-in-out infinite;
}

/* Latido tipo corazón — doble pulso suave */
@keyframes navHeartbeat {
  0%, 60%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1.5px rgba(212,175,55,0.55),
      0 0 14px rgba(212,175,55,0.25);
  }
  15% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 2px rgba(212,175,55,0.85),
      0 0 22px rgba(212,175,55,0.55),
      0 0 0 6px rgba(200,48,42,0.08);
  }
  30% { transform: scale(1); }
  42% {
    transform: scale(1.025);
    box-shadow:
      0 0 0 2px rgba(212,175,55,0.7),
      0 0 18px rgba(212,175,55,0.4);
  }
}

/* Shimmer dorado que recorre la barra */
.navbar-link-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(212,175,55,0.35) 48%,
    rgba(255,255,255,0.2) 52%,
    rgba(212,175,55,0.35) 56%,
    transparent 70%
  );
  background-size: 250% 100%;
  background-position: 200% 0;
  animation: navShimmer 4.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}
@keyframes navShimmer {
  0%, 35%   { background-position: 200% 0; }
  65%, 100% { background-position: -100% 0; }
}

/* Dot rojo "live" arriba a la derecha del wrap */
.navbar-link-wrap::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 56px; /* a la izquierda del separador del carrito */
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FF3B30;
  box-shadow: 0 0 0 0 rgba(255,59,48,0.6);
  animation: navLiveDot 1.6s ease-out infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes navLiveDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,48,0.65); }
  70%  { box-shadow: 0 0 0 8px rgba(255,59,48,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,48,0); }
}

/* Respetar accesibilidad: usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .navbar-link-wrap,
  .navbar-link-wrap::before,
  .navbar-link-wrap::after { animation: none; }
}
.navbar-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 8px 14px;
  line-height: 1;
}
.navbar-cart {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.12);
  color: var(--red);
  cursor: pointer;
  padding: 0;
}
.navbar-cart:active { opacity: 0.65; }
.navbar-cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  padding: 0 5px;
  background: var(--red);
  color: white;
  font-size: 10.5px;
  font-weight: 800;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--navy);
}
.navbar-cart-badge.visible { display: flex; }
.navbar-link-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.navbar-link-main {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  color: var(--cream);
  letter-spacing: -0.015em;
}
.navbar-link:active { transform: scale(0.98); }

.btn-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background var(--t);
  position: relative;
}
.btn-icon:active { background: var(--cream-mid); }

.cart-badge {
  position: absolute;
  top: 3px; right: 3px;
  background: var(--red);
  color: white;
  font-size: 9px;
  font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  padding: 0 4px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cream);
}
.cart-badge.visible { display: flex; }

/* ─── PAGE ── */
.page { padding-bottom: 100px; }

/* ─── FLOATING WHATSAPP BUTTON ── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 58px; height: 58px;
  background: #25D366;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 150;
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:active {
  transform: scale(0.92);
  box-shadow: 0 2px 10px rgba(37,211,102,0.35);
}

/* ─── HERO ── */
.hero {
  background: var(--cream);
  padding: 32px 24px 36px;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
}

/* Línea decorativa roja arriba */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}

/* Puntos decorativos de fondo */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--cream-dark) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-logo-container {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Fallback */
.hero-logo-fallback {
  position: relative;
  z-index: 1;
  display: none;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  letter-spacing: -2px;
}
.brand-sub {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 6px;
}
.brand-dots { color: var(--red); margin: 0 6px; }

/* ─── SECTION HEADERS ── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 16px 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.section-title .accent { color: var(--red); font-style: italic; }
.section-link { color: var(--red); font-size: 13px; font-weight: 600; }

/* ─── PROMO CARDS ── */
.promos-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px 16px;
  display: flex;
  gap: 12px;
}
.promos-scroll::-webkit-scrollbar { display: none; }

.promo-card {
  flex-shrink: 0;
  width: 260px;
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.promo-card::after {
  content: '';
  position: absolute;
  right: -24px; bottom: -24px;
  width: 96px; height: 96px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.promo-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.promo-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: white;
  line-height: 1.25;
  margin-bottom: 6px;
}
.promo-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ─── CATEGORY CHIPS ── */
.category-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 16px;
  display: flex;
  gap: 8px;
}
.category-scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  border-radius: 24px;
  font-size: 13px; font-weight: 600;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--sh-sm);
  border: 2px solid var(--cream-dark);
  transition: all var(--t);
  min-height: 44px;
  white-space: nowrap;
}
.cat-chip.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.cat-chip:active { transform: scale(0.95); }

/* ─── WINE CARDS ── */
.wines-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding: 4px 10px 16px;
}
.wine-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 1px solid var(--cream-dark);
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
}
.wine-card:active { transform: scale(0.97); }
.wine-card-img { width:100%; aspect-ratio:2/3; object-fit:cover; }
.wine-card-placeholder {
  width: 100%; aspect-ratio: 2/3;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-mid) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.wine-card-placeholder img { width:60%; opacity:0.65; }
.wine-icon { font-size: 36px; }
.wine-type-label {
  font-size: 8px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--navy); opacity: 0.45; text-transform: uppercase;
}
.wine-card-body { padding: 7px 8px 10px; }
.wine-card-type {
  font-size: 8px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--red); margin-bottom: 2px;
}
.wine-card-name {
  font-family: var(--font-serif);
  font-size: 12px; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin-bottom: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.wine-card-origin { font-size: 9px; color: var(--gray); margin-bottom: 6px; }
.wine-card-footer { display:flex; align-items:center; justify-content:space-between; gap:4px; }
.wine-price { font-size: 13px; font-weight: 700; color: var(--navy); }
.wine-price .currency { font-size: 9px; color: var(--gray); }
.btn-add {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex; align-items:center; justify-content:center;
  font-size: 17px; font-weight: 300;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(200,48,42,0.3);
  transition: background var(--t), transform var(--t);
}
.btn-add:active { background: var(--red-dark); transform: scale(0.88); }
.featured-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--gold); color: var(--navy);
  font-size: 9px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 2px 8px; border-radius: 10px;
}

/* ─── WINE DETAIL ── */
.wine-detail-img-wrap {
  background: var(--cream-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 200px;
  max-height: 260px;
  overflow: hidden;
}
.wine-detail-img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.wine-detail-placeholder {
  width:100%;
  min-height: 200px;
  background: var(--cream-mid);
  display:flex; align-items:center; justify-content:center;
  padding: 24px;
}
.wine-detail-placeholder img { max-height:160px; opacity:0.6; }
.wine-detail-body { padding: 20px 16px; }
.wine-detail-type {
  display: inline-flex; align-items:center; gap:6px;
  padding: 4px 12px; background: var(--cream-mid);
  border-radius: 20px; font-size: 11px; font-weight: 700;
  color: var(--navy); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.wine-detail-name {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 10px;
}
.wine-detail-meta { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:16px; }
.meta-tag { font-size:12px; color:var(--gray); display:flex; align-items:center; gap:4px; }
.wine-detail-price {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 700; color: var(--navy); margin-bottom: 16px;
}
.wine-detail-price .currency { font-size:18px; color:var(--gray); font-weight:500; }
.wine-detail-desc { font-size:15px; line-height:1.75; color:#444; margin-bottom:24px; }
.add-to-cart-section {
  background: var(--white);
  border-radius: var(--r-lg); padding:16px;
  box-shadow: var(--sh-sm); border: 1px solid var(--cream-dark);
  display:flex; align-items:center; gap:16px; margin-bottom:16px;
}
.qty-control {
  display:flex; align-items:center;
  background: var(--cream); border-radius:24px;
  border: 1px solid var(--cream-dark); overflow:hidden;
}
.qty-btn {
  width:40px; height:40px;
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:500; color:var(--navy); transition:background var(--t);
}
.qty-btn:active { background: var(--cream-mid); }
.qty-num { width:36px; text-align:center; font-size:17px; font-weight:700; color:var(--navy); }

/* ─── BUTTONS ── */
.btn {
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-size: 15px; font-weight: 600;
  transition: all var(--t);
  min-height: 50px;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-primary { background:var(--red); color:white; box-shadow:var(--sh-red); }
.btn-primary:active { background:var(--red-dark); transform:scale(0.98); }
.btn-secondary { background:var(--navy); color:white; }
.btn-secondary:active { background:var(--navy-dark); transform:scale(0.98); }
.btn-outline { border-color:var(--navy); color:var(--navy); }
.btn-outline:active { background:var(--navy); color:white; }
.btn-full { width:100%; }
.btn:disabled { opacity:0.5; pointer-events:none; }

/* ─── CART DRAWER ── */
.cart-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,0.5);
  z-index:200; opacity:0; pointer-events:none;
  transition:opacity var(--t-slow); backdrop-filter:blur(3px);
}
.cart-overlay.open { opacity:1; pointer-events:all; }
.cart-drawer {
  position:fixed; bottom:0; left:0; right:0; z-index:201;
  background:var(--white);
  border-radius:var(--r-xl) var(--r-xl) 0 0;
  padding-bottom:var(--safe-b);
  transform:translateY(100%); transition:transform var(--t-slow);
  max-height:85vh; display:flex; flex-direction:column;
}
.cart-drawer.open { transform:translateY(0); }
.cart-handle { width:36px; height:4px; background:var(--cream-dark); border-radius:2px; margin:12px auto 0; }
.cart-header {
  padding:14px 20px; border-bottom:1px solid var(--cream-dark);
  display:flex; align-items:center; justify-content:space-between;
}
.cart-header h2 { font-family:var(--font-serif); font-size:20px; font-weight:700; color:var(--navy); }
.cart-items { flex:1; overflow-y:auto; padding:8px 20px; }
.cart-item {
  display:flex; align-items:center; gap:12px;
  padding:12px 0; border-bottom:1px solid var(--cream-dark);
}
.cart-item:last-child { border-bottom:none; }
.cart-item-icon {
  width:48px; height:48px; background:var(--cream-mid);
  border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center;
  font-size:24px; flex-shrink:0; overflow:hidden;
}
.cart-item-icon img { width:100%; height:100%; object-fit:cover; }
.cart-item-info { flex:1; min-width:0; }
.cart-item-name { font-size:14px; font-weight:600; color:var(--navy); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:2px; }
.cart-item-price { font-size:12px; color:var(--gray); }
.cart-item-qty { display:flex; align-items:center; gap:6px; }
.cart-qty-btn {
  width:28px; height:28px; border-radius:50%;
  background:var(--cream-mid); border:1px solid var(--cream-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:700; color:var(--navy); transition:background var(--t);
}
.cart-qty-btn:active { background:var(--cream-dark); }
.cart-qty-num { font-size:14px; font-weight:700; width:22px; text-align:center; color:var(--navy); }
.cart-footer { padding:14px 20px; border-top:2px solid var(--cream-dark); background:var(--white); }
.cart-total { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.cart-total-label { font-size:15px; color:var(--gray); font-weight:500; }
.cart-total-amount { font-family:var(--font-serif); font-size:26px; font-weight:700; color:var(--navy); }
.cart-empty { text-align:center; padding:40px 20px; color:var(--gray); }
.cart-empty-icon { font-size:56px; margin-bottom:16px; }
.cart-empty h3 { font-family:var(--font-serif); font-size:20px; margin-bottom:8px; color:var(--navy); }
.cart-empty p { font-size:14px; line-height:1.5; }

/* Upsell banner en footer del carrito */
.cart-upsell {
  display: flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(135deg, #f8f3ee 0%, #efe6d8 100%);
  border: 1.5px solid var(--cream-dark);
  border-radius: 14px;
  padding: 11px 14px;
  margin-bottom: 12px;
}
.cart-upsell--5  { border-color: rgba(161,49,45,0.35); }
.cart-upsell--10 {
  background: linear-gradient(135deg, #fcefb4 0%, #f4dc7c 100%);
  border-color: #C8A84B;
}
.cart-upsell-icon { font-size: 22px; flex-shrink: 0; }
.cart-upsell-text { font-size: 12.5px; line-height: 1.35; color: var(--navy); }
.cart-upsell-text strong { display: block; font-size: 13.5px; font-weight: 800; }
.cart-upsell-text span { display: block; margin-top: 2px; }
.cart-upsell-text b { color: var(--red); font-weight: 800; }
.cart-upsell--10 .cart-upsell-text b { color: #7A5E12; }

/* ─── FORMS ── */
.order-page { padding:20px 16px; }
.order-summary {
  background:var(--white); border-radius:var(--r-md); padding:16px;
  margin-bottom:20px; box-shadow:var(--sh-sm); border:1px solid var(--cream-dark);
}
.order-summary-title {
  font-family:var(--font-serif); font-size:18px; font-weight:700; color:var(--navy);
  margin-bottom:12px; padding-bottom:10px; border-bottom:2px solid var(--cream-dark);
}
.order-item-row {
  display:flex; justify-content:space-between; font-size:14px;
  padding:7px 0; border-bottom:1px solid var(--cream-dark); color:var(--dark);
}
.order-item-row:last-child { border-bottom:none; }
.order-total-row {
  display:flex; justify-content:space-between;
  font-size:18px; font-weight:700; color:var(--navy);
  padding-top:12px; margin-top:4px; border-top:2px solid var(--navy);
}
.form-group { margin-bottom:16px; }
.form-label {
  display:block; font-size:11px; font-weight:700; color:var(--navy);
  margin-bottom:6px; text-transform:uppercase; letter-spacing:0.8px;
}
.form-label .required { color:var(--red); }
.form-input,.form-select,.form-textarea {
  width:100%; padding:13px 14px;
  border:2px solid var(--cream-dark); border-radius:var(--r-sm);
  font-size:16px; color:var(--dark); background:var(--white);
  transition:border-color var(--t); outline:none; -webkit-appearance:none;
}
.form-input:focus,.form-select:focus,.form-textarea:focus { border-color:var(--navy); }
.form-input.error { border-color:var(--red); }
.form-textarea { resize:vertical; min-height:80px; }

/* ─── CONFIRM ── */
.confirm-hero {
  background:var(--navy); padding:48px 16px 40px;
  text-align:center; position:relative; overflow:hidden;
}
.confirm-hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:3px; background:var(--red);
}
.confirm-icon {
  width:80px; height:80px; background:var(--red); border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:36px;
  margin:0 auto 20px;
  box-shadow:0 0 0 10px rgba(200,48,42,0.2),0 0 0 20px rgba(200,48,42,0.1);
}
.confirm-title { font-family:var(--font-serif); font-size:28px; font-weight:700; color:white; margin-bottom:8px; }
.confirm-subtitle { font-size:14px; color:rgba(255,255,255,0.65); }

/* ─── STATUS ── */
.status-badge {
  display:inline-flex; align-items:center; gap:4px;
  padding:3px 10px; border-radius:20px;
  font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.5px;
}
.status-pendiente  { background:#FEF3C7; color:#92400E; }
.status-confirmado { background:#D1FAE5; color:#065F46; }
.status-en_camino  { background:#DBEAFE; color:#1E40AF; }
.status-entregado  { background:#F3F4F6; color:#374151; }
.status-cancelado  { background:#FEE2E2; color:#991B1B; }

/* ─── TOAST ── */
.toast-container {
  position:fixed; top:72px; left:50%; transform:translateX(-50%);
  z-index:300; display:flex; flex-direction:column; gap:8px;
  pointer-events:none; width:calc(100% - 32px); max-width:400px;
}
.toast {
  background:var(--navy); color:white;
  padding:11px 16px; border-radius:var(--r-md);
  font-size:14px; font-weight:500;
  display:flex; align-items:center; gap:8px;
  box-shadow:var(--sh-lg);
  animation:toastIn .25s ease, toastOut .3s ease 2.7s forwards;
}
.toast.success { background:#15803D; }
.toast.error   { background:var(--red); }
@keyframes toastIn  { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
@keyframes toastOut { from{opacity:1} to{opacity:0;transform:translateY(-10px)} }

/* ─── MISC ── */
.divider { height:8px; background:var(--cream-mid); }
.back-btn { display:inline-flex; align-items:center; gap:6px; padding:12px 16px; color:var(--navy); font-size:15px; font-weight:600; }
.empty-state { text-align:center; padding:60px 20px; color:var(--gray); }
.empty-state-icon { font-size:60px; margin-bottom:16px; opacity:0.4; }
.empty-state h3 { font-family:var(--font-serif); font-size:22px; color:var(--navy); margin-bottom:8px; }
.empty-state p { font-size:14px; line-height:1.6; }
.search-bar { padding:12px 16px; position:relative; }
.search-input {
  width:100%; padding:12px 16px 12px 44px;
  border:2px solid var(--cream-dark); border-radius:24px;
  font-size:15px; background:var(--white); color:var(--dark);
  outline:none; transition:border-color var(--t);
}
.search-input:focus { border-color:var(--navy); }
.search-icon { position:absolute; left:32px; top:50%; transform:translateY(-50%); color:var(--gray); pointer-events:none; }
.spinner { width:20px; height:20px; border:2px solid rgba(255,255,255,0.3); border-top-color:white; border-radius:50%; animation:spin .6s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }
.related-scroll { overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; padding:4px 16px 16px; display:flex; gap:12px; }
.related-scroll::-webkit-scrollbar { display:none; }
.related-card { flex-shrink:0; width:130px; background:var(--white); border-radius:var(--r-md); overflow:hidden; box-shadow:var(--sh-sm); border:1px solid var(--cream-dark); }
.related-card-img { width:100%; aspect-ratio:1; object-fit:cover; background:var(--cream-mid); display:flex; align-items:center; justify-content:center; font-size:36px; }
.related-card-body { padding:10px; }
.related-card-name { font-size:12px; font-weight:600; color:var(--navy); margin-bottom:3px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; line-height:1.3; }
.related-card-price { font-size:13px; font-weight:700; color:var(--red); }
.cta-banner {
  display:block;
  background:var(--navy);
  border-radius:var(--r-lg); padding:22px 20px;
  text-align:center; box-shadow:var(--sh-md);
  position:relative; overflow:hidden;
}
.cta-banner::before { content:''; position:absolute; right:-30px; top:-30px; width:120px; height:120px; background:rgba(255,255,255,0.04); border-radius:50%; }
.cta-banner-eyebrow { font-size:10px; font-weight:700; letter-spacing:3px; color:rgba(255,255,255,0.5); text-transform:uppercase; margin-bottom:5px; }
.cta-banner-title { font-family:var(--font-serif); font-size:22px; font-weight:700; color:white; margin-bottom:3px; }
.cta-banner-sub { font-size:13px; color:rgba(255,255,255,0.65); }

/* ─── ADMIN ── */
.admin-layout { display:flex; min-height:100vh; background:#F1F5F9; }
.admin-sidebar {
  width:240px; background:var(--navy); flex-shrink:0;
  display:flex; flex-direction:column;
  position:fixed; top:0; left:0; bottom:0; z-index:50;
  transform:translateX(-100%); transition:transform var(--t-slow);
}
.admin-sidebar.open { transform:translateX(0); }
.admin-sidebar-logo { padding:20px 20px 16px; border-bottom:1px solid rgba(255,255,255,0.08); }
.admin-sidebar-logo img { height:36px; object-fit:contain; }
.admin-sidebar-logo .admin-sub { font-size:9px; color:rgba(255,255,255,0.3); letter-spacing:2px; text-transform:uppercase; margin-top:4px; }
.admin-nav { padding:8px 0; flex:1; overflow-y:auto; }
.admin-nav a {
  display:flex; align-items:center; gap:10px;
  padding:11px 20px; color:rgba(255,255,255,0.55);
  font-size:14px; font-weight:500;
  transition:all var(--t); border-left:3px solid transparent;
}
.admin-nav a:hover { color:white; background:rgba(255,255,255,0.07); }
.admin-nav a.active { color:white; background:rgba(255,255,255,0.1); border-left-color:var(--red); }
.nav-icon { font-size:16px; width:20px; text-align:center; }
.admin-logout { padding:14px 20px; border-top:1px solid rgba(255,255,255,0.08); }
.admin-main { flex:1; min-width:0; }
.admin-topbar {
  background:white; padding:13px 20px;
  display:flex; align-items:center; gap:12px;
  border-bottom:1px solid var(--cream-dark);
  position:sticky; top:0; z-index:40; box-shadow:var(--sh-sm);
}
.admin-menu-btn { width:40px; height:40px; border-radius:var(--r-sm); background:var(--cream); display:flex; align-items:center; justify-content:center; color:var(--navy); }
.admin-topbar h1 { font-family:var(--font-serif); font-size:20px; font-weight:700; color:var(--navy); flex:1; }
.admin-content { padding:20px 16px; max-width:900px; }
.admin-stats { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-bottom:20px; }
.stat-card { background:white; border-radius:var(--r-md); padding:16px; box-shadow:var(--sh-sm); border:1px solid var(--cream-dark); }
.stat-icon { width:40px; height:40px; border-radius:var(--r-sm); display:flex; align-items:center; justify-content:center; font-size:18px; margin-bottom:10px; }
.stat-icon.red   { background:#FEE2E2; }
.stat-icon.navy  { background:#DBEAFE; }
.stat-icon.gold  { background:#FEF3C7; }
.stat-icon.green { background:#D1FAE5; }
.stat-num { font-family:var(--font-serif); font-size:28px; font-weight:700; color:var(--navy); line-height:1; margin-bottom:4px; }
.stat-label { font-size:12px; color:var(--gray); font-weight:500; }
.admin-table-wrap { background:white; border-radius:var(--r-md); box-shadow:var(--sh-sm); overflow-x:auto; margin-bottom:16px; border:1px solid var(--cream-dark); }
.admin-table { width:100%; border-collapse:collapse; font-size:13px; }
.admin-table th { text-align:left; padding:11px 14px; background:var(--cream); font-weight:700; color:var(--navy); font-size:10px; text-transform:uppercase; letter-spacing:1px; border-bottom:2px solid var(--cream-dark); white-space:nowrap; }
.admin-table td { padding:11px 14px; border-bottom:1px solid var(--cream-dark); color:var(--dark); vertical-align:middle; }
.admin-table tr:last-child td { border-bottom:none; }
.admin-table tr:hover td { background:#FAFAFA; }
.admin-form-card { background:white; border-radius:var(--r-md); padding:18px; box-shadow:var(--sh-sm); margin-bottom:14px; border:1px solid var(--cream-dark); }
.admin-form-card h3 { font-family:var(--font-serif); font-size:16px; font-weight:700; color:var(--navy); margin-bottom:16px; padding-bottom:10px; border-bottom:2px solid var(--cream-dark); }
.sidebar-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.4); z-index:49; opacity:0; pointer-events:none; transition:opacity var(--t-slow); }
.sidebar-overlay.open { opacity:1; pointer-events:all; }
.admin-login-page {
  min-height:100vh; background:var(--cream);
  display:flex; align-items:center; justify-content:center; padding:20px;
}
.admin-login-card { background:white; border-radius:var(--r-xl); padding:32px 24px; width:100%; max-width:360px; box-shadow:var(--sh-lg); border:1px solid var(--cream-dark); }
.admin-login-logo { display:block; height:80px; margin:0 auto 8px; object-fit:contain; }
.admin-login-sub { text-align:center; font-size:11px; color:var(--gray); letter-spacing:2px; text-transform:uppercase; margin-bottom:28px; }
.flash-error { background:#FEE2E2; color:#991B1B; padding:11px 14px; border-radius:var(--r-sm); font-size:14px; margin-bottom:14px; border-left:3px solid var(--red); }
.flash-success { background:#D1FAE5; color:#065F46; padding:11px 14px; border-radius:var(--r-sm); font-size:14px; margin-bottom:14px; border-left:3px solid var(--success); }
.btn-sm { padding:5px 12px; font-size:12px; min-height:30px; border-radius:6px; }
.btn-danger { background:var(--red); color:white; }
.btn-edit   { background:var(--navy); color:white; }
.img-preview { width:72px; height:72px; border-radius:var(--r-sm); object-fit:cover; border:2px solid var(--cream-dark); }
.img-placeholder-sm { width:72px; height:72px; border-radius:var(--r-sm); background:var(--cream-mid); display:flex; align-items:center; justify-content:center; font-size:28px; }
.toggle-wrap { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.toggle { position:relative; width:44px; height:24px; flex-shrink:0; }
.toggle input { opacity:0; width:0; height:0; position:absolute; }
.toggle-slider { position:absolute; inset:0; background:var(--cream-dark); border-radius:12px; cursor:pointer; transition:background var(--t); }
.toggle-slider::before { content:''; position:absolute; width:18px; height:18px; left:3px; top:3px; background:white; border-radius:50%; transition:transform var(--t); box-shadow:var(--sh-sm); }
.toggle input:checked + .toggle-slider { background:var(--red); }
.toggle input:checked + .toggle-slider::before { transform:translateX(20px); }

/* ─── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation:fadeUp .35s ease both; }
.wine-card { opacity:0; animation:fadeUp .3s ease forwards; }
.wine-card:nth-child(1){animation-delay:0s}
.wine-card:nth-child(2){animation-delay:.05s}
.wine-card:nth-child(3){animation-delay:.1s}
.wine-card:nth-child(4){animation-delay:.15s}
.wine-card:nth-child(5){animation-delay:.2s}
.wine-card:nth-child(6){animation-delay:.25s}
.wine-card:nth-child(n+7){animation-delay:.3s}

@media (min-width:640px) {
  .container { padding:0 24px; }
  .wines-grid { grid-template-columns:repeat(4,1fr); gap:12px; padding:4px 20px 20px; }
  .wine-card-name { font-size:13px; }
  .wine-price { font-size:14px; }
  .admin-sidebar { transform:translateX(0); position:sticky; height:100vh; top:0; }
  .admin-menu-btn { display:none !important; }
  .sidebar-overlay { display:none !important; }
  .admin-content { padding:24px; }
}

/* ─── CLUB BOOZE PAGE ── */
.club-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a8a 100%);
  padding: 48px 24px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.club-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,48,42,0.25) 0%, transparent 60%);
  pointer-events: none;
}
.club-badge-top {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.club-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  color: white;
  margin-bottom: 12px;
}
.club-title .accent { color: #e87878; }
.club-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}
.benefit-card {
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}
.benefit-icon { font-size: 28px; margin-bottom: 8px; }
.benefit-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.benefit-desc { font-size: 12px; color: var(--gray); line-height: 1.4; }

.plan-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.plan-card {
  background: white;
  border: 1.5px solid var(--cream-dark);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
}
.plan-card--featured {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(30,45,90,0.12);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-currency { font-size: 20px; vertical-align: super; font-weight: 700; }
.plan-period { font-size: 14px; font-weight: 400; color: var(--gray); }
.plan-wines {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 13px;
  line-height: 2;
  color: var(--navy);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial-card {
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 16px;
}
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 8px; }
.testimonial-text { font-size: 14px; color: var(--text); font-style: italic; line-height: 1.5; margin-bottom: 8px; }
.testimonial-author { font-size: 12px; color: var(--gray); font-weight: 600; }

/* Club Steps */
.club-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.club-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 12px;
  padding: 14px 16px;
}
.club-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.club-step-text {
  display: flex;
  flex-direction: column;
}
.club-step-text strong {
  font-size: 14px;
  color: var(--navy);
}
.club-step-text span {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

/* Tier Cards */
.tier-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.tier-card {
  background: white;
  border: 1.5px solid var(--cream-dark);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.tier-card--featured {
  border-color: var(--navy);
  box-shadow: 0 4px 24px rgba(30,45,90,0.12);
}
.tier-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--navy);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 12px 6px;
  border-radius: 0 0 8px 8px;
}
.tier-header {
  padding: 24px 20px 16px;
  text-align: center;
}
.tier-header--socio {
  background: linear-gradient(135deg, #f8f4ef 0%, #f0e8dc 100%);
}
.tier-header--profundo {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4a8a 100%);
  color: white;
}
.tier-icon {
  font-size: 36px;
  margin-bottom: 8px;
}
.tier-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}
.tier-header--profundo .tier-name { color: white; }
.tier-tagline {
  font-size: 13px;
  opacity: 0.7;
}
.tier-body {
  padding: 20px;
}
.tier-how {
  background: var(--cream);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.tier-how-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}
.tier-how-rule {
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}
.tier-how-or {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
  margin: 4px 0;
  font-style: italic;
}
.tier-benefits {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 13px;
  line-height: 2.1;
  color: var(--navy);
}
.tier-cta {
  background: linear-gradient(135deg, #f0f7f0, #e8f5e8);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: center;
}
.tier-cta-text {
  font-size: 13px;
  font-weight: 600;
  color: #2d6a2d;
}
.tier-note {
  margin-top: 20px;
  background: white;
  border: 1px dashed var(--cream-dark);
  border-radius: 12px;
  padding: 16px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  text-align: center;
}
.tier-note strong {
  color: var(--navy);
}

@media (min-width: 640px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .tier-cards { flex-direction: row; }
  .tier-card { flex: 1; }
  .club-steps { flex-direction: row; }
  .club-step { flex: 1; }
  .testimonials { flex-direction: row; }
  .testimonial-card { flex: 1; }
}

/* ─── CLUB LOGOTYPE ── */
.club-hero {
  background: linear-gradient(165deg, #0b1628 0%, var(--navy) 45%, #0b1628 100%);
  padding: 52px 24px 44px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.club-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(200,168,75,0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* Partículas animadas */
.club-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  color: rgba(200,168,75,0.25);
  font-size: 14px;
  animation: particleDrift linear infinite;
}
.particle:nth-child(1) { left:8%;  top:15%; font-size:10px; animation-duration:12s; animation-delay:0s; }
.particle:nth-child(2) { left:88%; top:22%; font-size:14px; animation-duration:16s; animation-delay:2s; }
.particle:nth-child(3) { left:50%; top:70%; font-size:8px;  animation-duration:10s; animation-delay:4s; }
.particle:nth-child(4) { left:20%; top:78%; font-size:12px; animation-duration:14s; animation-delay:1s; }
.particle:nth-child(5) { left:75%; top:65%; font-size:10px; animation-duration:18s; animation-delay:3s; }
@keyframes particleDrift {
  0%   { opacity:0; transform:translateY(0) rotate(0deg); }
  20%  { opacity:1; }
  80%  { opacity:0.6; }
  100% { opacity:0; transform:translateY(-40px) rotate(45deg); }
}

.club-hero-content {
  position: relative;
  z-index: 1;
}

/* El logotipo estilizado */
.club-logotype {
  display: inline-block;
  text-align: center;
  margin-bottom: 20px;
}
.club-logotype-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 6px;
}
.club-logotype-eyebrow span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 4px;
  color: rgba(200,168,75,0.65);
  text-transform: uppercase;
  white-space: nowrap;
}
.cl-rule {
  flex: 1;
  height: 1px;
  background: rgba(200,168,75,0.3);
  max-width: 40px;
}
.cl-rule--gold {
  background: rgba(200,168,75,0.4);
}
.club-logotype-word {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: -4px;
}
.club-logotype-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 80px;
  font-weight: 900;
  font-style: italic;
  line-height: 0.95;
  letter-spacing: -3px;
  background: linear-gradient(135deg, #e8c96e 0%, #f5e4a0 35%, #c8a84b 55%, #a07820 85%, #c8a84b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 12px rgba(200,168,75,0.35));
}
.club-logotype-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-top: 6px;
}
.club-logotype-foot span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  white-space: nowrap;
}

.club-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Mini tiers en el hero */
.club-hero-tiers {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
}
.club-hero-divider {
  color: rgba(200,168,75,0.5);
  font-size: 14px;
  display: flex;
  align-items: center;
}
.club-hero-tier {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 12px 16px;
  text-align: center;
  backdrop-filter: blur(4px);
  flex: 1;
  width: 0;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.club-hero-tier--gold {
  background: rgba(200,168,75,0.12);
  border-color: rgba(200,168,75,0.3);
}
.cht-icon { font-size: 22px; margin-bottom: 4px; }
.cht-name { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.8); margin-bottom: 3px; }
.cht-perk { font-size: 11px; color: rgba(200,168,75,0.9); font-weight: 600; }

/* ─── CLUB TEASER EN LANDING ── */
.club-teaser-section {
  background: linear-gradient(135deg, #0b1628 0%, var(--navy) 60%, #0f1e3a 100%);
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}
.club-teaser-section::before {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(200,168,75,0.15), transparent 70%);
  pointer-events: none;
}
.club-teaser-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.club-teaser-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ctl-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 3px;
  color: rgba(200,168,75,0.7);
  text-transform: uppercase;
}
.ctl-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: white;
}
.ctl-name em {
  font-style: italic;
  background: linear-gradient(90deg, #e8c96e, #c8a84b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.club-teaser-claim {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  margin: 0;
}
.club-teaser-tiers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.ctt-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
}
.ctt-pill--gold {
  background: rgba(200,168,75,0.15);
  border-color: rgba(200,168,75,0.35);
  color: #e8c96e;
}
.club-teaser-cta {
  display: inline-block;
  background: linear-gradient(90deg, #c8a84b, #e8c96e);
  color: #0b1628;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 24px;
  align-self: flex-start;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(200,168,75,0.3);
}
.club-teaser-cta:active { transform: scale(0.97); }

/* ── WHATSAPP SHEET ── */
.wa-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  backdrop-filter: blur(2px);
}
.wa-overlay.active { display: block; }

.wa-sheet {
  position: fixed;
  bottom: -100%;
  left: 0; right: 0;
  background: white;
  border-radius: 24px 24px 0 0;
  z-index: 201;
  padding: 12px 0 40px;
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.18);
}
.wa-sheet.active { bottom: 0; }

.wa-handle {
  width: 40px; height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 12px;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 16px;
}
.wa-header h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
  margin: 0;
}

.wa-branches {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
}

.wa-branch-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--cream);
  border: 1.5px solid var(--cream-dark);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.wa-branch-btn:active {
  transform: scale(0.97);
  border-color: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,0.2);
}

.wa-branch-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.wa-branch-info { flex: 1; }
.wa-branch-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.wa-branch-num {
  font-size: 12px;
  color: var(--gray);
}

/* ═══════════════════ FOOTER · CONTADOR DE VISITAS (mini) ═══════════════════ */
.site-footer {
  /* padding-bottom generoso: deja la barrita por encima de los botones
     flotantes (WhatsApp y "Los elegidos") para que no tapen el ojo */
  padding: 20px 16px calc(84px + var(--safe-b));
  text-align: center;
}
.sf-counter {
  display: inline-flex; align-items: center; gap: 6px;
  white-space: nowrap;                 /* ojo + número + "visitas" en un renglón */
  padding: 6px 14px;                   /* barrita que apenas envuelve al texto */
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: .4px;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
}
.sf-counter #sf-count-total { font-weight: 600; color: var(--navy); }
.sf-eye { color: var(--red); opacity: .85; flex: none; }
