@import url("https://fonts.cdnfonts.com/css/nexa-bold");

body {
    /* Ajusta este valor según la altura real de tu buscador + menú (aprox. 170px) */
    /* padding-top: 170px; */
    font-size: 12px;
    font-family: "Nexa", sans-serif !important;
}

body.menu-open {
    overflow: hidden !important;
    height: 100vh !important;
}

/*
@media (max-width: 992px) {
  body {
    padding-top: 70px;
  }
}
*/

@media (max-width: 991.98px) {

    .nav-bar.navbar {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo actions"
            "search menu";
        column-gap: 14px;
        row-gap: 10px;
        padding: 14px 18px 12px !important;
        align-items: center;
    }

    /* Logo */
    .navbar-brand.d-block.d-lg-none {
        grid-area: logo;
        margin: 0 !important;
    }

    .navbar-logo {
        height: 42px !important;
        width: auto !important;
    }

    /* Contenedor acciones */
    .mobile-actions {
        display: contents !important;
    }

    /* Corazón */
    .mobile-actions > button:nth-of-type(1) {
        grid-area: actions;
        justify-self: end;
        margin: 0 !important;
        transform: translateX(-36px);
    }

    /* Carro */
    .mobile-actions > button:nth-of-type(2) {
        grid-area: actions;
        justify-self: end;
        margin: 0 !important;
    }

    /* Buscador */
    .mobile-search-form {
        grid-area: search;
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    .mobile-search-wrapper {
        display: flex;
        width: 100%;
        margin-left: 7px;
        
    }

    .mobile-search-input {
        flex: 1;
        min-width: 0;
        height: 36px;
        border: 1px solid #fff;
        border-right: 0;
        border-radius: 6px 0 0 6px;
        padding: 0 10px;
        font-size: 11px;
    }

    .mobile-search-btn {
        width: 40px;
        min-width: 40px;
        height: 36px;
        border: 1px solid #168cba;
        background: #168cba;
        color: #fff;
        border-radius: 0 6px 6px 0;
    }

    /* Menú hamburguesa */
    .mobile-actions .navbar-toggler {
        grid-area: menu;
        justify-self: end;
        align-self: center;
        margin-right: 14px !important;
        margin-left: 10px !important;
        padding: 4px 8px !important;
        border: 0;
    }

    /* Separación respecto al banner */
    .nav-bar {
        padding-bottom: 8px !important;
    }
}

.spacer-5 {
    height: 5px;
}

.spacer-10 {
    height: 10px;
}

.spacer-20 {
    height: 20px;
}

.spacer-30 {
    height: 30px;
}

.spacer-40 {
    height: 40px;
}

@media (max-width: 992px) {
    body {
        /* Elimina el padding en móviles (pantallas menores a 992px) */
        padding-top: 0 !important;
    }
}

/* Asegura que el menú desplegable de categorías no se oculte */
#allCat {
    z-index: 1050;
}

/* Evita que el contenedor fijo tape el contenido superior inicial */
.fixed-top {
    position: sticky;
    /* Cambiar a sticky si prefieres que aparezca al hacer scroll */
    top: 0;
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition:
        opacity 0.5s ease-out,
        visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: 0.5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
    font-family: "Nexa", sans-serif;
    font-weight: 400;
    transition: 0.5s;
}

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

.btn.btn-secondary {
    background: var(--bs-secondary) !important;
    color: var(--bs-white);
    font-family: "Nexa", sans-serif;
    font-weight: 400;
    border: 1px solid var(--bs-secondary);
    transition: 0.5s;
}

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

.btn.btn-azul {
    background: #0d5e96;
    color: #fff;
    font-family: "Nexa", sans-serif;
    font-weight: 400;
    border: 1px solid #fff;
    transition: 0.5s;
    height: 36px;
    width: 36px;
}

.btn.btn-azul:hover {
    background: #aa1f6b;
    color: #fff;
}

.btn-square-azul {
    background: #0d5e96;
    color: #fff;
    font-family: "Nexa", sans-serif;
    font-weight: 400;
    border: 1px solid #fff;
}

.btn-square-azul:hover {
    background: #aa1f6b;
    color: #fff;
}

/*** Topbar Start ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/*** Topbar End ***/

/*** Carousel Header Start ***/
.header-carousel.owl-carousel .owl-nav .owl-prev,
.header-carousel.owl-carousel .owl-nav .owl-next {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 87%;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
}

.header-carousel.owl-carousel .owl-nav .owl-prev {
    right: 130px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-next {
    right: 60px;
    transition: 0.5s;
}

.header-carousel.owl-carousel .owl-nav .owl-prev:hover,
.header-carousel.owl-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.carousel .carousel-header-banner {
    position: relative;
}

.carousel .carousel-banner-offer {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2;
}

.carousel .carousel-banner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/*** Carousel Header End ***/

/* Altura banner home */
.home-carousel {
    margin-top: -5px !important;
    position: relative;
    z-index: 1;
}

.nav-bar,
.navbar {
    position: relative !important;
    z-index: 10 !important;
}

.home-carousel .header-carousel-item {
    margin: 0 !important;
}

.home-carousel .header-carousel-item picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.home-carousel .header-carousel-item img {
    display: block;
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    object-position: top center !important;
}

/* Desktop */
@media (min-width: 992px) {
    .home-carousel .header-carousel-item img {
        display: block !important;
        width: 100% !important;
        margin: -9px 0 0 0 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
    }
}

/* ==========================================
   BANNERS HOME - TABLET
   576px a 991px
   ========================================== */

@media (min-width: 576px) and (max-width: 991px) {

    .home-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
        z-index: 1;
    }

    .home-carousel .header-carousel-item {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .home-carousel .header-carousel-item img {
        display: block !important;
        width: 100% !important;
        margin: -9px 0 0 0 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
    }

    .home-carousel .owl-stage,
    .home-carousel .owl-stage-outer,
    .home-carousel .owl-item {
        height: auto !important;
    }

    .home-carousel .owl-stage-outer {
        overflow: visible !important;
    }
}

/* ==========================================
   BANNERS HOME - MOBILE
   hasta 575px
   ========================================== */

@media (max-width: 575px) {

    .home-carousel {
        margin-top: 0 !important;
        padding-top: 0 !important;
        position: relative;
        z-index: 1;
    }

    .home-carousel .header-carousel-item {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .home-carousel .header-carousel-item img {
        display: block !important;
        width: 100% !important;
        margin: 0px 0 0 0 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: top center !important;
    }

    .home-carousel .owl-stage,
    .home-carousel .owl-stage-outer,
    .home-carousel .owl-item {
        height: auto !important;
    }

    .home-carousel .owl-stage-outer {
        overflow: visible !important;
    }
}

/*** Page Header start ***/
.page-header {
    position: relative;
    padding: 100px 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../img/carousel-1.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.page-header-somos {
    position: relative;
    padding: 0;
    margin: -9px 0 0 0 !important;
    background: url(../img/banner/INTERIOR-15.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header-blog {
    position: relative;
    padding: 100px 0;
    background: url(../img/banner/INTERIOR-16.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header-terminos {
    position: relative;
    padding: 100px 0;
    background: url(../img/banner/INTERIOR-14.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page-header-frecuentes {
    position: relative;
    padding: 100px 0;
    background: url(../img/banner/INTERIOR-13.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*** Page Header end ***/

/*** Products Start ***/
.product .product-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.product .product-item .product-item-inner {
    height: 100%;
}

.product .product-item .product-item-add {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    transition: 0.5s;
    z-index: 1;
}

.product .product-item:hover .product-item-add {
    background: var(--bs-white);
    margin-bottom: -124px;
    opacity: 1;
}

.product .product-item:hover .product-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.product .product-item .product-item-inner .product-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-new,
.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item .product-item-inner img {
    transition: 0.5s;
}

.product .product-item:hover .product-item-inner img {
    transform: scale(1.1);
}

.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.product
    .product-item
    .product-item-inner
    .product-item-inner-item
    .product-details
    a
    i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.product
    .product-item:hover
    .product-item-inner
    .product-item-inner-item
    .product-details
    a
    i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.product .product-item:hover .product-item-inner .product-details {
    opacity: 1;
}

.product .tab-class .nav .nav-item a.active {
    background: var(--bs-primary) !important;
}

.product .tab-class .nav .nav-item a.active span {
    color: var(--bs-white) !important;
}


/* ==========================================
   DETALLE PRODUCTO - DESCRIPCIÓN UNIFICADA
   ========================================== */

/* Contenedor principal de la descripción */
.texto-articulo,
.texto-mk {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background-color: transparent !important; /* Permite que el fondo de la web mande */
    font-family: "Nexa", sans-serif !important;
    font-size: 14px !important;
    line-height: 1.7 !important; /* Un poco más de aire mejora la lectura */
    color: #3c3c3c !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

/* Forzar tipografía, color y quitar fondos raros a TODO lo que esté adentro */
.texto-articulo *,
.texto-mk * {
    font-family: "Nexa", sans-serif !important;
    font-size: 14px !important;
    color: #3c3c3c !important;
    background: transparent !important; /* Crucial: elimina fondos blancos extraños que rompen el diseño */
}

/* Espaciado uniforme para párrafos, listas y saltos de línea */
.texto-articulo p,
.texto-articulo div,
.texto-articulo li,
.texto-mk p,
.texto-mk div,
.texto-mk li {
    margin-top: 0 !important;
    margin-bottom: 12px !important; /* Espaciado idéntico al de tu ejemplo correcto */
    line-height: 1.7 !important;
}

/* Reset de listas para que no pierdan los puntos/números */
.texto-articulo ul,
.texto-articulo ol,
.texto-mk ul,
.texto-mk ol {
    margin-bottom: 16px !important;
    padding-left: 20px !important;
}

/* Asegurar imágenes responsivas por si suben alguna dentro del texto */
.texto-articulo img,
.texto-mk img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 15px 0 !important;
}

/* Tablas estructurales uniformes por si vienen desde la BD */
.texto-articulo table,
.texto-mk table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 16px !important;
}

.texto-articulo td,
.texto-articulo th,
.texto-mk td,
.texto-mk th {
    color: #3c3c3c !important;
    padding: 8px !important;
    border: 1px solid #e0e0e0 !important;
    background: transparent !important;
}

/* ==========================================
   DETALLE PRODUCTO - CONTROL DE NEGRITAS
   ========================================== */

/* Asegura que las etiquetas de negrita tengan la misma tipografía Nexa */
.texto-articulo b,
.texto-articulo strong,
.texto-mk b,
.texto-mk strong {
    font-family: "Nexa", sans-serif !important;
    color: #3c3c3c !important;
    
    /* OPCIÓN A: Si quieres que sigan siendo negritas pero estilizadas, usa 700 */
    /* font-weight: 700 !important; */
    
    /* OPCIÓN B: Si quieres QUITAR la negrita por completo y que parezca texto normal, 
       descomenta la línea de abajo borrando las barras y comenta la de arriba */

    font-weight: normal !important;
}

/*** Product End ***/

/*** ProductList Categories Start ***/
.productList .productList-carousel {
    height: 215px !important;
}

.productList
    .productList-carousel
    .productImg-carousel.productList-item
    .productImg-item {
    position: relative;
    width: calc(100% - 1px);
    transition: 0.5s;
}

.productList
    .productList-carousel
    .productImg-carousel.productList-item
    .productImg-item {
    margin-bottom: 75px;
}

.productList
    .productList-carousel
    .productImg-carousel.productList-item
    .productImg-item:hover {
    border-bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.productList .productList-carousel .owl-nav .owl-prev,
.productList .productList-carousel .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.productList .productList-carousel .owl-nav .owl-prev:hover,
.productList .productList-carousel .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .owl-nav .owl-next {
    right: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev,
.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    position: absolute;
    top: 0px;
    padding: 5px 10px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
    opacity: 0;
}

.productList
    .productList-carousel
    .productImg-carousel
    .owl-nav
    .owl-prev:hover,
.productList
    .productList-carousel
    .productImg-carousel
    .owl-nav
    .owl-next:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-prev {
    left: 0;
}

.productList .productList-carousel .productImg-carousel .owl-nav .owl-next {
    right: 0;
}

.productList
    .productList-carousel
    .productImg-carousel.productList-item:hover
    .owl-nav
    .owl-prev,
.productList
    .productList-carousel
    .productImg-carousel.productList-item:hover
    .owl-nav
    .owl-next {
    opacity: 1;
}

/*** ProductList Categories End ***/

/*** bestseller Products Start ***/
.products .products-mini .products-mini-item {
    position: relative;
    border-radius: 10px;
    transition: 0.5s;
}

.products .products-mini .products-mini-item:hover {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.products .products-mini .products-mini-item .products-mini-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.products .products-mini .products-mini-item .products-mini-img img {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    transition: 0.5s;
}

.products-mini-img {
    height: 250px;
}

.products .products-mini .products-mini-item:hover .products-mini-img img {
    border-bottom-left-radius: 0 !important;
    transform: scale(1.3);
}

.products
    .products-mini
    .products-mini-item
    .products-mini-img
    .products-mini-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.5s;
}

.products
    .products-mini
    .products-mini-item:hover
    .products-mini-img
    .products-mini-icon {
    opacity: 1;
}

.products
    .products-mini
    .products-mini-item:hover
    .products-mini-img
    .products-mini-icon:hover {
    background: var(--bs-secondary) !important;
}

.products .products-mini .products-mini-item .products-mini-add {
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bs-white);
    transition: 0.5s;
    z-index: 9;
    opacity: 0;
}

.products .products-mini .products-mini-item:hover .products-mini-add {
    opacity: 1;
    margin-bottom: -75px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*** bestseller Products End ***/

/*** Pagination Start ***/

/*
.pagination {
    display: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
    background-color: var(--bs-primary);
}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
*/

/* Asegura que la lista del paginador sea horizontal */
.pagination {
    display: flex !important;
    /* Fuerza el uso de flexbox */
    list-style: none;
    /* Quita los puntos de la lista */
    padding: 0;
    margin: 0;
}

/* Estilo para los elementos de la lista */
.pagination li {
    display: inline-block;
}

/* Ajuste para los enlaces y spans (números) dentro del paginador */
.pagination a,
.pagination span {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    margin: 0 4px;
    border-radius: 5px;
    /* Opcional: para redondear bordes */
}

/* Estilo para la página activa */
.pagination .active span,
.pagination .active a {
    background-color: #383288 !important;
    color: #fff !important;
}

/* Estilo para los botones deshabilitados (como 'Anterior' en la pág 1) */
.pagination .disabled span {
    color: #383288;
    pointer-events: none;
    background-color: #f8f9fa;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
}

.page-item:not(:first-child) .page-link {
    margin-left: -1px;
}

.page-link {
    position: relative;
    display: block;
    color: #383288;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

/* Esto asegura que el número de página actual se resalte */
.pagination .page-item.active .page-link,
.pagination li.active span,
.pagination li.active a {
    background-color: var(--bs-primary) !important;
    color: #ffffff !important;
    border-color: var(--bs-secondary) !important;
    z-index: 3;
}

/* Estilo base para los números que no están activos */
.pagination .page-link,
.pagination li a,
.pagination li span {
    color: var(--bs-dark);
    padding: 10px 16px;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
    border-radius: 4px;
    text-decoration: none;
}

/* Quitar el formato de lista vertical */
.pagination {
    display: flex !important;
    list-style: none;
    padding: 0;
}

/*** Pagination End ***/

/*** Shop Page Start ***/

.shop .product-categories h4.title {
    padding: 24px 10px;
    border-bottom: 3px solid #a4a4a4;
    border-top: 1px solid #59368b;
    border-left: 1px solid #59368b;
    border-right: 1px solid #59368b;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 14px;
    margin-bottom: 0;
    /* Elimina espacios entre el título y la lista */
}

.shop .product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    border-left: 1px solid #59368b;
    border-right: 1px solid #59368b;
    border-bottom: 1px solid #eee;
    /* Línea sutil entre items */
}

/* Selector corregido para el último elemento de la lista */
.shop .product-categories ul li:last-child .categories-item {
    border-bottom: 1px solid #59368b;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.shop .product-categories .categories-item a {
    transition: 0.5s;
}

.shop .product-categories .categories-item a:hover {
    color: #aa1f6b !important;
    padding-left: 10px;
}

/* Estilo del Título (Parte Superior) */
.product-categories h4.title {
    padding: 15px 10px;
    border-bottom: 4px solid #a4a4a4;
    border-top: 1px solid #59368b;
    border-left: 1px solid #59368b;
    border-right: 1px solid #59368b;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    font-size: 14px;
    margin-bottom: 0;
    background-color: #f9f9f9;
    /* Opcional: un fondo ligero */
}

/* Estilo de los Items (Cuerpo) */
.product-categories .categories-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-left: 1px solid #59368b;
    border-right: 1px solid #59368b;
    border-bottom: 1px solid #eee;
    /* Línea divisoria interna */
}

/* Estilo del último elemento (Parte Inferior) */
.product-categories ul li:last-child .categories-item {
    border-bottom: 1px solid #59368b;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Ajuste para los Radio Buttons dentro del filtro */
.additional-product-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.additional-product-item input[type="radio"] {
    accent-color: #59368b;
    /* Color personalizado para el radio */
}

.shop .product-color .product-color-item {
    display: flex;
    padding: 10px 0;
}

.shop .product-color .product-color-item a {
    transition: 0.5s;
}

.shop .product-color .product-color-item a:hover {
    color: var(--bs-secondary);
}

.shop .price {
    padding: 10px 0;
}

.shop .additional-product .additional-product-item {
    padding: 10px 0;
}

.shop .featured-product .featured-product-item {
    display: flex;
    align-items: center;
    justify-content: start;
}

.shop .product-tags .product-tags-items a {
    display: inline-block !important;
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: 0.5;
}

.shop .product-tags .product-tags-items a:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

/*** Shop Page End ***/

/*** Single Products Start ***/

.single-product h4 {
    font-family: "Nexa", sans-serif;
    font-size: 24px;
    color: #aa1f6b;
    padding-top: 20px;
}

.single-product .owl-nav .owl-prev,
.single-product .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -13%;
    font-size: 22px;
    color: var(--bs-primary);
}

.single-product .owl-nav .owl-prev {
    left: 0;
}

.single-product .owl-nav .owl-next {
    right: 0 !important;
}

.single-product .single-carousel .single-item {
    width: 500px;
    height: 500px;
    border: 1px solid #aa1f6b;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.single-product .single-carousel .single-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.single-product .single-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    border: 2px solid #aa1f6b;
    transition: 0.5s;
}

.single-product .single-carousel .owl-dots .owl-dot.active img {
    width: 120px;
    height: 120px;
    border: 4px solid #aa1f6b;
}

.related-product .related-carousel .related-item {
    width: 100%;
    height: 100%;
    position: relative;
    margin-bottom: 0px;
    margin-top: 10px;
    transition: 0.5s;
}

.related-product h4 {
    font-size: 24px;
    color: #aa1f6b;
    font-weight: 700;
}

/*
.related-product .related-carousel .related-item .related-item-add {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: 0.5s;
  z-index: 99;
}
*/
/* Si decides dejar el formulario en su lugar original pero siempre visible: */
.related-product .related-carousel .related-item .related-item-add {
    position: relative !important;
    /* Cambiar de absolute a relative */
    opacity: 1 !important;
    /* Siempre visible */
    background: transparent;
    padding-top: 0;
}

.related-product .related-carousel .related-item:hover .related-item-add {
    background: var(--bs-white);
    margin-bottom: 0 !important;
    opacity: 1;
}

.related-product .related-carousel .related-item:hover .related-item-inner {
    border-bottom: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item {
    position: relative;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-new,
.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-sale {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 60px;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-new {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-sale {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product .related-carousel .related-item .related-item-inner img {
    transition: 0.5s;
}

.related-product .related-carousel .related-item:hover .related-item-inner img {
    transform: scale(1.1);
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-details {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.5s;
}

.related-product
    .related-carousel
    .related-item
    .related-item-inner
    .related-item-inner-item
    .related-details
    a
    i {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product
    .related-carousel
    .related-item:hover
    .related-item-inner
    .related-item-inner-item
    .related-details
    a
    i:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.related-product
    .related-carousel
    .related-item:hover
    .related-item-inner
    .related-details {
    opacity: 1;
}

.related-product .owl-nav .owl-prev,
.related-product .owl-nav .owl-next {
    position: absolute;
    top: -40px;
    padding: 5px 40px;
    border-radius: 30px;
    background: var(--bs-primary);
    color: var(--bs-white);
    transition: 0.5s;
}

.related-product .owl-nav .owl-prev {
    left: 0;
}

.related-product .owl-nav .owl-next {
    right: 0;
}

.related-product .owl-nav .owl-prev:hover,
.related-product .owl-nav .owl-next:hover {
    background: var(--bs-secondary) !important;
}

/*** Single Products End ***/

/* Fuerza al contenedor interno de Owl Carousel a alinearse a la izquierda */
.product-gallery-slider .owl-stage {
    display: flex !important;
    justify-content: flex-start !important;
}

/* Evita que las imágenes se estiren infinitamente si hay pocos elementos */
.product-gallery-slider .owl-item {
    max-width: 150px !important;
    max-height: 150px !important;
    /* Ajusta este valor al ancho que desees para tus miniaturas */
    width: 100% !important;
    height: 100% !important;
}

/*** Footer Start ***/
.footer {
    width: 100%;
    overflow: hidden;
    background: url("../img/footer.jpg") center / cover no-repeat;
    color: #fff;
    min-height: 45px;
    display: flex;
    align-items: center;
}

.footer .container,
.footer .container-fluid {
    max-width: 100%;
}

.footer .footer-item h6 {
    font-size: 18px;
    font-weight: 700;
}

.footer .footer-item p {
    font-size: 16px;
}

.footer .footer-item a {
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-secondary);
}

/* GRID BASE */
.grid-footer {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr 1.45fr;
    grid-template-areas:
        "correo telefonos ubicacion marca"
        "mercado newsletter newsletter marca";
    gap: 18px 16px;
    width: 100%;
    padding: 26px 0 18px;
    align-items: start;
}

.footer-correo { grid-area: correo; }
.footer-mercado { grid-area: mercado; }
.footer-telefonos { grid-area: telefonos; }
.footer-ubicacion { grid-area: ubicacion; }
.footer-marca { grid-area: marca; }
.footer-newsletter { grid-area: newsletter; }

.grid-footer .footer-item {
    min-width: 0;
}

.grid-footer h6 {
    font-size: clamp(13px, 1vw, 18px);
    line-height: 1.2;
}

.grid-footer p,
.grid-footer a,
.grid-footer span {
    font-size: clamp(12px, 0.9vw, 16px);
    line-height: 1.35;
    overflow-wrap: break-word;
}

/* MARCA */
.footer-marca .footer-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 22px;
}

.footer-certificaciones {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.footer-certificaciones img {
    height: 52px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

.footer-catalogo,
.footer-logo,
.footer-redes {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.footer-logo img {
    width: min(90%, 320px);
    height: auto;
}

.footer-redes {
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-left: 70px !important;
}

.footer-redes img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/* BOTÓN CATÁLOGO */
.footer .btn-catalogo,
.footer a.btn-catalogo,
.footer button.btn-catalogo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #db3164 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 30px !important;
    min-width: 150px !important;
    width: auto !important;
    height: 42px !important;
    padding: 0 20px !important;
    margin-left: 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
}

.footer .btn-catalogo:hover {
    background: #168cba !important;
    color: #ffffff !important;
    letter-spacing: normal !important;
}

/* NEWSLETTER */
.newsletter-box {
    position: relative;
    width: min(100%, 620px);
}

.newsletter-box .form-newsleter {
    width: 100%;
    height: 42px;
    border-radius: 999px;
    padding: 0 135px 0 18px;
    font-size: 12px;
}

.newsletter-box .btn-newsleter {
    position: absolute;
    top: 0;
    right: 0;
    height: 42px;
    border-radius: 0 999px 999px 0;
    padding: 0 16px;
    font-size: 11px;
}

/* DESKTOP */
@media (min-width: 992px) {
    .footer > .container {
        width: 100% !important;
        max-width: 1500px !important;
        padding-left: 55px !important;
        padding-right: 55px !important;
        margin: 0 auto !important;
    }

    .footer .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .grid-footer {
        grid-template-columns: 1.05fr 1.15fr 0.9fr 1.9fr !important;
        grid-template-areas:
            "correo ubicacion telefonos marca"
            "mercado newsletter newsletter marca" !important;
        gap: 18px 42px !important;
        padding: 34px 0 20px !important;
    }

    .footer-mercado {
        margin-top: 6px !important;
    }

    .footer-newsletter {
        width: 100% !important;
        max-width: 460px !important;
        margin-top: -98px !important;
    }

    .newsletter-box {
        width: 420px !important;
        max-width: 420px !important;
    }

    .footer-logo img {
        width: 300px !important;
        max-width: 300px !important;
    }

    .footer-redes {
        margin-left: 0 !important;
    }

    .footer-telefonos p {
        margin-bottom: 5px !important;
    }

    .footer-ubicacion p {
        font-size: 14px !important;
        line-height: 1.35 !important;
        margin-bottom: 3px !important;
    }

    .footer-ubicacion h6 {
        margin-bottom: 5px !important;
    }

    .footer-ubicacion h6.mt-3 {
        margin-top: 14px !important;
    }
}

/* Tablet / iPad: mismo orden que móvil */
@media (min-width: 576px) and (max-width: 991px) {

    .grid-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "correo telefonos"
            "mercado ubicacion"
            "newsletter newsletter"
            "marca marca" !important;
        max-width: 720px !important;
        margin: 0 auto !important;
        padding: 26px 0 28px !important;
        gap: 18px 44px !important;
        align-items: start !important;
    }

    .footer-correo { grid-area: correo !important; }
    .footer-telefonos { grid-area: telefonos !important; }
    .footer-mercado { grid-area: mercado !important; }
    .footer-ubicacion { grid-area: ubicacion !important; }
    .footer-newsletter { grid-area: newsletter !important; }
    .footer-marca { grid-area: marca !important; }

    .footer-correo p,
    .footer-mercado p {
        margin-bottom: 8px !important;
    }

    .footer-correo p.mb-0 {
        margin-bottom: 4px !important;
    }

    .footer-correo p.mb-3 {
        margin-bottom: 12px !important;
    }

    .footer-mercado {
        margin-top: 6px !important;
    }


    /* Tipografías */
    .grid-footer h6 {
        font-size: 15px !important;
        margin-bottom: 6px !important;
        line-height: 1.15 !important;
    }

    .grid-footer p,
    .grid-footer a,
    .grid-footer span {
        font-size: 12.5px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }

    /* Teléfonos */
    .footer-telefonos p:first-of-type {
        margin-bottom: 10px !important;
    }

    /* Ubicación */
    .footer-ubicacion {
        margin-top: -90px !important;
    }

    .footer-ubicacion h6.mt-3 {
        margin-top: 10px !important;
    }

    /* Newsletter */
    .footer-newsletter {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .newsletter-box {
        width: 100% !important;
        max-width: 620px !important;
        margin-left: 0 !important;
    }

    .newsletter-box .form-newsleter {
        height: 42px !important;
        font-size: 12px !important;
        padding-right: 135px !important;
    }

    .newsletter-box .btn-newsleter {
        height: 42px !important;
        font-size: 11px !important;
        padding: 0 16px !important;
    }

    /* Marca */
    .footer-marca .footer-item {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "catalogo logo"
            "certificaciones redes" !important;
        column-gap: 20px !important;
        row-gap: 10px !important;
        align-items: center !important;
        width: min(100%, 620px) !important;
        margin: 0 auto !important;
    }

    /* Catálogo */
    .footer-catalogo {
        grid-area: catalogo !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .footer-catalogo::after {
        content: none !important;
    }

    .grid-footer .btn-catalogo {
        min-width: 170px !important;
        width: 170px !important;
        height: 40px !important;
        font-size: 9px !important;
        padding: 0 12px !important;
        flex-shrink: 0 !important;
    }

    /* Logo */
    .footer-logo {
        grid-area: logo !important;
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    .footer-logo img {
        width: 190px !important;
        max-width: 190px !important;
        height: auto !important;
    }

    /* Certificaciones */
    .footer-certificaciones {
        grid-area: certificaciones !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(35px) !important;
    }

    .footer-certificaciones img {
        height: 34px !important;
        width: auto !important;
        object-fit: contain !important;
    }

    /* Redes */
    .footer-redes {
        grid-area: redes !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 100% !important;
        margin: 0 !important;
        gap: 8px !important;
        flex-wrap: nowrap !important;
    }

    .footer-redes h6 {
        font-size: 10px !important;
        margin: 0 4px 0 0 !important;
        white-space: nowrap;
    }

    .footer-redes img {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Móvil */
@media (max-width: 575px) {

    /* Contenedor general */
    .footer {
        display: block !important;
        padding: 0 18px !important;
        background-position: center !important;
    }

    .footer .container,
    .footer .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Grid mobile */
    .grid-footer {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "correo telefonos"
            "mercado ubicacion"
            "newsletter newsletter"
            "marca marca" !important;
        gap: 10px 18px !important;
        padding: 22px 0 34px !important;
        align-items: start !important;
    }

    .footer-correo { grid-area: correo !important; }
    .footer-telefonos { grid-area: telefonos !important; }
    .footer-mercado { grid-area: mercado !important; }
    .footer-ubicacion { grid-area: ubicacion !important; }
    .footer-newsletter { grid-area: newsletter !important; }
    .footer-marca { grid-area: marca !important; }

    /* Más separación entre correos */

    .footer-correo p,
    .footer-mercado p {
        margin-bottom: 8px !important;
    }

    .footer-correo p.mb-0 {
        margin-bottom: 4px !important;
    }

    .footer-correo p.mb-3 {
        margin-bottom: 12px !important;
    }

    .footer-mercado {
        margin-top: 6px !important;
    }

    /* Tipografías */
    .grid-footer h6 {
        font-size: 11px !important;
        margin-bottom: 5px !important;
        line-height: 1.15 !important;
    }
    
    .grid-footer p,
    .grid-footer a,
    .grid-footer span {
        font-size: 9.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
    }

    /* Teléfonos */
    .footer-telefonos p:first-of-type {
        margin-bottom: 10px !important;
    }

    /* Ubicación y horario más cerca de teléfonos */
    .footer-ubicacion {
        margin-top: -65px !important;
    }

    .footer-ubicacion h6.mt-3 {
        margin-top: 7px !important;
    }

    /* Newsletter */
    .footer-newsletter {
        margin-top: 2px !important;
    }

    .newsletter-box {
        width: 100% !important;
        max-width: 300px !important;
        margin-left: 0 !important;
    }

    .newsletter-box .form-newsleter {
        height: 36px !important;
        font-size: 10px !important;
        padding-right: 105px !important;
    }

    .newsletter-box .btn-newsleter {
        height: 36px !important;
        font-size: 9px !important;
        padding: 0 9px !important;
    }

    /* Marca: reordenamiento interno sin tocar HTML */
    .footer-marca .footer-item {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-areas:
            "catalogo logo"
            "certificaciones redes" !important;
        column-gap: 10px !important;
        row-gap: 5px !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 6px !important;
    }

    /* Catálogo a la izquierda del logo */
    .footer-catalogo {
        grid-area: catalogo !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .footer-catalogo::after {
        content: none !important;
    }

    .grid-footer .btn-catalogo {
        min-width: 120px !important;
        width: 120px !important;
        height: 34px !important;
        font-size: 7.5px !important;
        padding: 0 8px !important;
        margin-left: 0 !important;
    }

    /* Logo Plastimar a la derecha */
    .footer-logo {
        grid-area: logo !important;
        display: flex !important;
        justify-content: flex-end !important;
        width: 100% !important;
    }

    .footer-logo img {
        width: 118px !important;
        max-width: 118px !important;
        height: auto !important;
    }

    /* Certificaciones abajo a la izquierda */
    .footer-certificaciones {
        grid-area: certificaciones !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 7px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .footer-certificaciones img {
        height: 24px !important;
        width: auto !important;
        object-fit: contain !important;
        transform: translateX(55px);
    }

    /* Redes abajo a la derecha */
    .footer-redes {
        grid-area: redes !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 6px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .footer-redes h6 {
        font-size: 7.5px !important;
        line-height: 1 !important;
        margin: 0 3px 0 0 !important;
        white-space: nowrap !important;
    }

    .footer-redes img {
        width: 15px !important;
        height: 15px !important;
    }
}

/* ==========================================
   FOOTER SIEMPRE ABAJO - GLOBAL
   ========================================== */

.site-main {
    min-height: calc(100vh - 520px) !important;
}

@media (min-width: 768px) and (max-width: 991px) {
    .site-main {
        min-height: calc(100vh - 560px) !important;
    }
}

@media (max-width: 767px) {
    .site-main {
        min-height: calc(100vh - 475px) !important;
    }
}

/* ==========================================
   FIX BOTÓN CATÁLOGO FOOTER
   Aplica en desktop, tablet y móvil
   ========================================== */

.footer .btn-catalogo,
.footer a.btn-catalogo,
.footer button.btn-catalogo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #db3164 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 30px !important;

    min-width: 150px !important;
    width: auto !important;
    height: 42px !important;

    padding: 0 20px !important;
    margin-left: 0 !important;

    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    white-space: nowrap !important;
}

.footer .btn-catalogo:hover,
.footer a.btn-catalogo:hover,
.footer button.btn-catalogo:hover {
    background: #168cba !important;
    color: #ffffff !important;
    text-decoration: none !important;
    letter-spacing: normal !important;
    opacity: 1 !important;
}


/* COPYRIGHT */
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #db3164;
}

@media (max-width: 575px) {
    .copyright {
        font-size: 9px !important;
        padding: 6px 10px !important;
    }
}
/*** Footer End ***/


/* ==========================================
   COLORES BASE HEADER / NAVBAR
   Recupera fondo superior y navbar morado
   ========================================== */

.top-1 {
    background: url("../img/top.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 45px;
    display: flex;
    align-items: center;
    font-family: "Nexa", sans-serif;
}

.top-1 a {
    color: #fff;
}

.bg-azul {
    background: #0d5e96;
}

.border-azul {
    border-color: #0d5e96;
}

.bg-morado {
    background: #59368b;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.boder-morado {
    border-color: #59368b;
}

@media (max-width: 991.98px) {
    .nav-bar.navbar::before {
        left: 0;
        right: 0;
        width: 100vw;
        margin-left: calc(50% - 50vw);
    }
}

/* ==============================
   NAVBAR / MEGA MENÚ 
   ============================== */

.nav-bar .navbar-nav {
    width: 100%;
    justify-content: flex-start !important;
}

.nav-bar .navbar.navbar-light {
    padding: 0 !important;
}

@media (min-width: 992px) {
    .nav-bar .dropdown-mega {
        position: static !important;
    }

    .nav-bar .nav-item > a,
    .nav-bar .dropdown-mega > a.nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 74px;
        padding: 0 14px;
        color: #fff !important;
        text-decoration: none;
        border-radius: 20px 20px 0 0;
        transition: all 0.25s ease;
        text-align: center;
    }

    .nav-bar .dropdown-mega:hover > a.nav-item,
    .nav-bar .nav-item:hover > a.nav-item {
        background: #fff !important;
        color: #aa1f6b !important;
    }

    .nav-bar .dropdown-mega:hover > a.nav-item i,
    .nav-bar .nav-item:hover > a.nav-item i {
        color: #aa1f6b !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: translateY(8px);
        top: 97.4% !important;

        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        margin-left: -50vw !important;

        border: 0;
        border-radius: 0;
        padding: 26px 40px !important;
        background: #fff;
        transition: all 0.25s ease;
        z-index: 9999;
    }

    .nav-bar .dropdown-mega:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-bar .dropdown-mega .dropdown-menu .container-fluid {
        padding-left: 120px !important;
        padding-right: 40px !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu .row {
        align-items: flex-start;
        row-gap: 24px;
    }

    .nav-bar .dropdown-mega .dropdown-menu .col-md-3 {
        padding-left: 24px;
        padding-right: 24px;
        min-width: 0;
    }

    .nav-bar .dropdown-mega .dropdown-menu h6 {
        color: #aa1f6b !important;
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 8px;
        white-space: normal;
    }

    .nav-bar .dropdown-mega .dropdown-menu .dropdown-item {
        color: #878787 !important;
        font-size: 16px;
        line-height: 1.35;
        padding: 6px 0 !important;
        white-space: normal;
        word-break: normal;
        background: transparent !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu .dropdown-item:hover {
        color: #aa1f6b !important;
        padding-left: 8px !important;
        background: transparent !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu img {
        max-width: 100%;
        height: 270px !important;
        object-fit: contain;
    }
}

@media (max-width: 992px) {
    .nav-bar .navbar .navbar-nav .nav-link {
        padding: 8px 0;
    }
}

.navbar .navbar-toggler {
    padding: 5px 15px;
    color: #fff;
}

/*** Navbar End ***/
/* ==========================================
   RESPONSIVE HEADER / NAVBAR / MEGA MENÚ
   Adaptable a distintas resoluciones desktop
   ========================================== */

@media (min-width: 992px) {
    .top-1 {
        min-height: clamp(32px, 3vw, 45px);
        font-size: clamp(10px, 0.75vw, 13px);
    }

    .top-1 a {
        font-size: clamp(10px, 0.75vw, 13px);
    }

    .navbar-brand img,
    img[alt="Logo"] {
        max-height: clamp(45px, 5vw, 75px);
        width: auto;
    }

    .search-wrapper {
        max-width: clamp(320px, 30vw, 430px);
    }

    .bus,
    .btn-search {
        height: clamp(38px, 3.2vw, 45px);
        font-size: clamp(10px, 0.85vw, 12px);
    }

    .btn-search {
        width: clamp(40px, 3.2vw, 45px);
        min-width: clamp(40px, 3.2vw, 45px);
    }

    .nav-bar .nav-item > a,
    .nav-bar .dropdown-mega > a.nav-item {
        min-height: clamp(48px, 4.7vw, 74px) !important;
        padding-left: clamp(6px, 0.8vw, 14px) !important;
        padding-right: clamp(6px, 0.8vw, 14px) !important;
        font-size: clamp(10px, 0.8vw, 13px) !important;
        line-height: 1.15 !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu {
        padding: clamp(16px, 2vw, 28px) clamp(20px, 3vw, 40px) !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu .container-fluid {
        padding-left: clamp(40px, 7vw, 120px) !important;
        padding-right: clamp(20px, 3vw, 40px) !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu .col-md-3 {
        padding-left: clamp(12px, 1.5vw, 24px) !important;
        padding-right: clamp(12px, 1.5vw, 24px) !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu h6 {
        font-size: clamp(11px, 0.9vw, 15px) !important;
        line-height: 1.15 !important;
        margin-bottom: 6px !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu .dropdown-item {
        font-size: clamp(11px, 0.9vw, 15px) !important;
        line-height: 1.2 !important;
        padding: 4px 0 !important;
    }

    .nav-bar .dropdown-mega .dropdown-menu img {
        height: clamp(180px, 18vw, 270px) !important;
        max-width: 100%;
        object-fit: contain;
    }
}

.navbar::before {
    content: "";
    right: auto !important;
    width: 100vw !important;
    height: 11px;
    background: url(../img/nav-pattern2.png) center;
    position: absolute;
    bottom: -5px;
    background-repeat: repeat-x;
    z-index: 9;
    transform: rotate(180deg);
    animation: animatedBackground 150s linear infinite;
    -ms-animation: animatedBackground 150s linear infinite;
    -moz-animation: animatedBackground 150s linear infinite;
    -webkit-animation: animatedBackground 150s linear infinite;
}

@keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

@-webkit-keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

@-o-keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

@-moz-keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

.pull-center {
    text-align: center;
}

.pull-start {
    text-align: start;
}

.pull-end {
    text-align: end;
}

/* ---------------------------------- */
/* cuadricula */
.grid-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 130px;
    gap: 5px;
    padding: 20px;
}

.grid-item {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
    gap: 5px;
    padding: 20px;
}


.grid-item1 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 100px;
    gap: 5px;
    padding: 20px;
}

/* Estilos generales */
.grid-item1 {
    display: flex;
    align-items: center;
    justify-content: left;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    /*border-radius: 10px;*/
}

.grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

/* Bloques con distintos tamaños */
.titulo {
    grid-column: span 1;
    grid-row: span 3;
    background: #e91e63;
    font-size: 2.3rem;
}

.titulo_cat {
    grid-column: span 1;
    grid-row: span 3;
    font-size: 2.3rem;
    color: #aa1f6b;
}

.vestivuladores {
    grid-column: span 2;
    grid-row: span 3;
    background: url("../img/madera.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.vestivuladores .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    /* permite varias líneas */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    background: rgba(22, 140, 186, 0.9);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
    /* oculta la segunda línea al inicio */
}

.vestivuladores .texto .linea2 {
    opacity: 0;
    /* oculta la segunda línea */
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.vestivuladores:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 3rem;
}

.vestivuladores:hover .texto .linea2 {
    margin-top: 20px;
    opacity: 1;
    /* aparece la segunda línea */
}

/* ========================== */
.patio {
    grid-column: span 2;
    grid-row: span 3;
    background: url("../img/patio.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.patio .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    /* permite varias líneas */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(223, 76, 39, 0.6);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
    /* oculta la segunda línea al inicio */
}

.patio .texto .linea2 {
    opacity: 0;
    /* oculta la segunda línea */
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.patio:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 2rem;
}

.patio:hover .texto .linea2 {
    margin-top: 20px;
    opacity: 1;
}

/* ============================== */
.maderas {
    grid-column: span 2;
    grid-row: span 3;
    background: url("../img/madera.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.maderas .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    /* permite varias líneas */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(56, 50, 136, 0.5);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
    /* oculta la segunda línea al inicio */
}

.maderas .texto .linea2 {
    opacity: 0;
    /* oculta la segunda línea */
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.maderas:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 2rem;
}

.maderas:hover .texto .linea2 {
    margin-top: 20px;
    opacity: 1;
}

/* ================================= */
.ssensorial {
    grid-column: span 4;
    grid-row: span 4;
    background: url("../img/salas.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.ssensorial .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(170, 31, 107, 0.5);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
    /* oculta la segunda línea al inicio */
}

.ssensorial .texto .linea2 {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 24px;
}

.ssensorial .texto .linea1 {
    transform: translateY(16px);
}

.ssensorial:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 2rem;
}

.ssensorial:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}


@media (max-width: 991px) {
    .ssensorial .texto {
        height: 86px;
        bottom: 0;
        padding: 10px;
    }

    .ssensorial .texto .linea1 {
        font-size: 15px;
    }

    .ssensorial .texto .linea2 {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        font-size: 15px;
        margin-top: 10px;
    }
}

/* =========================== */
.gimnasios {
    grid-column: span 2;
    grid-row: span 2;
    background: #aa1f6b;
}

.gimnasios {
    grid-column: span 2;
    grid-row: span 2;
    background: url("../img/gimnasio.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.gimnasios .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(89, 54, 139, 0.8);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
}

.gimnasios .texto .linea2 {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.gimnasios:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 2rem;
}

.gimnasios:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}

/* =============================== */

/* =========================== */
.didacticos {
    background: #da3027;
    grid-row: span 2;
    background: url("../img/didacticos.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.didacticos .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(218, 48, 39, 0.7);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
}

.didacticos .texto .linea2 {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.didacticos:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 1, 5rem;
}

.didacticos:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}

/* =============================== */

/* =========================== */
.alfombras {
    grid-row: span 2;
    background: #209fc7;
}

.alfombras {
    grid-row: span 2;
    background: url("../img/olchonetas.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.alfombras .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(32, 159, 199, 0.7);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
}

.alfombras .texto .linea2 {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.alfombras:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 1, 5rem;
}

.alfombras:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}

/* =========================== */
.ofertas {
    grid-column: span 2;
    grid-row: span 3;
    background: #f09c00;
}

.ofertas {
    background: url("../img/novedades_ofertas.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.ofertas .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(240, 156, 0, 0.7);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
}

.ofertas .texto .linea2 {
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.ofertas:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 2rem;
}

.ofertas:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}

/* =============================== */
.sensoriales {
    grid-column: span 2;
    grid-row: span 2;
    background: #009688;
}

.piscinas {
    grid-column: span 3;
    grid-row: span 4;
    background: url("../images/banner/piscina.jpg") no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.piscinas .texto {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: column;
    /* permite varias líneas */
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    background: rgba(170, 31, 107, 0.5);
    padding: 10px;
    transition: all 0.4s ease;
    transform-origin: bottom;
    overflow: hidden;
    /* oculta la segunda línea al inicio */
}

.piscinas .texto .linea2 {
    opacity: 0;
    /* oculta la segunda línea */
    transition: opacity 0.4s ease;
    font-size: 1rem;
}

.piscinas:hover .texto {
    height: 100%;
    bottom: 0;
    font-size: 3rem;
}

.piscinas:hover .texto .linea2 {
    opacity: 1;
    margin-top: 20px;
}

.n-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #e8e8e8;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 42px;
    line-height: 40px;
    outline: none;
    padding-left: 18px;
    padding-right: 30px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    width: auto;
}

.search-wrapper {
    display: flex;
    width: 100%;
    max-width: 420px;
}

.bus {
    flex: 1;
    min-width: 0;
    height: 45px;
    border: 1px solid #878787;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    padding: 0 12px;
    font-size: 12px;
    font-family: "Nexa", sans-serif;
}

.bus:focus {
    border-color: #aa1f6b;
    outline: 0;
}

.bus:focus + .btn-search {
    border-color: #aa1f6b;
}

.btn-search {
    width: 45px;
    min-width: 45px;
    height: 45px;
    background: #168cba;
    color: #fff;
    border: 1px solid #168cba;
    border-radius: 0 10px 10px 0;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-search:hover {
    background: #aa1f6b;
    border-color: #aa1f6b;
    color: #fff;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1;
    color: #919191;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #878787;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    font-size: 12px;
}

.form-control:focus {
    color: #878787;
    background-color: #fff;
    border-color: rgb(248.5, 197, 127.5);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(242, 139, 0, 0.25);
}

/* ==========================================================================
   Homologación de formatos para Select e Input
   ========================================================================== */
select.form-control {
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    background: #fff;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control,
input.form-control {
    font-family: "Nexa", sans-serif;
    font-size: 11px;
    height: auto;
}

.border-azul {
    border: 1px solid #168cba;
    color: #168cba;
}

.border-azul:hover {
    background: #aa1f6b;
    border: 1px solid #fff;
    color: #fff;
}

.text-azul {
    color: #168cba;
    font-weight: 700;
}

.text-rosado {
    color: #aa1f6b;
}

.text-rosado-w {
    color: #aa1f6b;
    font-weight: 700;
}

.form-newsleter {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1;
    color: #919191;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #878787;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
    font-size: 12px;
    height: 45px;
}

.btn-newsleter {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    height: 45px;
    font-size: 12px;
    background: #db3164;
    color: #fff;
}

.btn-newsleter:hover {
    color: #fff;
    background: #168cba;
}

.btn-catalogo {
    border-radius: 30px;
    height: 45px;
    font-size: 12px;
    background: #db3164;
    color: #fff;
    width: 40%;
}

.btn-catalogo:hover {
    color: #fff;
    background: #168cba;
}

/* ================== */

.instagram {
    grid-column: span 2;
    grid-row: span 3;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border: 1px solid #59368b;
}

/* ================== */

/* =============================== */
/* Configuración base del contenedor */
.single-banner {
    position: relative;
    display: block;
    overflow: hidden;
    /* Corta el brillo para que no se salga del cuadro */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto elástico */
    text-decoration: none;
    border-radius: 8px;
    /* Opcional: para bordes suaves */
}

/* Efecto de Elevación/Rebote al pasar el mouse */
.single-banner:hover {
    transform: translateY(-12px);
    /* Altura del salto */
}

/* Capa de Brillo (Shimmer) */
.single-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    /* Empieza fuera de la vista a la izquierda */
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s ease;
    z-index: 1;
}

/* Activación del brillo al hacer hover */
.single-banner:hover::before {
    left: 150%;
    /* Cruza toda la imagen hacia la derecha */
}

/* Ajuste de la imagen y sombra */
.single-banner img {
    display: block;

    height: auto;
    transition:
        filter 0.3s ease,
        box-shadow 0.3s ease;
}

.single-banner:hover img {
    filter: brightness(1.05);
    /* Un toque de luz extra a la imagen */
}

/* Categorías por edad - solo móvil y tablet */
@media (max-width: 991px) {

    .edad-row {
        row-gap: 14px !important;
    }

    .edad-row > div {
        display: flex !important;
        justify-content: center !important;
    }

    .edad-row .single-banner {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .edad-row .single-banner img {
        width: clamp(80px, 12vw, 110px) !important;
        height: auto !important;
        margin: 0 auto !important;
    }
}

/* ========================
   PANEL CARRITO / FAVORITOS
   ======================== */

.panel-carro {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background-color: rgba(241, 241, 241, 0.96);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.25);
    transition: right 0.3s ease;
    padding: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.panel-carro.active {
    right: 0;
}

.panel-carro h2 {
    font-size: 16px;
    color: #333;
    padding-right: 40px;
    margin-bottom: 18px !important;
}

.cerrar-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #333 !important;
    background: transparent;
    border: 0;
}

.cerrar-btn:hover {
    background-color: #0d5e96;
    color: #fff !important;
}

.panel-carro .cart-product-list {
    flex: 1;
    margin-top: 10px;
    max-height: none;
    overflow-y: auto;
    padding-right: 4px;
}

.panel-carro .cart-product-list h6 {
    font-size: 12px;
}

.panel-carro .cart-product-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.panel-carro .cart-product-list li .cart-product-image img {
    flex-shrink: 0;
    height: 70px;
    width: 70px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
}

.panel-carro .cart-product-list li .cart-product-details {
    flex: 1;
    min-width: 0;
}

.panel-carro .close {
    font-size: 14px;
}

.panel-carro .cart-total {
    margin-top: 12px;
    border-top: 1px solid #0363cd;
    padding: 12px 0;
    font-size: 20px;
    color: #000;
    text-align: end;
}

.panel-carro .cart-total span {
    padding-left: 20px;
}

.cart-button {
    position: sticky;
    bottom: 0;
    left: auto;
    right: auto;
    background: rgba(241, 241, 241, 0.98);
    padding-top: 12px;
}

.panel-carro .cart-empaty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    padding: 20px;
    font-size: 15px;
    color: #777;
    text-align: center;
}

/* ========================
   PANEL CARRITO MÓVIL
   ======================== */

@media (max-width: 767px) {
    .panel-carro {
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 16px 14px;
        background-color: rgba(241, 241, 241, 0.97);
    }

    .panel-carro.active {
        right: 0;
    }

    .panel-carro h2 {
        font-size: 14px;
        margin-bottom: 14px !important;
    }

    .cerrar-btn {
        top: 10px;
        right: 10px;
    }

    .panel-carro .cart-product-list {
        margin-top: 8px;
        padding-right: 0;
    }

    .panel-carro .cart-product-list li {
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 12px;
    }

    .panel-carro .cart-product-list li .cart-product-image img {
        width: 58px;
        height: 58px;
    }

    .panel-carro .cart-product-list h6 {
        font-size: 11px;
        line-height: 1.2;
    }

    .panel-carro .cart-total {
        font-size: 18px;
        padding: 10px 0;
    }

    .cart-button {
        padding-top: 10px;
    }

    .cart-button .btn,
    .cart-button button,
    .cart-button a {
        width: 100%;
        margin-bottom: 8px;
        border-radius: 8px;
    }

    .panel-carro .cart-empaty {
        font-size: 13px;
        min-height: 120px;
    }
}

/* ==================== */
#mobileMenuSidebar,
.mobileMenuSidebar {
    z-index: 1050 !important;
}

/* ==========================================
   BOTONES FLOTANTES
   ========================================== */

.whatsapp-float,
.whatsapp-float:visited,
.whatsapp-float:active,
.whatsapp-float:focus {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 100px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 40px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    border: none;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .3s ease;
}

/* Visible cuando se hace scroll */
.whatsapp-float.floating-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.whatsapp-float:hover {
    background-color: #fff;
    color: #25d366;
    border: 1px solid #25d366;
    box-shadow: 2px 2px 3px #25d366;
}

.whatsapp-float i {
    margin-top: 10px;
}

/* Mobile */
@media (max-width: 767px) {
    .whatsapp-float {
        right: auto !important;
        left: 20px !important;
        z-index: 100;
    }
}

body.menu-open .whatsapp-float {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.title {
    height: 70px;
    color: #878787;
    font-weight: 600;
    line-height: 18px;
}

.title:hover {
    color: #aa1f6b;
}

.title-1 {
    font-size: 28px;
    color: #59368b;
    font-weight: 600;
    letter-spacing: -0.025em;
    padding: 0;
    line-height: 1;
    padding-bottom: 13px;
    display: inline-block;
    margin: 0 auto;
}

.title-1 > span {
    font-style: italic;
    color: #df4c27;
}

.catego {
    text-align: start;
    color: #878787;
    border-bottom: 1px solid #aa1f6b;
}

.catego:hover {
    color: #aa1f6b;
}

.text-price {
    color: #aa1f6b;
    font-size: 16px;
    font-weight: 600;
    padding-right: 10px;
}

.text-menu {
    color: #aa1f6b;
}

.navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    justify-content: center;
    color: #fff;
}

/* ========================== */
/* Contenedor del post */
.instagram-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.img-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
    /* Hace que todas sean cuadradas */
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Capa de interacción personalizada (Reemplaza los botones de IG) */
.insta-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(170, 31, 107, 0.8);
    /* Color Plastimar */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-hover i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.insta-hover span {
    font-size: 0.9rem;
    font-weight: bold;
}

/* Al pasar el mouse */
.instagram-card:hover .insta-hover {
    opacity: 1;
}

.instagram-card:hover img {
    transform: scale(1.1);
}

/* Contenedor para incrustar Instagram en el footer */
.instagram-overlap-container {
    position: relative;
    z-index: 10;
    margin-bottom: 0px;
    padding-bottom: 0;
}

/* Ajuste de fondo para que el panel resalte sobre el footer */
.instagram-overlap-container .container-fluid {
    background-color: #ffffff;
    border-radius: 15px 15px 0 0;
}

/* Asegúrate de que el footer no oculte el panel */
footer,
.footer-container {
    position: relative;
    z-index: 5;
    padding-top:40px !important;
}

/* Color de la barra conectora */
#slider-range.ui-widget-content {
    border: none;
    background: #e9ecef;
    height: 8px;
    width: 100%;
}

#slider-range .ui-slider-range {
    background: #59368b;
    /* Tu color morado */
}

/* Color de los círculos (manejadores) */
#slider-range .ui-slider-handle {
    border: 2px solid #59368b;
    background: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    top: -6px;
    cursor: pointer;
    outline: none;
}

.badge-precio {
    font-size: 12px;
}

/* Contenedor del paginador */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* Estilo general de los botones */
.pagination .page-item .page-link {
    color: #59368b;
    /* Texto morado */
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* RESALTADO: Página Activa */
.pagination .page-item.active .page-link {
    background-color: #59368b !important;
    /* Fondo morado */
    border-color: #59368b !important;
    color: white !important;
    /* Texto blanco */
    font-weight: bold;
}

/* Efecto Hover (al pasar el mouse) */
.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    color: #383288;
    border-color: #59368b;
}

/* Botones deshabilitados */
.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Estilos para el slider de miniaturas a la derecha */
/* Contenedor imagen principal */
.main-image-container {
    /*height: 450px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #aa1f6b;
}

.main-image-container img {
    max-height: 100%;
    object-fit: contain;
}

/* Miniaturas del Slider inferior */
.product-gallery-slider .item img {
    height: 150px;
    width: 150px;
    padding: 2px;
    object-fit: contain;
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.product-gallery-slider .item img:hover {
    border-color: #59368b !important;
    opacity: 0.8;
}

.thumbnail-active {
    border: 2px solid #aa1f6b !important;
}

/* Contenedor principal del panel */
.cart-container {
    display: flex;
    flex-direction: column;
    height: 90vh;
    max-height: 90vh;
    overflow: hidden;
}

/* La lista de productos debe ser la que tenga el scroll */
.cart-items-list {
    flex-grow: 1;
    /* Esto hace que ocupe todo el espacio disponible */
    overflow-y: auto;
    /* Habilita el scroll vertical solo aquí */
    padding: 10px;
}

/* El footer se queda abajo por naturaleza del flex-grow anterior */
.cart-footer {
    flex-shrink: 0;
    /* Evita que el footer se aplaste si hay muchos productos */
    background: #fff;
    /* Fondo sólido para que no se vea lo de atrás al scrollear */
    border-top: 1px solid #dee2e6;
    padding: 15px;
}

/* Agrandar el contenedor de cantidad */
.quantity.input-group {
    width: 140px !important;
    /* Ajusta este valor a tu gusto */
    align-items: center;
}

/* Hacer el número más grande y visible */
.quantity input.form-control {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    background-color: transparent !important;
}

/* Opcional: Agrandar un poco los botones de + y - */
.quantity .btn-sm {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-area {
    position: relative;
    /* Contenedor de referencia */
}

.panel-flotante {
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translate(-50%, 0);
    z-index: 10;
    width: 100%;
    /* Ancho ajustable */
    max-width: 60%;
    /* Para que no sea gigante en desktop */
    background: #db3164;
    color: #fff;
    padding: 30px;
    text-align: center;
    border: 6px solid #fff;
    font-size: 18px;
    text-align: justify;
}

.panel-flotante h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.about-us {
    font-size: 18px;
    text-align: justify;
}

.about-us h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.product-h {
    font-size: 18px;
    text-align: center;
}

.product-h h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.frecuentes {
    font-size: 18px;
    text-align: justify;
    color: #3c3c3c;
    font-family: "Nexa-Regular", sans-serif;
}

.frecuentes h4 {
    padding: 0px;
    font-size: 22px;
    font-weight: 600;
    text-align: justify;
    color: #aa1f6b;
}

.terminos {
    font-size: 18px;
    text-align: justify;
    color: #3c3c3c;
    font-family: "Nexa-Regular", sans-serif;
}

.terminos h2 {
    padding: 0px;
    font-size: 22px;
    font-weight: 600;
    text-align: justify;
    color: #f09c00;
}

/*----------------------------------------*/
/* 6.4 Li's Checkout Page
/*----------------------------------------*/
.coupon-accordion h3 {
    background-color: #0d5e96;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    /* Reducido para que no haya tanto hueco entre bloques */
    padding: 16px 56px 16px 20px;
    /* Ajustado padding */
    position: relative;
    cursor: pointer;
    user-select: none;
    /* Evita seleccionar texto al hacer clic rápido */
    transition: background 0.3s ease;
}

.coupon-accordion h3:hover {
    background-color: #0a4a76;
    /* Efecto sutil al pasar el mouse */
}

.coupon-accordion span {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.coupon-accordion span::after {
    content: "\25BC";
    /* Flecha ▼ */
    font-size: 12px;
}

/* Cuando el h3 tiene la clase active, la flecha rota */
.coupon-accordion h3.active span {
    transform: translateY(-50%) rotate(180deg);
}

.coupon-content {
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    display: none;
    /* Oculto por defecto */
    padding: 20px;
}

.coupon-content {
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
    display: none;
    padding: 20px;
}

.coupon-text-t {
    padding: 30px;
}

.coupon-info p {
    margin-bottom: 0;
}

.coupon-info p.form-row-first label,
.coupon-info p.form-row-last label {
    display: block;
}

.coupon-info p.form-row-first label span.required,
.coupon-info p.form-row-last label span.required {
    color: red;
    font-weight: 700;
    font-size: 14px;
}

.coupon-info p.form-row-first input,
.coupon-info p.form-row-last input {
    border: 1px solid #e5e5e5;
    height: 36px;
    margin: 0 0 14px;
    border-radius: 0;
    max-width: 100%;
    padding: 0 0 0 10px;
    width: 370px;
    background-color: transparent;
}

.coupon-info p.form-row input[type="submit"] {
    background: #252525 none repeat scroll 0 0;
    border: medium none;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    margin-right: 15px;
    padding: 0 30px;
    text-shadow: none;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    white-space: nowrap;
    width: inherit;
}

.coupon-info p.form-row input[type="submit"]:hover,
p.checkout-coupon input[type="submit"]:hover {
    background: #aa1f6b;
}

.form-row > label {
    margin-top: 7px;
}

.coupon-info p.form-row input[type="checkbox"] {
    height: inherit;
    position: relative;
    top: 2px;
    width: inherit;
}

p.lost-password {
    margin-top: 15px;
}

p.lost-password a {
    color: #6f6f6f;
}

p.lost-password a:hover {
    color: #aa1f6b;
}

.coupon-checkout-content {
    margin-bottom: 30px;
    display: none;
}

p.checkout-coupon input[type="text"] {
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 0;
    height: 36px;
    padding-left: 10px;
    width: 170px;
}

p.checkout-coupon input[type="submit"] {
    background: #333 none repeat scroll 0 0;
    border: medium none;
    border-radius: 0;
    color: #fff;
    height: 36px;
    cursor: pointer;
    margin-left: 6px;
    padding: 5px 10px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: inherit;
}

.coupon-info p.form-row input[type="submit"]:hover,
p.checkout-coupon input[type="submit"]:hover {
    background: #aa1f6b;
}

.checkbox-form h3 {
    border-bottom: 1px solid #e5e5e5;
    font-size: 25px;
    margin: 0 0 25px;
    padding-bottom: 10px;
    text-transform: uppercase;
    width: 100%;
}

.checkbox-form h4 {
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    text-transform: uppercase;
    width: 100%;
}

.country-select {
    margin-bottom: 25px;
}

.checkout-form-list {
    margin-bottom: 30px;
}

.country-select label,
.checkout-form-list label {
    color: #333;
    margin: 0 0 5px;
    display: block;
}

.country-select label span.required,
.checkout-form-list label span.required {
    color: #aa1f6b;
    display: inline-block;
    font-size: 24px;
    line-height: 16px;
    position: relative;
    top: 5px;
}

.checkout-form-list input[type="text"],
.checkout-form-list input[type="password"],
.checkout-form-list input[type="email"] {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    height: 42px;
    width: 100%;
    padding: 0 0 0 10px;
}

.checkout-form-list input[type="checkbox"] {
    display: inline-block;
    height: inherit;
    margin-right: 10px;
    position: relative;
    top: 2px;
    width: inherit;
}

.create-acc label {
    color: #333;
    display: inline-block;
}

.ship-different-title h3 label {
    display: inline-block;
    margin-right: 20px;
    font-size: 25px;
    color: #363636;
}

.ship-different-title input {
    height: inherit;
    line-height: normal;
    margin: 4px 0 0;
    position: relative;
    top: 1px;
    width: auto;
}

.order-notes textarea {
    background-color: transparent;
    border: 1px solid #ddd;
    height: 90px;
    padding: 15px;
    width: 100%;
}

.create-account,
#ship-box-info {
    display: none;
}

.your-order {
    background: #f2f2f2 none repeat scroll 0 0;
    padding: 30px 40px 45px;
}

.your-order h3 {
    border-bottom: 1px solid #d8d8d8;
    font-size: 25px;
    margin: 0 0 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
    width: 100%;
}

.your-order-table table {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: medium none;
    width: 100%;
}

thead {
    background-color: #f6f6f6;
}

.your-order-table table th {
    border-top: medium none;
    font-weight: normal;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
    width: 250px;
}

.your-order-table table th,
.your-order-table table td {
    border-bottom: 1px solid #d8d8d8;
    border-right: medium none;
    font-size: 14px;
    font-family: "Nexa-Regular", sans-serif;
    padding: 15px 0;
    text-align: center;
    background: #fff;
}

.your-order-table table tr.cart_item:hover {
    background: #f9f9f9;
}

.your-order-table table .order-total td {
    border-bottom: medium none;
}

.your-order-table table tr.order-total td span {
    color: #464646;
    font-size: 20px;
}

.your-order-table table .order-total th {
    border-bottom: medium none;
    font-size: 18px;
}

.payment-method {
    margin-top: 40px;
}

.payment-accordion .card {
    border: 0;
    border-radius: 0;
    background: #f2f2f2;
}

.payment-accordion .card-header {
    padding: 0;
    margin-bottom: 0;
    background-color: #f2f2f2;
    border-bottom: 0;
}

.payment-accordion .card-body {
    padding: 0;
}

.payment-accordion .panel.panel-default {
    margin-bottom: 20px;
}

.payment-accordion h5.panel-title {
    color: #444;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
}

.payment-accordion h5.panel-title > a:hover {
    color: #aa1f6b !important;
}

.payment-accordion .card-body > p {
    color: #515151;
}

.order-button-payment input {
    background: #0d5e96 none repeat scroll 0 0;
    border: medium none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    height: 50px;
    margin: 20px 0 0;
    padding: 0;
    text-transform: uppercase;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: 100%;
    border: 1px solid transparent;
    cursor: pointer;
}

.order-button-payment input:hover {
    background: #aa1f6b none repeat scroll 0 0;
}

/* 1. Asegurar que las columnas se comporten como contenedores Flexbox y centren su contenido */
.dd-a .bg-azul > div[class^="col-"] {
    display: flex !important;
    justify-content: center !important;
    /* Centrado horizontal */
    align-items: center !important;
    /* Centrado vertical */
}

/* 2. Asegurar que las imágenes respeten el contenedor y se centren internamente */
.dd-a .bg-azul img.img-fluid {
    display: block;
    margin: 0 auto;
    /* Refuerzo de centrado horizontal */
    max-height: 100%;
    /* Evita que estiren la fila si tienen alturas diferentes */
    object-fit: contain;
    /* Mantiene la proporción de la imagen sin deformarla */
}

/* Estilos para el Panel Lateral Móvil */
#mobileMenuSidebar .list-group-item {
    border-color: rgba(255, 255, 255, 0.1) !important;
    font-size: 14px;
}

#mobileMenuSidebar .list-group-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

#mobileMenuSidebar .accordion-item {
    border: none;
}

/* MODIFICACIÓN AQUÍ: Forzamos el color blanco para que no se vuelvan invisibles */
#mobileMenuSidebar .accordion-body a {
    font-size: 13px;
    color: #ffffff !important;
    /* <-- ESTA LÍNEA CORRIGE EL ERROR */
    transition: color 0.2s ease;
}

#mobileMenuSidebar .accordion-body a:hover {
    color: #ffcc00 !important;
    /* Se vuelve amarillo al pasar el mouse */
}

/* Asegura el fondo transparente y correcto comportamiento del acordeón móvil */
#mobileMenuSidebar .accordion-item {
    background-color: transparent !important;
    border: none !important;
}

/* Evita que se oculte el texto interno por herencia de opacidades */
#mobileMenuSidebar .collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
}

/* Animación ligera para la flecha del menú al abrirse */
#mobileMenuSidebar button[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

#mobileMenuSidebar button .fa-chevron-down {
    transition: transform 0.2s ease;
}

/* Forzar visibilidad y color de los enlaces del submenú */
#mobileMenuSidebar .accordion-body a {
    font-size: 13px;
    color: #ffffff !important;
    display: block;
    opacity: 1 !important;
    /* Evita el parpadeo de desaparición */
}

#mobileMenuSidebar .accordion-body a:hover {
    color: #ffcc00 !important;
}

.breadcrumb-item.active {
    color: #aa1f6b;
}

.nav-tabs {
    border-bottom: 2px solid #aa1f6b;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #aa1f6b;
    background-color: transparent;
    border-bottom: 1px solid #aa1f6b;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    font-size: 18px;
    font-weight: 700;
}

.tab-content > .active {
    display: block;
    padding-left: 20px;
    padding-top: 10px;
    font-size: 14px;
}

/* Ajuste preciso del logo en el menú móvil */
.navbar-logo {
    height: 50px !important;
    width: auto !important;
    display: inline-block;
    vertical-align: middle;
}

/* Ajustes específicos para las imágenes de productos destacados en móviles */
@media (max-width: 768px) {
    .related-item-inner-item {
        height: 300px !important;
        /* Limita y unifica la altura del contenedor de la imagen */
        overflow: hidden;
        /* Recorta cualquier excedente si la foto es muy alta */
        display: flex;
        align-items: center;
        /* Centra verticalmente la imagen si es más pequeña */
        justify-content: center;
        /* Centra horizontalmente */
        background-color: #fdfdfd;
        /* Fondo neutro por si la imagen no cubre todo el espacio */
    }

    .related-item-inner-item img {
        height: 300px !important;
        width: 300px !important;
        object-fit: contain !important;
        /* Mantiene la proporción de la foto sin deformarla ni estirarla */
    }
}

/* ==================================================
   CATEGORÍAS HOME - MÓVIL CUADRADAS
   Desktop no se modifica
   ================================================== */
@media (max-width: 767px) {
    .grid-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 24px !important;
        margin-bottom: 24px !important;
        height: auto !important;
        overflow: visible !important;
    }

    .grid-container > * {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 7 !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 4px;
        background-size: cover !important;
        background-position: center !important;
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .grid-container .texto {
        height: 58px !important;
        font-size: 13px !important;
        padding: 8px !important;
    }

    .grid-container .texto span {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width: 576px) {
    .search-wrapper {
        max-width: 100%;
    }

    .bus {
        font-size: 11px;
        padding: 0 10px;
    }

    .btn-search {
        width: 42px;
        min-width: 42px;
    }
}

/* ==========================================
   BASE RESPONSIVE GLOBAL estilos existentes, previene desbordes
   ========================================== */

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

.container,
.container-fluid {
    max-width: 100%;
}

p,
a,
span,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
    word-break: normal;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

table {
    max-width: 100%;
}

/* Ajustes suaves para móvil */
@media (max-width: 767px) {
    .container,
    .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }
}

.mobile-extra-links {
    margin-top: 40px;
    padding: 24px 14px 24px;
    border-top: 1px solid rgba(255,255,255,.18);
}

.mobile-extra-title {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.55);
}

.mobile-extra-links .list-group-item {
    border: 0 !important;
    padding: 7px 0 !important;
    font-size: 12px !important;
    line-height: 1.25;
    color: rgba(255,255,255,.86) !important;
}

.mobile-extra-links .list-group-item:hover {
    color: #fff !important;
    padding-left: 6px !important;
}

@media (max-width: 767px) {

    /* Footer móvil: fondo full ancho, contenido con margen */
    .footer > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .copyright > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ==================================================
   PRODUCTOS DESTACADOS - 2 CARDS EN MÓVIL
   ================================================== */
@media (max-width: 767px) {
    .related-product .related-carousel .related-item-inner-item {
        height: 145px !important;
    }

    .related-product .related-carousel .related-item-inner-item img {
        width: 100% !important;
        height: 145px !important;
        object-fit: contain !important;
    }

    .related-product .related-carousel .related-item-inner {
        height: 100%;
    }

    .related-product .title {
        height: 48px;
        font-size: 10px;
        line-height: 1.15;
    }

    .related-product .catego {
        font-size: 9px;
    }

    .related-product del,
    .related-product .text-price {
        font-size: 10px !important;
    }

    .related-product .btn-square {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
}

/* ==================================================
   INSTAGRAM FEED - 2 POSTS EN MÓVIL INDEX
   ================================================== */
@media (max-width: 767px) {
    #instagram-owl-carousel .owl-item {
        width: calc((100vw - 60px) / 2) !important;
        margin-right: 12px !important;
    }

    #instagram-owl-carousel .item {
        width: 100% !important;
        height: 145px !important;
        overflow: hidden !important;
        border-radius: 6px;
    }

    #instagram-owl-carousel .item > div,
    #instagram-owl-carousel .item a {
        width: 100% !important;
        height: 145px !important;
        display: block !important;
    }

    #instagram-owl-carousel .item img,
    #instagram-owl-carousel .item video,
    #instagram-owl-carousel .style-instagram-media {
        width: 100% !important;
        height: 145px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .instagram-overlap-container .title-1 {
        font-size: 22px;
        line-height: 1.1;
    }
}

/* ==========================================
   PRODUCTOS DESTACADOS - CARD HOME
   Web + Mobile + Fix carrito
   ========================================== */

/* ---------- CARD BASE ---------- */

.related-product .related-item-inner.product-card {
    position: relative !important;
    height: 100%;
    background: #fff;
    border: 1px solid #e1e5ea !important;
    border-radius: 10px !important;
    overflow: visible !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.related-product .related-item-inner.product-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 30px rgba(0,0,0,.14),
        0 4px 12px rgba(0,0,0,.08);
}

/* ---------- LINK GENERAL ---------- */

.related-product .product-card-main-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* ---------- IMAGEN ---------- */

.related-product .product-card-img {
    height: 220px !important;
    padding: 14px;
    background: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.related-product .product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ---------- FAVORITO ---------- */

.related-product .product-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #0d5e96;
    box-shadow: 0 2px 8px rgba(0,0,0,.16);
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-product .product-card-wishlist:hover {
    background: #db3164;
    color: #fff;
}

/* ---------- CONTENIDO ---------- */

.related-product .product-card-body {
    text-align: left !important;
    padding: 22px 13px 14px !important;
}

.related-product .product-card-code {
    display: block;
    font-size: 11.5px;
    color: #878787;
    border-bottom: 1px solid #db3164;
    padding-bottom: 5px;
    margin-bottom: 24px !important;
}

.related-product .product-card-title {
    display: block !important;
    height: 42px !important;
    margin: 8px 0 12px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #555 !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
}

/* ---------- PRECIOS ---------- */

.related-product .product-card-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-top: 4px;
}

.related-product .product-card-price-box del {
    display: block;
    font-size: 11px !important;
    color: #9b9b9b;
    line-height: 1;
}

.related-product .product-card-price-box .text-price {
    display: block;
    font-size: 20px !important;
    line-height: 1.1;
    font-weight: 700;
    color: #db3164;
    padding-right: 0;
}

/* ---------- DESCUENTO VISUAL ---------- */

.related-product .product-card-discount {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    background: #28a745;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

/* ---------- CARRITO FLOTANTE WEB ---------- */

.related-product .related-item-inner.product-card .related-item-add.product-card-actions {
    position: absolute !important;
    top: 198px !important;
    right: 35% !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 25 !important;
    transform: translateX(-50%) !important;

    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 40px !important;
    height: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    pointer-events: auto !important;
}

.related-product .related-item-inner.product-card .product-card-cart {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;

    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;

    background: #0d5e96 !important;
    color: #fff !important;

    align-items: center !important;
    justify-content: center !important;

    box-shadow: 0 3px 10px rgba(0,0,0,.18) !important;
}

.related-product .related-item-inner.product-card .product-card-cart:hover {
    background: #db3164 !important;
}

/* ==========================================
   PRODUCTOS DESTACADOS - MOBILE
   ========================================== */

   
@media (max-width: 767px) {
    .related-product .product-card-img {
        height: 164px !important;
        padding: 8px;
    }

    .related-product .product-card-body {
        padding: 24px 8px 12px !important;
    }

    .related-product .product-card-code {
        font-size: 8.5px;
        margin-bottom: 8px !important;
    }

    .related-product .product-card-title {
        height: 38px;
        font-size: 10px;
        line-height: 1.2;
        margin: 6px 0 8px !important;
    }

    .related-product .product-card-price-box del {
        font-size: 9px !important;
    }

    .related-product .product-card-price-box .text-price {
        font-size: 15px !important;
    }

    .related-product .product-card-discount {
        font-size: 8px;
        padding: 3px 7px;
    }

    .related-product .product-card-wishlist {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
        z-index: 25;
        font-size: 11px;
    }

    .related-product .related-item-inner.product-card .related-item-add.product-card-actions {
        top: 155px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    .related-product .related-item-inner.product-card .product-card-cart {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 11px !important;
    }
}

/* ==========================================
   PAGINACIÓN PRODUCTOS - RESPONSIVE
   ========================================== */

.shop .pagination {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px !important;
    margin-top: 18px !important;
}

.shop .pagination .page-link {
    min-width: 38px !important;
    height: 38px !important;
    padding: 8px 12px !important;
    text-align: center !important;
    border-radius: 6px !important;
    margin: 0 !important;
}

/* Mobile: mostrar números de página en formato compacto */
@media (max-width: 575px) {
    .shop .pagination {
        gap: 4px !important;
    }

    .shop .pagination .page-link {
        min-width: 32px !important;
        height: 32px !important;
        padding: 6px 8px !important;
        font-size: 11px !important;
    }

    .shop .pagination .page-item {
        display: inline-block !important;
    }
}

/* Tablet / iPad: paginación más compacta */
@media (min-width: 576px) and (max-width: 991px) {
    .shop .pagination {
        max-width: 100% !important;
        justify-content: center !important;
    }

    .shop .pagination .page-link {
        min-width: 34px !important;
        height: 34px !important;
        padding: 7px 10px !important;
        font-size: 12px !important;
    }
}

/* ==========================================
   DETALLE PRODUCTO - LAYOUT OPTIMIZADO
   ========================================== */

.product-detail-page {
    max-width: 1180px !important;
}

.product-detail-layout {
    min-height: auto !important;
    align-items: flex-start !important;
}

.product-detail-gallery-col,
.product-detail-info-col {
    margin-bottom: 18px !important;
}

/* Separador vertical entre imagen y datos */
.product-detail-info-col {
    border-left: 2px solid #b8b8b8 !important;
    padding-left: 50px !important;
} 

/* Imagen principal limpia */
.main-image-container {
    height: 430px !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 10px !important;
    background: #fff;
}

.main-image-container img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Detalle derecho más compacto */
.product-details {
    min-height: 430px !important;
    justify-content: flex-start !important;
    padding-top: 24px !important;
}

.product-details h4 {
    font-size: 22px !important;
    line-height: 1.25 !important;
}

/* Código con línea inferior 
.product-details .texto-mk {
    font-size: 13px !important;
    padding-bottom: 14px !important;
    margin-bottom: 24px !important;
    border-bottom: 2px solid #b8b8b8 !important;
} */

.product-details p.texto-mk {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 8px !important;
}

.product-details .quantity {
    margin-bottom: 28px !important;
}

/* Miniaturas debajo, más cercanas y ordenadas */
.product-detail-thumbs {
    padding-top: 8px !important;
}

.product-gallery-slider {
    max-width: 100% !important;
}

.product-gallery-slider .item img {
    width: 90px !important;
    height: 90px !important;
    object-fit: contain !important;
    padding: 4px !important;
    border: 1px solid #db3164 !important;
}

.thumbnail-active {
    border: 2px solid #db3164 !important;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .main-image-container {
        height: 390px !important;
    }

    .product-detail-info-col {
        border-left: 0 !important;
        padding-left: 12px !important;
    }

    .product-details {
        min-height: auto !important;
        padding-top: 10px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .product-detail-page {
        padding-top: 22px !important;
    }

    .product-detail-breadcrumb {
        font-size: 10px !important;
        margin-bottom: 12px !important;
    }

    .main-image-container {
        height: 300px !important;
        padding: 6px !important;
    }

    .product-detail-info-col {
        border-left: 0 !important;
        padding-left: 12px !important;
    }

    .product-details {
        min-height: auto !important;
        padding-top: 4px !important;
        padding-left: 0 !important;
    }

    .product-details h4 {
        font-size: 18px !important;
    }

    .product-details .d-flex.gap-2 {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .product-details .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    .product-gallery-slider .item img {
        width: 72px !important;
        height: 72px !important;
    }
}

/* ==========================================
   FIX MENÚ MÓVIL SOBRE CARDS PRODUCTO
   ========================================== */

#mobileMenuSidebar {
    position: fixed !important;
    z-index: 2147483647 !important;
}

#panel-overlay,
.panel-overlay,
#menu-overlay,
.menu-overlay,
.offcanvas-backdrop {
    z-index: 2147483646 !important;
}

.related-product,
.related-product .related-item,
.related-product .related-item-inner,
.related-product .product-card,
.related-product .product-card-wishlist,
.related-product .product-card-actions,
.related-product .product-card-cart {
    z-index: auto !important;
}

.related-product .product-card-wishlist,
.related-product .related-item-inner.product-card .related-item-add.product-card-actions {
    z-index: 2 !important;
}

/* ==========================================
   PRODUCT DETAIL - RELACIONADOS MOBILE
   ========================================== */

@media (max-width: 767px) {
    .related-product .related-carousel .owl-stage {
        display: flex !important;
    }

    .related-product .related-carousel .owl-item {
        width: calc((100vw - 48px) / 2) !important;
        margin-right: 12px !important;
    }

    .related-product .related-carousel .related-item {
        width: 100% !important;
    }

    .related-product .related-carousel .product-card-img {
        height: 145px !important;
        padding: 8px !important;
    }

    .related-product .related-carousel .product-card-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .related-product .related-carousel .product-card-body {
        padding: 22px 8px 12px !important;
    }

    .related-product .related-carousel .product-card-code {
        font-size: 8px !important;
        margin-bottom: 8px !important;
    }

    .related-product .related-carousel .product-card-title {
        height: 38px !important;
        font-size: 10px !important;
        line-height: 1.2 !important;
        margin: 6px 0 8px !important;
    }

    .related-product .related-carousel .product-card-price-box del {
        font-size: 8.5px !important;
    }

    .related-product .related-carousel .product-card-price-box .text-price {
        font-size: 15px !important;
    }

    .related-product .related-carousel .product-card-wishlist {
        width: 26px !important;
        height: 26px !important;
        top: 8px !important;
        right: 8px !important;
        font-size: 10px !important;
    }

    .related-product .related-carousel .related-item-inner.product-card .related-item-add.product-card-actions {
        top: 136px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
    }

    .related-product .related-carousel .related-item-inner.product-card .product-card-cart {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 10px !important;
    }
}

/* ==========================================
   PÁGINA PRÓXIMAMENTE
   ========================================== */

.page-header-proximamente {
    position: relative;
    padding: 100px 0;
    background: url(../img/banner/INTERIOR-16.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 150px;
}

.coming-soon-page {
    min-height: 58vh;
    display: flex;
    align-items: center;
    background: #ffffff;
}

.coming-soon-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 55px 35px;
    text-align: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #f7f5fb 100%);
    border: 1px solid #e1e5ea;
    box-shadow: 0 12px 35px rgba(0,0,0,.10);
}

.coming-soon-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #59368b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.coming-soon-card h1 {
    margin-bottom: 15px;
    font-size: 38px;
    font-weight: 700;
    color: #aa1f6b;
}

.coming-soon-card p {
    max-width: 540px;
    margin: 0 auto 28px;
    font-size: 14px;
    line-height: 1.7;
    color: #3c3c3c;
}

.coming-soon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 26px;
    border-radius: 30px;
    background: #db3164;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.coming-soon-btn:hover {
    background: #168cba;
    color: #ffffff;
}

/* Mobile */
@media (max-width: 767px) {
    .page-header-proximamente {
        height: 120px;
    }

    .coming-soon-page {
        min-height: 52vh;
        padding: 45px 14px;
    }

    .coming-soon-card {
        padding: 38px 22px;
    }

    .coming-soon-card h1 {
        font-size: 30px;
    }

    .coming-soon-card p {
        font-size: 12px;
    }
}

.product-details .product-detail-price-box {
    margin-top: 8px !important;
    margin-bottom: 22px !important;
}

.product-details .product-detail-old-price {
    display: block !important;
    width: fit-content;
    color: #9a9a9a !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    margin-bottom: 2px !important;
    text-decoration: line-through !important;
    text-decoration-thickness: 2px !important;
}

.product-details .product-detail-current-price {
    color: #db3164 !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* ==========================================
   MODAL CATÁLOGO ONLINE
   ========================================== */

.catalog-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 2147483647;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.catalog-modal-overlay.active {
    display: flex;
}

.catalog-modal-card {
    position: relative;
    width: min(100%, 720px);
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 36px 38px;
    box-shadow: 0 18px 55px rgba(0,0,0,.25);
}

.catalog-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #59368b;
}

.catalog-modal-logo {
    text-align: center;
    margin-bottom: 18px;
}

.catalog-modal-logo img {
    max-width: 210px;
    height: auto;
}

.catalog-modal-card h3 {
    text-align: center;
    color: #59368b;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.catalog-modal-subtitle {
    max-width: 480px;
    margin: 0 auto 26px;
    text-align: center;
    font-size: 13px;
    color: #3c3c3c;
    line-height: 1.6;
}

.catalog-form label {
    font-size: 13px;
    font-weight: 700;
    color: #3c3c3c;
    margin-bottom: 6px;
}

.catalog-form label span {
    color: #db3164;
}

.catalog-radio-group {
    display: flex;
    gap: 22px;
    margin-top: 8px;
}

.catalog-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 220px);
    height: 44px;
    margin: 28px auto 0;
    border: 0;
    border-radius: 30px;
    background: #db3164;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.catalog-submit-btn:hover {
    background: #168cba;
}

@media (max-width: 767px) {
    .catalog-modal-card {
        padding: 28px 18px 30px;
    }

    .catalog-modal-card h3 {
        font-size: 20px;
    }

    .catalog-radio-group {
        flex-direction: column;
        gap: 8px;
    }
}


/* ==========================================
   MIGA DE PAN GLOBAL
   ========================================== */

.page-breadcrumb-wrap {
    padding: 22px 0 12px;
    background: #ffffff;
}

.page-breadcrumb-wrap .breadcrumb {
    font-size: 12px;
    margin-bottom: 0;
}

.page-breadcrumb-wrap .breadcrumb a {
    color: #878787;
    text-decoration: none;
}

.page-breadcrumb-wrap .breadcrumb a:hover {
    color: #aa1f6b;
}

.page-breadcrumb-wrap .breadcrumb-item.active,
.page-breadcrumb-wrap .breadcrumb-item.active a {
    color: #aa1f6b !important;
    font-weight: 700;
}

.page-breadcrumb-wrap .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #878787;
    padding: 0 .5rem;
}

.page-breadcrumb-wrap .breadcrumb-item.active {
    color: #aa1f6b !important;
    font-weight: 700;
}

@media (max-width: 767px) {

    .page-breadcrumb-wrap {
        padding: 14px 0;
    }

    .page-breadcrumb-wrap .breadcrumb {
        font-size: 10px;
    }

}

/* ==========================================
   QUIÉNES SOMOS - RESPONSIVE FINAL
   ========================================== */

/* GALERÍA SUPERIOR 4 FOTOS */
.row-somos-top {
    display: flex !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    width: 100% !important;
}

.row-somos-top > div {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
    padding: 0 !important;
}

.row-somos-top .team-member {
    margin: 0 !important;
}

.row-somos-top .team-thumb {
    height: 520px;
    overflow: hidden;
}

.row-somos-top .team-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* COLORES TÍTULOS */
.about-us h2 {
    color: #59368b !important;
}

.product-h h2 {
    color: #f09c00 !important;
}

/* PANEL QUIÉNES SOMOS */
.team-area:first-of-type {
    padding-bottom: 40px !important;
}

.panel-flotante {
    margin-top: -110px !important;
    position: relative !important;
    z-index: 5 !important;
}

.about-us {
    padding-top: 35px !important;
}

/* TABLET */
@media (max-width: 991px) {
    .page-header-somos {
        height: 95px !important;
        padding: 0 !important;
        margin: -9px 0 0 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    .row-somos-top .team-thumb {
        height: 220px !important;
    }

    .panel-flotante {
        margin-top: 18px !important;
    }

    .about-us {
        padding-top: 30px !important;
    }
}

/* MOBILE */
@media (max-width: 767px) {

    .team-area:first-of-type {
        padding-bottom: 20px !important;
    }

    .row-somos-top .team-thumb {
        height: 125px !important;
    }

    .panel-flotante {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: calc(100% - 24px) !important;
        max-width: none !important;
        margin: 16px auto 0 !important;
        padding: 18px 14px !important;
        border: 4px solid #ffffff !important;
        text-align: center !important;
    }

    .panel-flotante h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }

    .panel-flotante .ttq {
        font-size: 11px !important;
        line-height: 1.55 !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .about-us {
        padding-top: 25px !important;
        padding-bottom: 20px !important;
    }

    .about-us .row {
        row-gap: 18px !important;
    }

    .about-us .li-blog-banner img {
        max-width: 230px !important;
        margin: 0 auto 20px !important;
        display: block !important;
    }

    .about-us h2 {
        font-size: 17px !important;
        text-align: center !important;
        color: #59368b !important;
    }

    .about-us p {
        font-size: 12px !important;
        line-height: 1.6 !important;
        text-align: left !important;
    }

    .team-area.pt-sm-44 .team-thumb img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .product-h {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

    .product-h h2 {
        font-size: 17px !important;
        color: #f09c00 !important;
    }

    .product-h > .container > .row > .col-lg-12 > p {
        font-size: 12px !important;
        line-height: 1.6 !important;
        padding: 0 10px !important;
    }

    .product-h .container-fluid.py-5 {
        padding-top: 24px !important;
        padding-bottom: 10px !important;
    }

    .product-h .row.g-4 > .col-lg-1 {
        display: none !important;
    }

    .product-h .row.g-4 > .col-4 {
        width: 50% !important;
        flex: 0 0 50% !important;
    }

    .product-h .single-banner img {
        width: 88px !important;
        height: 88px !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        margin: 0 auto !important;
    }

    .product-h .row.g-4 p {
        font-size: 10px !important;
        line-height: 1.25 !important;
        min-height: 32px !important;
        text-align: center !important;
    }

    .header-mobile,
    .mobile-header,
    .navbar-mobile,
    .nav-bar,
    .top-header,
    .main-header {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* ==========================================
   TÉRMINOS Y CONDICIONES
   ========================================== */

.terminos-post-breadcrumb-wrap {
    padding-top: 20px;
}

.terminos-post-breadcrumb-wrap .breadcrumb-item.active {
    color: #EE9A00 !important;
    font-weight: 800;
}

.terminos {
    background: #ffffff;
    padding-top: 42px !important;
    padding-bottom: 60px !important;
    color: #3C3C3C !important;
    font-family: "Nexa", sans-serif !important;
}

.terminos .container {
    width: min(86vw, 1080px) !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
}

.terminos h1,
.terminos h2,
.terminos h3,
.terminos h4,
.terminos h5,
.terminos h6 {
    color: #EE9A00 !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: left !important;
}

.terminos h2 {
    font-size: 24px !important;
    margin-top: 18px !important;
    margin-bottom: 14px !important;
    margin-left: -110px !important;
}

.terminos h3,
.terminos h4 {
    font-size: 18px !important;
    margin-top: 18px !important;
    margin-bottom: 9px !important;
}

.terminos p,
.terminos li,
.terminos span {
    color: #3C3C3C !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    text-align: justify !important;
}

.terminos p {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.terminos p + p {
    margin-top: 0 !important;
}

.terminos strong,
.terminos b {
    color: #3C3C3C !important;
    font-weight: 800 !important;
}

.terminos br {
    display: block;
    content: "";
    margin: 0 !important;
    line-height: 0 !important;
}

.terminos p:empty,
.terminos p br:only-child {
    display: none !important;
}

.terminos .pl-10,
.terminos .pl-20 {
    padding-left: 0 !important;
}

/* Lista con viñetas */
.terminos-lista {
    margin: 6px 0 12px 0 !important;
    padding-left: 22px !important;
    list-style-position: outside !important;
    list-style-type: disc !important;
}

.terminos-lista li {
    display: list-item !important;
    list-style-type: disc !important;
    margin-bottom: 4px !important;
    padding-left: 2px !important;
    line-height: 1.25 !important;
    color: #3C3C3C !important;
    text-align: left !important;
}

/* ==========================================
   BANNER TÉRMINOS
   ========================================== */

.page-header-terminos {
    width: 100%;
    height: 150px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ==========================================
   TABLET
   ========================================== */

@media (min-width: 768px) and (max-width: 1199px) {

    .page-header-terminos {
        height: 95px !important;
        padding: 0 !important;
        margin: -9px 0 0 0 !important;
        background-size: 150% auto !important;
        background-repeat: no-repeat !important;
        background-position: center -8px !important;
    }

    .terminos {
        padding-top: 28px !important;
        padding-bottom: 42px !important;
    }

    .terminos .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 70px !important;
        padding-right: 70px !important;
    }

    .terminos h2 {
        font-size: 22px !important;
        margin-top: 18px !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
    }

    .terminos h3,
    .terminos h4 {
        font-size: 17px !important;
        margin-top: 14px !important;
        margin-bottom: 7px !important;
    }

    /* Sangría general contenido */
    .terminos p,
    .terminos span {
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        text-align: justify !important;
        margin-left: 40px !important;
        margin-right: 40px !important;
    }

    .terminos-lista {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        margin-left: 40px !important;
        margin-right: 40px !important;
        padding-left: 22px !important;
        list-style-position: outside !important;
    }

    .terminos-lista li {
        font-size: 13.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        padding-left: 2px !important;
    }

    .terminos p {
        margin-bottom: 0 !important;
    }

    .terminos p + p {
        margin-top: 3px !important;
    }

    .terminos br {
        margin: 0 !important;
        line-height: 0 !important;
    }
}

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

@media (max-width: 767px) {

    .terminos {
        padding-top: 24px !important;
        padding-bottom: 36px !important;
    }

    .terminos .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 42px !important;
        padding-right: 42px !important;
    }

    .terminos h2 {
        font-size: 19px !important;
        line-height: 1.25 !important;
        margin-top: 16px !important;
        margin-bottom: 10px !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .terminos h3,
    .terminos h4 {
        font-size: 16px !important;
        margin-top: 14px !important;
        margin-bottom: 7px !important;
    }

    .terminos p,
    .terminos span {
        font-size: 12.5px !important;
        line-height: 1.22 !important;
        text-align: justify !important;
        margin-left: 18px !important;
        margin-right: 18px !important;
    }

    .terminos-lista {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        margin-left: 35px !important;
        margin-right: 18px !important;
        padding-left: 24px !important;
        list-style-position: outside !important;
    }

    .terminos-lista li {
        font-size: 12.5px !important;
        line-height: 1.22 !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        padding-left: 2px !important;
    }

    .terminos p {
        margin-bottom: 0 !important;
    }

    .terminos p + p {
        margin-top: 3px !important;
    }

    .terminos br {
        margin: 0 !important;
        line-height: 0 !important;
    }

    .terminos .pl-10,
    .terminos .pl-20 {
        padding-left: 25px !important;
    }
}

/* ==========================================
   PREGUNTAS FRECUENTES - RESPONSIVE
   ========================================== */

.frecuentes {
    background: #ffffff;
}

.frecuentes .container {
    max-width: 1050px;
}

.coupon-accordion h3 {
    font-size: 17px;
    line-height: 1.35;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.coupon-content {
    padding: 18px 22px;
}

.coupon-info h4 {
    font-size: 16px;
    line-height: 1.35;
    margin-top: 18px;
    margin-bottom: 10px;
    color: #aa1f6b;
}

.coupon-text-t {
    font-size: 14px;
    line-height: 1.75;
    color: #3c3c3c;
}


/* Tablet: iPad Air 820px */
@media (min-width: 768px) and (max-width: 991px) {
    .page-header-blog {
        height: 95px !important;
        padding: 0 !important;
        margin: -9px 0 0 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}


/* Mobile */
@media (max-width: 767px) {
    
    .frecuentes {
        padding-top: 22px !important;
        padding-bottom: 30px !important;
    }

    .frecuentes .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .coupon-accordion h3 {
        font-size: 13px;
        line-height: 1.35;
        padding: 13px 14px;
        margin-bottom: 8px;
    }

    .coupon-content {
        padding: 14px 12px;
    }

    .coupon-info h4 {
        font-size: 13px;
        line-height: 1.4;
        margin-top: 14px;
        margin-bottom: 8px;
    }

    .coupon-text-t {
        font-size: 12px;
        line-height: 1.65;
        text-align: left;
    }
}

/* ==========================================
   BANNER FRECUENTES RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 991px) {
    .page-header-frecuentes {
        height: 95px !important;
        padding: 0 !important;
        margin: -9px 0 0 0 !important;
        background-size: 150% auto !important;
        background-repeat: no-repeat !important;
        background-position: center -8px !important;
    }
}


.newsletter-modal-content {
    border-radius: 14px;
    border: none;
    padding: 25px 30px 30px;
}

.newsletter-close {
    position: absolute;
    right: 18px;
    top: 16px;
    z-index: 2;
}

.newsletter-modal-body {
    padding: 15px 10px 5px;
}

.newsletter-logo {
    max-width: 180px;
    margin-bottom: 18px;
}

.newsletter-title {
    color: #59368b;
    font-weight: 800;
    font-size: 26px;
    margin-bottom: 8px;
}

.newsletter-text {
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
}

.newsletter-input {
    border-radius: 8px;
    border: 1px solid #777;
    height: 34px;
    font-size: 13px;
}

.newsletter-modal-body label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
}

.newsletter-modal-body label span {
    color: #e22b68;
}

.newsletter-submit {
    background: #e22b68;
    color: white;
    border-radius: 25px;
    padding: 10px 55px;
    font-weight: 700;
    border: none;
}

.newsletter-submit:hover {
    background: #c91f59;
    color: white;
}

.newsletter-legal {
    font-size: 11px;
    color: #777;
    text-align: center;
    margin-top: 18px;
    margin-bottom: 0;
}


/* ==========================================
   MENÚ MÓVIL - LIMPIO, CÓMODO Y RESPONSIVE
   ========================================== */

#mobileMenuSidebar {
    width: min(86vw, 310px) !important;
    background: #59368b !important;
    color: #ffffff !important;
    box-shadow: 10px 0 35px rgba(0, 0, 0, .28);
}

#mobileMenuSidebar .offcanvas-header {
    min-height: 68px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
}

#mobileMenuSidebar .offcanvas-title img {
    height: 32px !important;
}

#mobileMenuSidebar .btn-close {
    width: 22px;
    height: 22px;
    opacity: .85;
}

#mobileMenuSidebar .offcanvas-body {
    padding: 10px 14px 24px !important;
    overflow-y: auto;
}

/* Ítems principales */
#mobileMenuSidebar .list-group-item,
#mobileMenuSidebar .accordion-item > .list-group-item {
    min-height: 46px;
    padding: 12px !important;
    margin-bottom: 5px;
    border: 0 !important;
    border-radius: 10px;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.25;
    display: flex;
    align-items: center;
}

#mobileMenuSidebar .list-group-item:hover,
#mobileMenuSidebar .accordion-item > .list-group-item:hover {
    background: rgba(255, 255, 255, .10) !important;
}

/* Íconos principales */
#mobileMenuSidebar .list-group-item i,
#mobileMenuSidebar .accordion-item > .list-group-item i {
    width: 20px;
    min-width: 20px;
    margin-right: 7px;
    text-align: center;
    font-size: 12px;
}

/* Categoría con flecha */
#mobileMenuSidebar .accordion-item .d-flex {
    gap: 8px;
}

/* Flechas uniformes */
#mobileMenuSidebar .btn-link {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .12) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

#mobileMenuSidebar .btn-link:hover {
    background: rgba(255, 255, 255, .22) !important;
}

#mobileMenuSidebar .style-chevron {
    width: 12px;
    height: 12px;
    font-size: 11px !important;
    line-height: 1 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#mobileMenuSidebar button[aria-expanded="true"] .style-chevron {
    transform: rotate(180deg);
}

/* Interior acordeón */
#mobileMenuSidebar .accordion-body {
    margin: 0 0 12px 22px !important;
    padding: 12px 10px 12px 14px !important;
    background: rgba(255, 255, 255, .06) !important;
    border-left: 2px solid rgba(219, 49, 100, .65) !important;
    border-radius: 0 10px 10px 0 !important;
}

#mobileMenuSidebar .accordion-body > div {
    margin-bottom: 12px !important;
}

#mobileMenuSidebar .accordion-body > div > a {
    display: block !important;
    padding: 0 0 4px !important;
    margin-bottom: 2px !important;
    color: #ffffff !important;
    font-size: 10.8px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    text-transform: uppercase;
}

#mobileMenuSidebar .accordion-body a {
    white-space: normal !important;
    word-break: normal !important;
}

/* Sub-subcategorías */
#mobileMenuSidebar .accordion-body .ps-3 {
    margin-top: 2px !important;
    padding-left: 10px !important;
    border-left: 1px solid rgba(255, 255, 255, .18) !important;
}

#mobileMenuSidebar .accordion-body .ps-3 a {
    display: block !important;
    padding: 5px 0 5px 8px !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

#mobileMenuSidebar .accordion-body .ps-3 a:hover {
    color: #ffffff !important;
    padding-left: 11px !important;
}

/* Información inferior */
#mobileMenuSidebar .mobile-extra-links {
    margin-top: 22px;
    padding: 18px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

#mobileMenuSidebar .mobile-extra-title {
    margin-bottom: 10px;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, .58);
}

#mobileMenuSidebar .mobile-extra-links .list-group-item {
    min-height: 30px;
    padding: 5px 0 !important;
    margin-bottom: 2px;
    border-radius: 6px;
    font-size: 10px !important;
    font-weight: 600;
    color: rgba(255, 255, 255, .86) !important;
}

/* Menos altura excesiva cuando hay muchos elementos */
#mobileMenuSidebar .collapse.show {
    max-height: none !important;
}

/* Pantallas muy pequeñas */
@media (max-width: 380px) {
    #mobileMenuSidebar {
        width: 86vw !important;
    }

    #mobileMenuSidebar .list-group-item,
    #mobileMenuSidebar .accordion-item > .list-group-item {
        min-height: 44px;
        font-size: 10.8px;
    }

    #mobileMenuSidebar .accordion-body > div > a {
        font-size: 10.5px !important;
    }

    #mobileMenuSidebar .accordion-body .ps-3 a {
        font-size: 10px !important;
    }
}

#mobileMenuSidebar .submenu-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 7px;
    border-radius: 50%;
    background: #ffffff;
    opacity: .9;
    vertical-align: middle;
}

#mobileMenuSidebar .submenu-line {
    display: inline-block;
    width: 8px;
    height: 2px;
    margin-right: 7px;
    border-radius: 2px;
    background: rgba(255,255,255,.55);
    vertical-align: middle;
}

#mobileMenuSidebar .accordion-body .ps-3 a {
    min-height: 30px;
    display: flex !important;
    align-items: center;
    padding: 6px 0 !important;
}

#mobileMenuSidebar .accordion-body > div > a {
    min-height: 32px;
    display: flex !important;
    align-items: center;
}

/* Ocultar corazón en móvil manteniendo el espacio */
@media (max-width: 991px) {
    .mobile-actions button[onclick="togglePanel2()"] {
        visibility: hidden !important;
        pointer-events: none !important;
        cursor: default !important;
    }
}

/* ==========================================
   BLOG - CONFIGURACIÓN OFICIAL
   Color texto general: #3C3C3C
   Color oficial Blog: #e7382e
   ========================================== */

.blog,
.blog-page,
.blog-text-content,
.main-blog-details-page {
    font-family: "Nexa-Regular", "Nexa", sans-serif !important;
    color: #3C3C3C !important;
    background: #ffffff;
}

/* ==========================================
   BANNER BLOG RESPONSIVE
   ========================================== */

.page-header-blog {
    position: relative;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw;
    height: 150px;
    background: url(../img/banner/INTERIOR-16.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .page-header-blog {
        height: 95px !important;
        margin: -9px 0 0 0 !important;
        background-size: cover !important;
        background-position: center center !important;
    }
}


/* ==========================================
   BLOG LISTADO - CARDS
   ========================================== */

.blog-page {
    padding-top: 35px;
    padding-bottom: 55px;
}

.blog-page .blog-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-page .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,.13);
}

.blog-page .blog-card-img {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #ffffff;
}

.blog-page .blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-page .blog-card-body {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 18px 16px 20px;
}

.blog-page .blog-card-title,
.blog-page .blog-card-title * {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;

    min-height: 42px;
    max-height: 42px;
    margin-bottom: 12px;

    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
    color: #e7382e !important;
    text-decoration: none !important;
}

.blog-page .blog-card-title:hover,
.blog-page .blog-card-title:hover * {
    color: #e7382e !important;
}

.blog-page .blog-card-resume,
.blog-page .blog-card-resume * {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;

    min-height: 82px;
    max-height: 82px;
    margin-bottom: 18px;

    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #3C3C3C !important;
    text-align: left;
}

.blog-page .blog-card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-top: auto;
    padding: 9px 20px;
    border-radius: 30px;

    background: #e7382e !important;
    color: #ffffff !important;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: opacity .25s ease;
}

.blog-page .blog-card-link:hover {
    background: #e7382e !important;
    color: #ffffff !important;
    opacity: .88;
}

/* Tablet Blog Listado */
@media (min-width: 768px) and (max-width: 991px) {
    .blog-page .blog-card-img {
        height: 215px;
    }

    .blog-page .blog-card-body {
        min-height: 220px;
    }

    .blog-page .blog-card-title,
    .blog-page .blog-card-title * {
        font-size: 14.5px !important;
    }

    .blog-page .blog-card-resume,
    .blog-page .blog-card-resume * {
        font-size: 13px !important;
    }
}

/* Mobile Blog Listado */
@media (max-width: 767px) {
    .blog-page {
        padding-top: 24px !important;
        padding-bottom: 42px !important;
    }

    .blog-page .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .blog-page .blog-card-img {
        height: 205px;
    }

    .blog-page .blog-card-body {
        min-height: 215px;
        padding: 16px 14px 18px;
    }

    .blog-page .blog-card-title,
    .blog-page .blog-card-title * {
        font-size: 14.5px !important;
        line-height: 1.35 !important;
    }

    .blog-page .blog-card-resume,
    .blog-page .blog-card-resume * {
        font-size: 13.5px !important;
        line-height: 1.55 !important;
        text-align: left !important;
    }

    .blog-page .blog-card-link {
        font-size: 12px !important;
        padding: 8px 18px;
    }
}

.blog-detail-breadcrumb-wrap .breadcrumb-item.active {
    color: #aa1f6b !important;
    font-weight: 800;
}

/* ==========================================
   BLOG DETALLE - INTERIOR
   ========================================== */

.blog-detail-breadcrumb-wrap {
    padding: 22px 0 12px !important;
    background: #ffffff;
}

.blog-detail-breadcrumb-wrap .breadcrumb {
    font-size: 12px;
}

.blog-detail-breadcrumb-wrap .breadcrumb a {
    color: #3C3C3C !important;
    text-decoration: none;
}

.blog-post-breadcrumb-wrap {
    padding-top: 20px;
}

.blog-post-breadcrumb-wrap .breadcrumb-item.active {
    color: #e7382e !important;
    font-weight: 800;
}

.main-blog-details-page {
    padding: 35px 0 60px;
    background: #ffffff;
}

.blog-single-item {
    background: #ffffff;
    border: 1px solid #e1e5ea;
    border-radius: 16px;
    padding: 34px 38px 40px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
}

.blog-heading,
.blog-heading * {
    max-width: 850px;
    margin: 0 auto 28px;
    color: #e7382e !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center;
}

.blog-banner {
    margin-bottom: 32px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.blog-banner img {
    display: block;
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.blog-text-content,
.blog-text-content * {
    font-family: "Nexa-Regular", "Nexa", sans-serif !important;
    color: #3C3C3C !important;
    background-color: transparent !important;
}

.blog-text-content {
    font-size: 15.8px !important;
    line-height: 1.75 !important;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.blog-text-content p,
.blog-text-content span,
.blog-text-content div,
.blog-text-content li {
    font-size: 15.8px !important;
    line-height: 1.75 !important;
    color: #3C3C3C !important;
}

.blog-text-content p {
    margin-bottom: 1.25rem;
}

.blog-text-content h1,
.blog-text-content h2,
.blog-text-content h3,
.blog-text-content h4,
.blog-text-content h1 *,
.blog-text-content h2 *,
.blog-text-content h3 *,
.blog-text-content h4 * {
    color: #e7382e !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

.blog-text-content h1 {
    font-size: 24px !important;
}

.blog-text-content h2 {
    font-size: 22px !important;
}

.blog-text-content h3 {
    font-size: 20px !important;
}

.blog-text-content h4 {
    font-size: 18px !important;
}

.blog-text-content a,
.blog-text-content a * {
    color: #e7382e !important;
    text-decoration: underline !important;
    font-weight: 700 !important;
}

.blog-text-content ul,
.blog-text-content ol {
    margin-bottom: 1.4rem;
    padding-left: 1.6rem;
}

.blog-text-content li {
    margin-bottom: .45rem;
}

.blog-text-content img {
    max-width: 100%;
    height: auto !important;
    display: none !important;
    margin: 1.4rem auto;
    border-radius: 10px;
}

.blog-text-content table {
    width: 100% !important;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.blog-text-content table th,
.blog-text-content table td {
    border: 1px solid #dee2e6;
    padding: .75rem;
    vertical-align: top;
    color: #3C3C3C !important;
}

.blog-sharing {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid #e1e5ea;
}

.blog-sharing h5 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 800;
    color: #3C3C3C !important;
}

.blog-sharing-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.blog-sharing-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e7382e !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: opacity .25s ease;
}

.blog-sharing-icons a:hover {
    background: #e7382e !important;
    color: #ffffff !important;
    opacity: .88;
}

/* Tablet Detalle Blog */
@media (min-width: 768px) and (max-width: 991px) {
    .blog-single-item {
        padding: 30px 28px 36px;
    }

    .blog-heading,
    .blog-heading * {
        font-size: 25px !important;
    }

    .blog-banner img {
        max-height: 390px;
    }

    .blog-text-content,
    .blog-text-content p,
    .blog-text-content span,
    .blog-text-content div,
    .blog-text-content li {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
}

/* Mobile Detalle Blog */
@media (max-width: 767px) {
    .blog-detail-breadcrumb-wrap {
        padding: 14px 0;
    }

    .blog-detail-breadcrumb-wrap .breadcrumb {
        font-size: 10px;
    }

    .main-blog-details-page {
        padding: 24px 0 45px;
    }

    .blog-single-item {
        padding: 22px 16px 30px;
        border-radius: 12px;
    }

    .blog-heading,
    .blog-heading * {
        font-size: 21px !important;
        line-height: 1.3 !important;
        margin-bottom: 22px;
    }

    .blog-banner {
        margin-bottom: 24px;
        border-radius: 10px;
    }

    .blog-banner img {
        max-height: 280px;
    }

    .blog-text-content,
    .blog-text-content p,
    .blog-text-content span,
    .blog-text-content div,
    .blog-text-content li {
        font-size: 15px !important;
        line-height: 1.7 !important;
        text-align: left !important;
    }

    .blog-text-content h1 {
        font-size: 21px !important;
    }

    .blog-text-content h2 {
        font-size: 20px !important;
    }

    .blog-text-content h3 {
        font-size: 18px !important;
    }

    .blog-text-content h4 {
        font-size: 17px !important;
    }

    .blog-sharing h5 {
        font-size: 14px;
    }

    .blog-sharing-icons a {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================
   CONÓCENOS - AJUSTE ESPACIADOS Y TEXTOS
   ========================================== */

/* Base textos */
.about-us,
.about-us p,
.product-h,
.product-h p,
.product-h .row.g-4 p {
    color: #3C3C3C !important;
    font-family: "Nexa", sans-serif !important;
}

/* Contenedores fluidos controlados */
.about-us .container,
.product-h .container {
    width: min(94vw, 1320px) !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ==========================================
   PANEL SUPERIOR
   ========================================== */

.panel-flotante,
.panel-flotante * {
    color: #ffffff !important;
}

/* ==========================================
   NUESTRA EXPERIENCIA
   ========================================== */

.about-us {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}

.about-experience-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    align-items: center !important;
}

.about-experience-img img {
    max-width: 390px !important;
    margin: 0 auto !important;
    display: block !important;
}

.about-experience-content {
    padding-left: 22px !important;
}

.about-us h2 {
    color: #59368B !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 14px !important;
    text-align: left !important;
}

.about-us p {
    max-width: none !important;
    color: #3C3C3C !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    text-align: justify !important;
    margin-bottom: 12px !important;
}

/* ==========================================
   BANNER AZUL
   ========================================== */

.team-area-banner {
    margin-top: 0 !important;
    overflow: hidden !important;
}

.team-area-banner .team-thumb img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* ==========================================
   ¿QUÉ HACEMOS?
   ========================================== */

.product-h {
    padding-top: 34px !important;
    padding-bottom: 36px !important;
}

.product-h h2 {
    color: #EE9A00 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
}

.product-h-intro {
    color: #3C3C3C !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 24px !important;
}

.product-h-icons-wrap {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.product-h-icons-row {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    justify-content: space-between !important;
    row-gap: 18px !important;
}

.product-h-icons-row > div {
    flex: 0 0 18% !important;
    max-width: 18% !important;
}

.product-h .single-banner img {
    width: 145px !important;
    height: 145px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    margin: 0 auto 8px !important;
}

.product-h .row.g-4 p {
    color: #3C3C3C !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    margin-bottom: 0 !important;
}
/* ==========================================
   CONTADOR PROFESIONAL CON IMAGEN DE FONDO
   ========================================== */

.somos-counter-section {
    position: relative;
    width: 100% !important;
    background-image: url('../img/banner/SOMOS-30.jpg');
    
    /* SOLUCIÓN 1: Fijamos el punto de encuadre abajo para mostrar más de la zona inferior */
    background-position: center bottom; 
    
    /* SOLUCIÓN 2: Usamos 'cover' para que la imagen cubra todo el contenedor agrandado */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    
    /* SOLUCIÓN 3: Aumentamos considerablemente el padding (de 80px a 140px) para agrandar el banner */
    padding: 140px 0 !important; 
    margin-bottom: 45px !important;
    text-align: center;
    overflow: hidden;
    
    /* Color de fondo oscuro por si acaso */
    background-color: #59368B; 
}

/* Filtro oscuro para realzar los números y textos blancos */
.somos-counter-section .counter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(89, 54, 139, 0.75); /* Morado #59368B con 75% de opacidad */
    z-index: 1;
}

.somos-counter-section .container {
    width: min(94vw, 1320px) !important;
    max-width: 1320px !important;
    z-index: 2; /* Trae el contenido por encima del overlay */
}

.somos-counter-section .counter-item {
    color: #ffffff !important;
    padding: 10px;
}

.somos-counter-section .counter-number {
    display: block;
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.somos-counter-section .counter-label {
    display: block;
    margin-top: 10px;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================
   TABLET (Media Query Corregida)
   ========================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .about-us .container,
    .product-h .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-us {
        padding-top: 28px !important;
        padding-bottom: 30px !important;
    }

    .about-experience-img img {
        max-width: 300px !important;
    }

    .about-experience-content {
        padding-left: 0 !important;
    }

    .about-us h2,
    .about-us p {
        text-align: center !important;
    }

    .product-h-icons-row {
        justify-content: center !important;
    }

    .product-h-icons-row > div {
        flex: initial !important;
        max-width: initial !important;
    }

    .product-h .single-banner img {
        width: 115px !important;
        height: 115px !important;
    }

    /* Ajustes específicos sección contador en Tablet */
    .somos-counter-section {
        /* Agrandamos también en tablet (de 60px a 95px) */
        padding: 95px 0 !important;
        margin-bottom: 36px !important;
        background-position: center bottom; /* Mantiene prioridad abajo */
        background-size: cover; 
    }

    .somos-counter-section .counter-number {
        font-size: 38px !important;
    }

    .somos-counter-section .counter-label {
        font-size: 11px !important;
    }
}

/* ==========================================
   MOBILE (Media Query Corregida)
   ========================================== */
@media (max-width: 767px) {
    .about-us .container,
    .product-h .container {
        width: 100% !important;
        max-width: 100% !important;
    }

    .about-us {
        padding-top: 22px !important;
        padding-bottom: 24px !important;
    }

    .about-experience-img img {
        max-width: 220px !important;
    }

    .about-experience-content {
        padding-left: 0 !important;
    }

    .about-us h2 {
        font-size: 17px !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .about-us p {
        font-size: 12.5px !important;
        line-height: 1.55 !important;
        text-align: center !important;
        margin-bottom: 10px !important;
    }

    .product-h {
        padding-top: 24px !important;
        padding-bottom: 28px !important;
    }

    .product-h h2 {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .product-h-intro {
        font-size: 12px !important;
        margin-bottom: 18px !important;
        padding: 0 8px !important;
    }

    .product-h-icons-row {
        justify-content: center !important;
    }

    .product-h-icons-row > div {
        flex: initial !important;
        max-width: initial !important;
    }

    .product-h .single-banner img {
        width: 92px !important;
        height: 92px !important;
        margin-bottom: 6px !important;
    }

    .product-h .row.g-4 p {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    /* Ajustes específicos sección contador en Mobile */
    .somos-counter-section {
        /* Agrandamos en móvil (de 40px a 70px) */
        padding: 70px 20px !important;
        margin-bottom: 30px !important;
        background-position: center bottom; /* Mantiene prioridad abajo */
        background-size: cover; 
    }

    .somos-counter-section .row {
        row-gap: 25px !important;
    }

    .somos-counter-section .counter-number {
        font-size: 36px !important;
    }

    .somos-counter-section .counter-label {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

.home-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;

    display: none; /* JS lo cambiará a 'flex' para mostrarlo */

    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.home-popup-box {
    position: relative;
    width: min(92vw, 680px);
    max-height: 88vh;
    animation: popupFadeIn 0.25s ease forwards;
}

.home-popup-box img {
    width: 100%;
    height: auto;
    max-height: 88vh;
    display: block;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.home-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;
    background: #59368b;
    color: #fff;

    font-size: 24px;
    font-weight: 700;
    line-height: 1;

    cursor: pointer;
    z-index: 100000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    user-select: none; /* Evita selección de texto molesta */
    transition: background 0.2s ease, transform 0.1s ease;
}

/* Efecto hover sutil para mejorar la experiencia de usuario */
.home-popup-close:hover {
    background: #43266b;
    transform: scale(1.05);
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Notebooks medianos: 1366x768 aprox */
@media (max-width: 1400px) {
    .home-popup-box {
        width: min(88vw, 580px);
        max-height: 84vh;
    }

    .home-popup-box img {
        max-height: 84vh;
    }
}

/* Móvil */
@media (max-width: 575px) {
    .home-popup-overlay {
        padding: 12px;
    }

    .home-popup-box {
        width: 94vw;
        max-height: 82vh;
    }

    .home-popup-box img {
        max-height: 82vh;
    }

    .home-popup-close {
        top: 8px;
        right: 8px;
        width: 38px;
        height: 38px;
        font-size: 22px;
    }
}
/* ==========================================
   ORDENAR POR - PRODUCTOS / CATEGORÍAS
   ========================================== */

.product-sort-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

.product-sort-box {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 260px !important;
}

.product-sort-label {
    margin: 0 !important;
    color: #878787 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.product-sort-select {
    width: 145px !important;
    height: 34px !important;
    padding: 0 28px 0 10px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: #3C3C3C !important;
    font-size: 11px !important;
    line-height: 34px !important;
    outline: none !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.product-sort-select:focus {
    border-color: #aa1f6b !important;
    box-shadow: 0 0 0 2px rgba(170, 31, 107, 0.08) !important;
}

.product-sort-select option {
    font-size: 11px !important;
    color: #3C3C3C !important;
    background: #ffffff !important;
}

/* ==========================================
   TABLET (576px - 991px)
   ========================================== */

@media (min-width: 576px) and (max-width: 991px) {

    .product-sort-wrap {
        justify-content: flex-end !important;
        margin-left: auto !important;
        margin-top: 10px !important;
        margin-bottom: 16px !important;
    }

    .product-sort-box {
        justify-content: flex-end !important;
        max-width: 245px !important;
    }

    .product-sort-select {
        width: 118px !important;
        max-width: 118px !important;
        height: 32px !important;
        font-size: 10px !important;
        padding: 0 20px 0 8px !important;
    }

    .product-sort-select option {
        font-size: 10px !important;
    }
}

/* ==========================================
   MÓVIL (hasta 575px)
   ========================================== */

@media (max-width: 575px) {

    .product-sort-wrap {
        justify-content: flex-start !important;
        margin-left: 0 !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
        padding-left: 0 !important;
    }

    .product-sort-box {
        justify-content: flex-start !important;
        gap: 6px !important;
        width: auto !important;
        max-width: none !important;
    }

    .product-sort-label {
        font-size: 10px !important;
    }

    .product-sort-select {
        width: 96px !important;
        max-width: 96px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 18px 0 7px !important;
        font-size: 10px !important;
        line-height: 30px !important;
    }

    .product-sort-select option {
        font-size: 10px !important;
    }
}

/* ==========================================
   FILTROS RESPONSIVE - BÚSQUEDA
   ========================================== */

.mobile-search-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 30px;
    background: #59368b;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    margin-left: 0;
    margin-bottom: 10px;
}

.mobile-search-filter-btn-wrap {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

.search-mobile-filters {
    display: none;
    margin-top: 10px !important;
    margin-bottom: 6px !important;
    border: 1px solid #59368b;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}

.search-mobile-filters.active {
    display: block;
}

.search-mobile-filter-group {
    border-bottom: 1px solid #eee;
}

.search-mobile-filter-group:last-child {
    border-bottom: 0;
}

.search-mobile-filter-title {
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    background: #f9f9f9;
    color: #59368b;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-mobile-filter-title i {
    font-size: 11px;
    transition: transform .2s ease;
}

.search-mobile-filter-title.active i {
    transform: rotate(180deg);
}

.search-mobile-filter-content {
    display: none;
    padding: 10px 14px 12px;
    background: #ffffff;
}

.search-mobile-filter-content.active {
    display: block;
}

.search-mobile-filter-link {
    display: block;
    padding: 8px 0;
    color: #3c3c3c !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.search-mobile-filter-link:last-child {
    border-bottom: 0;
}

.search-mobile-filter-link:hover {
    color: #aa1f6b !important;
}

.search-mobile-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    margin: 0;
    font-size: 11px;
    color: #3c3c3c;
    cursor: pointer;
}

.search-mobile-check input {
    accent-color: #59368b;
}

/* Categorías internas */
.search-mobile-category-block {
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}

.search-mobile-category-block:last-child {
    border-bottom: 0;
}

.search-mobile-check-main span {
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #59368b !important;
    text-transform: uppercase;
}

.search-mobile-subcategory-list {
    margin: 5px 0 6px 14px;
    padding-left: 10px;
    border-left: 2px solid rgba(170, 31, 107, .35);
}

.search-mobile-check-sub span {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #3c3c3c !important;
    text-transform: uppercase;
}

.search-mobile-subsubcategory-list {
    margin: 4px 0 6px 12px;
    padding-left: 10px;
    border-left: 1px solid #e2e2e2;
}

.search-mobile-check-ssub span {
    font-size: 9.5px !important;
    font-weight: 600 !important;
    color: #666 !important;
}

.search-mobile-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.search-mobile-category-row .search-mobile-check {
    flex: 1;
}

.search-mobile-level-toggle {
    width: 26px;
    height: 26px;
    min-width: 26px;
    border: 0;
    border-radius: 8px;
    background: rgba(89, 54, 139, .10);
    color: #59368b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-mobile-level-toggle i {
    font-size: 10px;
    transition: transform .2s ease;
}

.search-mobile-level-toggle.active i {
    transform: rotate(180deg);
}

.search-mobile-subcategory-list,
.search-mobile-subsubcategory-list {
    display: none;
}

.search-mobile-subcategory-list.active,
.search-mobile-subsubcategory-list.active {
    display: block;
}

/* ==========================================
   TOOLBAR MOBILE BUSQUEDA: FILTRO + ORDENAR
   ========================================== */

@media (max-width: 991px) {

    .search-mobile-toolbar-wrap {
        margin-top: -18px !important;
        margin-bottom: 22px !important;
        /* SOLUCIÓN: Forzamos una capa baja para que menús y headers pasen por encima */
        position: relative !important;
        z-index: 1 !important;
    }

    .search-mobile-toolbar {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        /* SOLUCIÓN: Evitamos que el contexto flex suba la prioridad de capa */
        position: relative !important;
        z-index: 1 !important;
    }

    .search-mobile-toolbar .mobile-search-filter-btn {
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .product-sort-mobile {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 6px !important;
        margin-left: auto !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .product-sort-mobile-label {
        margin: 0 !important;
        font-size: 10px !important;
        color: #878787 !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }

    .product-sort-mobile .product-sort-select {
        width: 96px !important;
        max-width: 96px !important;
        min-width: 96px !important;
        height: 30px !important;
        min-height: 30px !important;
        padding: 0 18px 0 7px !important;
        font-size: 10px !important;
        line-height: 30px !important;
    }

    .search-mobile-toolbar-wrap .search-mobile-filters {
        width: 100% !important;
        margin-top: 12px !important;
        margin-bottom: 0 !important;
    }

    .product-sort-wrap.d-none.d-lg-flex {
        display: none !important;
    }
}

/* Precio responsive */
.search-mobile-price-wrap {
    width: 100%;
    padding: 12px 4px 10px;
}

.search-mobile-price-wrap .d-flex {
    justify-content: center !important;
    gap: 4px;
    margin-bottom: 14px !important;
}

.search-mobile-price-wrap .badge-precio {
    font-size: 10px !important;
    padding: 4px 8px !important;
    border-radius: 12px !important;
}

.mobile-price-slider,
#slider-range-mobile {
    display: block !important;
    width: 100% !important;
    height: 6px !important;
    margin: 0 auto 4px !important;
    background: #59368b !important;
    border: 0 !important;
    border-radius: 10px !important;
}

#slider-range-mobile .ui-slider-range {
    background: #59368b !important;
}

#slider-range-mobile .ui-slider-handle {
    width: 17px !important;
    height: 17px !important;
    top: -6px !important;
    border-radius: 50% !important;
    border: 2px solid #59368b !important;
    background: #ffffff !important;
    cursor: pointer !important;
}

/* Página activa paginación */
.pagination .page-item.active .page-link {
    background-color: #aa1f6b !important;
    border-color: #aa1f6b !important;
    color: #ffffff !important;
}

/* Hover */
.pagination .page-link:hover {
    color: #aa1f6b !important;
}

/* Números normales */
.pagination .page-link {
    color: #59368b !important;
}


/* Titulo busca.blade */
/* Corrección para que el título respire y no choque en móviles */
.search-results-title {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    font-weight: 700;
    display: block;
    width: 100%;
}

.search-results-title span {
    display: inline-block;
    margin-top: 5px;
}

/* Evita encabalgamiento de la barra de filtros en mobile */
.search-mobile-toolbar-wrap {
    display: block;
    width: 100%;
    clear: both;
    margin-bottom: 20px !important;
}

.search-mobile-toolbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    position: relative !important;
    height: auto !important;
    padding: 5px 0;
}

@media (min-width: 992px) {
    .search-results-title {
        font-size: 2.3rem !important;
        margin-bottom: 20px !important;
    }
}

/* ==========================================
   MOBILE BANNERS INTERNOS
   ========================================== */

@media (max-width: 767px) {

    .page-header-somos,
    .page-header-blog,
    .page-header-terminos,
    .page-header-frecuentes {

        height: 52px !important;
        min-height: 0 !important;

        padding: 0 !important;
        margin: -1px 0 0 0 !important;

        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }

}

/* PAGINACIÓN PLASTIMAR - FORZADO BOOTSTRAP 5 */
.paginacion-plastimar nav ul.pagination li.page-item.active span.page-link {
    background-color: #aa1f6b !important;
    border-color: #aa1f6b !important;
    color: #ffffff !important;
}

.paginacion-plastimar nav ul.pagination li.page-item a.page-link {
    color: #aa1f6b !important;
}

.paginacion-plastimar nav ul.pagination li.page-item a.page-link:hover {
    background-color: #aa1f6b !important;
    border-color: #aa1f6b !important;
    color: #ffffff !important;
}

/* ========================================== */
