/* Ojitos Negros - Global Styles */

@font-face {
  font-family: 'Humane-Regular';
  src: url('assets/fonts/Humane-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Design Tokens */
  --bg-main: #000000;
  --text-main: #ffffff;
  --accent: #d9546b;
  --accent-soft: rgba(217, 84, 107, 0.25);
  --divider: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-title: 'Allura', cursive;
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Hind', sans-serif;
  --font-serif: 'Playfair Display', serif;
  /* Legacy fallback */
  --font-sans: var(--font-body);
  /* Remap sans to body font */

  /* Spacing */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.02em;
  /* Editorial look */
}

/* Titles that should use Allura? User said 'Titles (títulos decorativos): Allura' */
.title-decorative,
.hero-title,
.section-title.decorative {
  font-family: var(--font-title);
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* Typography Utilities */
.text-accent {
  color: var(--accent);
}

.title-page {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  /* Increased for Humane which is usually condensed/tall */
  margin-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--divider);
  padding-bottom: var(--spacing-md);
  text-transform: uppercase;
  line-height: 0.9;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg) 0;
  flex: 1;
  /* Push footer down */
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: #000;
  z-index: 1000;
  border-bottom: 1px solid var(--divider);
  padding: var(--spacing-md) 0;
  overflow: hidden;
  /* Ensure overlay stays inside */
}

/* Overlay for Navbar */
.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  /* Dark overlay for readability */
  z-index: -1;
}

/* Ensure content is above overlay */
.nav-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Banner (Index) */
.hero-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background-image: url('assets/Oj04.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-brand {
  font-family: var(--font-title);
  font-size: 5rem;
  color: #fff;
  line-height: 1;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease 0.3s forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease 0.5s forwards;
}

.hero-cta {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease 0.7s forwards;
  cursor: pointer;
}

.hero-cta:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 280px;
  }

  .hero-brand {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 48px;
  /* Adjust as needed */
  width: auto;
  object-fit: contain;
}

/* Visually hidden text for accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-family: var(--font-body);
  /* Hind for UI text */
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a.active {
  color: var(--accent);
}

/* Mobile Navigation Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  /* Hidden by default */
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #050505;
  border-left: 1px solid var(--divider);
  padding: var(--spacing-xl) var(--spacing-lg);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer a {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 2rem;
  border-bottom: 1px solid var(--divider);
  padding-bottom: var(--spacing-sm);
  line-height: 1;
}

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Hide desktop nav on mobile */
  }

  .mobile-toggle {
    display: block;
    /* Show hamburger on mobile */
  }
}

/* Editorial Layout - Netflix Style */
.editorial-section {
  margin-bottom: 80px;
  /* Editorial spacing */
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-md);
  /* Align with start of tiles */
}

/* Horizontal Scroll Container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  /* Even spacing */
  padding: var(--spacing-md);
  /* Space for hover effects/shadows if needed */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* smooth scroll on iOS */
  scrollbar-width: none;
  /* Firefox */
}

.scroll-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Opera */
}

/* Menu Tiles (Editorial Style) */
.menu-tile {
  flex: 0 0 auto;
  /* Don't shrink */
  width: 280px;
  /* Editorial width */
  min-height: 180px;
  background-color: var(--bg-main);
  border: 1px solid var(--divider);
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.menu-tile:hover {
  transform: scale(1.03);
  border-color: var(--accent-soft);
}

.tile-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.tile-price {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--accent);
  text-align: right;
  margin-top: auto;
}

/* =========================================
   Netflix-Style Menu Cards (Degustación Upgrade)
   ========================================= */

/* Grid Layout - Robust & Responsive */
#menuList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  /* Auto-fill with min 300px */
  gap: 24px;
  padding: 20px 0;
  width: 100%;
  align-items: stretch;
  /* Cards same height */
}

/* Card Container */
.menu-card {
  position: relative;
  background-color: #141414;
  border: 1px solid #333;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 350px;
}

.menu-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

/* Poster Image */
.menu-card__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.48;
  transition: transform .35s ease, opacity .35s ease;
}

.menu-card:hover .menu-card__poster {
  transform: scale(1.05);
  opacity: 0.62;
}

.menu-card__gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  z-index: 0;
}



/* Card Content Overlay - Ensure Gradient for readability */
.menu-card__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  margin-bottom: 60px; /* Space for the button */
}

.menu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.menu-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  flex: 1;
  /* Take simplified space */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.menu-card__price {
  font-family: var(--font-body);
  color: var(--accent);
  font-weight: bold;
  font-size: 1.1rem;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  margin-top: 2px;
  /* Visual alignment */
}

.menu-card__desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 1);
  margin-top: 8px;
}

/* Video Button Styling (New) */
.video-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 10;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.video-btn:hover {
  background: #f06a81;
}

.video-btn .icon {
  font-size: 0.7rem;
}

/* =========================================
   FOOTER (New)
   ========================================= */
.site-footer {
  background-color: #000;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 20px;
  border-top: 1px solid var(--divider);
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

.footer-brand img {
  max-width: 180px;
  height: auto;
  opacity: 0.9;
}

.footer-info {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 80px 40px;
  }
}

/* =========================================
   Global Video Modal Overlay
   ========================================= */
.videoModal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

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

.videoModal__dialog {
  width: 92vw;
  max-width: 900px;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: scale(.95);
  transition: .25s ease;
}

.videoModal__overlay.active .videoModal__dialog {
  transform: scale(1);
}

.videoModal__content video {
  width: 100%;
  height: auto;
  display: block;
}

.videoModal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.videoModal__close:hover {
  background: rgba(255, 255, 255, .2);
}

body.modal-open {
  overflow: hidden;
}

/* =========================================
   Video Preview on Hover (Netflix Style)
   ========================================= */
/* Unused legacy video preview system removed in favor of Posters */

/* =========================================
   Video Fallback Styles
   ========================================= */
.videoPreview--unavailable {
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  padding: 0 !important;
  pointer-events: none;
}

.videoModal__fallback {
  padding: 28px 22px;
  text-align: center;
  color: #fff;
  display: none;
  /* Hidden by default, toggled via JS */
}

.videoModal__fallback[hidden] {
  display: none !important;
}

/* When active (not hidden), display block */
.videoModal__fallback:not([hidden]) {
  display: block;
}

.videoModal__fallbackTitle {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.videoModal__fallbackText {
  font-family: 'Inter', sans-serif;
  opacity: .85;
  font-size: 14px;
  line-height: 1.6;
}

/* =========================================
   CINEMATIC UI UPGRADE
   ========================================= */

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger via CSS variable --i */
.menu-item,
.menu-card,
.menu-tile {
  opacity: 0;
  /* Starte hidden */
  animation: cardIn .42s ease forwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}

/* Hover glow premium */
.menu-item:hover,
.menu-card:hover,
.menu-tile:hover {
  border-color: rgba(217, 84, 107, .35);
  box-shadow:
    0 0 0 1px rgba(217, 84, 107, .18),
    0 10px 28px rgba(0, 0, 0, .55);
}

/* Botón de video hover más fino */
.btn-video:hover {
  box-shadow: 0 0 0 1px rgba(217, 84, 107, .25);
}

/* Preview crossfade support */
.videoPreview {
  position: relative;
}

.videoPreview video {
  opacity: 0;
  transition: opacity .22s ease;
}

/* =========================
   VIDEO BUTTON (Unified & Elegant)
   ========================= */
/* =========================
   VIDEO BUTTON (Floating Overlay)
   ========================= */
.video-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  border-color: var(--accent);
}

.video-btn .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.7em;
  color: var(--accent);
}

/* Ensure card can hold absolute button */
.menu-card {
  position: relative;
  padding-bottom: 70px !important;
  /* Make space for button */
}




/* =========================
   VIDEO MODAL OVERLAY (Dark & Blur)
   ========================= */
body.modal-open {
  overflow: hidden;
}

.videoModal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  /* Dark background */
  backdrop-filter: blur(8px);
  /* Blur effect */
  display: flex;
  /* Centered layout */
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.videoModal__dialog {
  width: 92%;
  max-width: 900px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle border */
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.videoModal__overlay.active .videoModal__dialog {
  transform: scale(1);
}

.videoModal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.videoModal__close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.videoModal__content {
  width: 100%;
  line-height: 0;
  /* Removing spacing under video */
  background: #000;
}

.videoModal__content video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 80vh;
}

.video-modal__fallback,
#videoModal__fallback {
  padding: 28px;
  text-align: center;
}

.video-modal__fallbackTitle,
.videoModal__fallbackTitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.video-modal__fallbackText,
.videoModal__fallbackText {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

/* =========================
   ELEGANT VIDEO BUTTON UPDATE
   ========================= */
.menu-card__cta {
  margin-top: auto;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(217, 84, 107, 0.3);
  /* Accent subtle border */
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .3s ease;
  backdrop-filter: blur(4px);
}

.menu-card__cta:hover {
  background: rgba(217, 84, 107, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(217, 84, 107, 0.2);
}

.video-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--accent);
}

.video-text {
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
}/* =========================================
   DEGUSTACIÓN INFO BLOCK
   ========================================= */
.degustacion-notice {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
    animation: fadeIn 0.8s ease 0.5s forwards;
    opacity: 0;
}

.degustacion-notice__inner {
    width: 100%;
    max-width: 800px;
    /* Similar to menu container */
    border: 2px solid var(--accent);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    /* Slight background for readability */
}

.degustacion-notice__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.degustacion-notice__price {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
}

.degustacion-notice__price strong {
    font-weight: 700;
    color: #fff;
}

.degustacion-notice__note {
    font-family: var(--font-body);
    font-size: 0.95rem;
    opacity: 0.8;
    color: #fff;
}

@media (max-width: 600px) {
    .degustacion-notice__inner {
        padding: 26px 20px;
    }

    .degustacion-notice__price {
        font-size: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

/* =========================================
   Degustacion Special Views
   ========================================= */

.degustacion-intro {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.degustacion-intro strong {
    color: var(--accent);
    font-weight: 500;
}

.degustacion-menu-block {
    margin: 70px 0;
    padding-top: 30px;
}

.degustacion-menu-block + .degustacion-menu-block {
    border-top: 1px solid rgba(217, 84, 107, 0.45);
}

.degustacion-menu-heading {
    text-align: center;
    margin-bottom: 34px;
}

.degustacion-menu-label {
    display: inline-block;
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 8px 22px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.degustacion-menu-heading h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    letter-spacing: 0.04em;
}

.degustacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}
/* ========================================= */
/* BEBIDAS PAGE STYLES                       */
/* ========================================= */

.page-bebidas {
    background-color: #0c0c0c;
    color: #fff;
}

.bebidas-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.bebidas-nav a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.bebidas-nav a:hover {
    background-color: var(--accent);
    color: #fff;
}

.bebidas-section {
    margin-bottom: 60px;
    border-top: 1px solid rgba(217, 84, 107, 0.3);
    padding-top: 40px;
}

.bebidas-section:first-of-type {
    border-top: none;
    padding-top: 0;
}

.bebidas-section__title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.bebidas-subsection-title {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 30px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.bebidas-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.bebidas-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
}

.bebidas-item__main {
    flex: 1;
    padding-right: 20px;
}

.bebidas-item__name {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bebidas-item__desc {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 4px;
}

.bebidas-item__price {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: #fff;
    white-space: nowrap;
}

/* Tablas Editoriales para Artesanales y Destilados */
.bebidas-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-collapse: collapse;
}

.bebidas-table th {
    text-align: left;
    font-family: var(--font-secondary);
    color: #aaa;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 10px;
    border-bottom: 1px solid rgba(217, 84, 107, 0.5);
}

.bebidas-table th.right {
    text-align: right;
}

.bebidas-table-row td {
    padding: 12px 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.bebidas-table-row td:first-child {
    color: var(--accent);
    text-transform: uppercase;
}

.bebidas-table-row td:last-child {
    text-align: right;
    color: #fff;
}

.bebidas-table-row td.type {
    color: #ccc;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    /* En mobile, las tablas se vuelven listas de una fila apilada si es necesario, pero como es sencilla la de destilados, podemos usar flex o mantener tabla */
    .bebidas-table, .bebidas-table tbody, .bebidas-table tr {
        display: block;
        width: 100%;
    }
    .bebidas-table thead {
        display: none;
    }
    .bebidas-table-row {
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(217, 84, 107, 0.2);
        padding-bottom: 10px;
    }
    .bebidas-table-row td {
        display: block;
        text-align: left !important;
        padding: 4px 0;
        border: none;
    }
    .bebidas-table-row td:first-child {
        font-size: 1.1rem;
    }
    .bebidas-table-row td.type {
        font-size: 0.85rem;
        color: #888;
    }
    .bebidas-table-row td:last-child {
        font-size: 1.1rem;
        margin-top: 5px;
    }
}


/* Bebidas Layout Grids */
.bebidas-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    align-items: start;
}

.bebidas-grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .bebidas-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bebidas-grid-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* =========================================
   Back to Top Button (Bebidas)
   ========================================= */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(217, 84, 107, 0.92);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  box-shadow: 0 10px 28px rgba(0,0,0,.45);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

