/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* ── FOOTER ──────────────────────────────────────────── */
/* Fuerza la dirección de fila en el template Theme Builder */
.e-footer-cols {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(196,165,90,.08);
  width: 100%;
  box-sizing: border-box;
}


/* ── CARTA / MENÚ ─────────────────────────────────────── */
.menu-category { margin-bottom: 48px; scroll-margin-top: 140px; }

.menu-category-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem; font-weight: 400; font-style: italic;
  color: #C4A55A;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(196,165,90,.2);
  margin-bottom: 8px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dotted rgba(106,106,85,.18);
}
.menu-item:last-child { border-bottom: none; }

/* El widget Elementor envuelve precios simples en un párrafo;
   neutralizamos la herencia de tamaño del tema          */
.menu-item > p { margin: 0; font-size: inherit; line-height: inherit; }

.menu-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.05rem; font-weight: 400;
  color: #2A2A22; margin-bottom: 3px;
}

.menu-item-desc { font-size: .73rem; color: #6B6B55; }

.menu-item-price {
  font-size: 1rem; font-weight: 400;
  color: #2A2A22; white-space: nowrap;
}
.menu-item-price small { font-size: .7rem; color: #6B6B55; font-weight: 300; }

.menu-item-price--ask { font-style: italic; font-size: .85rem; color: #6B6B55; }

.menu-item-prices {
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 3px; flex-shrink: 0;
  font-size: 1rem; font-weight: 400;
  color: #2A2A22; white-space: nowrap;
}
.menu-item-prices small {
  font-size: .58rem; text-transform: uppercase;
  letter-spacing: .06em; color: #6B6B55; margin-right: 5px;
}

.menu-note    { text-align: center; font-size: .72rem; color: #6B6B55; font-style: italic; margin-top: 48px; }
.menu-allergen { text-align: center; font-size: .7rem;  color: #6B6B55; margin-top: 10px; }


/* ── SWITCHER / CAT NAV ──────────────────────────────── */
/* Elementor envuelve los HTML widgets en .elementor-widget;
   el sticky debe ir en ese wrapper, no en el div interno   */
.elementor-widget:has(.menu-switcher) {
  position: sticky;
  top: 0;
  z-index: 90;
}
.elementor-widget:has(.menu-cat-nav) {
  position: sticky;
  top: 56px;
  z-index: 89;
}

.menu-switcher {
  background: #F8F4EE;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(196,165,90,.15);
  width: 100%;
  box-sizing: border-box;
}

.menu-switch-btn {
  background: transparent !important;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #6B6B55;
  cursor: pointer;
  transition: color .2s, border-color .2s;
  box-shadow: none !important;
}
.menu-switch-btn.active,
.menu-switch-btn:hover,
.menu-switch-btn:focus {
  background: transparent !important;
  color: #C4A55A;
  border-bottom-color: #C4A55A;
  box-shadow: none !important;
}

.menu-cat-nav {
  background: #F8F4EE;
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 10px 24px;
  border-bottom: 1px solid rgba(196,165,90,.1);
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
}
.menu-cat-nav::-webkit-scrollbar { display: none; }

.menu-cat-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6B6B55;
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 16px;
  border-radius: 2px;
  transition: color .2s, background .2s;
}
.menu-cat-nav a:hover {
  color: #C4A55A;
  background: rgba(196,165,90,.08);
}


/* ── RESPONSIVE CARTA ───────────────────────────────── */
@media (max-width: 768px) {
  /* En móvil el header de Astra es ~60px */
  .elementor-widget:has(.menu-switcher) { top: 0; }
  .elementor-widget:has(.menu-cat-nav)  { top: 52px; /* altura del switcher en móvil */ }
  .menu-switcher { padding: 12px 16px; }
  .menu-switch-btn { padding: 8px 20px; }

  /* justify-content: center rompe el scroll en overflow;
     en móvil los 10 ítems desbordan, usamos flex-start */
  .menu-cat-nav { justify-content: flex-start; }

  .menu-category-title { font-size: 1.2rem; }
  .menu-category { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .menu-item { gap: 10px; }
  .menu-item-prices { gap: 2px; }
}


/* ── VINOS ───────────────────────────────────────────── */
.wine-category-title-el {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem; font-style: italic; color: #C4A55A;
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 18px;
}
.wine-category-title-el::after {
  content: ''; flex: 1; height: 1px; background: rgba(196,165,90,.2);
}

.wine-item-el {
  display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px; padding: 11px 0;
  border-bottom: 1px dotted rgba(196,165,90,.12);
}
.wine-item-el:last-child { border-bottom: none; }

.wine-item-el-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem; color: #F2EBD9;
}
.wine-item-el-origin {
  font-size: .64rem; color: rgba(196,165,90,.65);
  text-transform: uppercase; letter-spacing: .08em;
  display: block; margin-top: 2px;
}
.wine-item-el-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem; color: #C4A55A; white-space: nowrap;
}
