/* ==========================================================================
   DIP LF - Salsas Artesanales | Estilos Oficiales
   Inspirado en la estructura visual de la referencia
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;0,900;1,800;1,900&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-dark: #0b0d11;
  --bg-darker: #07080a;
  --bg-card: #141821;
  --bg-card-hover: #1b212d;
  --bg-cream: #faf7f2;
  --surface-cream: #f3ede2;
  
  --primary-gold: #f59e0b;
  --primary-gold-hover: #d97706;
  --primary-accent: #ffb703;
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --gradient-gold-hover: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  --terracotta: #e65100;
  
  --whatsapp: #25d366;
  --whatsapp-hover: #1eb956;
  --whatsapp-dark: #075e54;
  
  --text-white: #ffffff;
  --text-cream: #f4ece1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-dark: #1e293b;
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(245, 158, 11, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.3);
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reseteo y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
}

/* ==========================================================================
   HEADER FIJO (Siguiendo la referencia)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 13, 17, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  padding: 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(245, 158, 11, 0.2);
}

.header-container {
  max-width: 1520px;
  width: 100%;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 36px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.8vw, 24px);
}

/* Logo Izquierda */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  background: #f4ece1;
  flex-shrink: 0;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 3px;
}

/* Menú Central */
.nav-menu-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 0.82vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-white);
  position: relative;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Botones Derecha */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  flex-shrink: 0;
}

.btn-whatsapp-header {
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-whatsapp-header:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-cart-header {
  background: var(--primary-gold);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.btn-cart-header:hover {
  background: var(--primary-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Botón Órdenes en la cabecera (a la izquierda de Mi Pedido) */
.btn-orders-header {
  background: #1c132b;
  border: 1.5px solid #8b5cf6;
  color: #f1f5f9;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.25);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-orders-header:hover {
  background: #8b5cf6;
  border-color: #a78bfa;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-orders-header svg {
  color: #c084fc;
  transition: color 0.2s ease, transform 0.2s ease;
}

.btn-orders-header:hover svg {
  color: #ffffff;
  transform: scale(1.08);
}

.orders-count-badge {
  background: #8b5cf6;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  transition: background-color 0.2s ease;
}

.btn-orders-header:hover .orders-count-badge {
  background: #000000;
  color: #ffffff;
}

.btn-admin-header {
  display: none; /* Invisible para rol cliente, se activa con JS si isAdmin() */
  background: #181920;
  color: var(--primary-gold);
  border: 1.5px solid var(--primary-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.8px;
  padding: 7px 13px;
  border-radius: var(--radius-full);
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-admin-header:hover {
  background: var(--primary-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.cart-count-badge {
  background: #000000;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--text-white);
}

/* ==========================================================================
   HERO SECTION (Estructura de la referencia)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 130px 24px 70px;
  background: radial-gradient(circle at 65% 45%, #1f2735 0%, #0d1016 60%, #07080a 100%);
  overflow: hidden;
}

/* Texto Marca de Agua Gigante de Fondo */
.hero-watermark {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 14vw, 16rem);
  font-weight: 900;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.025);
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  letter-spacing: -2px;
}

.hero-watermark span {
  display: block;
  text-align: center;
  -webkit-text-stroke: 1.5px rgba(245, 158, 11, 0.06);
  color: transparent;
}

.hero-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Columna Izquierda: Tipografía Potente y Botones */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--primary-accent);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 5.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.hero-title-main .title-white {
  display: block;
  color: var(--text-white);
}

.hero-title-main .title-highlight {
  display: block;
  color: var(--primary-gold);
  font-style: italic;
  font-weight: 900;
  text-shadow: 0 0 35px rgba(245, 158, 11, 0.4);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  background: var(--primary-gold);
  color: #000000;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-primary-hero:hover {
  background: var(--primary-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary-hero {
  border: 2px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  transform: translateY(-3px);
}

/* Columna Derecha: Tarjetas Apiladas Interactivas (Card Stack) */
.hero-visual-stack-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.card-stack {
  position: relative;
  width: 320px;
  height: 440px;
}

.stack-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  user-select: none;
  opacity: 1 !important;
}

/* Tarjeta trasera 1 (Inclinada a la izquierda) */
.stack-card.card-back-left {
  transform: rotate(-7deg) translate(-28px, -12px) scale(0.95);
  z-index: 1;
}

/* Tarjeta trasera 2 (Inclinada a la derecha) */
.stack-card.card-back-right {
  transform: rotate(6deg) translate(28px, -8px) scale(0.96);
  z-index: 2;
}

/* Tarjeta frontal principal */
.stack-card.card-front {
  transform: rotate(-1.5deg) translate(0, 0) scale(1);
  z-index: 5;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 25px rgba(245, 158, 11, 0.2);
}

/* Efecto hover suave controlado desde el contenedor padre (sin parpadeo) */
.card-stack:hover .card-back-left {
  transform: rotate(-10deg) translate(-38px, -15px) scale(0.95);
}

.card-stack:hover .card-back-right {
  transform: rotate(9deg) translate(38px, -10px) scale(0.96);
}

.card-stack:hover .card-front {
  transform: rotate(0deg) translateY(-6px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 0 32px rgba(245, 158, 11, 0.3);
}

/* Estilos de Placeholder para productos sin foto aún (Taki) */
.coming-soon-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #161b26 0%, #0d1118 100%) !important;
  border-bottom: 1px solid var(--border-light);
}

.coming-soon-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
}

.coming-soon-icon {
  font-size: 3rem;
  filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.4));
}

.coming-soon-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: var(--primary-gold);
  letter-spacing: 1.5px;
}

.coming-soon-sub {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.card-img-box {
  width: 100%;
  height: 230px;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.75);
  color: var(--primary-gold);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.8px;
}

.card-details {
  padding: 12px 6px 4px;
  display: flex;
  flex-direction: column;
  color: #111827;
}

.card-flavor-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #0f172a;
}

.card-desc-short {
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 8px;
}

/* Selector interactivo de tamaño en la tarjeta Hero */
.hero-size-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.hero-size-btn {
  flex: 1;
  padding: 5px 0;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #334155;
  text-align: center;
}

.hero-size-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.hero-card-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.hero-quick-add {
  background: var(--whatsapp);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 5px;
}

.hero-quick-add:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.05);
}

/* Sello Circular Giratorio (Como en image_0.png abajo a la derecha) */
.rotating-stamp {
  position: absolute;
  bottom: -20px;
  right: -25px;
  width: 120px;
  height: 120px;
  z-index: 8;
  pointer-events: none;
}

.rotating-stamp svg {
  width: 100%;
  height: 100%;
  animation: spinStamp 18s linear infinite;
}

@keyframes spinStamp {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   CINTA MARQUEE (Como en la referencia)
   ========================================================================== */
.marquee-ribbon {
  background: var(--primary-gold);
  color: #000000;
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-top: 2px solid #000000;
  border-bottom: 2px solid #000000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 10;
}

.marquee-content {
  display: inline-flex;
  gap: 28px;
  animation: marquee 24s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.star-icon {
  font-size: 0.85rem;
  color: #000000;
}

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

/* ==========================================================================
   SECCIÓN DE SABORES (Cuadrícula de productos detallada)
   ========================================================================== */
.section-flavors {
  padding: 100px 24px;
  max-width: 1360px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  border: 1px solid var(--border-gold);
  padding: 5px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.section-title span {
  color: var(--primary-gold);
  font-style: italic;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 12px auto 0;
}

/* Tabs de Filtro de Sabores */
.flavor-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-gold);
  color: #000000;
  border-color: var(--primary-gold);
}

/* Cuadrícula de Productos */
.flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.flavor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.flavor-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.flavor-img-wrapper {
  position: relative;
  width: 100%;
  height: 250px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flavor-img-wrapper.light-bg {
  background: #ffffff;
}

.flavor-img-wrapper.dark-bg {
  background: #080a0f;
}

.flavor-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}

.flavor-img-wrapper.dark-bg img {
  object-fit: cover;
  padding: 0;
}

.flavor-card:hover .flavor-img-wrapper img {
  transform: scale(1.05);
}

.flavor-badge-type {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 20;
  pointer-events: none;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(6px);
  color: var(--primary-gold);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.flavor-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.flavor-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.flavor-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  min-height: 40px;
  line-height: 1.5;
}

/* Selector de Tamaño en Tarjeta */
.size-selector-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.size-options {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.size-pill {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 7px 4px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.size-pill.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--primary-gold);
}

.size-name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-white);
}

.size-price-tag {
  display: block;
  font-size: 0.72rem;
  color: var(--primary-gold);
  font-weight: 600;
}

/* Control de Cantidad y Botón Añadir */
.flavor-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

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

.price-label-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-gold);
}

.btn-add-consult {
  background: var(--terracotta);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.btn-add-consult:hover {
  background: #ff5722;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.4);
}

/* ==========================================================================
   SECCIÓN CÓMO COMPRAR (Siguiendo estructura visual de la referencia)
   ========================================================================== */
.section-how-to-buy {
  background: #080a0e;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 90px 24px;
  position: relative;
}

.steps-grid {
  max-width: 1260px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Banner Destacado WhatsApp en Cómo Comprar */
.whatsapp-notice-banner {
  max-width: 900px;
  margin: 45px auto 0;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(18, 140, 126, 0.1) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.notice-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.notice-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.btn-whatsapp-large {
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 1px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECCIÓN NOSOTROS & TAMAÑOS
   ========================================================================== */
.section-about {
  padding: 100px 24px;
  max-width: 1360px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-image-showcase {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.about-image-showcase img {
  width: 100%;
  height: auto;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.feature-item {
  background: var(--bg-card);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.feature-item h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Comparativa de Tamaños */
.sizes-showcase-bar {
  margin-top: 60px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 30px;
}

.sizes-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.size-card-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 24px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.size-card-box:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.size-card-box.highlight {
  border-color: var(--primary-gold);
  background: rgba(245, 158, 11, 0.06);
}

.size-img-wrap {
  width: 100%;
  height: 160px;
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
}

.size-card-box:hover .size-img-wrap img {
  transform: scale(1.05);
}

.size-card-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-white);
}

.size-card-box .size-price-large {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-gold);
  margin: 6px 0;
}

.size-card-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ELEMENTOS FLOTANTES (Exactos a la referencia image_0.png)
   ========================================================================== */

/* Barra Inferior Flotante a la Izquierda */
.floating-order-bar {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  background: var(--primary-gold);
  color: #000000;
  padding: 10px 18px 10px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.floating-order-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-order-bar:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--primary-accent);
}

.order-bar-text {
  letter-spacing: 0.5px;
}

.order-bar-btn {
  background: #000000;
  color: #ffffff;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Botón Flotante WhatsApp a la Derecha */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-chat-bubble {
  background: #ffffff;
  color: #111827;
  padding: 9px 16px;
  border-radius: 20px 20px 4px 20px;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  animation: floatBubble 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.whatsapp-chat-bubble::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--whatsapp);
  border-radius: 50%;
}

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.btn-floating-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  position: relative;
}

.btn-floating-whatsapp::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp);
  animation: pulseGlow 2s infinite;
  z-index: -1;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.btn-floating-whatsapp:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
}

/* ==========================================================================
   DRAWER / MODAL DE MI CONSULTA (CARRITO)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.consult-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: #11141c;
  border-left: 1px solid var(--border-gold);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.8);
}

.consult-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-gold);
  text-transform: uppercase;
}

.drawer-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.drawer-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.drawer-empty-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  display: block;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item-row {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

.cart-item-meta {
  font-size: 0.76rem;
  color: var(--primary-gold);
  font-weight: 600;
}

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

.btn-qty {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.btn-qty:hover {
  background: var(--primary-gold);
  color: #000;
}

.qty-number {
  font-size: 0.85rem;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

.cart-item-subtotal {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-align: right;
}

.btn-remove-item {
  color: #ef4444;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 4px;
  display: block;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: #0b0d13;
}

.drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.total-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.total-sum {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-gold);
}

.btn-send-whatsapp-order {
  width: 100%;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.8px;
  padding: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-send-whatsapp-order:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.drawer-note {
  font-size: 0.74rem;
  color: var(--text-dim);
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   SECCIÓN MODELO DE VENTA A CONSIGNACIÓN (Alianzas B2B)
   ========================================================================== */
.section-consignacion {
  max-width: 1360px;
  margin: 0 auto 90px;
  padding: 0 24px;
}

.consignacion-container {
  background: linear-gradient(135deg, rgba(20, 24, 33, 0.95) 0%, rgba(10, 13, 18, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(245, 158, 11, 0.08);
}

.consignacion-container::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.consignacion-header {
  max-width: 860px;
  margin-bottom: 36px;
}

.consignacion-header .section-tag {
  display: inline-block;
  margin-bottom: 12px;
}

.consignacion-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.consignacion-header h2 span {
  color: var(--primary-gold);
}

.consignacion-intro {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.consignacion-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.pillar-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  text-transform: uppercase;
}

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

.consignacion-note-box {
  background: rgba(245, 158, 11, 0.07);
  border-left: 4px solid var(--primary-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin-bottom: 30px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.note-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.note-text h5 {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-gold);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.note-text p {
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.consignacion-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.consignacion-cta-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.consignacion-cta-text strong {
  color: var(--text-white);
  font-size: 1rem;
}

.btn-consignacion-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #0b0d11;
  padding: 13px 26px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-consignacion-wa:hover {
  transform: translateY(-2px);
  background: #20ba59;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #050608;
  border-top: 1px solid var(--border-light);
  padding: 60px 24px 30px;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-gold);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 400px;
  margin-top: 8px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Laptops, Tablets y Teléfonos)
   ========================================================================== */

/* Laptops y Pantallas Medianas (1081px a 1280px) */
@media (max-width: 1280px) {
  .header-container {
    gap: 12px;
  }
  .nav-menu {
    gap: clamp(8px, 1.2vw, 16px);
  }
  .nav-link {
    font-size: 0.76rem;
    letter-spacing: 0.5px;
  }
  .header-actions {
    gap: 8px;
  }
  .btn-whatsapp-header, .btn-cart-header, .btn-orders-header {
    padding: 7px 13px;
    font-size: 0.75rem;
  }
  .btn-admin-header {
    padding: 6px 11px;
    font-size: 0.75rem;
  }
}

/* Tablets en horizontal, Laptops pequeñas y Pantallas Medianas (<= 1080px) */
@media (max-width: 1080px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary-gold);
    border: 1px solid var(--border-light);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .menu-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--primary-gold);
  }

  .nav-menu-wrapper {
    position: static;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 13, 17, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 2px solid var(--primary-gold);
    padding: 24px 20px;
    flex-direction: column;
    gap: 14px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
    animation: navMenuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .nav-link {
    font-size: 0.95rem;
    padding: 10px 0;
    display: block;
    width: 100%;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Tablets en vertical y Teléfonos Grandes (<= 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 8px 0;
  }

  .header-container {
    padding: 0 14px;
    gap: 8px;
  }

  .brand-logo-wrap {
    gap: 10px;
  }

  .brand-badge {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 1.5px;
  }

  .header-actions {
    gap: 7px;
  }

  .btn-whatsapp-header {
    padding: 8px 10px;
  }
  .btn-whatsapp-header span {
    display: none;
  }

  .btn-admin-header {
    padding: 7px 10px;
  }
  .btn-admin-header span {
    display: none;
  }

  .btn-cart-header {
    padding: 8px 12px;
    gap: 6px;
  }
  .btn-cart-header span:not(.cart-count-badge) {
    display: none;
  }

  .btn-orders-header {
    padding: 8px 11px;
    gap: 6px;
  }
  .btn-orders-header span:not(.orders-count-badge) {
    display: none;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .hero-section {
    padding-top: 100px;
  }
  
  .card-stack {
    width: 270px;
    height: 380px;
  }
  
  .sizes-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .floating-order-bar {
    left: 12px;
    bottom: 16px;
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .floating-whatsapp-wrap {
    right: 14px;
    bottom: 16px;
  }
  
  .whatsapp-chat-bubble {
    display: none;
  }
  
  .consignacion-pillars {
    grid-template-columns: 1fr;
  }
  
  .consignacion-container {
    padding: 32px 18px;
  }
  
  .consignacion-header h2 {
    font-size: 1.6rem;
  }
  
  .consignacion-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-consignacion-wa {
    justify-content: center;
  }
}

/* Teléfonos Móviles Estándar (<= 480px) */
@media (max-width: 480px) {
  .flavors-grid {
    grid-template-columns: 1fr;
  }
  .filter-options {
    gap: 6px;
  }
  .filter-btn {
    padding: 7px 12px;
    font-size: 0.76rem;
  }
  .hero-title-main {
    font-size: 2.1rem;
  }
  .flavor-card-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .btn-add-consult {
    width: 100%;
    justify-content: center;
  }
}

/* Teléfonos Pequeños (<= 380px) */
@media (max-width: 380px) {
  .brand-subtitle {
    display: none;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  .brand-badge {
    width: 36px;
    height: 36px;
  }
  .header-actions {
    gap: 5px;
  }
  .btn-whatsapp-header, .btn-admin-header, .btn-orders-header, .menu-toggle {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  .btn-orders-header .orders-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.62rem;
    padding: 1px 4px;
  }
  .btn-cart-header {
    padding: 6px 9px;
  }
}

/* ==========================================================================
   MÓDULO CHECKOUT PAGO MÓVIL Y CARRITO RESPONSIVE (DIP LF)
   ========================================================================== */

/* Ajustes del contenedor del Drawer */
.consult-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  height: 100dvh;
  background: #0d1017;
  border-left: 1px solid var(--border-gold);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
}

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #090c13;
  flex-shrink: 0;
}

.drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  -webkit-overflow-scrolling: touch;
}

/* Título de sección dentro del Drawer */
.drawer-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-section-heading .heading-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
}

.drawer-section-heading .heading-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lista de Productos en el Carrito */
.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item-row {
  background: #131722;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s ease;
}

.cart-item-row:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.cart-item-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
  line-height: 1.2;
}

.cart-item-meta {
  font-size: 0.76rem;
  color: var(--primary-gold);
  font-weight: 600;
}

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

.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.btn-qty:hover {
  background: var(--primary-gold);
  color: #000;
  border-color: var(--primary-gold);
}

.qty-number {
  font-size: 0.88rem;
  font-weight: 800;
  min-width: 20px;
  text-align: center;
  color: #ffffff;
}

.btn-remove-item {
  color: #f87171;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 2px 6px;
  border-radius: 4px;
  transition: all 0.2s;
  margin-left: 4px;
}

.btn-remove-item:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
}

.cart-item-subtotal {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-align: right;
  white-space: nowrap;
}

/* Módulo de Checkout */
.pago-movil-checkout-module {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Tabs de selección de método */
.checkout-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.method-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.method-tab-btn .tab-icon {
  font-size: 1.05rem;
}

.method-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.method-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.45) 100%);
  color: #ffffff !important;
  border: 1px solid var(--primary-gold);
  box-shadow: 0 2px 14px rgba(245, 158, 11, 0.35);
  font-weight: 800;
}

.method-tab-btn.active span {
  color: #ffffff !important;
}

.payment-method-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tarjeta Receptora de Datos DIP LF (Compacta y Moderna) */
.pm-receiver-box {
  background: linear-gradient(145deg, #151a24, #0e121a);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.pm-receiver-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pm-receiver-title-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pm-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.btn-copy-pm {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-copy-pm:hover {
  background: var(--primary-gold);
  color: #000;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Selector de Cuentas Bancarias DIP LF */
.pm-account-selector-container {
  margin-bottom: 10px;
}

.pm-account-selector-title {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pm-account-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.pm-account-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-light);
  font-family: inherit;
}

.pm-account-chip:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.pm-account-chip.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
  border-color: var(--primary-gold);
  color: #fff;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.25);
}

.pm-account-chip .chip-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.pm-account-chip .chip-text {
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.pm-receiver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pm-data-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pm-data-pill.pm-pill-full {
  grid-column: span 2;
}

.pm-pill-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.pm-pill-val {
  font-size: 0.88rem;
  color: #ffffff;
  font-weight: 700;
  font-family: monospace;
  word-break: break-all;
}

.pm-pill-banks {
  font-family: inherit;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.pm-pill-rate {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}

.pm-pill-rate .rate-gold {
  color: #38bdf8;
  font-size: 0.88rem;
  font-weight: 800;
}

/* Resumen del Monto en Bolívares */
.pm-amount-summary {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.18) 100%);
  border: 1px solid var(--primary-gold);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.15);
}

.pm-amount-left {
  display: flex;
  flex-direction: column;
}

.pm-amount-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.pm-amount-sub {
  font-size: 0.7rem;
  color: var(--primary-gold);
  font-weight: 600;
}

.pm-amount-right {
  text-align: right;
}

.pm-calculated-bs {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-gold);
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  line-height: 1.1;
}

.pm-calculated-usd {
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* Formulario de Pago Móvil */
.pm-form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pm-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pm-input-group label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pm-input-group label .req-star {
  color: #ef4444;
  font-weight: bold;
}

.pm-input {
  width: 100%;
  background: #080b11;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.pm-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  background: #0b0f17;
}

.select-bank {
  background-color: #080b11;
  color: #ffffff;
  cursor: pointer;
}

.ref-input {
  letter-spacing: 1.5px;
  font-weight: 800;
  font-family: monospace;
}

/* Panel WhatsApp */
.panel-whatsapp-info {
  margin-top: 4px;
}

.wa-info-card {
  background: rgba(37, 211, 102, 0.08);
  border: 1px dashed rgba(37, 211, 102, 0.4);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.wa-info-icon {
  font-size: 2rem;
  margin-bottom: 6px;
}

.wa-info-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #4ade80;
  margin: 0 0 6px 0;
}

.wa-info-desc {
  font-size: 0.78rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin: 0;
}

/* Alerta de Error de Verificación */
.pm-verify-alert {
  margin-top: 8px;
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.16), rgba(153, 27, 27, 0.26));
  border: 1px solid #ef4444;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.25);
  animation: fadeIn 0.25s ease-out;
}

.pm-alert-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pm-alert-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.pm-alert-text {
  flex: 1;
}

.pm-alert-title {
  color: #fca5a5;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  margin: 0 0 4px 0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pm-alert-desc {
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.45;
  margin: 0 0 8px 0;
}

.pm-alert-highlight {
  color: #fef08a;
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
}

.pm-alert-checklist {
  margin: 0 0 10px 0;
  padding-left: 16px;
  color: #cbd5e1;
  font-size: 0.74rem;
  line-height: 1.4;
}

.pm-alert-checklist li {
  margin-bottom: 2px;
}

.pm-alert-actions {
  margin-top: 6px;
}

.btn-alert-whatsapp {
  width: 100%;
  background: rgba(37, 211, 102, 0.18);
  color: #4ade80;
  border: 1px solid #22c55e;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-alert-whatsapp:hover {
  background: #22c55e;
  color: #000000;
  box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

/* Footer del Drawer (Fijo y Limpio abajo) */
.drawer-footer {
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  background: #090c13;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0;
}

.total-text-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.total-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
}

.total-bs-tag {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--primary-gold);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.total-sum {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary-gold);
  line-height: 1;
}

/* Botón Principal de Pago Móvil */
.btn-confirm-pagomovil {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.6px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 48px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.btn-confirm-pagomovil span {
  color: #ffffff !important;
}

.btn-confirm-pagomovil:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.65);
}

.btn-confirm-pagomovil:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Nota de Seguridad en el Footer */
.pm-security-note-footer {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* Pantalla de Éxito en Drawer */
.payment-success-card {
  text-align: center;
  padding: 24px 16px;
  background: linear-gradient(180deg, #111622 0%, #090d15 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  animation: fadeIn 0.3s ease;
}

.success-icon-pulse {
  font-size: 3rem;
  margin-bottom: 8px;
  animation: bounce 1.8s infinite;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-gold);
  margin-bottom: 6px;
}

.success-order-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.success-details-list {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  text-align: left;
  font-size: 0.82rem;
}

.success-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
}

.badge-status-paid {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid #22c55e;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pm-spinner {
  display: inline-block;
  animation: pmSpin 1s linear infinite;
}

@keyframes pmSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-info-text {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 20px;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-share-whatsapp-order {
  width: 100%;
  background: var(--whatsapp);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-share-whatsapp-order:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
}

.btn-new-order-reset {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-new-order-reset:hover {
  color: #ffffff;
  border-color: #ffffff;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Responsive para Teléfonos Móviles */
@media (max-width: 520px) {
  .consult-drawer {
    width: 100vw;
    max-width: 100vw;
    border-left: none;
  }

  .drawer-header {
    padding: 14px 16px;
  }

  .drawer-body {
    padding: 14px 16px;
    gap: 12px;
  }

  .cart-item-row {
    padding: 8px 10px;
    gap: 10px;
    grid-template-columns: 50px 1fr auto;
  }

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

  .cart-item-info h5 {
    font-size: 0.9rem;
  }

  .cart-item-meta {
    font-size: 0.72rem;
  }

  .cart-item-subtotal {
    font-size: 0.95rem;
  }

  .pm-receiver-box {
    padding: 10px 12px;
  }

  .pm-pill-val {
    font-size: 0.82rem;
  }

  .pm-amount-summary {
    padding: 10px 12px;
  }

  .pm-calculated-bs {
    font-size: 1.2rem;
  }

  .drawer-footer {
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .btn-confirm-pagomovil {
    padding: 12px 14px;
    font-size: 0.9rem;
    min-height: 46px;
  }
}

/* Responsive para Pantallas Bajas (Laptops pequeñas / paisaje) */
@media (max-height: 720px) {
  .drawer-header {
    padding: 10px 16px;
  }

  .drawer-body {
    padding: 12px 16px;
    gap: 10px;
  }

  .pm-receiver-box {
    padding: 8px 10px;
  }

  .pm-data-pill {
    padding: 6px 8px;
  }

  .pm-amount-summary {
    padding: 8px 12px;
  }

  .pm-input {
    padding: 8px 10px;
  }

  .drawer-footer {
    padding: 10px 16px;
  }

  .btn-confirm-pagomovil {
    padding: 10px 14px;
    min-height: 44px;
  }
}

/* =============================================================================
   11. SECCIÓN DE RASTREO Y GUÍA DE PEDIDOS (#ordenes)
   ============================================================================= */
.section-orders-tracking {
  padding: 90px 24px;
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, rgba(10, 10, 10, 1) 70%), #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.tracking-container {
  max-width: 900px;
  margin: 0 auto;
}

.tracking-header {
  text-align: center;
  margin-bottom: 36px;
}

.tracking-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 12px 0 14px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.tracking-header h2 span {
  background: linear-gradient(135deg, var(--gold-light, #fde047), var(--primary-gold, #f59e0b));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tracking-intro {
  color: #94a3b8;
  font-size: 0.96rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.tracking-intro code {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Buscador de Orden */
.tracking-search-form {
  margin: 0 auto 36px;
  max-width: 620px;
}

.tracking-search-box {
  display: flex;
  align-items: center;
  background: #18181b;
  border: 2px solid rgba(245, 158, 11, 0.35);
  border-radius: 50px;
  padding: 6px 8px 6px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
  transition: all 0.25s ease;
}

.tracking-search-box:focus-within {
  border-color: #f59e0b;
  box-shadow: 0 10px 35px rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

.search-input-icon {
  font-size: 1.1rem;
  margin-right: 10px;
  opacity: 0.7;
}

.tracking-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 8px 0;
}

.tracking-search-input::placeholder {
  color: #64748b;
  font-size: 0.88rem;
}

.btn-tracking-search-submit {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tracking-search-submit:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}

/* Estado de Carga y Vacío */
.tracking-loading-state,
.tracking-empty-initial,
.tracking-empty-card {
  text-align: center;
  padding: 44px 20px;
  background: #141416;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #94a3b8;
}

.tracking-spinner {
  font-size: 2.2rem;
  animation: spinSlow 2s linear infinite;
  display: inline-block;
  margin-bottom: 12px;
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-initial-icon,
.empty-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 10px;
}

.tracking-empty-card h3 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.tracking-empty-card p {
  max-width: 500px;
  margin: 0 auto 18px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.btn-help-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 12px 22px;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.btn-help-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Tarjeta Principal de la Orden */
.tracking-order-card {
  background: #141417;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.35s ease-out;
}

/* Header de la tarjeta */
.tracking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.order-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tracking-guia-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.order-id-copy-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tracking-order-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: #fbbf24;
  margin: 0;
  letter-spacing: 0.5px;
}

.btn-copy-order-id {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy-order-id:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
}

.order-meta-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.tracking-date-label {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Badges de Estado */
.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.tracking-status-badge.badge-pagado {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tracking-status-badge.badge-en_preparacion {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.tracking-status-badge.badge-listo_entrega {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.45);
}

.tracking-status-badge.badge-entregado {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.45);
}

.tracking-status-badge.badge-nuevo,
.tracking-status-badge.badge-pendiente {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.tracking-status-badge.badge-cancelado {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

/* Stepper Visual de Estado */
.tracking-stepper-box {
  position: relative;
  padding: 24px 10px 10px;
}

.stepper-progress-bar {
  position: absolute;
  top: 40px;
  left: 6%;
  right: 6%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.stepper-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  width: var(--step-percent, 0%);
  transition: width 0.5s ease-in-out;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.stepper-steps-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1f1f23;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.stepper-step.completed .step-circle {
  background: #10b981;
  border-color: #10b981;
  color: #000;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.5);
}

.stepper-step.current .step-circle {
  background: #f59e0b;
  border-color: #fde047;
  color: #000;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.8);
  transform: scale(1.15);
  animation: pulseCircle 1.8s infinite;
}

@keyframes pulseCircle {
  0%, 100% { box-shadow: 0 0 16px rgba(245, 158, 11, 0.6); }
  50% { box-shadow: 0 0 26px rgba(245, 158, 11, 0.9); }
}

.step-labels {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #cbd5e1;
}

.stepper-step.current .step-title {
  color: #fbbf24;
}

.step-desc {
  font-size: 0.7rem;
  color: #64748b;
}

.stepper-step.completed .step-desc,
.stepper-step.current .step-desc {
  color: #94a3b8;
}

.tracking-cancelled-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  color: #fca5a5;
  font-size: 0.9rem;
}

.cancelled-icon {
  font-size: 1.6rem;
}

/* Grid de Detalles (Cliente & Pago) */
.tracking-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.tracking-info-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px;
}

.info-pill-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
}

.pill-icon {
  font-size: 1.1rem;
}

.pill-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-pill-body p {
  margin: 0 0 6px 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.info-pill-body p strong {
  color: #94a3b8;
  font-weight: 600;
}

.ref-highlight {
  color: #fbbf24;
  font-family: monospace;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
}

.bs-highlight {
  color: #38bdf8;
  font-weight: 800;
}

/* Tabla de Productos */
.tracking-products-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
}

.products-section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px 0;
}

.tracking-items-table-wrap {
  overflow-x: auto;
}

.tracking-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.tracking-items-table th {
  text-align: left;
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0 0 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tracking-items-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #e2e8f0;
}

.item-name-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.salsa-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
}

.item-size-badge {
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.tracking-totals-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.totals-count-info {
  font-size: 0.85rem;
  color: #94a3b8;
}

.totals-amount-info {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.totals-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.totals-usd {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fbbf24;
}

.totals-bs {
  font-size: 0.95rem;
  font-weight: 700;
  color: #38bdf8;
}

/* Barra de Acciones de la Orden */
.tracking-actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 8px;
}

.btn-track-whatsapp-coord {
  flex: 1;
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #000;
  border: none;
  border-radius: 14px;
  padding: 14px 24px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-track-whatsapp-coord:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.btn-track-refresh {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-track-refresh:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* Botón en el Drawer tras éxito */
.btn-track-order-direct {
  width: 100%;
  padding: 13px 18px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-track-order-direct:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.5);
}

/* Resultados Múltiples */
.tracking-multiple-card {
  background: #141417;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 18px;
  padding: 24px;
}

.multiple-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.multiple-sub {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.multiple-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.multiple-order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.multiple-order-row:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateX(4px);
}

.multiple-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.multiple-row-mid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.8rem;
  color: #94a3b8;
}

.btn-select-order {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  pointer-events: none;
}

/* Responsive Móvil para Stepper y Tracking */
@media (max-width: 640px) {
  .section-orders-tracking {
    padding: 60px 16px;
  }

  .tracking-order-card {
    padding: 18px 14px;
    border-radius: 16px;
    gap: 18px;
  }

  .order-meta-badges {
    align-items: flex-start;
  }

  .tracking-stepper-box {
    padding: 20px 4px 6px;
  }

  .stepper-steps-grid {
    gap: 4px;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .step-title {
    font-size: 0.7rem;
  }

  .step-desc {
    display: none;
  }

  .stepper-progress-bar {
    top: 34px;
    left: 10%;
    right: 10%;
  }

  .tracking-totals-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tracking-actions-bar {
    flex-direction: column;
  }

  .btn-track-whatsapp-coord,
  .btn-track-refresh {
    width: 100%;
  }
}
