/*
Theme Name: Luz y Color Core
Theme URI: https://luzycolor.com.co
Description: Tema base optimizado, ultraligero y a medida para Luz y Color, integrado con WooCommerce y WPBakery.
Author: David Rocha
Version: 1.0.0
*/

/* --- TUS ESTILOS CSS PRINCIPALES --- */

/* --- APLICACIÓN GENERAL DE FUENTES --- */
body, button, input, select, textarea {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
}

/* Ejemplo para títulos principales */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Contenedor general */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-main .header-container {
	align-items: baseline !important;
}

.telefonos{
	pointer-events: none;
    cursor: default;
}
.telefonos a{
	text-decoration: none !important;
	color:#d8d8d8 !important;
}
.lyc-cli-content a {
  text-decoration: none !important;
  color:#555555 !important;
}

/*INICIO PAGINA WEB*/


/* ===================================================================
   CABECERA DE PÁGINAS INTERNAS (TÍTULO Y BREADCRUMBS)
   =================================================================== */

.lyc-interna-header {
    background-color: #fbfbfb; /* Gris súper clarito, casi blanco */
    border-bottom: 1px solid #eeeeee;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 40px; /* Separación con el contenido de abajo */
}

.lyc-interna-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Título principal de la página */
.lyc-interna-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    margin: 0 0 12px 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Estilos de los Breadcrumbs (Migas de pan) */
.lyc-breadcrumb-nav {
    font-size: 14px;
    font-weight: 500;
    color: #888888;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
}

.lyc-breadcrumb-nav a {
    color: #EC1E28 !important; /* Rojo corporativo */
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.lyc-breadcrumb-nav a:hover {
    color: #111111 !important;
}

/* Color del texto final (Ubicación actual) */
.lyc-breadcrumb-nav span,
.lyc-interna-breadcrumbs .current {
    color: #555555;
}

/* Ajuste perfecto para móviles */
@media (max-width: 768px) {
    .lyc-interna-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    .lyc-interna-title {
        font-size: 24px !important;
    }
    .lyc-breadcrumb-nav {
        font-size: 13px;
    }
	.main-container {
    	display: block !important;
	}
	.woocommerce .woocommerce-result-count {
		text-align: center !important;
		width: 100% !important;
	}
	.woocommerce .woocommerce-ordering, .woocommerce-page .woocommerce-ordering {
    	float: none !important;
	}
	.woocommerce .woocommerce-ordering select {
    	width: 100% !important;
	}
	.lyc-sidebar {
    	max-width: 100% !important;
	}
}
/* =================================================================atea:
   ESTILOS GENERALES DEL HEADER Y CONTENEDOR
   =================================================================== */
.custom-site-header {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background: #fff;
    position: relative;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =================================================================atea:
   1. BARRA SUPERIOR ROJA
   =================================================================== */
.top-bar-red {
    background-color: #ff334b;
    color: #fff;
    height: 45px;
    font-size: 13px;
    font-weight: 600;
}

.top-bar-red .header-container {
    height: 100%;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
	text-decoration: none;
}

.social-icons a:hover {
    opacity: 0.8;
}

.social-icons svg {
    fill: #fff;
    width: 18px;
    height: 18px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.secondary-nav {
    display: flex;
    gap: 25px;
}

.secondary-nav a {
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.secondary-nav a:hover {
    text-decoration: underline;
}

/* Buscador Nativo de WooCommerce */
.woo-search-wrapper form.woocommerce-product-search {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    padding: 2px 10px;
    align-items: center;
}

.woo-search-wrapper .search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 6px;
    outline: none;
    font-size: 13px;
    width: 200px;
}

.woo-search-wrapper .search-field::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.woo-search-wrapper button[type="submit"] {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}


/* =================================================================atea:
   2. SEGUNDA BARRA MÓVIL (Quiénes Somos y Contáctenos al 50%)
   =================================================================== */
.mobile-subbar-links {
    display: none; /* Oculta por defecto en escritorio */
    background-color: #e62e43;
    width: 100%;
}


/* =================================================================atea:
   3. BARRA INFERIOR BLANCA Y MENÚ DE ESCRITORIO
   =================================================================== */
.bottom-bar-white {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.site-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 2px;
	background: rgba(254,41,65,0.03);
}

/* Efecto Hover y Elemento Activo en Escritorio */
.main-navigation ul li:hover > a,
.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
    background-color: #ff334b;
    color: #fff !important;
}

/* Submenú de Escritorio */
.main-navigation ul.sub-menu,
.main-navigation ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 5px 0;
    z-index: 99;
    list-style: none;
    flex-direction: column;
}

.main-navigation ul li:hover > ul.sub-menu,
.main-navigation ul li:hover > ul {
    display: flex !important;
}

.main-navigation ul.sub-menu li,
.main-navigation ul li ul li {
    width: 100%;
}

.main-navigation ul.sub-menu li a,
.main-navigation ul li ul li a {
    color: #444 !important;
    background-color: transparent !important;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 13px;
    text-transform: none;
    border-bottom: 1px solid #f5f5f5;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.main-navigation ul.sub-menu li:last-child a,
.main-navigation ul li ul li:last-child a {
    border-bottom: none;
}

.main-navigation ul.sub-menu li a:hover,
.main-navigation ul li ul li a:hover {
    background-color: #fafafa !important;
    color: #ff334b !important;
}


/* =================================================================atea:
   4. MENÚ MÓVIL Y PANEL LATERAL (DRAWER)
   =================================================================== */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* Bloqueo de scroll en el body cuando el menú móvil está abierto */
body.mobile-menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-drawer.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #ff334b;
    color: #fff;
    font-weight: bold;
    flex-shrink: 0;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
}

.mobile-menu-content {
    padding: 0 0 40px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-grow: 1;
}

/* Cero puntos o viñetas en el menú móvil */
.mobile-menu-content ul, 
.mobile-menu-content ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.mobile-menu-content ul li {
    border-bottom: 1px solid #eee;
}

/* Estilo avanzado y destacado superior para los links padres en móvil */
.mobile-menu-content > div > ul > li > a,
.mobile-menu-content > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #1a1a1a !important;
    text-decoration: none;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #fafafa);
    border-left: 4px solid #ff334b;
    transition: background 0.2s ease;
}

.mobile-menu-content > div > ul > li > a:hover,
.mobile-menu-content > ul > li > a:hover {
    background: #fff0f2;
    color: #ff334b !important;
}

/* Estilo diferenciado para el submenú móvil */
.mobile-menu-content ul.sub-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background-color: #f8f9fa;
    border-left: none;
}

.mobile-menu-content ul.sub-menu li {
    border-bottom: 1px solid #f1f3f5;
}

.mobile-menu-content ul.sub-menu li a {
    display: block;
    padding: 12px 20px 12px 35px !important;
    color: #555 !important;
    text-decoration: none;
    font-weight: 500 !important;
    font-size: 13px !important;
    background-color: transparent !important;
}

.mobile-menu-content ul.sub-menu li:last-child a {
    border-bottom: none;
}

.mobile-menu-content ul.sub-menu li a:hover {
    color: #ff334b !important;
    background-color: #f1f3f5 !important;
}

/* Fondo oscuro semitransparente (Overlay) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.4);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =================================================================atea:
   5. MEDIA QUERIES (ADAPTACIÓN MÓVIL Y TABLETS)
   =================================================================== */
@media screen and (max-width: 1024px) {
    .main-navigation {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
    }
    
    .bottom-bar-white .header-container {
        justify-content: space-between;
    }

    /* Ocultamos los enlaces secundarios de la barra roja vieja */
    .top-bar-right .secondary-nav {
        display: none !important;
    }

    /* Las redes sociales se quedan fijas junto al buscador */
    .social-icons {
        display: flex !important;
        gap: 10px;
    }

    .woo-search-wrapper .search-field {
        width: 130px;
    }

    /* Activamos la barra del 50% para Quiénes Somos y Contáctenos */
    .mobile-subbar-links {
        display: flex;
        width: 100%;
    }

    .mobile-subbar-links a {
        flex: 0 0 50%;
        width: 50%;
        text-align: center;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 12px;
        padding: 10px 5px;
        letter-spacing: 0.5px;
        background-color: rgba(0,0,0,0.05);
        transition: background-color 0.2s;
    }

    .mobile-subbar-links a:first-child {
        border-right: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-subbar-links a:hover {
        background-color: rgba(0,0,0,0.15);
    }
}





/* Campo de búsqueda optimizado para evitar el Zoom automático en iOS */
.woo-search-wrapper form.woocommerce-product-search {
    display: flex;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    padding: 3px 8px;
    align-items: center;
}

.woo-search-wrapper .search-field {
    background: transparent;
    border: none;
    color: #fff;
    padding: 5px;
    outline: none;
    font-size: 16px; /* Clave: 16px exactos evita que iOS active el zoom forzado */
    transform: scale(0.85); /* Reduce visualmente el texto para que estéticamente se vea compacto */
    transform-origin: left center;
    width: 140px;
    transition: width 0.3s ease;
}

.woo-search-wrapper .search-field::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.woo-search-wrapper button[type="submit"] {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.woo-search-wrapper button[type="submit"] svg {
    stroke: #fff;
    width: 16px;
    height: 16px;
}

/* Adaptación responsiva para móviles */
@media screen and (max-width: 1024px) {
    .woo-search-wrapper .search-field {
        width: 200px;
    }
}

@media screen and (max-width: 480px) {
    .woo-search-wrapper .search-field {
        width: 130px;
    }
}










/* Ocultar precios y botones de compra en modo catálogo */
.woocommerce ul.products li.product .button,
.woocommerce div.product form.cart,
.woocommerce div.product p.price,
.woocommerce ul.products li.product .price {
    display: none !important;
}
.woocommerce ul.products li.product a img:hover {
  transform: scale(0.95);
  -moz-transform: scale(0.95);
  -webkit-transform: scale(0.95);
  -o-transform: scale(0.95);
}
.woocommerce ul.products li.product a img {
  margin: 0 0 0;
  transition: all 0.5s ease-out 0s;
}
.ast-select-options-trigger {
  top: 1em;
  display: none;
}
.woocommerce-js ul.products li.product, .woocommerce-page ul.products li.product {
  padding: 5px;
  background: rgba(225, 225, 225, 0.2);
}
.woocommerce-tabs{
	display:none !important;
}
.related{
	display:none !important;
}

/* ===================================================================
   CORRECCIÓN DEL GRID DE PRODUCTOS (WOOCOMMERCE + WPBAKERY)
   =================================================================== */

/* 1. Anular los floats viejos y activar CSS Grid moderno */
.woocommerce ul.products {
    display: grid !important;
    gap: 30px; /* Espacio entre los productos */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 2. Limpiar elementos basura que inyecta WooCommerce */
.woocommerce ul.products::before, 
.woocommerce ul.products::after { 
    display: none !important; 
}

/* 3. Forzar a que cada producto ocupe exactamente su celda */
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
}

/* 4. Activar las columnas dinámicas de WPBakery */
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }

/* ===================================================================
   RESPONSIVE: Para que se vea perfecto en móviles y tablets
   =================================================================== */
@media screen and (max-width: 991px) {
    /* En tablets, mostramos máximo 2 columnas */
    .woocommerce ul.products.columns-4, 
    .woocommerce ul.products.columns-3 { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media screen and (max-width: 575px) {
    /* En celulares, mostramos 1 sola columna para que la foto se vea grande */
    .woocommerce ul.products.columns-4, 
    .woocommerce ul.products.columns-3, 
    .woocommerce ul.products.columns-2,
    .woocommerce ul.products.columns-5 { 
        grid-template-columns: 1fr; 
    }
}



/* ===================================================================
   ESTILO MODERNO Y MINIMALISTA: SIDEBAR Y WIDGETS
   =================================================================== */

/* 1. Contenedor general del Sidebar */
.lyc-sidebar {
    background-color: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02) !important;
}

/* 2. Títulos de los Widgets */
.lyc-sidebar .widget-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #111 !important;
    border-bottom: 2px solid #EC1E28 !important;
    padding-bottom: 12px !important;
    margin-bottom: 25px !important;
    display: inline-block;
}

/* 3. Widget de Categorías de Producto (Específico) */
.lyc-sidebar .widget_product_categories ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lyc-sidebar .widget_product_categories ul li {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.lyc-sidebar .widget_product_categories ul li:last-child {
    border-bottom: none;
}

.lyc-sidebar .widget_product_categories ul li a {
    color: #555;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

/* Icono de flechita usando FontAwesome 6 que ya cargamos */
.lyc-sidebar .widget_product_categories ul li a::before {
    content: '\f105'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 10px;
    font-size: 12px;
    color: #ccc;
    transition: all 0.3s ease;
}

/* Efecto Hover (Al pasar el mouse) en las categorías */
.lyc-sidebar .widget_product_categories ul li:hover a {
    color: #EC1E28; /* Tu rojo corporativo */
}

.lyc-sidebar .widget_product_categories ul li:hover a::before {
    color: #EC1E28;
    transform: translateX(4px); /* Animación suave hacia la derecha */
}

/* Contador de productos (Ej: (5)) convertido en un "Badge" moderno */
.lyc-sidebar .widget_product_categories ul li .count {
    background: #f8f8f8;
    color: #888;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 600;
}


/* ===================================================================
   ESTILO MODERNO: PÁGINAS INTERNAS WOOCOMMERCE (PRODUCTOS)
   =================================================================== */

/* Tarjetas de producto en la cuadrícula */
.woocommerce ul.products li.product {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f2f2f2;
    text-align: center;
    transition: all 0.3s ease;
}

/* Efecto de elevación al pasar el mouse por un producto */
.woocommerce ul.products li.product:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: #fff;
}

/* Título del Producto (Más limpio) */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-top: 15px !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* Precio del Producto */
.woocommerce ul.products li.product .price {
    color: #EC1E28 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
}

/* Botón "Añadir al carrito" o "Ver opciones" */
.woocommerce ul.products li.product .button {
    background-color: #f8f8f8 !important;
    color: #111 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
    font-size: 12px !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    display: inline-block;
}

/* Hover del Botón de producto */
.woocommerce ul.products li.product .button:hover {
    background-color: #EC1E28 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(236, 30, 40, 0.2) !important;
}

/* Etiquetas de "Oferta" (Sale Flash) */
.woocommerce span.onsale {
    background-color: #EC1E28 !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1 !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
}




/* ===================================================================
   CORRECCIÓN DE DESBORDE DE PRODUCTOS (OVERFLOW)
   =================================================================== */

/* 1. Obligar al navegador a incluir el padding dentro del 100% del ancho */
.woocommerce ul.products li.product {
    box-sizing: border-box !important;
    overflow: hidden !important; /* Evita que nada se salga de los bordes */
}

/* 2. Forzar a que las imágenes (por si hay alguna muy grande) respeten su caja */
.woocommerce ul.products li.product img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
    border-radius: 8px; /* Un toque redondeado extra para las fotos */
}

/* 3. Evitar que títulos de productos extremadamente largos rompan el diseño */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

/* 4. Asegurar que toda la cuadrícula general no supere el ancho permitido */
.woocommerce ul.products {
    width: 100% !important;
    box-sizing: border-box !important;
}




/* ===================================================================
   ESTILO MODERNO: BARRA SUPERIOR (RESULTADOS Y FILTRO) Y PAGINACIÓN
   =================================================================== */

/* 1. Texto de "Mostrando X de Y resultados" */
.woocommerce .woocommerce-result-count {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* 2. Contenedor del filtro desplegable */
.woocommerce .woocommerce-ordering {
    margin-bottom: 20px;
}

/* 3. Estilo moderno para el Select (Filtro de búsqueda/orden) */
.woocommerce .woocommerce-ordering select {
    background-color: #ffffff;
    color: #333;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 10px 40px 10px 15px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    appearance: none; /* Oculta la flecha nativa fea del navegador */
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Flecha personalizada minimalista en SVG */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

/* Efecto al hacer clic en el filtro */
.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: #EC1E28;
    box-shadow: 0 0 0 3px rgba(236, 30, 40, 0.1);
}

/* 4. Contenedor de la Paginación (Centrado) */
.woocommerce nav.woocommerce-pagination {
    margin-top: 40px;
    margin-bottom: 30px;
    text-align: center;
}

/* Quitar el borde nativo feo de la lista de paginación */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
    margin: 0;
    padding: 0;
    display: inline-flex;
    gap: 8px; /* Espaciado limpio entre los números */
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    overflow: visible;
}

/* 5. Diseño de los botones de números (Cuadritos redondeados) */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0 !important;
    background-color: #ffffff;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #eaeaea !important;
    border-radius: 8px; 
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Efecto Hover en los botones de página */
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
    background-color: #f9f9f9;
    color: #111;
    border-color: #dcdcdc !important;
}

/* 6. Diseño de la página actual (Botón activo en rojo) */
.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #EC1E28;
    color: #ffffff;
    border-color: #EC1E28 !important;
    box-shadow: 0 4px 10px rgba(236, 30, 40, 0.2);
}




/* ===================================================================
   CORRECCIÓN DEL SCROLL HORIZONTAL (AMIGABLE CON WPBAKERY)
   =================================================================== */

/* 1. Mantenemos el bloqueo del scroll general en el documento */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important; 
    margin: 0;
    padding: 0;
}

/* 2. Box-Sizing universal para cálculos correctos */
*, *::before, *::after {
    box-sizing: border-box !important;
}

/* 3. Aseguramos que el contenedor absorba los márgenes negativos de WPBakery
      (WPBakery usa -15px, así que le damos 15px de colchón al contenedor) */
.main-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* 4. Si usas filas "Full Width" (Ancho completo) en WPBakery, evitamos que rompan la pantalla */
.vc_row[data-vc-full-width="true"] {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}




/* ===================================================================
   ESTILO MODERNO: PÁGINA INDIVIDUAL DE PRODUCTO
   =================================================================== */

/* 1. Galería de Imágenes (Bordes redondeados y sombra sutil) */
.woocommerce div.product div.images {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    border: 1px solid #f5f5f5;
    background: #fff;
}

.woocommerce div.product div.images img {
    border-radius: 12px;
    display: block;
    width: 100%;
}

/* Miniaturas de la galería inferiores */
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: calc(25% - 7.5px) !important; /* 4 miniaturas alineadas */
    float: none !important;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #EC1E28; /* Resalta en tu color rojo */
}

/* 2. Información del Producto (Caja blanca lateral) */
.woocommerce div.product div.summary {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}

.woocommerce div.product .product_title {
    font-size: 28px;
    font-weight: 700;
    color: #111;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.woocommerce div.product p.price {
    font-size: 24px !important;
    color: #EC1E28 !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* 3. Selector de Cantidad y Botón "Añadir al Carrito / Comprar" */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 70px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background: #fdfdfd;
}

.woocommerce div.product form.cart .button {
    height: 48px;
    background-color: #EC1E28 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 0 35px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    border: none;
    box-shadow: 0 4px 15px rgba(236, 30, 40, 0.2);
    display: flex;
    align-items: center;
}

.woocommerce div.product form.cart .button:hover {
    background-color: #d11822 !important;
    box-shadow: 0 6px 20px rgba(236, 30, 40, 0.3);
    transform: translateY(-2px); /* Se eleva suavemente */
}

/* 4. Pestañas Inferiores (Descripción, Información Adicional) */
.woocommerce div.product .woocommerce-tabs {
    margin-top: 50px;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #f5f5f5;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 30px;
    padding: 0 !important;
    margin: 0 0 30px 0 !important;
    border-bottom: 2px solid #eee;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 0 15px 0 !important;
    position: relative;
}

/* Línea roja animada debajo de la pestaña activa */
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #EC1E28;
    transition: width 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active::after {
    width: 100%;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-size: 16px;
    font-weight: 600;
    color: #888 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #111 !important;
}

/* 5. Productos Relacionados */
.woocommerce .related.products {
    margin-top: 60px;
}

.woocommerce .related.products > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 4px solid #EC1E28; /* Detalle de color en el título */
    padding-left: 15px;
    color: #111;
}




/* ===================================================================
   OPTIMIZACIÓN DE GALERÍA Y SUAVIDAD DEL LIGHTBOX (PHOTOSWIPE)
   =================================================================== */

/* 1. Desactivar por completo el evento de zoom hover y asegurar clic para Lightbox */
.woocommerce div.product div.images .zoomImg {
    display: none !important; /* Desaparece la capa duplicada de zoom */
    pointer-events: none !important;
}

/* Hacer que toda la imagen principal responda al cursor de lupa y sea clicable */
.woocommerce-product-gallery__image a {
    cursor: zoom-in !important;
    display: block !important;
}

/* 2. Suavizar el Lightbox (PhotoSwipe) para que no abra de golpe */
.pswp {
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Fondo oscuro progresivo */
.pswp__bg {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transition: opacity 0.4s ease !important;
    opacity: 0 !important;
}
.pswp--open .pswp__bg {
    opacity: 1 !important;
}

/* Desplazamiento y escala suave para la imagen activa dentro del visor */
.pswp__img {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    border-radius: 4px;
}

/* 3. Estilizar el botón nativo de la lupa de WooCommerce */
.woocommerce div.product a.woocommerce-product-gallery__trigger {
    background: #ffffff !important;
    color: #111 !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    top: 15px !important;
    right: 15px !important;
    border: 1px solid #eee !important;
    z-index: 99 !important;
}

.woocommerce div.product a.woocommerce-product-gallery__trigger::before {
    font-size: 16px !important;
}

.woocommerce div.product a.woocommerce-product-gallery__trigger:hover {
    background: #EC1E28 !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

/* Ocultar el texto accesorio si se deforma en algunos navegadores */
.woocommerce div.product a.woocommerce-product-gallery__trigger .woocommerce-product-gallery__trigger-text {
    display: none !important;
}



/* ===================================================================
   ANIMACIÓN EASE-IN-OUT: LIGHTBOX NATIVO DE WOOCOMMERCE (PhotoSwipe)
   =================================================================== */

/* 1. Suavidad en el contenedor general y la interfaz (Botones, flechas) */
.pswp, 
.pswp__bg, 
.pswp__ui {
    transition: opacity 0.5s ease-in-out !important;
}

/* 2. Forzar la curva ease-in-out en el movimiento y escala de la imagen */
/* El .pswp__zoom-wrap es la caja invisible que WooCommerce usa para animar la foto */
.pswp__zoom-wrap {
    transition: transform 0.5s ease-in-out !important;
}

/* 3. Transición de la imagen en sí */
.pswp__img {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out !important;
    border-radius: 4px;
}

/* 4. Fondo oscuro progresivo */
.pswp__bg {
    background-color: rgba(0, 0, 0, 0.9) !important;
    opacity: 0 !important;
}
.pswp--open .pswp__bg {
    opacity: 1 !important;
}


.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
 display:none !important;
}




/* ===================================================================
   ESTILO MODERNO: DETALLES, METADATOS Y TABLAS (PRODUCTO INDIVIDUAL)
   =================================================================== */

/* 1. Título del Producto (Mayor jerarquía y más moderno) */
.woocommerce div.product .product_title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.5px; /* Le da un toque muy corporativo/moderno */
}

/* 2. Detalles del Producto (Descripción Corta) */
.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0; /* Línea sutil separadora debajo del precio */
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    margin-bottom: 15px;
}

.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* 3. Metadatos del Producto (SKU, Categorías, Etiquetas) */
.woocommerce div.product .product_meta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0; /* Línea divisoria superior */
    font-size: 14px;
    color: #777;
    display: flex;
    flex-direction: column; /* Apila los metas ordenadamente */
    gap: 8px; /* Espaciado entre la Categoría y el SKU */
}

/* Títulos de los metas (Ej: "Categoría:", "SKU:") */
.woocommerce div.product .product_meta span.sku_wrapper,
.woocommerce div.product .product_meta span.posted_in,
.woocommerce div.product .product_meta span.tagged_as {
    color: #333;
    font-weight: 600;
}

/* Valores de los metas (Ej: el número de SKU) */
.woocommerce div.product .product_meta .sku {
    font-weight: 400;
    color: #666;
}

/* 4. Enlaces Internos (Dentro de descripción, metas y pestañas) */
.woocommerce div.product .summary a,
.woocommerce div.product .woocommerce-tabs a {
    color: #555;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent; /* Preparado para el efecto hover */
}

/* Efecto al pasar el mouse por los enlaces */
.woocommerce div.product .summary a:hover,
.woocommerce div.product .woocommerce-tabs a:hover {
    color: #EC1E28; /* Tu rojo corporativo */
    border-bottom: 1px solid #EC1E28; /* Subrayado elegante al interactuar */
}

/* 5. Tabla Nativas de WooCommerce (Atributos / Información Adicional) */
.woocommerce table.shop_attributes {
    border: none !important;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0;
}

/* Limpieza de celdas de la tabla */
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5 !important;
    border-top: none !important;
    background: transparent !important;
    text-align: left;
}

/* Títulos de la tabla (Columna izquierda) */
.woocommerce table.shop_attributes th {
    width: 25%;
    font-weight: 600;
    color: #111;
    font-size: 15px;
    background-color: #fafafa !important; /* Fondo sutil para diferenciar */
    border-right: 1px solid #fff;
}

/* Valores de la tabla (Columna derecha) */
.woocommerce table.shop_attributes td {
    color: #555;
    font-size: 15px;
}

/* Quitar el último borde para que se vea limpio */
.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
    border-bottom: none !important;
}

/* 6. Otras tablas genéricas (Por si pones una tabla en la descripción del producto









/* ===================================================================
   TABLA RESPONSIVA PERFECTA (CSS GRID NATIVO - SIN SCROLL)
   =================================================================== */

/* 1. Contenedor principal de la tabla */
.woocommerce div.product .woocommerce-product-details__short-description table {
    /*display: block !important;*/
    width: 100% !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    margin-bottom: 25px !important;
    background: #fff !important;
	height: auto !important;
}

/* 2. Convertimos el Tbody en una cuadrícula (Grid) de 2 columnas */
.woocommerce div.product .woocommerce-product-details__short-description tbody {
    display: grid !important;
    grid-template-columns: 40% 60% !important; /* 40% espacio para Títulos, 60% para Valores */
    width: 100% !important;
}

/* 3. Magia Pura: Hacemos que los TR sean "invisibles" estructuralmente */
/* Esto permite que las celdas fluyan directamente hacia nuestra cuadrícula */
.woocommerce div.product .woocommerce-product-details__short-description tr {
    display: contents !important;
}

/* 4. Estilo de todas las celdas limpias */
.woocommerce div.product .woocommerce-product-details__short-description th,
.woocommerce div.product .woocommerce-product-details__short-description td {
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    padding: 15px 20px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    font-size: 14px !important;
    word-wrap: break-word !important;
    white-space: normal !important;
    margin: 0 !important;
    width: 100% !important; /* Anula los anchos fijos del HTML viejo */
}

/* 5. Columna Izquierda: Todos los Títulos (Fila 1 del HTML original) */
.woocommerce div.product .woocommerce-product-details__short-description tr:first-child th,
.woocommerce div.product .woocommerce-product-details__short-description tr:first-child td {
    grid-column: 1 !important;
    background-color: #fafafa !important;
    border-right: 1px solid #eaeaea !important;
    font-weight: 600 !important;
    color: #111 !important;
	height: auto !important;
}

/* 6. Columna Derecha: Todos los Valores (Fila 2 del HTML original) */
.woocommerce div.product .woocommerce-product-details__short-description tr:last-child th,
.woocommerce div.product .woocommerce-product-details__short-description tr:last-child td {
    grid-column: 2 !important;
    background-color: #ffffff !important;
	height: auto !important;
}

/* 7. Emparejamiento Sincronizado (Garantiza que Título y Valor estén en la misma línea y altura) */
/* Soporta hasta 10 columnas de características */
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(1) { grid-row: 1 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(2) { grid-row: 2 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(3) { grid-row: 3 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(4) { grid-row: 4 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(5) { grid-row: 5 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(6) { grid-row: 6 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(7) { grid-row: 7 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(8) { grid-row: 8 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(9) { grid-row: 9 !important; }
.woocommerce div.product .woocommerce-product-details__short-description *:nth-child(10) { grid-row: 10 !important; }

/* Evitar que las etiquetas fuertes (strong) dentro de las celdas rompan el diseño */
.woocommerce div.product .woocommerce-product-details__short-description td strong {
    font-weight: inherit !important;
    color: inherit !important;
}





/* ===================================================================
   LIGHTBOX DE 1 TOQUE (PREPARACIÓN PARA JAVASCRIPT)
   =================================================================== */

/* 1. Ocultamos la lupa visualmente */
.woocommerce div.product a.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* 2. El enlace de la imagen */
.woocommerce div.product div.images .woocommerce-product-gallery__image a {
    display: block !important;
    cursor: zoom-in !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* 3. ¡IMPORTANTE! Reactivamos los eventos en la imagen para que JS la detecte */
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    pointer-events: auto !important; 
}

/* 4. Bloqueo del zoom residual fantasma */
.woocommerce div.product div.images .zoomImg {
    display: none !important;
    pointer-events: none !important;
}




/* ===================================================================
   LIMPIEZA DEL LIGHTBOX (SIN ZOOM EXTRA NI LUPA)
   =================================================================== */

/* 1. Ocultamos el botón de la lupa en la barra superior del Lightbox */
.pswp__button--zoom {
    display: none !important;
}

/* 2. Bloqueamos el clic directo en la foto para evitar el zoom brusco */
.pswp__img {
    pointer-events: none !important; 
}

/* 3. Cambiamos el cursor a una "manito" de arrastre para PC */
.pswp__container, .pswp__scroll-wrap {
    cursor: grab !important;
}
.pswp__container:active, .pswp__scroll-wrap:active {
    cursor: grabbing !important;
}




/* ===================================================================
   COMPONENTE: CAJA DE CATEGORÍAS (DISEÑO OVERLAY BLANCO)
   =================================================================== */

.lyc-category-box {
    position: relative;
    background: #fcfcfc;
    border: 1px solid #eaeaea;
    overflow: hidden;
    text-align: center;
    margin-bottom: 30px;
    height: 215px; /* Altura ajustada para dar espacio a la capa blanca interior */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enlace invisible que cubre toda la caja */
.lyc-category-overlay-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

/* 1. Imagen de fondo absoluta */
.lyc-category-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.lyc-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease-out 0s;
}

/* 2. Capa blanca semitransparente centrada (Basada en tu clase .text-adv) */
.lyc-category-overlay-white {
    position: absolute;
    background: rgba(246, 246, 246, 0.65); /* Fondo blanco transparente */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    top: 0; bottom: 0; left: 0; right: 0;
    margin: auto;
    width: 100%;
    /*max-width: 370px;*/
    height: 215px;
    z-index: 3;
    transition: background-color 0.4s ease;
}

/* 3. Contenedor de Textos y Botón (Alineado dentro de la capa blanca) */
.lyc-category-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%; /* Toma el tamaño del overlay blanco */
}

/* Título de Categoría */
.lyc-category-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #111 !important;
    margin: 0 0 15px 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Botón: Bloque oscuro rectangular */
.lyc-category-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important; 
    background: #222222;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    min-width: 200px;
	text-transform: uppercase;
  text-decoration: none;
}

/* ===================================================================
   ANIMACIONES HOVER (Ratón encima)
   =================================================================== */

/* 1. La imagen del fondo hace zoom */
.lyc-category-box:hover .lyc-category-image img {
    filter: blur(5px);
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  transform: scale(1.15);
}

/* 2. La capa blanca se vuelve ligerísimamente más sólida al interactuar */
.lyc-category-box:hover .lyc-category-overlay-white {
    background: rgba(255, 255, 255, 0.85); 
}

/* 3. El botón cambia al rojo de Luz y Color */
.lyc-category-box:hover .lyc-category-btn {
    background: #EC1E28; 
    color: #ffffff !important;
}




/*FIN PAGINA WEB*/





/*INICIO WPBAKERY SHORTCODE*/
/* ===================================================================
   ESTILOS DEL BANNER SLIDER LUZ Y COLOR + TRANSICIONES (WPBAKERY)
   =================================================================== */
.lyc-hero-slider {
    position: relative;
    width: 100%;
    height: var(--lyc-desktop-height, 480px);
    overflow: hidden;
    background-color: #f2f2f2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lyc-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1400px;
}

.lyc-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    transition: transform var(--lyc-trans-duration, 700ms) cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity var(--lyc-trans-duration, 700ms) cubic-bezier(0.25, 0.8, 0.25, 1),
                filter var(--lyc-trans-duration, 700ms) ease,
                visibility var(--lyc-trans-duration, 700ms) ease;
}

.lyc-slide.prev-slide {
    z-index: 2;
}

.lyc-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 3;
}

/* ===================================================================
   7 EFECTOS DE TRANSICIÓN ENTRE SLIDES
   =================================================================== */

/* 1. Desvanecimiento Suave (Fade) */
.lyc-hero-slider[data-active-transition="fade"] .lyc-slide {
    transform: none;
}

/* 2. Deslizamiento Horizontal (Slide) */
.lyc-hero-slider[data-active-transition="slide-horizontal"] .lyc-slide {
    transform: translateX(100%);
    opacity: 1;
}
.lyc-hero-slider[data-active-transition="slide-horizontal"] .lyc-slide.prev-slide {
    transform: translateX(-100%);
    opacity: 1;
    visibility: visible;
}
.lyc-hero-slider[data-active-transition="slide-horizontal"] .lyc-slide.active {
    transform: translateX(0);
    opacity: 1;
}

/* 3. Deslizamiento Vertical */
.lyc-hero-slider[data-active-transition="slide-vertical"] .lyc-slide {
    transform: translateY(100%);
    opacity: 1;
}
.lyc-hero-slider[data-active-transition="slide-vertical"] .lyc-slide.prev-slide {
    transform: translateY(-100%);
    opacity: 1;
    visibility: visible;
}
.lyc-hero-slider[data-active-transition="slide-vertical"] .lyc-slide.active {
    transform: translateY(0);
    opacity: 1;
}

/* 4. Zoom Acercamiento (Zoom In) */
.lyc-hero-slider[data-active-transition="zoom-in"] .lyc-slide {
    transform: scale(0.84);
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="zoom-in"] .lyc-slide.prev-slide {
    transform: scale(1.12);
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="zoom-in"] .lyc-slide.active {
    transform: scale(1);
    opacity: 1;
}

/* 5. Zoom Alejamiento (Zoom Out) */
.lyc-hero-slider[data-active-transition="zoom-out"] .lyc-slide {
    transform: scale(1.22);
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="zoom-out"] .lyc-slide.prev-slide {
    transform: scale(0.88);
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="zoom-out"] .lyc-slide.active {
    transform: scale(1);
    opacity: 1;
}

/* 6. Desenfoque Moderno (Blur Fade) */
.lyc-hero-slider[data-active-transition="blur-fade"] .lyc-slide {
    filter: blur(20px);
    transform: scale(1.05);
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="blur-fade"] .lyc-slide.active {
    filter: blur(0px);
    transform: scale(1);
    opacity: 1;
}

/* 7. Perspectiva 3D (Flip 3D) */
.lyc-hero-slider[data-active-transition="flip-3d"] .lyc-slide {
    transform: rotateX(-70deg) translateY(50px) scale(0.95);
    transform-origin: center bottom;
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="flip-3d"] .lyc-slide.prev-slide {
    transform: rotateX(70deg) translateY(-50px) scale(0.95);
    transform-origin: center top;
    opacity: 0;
}
.lyc-hero-slider[data-active-transition="flip-3d"] .lyc-slide.active {
    transform: rotateX(0deg) translateY(0) scale(1);
    opacity: 1;
}


/* ===================================================================
   ANIMACIONES INTERNAS (TEXTOS, BOTÓN Y LÁMPARA)
   =================================================================== */
.lyc-badge-top-wrap,
.lyc-badge-title-wrap,
.lyc-btn-wrap,
.lyc-product-img {
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
}

/* Modo 1: Entrada Lateral Opuesta (Textos desde Izquierda / Producto desde Derecha) */
.lyc-hero-slider.anim-split-sides .lyc-slide .lyc-badge-top-wrap,
.lyc-hero-slider.anim-split-sides .lyc-slide .lyc-badge-title-wrap,
.lyc-hero-slider.anim-split-sides .lyc-slide .lyc-btn-wrap {
    transform: translateX(-45px);
    opacity: 0;
}
.lyc-hero-slider.anim-split-sides .lyc-slide .lyc-product-img {
    transform: translateX(55px);
    opacity: 0;
}

/* Modo 2: Subida Escalonada (Fade Up) */
.lyc-hero-slider.anim-fade-up .lyc-slide .lyc-badge-top-wrap,
.lyc-hero-slider.anim-fade-up .lyc-slide .lyc-badge-title-wrap,
.lyc-hero-slider.anim-fade-up .lyc-slide .lyc-btn-wrap,
.lyc-hero-slider.anim-fade-up .lyc-slide .lyc-product-img {
    transform: translateY(35px);
    opacity: 0;
}

/* Modo 3: Efecto Pop / Rebote Suave (Zoom Pop) */
.lyc-hero-slider.anim-pop-in .lyc-slide .lyc-badge-top-wrap,
.lyc-hero-slider.anim-pop-in .lyc-slide .lyc-badge-title-wrap,
.lyc-hero-slider.anim-pop-in .lyc-slide .lyc-btn-wrap,
.lyc-hero-slider.anim-pop-in .lyc-slide .lyc-product-img {
    transform: scale(0.75);
    opacity: 0;
    transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Estado Activo para todas las animaciones internas con retardos escalonados */
.lyc-hero-slider .lyc-slide.active .lyc-badge-top-wrap {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    transition-delay: 0.15s;
}
.lyc-hero-slider .lyc-slide.active .lyc-badge-title-wrap {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    transition-delay: 0.28s;
}
.lyc-hero-slider .lyc-slide.active .lyc-btn-wrap {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    transition-delay: 0.40s;
}
.lyc-hero-slider .lyc-slide.active .lyc-product-img {
    transform: translate(0, 0) scale(1);
    opacity: 1;
    transition-delay: 0.22s;
}


/* ===================================================================
   MAQUETACIÓN DE ELEMENTOS DEL SLIDE (TEXTOS, IMAGEN Y DOTS)
   =================================================================== */
.lyc-slide-container {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.lyc-slide-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 3;
    max-width: 55%;
}

.lyc-badge-top-wrap {
    margin-bottom: 0;
}

.lyc-badge-top {
    display: inline-block;
    padding: 5px 14px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 3px 3px 0 0;
    line-height: 1.2;
}

.lyc-badge-title-wrap {
    margin-bottom: 22px;
}

.lyc-badge-title {
    display: inline-block;
    margin: 0 !important;
    padding: 8px 18px;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 4px 4px 4px;
    line-height: 1.05;
}

.lyc-slider-btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.lyc-slider-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.lyc-slide-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.lyc-product-img {
    max-height: 360px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.18));
}

.lyc-slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.lyc-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background-color: var(--lyc-dot-inactive, #ffffff);
    opacity: 0.85;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.lyc-dot.active {
    background-color: var(--lyc-dot-active, #ff2438);
    opacity: 1;
    transform: scale(1.15);
}

/* --- ADAPTACIÓN RESPONSIVA (TABLETS Y MÓVILES) --- */
@media screen and (max-width: 991px) {
    .lyc-hero-slider {
        height: 420px;
    }
    .lyc-badge-top {
        font-size: 16px;
    }
    .lyc-badge-title {
        font-size: 36px;
    }
    .lyc-product-img {
        max-height: 260px;
    }
}

@media screen and (max-width: 767px) {
    .lyc-hero-slider {
        height: 520px;
    }
    .lyc-slide-container {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    .lyc-slide-left {
        max-width: 100%;
        align-items: center;
    }
    .lyc-badge-top {
        font-size: 14px;
        padding: 4px 12px;
        border-radius: 3px;
    }
    .lyc-badge-title {
        font-size: 28px;
        padding: 6px 14px;
        border-radius: 4px;
    }
    .lyc-badge-title-wrap {
        margin-bottom: 14px;
    }
    .lyc-product-img {
        max-height: 200px;
    }
}




/* ===================================================================
   ESTILOS DE LAS FLECHAS DE NAVEGACIÓN (ARROWS)
   =================================================================== */
.lyc-arrow {
    position: absolute;
    z-index: 20;
    background-color: var(--lyc-arrow-bg, rgba(0,0,0,0.35));
    color: var(--lyc-arrow-color, #ffffff);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.lyc-arrow:hover {
    background-color: var(--lyc-arrow-hover, #ff2438);
    color: #ffffff;
    transform: scale(1.08);
}

.lyc-arrow svg {
    stroke: currentColor;
    width: 20px;
    height: 20px;
}

/* --- UBICACIONES DE LAS FLECHAS --- */

/* 1. Extremos Laterales */
.lyc-hero-slider.arrow-pos-sides .lyc-prev-arrow {
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
.lyc-hero-slider.arrow-pos-sides .lyc-prev-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.lyc-hero-slider.arrow-pos-sides .lyc-next-arrow {
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.lyc-hero-slider.arrow-pos-sides .lyc-next-arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

/* 2. Agrupadas Abajo a la Derecha */
.lyc-hero-slider.arrow-pos-bottom-right .lyc-prev-arrow {
    bottom: 12px;
    right: 65px;
}
.lyc-hero-slider.arrow-pos-bottom-right .lyc-next-arrow {
    bottom: 12px;
    right: 15px;
}

/* 3. Agrupadas Abajo a la Izquierda */
.lyc-hero-slider.arrow-pos-bottom-left .lyc-prev-arrow {
    bottom: 12px;
    left: 15px;
}
.lyc-hero-slider.arrow-pos-bottom-left .lyc-next-arrow {
    bottom: 12px;
    left: 65px;
}

/* 4. Agrupadas Abajo al Centro */
.lyc-hero-slider.arrow-pos-bottom-center .lyc-prev-arrow {
    bottom: 12px;
    left: calc(50% - 50px);
}
.lyc-hero-slider.arrow-pos-bottom-center .lyc-next-arrow {
    bottom: 12px;
    left: calc(50% + 6px);
}

@media screen and (max-width: 600px) {
    .lyc-arrow {
        width: 36px;
        height: 36px;
    }
    .lyc-hero-slider.arrow-pos-sides .lyc-prev-arrow { left: 10px; }
    .lyc-hero-slider.arrow-pos-sides .lyc-next-arrow { right: 10px; }
}
/* Contenedor exclusivo para el contenido de las páginas */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    /*padding: 0 20px;*/
    display: block; /* Mantiene el contenido apilado verticalmente */
    width: 100%;
    box-sizing: border-box;
}



/* ===================================================================
   MÓDULO: FORMULARIO DE CONTACTO NATIVO (WPBAKERY)
   =================================================================== */

.lyc-custom-form-wrapper {
    width: 100%;
    margin-bottom: 40px;
}

/* Alertas (Éxito o Error) */
.lyc-form-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 15px;
}
.lyc-form-alert.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}
.lyc-form-alert.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Cuadrícula CSS para alinear 50% y 100% */
.lyc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.lyc-form-group.width-100 { grid-column: span 2; }
.lyc-form-group.width-50  { grid-column: span 1; }

/* Labels y Asterisco */
.lyc-form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.lyc-req {
    color: #EC1E28;
}

/* Envoltura de Input para el Ícono */
.lyc-input-wrapper {
    position: relative;
    width: 100%;
}

.lyc-input-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--f-icon);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lyc-input-icon svg {
    width: 16px;
    height: 16px;
}

/* Campos de entrada */
.lyc-input-wrapper input,
.lyc-input-wrapper textarea,
.lyc-input-wrapper select {
    width: 100%;
    background-color: var(--f-bg);
    border: 2px solid var(--f-border);
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    outline: none !important;
    font-family: inherit;
    box-sizing: border-box;
}

/* Si el campo tiene ícono, le damos más padding izquierdo (espacio) */
.lyc-input-wrapper.has-icon input,
.lyc-input-wrapper.has-icon textarea,
.lyc-input-wrapper.has-icon select {
    padding-left: 42px;
}

/* Estado Focus (Al hacer clic para escribir) */
.lyc-input-wrapper input:focus,
.lyc-input-wrapper textarea:focus,
.lyc-input-wrapper select:focus {
    border-color: var(--f-focus);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.lyc-input-wrapper input:focus + .lyc-input-icon,
.lyc-input-wrapper textarea:focus + .lyc-input-icon {
    color: var(--f-focus); /* El ícono también toma el color principal al hacer focus */
}

/* Botón de Envío */
.lyc-form-submit-wrapper {
    margin-top: 30px;
    text-align: right;
}

.lyc-btn-submit {
    background-color: var(--btn-bg);
    color: var(--btn-text) !important;
    padding: 15px 35px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lyc-btn-submit:hover {
    background-color: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsivo para celulares: Todos los campos al 100% */
@media (max-width: 768px) {
    .lyc-form-group.width-50 {
        grid-column: span 2;
    }
    .lyc-form-submit-wrapper {
        text-align: center;
    }
    .lyc-btn-submit {
        width: 100%;
    }
}



/* ===================================================================
   MÓDULO: LISTA DE CONTACTO CON ICONOS (WPBAKERY)
   =================================================================== */

.lyc-contact-list-wrapper {
    margin-bottom: 30px;
}

.lyc-contact-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lyc-contact-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.lyc-contact-list-item:last-child {
    margin-bottom: 0;
}

/* El círculo del Icono */
.lyc-cli-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: #f7f7f7;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    color: var(--lyc-icon-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Animación Hover */
.lyc-contact-list-item:hover .lyc-cli-icon {
    background-color: var(--lyc-icon-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(236,30,40,0.25);
}

.lyc-cli-icon svg {
    width: 20px;
    height: auto;
}

/* El Texto */
.lyc-cli-content {
    flex-grow: 1;
    padding-top: 2px; /* Alineación óptica con el icono */
}

.lyc-cli-content h4 {
    margin: 0 0 5px 0 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111111 !important;
    text-transform: uppercase;
}

.lyc-cli-content p {
    margin: 0 !important;
    font-size: 15px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .lyc-cli-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        margin-right: 15px;
    }
    .lyc-cli-icon svg {
        width: 16px;
    }
    .lyc-cli-content h4 {
        font-size: 15px !important;
    }
    .lyc-cli-content p {
        font-size: 14px !important;
    }
}
/* El círculo del Icono */
.lyc-cli-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background-color: var(--cli-bg); /* Toma el color propio del admin */
    color: var(--cli-icon); /* Toma el color propio del admin */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

/* Animación Hover */
.lyc-contact-list-item:hover .lyc-cli-icon {
    background-color: var(--cli-h-bg); /* Hover de fondo individual */
    color: var(--cli-h-icon); /* Hover de ícono individual */
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12); /* Sombra elegante genérica para que luzca bien en cualquier color */
}

.lyc-cli-icon svg {
    width: 20px;
    height: auto;
}


/* ===================================================================
   MÓDULO: MAPA MINIMALISTA (WPBAKERY)
   =================================================================== */

.lyc-custom-map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

/* FILTROS MÁGICOS DE ESTILO */
.lyc-custom-map-wrapper.style-grayscale iframe { filter: grayscale(100%) contrast(1.1); }
.lyc-custom-map-wrapper.style-dark iframe { filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(85%); }
.lyc-custom-map-wrapper.style-color_tint iframe { filter: grayscale(100%) contrast(1.2); }

.lyc-map-tint {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.6;
    z-index: 2;
}

/* BOTÓN FLOTANTE MINIMALISTA */
.lyc-map-action-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: #ffffff;
    color: #111111 !important;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 50px; /* Diseño tipo pastilla moderna */
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.lyc-map-action-btn:hover {
    background: #EC1E28;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(236,30,40,0.3);
}

/* Posición a la derecha desde WPBakery */
.lyc-custom-map-wrapper.lyc-btn-right .lyc-map-action-btn {
    left: auto;
    right: 30px;
}

@media (max-width: 768px) {
    .lyc-map-action-btn {
        bottom: 20px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 85%;
        justify-content: center;
    }
    .lyc-map-action-btn:hover {
        transform: translate(-50%, -3px);
    }
}






/*FIN WPBAKERY SHORTCODE*/