/* ============================================================
   LUMUS BEBIDAS – style.css
   Dark theme: #0F0F0F bg | #D4AF37 gold | #00F0FF neon
   ============================================================ */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: #0F0F0F;
  color: #F0F0F0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ---- CSS CUSTOM PROPS ---- */
:root {
  --gold: #D4AF37;
  --gold-light: #F0D060;
  --neon: #00F0FF;
  --bg: #0F0F0F;
  --bg-card: #181818;
  --bg-card2: #1F1F1F;
  --text: #F0F0F0;
  --text-muted: #888;
  --border: rgba(212, 175, 55, 0.2);
  --shadow-gold: 0 0 18px rgba(212, 175, 55, 0.35);
  --shadow-neon: 0 0 18px rgba(0, 240, 255, 0.4);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --transition: 0.25s ease;
}

/* ---- UTILITY ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.text-gold {
  color: var(--gold);
}

.text-neon {
  color: var(--neon);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
  }
}

@keyframes pulsGreen {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.15);
  }

  70% {
    transform: scale(0.95);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

@keyframes spinIn {
  from {
    opacity: 0;
    transform: scale(0.7) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---- ANIMATE CLASSES ---- */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.7s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  animation: slideUp 0.7s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Scroll-triggered animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold) 0%, #B8960C 100%);
  color: #0F0F0F;
}

.btn--gold:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.btn--ghost {
  background: transparent;
  border: 2px solid var(--text-muted);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--xl {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn--sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

.btn--pulse {
  animation: pulse 2s infinite;
}

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: scale(0);
  pointer-events: none;
  transition: transform 0.4s, opacity 0.4s;
}

.btn:active::after {
  animation: ripple 0.5s linear;
}

/* ---- AGE GATE ---- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate__box {
  text-align: center;
  max-width: 400px;
  animation: spinIn 0.5s ease;
}

.age-gate__logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
}

.age-gate__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.age-gate__sub {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.age-gate__btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header__logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  transition: transform 0.3s;
}

.header__logo:hover .header__logo-img {
  transform: scale(1.1) rotate(5deg);
}

.header__logo-text {
  color: var(--text);
}

.logo-accent {
  color: var(--gold);
}

.header__nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--gold);
}

.nav-link:hover::after {
  width: 100%;
}

/* Cart button */
.cart-btn {
  position: relative;
  color: var(--text);
  padding: 8px;
  transition: color var(--transition);
}

.cart-btn:hover {
  color: var(--gold);
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: #0F0F0F;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.2s;
}

.cart-count.bump {
  animation: bounce 0.4s ease;
}

/* ---- HERO ---- */
.hero {
  min-height: 100svh;
  background:
    linear-gradient(to bottom, rgba(15, 15, 15, 0.5) 0%, rgba(15, 15, 15, 0.85) 100%),
    url('https://images.unsplash.com/photo-1608270586620-248524c67de9?w=1400&q=80') center/cover no-repeat;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 60px 16px;
}

.hero__badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  animation: fadeIn 0.6s ease forwards;
}

.hero__title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero__sub strong {
  color: var(--neon);
}

/* ---- SECTIONS ---- */
.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 8px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---- COMBOS ---- */
.combos-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.combos-scroll::-webkit-scrollbar {
  height: 4px;
}

.combos-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.combos-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.combo-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.combo-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.combo-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold);
  color: #0F0F0F;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.combo-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.combo-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.combo-items {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.combo-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 14px;
}

.combo-price small {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}

/* ---- CATEGORIES ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-gold);
  border-color: var(--gold);
}

.category-card__icon {
  font-size: 2.8rem;
  line-height: 1;
}

.category-card__name {
  font-size: 0.95rem;
  font-weight: 700;
}

.category-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.category-card:hover .category-card__glow {
  opacity: 1;
}

/* ---- PRODUCTS GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- PRODUCT CARD ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
  border-color: var(--border);
}

.product-card__img-wrap {
  aspect-ratio: 1;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__img {
  transform: scale(1.08);
}

.product-card__placeholder {
  font-size: 3rem;
  color: var(--text-muted);
}

.product-card__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
}

.product-card__vol {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.product-card__price {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 12px;
  margin-top: auto;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__unit-hint {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--neon);
  opacity: 0.8;
  letter-spacing: 0.01em;
}

.product-card__add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--gold);
  color: #0F0F0F;
  border-radius: 50px;
  padding: 9px 0;
  font-size: 0.85rem;
  font-weight: 700;
  width: 100%;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.product-card__add:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-gold);
  background: var(--gold-light);
}

.product-card__add.added {
  background: #22C55E;
  color: #fff;
}

.product-card__add.adding {
  animation: bounce 0.35s ease;
}

/* Skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card2) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ---- WHATSAPP FAB ---- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  animation: pulsGreen 2.5s infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-fab:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7);
}

/* ---- MODAL ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 560px;
  max-height: 90svh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.3s;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--gold);
}

.modal__title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* ---- CART ITEMS ---- */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item__name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item__unit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card2);
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.qty-btn:hover {
  background: var(--gold);
  color: #0F0F0F;
}

.qty-num {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart-item__subtotal {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 64px;
  text-align: right;
}

.cart-item__remove {
  color: var(--text-muted);
  font-size: 1rem;
  transition: color 0.2s;
}

.cart-item__remove:hover {
  color: #EF4444;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 32px 0;
}

/* ---- FORM ---- */
.cart-form__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  margin-top: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  background: var(--bg-card2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 14px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* ---- CART SUMMARY ---- */
.cart-summary {
  margin: 20px 0 16px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.cart-summary__total {
  font-size: 1.1rem;
  font-weight: 800;
  border-bottom: none;
  margin-top: 4px;
  color: var(--gold);
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.toast.show {
  animation: toastIn 0.3s ease forwards;
}

.toast.hide {
  animation: toastOut 0.3s ease forwards;
}

/* ---- FOOTER ---- */
.footer {
  background: #0A0A0A;
  border-top: 1px solid var(--border);
  padding: 40px 0 28px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.footer__info {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 2;
}

.footer__info a {
  color: var(--neon);
}

.footer__info a:hover {
  text-decoration: underline;
}

.footer__admin-link {
  color: rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  transition: color 0.2s;
}

.footer__admin-link:hover {
  color: var(--text-muted);
}

/* ---- HEADER NAV HIDE ON MOBILE ---- */
@media (max-width: 639px) {
  .header__nav {
    display: none;
  }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0F0F0F;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* ---- SELECTION ---- */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: var(--text);
}