/* ============================================
   HEADER PC - VERSIÓN RESTAURADA
   ============================================ */
/* Logo tamaño correcto - CON MAYOR ESPECIFICIDAD */
#header .header-logo {
    max-width: 250px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
}

#header .header-logo a {
    display: auto !important;
    align-items: center !important;
    justify-content: center !important;
}

#header .header-logo img,
#header .header-logo img.logo {
    max-width: 250px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

/* Forzar tamaño del logo */
.header-logo img[src*="logo"] {
    max-width: 250px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
}

/* ============================================
   MENÚ LATERAL - OVERLAY FIX
   ============================================ */

/* Cuando el menú está abierto, desactivar pointer-events en todos los elementos excepto el overlay y el menú */
body.st-menu-open .elementor-background-slideshow {
    pointer-events: none !important;
}

body.st-menu-open .elementor-background-slideshow__slide {
    pointer-events: none !important;
}

body.st-menu-open .elementor-background-slideshow__slide__image {
    pointer-events: none !important;
}

body.st-menu-open .swiper-wrapper {
    pointer-events: none !important;
}

body.st-menu-open .swiper-slide {
    pointer-events: none !important;
}

body.st-menu-open .elementor-widget-wrap {
    pointer-events: none !important;
}

body.st-menu-open .elementor-column-wrap {
    pointer-events: none !important;
}

body.st-menu-open .elementor-section-wrap {
    pointer-events: none !important;
}

body.st-menu-open .elementor-container {
    pointer-events: none !important;
}

body.st-menu-open .elementor-row {
    pointer-events: none !important;
}

body.st-menu-open .elementor-element {
    pointer-events: none !important;
}

/* Asegurar que el overlay esté por encima de todos los elementos */
.st-overlay {
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Cuando el menú está abierto, el overlay debe capturar todos los clicks */
.st-overlay.active {
    pointer-events: auto !important;
    z-index: 1000 !important;
}

/* Permitir clicks en el contenido dentro del menú */
.st-menu {
    pointer-events: auto !important;
    z-index: 1001 !important;
}

.st-menu a,
.st-menu button,
.st-menu li {
    pointer-events: auto !important;
}


/* ============================================
   OCULTAR BOTONES DUPLICADOS DE CANTIDAD
   ============================================ */

/* Ocultar el segundo botón remove en producto */
.product-quantity-touchspin .input-group-btn:first-child button:nth-child(2) {
  display: none !important;
}

/* Ocultar el segundo botón add en producto */
.product-quantity-touchspin .input-group-btn:last-child button:nth-child(2) {
  display: none !important;
}

/* Ocultar botones duplicados en carrito */
.cart-item .input-group-btn:first-child button:nth-child(2),
.cart-item .input-group-btn:last-child button:nth-child(2) {
  display: none !important;
}

/* Alternativa para cualquier input-group con bootstrap-touchspin */
.input-group.bootstrap-touchspin .input-group-btn button:nth-child(2) {
  display: none !important;
}


/* ============================================
   OCULTAR PASOS DUPLICADOS EN CHECKOUT
   ============================================ */

/* Ocultar el segundo bloque de pasos en el checkout */
.checkout-step-order.js-checkoutStepOrderBox .step-part:nth-child(n+5) {
  display: none !important;
}

/* Alternativa más específica */
.checkout-step-order .step-part:nth-of-type(n+5) {
  display: none !important;
}