/*
Theme Name:   Storefront Child
Theme URI:    https://tudominio.com
Description:  Tema hijo de Storefront para personalizaciones
Author:       Tu Nombre
Author URI:   https://tudominio.com
Template:     storefront
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:  storefront-child
*/

/* 
=================================================================
  PERSONALIZACIONES CSS
=================================================================
/* Variables CSS para todo el sistema de diseño */
:root {
    /* === COLORES PRINCIPALES === */
/*NUEVOS COLORES*/
--precio-normal:black;  /* Color del precio normal (negro) */
--precio-ach: #5a0ff9;  /* Color del precio de "ach" (morado) */
--principal-color:black;        /* Color principal (negro) */
    --primary-color: #1d0b0b;           /* Color principal (blanco) */
    --primary-dark: #f8f9fa;           /* Color principal oscuro */
    --primary-light: #ffffff;          /* Color principal claro */
    --secondary-color: #322525;        /* Color secundario (blanco) */
    --secondary-dark: #f8f9fa;         /* Color secundario oscuro */
    --secondary-light: #ffffff;        /* Color secundario claro */
    
    /* === COLORES DE ESTADO === */
    --success-color: #28a745;           /* Verde éxito */
    --success-bg: #d4edda;             /* Fondo verde claro */
    --success-border: #c3e6cb;          /* Borde verde */
    --success-text: #155724;           /* Texto verde oscuro */
    
    --warning-color: #ffc107;           /* Amarillo advertencia */
    --warning-bg: #fff3cd;             /* Fondo amarillo claro */
    --warning-border: #ffeaa7;          /* Borde amarillo */
    --warning-text: #856404;           /* Texto amarillo oscuro */
    
    --danger-color: #dc3545;           /* Rojo peligro */
    --danger-bg: #f8d7da;              /* Fondo rojo claro */
    --danger-border: #f5c6cb;           /* Borde rojo */
    --danger-text: #721c24;            /* Texto rojo oscuro */
    
    --info-color: #17a2b8;             /* Azul información */
    --info-bg: #d1ecf1;                /* Fondo azul claro */
    --info-border: #bee5eb;             /* Borde azul */
    --info-text: #0c5460;              /* Texto azul oscuro */
    
    /* === COLORES DE TEXTO === */
    --text-primary: #212529;           /* Texto principal */
    --text-secondary: #6c757d;         /* Texto secundario */
    --text-muted: #adb5bd;             /* Texto atenuado */
    --text-light: #050000;             /* Texto claro */
    --text-dark: #000000;              /* Texto oscuro */
    
    /* === COLORES DE FONDO === */
    --bg-primary: #ffffff;             /* Fondo principal */
    --bg-secondary: #f8f9fa;          /* Fondo secundario */
    --bg-dark: white;    /* Fondo oscuro */
    --bg-light: #ffffff;              /* Fondo claro */
    
    /* === COLORES DE BORDES === */
    --border-color: #dee2e6;          /* Color de borde principal */
    --border-light: #e9ecef;           /* Borde claro */
    --border-dark: white;           /* Borde oscuro */
    
    /* === COLORES DE BOTONES === */
    --btn-primary-bg: #ffffff;         /* Fondo botón principal */
    --btn-primary-color: #000000;      /* Texto botón principal */
    --btn-primary-border: #ffffff;     /* Borde botón principal */
    --btn-primary-hover: #f8f9fa;     /* Hover botón principal */
    
    --btn-secondary-bg: #ffffff;       /* Fondo botón secundario */
    --btn-secondary-color: #000000;    /* Texto botón secundario */
    --btn-secondary-border: #ffffff;   /* Borde botón secundario */
    --btn-secondary-hover: #f8f9fa;   /* Hover botón secundario */
    
    --btn-success-bg: #28a745;         /* Fondo botón éxito */
    --btn-success-color: #ffffff;      /* Texto botón éxito */
    --btn-success-border: #28a745;     /* Borde botón éxito */
    --btn-success-hover: #218838;     /* Hover botón éxito */
    
    --btn-outline-bg: transparent;      /* Fondo botón outline */
    --btn-outline-color: #ffffff;      /* Texto botón outline */
    --btn-outline-border: #ffffff;     /* Borde botón outline */
    --btn-outline-hover: #ffffff;     /* Hover botón outline */
    
    /* === COLORES DE ENLACES === */
    --link-color: #010000;             /* Color enlace normal */
    --link-hover: black;             /* Color enlace hover */
    --link-active: rgb(0, 0, 0);            /* Color enlace activo */
    
    /* === COLORES DE NAVEGACIÓN === */
    --nav-bg: #3f0202;                 /* Fondo navegación */
    --nav-color: #0a0000;              /* Texto navegación */
    --nav-hover: rgb(32, 30, 30);             /* Hover navegación */
    --nav-active:rgb(0, 0, 0);            /* Activo navegación */
    
    /* === COLORES DE TARJETAS === */
    --card-bg: #ffffff;               /* Fondo tarjeta */
    --card-border: #dee2e6;           /* Borde tarjeta */
    --card-shadow: rgba(0,0,0,0.1);   /* Sombra tarjeta */
    
    /* === COLORES DE FORMULARIOS === */
    --input-bg: #ffffff;               /* Fondo input */
    --input-border: #ced4da;          /* Borde input */
    --input-focus: #ff8c00;           /* Focus input */
    --input-placeholder: #6c757d;     /* Placeholder input */
    
    /* === COLORES DE SOMBRAS === */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    --shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    --shadow-lg: 0 1rem 3rem rgba(0,0,0,0.175);
    
    /* === COLORES DE GRADIENTES === */
    --gradient-primary: linear-gradient(135deg, #ff8c00, #ffb84d);
    --gradient-secondary: linear-gradient(135deg, #6c757d, #adb5bd);
    --gradient-success: linear-gradient(135deg, #28a745, #20c997);
    
    /* === COLORES DE ICONOS === */
    --icon-color: #380b99;             /* Color iconos */
    --icon-hover: #cd8022;             /* Hover iconos */
    --icon-active: #ffffff;           /* Activo iconos */
    
    /* === COLORES DE BADGES === */
    --badge-primary: #ff8c00;          /* Badge principal */
    --badge-secondary: #6c757d;         /* Badge secundario */
    --badge-success: #28a745;          /* Badge éxito */
    --badge-warning: #ffc107;          /* Badge advertencia */
    --badge-danger: #dc3545;           /* Badge peligro */
    
    /* === COLORES DE ALERTAS === */
    --alert-success-bg: #d4edda;       /* Fondo alerta éxito */
    --alert-success-border: #c3e6cb;   /* Borde alerta éxito */
    --alert-success-text: #155724;     /* Texto alerta éxito */
    
    --alert-warning-bg: #fff3cd;       /* Fondo alerta advertencia */
    --alert-warning-border: #ffeaa7;   /* Borde alerta advertencia */
    --alert-warning-text: #856404;     /* Texto alerta advertencia */
    
    --alert-danger-bg: #f8d7da;        /* Fondo alerta peligro */
    --alert-danger-border: #f5c6cb;    /* Borde alerta peligro */
    --alert-danger-text: #721c24;      /* Texto alerta peligro */
    
    --alert-info-bg: #d1ecf1;          /* Fondo alerta información */
    --alert-info-border: #bee5eb;      /* Borde alerta información */
    --alert-info-text: #0c5460;        /* Texto alerta información */
}


/* Resetear estilos del header de Storefront */
.site-header {
    border-bottom: none !important;
    padding: 0 !important;
   /* margin-top: 10px !important; */
    box-shadow: none;
    max-height: none;
    height: auto;
    min-height: auto;
    position: relative;
}

/* Ocultar elementos que no necesitamos */
.storefront-primary-navigation,
.site-search,
.secondary-navigation {
    display: none;
}

/* Contenedor externo del header con fondo completo y sombra */
.custom-header-outer {
    background-color: rgb(227, 227, 227);
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(54, 54, 54, 0.1);
    position: relative;
}

/* Contenedor interno del header con máximo 1600px sin sombra */
.custom-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 25px;
    gap: 25px;
    height: 85px;
    box-sizing: border-box;
    position: relative;
    border-bottom: 2px solid #e67e22;
}

/* Segunda barra de navegación */
.custom-secondary-nav {
    background-color: #5a0ff9;
    width: 100%;
    border-top: 1px solid #e67e22;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.secondary-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 25px;
    height: 50px;
}

/* Shop By Department */
.shop-department {
    flex: 0 0 auto;
}

.department-toggle {
    background: none;
    border: none;
    color: var(--nav-color) !important;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.department-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.department-toggle i {
    font-size: 20px;
}

/* Navegación principal */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: var(--nav-color) !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.menu-item a:hover {
    color: var(--nav-hover) !important;
}

.menu-item.dropdown .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.menu-item.dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    margin: 0;
}

.submenu a {
    color: #000000 !important;
    padding: 10px 20px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.submenu a:hover {
    background-color: #f8f9fa;
    color: #000000 !important;
}

.submenu a:active,
.submenu a:focus {
    background-color: #e9ecef;
    color: #000000 !important;
}

/* Estilos específicos para todos los submenús */
.dropdown-utility .submenu a {
    color: #000000 !important;
    padding: 10px 20px;
    display: block;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-utility .submenu a:hover {
    background-color: #f8f9fa;
    color: #000000 !important;
}

.dropdown-utility .submenu a:active,
.dropdown-utility .submenu a:focus {
    background-color: #e9ecef;
    color: #000000 !important;
}

/* Estilos para iconos en submenús */
.submenu i,
.dropdown-utility .submenu i {
    color: #000000 !important;
    margin-right: 8px;
    font-size: 14px;
}

.submenu a:active i,
.submenu a:focus i,
.dropdown-utility .submenu a:active i,
.dropdown-utility .submenu a:focus i {
    color: #000000 !important;
}

/* Enlaces de utilidad */
.utility-links {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.utility-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.utility-link:hover {
    color: #f0f0f0;
}

.dropdown-utility {
    position: relative;
}

.dropdown-utility .submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 150px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.dropdown-utility:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Logo */
.site-branding {
    flex: 0 0 10%;
    max-width: 10%;
    margin: 0 0 0 0px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    overflow: hidden;
}

.custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.custom-logo-link img {
    max-height: 55px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Logo más grande usando selector específico */
.site-header .site-branding img {
    max-height: 55px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
}

/* Barra de búsqueda central */
.custom-search-wrapper {
    flex: 1;
    max-width: 100%;
    margin: 0 0 0 0;
    padding: 0 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;
}

.custom-search-form {
    display: flex;
    align-items: center;
    background: rgb(255, 255, 255);
    border: 2px solid #ff8c00;
    border-radius: 6px;
    overflow: hidden;
    height: 45px;
    gap: 8px;
    padding-right: 8px;
    width: 50%;
}

.custom-search-form .search-field {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 18px;
    outline: none;
    border-radius: 4px;
    height: 45px;
    font-weight: 600;
}

.custom-search-form .search-field::placeholder {
    color: #7b3ff2;
}

.custom-search-form .search-submit {
    border: none;
    background-color: #7b3ff2;
    color: white;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 500;
    font-size: 18px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    margin-top: 6.5px;
    margin-bottom: 6.5px;
}

.custom-search-form .search-submit:hover {
    background-color: #6830d4;
}

.custom-search-form .search-submit::before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    color: white;
}

/* Iconos de la derecha */
.custom-header-icons {
    flex: 0 0 30%;
    max-width: 25%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    height: auto;
    min-height: 35px;
    padding: 0;
}

/* Botones de redes sociales con FontAwesome */
.custom-header-icons .social-btn {
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* Facebook - Color oficial */
.custom-header-icons .facebook-btn {
    background-color: #1877f2;
}

.custom-header-icons .facebook-btn:hover {
    background-color: #166fe5;
}

/* WhatsApp - Color oficial */
.custom-header-icons .whatsapp-btn {
    background-color: #25d366;
}

.custom-header-icons .whatsapp-btn:hover {
    background-color: #22c55e;
}


/* Botón del menú hamburguesa (gris) */
.custom-menu-toggle {
    background-color: #d0d0d0 !important;
    color: #7b3ff2;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.custom-menu-toggle:hover {
    background-color: #c0c0c0 !important;
}

/* Carrito de compras (solo icono morado) */
.site-header-cart {
    margin: 0;
    margin-left: 20px; /* Separar del botón del menú */
}

.site-header-cart .cart-contents {
    background-color: transparent;
    color: #caeb28;
    font-size: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    position: relative;
  
}

.site-header-cart .cart-contents i {
    font-size: 18px !important;
    color: #7b3ff2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
}

.custom-header-icons .cart-contents i {
    font-size: 20px !important;
    color: #7b3ff2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Forzar visibilidad del emoji del carrito */
.site-header-cart .cart-contents::before {
    content: "🛒" !important;
    font-size: 36px !important;
    color: #caeb28 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.custom-header-icons .cart-contents::before {
    content: "🛒" !important;
    font-size: 27px !important;
    color: #7b3ff2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Separación específica del carrito en el header personalizado */
.custom-header-icons .cart-contents {
    margin-left: 15px !important; /* Separar del botón del menú */
}

/* Estilos del contador del carrito */
.cart-contents .count {
    position: absolute !important;
    top: -15px !important;
    right: -10px !important;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52) !important;
    color: white !important;
    border-radius: 50% !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    min-width: 20px !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 5px rgba(255,107,107,0.5) !important;
    z-index: 10 !important;
    line-height: 1 !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Estilo especial cuando el contador es 0 */
.cart-contents .count:empty::after {
    content: "0" !important;
    color: white !important;
    font-weight: bold !important;
}

/* Eliminar completamente cualquier texto que contenga "producto" */
.cart-contents .count {
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    overflow: hidden !important;
}

.cart-contents .count::after {
    content: attr(data-count) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    color: white !important;
    font-weight: bold !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Asegurar que el contador siempre sea visible */
.cart-contents .count {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ocultar cualquier texto adicional en el contador */
.cart-contents .count * {
    display: none !important;
}

/* Asegurar que solo se muestre el número */
.cart-contents .count {
    font-size: 11px !important;
    color: white !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* Solución más agresiva para ocultar texto "producto" */
.cart-contents .count {
    text-indent: -9999px !important;
    font-size: 0 !important;
    line-height: 0 !important;
}

.cart-contents .count::before {
    content: attr(data-count) !important;
    text-indent: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    color: white !important;
    font-weight: bold !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.site-header-cart .cart-contents:hover {
    background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        max-height: none;
        min-height: auto;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .custom-header-outer {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        margin: 0;
        padding: 0;
    }
    
    .custom-header-wrapper {
        flex-wrap: wrap;
        padding: 12px 20px;
        gap: 15px;
        height: 125px;
    }
    
    /* Segunda barra de navegación responsive */
    .custom-secondary-nav {
        display: none;
    }
    
    .site-branding {
        order: 1;
        flex: 0 0 30%;
        max-width: 30%;
        height: 55px;
        margin-bottom: 0px !important;
    }
    
    .custom-logo-link img {
        max-height: 35px;
    }
    
    /* Logo más grande en móvil usando selector específico */
    .site-header .site-branding img {
        max-height: 55px !important;
    }
    
    
    .custom-search-wrapper {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 5px;
        height: 38px;
    }
    
    .custom-header-icons {
        order: 2;
        flex: 0 0 65%;
        max-width: 100%;
        gap: 12px;
        height: auto;
        min-height: 40px;
        justify-content: flex-end;
    }
    
    .custom-header-icons .social-btn,
    .custom-menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .site-header-cart .cart-contents {
        width: 40px;
        height: 40px;
        font-size: 6px;
        margin-left: 20px; /* Mayor separación en móvil */
    }
    
    /* Emoji del carrito más grande en móvil */
    .site-header-cart .cart-contents::before {
        font-size: 30px !important;
    }
    
    .custom-header-icons .cart-contents::before {
        font-size: 24px !important;
    }
    
    .custom-header-icons .cart-contents {
        margin-left: 20px !important; /* Separación en móvil */
    }
    
    /* Contador del carrito en móvil */
    .cart-contents .count {
        top: -12px !important;
        right: -8px !important;
        width: 18px !important;
        height: 18px !important;
        font-size: 9px !important;
        min-width: 18px !important;
    }
    
    .custom-search-form {
        height: 38px;
    }
    
    .custom-search-form .search-field {
        font-size: 11px;
        padding: 0 8px;
    }
    
    .custom-search-form .search-submit {
        font-size: 11px;
        padding: 0 12px;
        min-height: 26px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}

@media (max-width: 480px) {
    .site-header {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .custom-header-wrapper {
        padding: 6px 10px;
    }
    
    .custom-header-outer {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        margin: 0;
        padding: 0;
    }
    
    .custom-header-icons .social-btn,
    .custom-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 15px;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }
    
    .custom-header-icons {
        gap: 10px;
        height: auto;
        min-height: 38px;
    }
    .site-branding {
        order: 1;
        flex: 0 0 30%;
        max-width: 30%;
        height: 55px;
        margin-bottom: 0px !important;
    }
}


/* Ejemplo: Personalizar botones */
.button, 
button.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background-color: #e74c3c;
    border-color: #c0392b;
}

.button:hover,
button.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
    background-color: #c0392b;
    border-color: #a93226;
}

/* Ejemplo: Personalizar tipografía */
body {
    font-family: 'Arial', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', serif;
}

/* 
=================================================================
  CONTENIDO PRINCIPAL - ANCHO MÁXIMO 1600px
=================================================================
*/

/* Contenedor principal del contenido */
.site-content {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Contenedor de columnas */
.col-full {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Contenedor de la página */
#page {
    width: 100%;
    max-width: 100%;
}

/* Eliminar espaciado entre header y contenido principal */
#content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espaciado en el área de contenido principal */
#primary {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espaciado en el main */
.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espaciado en el contenedor principal de la homepage */
.main-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Eliminar espaciado en el layout de la homepage */
.homepage-layout {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Footer también con máximo 1600px */
.site-footer {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.site-footer .col-full {
    width: 100%;
    max-width: 100%;
   
}

/* Responsive para contenido */
@media (max-width: 768px) {
    .site-content {
        padding: 0 15px;
    }
    
    .site-footer {
        padding: 0 !important;
    }
    
    .site-footer .col-full {
        padding: 0 !important;
    }
}

@media (max-width: 480px) {
    .site-content {
        padding: 0 10px;
    }
    
    .site-footer {
        padding: 0 !important;
    }
    
    .site-footer .col-full {
        padding: 0 !important;
    }
}

/* 
=================================================================
  FOOTER PERSONALIZADO - IDÉNTICO A LA IMAGEN
=================================================================
*/

/* Resetear estilos del footer de Storefront */
.site-footer {
    background: none !important;
    border-top: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Asegurar que no haya espacio en blanco al final */
body {
    margin: 0 !important;
    padding: 0 !important;
}

html {
    margin: 0 !important;
    padding: 0 !important;
}

/* Asegurar que el header no se corte */
#masthead {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

/* Compensar la barra de administración de WordPress */
body.admin-bar .site-header {
   /* margin-top: 32px !important;*/
    padding-top: 0 !important;
}

body.admin-bar .custom-header-outer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar #masthead {
    margin-top: 32px !important;
    padding-top: 0 !important;
}

/* Responsive para la barra de administración */
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        margin-top: 46px !important;
    }
    
    body.admin-bar #masthead {
        margin-top: 46px !important;
    }
}

@media screen and (max-width: 600px) {
    body.admin-bar .site-header {
        margin-top: 46px !important;
    }
    
    body.admin-bar #masthead {
        margin-top: 46px !important;
    }
}

.site-footer .col-full {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Sección principal del footer (fondo morado oscuro) */
.custom-footer-main {
    background-color: #5a0ff9;
    padding: 40px 0;
    color: white;
    width: 100%;
    margin: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    max-width: 33.333%;
}

/* Títulos del footer */
.footer-title {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-title h3 {
    color: #ff8c00 !important;
}

/* Texto del footer */
.footer-text {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: white;
    margin-bottom: 15px;
    text-align: left;
}

/* Elementos de contacto */
.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: white;
}

.contact-item i {
    margin-right: 10px;
    font-size: 16px;
    color: #fd7304;
    width: 20px;
    text-align: center;
}

/* Elementos legales */
.legal-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: white;
}

.legal-item i {
    margin-right: 10px;
    font-size: 14px;
    color: #ff8c00;
    width: 20px;
    text-align: center;
}

/* Sección inferior del footer (fondo azul oscuro) */
.custom-footer-bottom {
    background-color: #0b50af;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    margin: 0;
}

.footer-copyright {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: white;
    margin: 0;
    padding: 0 20px;
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-column {
        max-width: 100%;
    }
    
    .footer-title {
        font-size: 16px;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .contact-item,
    .legal-item {
        font-size: 13px;
    }
    
    .custom-footer-main {
        padding: 30px 0;
    }
    
    .custom-footer-bottom {
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 10px;
    }
    
    .custom-footer-main {
        padding: 25px 0;
    }
    
    .footer-copyright {
        padding: 0 10px;
        font-size: 13px;
    }
}

/* 
=================================================================
  PÁGINA DE DETALLE DE PRODUCTO - ESTILO MARTFURY
=================================================================
*/

/* Ocultar contenido por defecto de WooCommerce */
.woocommerce div.product {
    display: none !important;
}

.custom-product-content {
    display: block !important;
}

/* Contenedor principal */
.single-product-wrapper {
    background-color: white;
    min-height: 100vh;
}

/* Breadcrumbs */
.product-breadcrumbs {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-breadcrumb {
    font-size: 14px;
    color: #6c757d;
}

.woocommerce-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

.woocommerce-breadcrumb .delimiter {
    margin: 0 8px;
    color: #6c757d;
}

.woocommerce-breadcrumb .current {
    color: #495057;
    font-weight: 500;
}

/* Layout principal del producto */
.single-product-content {
    padding: 10px 0;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.product-layout {
    display: grid;
    grid-template-columns: 1.3fr 2fr 0.7fr;
    gap: 5px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

/* Columna de imágenes */
.product-images-column {
    background: white;
    border-radius: 8px;
    padding:0px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
    width: 50px;
    
}

.thumbnail {
    width: 50px;
    height: 50px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease;
    aspect-ratio: 1 / 1;
}

.thumbnail.active {
    border-color: #ff8c00;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-images-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.product-main-image {
    position: relative;
    text-align: center;
    flex: 1;
    aspect-ratio: 1 / 1;
    width: 100%;
}

/* Fallback para navegadores que no soportan aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
    .product-main-image::before {
        content: '';
        display: block;
        padding-top: 100%; /* Mantiene relación 1:1 */
    }
    
    .product-main-image {
        position: relative;
    }
    
    .main-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    display: block;
    margin: 0 auto;
}

.zoom-hint {
    margin-top: 10px;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Columna de detalles del producto */
.product-details-column {
    background: white;
    border-radius: 8px;
    padding: 30px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-brand-reviews {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.product-brand {
    display: flex;
    align-items: center;
    gap: 5px;
}

.brand-label {
    font-weight: 600;
    color: #6c757d;
}

.brand-name {
    color: #212529;
    font-weight: 500;
}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #ffc107;
}

.star.filled {
    color: #ffc107;
}

.review-count {
    font-size: 14px;
    color: #6c757d;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 20px;
}


.product-features {
    margin-bottom: 25px;
}

.product-features h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #495057;
    line-height: 1.5;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Selector de cantidad */
.quantity-selector {
    margin-bottom: 25px;
}

.quantity-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #212529;
}

.quantity-input {
    display: flex;
    align-items: center;
    width: 180px; /* Aumentado de 120px a 180px (50% más) */
    border: 2px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.qty-btn {
    background: #f8f9fa;
    border: none;
    padding: 15px 22px; /* Aumentado de 10px 15px a 15px 22px (50% más) */
    cursor: pointer;
    font-size: 24px; /* Aumentado de 16px a 24px (50% más) */
    font-weight: bold;
    color: #495057;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background: #e9ecef;
}

.quantity-input input {
    border: none;
    text-align: center;
    width: 90px; /* Aumentado de 60px a 90px (50% más) */
    padding: 15px 7px; /* Aumentado de 10px 5px a 15px 7px (50% más) */
    font-size: 24px; /* Aumentado de 16px a 24px (50% más) */
    font-weight: 600;
}

/* Acciones del producto */
.product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.single_add_to_cart_button {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex: 1;
}

.single_add_to_cart_button:hover {
    background: #e67e22;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.wishlist-btn, .compare-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wishlist-btn:hover, .compare-btn:hover {
    background: #74a0cc;
    border-color: #dee2e6;
}

/* Meta del producto */
.product-meta {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.product-sku, .product-categories, .product-tags {
    display: flex;
    margin-bottom: 10px;
}

.product-sku:last-child, .product-categories:last-child, .product-tags:last-child {
    margin-bottom: 0;
}

.sku-label, .categories-label, .tags-label {
    font-weight: 600;
    color: #6c757d;
    min-width: 80px;
}

.sku, .categories, .tags {
    color: #212529;
}

.categories a, .tags a {
    color: #007bff;
    text-decoration: none;
}

.categories a:hover, .tags a:hover {
    text-decoration: underline;
}

/* Compartir en redes sociales */
.product-social-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 600;
    color: #6c757d;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.twitter { background: #1da1f2; }
.social-icon.google { background: #db4437; }
.social-icon.pinterest { background: #bd081c; }
.social-icon.linkedin { background: #0077b5; }
.social-icon.youtube { background: #ff0000; }
.social-icon.whatsapp { background: #25d366; }

/* Columna sidebar */
.product-sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shipping-info, .seller-cta, .advertisement {
    background: white;
    border-radius: 8px;
    padding: 20px;
}

.shipping-info h3, .seller-cta h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #212529;
}

.shipping-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #495057;
}

.shipping-item:last-child {
    margin-bottom: 0;
}

.shipping-item i {
    color: #28a745;
    width: 20px;
}

.register-btn {
    background: #ff8c00;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.register-btn:hover {
    background: #e67e22;
    color: white;
}

.ad-banner {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
    height: auto;
}

.ad-content {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
}

.ad-content h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.brand-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.brand-product-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.brand-product-item:hover {
    border-color: #ff8c00;
}

.brand-product-item .product-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.brand-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-product-item .product-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
}

.brand-product-item .product-info h4 a {
    color: #212529;
    text-decoration: none;
}

.brand-product-item .product-info h4 a:hover {
    color: #ff8c00;
}

.brand-product-item .product-rating {
    margin-bottom: 5px;
}

.brand-product-item .product-rating .star {
    font-size: 12px;
}

.brand-product-item .product-price {
    font-size: 14px;
    font-weight: 600;
    color: #dc3545;
}

/* Frequently Bought Together */
.frequently-bought-together {
    background: white;
    padding: 30px 0;
    margin-top: 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.frequently-bought-together h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #212529;
}

.bought-together-products {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    position: relative;
}

.product-item .product-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item .product-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-align: center;
}

.product-item .product-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
}

.product-item input[type="checkbox"] {
    position: absolute;
    top: 10px;
    right: 10px;
}

.plus-sign {
    font-size: 24px;
    font-weight: bold;
    color: #6c757d;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bought-together-total {
    text-align: center;
}

.total-price {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.total-price .price {
    color: #dc3545;
}

.bought-together-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Información de productos seleccionados */
.selected-info {
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.selected-count {
    font-weight: 500;
}

/* Botones mejorados */
.bought-together-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bought-together-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bought-together-actions .btn-primary {
    background: var(--primary-color);
    color: white;
}

.bought-together-actions .btn-primary:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bought-together-actions .btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.bought-together-actions .btn-outline-primary:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bought-together-actions .btn-success {
    background: var(--success-color);
    color: white;
}

/* Estados de productos seleccionados */
.product-item.selected {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.product-item.selected .product-image {
    box-shadow: 0 0 0 3px var(--primary-color);
    border-radius: 8px;
}

.product-image.selected-glow {
    box-shadow: 0 0 0 3px var(--primary-color);
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

/* Notificaciones */
.bought-together-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 9999;
    animation: slideInRight 0.3s ease;
}

.bought-together-notification.success {
    background: var(--success-color);
}

.bought-together-notification.error {
    background: var(--error-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mejoras en checkboxes */
.bought-together-products input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Hover effects para productos */
.product-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.add-all-cart-btn {
    background: #ff8c00;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-all-cart-btn:hover {
    background: #e67e22;
}

.add-all-wishlist-btn {
    background: white;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-all-wishlist-btn:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
}

/* Pestañas del producto */
.product-tabs-section {
    background: white;
    padding: 30px 0;
    margin-top: 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.tabs-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.tab-nav-item {
    margin-right: 30px;
}

.tab-nav-item a {
    display: block;
    padding: 15px 0;
    color: #6c757d;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-nav-item.active a,
.tab-nav-item a:hover {
    color: #ff8c00;
    border-bottom-color: #ff8c00;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

.tab-description {
    margin-bottom: 25px;
    line-height: 1.6;
    color: #495057;
}

.tab-image {
    text-align: center;
    margin-top: 25px;
}

.tab-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Productos relacionados */
.related-products-section {
    background: white;
    padding: 30px 0;
    margin-top: 30px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.related-products-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #212529;
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.related-products-list {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.related-product-item {
    flex: 0 0 calc(25% - 15px);
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-product-item:hover {
    transform: translateY(-5px);
}

.related-product-item .product-image {
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 15px;
}

.related-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-item .product-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.related-product-item .product-info h4 a {
    color: #212529;
    text-decoration: none;
}

.related-product-item .product-info h4 a:hover {
    color: #ff8c00;
}

.related-product-item .product-rating {
    margin-bottom: 10px;
}

.related-product-item .product-rating .star {
    font-size: 14px;
}

.related-product-item .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid #e9ecef;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #f8f9fa;
    border-color: #ff8c00;
    color: #ff8c00;
}

.carousel-nav.prev {
    left: -20px;
}

.carousel-nav.next {
    right: -20px;
}


/* Estilos para cantidad mínima */
.minimum-quantity-notice {
    background: var(--warning-bg) !important;
    border: 1px solid var(--warning-border) !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    margin: 15px 0 !important;
    color: var(--warning-text) !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.minimum-quantity-notice strong {
    color: var(--warning-text) !important;
    font-weight: 600 !important;
}

.minimum-quantity-notice::before {
    content: "📦";
    font-size: 16px;
}

/* Estilos para precio desde */
.price-from {
    font-size: 1em !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    display: block !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
}
/* Estilos para precio desde */
.price-from span {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: var(--primary-color) !important;
    display: inline !important;
}
.unit-price {
    font-size: 20px !important;
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
    margin-top: 5px !important;
}

/* Estilos para el precio modificado */
.woocommerce div.product .price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

.woocommerce div.product .price .price-from {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.woocommerce div.product .price .unit-price {
    font-size: 16px !important;
    color: var(--text-secondary) !important;
    font-weight: 400 !important;
}

/* Estilos para opciones de precio */
.price-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    margin: 8px 0 !important;
    line-height: 1.2 !important;
}

/* Estilos para beneficio efectivo en línea */
.benefit-effective-inline {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
}

.benefit-effective-inline .benefit-label {
    /*color: var(--text-color) !important;*/
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

.benefit-effective-inline .benefit-price {
   font-weight: 600 !important;
    font-size: 1m !important;
    line-height: 1 !important;
}

.benefit-effective-inline .benefit-savings {
    /*color: var(--text-secondary) !important;*/
    font-size: 0.5em !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

/* Estilos para información de precio por unidad */
.unit-price-info {
    color: var(--text-secondary) !important;
    font-size: 0.5em !important;
    font-weight: 400 !important;
    font-style: italic !important;
    margin-top: 2px !important;
    line-height: 1 !important;
}

/* Estilos para beneficio efectivo (mantener para compatibilidad) */
.benefit-effective {
    border-radius: 8px !important;
    padding: 12px 15px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
}

.benefit-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--success-text) !important;
}

.benefit-price {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--precio-ach) !important;
}

.benefit-savings {
    font-size: 12px !important;
    color: var(--success-text) !important;
    font-weight: 500 !important;
}

/* === ESTILOS BASE USANDO VARIABLES === */



h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 0.5rem; font-weight: 600; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

/* Subtítulos */
.subtitle {
    color: var(--text-secondary) !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
}

/* Enlaces */
a {
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}


a:active {
    color: var(--link-active) !important;
}

/* Botones base */
.btn {
    display: inline-block !important;
    padding: 0.5rem 1rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.375rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* Botón principal */
.btn-primary {
    background-color: var(--btn-primary-bg) !important;
    color: var(--btn-primary-color) !important;
    border-color: var(--btn-primary-border) !important;
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover) !important;
    color: var(--btn-primary-color) !important;
}

/* Botón secundario */
.btn-secondary {
    background-color: var(--btn-secondary-bg) !important;
    color: var(--btn-secondary-color) !important;
    border-color: var(--btn-secondary-border) !important;
}

.btn-secondary:hover {
    background-color: var(--btn-secondary-hover) !important;
    color: var(--btn-secondary-color) !important;
}

/* Botón éxito */
.btn-success {
    background-color: var(--btn-success-bg) !important;
    color: var(--btn-success-color) !important;
    border-color: var(--btn-success-border) !important;
}

.btn-success:hover {
    background-color: var(--btn-success-hover) !important;
    color: var(--btn-success-color) !important;
}

/* Botón outline */
.btn-outline {
    background-color: var(--btn-outline-bg) !important;
    color: var(--btn-outline-color) !important;
    border-color: var(--btn-outline-border) !important;
}

.btn-outline:hover {
    background-color: var(--btn-outline-hover) !important;
    color: var(--btn-primary-color) !important;
}

/* Tarjetas */
.card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--card-border) !important;
    border-radius: 0.375rem !important;
    box-shadow: var(--shadow-sm) !important;
    padding: 1rem !important;
}

/* Formularios */
input, textarea, select {
    background-color: var(--input-bg) !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 0.75rem !important;
    color: var(--text-primary) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--input-focus) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25) !important;
}

input::placeholder, textarea::placeholder {
    color: var(--input-placeholder) !important;
}

/* Iconos */
.icon {
    color: var(--icon-color) !important;
    transition: color 0.3s ease !important;
}

.icon:hover {
    color: var(--icon-hover) !important;
}

.icon.active {
    color: var(--icon-active) !important;
}

/* Badges */
.badge {
    display: inline-block !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    border-radius: 0.25rem !important;
}

.badge-primary { background-color: var(--badge-primary) !important; }
.badge-secondary { background-color: var(--badge-secondary) !important; }
.badge-success { background-color: var(--badge-success) !important; }
.badge-warning { background-color: var(--badge-warning) !important; }
.badge-danger { background-color: var(--badge-danger) !important; }

/* Alertas */
.alert {
    padding: 1rem !important;
    border: 1px solid transparent !important;
    border-radius: 0.375rem !important;
    margin-bottom: 1rem !important;
}

.alert-success {
    background-color: var(--alert-success-bg) !important;
    border-color: var(--alert-success-border) !important;
    color: var(--alert-success-text) !important;
}

.alert-warning {
    background-color: var(--alert-warning-bg) !important;
    border-color: var(--alert-warning-border) !important;
    color: var(--alert-warning-text) !important;
}

.alert-danger {
    background-color: var(--alert-danger-bg) !important;
    border-color: var(--alert-danger-border) !important;
    color: var(--alert-danger-text) !important;
}

.alert-info {
    background-color: var(--alert-info-bg) !important;
    border-color: var(--alert-info-border) !important;
    color: var(--alert-info-text) !important;
}

/* === ESTILOS PARA SISTEMA DE CUOTAS === */

/* Contenedor principal de cuotas */
.je-cuotas-wrapper {
    background: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
}

.je-cuotas-wrapper label {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Selector de cuotas */
.je-plan-cuotas {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid var(--input-border) !important;
    border-radius: 6px !important;
    background-color: var(--input-bg) !important;
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}
.politica-precios {
  
    color: var(--text-primary) !important;
    font-size: 12px !important;
    font-style: italic !important;
    margin-top: -15px !important;
    padding: 0 !important;
}

.je-plan-cuotas:focus {
    border-color: var(--input-focus) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25) !important;
    outline: none !important;
}

/* Nota de cuotas */
.je-cuotas-nota {
    color: var(--text-secondary) !important;
    font-size: 12px !important;
    font-style: italic !important;
}

/* Desglose de cuotas en producto */
.je-desglose-cuotas {
    background: var(--info-bg) !important;
    border: 1px solid var(--info-border) !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    margin-top: 15px !important;
}

.je-desglose-cuotas strong {
    color: var(--info-text) !important;
    font-size: 14px !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.je-desglose-cuotas ul {
    margin: 0 !important;
    padding-left: 20px !important;
}

.je-desglose-cuotas li {
    color: var(--info-text) !important;
    font-size: 13px !important;
    margin-bottom: 4px !important;
    list-style-type: disc !important;
}

/* Estilos para el desglose dinámico */
.je-desglose-cuotas {
    transition: all 0.3s ease !important;
}

.je-detalle-cuotas,
.je-detalle-contado {
    background-color: var(--bg-light) !important;
    padding: 15px !important;
    border-radius: 8px !important;
    border-left: 4px solid var(--primary-color) !important;
    margin-top: 8px !important;
}

.je-opcion-titulo {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--text-primary) !important;
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.je-opcion-detalle {
    margin-top: 8px !important;
}

.je-linea {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 6px 0 !important;
    border-bottom: 1px solid transparent !important;
}

.je-linea:hover {
    background-color: rgba(255, 140, 0, 0.05) !important;
    border-radius: 4px !important;
    padding: 6px 8px !important;
}

.je-linea span {
    color: var(--text-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.je-linea strong {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
}

/* Responsive para el desglose dinámico */
@media (max-width: 768px) {
    .je-desglose-cuotas {
        padding: 10px 12px !important;
        margin-top: 12px !important;
    }
    
    .je-detalle-cuotas,
    .je-detalle-contado {
        padding: 12px !important;
    }
    
    .je-opcion-titulo {
        font-size: 15px !important;
    }
    
    .je-linea span {
        font-size: 13px !important;
    }
    
    .je-linea strong {
        font-size: 14px !important;
    }
    
    .je-linea {
        padding: 5px 0 !important;
    }
}

/* Responsive para el selector de cantidad agrandado */
@media (max-width: 768px) {
    .quantity-input {
        width: 150px; /* Reducido para móviles */
    }
    
    .qty-btn {
        padding: 12px 18px; /* Reducido para móviles */
        font-size: 20px; /* Reducido para móviles */
    }
    
    .quantity-input input {
        width: 75px; /* Reducido para móviles */
        padding: 12px 5px; /* Reducido para móviles */
        font-size: 20px; /* Reducido para móviles */
    }
}

@media (max-width: 480px) {
    .quantity-input {
        width: 130px; /* Aún más pequeño para móviles pequeños */
    }
    
    .qty-btn {
        padding: 10px 15px; /* Aún más pequeño para móviles pequeños */
        font-size: 18px; /* Aún más pequeño para móviles pequeños */
    }
    
    .quantity-input input {
        width: 65px; /* Aún más pequeño para móviles pequeños */
        padding: 10px 4px; /* Aún más pequeño para móviles pequeños */
        font-size: 18px; /* Aún más pequeño para móviles pequeños */
    }
}

/* Estilos para mostrar cuotas en carrito */
.woocommerce-cart .cart_item .je-plan-cuotas-info {
    background: var(--success-bg) !important;
    border: 1px solid var(--success-border) !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    margin-top: 8px !important;
    font-size: 12px !important;
    color: var(--success-text) !important;
}

/* Responsive para cuotas */
@media (max-width: 768px) {
    .je-cuotas-wrapper {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .je-plan-cuotas {
        padding: 8px 10px !important;
        font-size: 13px !important;
    }
    
    .je-desglose-cuotas {
        padding: 10px 12px !important;
        margin-top: 12px !important;
    }
    
    .je-desglose-cuotas strong {
        font-size: 13px !important;
    }
    
    .je-desglose-cuotas li {
        font-size: 12px !important;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .product-sidebar-column {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-details-column {
        order: 1;
    }
    
    .product-images-column {
        order: 2;
    }
    
    .product-sidebar-column {
        order: 3;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .product-details-column {
        order: 1;
    }
    
    .product-images-column {
        order: 2;
    }
    
    .product-images-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-main-image {
        aspect-ratio: 1 / 1;
        max-height: 400px;
    }
    
    .main-image {
        height: 100%;
    }
    
    .product-sidebar-column {
        order: 3;
        display: flex;
        flex-direction: column;
    }
    
    .product-title {
        font-size: 24px;
    }
    
    .product-price {
        font-size: 28px;
    }
    
    .price-from {
        font-size: 22px !important;
    }
    
    .unit-price {
        font-size: 13px !important;
    }
    
    .woocommerce div.product .price .price-from {
        font-size: 24px !important;
    }
    
    .woocommerce div.product .price .unit-price {
        font-size: 14px !important;
    }
    
    .benefit-effective {
        padding: 10px 12px !important;
    }
    
    .price-options {
        gap: 3px !important;
        margin: 6px 0 !important;
    }
    
    .benefit-effective-inline {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1px !important;
        margin-bottom: 1px !important;
    }
    
    .benefit-effective-inline .benefit-label {
        font-size: 0.95em !important;
    }
    
    .benefit-effective-inline .benefit-price {
        font-size: em !important;
    }
    
    .unit-price-info {
        font-size: 0.7em !important;
        margin-top: 1px !important;
    }
    
    .price-from {
        font-size: 1.25em !important;
        margin-bottom: 1px !important;
    }
    
    .benefit-label {
        font-size: 13px !important;
    }
    
    .benefit-price {
        font-size: 18px !important;
    }
    
    .benefit-savings {
        font-size: 11px !important;
    }
    
    
    .product-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .single_add_to_cart_button {
        width: 100%;
    }
    
    .bought-together-products {
        flex-direction: column;
        gap: 15px;
    }
    
    .plus-sign {
        transform: rotate(90deg);
    }
    
    .tabs-nav {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-nav-item {
        margin-right: 0;
    }
    
    .related-products-list {
        flex-direction: column;
    }
    
    .related-product-item {
        flex: none;
    }
    
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .single-product-content {
        padding: 20px 0;
    }
    
    .product-layout {
        padding: 0 10px;
    }
    
    .product-images-column,
    .product-details-column,
    .shipping-info,
    .seller-cta,
    .advertisement {
        padding: 15px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .product-brand-reviews {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .bought-together-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .bought-together-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .bought-together-notification {
        position: fixed;
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
}

/* 
=================================================================
  ANCHO MÁXIMO GLOBAL DE 1600PX PARA TODA LA PÁGINA
=================================================================
*/

/* Contenedor principal del sitio */
.site-content {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Contenedor de contenido */
.col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Header */
.site-header .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;

}

/* Footer */
.site-footer .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 0px !important;
}

/* WooCommerce */
.woocommerce .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 0px !important;
}

/* WooCommerce Shop */
.woocommerce-page .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* WooCommerce Cart */
.woocommerce-cart .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* WooCommerce Checkout */
.woocommerce-checkout .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* WooCommerce My Account */
.woocommerce-account .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* Páginas estáticas */
.page .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* Posts del blog */
.single-post .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* Archivo del blog */
.blog .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* Contenedor de widgets */
.widget-area .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 00px !important;
}

/* Override para elementos específicos de Storefront */
.storefront-full-width-content .col-full {
    max-width: 1600px !important;
    margin: 0 auto !important;
    width: 100% !important;

}
.storefront-breadcrumb {
	padding: 0 !important;
	margin: 10px auto !important;
    max-width: 1600px !important;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
    .col-full {
        padding: 0 20px !important;
    }
}

@media (max-width: 768px) {
    .col-full {
        padding: 0 15px !important;
    }
}

@media (max-width: 480px) {
    .col-full {
        padding: 0 10px !important;
    }
}

/* 
=================================================================
  MODAL DE ZOOM DE IMÁGENES DE PRODUCTO
=================================================================
*/

/* Modal overlay */
.image-zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 999999 !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.image-zoom-modal.show {
    display: flex !important;
    opacity: 1 !important;
}

/* Modal content */
.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Modal image container */
.modal-image-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.modal-image:hover {
    transform: scale(1.02);
}

/* Modal controls */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-prev,
.modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 30px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover,
.modal-next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

/* Modal counter */
.modal-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10001;
}

.current-image {
    color: #ff8c00;
    font-weight: bold;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive design for modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 10px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-prev,
    .modal-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-counter {
        bottom: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .modal-image-container {
        max-width: 95%;
        max-height: 95%;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 5px;
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .modal-prev,
    .modal-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .modal-prev {
        left: 5px;
    }
    
    .modal-next {
        right: 5px;
    }
    
    .modal-counter {
        bottom: 5px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Animation for modal appearance */
.image-zoom-modal {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-image {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Loading state for images */
.modal-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff8c00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.modal-image-container.loading::before {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Estilos adicionales para el modal simple */
#simpleImageModal button {
    transition: all 0.3s ease !important;
    opacity: 0.8 !important;
}

#simpleImageModal button:hover {
    opacity: 1 !important;
    transform: scale(1.2) !important;
    color: #ff8c00 !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,1) !important;
}

#prevImage:hover, #nextImage:hover {
    transform: translateY(-50%) scale(1.2) !important;
}

#closeModal:hover {
    transform: scale(1.2) !important;
}

/* Estilos específicos para el modal de zoom de imágenes de producto */
#image-zoom-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.9) !important;
    z-index: 999999 !important;
    display: none !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

#image-zoom-modal.show {
    display: flex !important;
    opacity: 1 !important;
}

#image-zoom-modal > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
}

#image-zoom-modal > div > div {
    position: relative !important;
    max-width: 90% !important;
    max-height: 90% !important;
}

#modal-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transition: transform 0.3s ease !important;
}

#modal-image:hover {
    transform: scale(1.02) !important;
}

#closeModal {
    position: absolute !important;
    top: -50px !important;
    right: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    color: white !important;
    font-size: 30px !important;
    cursor: pointer !important;
    padding: 10px !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

#closeModal:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
}

#prevImage, #nextImage {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border: none !important;
    color: white !important;
    font-size: 30px !important;
    cursor: pointer !important;
    padding: 10px !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

#prevImage {
    left: -70px !important;
}

#nextImage {
    right: -70px !important;
}

#prevImage:hover, #nextImage:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

#imageCounter {
    position: absolute !important;
    bottom: -50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    color: white !important;
    font-size: 16px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 5px 15px !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
}

/* Responsive para el modal */
@media (max-width: 768px) {
    #prevImage {
        left: -60px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 25px !important;
    }
    
    #nextImage {
        right: -60px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 25px !important;
    }
    
    #closeModal {
        top: -40px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 25px !important;
    }
    
    #imageCounter {
        bottom: -40px !important;
        font-size: 14px !important;
        padding: 4px 12px !important;
    }
}

@media (max-width: 480px) {
    #prevImage {
        left: -50px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    #nextImage {
        right: -50px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    #closeModal {
        top: -35px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
    
    #imageCounter {
        bottom: -35px !important;
        font-size: 12px !important;
        padding: 3px 10px !important;
    }
}

/* Responsive para botones de navegación */
@media (max-width: 768px) {
    #prevImage {
        left: -80px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 40px !important;
    }
    
    #nextImage {
        right: -60px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 40px !important;
    }
    
    #closeModal {
        top: -70px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 35px !important;
    }
    
    #imageCounter {
        bottom: -30px !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

@media (max-width: 480px) {
    #prevImage {
        left: -70px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 35px !important;
    }
    
    #nextImage {
        right: -50px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 35px !important;
    }
    
    #closeModal {
        top: -60px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 30px !important;
    }
}
.dgwt-wcas-search-wrapp {
max-width: 900px !important;
}
/* ========================================
   SOBRESCRIBIR ANCHO DEL EDITOR Y CONTENIDO
   ======================================== */

/* Para el template de homepage */
.page-template-template-homepage .entry-content,
.page-template-template-homepage .entry-header {
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Para el front-page */
.home .entry-content,
.home .site-main,
.home .content-area {
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Para el editor de Gutenberg (backend) */
.editor-styles-wrapper {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.block-editor-writing-flow {
    max-width: 1600px !important;
    margin: 0 auto !important;
}

.wp-block {
    max-width: 1600px !important;
}

/* Para cualquier página que use este contenido */
.homepage-editable-content .entry-content {
    max-width: 1600px !important;
    margin-left: auto;
    margin-right: auto;
}

/* Asegurar que el contenedor principal también sea ancho */
.site-content {
    max-width: 1600px !important;
    margin: 0 auto;
}

/* Storefront tiene un contenedor que limita el ancho */
.col-full {
    max-width: 1600px !important;
}

/* Para artículos y posts */
article.post,
article.page {
    max-width: 1600px !important;
    }
/* Botón de WhatsApp personalizado */
.whatsapp-button-custom {
    text-align: center;
    margin: 30px 0;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white !important; /* Texto blanco por defecto */
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1FB855;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: black !important; /* Texto negro al hacer hover */
}

.btn-whatsapp:visited {
    color: white !important; /* Mantener texto blanco cuando está visitado */
}


.btn-whatsapp i {
    font-size: 24px;
    color: inherit; /* El ícono hereda el color del texto */
}

/* Animación al hacer hover */
.btn-whatsapp:hover i {
    animation: whatsappPulse 0.6s ease;
}

@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ========================================
   RESET Y CORRECCIÓN ESTRUCTURA
   ======================================== */

/* ========================================
   FORZAR GRID CORRECTO - MÁXIMA PRIORIDAD
   ======================================== */

/* Forzar estructura de grid con máxima especificidad */
body.woocommerce ul.products,
body.woocommerce-page ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
}

/* Forzar comportamiento correcto de productos individuales */
body.woocommerce ul.products li.product,
body.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
}

/* Prevenir duplicación de productos */
.woocommerce ul.products li.product:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
}

/* Corrección texto vertical */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product * {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Tarjeta del producto */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: white !important;
    border-radius: 12px !important;
    padding: 20px !important;
  /*  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;*/
    transition: all 0.3s ease !important;
    text-align: center !important;
    display: block !important;
    width: auto !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Imagen */
.woocommerce ul.products li.product img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
}

/* Título */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 10px 0 !important;
    min-height: 40px !important;
    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

/* Contenedor de precios */
.woocommerce ul.products li.product .price-options {
    text-align: center !important;
    display: block !important;
    margin: 15px 0 !important;
}

/* Precio "desde" (con recargo) */
.woocommerce ul.products li.product .price-from {
    font-size: 18px !important;
    color: red !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.woocommerce ul.products li.product .price-from .price-label {
    font-weight: 600 !important;
    color: #e81c1c !important;
    font-size: 14px !important;
    display: inline !important;
}

.woocommerce ul.products li.product .price-from .price-amount {
    font-size: 22px !important;
    color: #7b3ff2 !important;
    display: inline !important;
}

/* Precio efectivo */
.woocommerce ul.products li.product .benefit-effective-inline {
    background: transparent !important;
    padding: 5px 0 !important;
    border-left: none !important;
    display: block !important;
}

.woocommerce ul.products li.product .benefit-label {
    font-size: 14px !important;
    display: block !important;
    margin-bottom: 3px !important;
    color: #333 !important;
}

.woocommerce ul.products li.product .benefit-price {
    font-size: 15px !important;
    display: block !important;
    color: #380b99 !important;
    font-weight: 700 !important;
}

/* Ocultar botón añadir al carrito */
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .button.product_type_simple,
.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .added_to_cart {
    display: none !important;
}

/* ========================================
   RESPONSIVE - SOLO GAPS Y ESTILOS
   ======================================== */

/* Móvil: ajustar padding y tamaños */
@media (max-width: 768px) {
    html body.woocommerce ul.products.columns-5 li.product,
    html body.woocommerce-page ul.products.columns-5 li.product,
    html .woocommerce ul.products.columns-5 li.product,
    html .woocommerce-page ul.products.columns-5 li.product,
    html body.woocommerce ul.products li.product,
    html body.woocommerce-page ul.products li.product,
    html .woocommerce ul.products li.product,
    html .woocommerce-page ul.products li.product {
        padding: 12px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product img,
    html body.woocommerce-page ul.products.columns-5 li.product img,
    html .woocommerce ul.products.columns-5 li.product img,
    html .woocommerce-page ul.products.columns-5 li.product img,
    html body.woocommerce ul.products li.product img,
    html body.woocommerce-page ul.products li.product img,
    html .woocommerce ul.products li.product img,
    html .woocommerce-page ul.products li.product img {
        height: 180px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html body.woocommerce ul.products.columns-5 li.product h2,
    html body.woocommerce-page ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html body.woocommerce-page ul.products.columns-5 li.product h2,
    html .woocommerce ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html .woocommerce ul.products.columns-5 li.product h2,
    html .woocommerce-page ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html .woocommerce-page ul.products.columns-5 li.product h2,
    html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce ul.products li.product h2,
    html body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce-page ul.products li.product h2,
    html .woocommerce ul.products li.product .woocommerce-loop-product__title,
    html .woocommerce ul.products li.product h2,
    html .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html .woocommerce-page ul.products li.product h2 {
        font-size: 14px !important;
        min-height: 35px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product .price-from,
    html body.woocommerce-page ul.products.columns-5 li.product .price-from,
    html .woocommerce ul.products.columns-5 li.product .price-from,
    html .woocommerce-page ul.products.columns-5 li.product .price-from,
    html body.woocommerce ul.products li.product .price-from,
    html body.woocommerce-page ul.products li.product .price-from,
    html .woocommerce ul.products li.product .price-from,
    html .woocommerce-page ul.products li.product .price-from {
        font-size: 14px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product .benefit-price,
    html body.woocommerce-page ul.products.columns-5 li.product .benefit-price,
    html .woocommerce ul.products.columns-5 li.product .benefit-price,
    html .woocommerce-page ul.products.columns-5 li.product .benefit-price,
    html body.woocommerce ul.products li.product .benefit-price,
    html body.woocommerce-page ul.products li.product .benefit-price,
    html .woocommerce ul.products li.product .benefit-price,
    html .woocommerce-page ul.products li.product .benefit-price {
        font-size: 16px !important;
    }
}

/* Móvil pequeño: ajustar padding y tamaños */
@media (max-width: 480px) {
    html body.woocommerce ul.products.columns-5 li.product,
    html body.woocommerce-page ul.products.columns-5 li.product,
    html .woocommerce ul.products.columns-5 li.product,
    html .woocommerce-page ul.products.columns-5 li.product,
    html body.woocommerce ul.products li.product,
    html body.woocommerce-page ul.products li.product,
    html .woocommerce ul.products li.product,
    html .woocommerce-page ul.products li.product {
        padding: 10px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product img,
    html body.woocommerce-page ul.products.columns-5 li.product img,
    html .woocommerce ul.products.columns-5 li.product img,
    html .woocommerce-page ul.products.columns-5 li.product img,
    html body.woocommerce ul.products li.product img,
    html body.woocommerce-page ul.products li.product img,
    html .woocommerce ul.products li.product img,
    html .woocommerce-page ul.products li.product img {
        height: 150px !important;
    }
    
    html body.woocommerce ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html body.woocommerce ul.products.columns-5 li.product h2,
    html body.woocommerce-page ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html body.woocommerce-page ul.products.columns-5 li.product h2,
    html .woocommerce ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html .woocommerce ul.products.columns-5 li.product h2,
    html .woocommerce-page ul.products.columns-5 li.product .woocommerce-loop-product__title,
    html .woocommerce-page ul.products.columns-5 li.product h2,
    html body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce ul.products li.product h2,
    html body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html body.woocommerce-page ul.products li.product h2,
    html .woocommerce ul.products li.product .woocommerce-loop-product__title,
    html .woocommerce ul.products li.product h2,
    html .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    html .woocommerce-page ul.products li.product h2 {
        font-size: 13px !important;
    }
}

/* Tarjetas clickeables */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    cursor: pointer !important;
}

/* Alinear listas */
.wp-block-list,
.wp-block-list li {
    text-align: left !important;
}

/* ========================================
   H2 MÁS PEQUEÑOS EN MÓVIL
   ======================================== */

/* Desktop - tamaño normal */
h2 {
    font-size: 32px ;
}

/* Tablet */
@media (max-width: 1024px) {
    h2 {
        font-size: 28px !important;
    }
}

/* Móvil */
@media (max-width: 768px) {
    h2 {
        font-size: 24px !important;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    h2 {
        font-size: 20px !important;
    }
}

/* Móvil extra pequeño */
@media (max-width: 360px) {
    h2 {
        font-size: 18px !important;
    }
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	color: white !important;
}

.site-branding, .site-search, .site-header-cart, .site-logo-anchor, .site-logo-link, .custom-logo-link {
	margin-bottom: 0 !important;
}
/* SOLUCIÓN ALTERNATIVA - Solo si lo anterior no funciona */
.woocommerce .col-full,
.site-content .col-full {
    max-width: 100% !important;
    padding: 0 20px !important;
}

/* ========================================
   ELIMINAR INTERFERENCIAS ESPECÍFICAS
   ======================================== */

/* Eliminar cualquier CSS que interfiera con el grid */
html body.woocommerce ul.products.columns-5::before,
html body.woocommerce ul.products.columns-5::after,
html body.woocommerce-page ul.products.columns-5::before,
html body.woocommerce-page ul.products.columns-5::after,
html .woocommerce ul.products.columns-5::before,
html .woocommerce ul.products.columns-5::after,
html .woocommerce-page ul.products.columns-5::before,
html .woocommerce-page ul.products.columns-5::after {
    display: none !important;
    content: none !important;
}

/* Asegurar que no haya CSS de WooCommerce interfiriendo */
html body.woocommerce ul.products.columns-5,
html body.woocommerce-page ul.products.columns-5,
html .woocommerce ul.products.columns-5,
html .woocommerce-page ul.products.columns-5 {
    /* Eliminar cualquier propiedad que pueda interferir */
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
    align-content: unset !important;
    flex: unset !important;
    flex-grow: unset !important;
    flex-shrink: unset !important;
    flex-basis: unset !important;
    order: unset !important;
    align-self: unset !important;
}

/* ========================================
   SOLUCIÓN DEFINITIVA - FORZAR GRID
   ======================================== */

/* ========================================
   SOLUCIÓN RESPONSIVE CON AUTO-FIT
   ======================================== */

/* Regla de máxima especificidad para forzar grid responsive */
html body.woocommerce ul.products.columns-5,
html body.woocommerce-page ul.products.columns-5,
html .woocommerce ul.products.columns-5,
html .woocommerce-page ul.products.columns-5,
html body.woocommerce ul.products,
html body.woocommerce-page ul.products,
html .woocommerce ul.products,
html .woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    grid-auto-flow: row !important;
    grid-auto-rows: auto !important;
    align-items: start !important;
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
    overflow: visible !important;
}

/* Móvil: forzar 2 columnas */
@media (max-width: 768px) {
    html body.woocommerce ul.products.columns-5,
    html body.woocommerce-page ul.products.columns-5,
    html .woocommerce ul.products.columns-5,
    html .woocommerce-page ul.products.columns-5,
    html body.woocommerce ul.products,
    html body.woocommerce-page ul.products,
    html .woocommerce ul.products,
    html .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    html body.woocommerce ul.products.columns-5,
    html body.woocommerce-page ul.products.columns-5,
    html .woocommerce ul.products.columns-5,
    html .woocommerce-page ul.products.columns-5,
    html body.woocommerce ul.products,
    html body.woocommerce-page ul.products,
    html .woocommerce ul.products,
    html .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

/* Forzar comportamiento de productos individuales */
html body.woocommerce ul.products.columns-5 li.product,
html body.woocommerce-page ul.products.columns-5 li.product,
html .woocommerce ul.products.columns-5 li.product,
html .woocommerce-page ul.products.columns-5 li.product,
html body.woocommerce ul.products li.product,
html body.woocommerce-page ul.products li.product,
html .woocommerce ul.products li.product,
html .woocommerce-page ul.products li.product {
    grid-column: auto !important;
    grid-row: auto !important;
    grid-area: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
}

/* Mover el menú de categorías a la barra morada horizontalmente */
.secondary-nav-wrapper {
    background-color: 5a0ff9/* Color morado de tu barra */
    padding: 0;
}

.menu-categorias-container {
    max-width: 1600px;
    margin: 0 auto;
}

#menu-categorias {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content:left;
    align-items:left;
}

#menu-categorias .menu-item {
    margin: 0;
    padding: 0;
}

#menu-categorias .menu-item a {
    color: white !important;
    text-decoration: none;
    padding: 15px 25px;
    display: block;
    font-weight: 500;
    transition: all 0.3s ease;
}

#menu-categorias .menu-item a:hover {
    background:#fd7304;
}

/* Ocultar el bullet point si existe */
#menu-categorias .menu-item::before {
    display: none !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    #menu-categorias {
        flex-direction: column;
        align-items: stretch;
    }
    
    #menu-categorias .menu-item a {
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
 
}


/* Forzar visibilidad de imagen principal */
.product-main-image .main-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    transition: opacity 0.3s ease !important;
}

/* Asegurar que el contenedor tenga el tamaño correcto */
.product-main-image {
    position: relative !important;
    overflow: visible !important;
}
/* AGREGAR BORDE A BOTON DE BUSQUEDA*/
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
	border: 2px solid #ff9926 !important;
}

/* FORMATO NUMERO PBX TELEFONO */
.pbx-number {
    font-size: 23px;
    font-weight: 700;
    color: #333;
    margin-right: 20px;
}


/* Tablet */
@media (max-width: 1024px) {
    .pbx-number {
        font-size: 18px;
         margin-right: 10px;
    }
}

/* Móvil */
@media (max-width: 768px) {
    .pbx-number {
        font-size: 20px;
         margin-right: 5px;
    }
}

/* Móvil pequeño */
@media (max-width: 480px) {
    .pbx-number {
        font-size: 17px;
         margin-right: 0px;
    }
}

/*TAMAÑO DE ESPACIO ENCABEZADO CATEGORIAS DE PRODUCTOS*/
.storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content .woocommerce-products-header {
	text-align: center;
	padding: 0  !important;
}