.elementor-19857 .elementor-element.elementor-element-4afe53c7{--display:flex;}.elementor-19857 .elementor-element.elementor-element-4afe53c7.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-19857 .elementor-element.elementor-element-4afe53c7{--width:98.777%;}}/* Start custom CSS for html, class: .elementor-element-6b07867b *//* ======================================
   RESET / ELEMENTOR READY
====================================== */

body{
  margin:0;
  padding:0;
  overflow-x:hidden;
  font-family:Arial,sans-serif;

}

body.elementor-page{
  overflow-x:hidden;

}

/* ======================================
   HEADER (CORREGIDO: overflow visible para que el menú no se corte)
====================================== */

.mh-header{
  width:100%;
  background:#000;
  position:relative;
  z-index:9999;
  line-height:1.2;
  overflow: visible !important; 

}

.mh-header *,

.mh-header *:before,

.mh-header *:after{

  box-sizing:border-box;
}


/* STICKY */

.mh-header.sticky{

  position:fixed;
  top:0;
  left:0;
  width:100%;
  box-shadow:0 4px 15px rgba(0,0,0,.4);

    
}

/* ======================================
   TOP BAR DESKTOP
====================================== */

.mh-top{

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  padding:15px 30px;
  background:#000;
  
}

/* LOGO */

.mh-logo{

  flex-shrink:0;
}

.mh-logo img{

  width:170px;
  max-width:100%;
  display:block;
  filter:drop-shadow(0 0 10px rgba(0,255,0,.45));

}

/* ======================================
   SEARCH
====================================== */


.mh-search{

  flex:1;
  max-width:520px;
}

.mh-search form{

  display:flex;
  align-items:center;
  background:#1d1d1d;
  border-radius:40px;
  overflow:hidden;
  margin:0;

}

.mh-search input{

  flex:1;
  border:none;
  background:transparent;
  padding:14px 18px;
  color:#fff;
  outline:none;
  font-size:15px;
  min-width:0;

}

.mh-search input::placeholder{

  color:#aaa;

}

.mh-search button{

  border:none;
  background:transparent;
  color:#fff;
  font-size:22px;
  padding:0 18px;
  cursor:pointer;
  line-height:1;

}

/* ======================================
   ICONOS
====================================== */

.mh-icons{

  display:flex;
  align-items:center;
  gap:18px;
  flex-shrink:0;
  position:relative; /* Asegura referencia para el dropdown */

}

.mh-icons a{

  color:#fff !important;
  font-size:24px;
  text-decoration:none;
  position:relative;
  transition:.2s;
  line-height:1;

}

.mh-icons a:hover{

  color:#00ff66 !important;
  
}

/* ======================================
   ESTILO FINAL DEL CONTADOR (UNIFICADO)
====================================== */

.cart b, 
.cart-count, 
.cart-contents .count, 
.mh-icons a .cart-count,
.mh-cart-counter,
#cartBtn .count {

    position: absolute !important;
    top: -10px !important;    /* Ajustado para que no flote tanto */
    right: -12px !important;  /* Ajustado a la derecha del icono */
    background: #ff0000 !important; /* Rojo puro */
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    min-width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    z-index: 100 !important;
    line-height: 1 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);

}

/* Evitar que otros estilos de WordPress lo oculten */

.cart-contents span.count {

    display: flex !important;

}

/* ======================================
   MENU DESKTOP (CORREGIDO Y ALINEADO)
====================================== */

.mh-menu {

  background: #111;
  width: 100%;
  overflow: visible !important;

}

.mh-menu ul {

  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.mh-menu li {

  position: relative; /* Clave para que el cuadro se alinee al título */
  padding: 16px 5px;
  list-style: none;
}

.mh-menu li > a {

  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  transition: .2s;
  white-space: nowrap;
  display: block;
}

.mh-menu li > a:hover {

  color: #00ff66 !important;
}

/* ======================================
   MEGA MENU (CORTO Y ALINEADO A LA IZQUIERDA)
====================================== */

.mega-menu {

  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  /* CAMBIO CLAVE: Alineado al borde del título */
  left: 0 !important; 
  transform: none !important; 
  /* TAMAÑO CORTO */
  width: auto !important;
  min-width: 320px;
  max-width: 480px;
  background: #fff;
  padding: 20px;
  display: flex;
  gap: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: .2s ease;
  z-index: 9999;
  border-radius: 0 0 10px 10px;
}

/* Para que los últimos dos menús no se salgan por la derecha */

.mh-menu li:nth-last-child(-n+2) .mega-menu {


  left: auto !important;
  right: 0 !important;
}

/* COLUMNAS */

.col {
  flex: 0 1 auto;
  min-width: 140px;
}

.col h4 {
  margin: 0 0 10px;
  color: #00aa44;
  font-size: 17px;
  font-weight: bold;
}

.col a {
  display: block;
  padding: 6px 0;
  color: #111 !important;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: .2s;
  white-space: nowrap;
}

.col a:hover {
  color: #00aa44 !important;
  padding-left: 5px;
}

/* ABRIR */

.has-mega:hover .mega-menu {

  opacity: 1;
  visibility: visible;
}

/* ======================================
   MOBILE TOP
====================================== */

.mobile-top,

.mobile-search{

  display:none;
}

.mobile-top{
  justify-content:space-between;
  align-items:center;
  padding:12px 15px;
  background:#000;
}

.mobile-logo img{

  width:120px;
  max-width:100%;
  display:block;
}

.mobile-icons{

  display:flex;
  align-items:center;
  gap:15px;
}

.mobile-icons a,

.hamburger{
  color:#fff !important;
  font-size:26px;
  text-decoration:none;
  cursor:pointer;
  position:relative;
  line-height:1;
}

/* ======================================
   MOBILE SEARCH
====================================== */

.mobile-search{
  padding:12px;
  background:#000;
}

.mobile-search form{

  display:flex;
  align-items:center;
  background:#1d1d1d;
  border-radius:35px;
  overflow:hidden;
  margin:0;
}

.mobile-search input{

  flex:1;
  padding:13px 15px;
  border:none;
  background:transparent;
  color:#fff;
  outline:none;
}

.mobile-search input::placeholder{

  color:#aaa;
}

.mobile-search button{

  border:none;
  background:transparent;
  color:#fff;
  font-size:22px;
  padding:0 15px;
  cursor:pointer;
}

/* ======================================
   MOBILE MENU (Sidemenu)
====================================== */

.mobile-menu{

  position:fixed;
  top:0;
  left:-100%;
  width:290px;
  max-width:90%;
  height:100%;
  background:#111;
  padding:30px 20px;
  transition:.3s;
  z-index:999999; /* Encima de todo */
  overflow-y:auto;
}

.mobile-menu.active{

  left:0;
}

.close-btn{
  font-size:30px;
  color:#fff;
  margin-bottom:20px;
  cursor:pointer;
  line-height:1;
}

/* ITEMS */

.mobile-item{
  border-bottom:1px solid rgba(255,255,255,.08);
}


.mobile-title{
  color:#fff;
  padding:15px 0;
  font-size:17px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}

.mobile-title:hover{

  color:#00ff66;
}

/* SUBMENU MÓVIL */

.mobile-sub{
  display:none;
  padding:0 0 10px 15px;
  background:#1a1a1a;
  border-radius:8px;
  margin-bottom:8px;
}

.mobile-sub a{
  display:block;
  color:#ccc !important;
  padding:10px 0;
  font-size:14px;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.04);
  transition:.2s;
}

.mobile-sub a:hover{
  color:#00ff66 !important;
  padding-left:6px;
}

/* ======================================
   TABLET RESPONSIVE (CUADRO CORTO)
====================================== */

@media(max-width:1024px){

  .mh-search { 
    max-width: 320px; 
  }

  .mh-menu ul {
    gap: 15px;
    padding: 0 10px;
  }

  /* 🔥 MEGA MENU CORTO EN TABLET 🔥 */

  .mega-menu {

    width: auto !important;      /* No ocupa toda la pantalla */
    min-width: 320px;            /* Ancho mínimo razonable */
    max-width: 450px;            /* Límite para que no se alargue */
    left: 50% !important;
    transform: translateX(-50%);
    flex-wrap: nowrap;           /* Mantiene las columnas una al lado de la otra */
    padding: 15px 20px;
    gap: 20px;
  }

  .col { 
    width: auto;                 /* Que cada columna use solo su espacio */
    flex: 1;
  }
  
  .col a {
    font-size: 14px;
    white-space: nowrap;         /* Evita que los nombres se amontonen */
  }

}

/* ======================================
   MOBILE RESPONSIVE
====================================== */

@media(max-width:767px){

  .mh-top, .mh-menu{ display:none; }

  .mobile-top, .mobile-search{ display:block; }

  .mobile-top{ display:flex; }


  /* Ocultar dropdown de carrito en móvil por espacio */

  .cart-dropdown{ display:none !important; }
}

/* ======================================
   FIX ELEMENTOR OVERFLOW
====================================== */

.elementor-section, .elementor-container {

  overflow: visible !important;
}

/* =======================================================
   REEMPLAZO TOTAL - MAYOREO HAPPINESS 2026
======================================================= */

/* 1. ELIMINAR BOTONES NEGROS (BLOQUEO TOTAL) */
.cart-drawer-content .woocommerce-mini-cart__buttons,
.cart-drawer-content .buttons,
.widget_shopping_cart_content .buttons,
.woocommerce-mini-cart__buttons.buttons,
.woocommerce-mini-cart__total.total + .buttons {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}


/* 3. ESTRUCTURA DEL CARRITO (LO QUE HACE QUE SE VEA COMO LA FOTO 1) */
.cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 380px !important;
    max-width: 90% !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    transition: right 0.4s ease !important;
    box-shadow: -5px 0 20px rgba(0,0,0,0.5) !important;
}

.cart-drawer.active {
    right: 0 !important;
}

/* 4. ÁREA DE PRODUCTOS */
.cart-drawer-content {
    flex-grow: 1 !important;
    overflow-y: auto !important;
    padding: 20px !important;
    background: #ffffff !important;
}

/* 5. TUS BOTONES ROJOS */
.cart-drawer-footer {
    background: #ffffff !important;
    padding: 15px 0 30px 0 !important;
    border-top: 1px solid #eee !important;
    z-index: 10 !important;
}

.cart-drawer-footer a {
    display: block !important;
    background-color: #ff0000 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 16px !important;
    margin: 8px 20px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    font-size: 15px !important;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

/* 6. AJUSTE PARA MÓVILES */
@media (max-width: 767px) {
    .cart-drawer {
        width: 100% !important;
    }
}
/* 1. MANTENER BOTONES NEGROS (QUITAMOS EL DISPLAY NONE) */
.cart-drawer-content .woocommerce-mini-cart__buttons, 
.cart-drawer-content .buttons {
    display: flex !important; /* Cambiado para que se vean */
    gap: 10px !important;
}

/* 2. COMPACTAR CADA PRODUCTO (ESTILO FILA) */
.cart-drawer-content li.woocommerce-mini-cart-item {
    display: flex !important;
    align-items: center !important;
    padding: 8px 10px !important;
    border-bottom: 1px solid #eee !important;
    min-height: 70px !important;
    position: relative !important; /* Para que la X se ubique bien */
}

/* 3. FOTO PEQUEÑA A LA IZQUIERDA */
.cart-drawer-content li.woocommerce-mini-cart-item img {
    width: 50px !important;
    height: 50px !important;
    margin-right: 12px !important;
    position: static !important;
}

/* 4. TEXTO DEL PRODUCTO */
.cart-drawer-content li a:not(.remove) {
    font-size: 13px !important;
    line-height: 1.2 !important;
    flex: 1 !important;
}

/* 5. EL SELECTOR DE CANTIDAD (EL CUADRITO) */
.cart-drawer-content .quantity {
    display: flex !important;
    align-items: center !important;
    font-size: 12px !important;
}

.cart-drawer-content .quantity input.qty {
    width: 35px !important;
    height: 25px !important;
    text-align: center !important;
    border: 1px solid #ccc !important;
    margin-left: 5px !important;
    display: block !important;
}

/* 6. LA "X" PARA ELIMINAR */
.cart-drawer-content a.remove {
    background: #ff0000 !important;
    color: #fff !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    margin-left: 10px !important;
    text-decoration: none !important;
}

/* ======================================
   TERCER MENÚ (SUB-CATEGORÍAS LATERALES)
====================================== */

/* Contenedor del ítem que activa el menú */
.has-third-menu {
    position: relative;
}

/* El cuadro con las columnas (Beaker, Oil Burns, etc.) */
.third-menu {
    display: none;        /* Se oculta por defecto */
    position: absolute;   
    top: -10px;           /* Alineado un poco más arriba para centrar */
    left: 100%;           /* Se pega a la derecha del menú padre */
    background: #ffffff;
    min-width: 420px;     /* Ancho suficiente para las dos columnas */
    padding: 15px;
    box-shadow: 10px 0 25px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    z-index: 99999;
    
    /* 🔥 ESTO ACTIVA LAS DOS COLUMNAS UNA AL LADO DE LA OTRA 🔥 */
    flex-direction: row !important; 
    gap: 20px; 
}

/* Mostrar como FLEX al pasar el mouse */
.has-third-menu:hover > .third-menu {
    display: flex !important; 
}

/* Estilo para las columnas internas (col e inner-col) */
.third-menu .col, 
.third-menu .inner-col {
    flex: 1;              /* Ambas columnas ocupan el mismo espacio */
    display: flex;
    flex-direction: column !important; /* Los links de cada columna van hacia abajo */
    min-width: 180px;
}

/* Ajuste de los enlaces internos */
.third-menu a {
    display: block !important;
    padding: 8px 12px !important;
    color: #333 !important;
    font-size: 13px !important;
    text-align: left !important;
    white-space: nowrap !important; /* Evita que el texto se rompa en dos líneas */
    transition: 0.2s;
}

.third-menu a:hover {
    background: #f9f9f9;
    color: #00aa44 !important;
    padding-left: 15px !important; /* Efecto de desplazamiento al hover */
}

/* Flechita indicadora en el menú padre */
.has-third-menu > a::after {
    content: " \f105"; /* Icono de flecha si usas FontAwesome o un simple ▸ */
    font-size: 12px;
    color: #bbb;
    float: right;
}

/* El contenedor del menú que aparece al hacer hover */
.mega-menu {
  display: none;
  position: absolute;
  background: #fff;
  width: 600px; /* Ajusta el ancho total según tu diseño */
  padding: 20px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
  display: flex; /* Esto pone las columnas una al lado de otra */
  justify-content: space-between;
  gap: 20px;
}

/* Estilo para cada columna individual */
.mega-menu .col {
  flex: 1; /* Hace que todas las columnas midan lo mismo */
  min-width: 150px;
  display: flex;
  flex-direction: column;
}

/* Títulos opcionales para las columnas */
.mega-menu .col h3 {
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 10px;
  color: #333;
}

.mega-menu .col a {
  padding: 5px 0;
  text-decoration: none;
  color: #666;
  font-size: 14px;
}

.mega-menu .col a:hover {
  color: #000;
  font-weight: bold;
}

/* ======================================
   CORRECIÓN DE COLORES ROJOS EN MÓVIL
====================================== */

/* Forzar que los títulos y links no se pongan rojos al estar activos */
.mobile-menu .mobile-title, 
.mobile-menu .mobile-title a,
.mobile-menu .mobile-sub a {
    color: #ffffff !important; 
    text-decoration: none !important;
}

/* Color verde solo cuando pasas el dedo o haces clic */
.mobile-menu .mobile-title:active,
.mobile-menu .mobile-title a:active,
.mobile-menu .mobile-sub a:hover {
    color: #00ff66 !important;
}

/* Eliminar líneas rojas residuales de Elementor/WooCommerce */
.mobile-item {
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}/* End custom CSS */