/* FRESH-CO Cocktails - Versión Minimalista (2 Tonos: Negro / Azul Marca + Montserrat) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700;1,900&display=swap');

:root {
  --color-bg-deep: #06080C;
  --color-bg-surface: #0B0E14;
  --color-card: #0D111A;
  --color-card-border: rgba(0, 163, 255, 0.25);
  --color-brand-blue: #00A3FF;
  --color-brand-cyan: #00D2FF;
  --color-brand-blue-hover: #33B5FF;
  --color-white: #FFFFFF;
  --color-gray-subtle: #8892B0;
  --color-gray-border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-bg-deep);
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(0, 163, 255, 0.06) 0%, transparent 60%),
    url('assets/brand_assets/freshco_blue_smoke_bg.webp');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Header Sticky Fijo Garantizado al hacer scroll */
header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 45 !important;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: modalScaleIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Tipografía Oficial: Montserrat 100% */
.font-sans, .font-body {
  font-family: 'Montserrat', sans-serif;
}

.font-ethnocentric, .font-display {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.font-tag {
  font-family: 'Montserrat', sans-serif;
  font-style: italic;
  font-weight: 600;
}

/* 2-Tone Color Classes (Azul Eléctrico & Negro) */
.bg-deep { background-color: var(--color-bg-deep); }
.bg-surface { background-color: var(--color-bg-surface); }
.bg-card { background-color: var(--color-card); }
.bg-brand-blue { background-color: var(--color-brand-blue); }
.bg-brand-blue-soft { background-color: rgba(0, 163, 255, 0.06); }

.text-brand-blue { color: var(--color-brand-blue); }
.text-brand-cyan { color: var(--color-brand-cyan); }
.text-muted { color: #E2E8F0; }

.border-brand-blue { border-color: var(--color-brand-blue); }
.border-card { border-color: var(--color-card-border); }

/* Alto Contraste: Tonos grises aclarados hacia blanco nítido para máxima lectura en móvil y sol */
.text-gray-300 { color: #F8FAFC !important; }
.text-gray-400 { color: #E2E8F0 !important; }
.text-gray-500 { color: #CBD5E1 !important; }
.text-gray-600 { color: #94A3B8 !important; }

input::placeholder,
textarea::placeholder {
  color: rgba(241, 245, 249, 0.78) !important;
  opacity: 1 !important;
}

#fast-checkout-section input[type="text"],
#fast-checkout-section input[type="email"],
#fast-checkout-section input[type="tel"],
#phone-input-wrapper {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

#fast-checkout-section input[type="text"]:focus,
#fast-checkout-section input[type="email"]:focus,
#fast-checkout-section input[type="tel"]:focus,
#phone-input-wrapper:focus-within {
  border-color: #00A3FF !important;
  box-shadow: 0 0 0 2px rgba(0, 163, 255, 0.25) !important;
}

/* Glow Effects (Reducidos 50% para máxima sobriedad y elegancia) */
.glow-blue {
  text-shadow: 0 0 10px rgba(0, 163, 255, 0.35), 0 0 20px rgba(0, 163, 255, 0.18);
}

.box-glow-blue {
  box-shadow: 0 0 12px rgba(0, 163, 255, 0.15);
}

.box-glow-subtle {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 1px rgba(0, 163, 255, 0.15);
}

/* Animations */
@keyframes softFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

.animate-soft-float {
  animation: softFloat 4.2s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #06080C;
}
::-webkit-scrollbar-thumb {
  background: #1A2230;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-blue);
}

/* Hide scrollbar for mini cans row */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Toast Notification */
#express-toast {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* ========================================== */
/* CAROUSEL MINIMALISTA - MINI TARRITOS       */
/* ========================================== */
.carousel-track {
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  will-change: scroll-position;
}

.carousel-track:active {
  cursor: grabbing;
}

.thumb-can-btn {
  flex-shrink: 0;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-arrow-btn {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 163, 255, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow-btn:hover {
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.7);
}

/* ========================================== */
/* GAMIFICACIÓN: TERMÓMETRO DE FRÍO FRESH-CO */
/* ========================================== */
@keyframes coldShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

.animate-cold-shimmer {
  animation: coldShimmer 2.2s infinite linear;
}

@keyframes coldShimmerVertical {
  0% { transform: translateY(120%); }
  100% { transform: translateY(-120%); }
}

.animate-cold-shimmer-vertical {
  animation: coldShimmerVertical 2.2s infinite linear;
}

@keyframes icePulse {
  0%, 100% {
    box-shadow: 0 0 7px rgba(0, 163, 255, 0.15), 0 0 15px rgba(0, 210, 255, 0.08);
  }
  50% {
    box-shadow: 0 0 14px rgba(0, 163, 255, 0.35), 0 0 25px rgba(0, 210, 255, 0.2);
  }
}

.box-ice-pulse {
  animation: icePulse 2.8s infinite ease-in-out;
}

@keyframes celebrationFlash {
  0% { transform: scale(1); filter: brightness(1); }
  40% { transform: scale(1.025); filter: brightness(1.12); box-shadow: 0 0 22px rgba(0, 163, 255, 0.5); }
  100% { transform: scale(1); filter: brightness(1); }
}

.celebration-pop {
  animation: celebrationFlash 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================== */
/* ANIMACIÓN: VUELO Y CAÍDA DE LATA A BANDEJA */
/* ========================================== */
.flying-can-clone {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.6s ease-in, filter 0.6s ease;
  will-change: transform, opacity;
}

@keyframes trayItemLand {
  0% {
    transform: scale(0.65) translateY(-20px);
    opacity: 0;
    box-shadow: 0 0 30px #00A3FF;
  }
  60% {
    transform: scale(1.06) translateY(0);
    opacity: 1;
    box-shadow: 0 0 25px #00A3FF, 0 0 45px rgba(0, 210, 255, 0.6);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 163, 255, 0.2);
  }
}

.tray-item-land {
  animation: trayItemLand 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes trayHighlight {
  0% {
    border-color: rgba(0, 163, 255, 0.9);
    box-shadow: 0 0 35px rgba(0, 163, 255, 0.6);
  }
  50% {
    border-color: #00D2FF;
    box-shadow: 0 0 50px rgba(0, 210, 255, 0.8);
  }
  100% {
    border-color: rgba(0, 163, 255, 0.35);
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.3);
  }
}

.tray-flash {
  animation: trayHighlight 0.8s ease-out;
}

@keyframes attentionPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 163, 255, 0);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 20px 4px rgba(0, 163, 255, 0.4);
  }
}

.attention-pulse {
  animation: attentionPulse 1.2s ease-in-out 2;
}

/* ========================================== */
/* NEVERA DE ICOPOR / HIELERA FLOTANTE        */
/* ========================================== */
#floating-hielera-btn #cooler-lid-group {
  transform-origin: 20px 26px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#floating-hielera-btn:hover #cooler-lid-group,
#floating-hielera-btn.tray-flash #cooler-lid-group {
  transform: translateY(-5px) rotate(-12deg);
}

@keyframes coolerCatchBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.16) rotate(-4deg); filter: drop-shadow(0 0 28px #00D2FF); }
  65% { transform: scale(0.95) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg); }
}

#floating-hielera-btn.tray-flash {
  animation: coolerCatchBounce 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ========================================== */
/* AURAS DE FRÍO DINÁMICAS (HIELERA FLOTANTE) */
/* ========================================== */
@keyframes coldBreatheGentle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.25;
    filter: blur(6px);
  }
  50% {
    transform: scale(1.04);
    opacity: 0.4;
    filter: blur(8px);
  }
}

@keyframes coldBreatheMedium {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
    filter: blur(8px) brightness(1.1);
  }
  50% {
    transform: scale(1.06);
    opacity: 0.45;
    filter: blur(10px) brightness(1.15);
  }
}

@keyframes coldBlizzardMax {
  0% {
    transform: scale(1);
    opacity: 0.45;
    filter: blur(10px) brightness(1.15);
  }
  50% {
    transform: scale(1.1);
    opacity: 0.55;
    filter: blur(14px) brightness(1.25);
  }
  100% {
    transform: scale(1);
    opacity: 0.45;
    filter: blur(10px) brightness(1.15);
  }
}

.animate-cold-aura-1 {
  animation: coldBreatheGentle 2.4s ease-in-out infinite;
}

.animate-cold-aura-2 {
  animation: coldBreatheMedium 1.9s ease-in-out infinite;
}

.animate-cold-aura-max {
  animation: coldBlizzardMax 1.4s ease-in-out infinite;
}

/* DIRECTRIZ ESPECIAL: SEPARACIÓN ESTRICTA PC (>= 1024px) VS CELULAR (< 1024px) */
/* Cualquier elemento en .desktop-only-view solo existe en PC; .mobile-only-view solo existe en Celular */
.h-13 { height: 3.25rem; }
.pl-2\.5 { padding-left: 0.625rem; }
.from-\[\#0B1220\] { --tw-gradient-from: #0B1220 var(--tw-gradient-from-position); --tw-gradient-to: rgb(11 18 32 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-\[\#0D1526\] { --tw-gradient-to: rgb(13 21 38 / 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), #0D1526 var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-\[\#0B1520\] { --tw-gradient-to: #0B1520 var(--tw-gradient-to-position); }

@media (min-width: 1024px) {
  .desktop-only-view {
    display: block !important;
  }
  .desktop-only-flex {
    display: flex !important;
  }
  .desktop-only-inline-flex {
    display: inline-flex !important;
  }
  .desktop-only-grid {
    display: grid !important;
  }
  .mobile-only-view,
  .mobile-only-flex,
  .mobile-only-block {
    display: none !important;
  }
  #checkout-delivery-fields {
    display: block !important;
  }
  #mobile-delivery-summary {
    display: none !important;
  }
  #btn-mobile-edit-delivery {
    display: none !important;
  }
  .lg\:p-2\.5 { padding: 0.625rem; }
  .lg\:w-20 { width: 5rem; }
  .lg\:h-16 { height: 4rem; }
  .lg\:text-\[10px\] { font-size: 10px; }
  #mobile-wizard-container,
  #mobile-refuerzo-modal {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .desktop-only-view,
  .desktop-only-flex,
  .desktop-only-inline-flex,
  .desktop-only-grid {
    display: none !important;
  }
  .mobile-only-view,
  .mobile-only-block {
    display: block !important;
  }
  .mobile-only-flex {
    display: flex !important;
  }
  #mobile-wizard-container:not(.hidden) {
    display: block !important;
  }
  #mobile-wizard-container.hidden,
  #mobile-hero-section.hidden,
  #persistent-bottom-bar.hidden,
  #fast-checkout-section.hidden {
    display: none !important;
  }
  #view-1-catalog,
  #floating-hielera-btn {
    display: none !important;
  }
  #mobile-thermometer-bar {
    display: block !important;
  }
  .mobile-step-panel {
    display: none !important;
  }
  .mobile-step-panel.active {
    display: block !important;
    animation: fadeInStep 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes fadeInStep {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ================================================================
   SELECTOR DE EXPERIENCIA: REFRESCANTES (AZUL) VS CREMOSOS (DORADO)
   ================================================================ */
:root {
  --color-brand-gold: #F59E0B;
  --color-brand-gold-light: #FBBF24;
  --color-brand-gold-soft: rgba(245, 158, 11, 0.18);
}

.exp-selector-wrap {
  width: 100%;
}

.exp-selector-heading {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.exp-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.exp-card-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: #0B0E14;
  text-align: left;
  cursor: pointer;
  transition: all 0.22s ease;
  overflow: hidden;
}

.exp-card-btn:active {
  transform: scale(0.98);
}

.exp-card-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.exp-card-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #FFFFFF;
}

.exp-card-price {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(241, 245, 249, 0.9);
  margin-top: 2px;
}

.exp-card-check {
  width: 18px;
  height: 18px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* REFRESCANTES (AZUL NEÓN) */
.exp-card-refrescante {
  border-color: rgba(0, 163, 255, 0.38);
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.07) 0%, rgba(11, 14, 20, 0.95) 100%);
}
.exp-card-refrescante:hover {
  border-color: rgba(0, 163, 255, 0.75);
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.15) 0%, rgba(11, 14, 20, 0.95) 100%);
}
.exp-card-refrescante.is-active {
  border: 2px solid #00A3FF;
  background: linear-gradient(135deg, rgba(0, 163, 255, 0.34) 0%, rgba(0, 102, 204, 0.22) 100%);
  box-shadow: 0 0 20px rgba(0, 163, 255, 0.38), inset 0 0 12px rgba(0, 163, 255, 0.22);
}
.exp-card-refrescante.is-active .exp-card-check {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #0077CC;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* CREMOSOS (CREMA MARFIL #F5F2EC - DIFERENCIAL PREMIUM) */
.exp-card-cremoso {
  border-color: rgba(245, 242, 236, 0.45);
  background: linear-gradient(135deg, rgba(245, 242, 236, 0.1) 0%, rgba(16, 18, 24, 0.96) 100%);
}
.exp-card-cremoso:hover {
  border-color: rgba(245, 242, 236, 0.85);
  background: linear-gradient(135deg, rgba(245, 242, 236, 0.18) 0%, rgba(20, 22, 28, 0.96) 100%);
}
.exp-card-cremoso .exp-card-title {
  color: #F5F2EC;
}
.exp-card-cremoso.is-active {
  border: 2px solid #F5F2EC;
  background: linear-gradient(135deg, rgba(245, 242, 236, 0.30) 0%, rgba(245, 242, 236, 0.14) 100%);
  box-shadow: 0 0 20px rgba(245, 242, 236, 0.35), inset 0 0 12px rgba(245, 242, 236, 0.20);
}
.exp-card-cremoso.is-active .exp-card-title {
  color: #FFFFFF;
}
.exp-card-cremoso.is-active .exp-card-price {
  color: rgba(245, 242, 236, 0.95);
}
.exp-card-cremoso.is-active .exp-card-check {
  background: #F5F2EC;
  border-color: #F5F2EC;
  color: #0B0E14;
  box-shadow: 0 0 8px rgba(245, 242, 236, 0.6);
}

.exp-gold-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 4px;
  padding: 1.5px 7px;
  border-radius: 9999px;
  background: rgba(245, 242, 236, 0.14);
  border: 1px solid rgba(245, 242, 236, 0.55);
  color: #F5F2EC;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.exp-card-cremoso.is-active .exp-gold-pill {
  background: rgba(245, 242, 236, 0.24);
  border-color: #F5F2EC;
  color: #FFFFFF;
}

/* Badges de tipo en carrito / hielera */
.type-badge-refrescante {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(0, 163, 255, 0.16);
  border: 1px solid rgba(0, 163, 255, 0.4);
  color: #38BDF8;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-badge-cremoso {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(245, 242, 236, 0.16);
  border: 1px solid rgba(245, 242, 236, 0.55);
  color: #F5F2EC;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tema Crema (#F5F2EC) activo para selectores y acentos cuando se elige CREMOSOS */
.box-glow-gold {
  box-shadow: 0 0 18px rgba(245, 242, 236, 0.2) !important;
  border-color: rgba(245, 242, 236, 0.55) !important;
}

.aura-gold {
  background: radial-gradient(circle, rgba(245, 242, 236, 0.72) 0%, rgba(245, 242, 236, 0.25) 55%, transparent 100%) !important;
}

.text-brand-gold {
  color: #F5F2EC !important;
}

.bg-brand-gold {
  background: #F5F2EC !important;
  color: #0B0E14 !important;
}

.bg-brand-gold:hover {
  background: #FFFFFF !important;
}

.border-brand-gold {
  border-color: #F5F2EC !important;
}

.ring-brand-gold {
  border-color: #F5F2EC !important;
  background-color: rgba(245, 242, 236, 0.14) !important;
  box-shadow: 0 0 0 1px #F5F2EC, 0 4px 14px rgba(245, 242, 236, 0.22) !important;
}

.pill-cream-soft {
  background-color: rgba(245, 242, 236, 0.14) !important;
  border-color: rgba(245, 242, 236, 0.45) !important;
  color: #F5F2EC !important;
}

@media (max-width: 639px) {
  .exp-card-btn {
    padding: 8px 9px;
  }
  .exp-card-title {
    font-size: 11px;
  }
  .exp-card-price {
    font-size: 9.5px;
  }
}



