/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* test sync */

.bg-hero-video {
  position: relative;
  overflow: hidden;
}

.bg-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-code {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

/* Video background */
.video-code video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* Overlay negro 80% */
.video-code::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
  pointer-events: none;
}

/* Contenido encima */
.video-code > *:not(video) {
  position: relative;
  z-index: 2;
}


/* =========================================================
   MENU STICKY – SCROLL HORIZONTAL FUNCIONAL
   Wrapper: .dpgxoww0
   Items:   .dpnulfkl
   ========================================================= */

/* BASE – desktop + mobile */
.dpgxoww0{
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;

  width: 100%;
  max-width: 100%;

  overflow-x: auto !important;
  overflow-y: hidden;

  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;

  /* claves para que NO se rompa el scroll */
  min-width: 0;
  touch-action: pan-x;
}

/* Items: nunca se encogen (sin esto NO hay overflow) */
.dpgxoww0 .dpnulfkl{
  flex: 0 0 auto;
}

/* Ocultar scrollbar sin romper scroll */
.dpgxoww0::-webkit-scrollbar{
  height: 0;
}
.dpgxoww0{
  scrollbar-width: none;
}

/* Fix típico de Droip / WP: min-width heredado */
.dpgxoww0 *{
  min-width: 0;
}

/* =========================================================
   MOBILE – fuerza overflow visible y ancho 80%
   ========================================================= */
@media (max-width: 768px){

  .dpgxoww0{
    width: 80vw;        /* ✅ 80% del viewport */
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;

    overflow-x: auto !important;
    overflow-y: hidden;
  }
}

/* Solo afecta a .dpgxoww0 */
@media (max-width: 1024px) {
  .dpgxoww0{
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 95vw;
    max-width: 95vw;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    /* evita el “corte” visual en los bordes */
    padding-inline: 16px !important;
    scroll-padding-inline: 16px;

    /* espacio entre cards */
    gap: 16px !important;

    /* suavidad + buen comportamiento en móvil */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;

    /* clave para que NO se “desaparezcan” por el scroll */
    box-sizing: border-box;
  }

  /* los hijos no deben encogerse ni saltar de línea */
  .dpgxoww0 > *{
    flex: 0 0 auto !important;
    min-width: max-content;
  }

  /* opcional: esconder scrollbar */
  .dpgxoww0::-webkit-scrollbar{ display:none; }
  .dpgxoww0{ scrollbar-width:none; }
}

@media (max-width: 1024px) {
  .dpgxoww0{
    display: flex !important;
    flex-wrap: nowrap !important;

    /* MUY importante para que el inicio sea realmente el inicio */
    justify-content: flex-start !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    /* deja “aire” para que el primer item nunca quede cortado */
    padding-left: 16px !important;
    padding-right: 16px !important;

    /* a veces el gap + padding se vuelve loco, esto lo estabiliza */
    box-sizing: border-box !important;

    /* si hay snap aplicado en otro lado, esto lo neutraliza aquí */
    scroll-snap-type: none !important;

    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .dpgxoww0 > *{
    flex: 0 0 auto !important;
    max-width: none !important;
  }
}




/* =========================================================
   WooCommerce Mi cuenta — Simple + Pro (LIGHT) + Responsive
   Compatible con el HTML nativo de WooCommerce
   ========================================================= */

/* Contenedor general */
.woocommerce-account .woocommerce{
  padding-top: 200px;
  padding-bottom: 200px;
  /* display: grid; */
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items: start;
}

/* Tarjetas */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content{
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

/* Sidebar */
.woocommerce-account .woocommerce-MyAccount-navigation{
  position: sticky;
  top: 110px; /* si molesta, bájalo o ponlo en 0 */
  overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul{
  list-style: none;
  margin: 0;
  padding: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li{
  margin: 6px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a{
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  color: #1f2937;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover{
  background: #f6f7fb;
  border-color: #ececf3;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
  background: #111827;
  color: #fff;
  border-color: #111827;
}

/* Panel contenido */
.woocommerce-account .woocommerce-MyAccount-content{
  padding: 18px;
  min-height: 240px;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li,
.woocommerce-account .woocommerce-MyAccount-content label{
  color: #374151;
}

.woocommerce-account .woocommerce-MyAccount-content a{
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17,24,39,.25);
}

.woocommerce-account .woocommerce-MyAccount-content a:hover{
  text-decoration-color: rgba(17,24,39,.45);
}

/* Inputs */
.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
.woocommerce-account .woocommerce-MyAccount-content select,
.woocommerce-account .woocommerce-MyAccount-content textarea{
  width: 100%;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 12px;
  color: #111827;
  outline: none;
}

.woocommerce-account .woocommerce-MyAccount-content input:focus,
.woocommerce-account .woocommerce-MyAccount-content select:focus,
.woocommerce-account .woocommerce-MyAccount-content textarea:focus{
  border-color: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(148,163,184,.25);
}

/* Botones */
.woocommerce-account .woocommerce-MyAccount-content .button,
.woocommerce-account .woocommerce-MyAccount-content button,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]{
  background: #111827;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .08s ease, opacity .12s ease;
}

.woocommerce-account .woocommerce-MyAccount-content .button:hover,
.woocommerce-account .woocommerce-MyAccount-content button:hover,
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover{
  opacity: .95;
  transform: translateY(-1px);
}

/* Tablas (Pedidos) */
.woocommerce-account .woocommerce-MyAccount-content table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e9e9ee;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content table th,
.woocommerce-account .woocommerce-MyAccount-content table td{
  padding: 12px 10px;
  border-bottom: 1px solid #f0f1f6;
  color: #374151;
}

.woocommerce-account .woocommerce-MyAccount-content table th{
  background: #f8fafc;
  color: #111827;
  font-weight: 900;
}

/* Notices */
.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error{
  border-radius: 12px;
  border: 1px solid #e9e9ee;
  background: #f8fafc;
  color: #111827;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px){
  .woocommerce-account .woocommerce{
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation{
    position: relative;
    top: auto;
  }

  /* Menú arriba, horizontal */
  .woocommerce-account .woocommerce-MyAccount-navigation ul{
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li{
    margin: 0;
    flex: 0 0 auto;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation a{
    white-space: nowrap;
    padding: 10px 12px;
    border-radius: 999px;
    background: #f6f7fb;
    border-color: #ececf3;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
    background: #111827;
    color: #fff;
    border-color: #111827;
  }

  .woocommerce-account .woocommerce-MyAccount-content{
    padding: 14px;
  }
}

/* .bunbun_contact-shape-block p {
  margin-block-end: 0;
} */

.bunbun_contact-shape-block a {
  color: #FEEBD0;
  font-weight: bold;
}


/* =========================================================
   Producto único — Ficha restaurante (SEO) | Simple + Pro
   Sin grid, sin compra, mejor tabs y relacionados
   ========================================================= */

.product .site-main {
  margin-bottom: 100px;
}

.single-product .product {
  margin: 200px auto 100px;
  padding: 0 16px;
}

.woocommerce-product-gallery {
  display: none;
}

.woocommerce div.product form.cart .button {
  border-radius: 104px;
    background-image: none;
    background-color: var(--bunbun_dpre5wsz);
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: -0.36px;
    font-family: var(--bunbun_dpzz3h2h);
    color: var(--bunbun_dp48ypr8);
    outline-style: none;
    transition-property: all;
    transition-duration: 300ms;
    transition-delay: 0ms;
    /* /esto es para ocultar el botón de compra, si no lo necesitas, puedes eliminar esta regla completa/ */
    display: none !important;
}

.woocommerce .quantity .qty {
  border-radius: 30px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  padding: 10px 10px;
  color: #111827;
  outline: none;
   /* /esto es para ocultar el botón de compra, si no lo necesitas, puedes eliminar esta regla completa/ */
    display: none !important;
}

/* BOTON COMPRAR DESDE ORDERABLE */

.orderable-button {
  display: none;
}

.single-product .woocommerce-tabs ul.tabs {
  border-bottom: 0 !important; 
}

.single-product #primary { max-width: 1200px; margin: 0 auto 100px; padding: 0 16px; }

.single-product .woocommerce-breadcrumb{
  margin: 14px 0 16px;
  font-size: 14px;
  opacity: .85;
}
.single-product .woocommerce-breadcrumb a{ text-decoration: none; }

.single-product div.product{
  background: #fff;
  border: 1px solid #e9e9ee;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  padding: 18px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
  color: #111827;
}

/* Layout principal (sin grid) */
.single-product div.product{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

/* Imagen */
.single-product .woocommerce-product-gallery{
  flex: 1 1 420px;
  min-width: 320px;
}
.single-product .woocommerce-product-gallery img{
  border-radius: 14px;
  background: #f6f7fb;
}

/* Resumen */
.single-product .summary{
  flex: 1 1 420px;
  min-width: 320px;
}

.single-product .product_title{
  margin: 0 0 8px;
  font-weight: 900;
  color: #111827;
  line-height: 1.1;
}

/* Precio estilo “carta” */
.single-product .price{
  margin: 0 0 12px;
  font-weight: 900;
  font-size: 26px;
  color: #111827;
}
.single-product .price .woocommerce-Price-currencySymbol{ opacity: .85; }

/* Descripción corta */
.single-product .woocommerce-product-details__short-description{
  background: #f8fafc;
  border: 1px solid #eef0f6;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  color: #374151;
}

/* Meta (SKU/categorías/tags) más discreto */
.single-product .product_meta{
  margin-top: 10px;
  font-size: 14px;
  color: #6b7280;
}
.single-product .product_meta a{
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(17,24,39,.18);
}

/* Ocultar SKU (opcional para restaurante) */
.single-product .sku_wrapper{ display:none; }

/* Tabs como card */
.single-product .woocommerce-tabs{
  flex: 0 0 100%;
  margin-top: 8px;
  background: #fff;
  /* border: 1px solid #e9e9ee; */
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.05);
  padding: 14px 14px 6px;
}

.single-product .woocommerce-tabs ul.tabs{
  padding: 0;
  margin: 0 0 10px;
  /* border-bottom: 1px solid #eef0f6; */
}
.single-product .woocommerce-tabs ul.tabs li{
  border: 0 !important;
  background: transparent !important;
  margin: 0 10px 0 0 !important;
}
.single-product .woocommerce-tabs ul.tabs li a{
  display: inline-block;
  padding: 10px 12px !important;
  border-radius: 999px;
  font-weight: 900;
  color: #111827 !important;
  text-decoration: none !important;
}
.single-product .woocommerce-tabs ul.tabs li.active a{
  background: #111827 !important;
  color: #fff !important;
}
.single-product .woocommerce-tabs .panel{
  padding: 6px 4px 12px;
}
.single-product .woocommerce-tabs .panel h2{ display:none; }

/* Relacionados */
.single-product .related.products{
  flex: 0 0 100%;
  margin-top: 18px;
}
.single-product .related.products h2{
  font-weight: 900;
  margin: 0 0 12px;
  color: #111827;
}

/* Cards de productos relacionados */
.single-product .related .products li.product{
  border: 1px solid #e9e9ee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  padding: 12px;
}
.single-product .related .products li.product img{
  border-radius: 12px;
  background: #f6f7fb;
}
.single-product .related .woocommerce-loop-product__title{
  font-weight: 900;
  color: #111827;
}
.single-product .related .price{
  font-size: 16px;
  margin: 6px 0 0;
}

/* Por si queda algún botón suelto */
.single-product .related .add_to_cart_button{ display:none !important; }

/* Responsive */
@media (max-width: 768px){
  .single-product div.product{ padding: 14px; }
  .single-product .price{ font-size: 22px; }
}
