/**
* Template Name: Restaurantly
* Template URL: https://bootstrapmade.com/restaurantly-restaurant-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Playfair Display",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #0c0b09; /* Background color for the entire website, including individual sections */
  --default-color: rgba(255, 255, 255, 0.7); /* Default color used for the majority of the text content across the entire website */
  --heading-color: #ffffff; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #cda45e; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #29261f; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #0c0b09; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #cda45e; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #29261f; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #29261f; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #ffffff; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #cda45e; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #29261f;
  --surface-color: #464135;
}

.dark-background {
  --background-color: #000000;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #1a1a1a;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  overflow-x: hidden !important;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

/* fondo del hero */
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* logo dentro del hero */
.hero-logo{
  position: relative;   /* ya no es absolute */
  width: auto;
  max-width: 380px;     /* ajusta según necesites */
  height: auto;
  object-fit: contain;  /* evita deformación */
  z-index: 3;           /* sobre el fondo */
}

/* Eliminación de código erróneo y comentarios mal ubicados */

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(12, 11, 9, 0.61);
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
}

.header .topbar {
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--accent-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--default-color);
}

@media (max-width: 575px) {

  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

.header .topbar .languages ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--accent-color);
}

.header .topbar .languages ul a {
  color: var(--default-color);
}

.header .topbar .languages ul a:hover {
  color: var(--accent-color);
}

.header .topbar .languages ul li+li {
  padding-left: 10px;
}

.header .topbar .languages ul li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  content: "/";
}

.header .branding {
  background-color: var(--background-color);
  min-height: 60px;
  padding: 10px 0;
  transition: 0.3s;
  border-bottom: 1px solid var(--background-color);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 60px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .btn-book-a-table,
.header .btn-book-a-table:focus {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  text-transform: uppercase;
  font-size: 14px;
  padding: 6px 24px;
  margin: 0 5px 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.header .btn-book-a-table:hover,
.header .btn-book-a-table:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

.scrolled .header .branding {
  border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: #0c0b09;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 60px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Nuevo botón win-float, abajo a la izquierda */
.win-float {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  left: 50%;
  transform: translateX(-50%);
  bottom: 95px;
  z-index: 99999;
  background: var(--accent-color);
  color: #111;
  border: 2px solid var(--accent-color);
  border-radius: 50px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif !important;
  font-weight: 600;
  text-transform: uppercase;
  padding: 6px 24px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  white-space: nowrap;
}

.win-float:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 10%);
  color: #111;
  border-color: var(--accent-color);
}

.win-float.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 77px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 20px;
  position: relative;
}

@media (max-width: 768px) {
  .section-title {
    padding-bottom: 10px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--accent-color);
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
  position: relative;
  display: inline-block;
}

.section-title p::after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: var(--accent-color);
  margin: 8px 0 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--default-color);
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero .cta-btn {
  color: var(--default-color);
  border: 2px solid var(--accent-color);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  transition: 0.3s;
  flex-shrink: 0;
}

.hero .cta-btn:first-child {
  margin-right: 10px;
}

.hero .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 480px) {
  .hero .cta-btn {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .card-item {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

.why-us .card-item span {
  color: var(--accent-color);
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.why-us .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.why-us .card-item h4 a {
  color: var(--heading-color);
}

.why-us .card-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0;
  padding: 0;
}

.why-us .card-item:hover {
  background: var(--accent-color);
  padding: 30px 30px 70px 30px;
}

.why-us .card-item:hover span,
.why-us .card-item:hover h4 a,
.why-us .card-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
}

.menu .menu-filters {
  padding: 0;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}

.menu .menu-filters li {
  display: inline-block !important;
  flex: unset !important;
  min-width: unset !important;
  max-width: unset !important;
  padding: 8px 12px 10px 12px !important;
  font-size: 16px !important;
  font-family: var(--heading-font) !important;
  margin-bottom: 10px !important;
  box-sizing: border-box;
}

.menu .menu-filters li:hover,
.menu .menu-filters li.filter-active {
  color: var(--accent-color);
}

.menu .menu-filters li:last-child {
  margin-right: 0;
}

.menu .menu-item {
  margin-top: 50px;
  position: relative;
}

/* Reducir espaciado solo para los títulos de sección */
.menu .menu-item:first-of-type,
.menu .isotope-item:first-child .menu-item {
  margin-top: 25px;
}

@media (max-width: 768px) {
  .menu .menu-item {
    margin-top: 30px;
  }
  
  .menu .menu-item:first-of-type,
  .menu .isotope-item:first-child .menu-item {
    margin-top: 15px;
  }
}

.menu .menu-item::after {
  content: "";
  display: block;
  clear: both;
}

.menu .menu-img {
  width: 80px;
  border-radius: 50%;
  float: left;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.menu .menu-content {
  margin-left: 95px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.menu .menu-content::after {
  content: "......................................................................" "...................................................................." "....................................................................";
  position: absolute;
  left: 20px;
  right: 0;
  top: -4px;
  z-index: 1;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

.menu .menu-content a {
  color: var(--heading-color);
  background: var(--background-color);
  padding-right: 10px;
  position: relative;
  z-index: 3;
  font-weight: 400;
  transition: 0.3s;
}

.menu .menu-content a:hover {
  color: var(--accent-color);
}

.menu .menu-content span {
  background: var(--background-color);
  color: var(--accent-color);
  position: relative;
  z-index: 3;
  padding: 0 10px;
  font-weight: 600;
}

.menu .menu-ingredients {
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Specials Section
--------------------------------------------------------------*/
.specials {
  overflow: hidden;
}

.specials .nav-tabs {
  border: 0;
}

.specials .nav-link {
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--heading-color);
  border-radius: 0;
  border-right: 2px solid var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.specials .nav-link:hover {
  color: var(--accent-color);
}

.specials .nav-link.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.specials .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.specials .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.specials .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.specials .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .specials .nav-link {
    border: 0;
    padding: 15px;
  }

  .specials .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events {
  --default-color: #ffffff;
  --background-color: #000000;
  --heading-color: #ffffff;
  padding: 80px 0;
  position: relative;
}

.events .slider-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.events:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.events .section-title h2 {
  color: #ffffff;
}

.events .container {
  position: relative;
  z-index: 3;
}

.events .event-item h3 {
  font-weight: 700;
  font-size: 30px;
}

.events .event-item .price {
  font-size: 26px;
  font-family: var(--default-font);
  font-weight: 700;
  margin-bottom: 15px;
}

.events .event-item .price span {
  border-bottom: 2px solid var(--accent-color);
}

.events .event-item ul {
  list-style: none;
  padding: 0;
}

.events .event-item ul li {
  padding-bottom: 10px;
}

.events .event-item ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.events .event-item p:last-child {
  margin-bottom: 0;
}

.events .swiper-wrapper {
  height: auto;
}

.events .swiper-pagination {
  margin-top: 30px;
  position: relative;
}

.events .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 70%);
  opacity: 1;
}

.events .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background-color: color-mix(in srgb, var(--background-color) 90%, white 5%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
}

.contact .php-email-form button[type=submit] {
  color: var(--default-color);
  background: none;
  border: 2px solid var(--accent-color);
  padding: 8px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
/* Eliminar .starter-section y .header.header-filters-active .mobile-nav-toggle por ser huérfanas */


/* ---- HERO BACKGROUND ---- */
.hero .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

/* ---- HERO LOGO ---- */
.hero .hero-logo{
  position:relative;      /* sale del absoluto heredado */
  display:block;
  width:auto;
  max-width:380px;        /* ajusta si lo necesitas */
  height:auto;
  object-fit:contain;     /* sin deformar */
  z-index:3;              /* sobre el fondo y la superposición oscura */
}

/* Centrado de logo y botones en el hero */
.hero .container.d-flex {
  min-height: 500px;
  justify-content: center;
  align-items: center;
}
.hero .hero-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.hero .d-flex.mt-4.justify-content-center {
  width: 100%;
  justify-content: center !important;
}

/* Banderas barra superior */
.flags-bar {
  gap: 8px;
}
.flags-bar img {
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.flags-bar img:hover {
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Estilos para la barra de branding con filtros activos */
.header.header-filters-active .branding-content-original .flags-bar,
.header.header-filters-active .branding-content-original .navmenu > ul,
.header.header-filters-active .branding-content-original .btn-book-a-table {
  display: none !important; /* Oculta selectivamente los elementos originales */
}

/* El mobile-nav-toggle debe permanecer visible si es relevante (está dentro de .navmenu) */
/* No necesitamos una regla explícita si no lo ocultamos arriba */

.header.header-filters-active .branding-content-filters {
  display: flex !important; /* Muestra los filtros */
  width: 100%; /* Asegurar que ocupe el espacio */
  justify-content: center; /* Centrar los filtros */
}

/* Estilos para los filtros en la barra de branding */
.branding-content-filters .menu-filters {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 8px;
  margin: 0;
  list-style: none;
  text-align: center;
  scrollbar-width: thin;
}

.branding-content-filters .menu-filters li {
  white-space: nowrap;
  min-width: 60px;
  text-align: center;
  flex: 0 0 auto;
  padding: 8px 4px;
  font-size: 15px;
}

/* Mantener los estilos de .starter-section y .hero .hero-bg que estaban al final */
.starter-section {
  /* Add your styles here */
}


/* ---- HERO BACKGROUND ---- */
.hero .hero-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;
}

/* ---- HERO LOGO ---- */
/* Ya definido y limpiado arriba, nos aseguramos que no se duplique incorrectamente */
/* Si es necesario redefinir algo específico de .hero .hero-logo que estaba al final y se perdió, se haría aquí */
/* Por ahora, se asume que la definición principal de .hero-logo es suficiente */

/* Ocultar el menú hamburguesa cuando está activo el menú de filtros fijo */
.header.header-filters-active .mobile-nav-toggle {
  display: none !important;
}

/* Estilos para los filtros de menú (ambas listas) con iconos */
.menu-filters li {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.menu-filters li img {
  display: block;
  border-radius: 3px;
  height: 56px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.menu-filters li:hover img {
  transform: scale(1.1);
}

.menu-filters li.filter-active {
  /* Estilo para el LI activo (puede ser un borde o un fondo sutil) */
  /* background-color: rgba(var(--accent-color-rgb), 0.1); */
  /* border-bottom: 2px solid var(--accent-color); */ /* Ejemplo de borde inferior */
}

.menu-filters li.filter-active img {
  box-shadow: 0 0 8px rgba(var(--accent-color-rgb), 0.7); /* Resaltar icono activo */
  /* transform: scale(1.1); */ /* Eliminado: causaba inconsistencia en el tamaño */
}

/* ===== ICONOS RESPONSIVOS EN BARRA DE FILTROS ===== */

/* Contenedor de filtros - ajustar espaciado */
.branding-content-filters .menu-filters,
#fixed-menu-filters {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 1.8vw, 14px); /* Espaciado ligeramente aumentado */
  padding: 6px clamp(4px, 0.8vw, 12px); /* Padding aumentado */
  margin: 0;
  list-style: none;
  overflow-x: hidden; /* Evitar scroll horizontal */
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Items del menú */
.branding-content-filters .menu-filters li,
#fixed-menu-filters li {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-width: 0; /* Permitir que se compriman si es necesario */
}

/* Asegurar distribución uniforme en móviles */
@media (max-width: 480px) {
  .branding-content-filters .menu-filters li,
  #fixed-menu-filters li {
    flex: 1 1 auto; /* Permitir crecimiento y encogimiento */
    max-width: calc(100% / 6); /* Máximo 6 iconos por fila */
    min-width: 30px; /* Mínimo para mantener legibilidad */
  }
}

/* Iconos - tamaño responsivo */
.menu-filters li img,
.menu-icon,
.sub-menu-icon {
  /* Tamaño base adaptativo - 1.6x más grande */
  width: clamp(45px, 7.2vw, 90px);
  height: clamp(45px, 7.2vw, 90px);
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0; /* Evitar que se compriman */
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets y escritorio */
@media (min-width: 768px) {
  .branding-content-filters .menu-filters,
  #fixed-menu-filters {
    gap: clamp(8px, 2.2vw, 16px);
    padding: 8px clamp(6px, 1.5vw, 16px);
  }
}

/* Móviles grandes y tablets pequeñas */
@media (max-width: 767px) and (min-width: 481px) {
  .branding-content-filters .menu-filters,
  #fixed-menu-filters {
    gap: clamp(4px, 1.5vw, 8px);
    padding: 6px clamp(3px, 0.8vw, 10px);
  }
  
  .menu-filters li img,
  .menu-icon,
  .sub-menu-icon,
  .branding-content-filters .menu-filters li img,
  #fixed-menu-filters li img {
    width: clamp(51px, 9.6vw, 70px) !important;
    height: clamp(51px, 9.6vw, 70px) !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }
}

/* Móviles pequeños */
@media (max-width: 480px) {
  .branding-content-filters .menu-filters,
  #fixed-menu-filters {
    gap: clamp(3px, 1vw, 6px);
    padding: 4px clamp(2px, 0.5vw, 6px);
    justify-content: space-evenly; /* Distribuir uniformemente */
  }
  
  .menu-filters li img,
  .menu-icon,
  .sub-menu-icon,
  .branding-content-filters .menu-filters li img,
  #fixed-menu-filters li img {
    width: clamp(42px, 11.2vw, 58px) !important;
    height: clamp(42px, 11.2vw, 58px) !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }
}

/* Móviles muy pequeños */
@media (max-width: 360px) {
  .branding-content-filters .menu-filters,
  #fixed-menu-filters {
    gap: 3px;
    padding: 2px 3px;
  }
  
  .menu-filters li img,
  .menu-icon,
  .sub-menu-icon,
  .branding-content-filters .menu-filters li img,
  #fixed-menu-filters li img {
    width: clamp(38px, 12.8vw, 48px) !important;
    height: clamp(38px, 12.8vw, 48px) !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
  }
}

/* ===== EFECTOS HOVER ADAPTADOS AL TAMAÑO ===== */
@media (hover: hover) {
  .menu-filters li img:hover,
  .menu-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(205, 164, 94, 0.3);
  }
  
  .sub-menu-icon:hover {
    transform: scale(1.1);
  }
}

/* Touch devices - efectos más sutiles */
@media (hover: none) {
  .menu-filters li img:active,
  .menu-icon:active {
    transform: scale(0.95);
  }
}

/* ===== MEJORAS ADICIONALES ===== */

/* Asegurar que los dropdowns se ajusten al tamaño del icono padre */
.menu-dropdown-content {
  margin-top: 4px;
}

@media (max-width: 767px) {
  .menu-dropdown-content {
    margin-top: 2px;
  }
}

/* Eliminar scroll horizontal completamente */
.branding-content-filters .menu-filters::-webkit-scrollbar,
#fixed-menu-filters::-webkit-scrollbar {
  display: none;
}

.branding-content-filters .menu-filters,
#fixed-menu-filters {
  -ms-overflow-style: none;  /* IE y Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Ajustar altura de la barra según el tamaño de los iconos */
@media (max-width: 575px) {
  .header .branding.d-flex {
    min-height: 50px;
    padding: 6px 0;
  }
}

@media (max-width: 480px) {
  .header .branding.d-flex {
    min-height: 44px;
    padding: 4px 0;
  }
}

/* Mantener proporción circular perfecta */
.menu-filters li img,
.menu-icon,
.sub-menu-icon {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Forzar iconos circulares perfectos */
.menu-filters li img,
.menu-icon,
.sub-menu-icon,
.branding-content-filters .menu-filters li img,
#fixed-menu-filters li img {
  border-radius: 50% !important;
  object-fit: cover !important;
  aspect-ratio: 1 / 1 !important;
  min-width: unset !important;
  min-height: unset !important;
  max-width: unset !important;
  max-height: unset !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

/* Prevenir deformación en contenedores pequeños */
@media (max-width: 480px) {
  .branding-content-filters .menu-filters li,
  #fixed-menu-filters li {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* Asegurar que los contenedores no deformen los iconos */
.branding-content-filters .menu-filters li,
#fixed-menu-filters li {
  overflow: visible !important;
  box-sizing: content-box !important;
}

.branding-content-filters .menu-filters li img,
#fixed-menu-filters li img {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Asegurar que las listas de filtros sean flex y tengan scroll horizontal si es necesario */
#fixed-menu-filters,
#original-menu-filters {
  display: flex;
  flex-wrap: nowrap;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  gap: 8px;
  padding: 0 12px;
  box-sizing: border-box;
}

#original-menu-filters {
    justify-content: center; /* El menú original sí puede centrarse si no hace scroll */
}

@media (max-width: 600px) {
  .menu-filters li img {
    height: 40px;
  }
}

.menu-filters li:first-child,
.menu-filters li:last-child {
  margin-left: 4px;
  margin-right: 4px;
}

html, body {
  overflow-x: hidden !important;
}

#original-menu-filters
{
  flex-wrap:wrap!important;
  overflow-x:visible!important;
  width:100%!important;
}

/* Estilos para los títulos de sección */
.titulo-seccion-menu.filter-linea {
  position: relative;
  display: inline-block;
}

.titulo-seccion-menu.filter-linea::after {
  content: "";
  width: 90px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
  margin-left: 16px;
  vertical-align: middle;
  position: relative;
  top: -0.2em;
}

/* Interletrado y separación vertical */
.titulo-seccion-menu {
  letter-spacing: 0.6px;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .titulo-seccion-menu {
    margin-top: 0.8rem;
  }
}

@media (max-width: 768px) {
  #original-menu-filters {
    display: none !important;
  }
}

/* Estilos para GLightbox */
.glightbox-container .gslide-title,
.glightbox-container .gslide-description,
.glightbox-container .gslide-desc {
  position: relative;         /* flujo normal, debajo de la foto */
  width: 90%;
  margin: 6px auto 0;         /* más cerca de la imagen */
  font-size: 0.95rem;         /* letra un poco más grande */
  line-height: 1.3;
  text-align: center;         /* centrado horizontal */
  color: #fff;                /* legible sobre fondo oscuro */
  background: transparent !important;
  padding: 0;
}

/* elimina cualquier overlay gris nativo */
.glightbox-container .gslide-title::before,
.glightbox-container .gslide-description::before,
.glightbox-container .gslide-desc::before {
  display: none;
}

#flags-bar{display:flex;align-items:center;overflow:hidden;transition:width .3s;}
#lang-icon{height:24px;cursor:pointer;transition:.2s;}
#lang-icon:hover{transform:scale(1.12);filter:brightness(1.2);}
#lang-menu{display:flex;opacity:0;max-width:0;transform:translateX(-20px);transition:.3s;}
#flags-bar.open #lang-menu{opacity:1;max-width:200px;transform:none;}
#lang-menu a{margin:0 4px;text-decoration:none;color:var(--default-color);transition:.2s;}
#lang-menu a:hover{color:var(--accent-color);}

/* ítems sin imagen */
.menu-item.no-photo .menu-content,
.menu-item.no-photo .menu-ingredients {
  margin-left: 0;
}

.menu-item.no-photo .menu-content::after {
  left: 0;
}

/* nombre + precio en ítems sin imagen */
.menu-item.no-photo .menu-content a{
  position: relative;                /* crea stacking context */
  background: var(--background-color); /* tapa los puntos */
  padding-right: 4px;                /* separa del precio */
  z-index: 2;                        /* por encima de los puntos */
}

.menu .menu-content .dish-name{
  color: var(--heading-color);
  background: var(--background-color);
  font-weight: 400;
  position: relative;
  z-index: 3;
  padding: 0 10px 0 0;
}

/*──── Wine-Smart (popup del quiz) ──────────────────────────*/

/* Caja gris oscura, tamaño y bordes */
.gslide-inline #wine-quiz{
  background:#222;
  color:#fff;
  border-radius:20px;
  padding:40px 24px;
  width:90vw;
  max-width:440px;
  max-height:80vh;
  margin:0 auto;
  box-sizing:border-box;
}

/* Botones */
.gslide-inline #wine-quiz .cta-btn{
  background:transparent;
  border:2px solid var(--accent-color);
  color:#fff;
  font-size:14px;
  text-transform:uppercase;
  padding:8px 30px;
  border-radius:50px;
  transition:.3s;
}

.gslide-inline #wine-quiz .cta-btn:first-child{margin-right:10px;}

.gslide-inline #wine-quiz{overflow:hidden;border-radius:20px;}

/* ─ Wine-Smart: rellenar las esquinas vacías ─ */
.gslide-inline .gslide,
.gslide-inline .gslide-inner{
  background:#222 !important;   /* mismo gris oscuro */
  border-radius:20px;           /* coincide con #wine-quiz */
  overflow:hidden;              /* evita fugas blancas */
}

/* Wine-Smart: tapa las esquinas blancas */
.gslide-inline{
  background:#222 !important;
  border-radius:20px !important;
  overflow:hidden !important;
  padding:0 !important;
}

.gslide-inline #wine-quiz .cta-btn:hover,
.gslide-inline #wine-quiz .cta-btn:focus{
  background:color-mix(in srgb, var(--accent-color), transparent 20%);
  color:#222;
}

/* ------------------------------------------------------------------
   Mobile-specific overrides (viewport ≤ 600px) – v7
   Precise button alignment using fixed ratio + absolute slices
   ------------------------------------------------------------------ */
   @media (max-width: 600px) {

    /* ---------------------------------------------------
       Hero image height fixed to background image ratio
       --------------------------------------------------- */
    #hero {
      background-image: url('../img/fondo-movil.webp');
      background-size: cover;
      background-position: top center;
      background-repeat: no-repeat;
  
      min-height: unset !important;
      height: calc(100vw * 1.8033); /* 600x1082 → 1082/600 = 1.8033 */
      padding: 0 !important;
      margin: 0 !important;
      position: relative;
      overflow: hidden; /* Asegurar que no se desborde */
    }
    
    /* SOBRESCRIBIR EL CONTAINER HARDCODEADO */
    #hero .container {
      min-height: unset !important;
      height: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    
    #hero::before, #hero::after,
    #hero img.hero-bg, #hero .hero-logo {
      display: none !important;
    }
  
    /* Hide original topbar in mobile */
    #header .topbar { display: none !important; }
    #header .branding {
      background: transparent !important;
      border: none !important;
      transition: background-color .3s ease;
    }
    .scrolled #header .branding {
      background: rgba(0, 0, 0, 0.85) !important;
      border-bottom: 1px solid rgba(0, 0, 0, 0.85) !important;
    }
  
    /* ---------------------------------------------------
       Button wrapper = full height and slices inside
       --------------------------------------------------- */
    .hero-btns-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box;
    }
    
    /* Posición de los botones ajustada según feedback visual - Todos bajados significativamente */
    .hero-btns-wrapper a:nth-child(1) { top: 48%; }    /* Reservar Mesa */
    .hero-btns-wrapper a:nth-child(2) { top: 74%; }    /* Ver la Carta */
    .hero-btns-wrapper a:nth-child(3) { 
      top: auto !important;   /* Quitar top */
      bottom: 0px !important; /* AHORA SÍ estará a 1px del borde real */
      transform: translateX(-50%) !important;  /* Solo centrado horizontal */
    }
    .hero-btns-wrapper a.cta-btn {
      position: absolute !important;
      left: 50% !important;
      transform: translateX(-50%) translateY(-50%) !important;
      z-index: 20 !important;
    
      /* Estado inicial: RELLENOS */
      background-color: var(--accent-color); /* corregido */
      border: 2px solid var(--accent-color) !important;
      color: #222;
      font-size: 11px !important;
      text-transform: uppercase !important;
      padding: 6px 24px !important;
      border-radius: 40px !important;
      white-space: nowrap !important;
      text-align: center !important;
      text-decoration: none !important;
      display: inline-block !important;
      font-weight: 700 !important;
      letter-spacing: 1px !important;
    
      /* Transición completa y correcta */
      transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }
    

    /* Hover/Focus/Active: SE VACÍAN */
    .hero-btns-wrapper a.cta-btn:hover,
    .hero-btns-wrapper a.cta-btn:focus,
    .hero-btns-wrapper a.cta-btn:active {
      background-color: transparent !important;
      color: #fff !important;
      /* Aseguramos que el borde se mantenga visible y con el color correcto */
      border-color: var(--accent-color) !important;
    }

  }
  
/* Ocultar SOLO el tercer botón del hero-btns-wrapper en escritorio (NO afectar el del header) */
@media (min-width: 601px) {
  .hero-btns-wrapper a:nth-child(3) {
    display: none !important;
  }
}

.agotado .dish-name {
  text-decoration: line-through;
  opacity: 0.35;
}


  