/* ================= FONDO HEXÁGONOS PARA TODAS LAS PÁGINAS ================= */
.hexagon-background {
    position: fixed;
    top: 80px; /* Debajo del header */
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hex-left,
.hex-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 250px;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.hex-left {
    left: 0;
    background: linear-gradient(90deg, 
        rgba(37, 44, 135, 0.15) 0%, 
        transparent 100%);
}

.hex-right {
    right: 0;
    background: linear-gradient(270deg, 
        rgba(1, 113, 187, 0.15) 0%, 
        transparent 100%);
}

.hex-left img,
.hex-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ===== PARA LA HOME ===== */
/* Asegurar que el contenido esté por encima en home */
.index section#content > *:not(.hexagon-background):not(.hero) {
    position: relative;
    z-index: 2;
}

/* El hero debe estar por encima */
.index .hero {
    position: relative;
    z-index: 10;
}

/* ===== PARA OTRAS PÁGINAS (NO HOME) ===== */
/* Asegurar que el contenido esté por encima en otras páginas */
body:not(.index) #main,
body:not(.index) #content,
body:not(.index) .page-content,
body:not(.index) .card-block,
body:not(.index) .container {
    position: relative;
    z-index: 2;
}

/* Fondo blanco semi-transparente para mejor legibilidad en otras páginas */
body:not(.index) .page-content,
body:not(.index) .card-block,
body:not(.index) #main {
    background: rgba(255, 255, 255, 0.92);
}

/* ===== PARA PÁGINAS ESPECÍFICAS ===== */
/* Páginas de producto */
.product-page #main {
    background: rgba(255, 255, 255, 0.95);
}

/* Páginas de categoría */
.category-page #main {
    background: rgba(255, 255, 255, 0.93);
}

/* Páginas CMS */
.cms-page #main {
    background: rgba(255, 255, 255, 0.94);
}

/* ===== HEADER Y FOOTER SIEMPRE ARRIBA ===== */
#header,
#footer,
.header-nav,
.footer-container {
    position: relative;
    z-index: 20;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .hex-left,
    .hex-right {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .hexagon-background {
        display: none;
    }
    
    /* En móviles, quitar transparencias */
    body:not(.index) .page-content,
    body:not(.index) .card-block,
    body:not(.index) #main,
    .product-page #main,
    .category-page #main,
    .cms-page #main {
        background: #ffffff;
    }
}





/* ===== NAVBAR / HEADER ===== */
#header .header-nav {
    background: linear-gradient(135deg, #027CC2 0%, #0266A0 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header .header-nav a {
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.2s ease;
}

#header .header-nav a:hover {
    color: #EAF6FF;
    text-decoration: none;
}

/* TEXTO DE CONTACTO DEL NAVBAR */
.navbar-contact {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    font-size: 14px;
    text-align: center;
}

.navbar-contact .question {
    font-weight: 500;
    margin-bottom: 4px;
}

.navbar-contact .phones {
    display: flex;
    gap: 15px;
    font-weight: 500;
    color: #D1D5DB;
    font-size: 13px;
    justify-content: center;
    align-items: center;
}

.navbar-contact .phones .phone i {
    font-size: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* PERSONALIZACIÓN DE BARRA DE BÚSQUEDA */
#search_block_top {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

#search_block_top #searchbox {
    display: flex;
    width: 100%;
}

#search_block_top .search_query {
    flex: 1;
    padding: 10px 16px;
    border-radius: 25px 0 0 25px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    width: 600px;
}

#search_block_top .search_query:focus {
    border-color: #027CC2;
    box-shadow: 0 4px 12px rgba(2,124,194,0.3);
}

#search_block_top .button-search {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #027CC2;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

#search_block_top .button-search:hover {
    background: #263283;
    transform: translateY(-1px);
}

#search_block_top .button-search svg {
    fill: #FFFFFF;
    width: 20px;
    height: 20px;
}

#search_block_top .search_query::placeholder {
    color: #999;
    font-style: italic;
}

/* PERSONALIZACIÓN DE ELEMENTOS DEL MENÚ */
#top-menu .category a.dropdown-item {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    padding: 8px 10px;
}

#top-menu .category a.dropdown-item:hover {
    color: #444444;
    transform: translateY(-2px);
}

#top-menu .category#category-7 a.dropdown-item,
#top-menu .category#category-11 a.dropdown-item {
    color: #2CA5DE;
    font-weight: 600;
}

#top-menu .category#category-7 a.dropdown-item:hover,
#top-menu .category#category-11 a.dropdown-item:hover {
    color: #2B4090;
    transform: translateY(-2px);
}

#top-menu .category a.dropdown-item::after {
    content: '';
    display: block;
    height: 2px;
    background: currentColor;
    width: 0;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

#top-menu .category a.dropdown-item:hover::after {
    width: 100%;
}

/* ===== DISEÑO MINIMALISTA DEL CARRITO ===== */
#_desktop_cart .blockcart.cart-preview {
    border-radius: 8px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

#_desktop_cart .blockcart.cart-preview .header {
    display: flex;
    align-items: center;
    gap: 8px;
}

#_desktop_cart .blockcart.cart-preview .header i {
    font-size: 22px;
    transition: all 0.3s ease;
}

#_desktop_cart .blockcart.cart-preview .header .hidden-sm-down {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3px;
}

#_desktop_cart .blockcart.cart-preview .header .cart-products-count {
    font-weight: 600;
    font-size: 13px;
    padding: 0 4px;
}

/* ESTADO INACTIVO (VACÍO) */
#_desktop_cart .blockcart.cart-preview.inactive {
    border-color: #D1D5DB;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#_desktop_cart .blockcart.cart-preview.inactive .header i {
    color: #6B7280;
}

#_desktop_cart .blockcart.cart-preview.inactive .header .hidden-sm-down {
    color: #374151;
}

#_desktop_cart .blockcart.cart-preview.inactive .header .cart-products-count {
    color: #6B7280;
    font-weight: 400;
}

/* ESTADO ACTIVO (CON PRODUCTOS) */
#_desktop_cart .blockcart.cart-preview.active {
    border-color: #2C388B;
    background: linear-gradient(135deg, #2C388B 0%, #1E2A78 100%);
    box-shadow: 0 2px 6px rgba(44, 56, 139, 0.2);
}

#_desktop_cart .blockcart.cart-preview.active .header i {
    color: #FFFFFF;
    animation: cartFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

#_desktop_cart .blockcart.cart-preview.active .header .hidden-sm-down {
    color: #FFFFFF;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#_desktop_cart .blockcart.cart-preview.active .header .cart-products-count {
    color: #FFFFFF;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#_desktop_cart .blockcart.cart-preview.active:hover {
    border-color: #1A237E;
    background: linear-gradient(135deg, #1E2A78 0%, #151F6D 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 56, 139, 0.3);
}

/* ===== ANIMACIONES CARRITO ===== */
@keyframes cartFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes productAdded {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#_desktop_cart .blockcart.cart-preview.product-added {
    animation: productAdded 0.4s ease;
}



/* ===== FOOTER ===== */
.footer-container {
    background: linear-gradient(180deg, #027CC2 0%, #0D1B2A 100%);
    color: #FFFFFF;
    font-family: 'Segoe UI', 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 40px 20px 15px !important;
    position: relative;
    overflow: hidden;
    border-top: 5px solid transparent;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 300px;
}

/* IMÁGENES EN LOS LADOS DEL FOOTER */
.footer-side-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-side-image:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

.footer-left-image {
    left: 140px;
}

.footer-right-image {
    right: 140px;
}

.footer-decoration {
    max-height: 200px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-container > .container {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}

/* ELEMENTOS DECORATIVOS FOOTER */
.footer-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #B3B2B2 0%, #A3A2A2 100%);
    z-index: 3;
}

.footer-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(37, 150, 211, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(19, 116, 186, 0.1) 0%, transparent 50%);
    z-index: 0;
}

/* ESTRUCTURA FOOTER */
.footer-container .row {
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .footer-container > .container > .row:first-child {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin: 0 auto 15px !important;
        max-width: 800px;
        padding-bottom: 0 !important;
    }
    
    .footer-container > .container > .row:first-child > div.col-md-6.links {
        min-height: auto !important;
        margin-top: 0 !important;
        margin-right: 40px;
        padding-bottom: 10px !important;
        align-items: center; /* CENTRAR CONTENIDO */
        text-align: center; /* CENTRAR TEXTO */
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper {
        min-height: auto !important;
        margin-top: 0 !important;
        padding-bottom: 10px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper .myaccount-title {
        text-align: center !important;
        width: 100%;
        margin-bottom: 12px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper ul {
        text-align: center !important;
        padding-left: 0 !important;
        list-style-position: inside;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 8px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li {
        text-align: center !important;
        display: block;
        width: 100%;
        position: relative;
        padding-left: 15px;
        margin-bottom: 4px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li a,
    #block_myaccount_infos.col-md-3.links.wrapper .account-list li a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 2px 0 !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li::before {
        content: '›';
        position: absolute;
        left: 0;
        color: #2596D3;
        font-weight: bold;
        font-size: 16px;
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li:hover::before {
        opacity: 1;
        left: 3px;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li:hover {
        padding-left: 15px;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li a::after,
    #block_myaccount_infos.col-md-3.links.wrapper .account-list li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 1px;
        background: linear-gradient(90deg, #2596D3 0%, #1374BA 100%);
        transition: width 0.3s ease;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li a:hover::after,
    #block_myaccount_infos.col-md-3.links.wrapper .account-list li a:hover::after {
        width: 50%;
    }
}

/* COPYRIGHT Y SEPARADORES */
.footer-container > .container > .row:last-child {
    padding-top: 15px !important;
    margin-top: 0 !important;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container .text-sm-center {
    color: #FFFFFF !important;
    font-size: 12px;
    line-height: 1.4;
    padding-top: 10px !important;
    margin-top: 0 !important;
}

.footer-container .text-sm-center a {
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 0 3px !important;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-container .text-sm-center a:hover {
    color: #2596D3 !important;
    transform: scale(1.01);
    text-shadow: 0 0 4px rgba(37, 150, 211, 0.2);
}

/* TÍTULOS FOOTER */
.footer-container .col-md-6 .wrapper p.h3.hidden-sm-down,
.footer-container .myaccount-title {
    color: #000000 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 12px !important;
}

.footer-container .myaccount-title a {
    color: #000000 !important;
}

/* ESTILOS ENLACES FOOTER */
.footer-container ul {
    margin-bottom: 8px !important;
}

.footer-container ul li {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.3s ease;
    margin-bottom: 4px !important;
}

.footer-container ul li::before {
    content: '›';
    position: absolute;
    left: -15px;
    color: #2596D3;
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-container ul li:hover::before {
    opacity: 1;
    left: -12px;
}

.footer-container ul li:hover {
    padding-left: 5px;
}

.footer-container ul li a,
.footer-container .cms-page-link {
    position: relative;
    text-decoration: none;
    padding: 2px 0 !important;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-container ul li a::after,
.footer-container .cms-page-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #2596D3 0%, #1374BA 100%);
    transition: width 0.3s ease;
}

.footer-container ul li a:hover::after,
.footer-container .cms-page-link:hover::after {
    width: 100%;
}

/* COLORES FOOTER */
.footer-container,
.footer-container ul,
.footer-container li,
.footer-container a,
.footer-container div,
.footer-container p,
#block_myaccount_infos,
#contact-infos {
    color: #FFFFFF !important;
}

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

/* IMÁGENES FOOTER RESPONSIVE */
@media (max-width: 1200px) {
    .footer-decoration {
        max-height: 120px;
    }
    
    .footer-left-image {
        left: 30px;
    }
    
    .footer-right-image {
        right: 30px;
    }
}

@media (max-width: 992px) {
    .footer-decoration {
        max-height: 100px;
    }
    
    .footer-side-image {
        top: 40%;
    }
}

/* MÓVILES - TODAS LAS SECCIONES */
@media (max-width: 768px) {
    /* Ocultar contacto navbar */
    .navbar-contact {
        display: none;
    }
    
    /* Busqueda móvil */
    #search_block_top {
        max-width: 100%;
        padding: 0 10px;
    }
    
    #search_block_top .search_query {
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
    }
    
    #search_block_top .button-search {
        padding: 0 12px;
    }
    
    /* Carrito móvil */
    #_desktop_cart .blockcart.cart-preview {
        padding: 6px 12px;
        border-radius: 6px;
    }
    
    #_desktop_cart .blockcart.cart-preview .header i {
        font-size: 20px;
    }
    
    #_desktop_cart .blockcart.cart-preview .header .hidden-sm-down {
        font-size: 13px;
    }
    
    #_desktop_cart .blockcart.cart-preview .header .cart-products-count {
        font-size: 12px;
        padding: 1px 6px;
        min-width: 20px;
        border-radius: 10px;
    }
    
    /* Carrito muy pequeño */
    @media (max-width: 576px) {
        #_desktop_cart .blockcart.cart-preview .hidden-sm-down {
            display: none !important;
        }
        
        #_desktop_cart .blockcart.cart-preview {
            padding: 6px 10px;
        }
        
        #_desktop_cart .blockcart.cart-preview .header {
            gap: 4px;
        }
    }
    
    /* Carrito móvil específico */
    #_mobile_cart .blockcart.cart-preview {
        border-radius: 6px;
        padding: 6px 10px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }
    
    #_mobile_cart .blockcart.cart-preview.inactive {
        border-color: #D1D5DB;
        background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    }
    
    #_mobile_cart .blockcart.cart-preview.active {
        border-color: #2C388B;
        background: linear-gradient(135deg, #2C388B 0%, #1E2A78 100%);
    }
    
    #_mobile_cart .blockcart.cart-preview .header i {
        color: inherit;
    }
    
	
	
	
	/* ===== FOOTER RESPONSIVE MÓVIL - VERSIÓN LIMPIA ===== */
@media (max-width: 768px) {
    .footer-container {
        padding: 30px 15px 12px !important;
        font-size: 13px;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        background: linear-gradient(180deg, #027CC2 0%, #0D1B2A 100%) !important;
    }
    
    /* RESETEAR COMPLETAMENTE TODOS LOS FONDOS */
    .footer-container * {
        background: transparent !important;
        background-color: transparent !important;
        background-image: none !important;
    }
    
    /* Solo el contenedor principal mantiene su fondo */
    .footer-container {
        background: linear-gradient(180deg, #027CC2 0%, #0D1B2A 100%) !important;
    }
    
    /* Forzar colores correctos */
    .footer-container,
    .footer-container * {
        color: #FFFFFF !important;
    }
    
    /* TÍTULOS EN NEGRO (como en escritorio) */
    .footer-container .col-md-6 .wrapper p.h3.hidden-sm-down,
    .footer-container .myaccount-title,
    .footer-container .h3,
    .footer-container .title,
    .footer-container h3,
    .footer-container .block h3,
    .footer-container .block .title,
    .footer-container .block .h3 {
        color: #000000 !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        font-size: 15px;
        margin-bottom: 12px !important;
        background: transparent !important;
    }
    
    .footer-container .myaccount-title a {
        color: #000000 !important;
    }
    
    /* ENLACES EN BLANCO */
    .footer-container a,
    .footer-container li a,
    .footer-container .cms-page-link,
    #block_myaccount_infos a,
    #contact-infos a,
    .footer-container ul li a,
    .footer-container .links a {
        color: #FFFFFF !important;
    }
    
    /* Hover estados */
    .footer-container a:hover,
    .footer-container li a:hover {
        color: #2596D3 !important;
    }
    
    /* CONTENEDOR PRINCIPAL - CORREGIDO */
    .footer-container > .container > .row:first-child {
        justify-content: flex-start !important;
        max-width: 100% !important;
        margin-bottom: 0 !important;
        background: transparent !important;
    }
    
    /* REMOVER TODAS LAS BORDERS POR DEFECTO */
    .footer-container > .container > .row:first-child > div,
    #block_myaccount_infos.col-md-3.links.wrapper,
    .footer-container > .container > .row:first-child > div.col-md-6.links,
    .footer-container .row:first-child .links,
    .footer-container .row:first-child .wrapper,
    .footer-container .row:first-child .block {
        border: none !important;
        border-bottom: none !important;
        background: transparent !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }
    
    /* AHORA APLICAR BORDERS SOLO A LOS ELEMENTOS VISIBLES CON CONTENIDO */
    /* Contenedor de los módulos principales */
    .footer-container > .container > .row:first-child {
        display: flex;
        flex-direction: column;
    }
    
    /* Buscar dinámicamente los módulos que tienen contenido */
    .footer-container > .container > .row:first-child > div[class*="col-"]:not(:empty),
    .footer-container > .container > .row:first-child > .block:not(:empty),
    .footer-container > .container > .row:first-child > .wrapper:not(:empty) {
        padding: 20px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    }
    
    /* O MEJOR - APLICAR DIRECTAMENTE A LAS CLASES CONOCIDAS */
    .footer-container > .container > .row:first-child > div.col-md-6.links,
    .footer-container > .container > .row:first-child > #block_myaccount_infos {
        padding: 20px 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    }
    
    /* ELIMINAR LA LÍNEA DEL ÚLTIMO ELEMENTO VISIBLE */
    .footer-container > .container > .row:first-child > div.col-md-6.links:last-of-type,
    .footer-container > .container > .row:first-child > #block_myaccount_infos:last-of-type,
    .footer-container > .container > .row:first-child > div[class*="col-"]:last-of-type {
        border-bottom: none !important;
    }
    
    /* También asegurar que no haya líneas después del último bloque visible */
    .footer-container > .container > .row:first-child > *:last-child {
        border-bottom: none !important;
    }
    
    /* Espaciado entre secciones */
    .footer-container > .container > .row:first-child > div.col-md-6.links {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    
    /* Ajustes específicos para el bloque de mi cuenta */
    #block_myaccount_infos.col-md-3.links.wrapper {
        align-items: flex-start !important;
        text-align: left !important;
        padding: 20px 15px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper .myaccount-title {
        text-align: left !important;
        margin-bottom: 12px !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper ul {
        text-align: left !important;
        padding-left: 0 !important;
        align-items: flex-start !important;
        margin-bottom: 0 !important;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li {
        text-align: left !important;
        margin-bottom: 8px !important;
        list-style: none;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li a,
    #block_myaccount_infos.col-md-3.links.wrapper .account-list li a {
        text-align: left !important;
        padding: 4px 0 !important;
        font-size: 13px;
    }
    
    /* Flechas en móviles */
    #block_myaccount_infos.col-md-3.links.wrapper li::before {
        content: '›';
        position: absolute;
        left: -12px;
        color: #2596D3;
        font-weight: bold;
        font-size: 16px;
        opacity: 0.7;
    }
    
    #block_myaccount_infos.col-md-3.links.wrapper li:hover::before {
        opacity: 1;
        left: -10px;
    }
    
    /* IMÁGENES LATERALES EN MÓVIL */
    .footer-side-image {
        position: relative;
        top: auto;
        transform: none;
        margin: 20px 0 10px 0;
        opacity: 0.8;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    
    .footer-left-image,
    .footer-right-image {
        left: auto;
        right: auto;
        position: relative;
    }
    
    .footer-decoration {
        max-height: 60px;
    }
    
    .footer-right-image {
        display: none;
    }
    
    /* LÍNEA SUPERIOR DEL FOOTER */
    .footer-container::after {
        height: 3px;
    }
    
    .footer-container::before {
        top: 3px;
    }
    
    /* VERIFICAR QUE NO HAYAN MÁS ELEMENTOS CON LÍNEAS */
    /* Reset de todas las posibles líneas adicionales */
    .footer-container .row:last-of-type,
    .footer-container .col-md-12,
    .footer-container .text-sm-center {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
    }
    
    /* COPYRIGHT CON LÍNEA SEPARADORA - SOLO UNA LÍNEA */
    .footer-container > .container > .row:last-child {
        padding-top: 20px !important;
        margin-top: 10px !important;
        text-align: center;
        border-top: 2px solid rgba(0, 0, 0, 0.3) !important; /* SOLO ESTA LÍNEA */
    }
    
    /* Asegurar que el párrafo dentro no tenga líneas */
    .footer-container > .container > .row:last-child .col-md-12,
    .footer-container > .container > .row:last-child p {
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .footer-container .text-sm-center {
        padding-top: 10px !important;
        font-size: 11px;
        color: #FFFFFF !important;
    }
    
    .footer-container .text-sm-center a {
        color: #FFFFFF !important;
        font-size: 11px;
    }
    
    .footer-container .text-sm-center a:hover {
        color: #2596D3 !important;
    }
}

/* MÓVILES MUY PEQUEÑOS */
@media (max-width: 480px) {
    .footer-decoration {
        max-height: 50px;
    }
    
    .footer-container {
        padding: 25px 10px 10px !important;
    }
    
    .footer-container > .container > .row:first-child > div.col-md-6.links,
    #block_myaccount_infos.col-md-3.links.wrapper {
        padding: 18px 10px !important;
    }
    
    .footer-container .text-sm-center {
        font-size: 10px;
    }
    
    /* Títulos más pequeños en móviles muy pequeños */
    .footer-container .col-md-6 .wrapper p.h3.hidden-sm-down,
    .footer-container .myaccount-title,
    .footer-container .h3,
    .footer-container .title {
        font-size: 14px;
    }
}

/* REGLA DE SEGURIDAD PARA ELIMINAR LÍNEAS EXTRA */
@media (max-width: 768px) {
    /* Eliminar cualquier borde adicional que pueda aparecer */
    .footer-container .row + .row,
    .footer-container .row:not(:first-child):not(:last-child),
    .footer-container .container > *:not(.row:first-child):not(.row:last-child) {
        border: none !important;
        border-top: none !important;
        border-bottom: none !important;
    }
    
    /* Solo permitir líneas en los lugares específicos */
    .footer-container .container > .row:first-child > div[class*="col-"] {
        border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Eliminar del último elemento */
    .footer-container .container > .row:first-child > div[class*="col-"]:last-child {
        border-bottom: none !important;
    }
    
    /* Y solo una línea antes del copyright */
    .footer-container .container > .row:last-child {
        border-top: 2px solid rgba(0, 0, 0, 0.3) !important;
        border-bottom: none !important;
    }
}