/* ==========================================================================
   PAISANA BEBIDAS - SISTEMA DE DISEÑO Y ESTILOS
   Identidad: Turquesa Artesanal / Mostaza Cálido / Borgoña Artesanal / Obsidian
   ========================================================================== */

:root {
  /* Paleta de Colores Extraída de la Identidad de Marca */
  --teal-primary: #3ca1a4;
  --teal-light: #58c6c9;
  --teal-dark: #236f72;
  --teal-glow: rgba(60, 161, 164, 0.4);
  --teal-subtle: rgba(60, 161, 164, 0.12);

  --gold-primary: #e5aa38;
  --gold-light: #f6be4e;
  --gold-dark: #b88220;
  --gold-glow: rgba(229, 170, 56, 0.35);
  --gold-subtle: rgba(229, 170, 56, 0.12);

  --wine-primary: #582029;
  --wine-light: #7b2a37;
  --wine-dark: #3a1219;
  --wine-glow: rgba(88, 32, 41, 0.45);

  /* Fondos y Superficies */
  --bg-main: #0c1017;
  --bg-secondary: #111722;
  --bg-card: #151e2b;
  --bg-card-hover: #1c2738;
  --bg-surface: rgba(17, 23, 34, 0.88);

  /* Estados & Utilidades */
  --accent-green: #10b981;
  --accent-green-glow: rgba(16, 185, 129, 0.3);
  --accent-red: #ef4444;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-teal: #a5d8da;
  --text-dim: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-teal: rgba(60, 161, 164, 0.35);
  --border-active: rgba(229, 170, 56, 0.5);

  /* Sombras y Luces */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
  --shadow-teal: 0 8px 25px rgba(60, 161, 164, 0.25);
  --shadow-gold: 0 8px 25px rgba(229, 170, 56, 0.2);
  --shadow-wine: 0 8px 25px rgba(88, 32, 41, 0.3);

  /* Tipografía */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --nav-height: 74px;
  --bottom-bar-height: 64px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-bar-height) + 16px);
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-card-hover);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--teal-primary);
}

/* Tipografía de Encabezados */
h1, h2, h3, .font-serif {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
}

/* Glassmorphism */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
}

/* Contenedor General */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #3a1219, #236f72 50%, #3a1219);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: 0.04em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(229, 170, 56, 0.25);
}

.announcement-bar .badge-pill {
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-weight: 700;
}

@media (max-width: 600px) {
  .announcement-hide-mobile {
    display: none;
  }
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.main-header.scrolled {
  background: rgba(12, 16, 23, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-teal);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  transition: transform var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 16px var(--teal-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-badge {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 0 22px var(--gold-glow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 70%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal-light);
  font-weight: 700;
  margin-top: 2px;
}

/* Search Bar (Desktop) */
.header-search {
  flex: 1;
  max-width: 460px;
  position: relative;
  display: none;
}

@media (min-width: 768px) {
  .header-search {
    display: block;
  }
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrapper i.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.search-input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.search-input:focus {
  border-color: var(--teal-primary);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: none;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  text-decoration: none;
}

.action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--teal-primary);
  transform: translateY(-2px);
}

.action-btn-wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
  font-size: 1.3rem;
}

.action-btn-wa:hover {
  background: #25d366;
  color: #000;
  border-color: #25d366;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.4);
}

.cart-btn-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  width: auto;
  background: linear-gradient(135deg, var(--teal-dark), #174b4d);
  border: 1px solid var(--border-teal);
  box-shadow: var(--shadow-teal);
}

.cart-btn-desktop:hover {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.cart-badge {
  background: var(--gold-primary);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-total-preview {
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
}

/* Mobile Search Bar */
.mobile-search-section {
  padding: 10px 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  display: block;
}

@media (min-width: 768px) {
  .mobile-search-section {
    display: none;
  }
}

/* ==========================================================================
   HERO / BANNER DE IMPACTO
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 32px 0 20px;
  overflow: hidden;
}

.hero-banner {
  background: radial-gradient(circle at 85% 25%, rgba(60, 161, 164, 0.28) 0%, rgba(88, 32, 41, 0.35) 45%, rgba(17, 23, 34, 0.96) 80%),
              linear-gradient(135deg, #131a26 0%, #0c1017 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(60, 161, 164, 0.25);
  padding: 36px 24px;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-banner {
    padding: 48px 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 32px;
  }
}

.hero-decor-orb {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: var(--radius-full);
  filter: blur(50px);
  pointer-events: none;
}

.hero-orb-teal {
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
  top: -120px;
  right: -60px;
}

.hero-orb-gold {
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  bottom: -100px;
  left: 20%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 170, 56, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-tag-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(135deg, var(--teal-light), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.9rem;
  }
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-item i {
  color: var(--gold-primary);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-primary));
  color: #fff;
  border: 1px solid var(--gold-primary);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-primary), var(--teal-light));
  border-color: #fff;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--teal-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.hero-visual {
  display: none;
}

@media (min-width: 768px) {
  .hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
  }
}

.hero-logo-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge-glow-ring {
  width: 170px;
  height: 170px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.hero-badge-glow-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: var(--radius-full);
  background: conic-gradient(from 0deg, var(--teal-primary), var(--gold-primary), var(--wine-light), var(--teal-primary));
  opacity: 0.45;
  filter: blur(12px);
  animation: rotateGlow 12s linear infinite;
}

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

@keyframes floatBadge {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-12px) rotate(3deg); }
}

.hero-big-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.7));
}

.hero-card-float {
  background: rgba(21, 30, 43, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-active);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.hero-card-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   NAVEGACIÓN DE PESTAÑAS PRINCIPALES
   ========================================================================== */
.categories-nav-section {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: rgba(12, 16, 23, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0 8px;
}

.category-tabs-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.category-tabs-container::-webkit-scrollbar {
  display: none;
}

.category-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.category-tab-btn i {
  font-size: 1rem;
}

.category-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
  border-color: var(--teal-primary);
}

.category-tab-btn.active {
  background: linear-gradient(135deg, var(--teal-dark), #1a5153);
  color: #ffffff;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 16px var(--teal-glow);
}

.category-tab-btn.active i {
  color: var(--gold-primary);
}

/* ==========================================================================
   SUB-PESTAÑAS / CHIPS DE VARIETALES Y SUBCATEGORÍAS
   ========================================================================== */
.subcategories-bar {
  padding: 14px 0 6px;
  background: var(--bg-main);
}

.subcategories-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.subcategories-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
  flex: 1;
}

.subcategories-chips::-webkit-scrollbar {
  display: none;
}

.subchip-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.subchip-btn:hover {
  color: var(--text-main);
  background: rgba(60, 161, 164, 0.15);
  border-color: var(--teal-primary);
}

.subchip-btn.active {
  background: var(--gold-primary);
  color: #000;
  border-color: var(--gold-light);
  font-weight: 700;
  box-shadow: 0 2px 10px var(--gold-glow);
}

/* Controls (Sort & Counter) */
.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.items-counter {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.sort-select-wrap {
  position: relative;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 6px 28px 6px 12px;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.sort-select:focus {
  border-color: var(--teal-primary);
}

.sort-select-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRODUCT GRID & CARDS
   ========================================================================== */
.catalog-section {
  padding: 16px 0 48px;
}

.section-header-wrap {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-normal);
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-teal);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(60, 161, 164, 0.15);
}

.product-media {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Ratio 1:1 */
  background: #0d1117;
  overflow: hidden;
  cursor: pointer;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-badges-wrap {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge-tag {
  background: linear-gradient(135deg, var(--teal-dark), #174f51);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.03em;
  border: 1px solid var(--gold-primary);
  box-shadow: var(--shadow-sm);
}

.badge-tag.offer {
  background: linear-gradient(135deg, #b91c1c, #7f1d1d);
  border-color: #fca5a5;
}

.quick-view-trigger {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(17, 23, 34, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  cursor: pointer;
}

.product-card:hover .quick-view-trigger {
  opacity: 1;
}

@media (max-width: 768px) {
  .quick-view-trigger {
    opacity: 1;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
}

.product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .product-body {
    padding: 16px;
  }
}

.product-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.product-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-light);
  letter-spacing: 0.05em;
}

.product-vol-tag {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 600;
}

.product-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.4em;
  cursor: pointer;
}

@media (min-width: 768px) {
  .product-name {
    font-size: 1rem;
  }
}

.product-name:hover {
  color: var(--gold-light);
}

.product-details-brief {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-box {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.current-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
}

@media (min-width: 768px) {
  .current-price {
    font-size: 1.15rem;
  }
}

.btn-add-cart {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal-primary));
  border: 1px solid var(--gold-primary);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.btn-add-cart:hover {
  background: var(--gold-primary);
  color: #000;
  border-color: #fff;
  transform: scale(1.08);
}

.btn-add-cart:active {
  transform: scale(0.95);
}

/* Empty State */
.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-subtle);
}

.empty-catalog i {
  font-size: 3rem;
  color: var(--teal-light);
  margin-bottom: 16px;
}

.empty-catalog h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.empty-catalog p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   PRODUCT DETAIL MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-teal);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-content-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--teal-primary);
  color: #000;
  transform: rotate(90deg);
}

.modal-grid-layout {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .modal-grid-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

.modal-image-col {
  position: relative;
  min-height: 260px;
  background: #0d1117;
}

.modal-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-col {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.modal-category-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.modal-product-title {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.modal-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 16px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.modal-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.modal-pairing-box {
  background: rgba(60, 161, 164, 0.12);
  border-left: 3px solid var(--teal-primary);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.modal-action-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quantity-controller {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: transparent;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

.qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-display {
  width: 36px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   CART DRAWER & CHECKOUT
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-teal);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-header {
  padding: 18px 20px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.free-shipping-bar {
  padding: 10px 20px;
  background: rgba(16, 185, 129, 0.08);
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.78rem;
}

.shipping-progress-bg {
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: 6px;
  overflow: hidden;
}

.shipping-progress-fill {
  height: 100%;
  background: var(--accent-green);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.cart-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.cart-empty-state i {
  font-size: 2.8rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #0d1117;
  flex-shrink: 0;
}

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

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}

.cart-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 2px;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 2px 6px;
}

.cart-qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0 4px;
  font-weight: 700;
}

.cart-qty-ctrl span {
  font-size: 0.8rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-delete-item {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.cart-delete-item:hover {
  color: var(--accent-red);
}

.cart-footer {
  padding: 18px 20px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-summary-total span:last-child {
  color: var(--gold-light);
  font-size: 1.25rem;
}

.btn-whatsapp-order {
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-order:hover {
  background: linear-gradient(135deg, #2ae771, #1aa392);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   FORMULARIOS DE CHECKOUT & MODALES
   ========================================================================== */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--teal-primary);
  box-shadow: 0 0 0 2px var(--teal-glow);
}

.radio-group-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.radio-card-label input {
  display: none;
}

.radio-card-label.selected {
  background: rgba(60, 161, 164, 0.15);
  border-color: var(--teal-primary);
  color: var(--teal-light);
}

/* Age Gate Modal */
.age-gate-card {
  text-align: center;
  padding: 32px 24px;
  max-width: 440px;
}

.age-gate-brand-wrap {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 30px var(--gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.age-gate-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.age-gate-card p {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin-bottom: 20px;
  line-height: 1.45;
}

.age-gate-buttons {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-bar-height);
  background: rgba(12, 16, 23, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.bottom-nav-item {
  background: none;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  width: 20%;
  height: 100%;
  transition: var(--transition-fast);
}

.bottom-nav-item i {
  font-size: 1.1rem;
}

.bottom-nav-item.active {
  color: var(--teal-light);
}

.bottom-nav-item.active i {
  color: var(--gold-primary);
}

.bottom-nav-badge {
  position: absolute;
  top: 6px;
  right: 20%;
  background: var(--gold-primary);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  box-shadow: 0 0 12px var(--teal-glow);
  border-radius: var(--radius-full);
}

.footer-brand h4 {
  font-family: var(--font-serif);
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
}

.footer-tagline {
  font-size: 0.7rem;
  color: var(--teal-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-brand p {
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--teal-primary);
  color: #000;
  transform: translateY(-2px);
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ==========================================================================
   ESTILOS LEGALES & CUMPLIMIENTO NORMATIVO (Ley 24.788, Res. 424/2020, Ley 25.326)
   ========================================================================== */
.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  cursor: pointer;
  padding: 0;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.footer-link-btn:hover {
  color: var(--gold-light);
}

.footer-link-btn.regret-btn {
  color: #fca5a5;
}

.footer-link-btn.regret-btn:hover {
  color: #f87171;
  text-decoration: underline;
}

.footer-external-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-external-link:hover {
  color: var(--teal-light);
  text-decoration: underline;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

.age-gate-legal-note {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: #fca5a5;
  text-align: left;
}

.regret-legal-badge {
  background: rgba(229, 170, 56, 0.1);
  border: 1px solid rgba(229, 170, 56, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--gold-light);
  line-height: 1.4;
}

.checkout-legal-notice {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--teal-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 8px 12px;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.legal-text-content {
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-text-content h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.legal-text-content p {
  margin-bottom: 4px;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

@media (min-width: 992px) {
  .toast-container {
    bottom: 24px;
  }
}

.toast-msg {
  background: var(--bg-card);
  border: 1px solid var(--teal-primary);
  box-shadow: var(--shadow-lg);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: slideInToast 0.3s ease forwards, fadeOutToast 0.3s ease 2.7s forwards;
}

.toast-msg i {
  color: var(--teal-light);
  font-size: 1rem;
}

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

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