:root {
    --color-principal: #131313;
    /**Azul oscuro **/
    --color-secundario: #131313;
    --color-terciario: #131313;
    --color-hover: #131313;
    --color-acento: #131313;
    /**degradado **/
    --color-acento2: #131313;
    /**btn degradado 2**/
    --color-descuento: #ffd700;
    --color-blanco: #ffffff;
    --color-fondo-claro: #f1ebe6;
    --color-gris: #ccc;
    --color-titulo: #232539;
    --color-cabecera: #ffffff;
    /**color Claro **/
    --color-footer: #ffffff;
    --color-footer-curva: #131313;
    --color-precio: #c50500;
    /**Fuente Nunito **/
    --fuente-base: 'Nunito', sans-serif;
}


/*:root {
    --color-principal: #232539;
    /**Azul oscuro **/
/*    --color-secundario: #232539;
    --color-terciario: #1a76be;
    --color-acento: #1a74b4;
    /**degradado **/
/*    --color-acento2: #00A8E3;
    /**btn degradado 2**/
/*    --color-descuento: #ffd700;
    --color-blanco: #ffffff;
    --color-gris: #ccc;
    --color-titulo: #232539;
    --color-cabecera: #eaf3f8;
    /**Azul Claro **/
/*    --color-footer: #eaf3f8;
    --color-footer-curva: #232539;
    /**Azul oscuro **/
/*    --fuente-base: 'Nunito', sans-serif;
}*/

/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/*@import url('https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,500,500,500i,700,700i,800,800i,900,900i&display=swap&subset=latin-ext');
/*@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i&display=swap&subset=latin-ext');*/
/*@import url('https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,500,500i,700,700i,800,800i,900,900i&display=swap&subset=latin-ext');*/

/*@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap&subset=latin-ext');

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');*/


body,
p,
li,
button,
input {
    font-family: var(--fuente-base);
}


/* ===== Encabezados en   global ===== */
:where(h1, h2, h3, h4, h5, h6) {
    text-transform: lowercase;
    /* pasa todo a minúsculas */
}

/* Primera letra en mayúscula (aunque el texto empiece dentro de un <a> o <span>) */
:where(h1, h2, h3, h4, h5, h6)::first-letter,
:where(h1, h2, h3, h4, h5, h6)> :is(a, span, strong, em, b):first-child::first-letter {
    text-transform: uppercase;
}

/* Excepción: si necesitas mantener MAYÚSCULAS en algún título, añade .keep-caps al Hx */
:where(h1.keep-caps, h2.keep-caps, h3.keep-caps, h4.keep-caps, h5.keep-caps, h6.keep-caps),
:where(h1.keep-caps, h2.keep-caps, h3.keep-caps, h4.keep-caps, h5.keep-caps, h6.keep-caps) * {
    text-transform: none !important;
}

/* (Opcional) margen superior para títulos de carruseles */
h2.title_block.carousel_title {
    margin-top: 12px;
}


/***** GENERAL *****/
#wrapper {
    padding-top: 0px;
    background: var(--color-blanco);
}

.products .attribute_fieldset .nice-select>span {
    max-width: 100%;
    overflow: hidden;
}

.form-control {
    border-radius: 5px;
}

.form-control:focus {
    border-color: #66afe9;
    outline: 0;
}

body#product #main.proximamente:before {
    display: none
}

.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.container-fluid:before,
.container-fluid:after,
.row:before,
.row:after,
.modal-header:before,
.modal-header:after,
.modal-footer:before,
.modal-footer:after {
    display: flex;
}

pre.debug {
    position: fixed;
    width: 90vw;
    height: 80vh;
    top: 0;
    left: 0;
    background: beige;
    overflow-x: scroll;
    overflow-y: scroll
}

html,
body {
    font-family: var(--fuente-base);
}

body {
    overflow-x: hidden;
}

a:focus,
button:focus {
    outline: none;
}

a:focus,
button:focus {
    outline: none;
}

a {
    color: var(--color-principal);
    font-weight: 700;

}

a:focus,
a:hover {
    color: var(--color-hover);
}

a:hover {
    color: var(--color-hover);
    text-decoration: none;
}

/* Quitar subrayado global en enlaces */
a,
a:hover,
a:focus,
a:active {
    text-decoration: none !important;
}

/* Accesibilidad: sigue habiendo foco visible con teclado */
a:focus-visible {
    outline: 2px solid var(--color-acento2);
    outline-offset: 2px;
    text-decoration: none !important;
}

ul {
    list-style: none;
}

li,
p {

    font-family: Nunito;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.38;
    letter-spacing: normal;
    text-align: left;
    color: #707070;
}

input,
input[type=text],
input[type=phone],
input[type=email],
input[type=tel],
input[type=password],
input[type=number],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
    line-height: normal !important;
}

input[type="number"] {
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
}


input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {

    -webkit-appearance: none;
    -moz-appearance: none;
    margin: 0;
}

#subcategories ul li .subcategory-name:hover,
.block-categories .arrows .arrow-down:hover,
.block-categories .arrows .arrow-right:hover,
.block-categories .collapse-icons .add:hover,
.block-categories .collapse-icons .remove:hover,
.cart-grid-body a.label:hover {
    color: var(--color-hover);
}

.btn-primary {
    font-family: Nunito;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: var(--color-blanco);
    text-transform: none;
    box-shadow: none;
    padding: 8.5px 1.25rem;
    border-radius: 10px;
    background-color: var(--color-terciario);
    transition: .3s all ease-in-out;
}

.btn-secondary {
    font-family: Nunito;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: var(--color-blanco);
    text-transform: uppercase;
    background-color: var(--color-secundario);
    text-transform: uppercase;
    box-shadow: none;
    padding: 8.5px 1.25rem;
}

.btn-tertiary {
    font-family: Nunito;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: var(--color-blanco);
    text-transform: uppercase;
    box-shadow: none;
    margin: 0;
    padding: 8.5px 1.25rem;
    border: none;
}

.btn-primary.disabled.focus,
.btn-primary.disabled:focus,
.btn-primary.disabled:hover,
.btn-primary:disabled.focus,
.btn-primary:disabled:focus,
.btn-primary:disabled:hover,
.btn-primary.active.focus,
.btn-primary.active:focus,
.btn-primary.active:hover,
.btn-primary:active.focus,
.btn-primary:active:focus,
.btn-primary:active:hover,
.open>.btn-primary.dropdown-toggle.focus,
.open>.btn-primary.dropdown-toggle:focus,
.open>.btn-primary.dropdown-toggle:hover,
.btn-primary.active,
.btn-primary:active,
.open>.btn-primary.dropdown-toggle,
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:hover {
    background-color: var(--color-hover);
    outline: none;
}

.btn-secondary.disabled.focus,
.btn-secondary.disabled:focus,
.btn-secondary.disabled:hover,
.btn-secondary:disabled.focus,
.btn-secondary:disabled:focus,
.btn-secondary:disabled:hover,
.btn-secondary.active.focus,
.btn-secondary.active:focus,
.btn-secondary.active:hover,
.btn-secondary:active.focus,
.btn-secondary:active:focus,
.btn-secondary:active:hover,
.open>.btn-secondary.dropdown-toggle.focus,
.open>.btn-secondary.dropdown-toggle:focus,
.open>.btn-secondary.dropdown-toggle:hover,
.btn-secondary.active,
.btn-secondary:active,
.open>.btn-secondary.dropdown-toggle,
.btn-secondary.focus,
.btn-secondary:focus,
.btn-secondary:hover {
    background-color: #e4e4e4;
    color: var(--color-secundario);
    outline: none;
}

.btn-tertiary.disabled.focus,
.btn-tertiary.disabled:focus,
.btn-tertiary.disabled:hover,
.btn-tertiary:disabled.focus,
.btn-tertiary:disabled:focus,
.btn-tertiary:disabled:hover,
.btn-tertiary.active.focus,
.btn-tertiary.active:focus,
.btn-tertiary.active:hover,
.btn-tertiary:active.focus,
.btn-tertiary:active:focus,
.btn-tertiary:active:hover,
.open>.btn-tertiary.dropdown-toggle.focus,
.open>.btn-tertiary.dropdown-toggle:focus,
.open>.btn-tertiary.dropdown-toggle:hover,
.btn-tertiary.active,
.btn-tertiary:active,
.open>.btn-tertiary.dropdown-toggle,
.btn-tertiary.focus,
.btn-tertiary:focus,
.btn-tertiary:hover {
    color: var(--color-blanco);
    outline: none;
    box-shadow: none;
    border: none;
}

.btn.disabled,
.btn:disabled {
    opacity: .25;
}

.card {
    box-shadow: none;
    border: none;
    padding: 0;
}


/***** HEADER *****/
/*****STIKY *****/
@media (min-width: 768px) {
    #header {
        position: sticky;
        top: 0;
        z-index: 999;
        background: #faf6f3;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        transition: none;
        will-change: transform;
        min-height: 90px;
    }

    /* Inicialmente visibles */
    .header-nav,
    .header-menu-wrapper {
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 1;
        transform: translateY(0);
    }

    /* Cuando se activa sticky */
    body.header-sticky-active .header-nav,
    body.header-sticky-active .header-menu-wrapper {
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        height: 0;
        overflow: hidden;
    }

    body.header-sticky-active #header .header-nav {
        display: none !important;
    }

    /* Padding para que el sticky no tape contenido */
    #wrapper,
    #main,
    .page-content {
        scroll-padding-top: 100px;
    }
}

body.header-sticky-active #header .header-nav {
    display: none !important;
}

p.product-minimal-quantity.js-product-minimal-quantity {
    margin: 0;
}

.wishlist-button-product {
    margin-left: auto !important;
}

/* T0PBAR */
#header .header-nav {
    border-bottom: none;
    margin-bottom: 0;
    background-color: var(--color-secundario);
    height: 25px;
}

.cont-topbar {
    text-align: center;
}
h1.topbar-h1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}
.topbar-h1::after {
  content: " - ";
  margin: 0 5px;
}

span.topbar-envios {
    align-items: center;
    margin: 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
}
#header,
#header .header-top {
    background-color: var(--color-cabecera);
}

/*
#header .header-top.fixed {
    height: 100px;
    position: fixed;
    z-index: 1000;
    width: 100%;
    background-color: var(--BLANCO);
    padding: 1rem 0;
}
*/

div#_desktop_logo {
    margin: 5px 0 0;
}


#header .header-top .position-static {
    /*height: 95px;*/
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
}

#header .header-top #_desktop_logo h1 {
    margin-bottom: 0;
}

.product-container-blocks h1 {
    text-align: center;
}

/*********ICONOS HEADER*****/
/* Estilo general del bloque de iconos */
#_icons_block {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

@media (max-width: 992px) {
    #_icons_block {
        gap: 10px;
    }
}

/* Alineación horizontal de cada elemento */
#_icons_block>div {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Íconos (material-icons) tamaño uniforme */
#_icons_block i.material-icons {
    font-size: 26px;
    color: #222738;
}

/* Carrito: número de productos */
#_icons_block .cart-products-count {
    font-weight: bold;
    font-size: 14px;
    color: var(--color-principal);
}

#_icons_block .user-info span,
#_icons_block .blockcart .header span,
#_icons_block .whatsapp-contact span:not(.cart-products-count) {
    display: none;
}



#block_myaccount_infos .myaccount-title a,
#header a,
#wrapper .breadcrumb li a,
.block-contact .block-contact-title,
.block-contact .navbar-toggler .material-icons,
.linklist .blockcms-title a {
    color: var(--color-principal);
    font-size: 16px;
}

#header a:hover {
    color: var(--color-acento) !important;
    text-decoration: none;
}


@media (max-width: 767px) {
    #search_widget {
        display: flex !important;
        ;
        justify-content: end !important;
        ;
        width: unset !important;
        margin: 0px 7px;
    }
}

/***********BUSQUEDA*******/
/* Hacer que el buscador crezca a lo ancho */
#search_widget {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1000px;
}

/* Ajustar el formulario */

#search_widget form {
    display: flex;
    align-items: center;
    width: 80%;
    max-width: 100%;
    background-color: #f5f5f5;
    border: 1px solid var(--color-gris);
    border-radius: 10px;
    overflow: hidden;
}

/* Forzar el crecimiento del input */
#search_widget input[type="text"] {
    flex: 1;
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    background-color: transparent;
    outline: none;
    text-align: center;
}

/* Icono de búsqueda */
#search_widget .material-icons.search {
    color: var(--color-principal);
    font-size: 26px;
    margin-right: 19px;
    cursor: pointer;
    padding: 0px 0px 0px 18px;
}

/* Icono de limpiar búsqueda */
#search_widget .material-icons.clear {
    color: var(--color-gris);
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
}



.header-nav,
.header-menu-wrapper {
    height: 45px;
    /* igual a su altura normal */
    transition: all 0.3s ease;
}

body.header-sticky-active .header-nav,
body.header-sticky-active .header-menu-wrapper {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
    visibility: hidden;
}

body.header-sticky-active #header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

/****************MENU**********/

#category-1215>a {
    background-color: #000 !important;
    color: #fff !important;
    font-weight: bold;
    border-radius: 4px;
    padding: 8px 12px;
}

#category-1215>a:hover {
    background-color: #fff !important;
    color: #000 !important;
}



/*****MENU RKR******/
a.ico_menu_desk.hidden-sm-down i {
    font-size: 30px;
    background: var(--color-secundario);
    color: var(--color-cabecera);
    border-radius: 5px;
}

div#menu-icon i.material-icons {
    font-size: 30px;
    background: var(--color-secundario);
    color: var(--color-cabecera);
    border-radius: 5px;
}
img.own-custom-icon {
    display: unset !important;
}

/* Contenedor del menú */
/* Envoltorio que elimina limitación de ancho */
.header-menu-wrapper .container {
    display: flex;
    justify-content: center;
}

.header-mobile-left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 0px;
    list-style: none;
    padding: 0;
}


/* Centrado del UL */
.header-menu-wrapper .top-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1024px) {
    .header-menu-wrapper .top-menu {
        gap: 10px;
    }
}

@media (max-width: 900px) {
    .header-menu-wrapper {
        display: none !important;
    }
}

.header-menu-wrapper .container {
    display: flex;
    justify-content: center;
}



.header-menu-wrapper {
    background-color: var(--color-blanco);
    padding: 5px 0;
    border-top: 1px solid var(--color-blanco);
    border-bottom: 2px solid var(--color-blanco);
}


/* Ítems de menú */
.header-menu-wrapper .top-menu .link {
    display: flex;
    align-items: center;
}

/* Enlaces */
.header-menu-wrapper .top-menu .dropdown-item {
    font-family: var(--fuente-base);
    font-weight: 700;
    font-size: 14px;
    color: var(--color-principal);
    text-transform: uppercase;
    text-decoration: none;
    padding: 6px 8px;
    transition: all 0.2s ease-in-out;
}

.header-menu-wrapper .top-menu .dropdown-item:hover {
    color: var(--color-principal);
}

/* Botón destacado tipo "OFERTAS" si lo agregas al final */
.header-menu-wrapper .top-menu .link:last-child .dropdown-item {
    background-color: #000;
    color: var(--color-blanco);
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.header-menu-wrapper .top-menu .link:last-child .dropdown-item:hover {
    background-color: var(--color-principal);
    color: var(--color-blanco);
}

/* Último ítem del menú como botón destacado */
.header-menu-wrapper .top-menu .link:last-child .dropdown-item {
    background-color: #000;
    color: var(--color-blanco) !important;
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 700;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
    display: inline-block;
    opacity: 1 !important;
    /* Asegura visibilidad del texto */
    text-align: center;
    line-height: 1;
}

.header-menu-wrapper .top-menu .link:last-child .dropdown-item:hover {
    background-color: var(--color-principal);
    color: var(--color-blanco) !important;
}

#header .logo {
    max-width: 100px;
}

#header .header-top {
    padding: 0px;
}

@media (max-width: 767px) {
    #_mobile_logo img {
        max-height: 80px;
        width: auto;
    }

    #_mobile_user_info,
    #_mobile_cart {
        display: flex;
        align-items: center;
    }

    /*  #_mobile_user_info span,
    #_mobile_cart span {
        display: none !important;
    }*/

    #menu-icon i {
        font-size: 24px;
        color: #222;
    }

    span.cart-products-count {
        top: 57px !important;
        right: 5px !important;
    }

    .header-sticky-active span.cart-products-count {
        top: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    span.cart-products-count {
        top: 25px !important;
        right: 40px !important;
    }
}


/***********HADER MOVIL***********/
@media (max-width: 767px) {
    .header-mobile-wrapper {
        padding: 0;
    }

    .header-mobile-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 12px;
        min-height: 64px;
    }

    .header-mobile-left {
        
        display: flex;
        align-items: center;
    }


    .header-mobile-center {
        width: 40%;
        display: flex;
        align-items: center;
    }

    .header-mobile-right {
        width: 40%;
        display: flex;
        align-items: center;
    }

    .header-mobile-left {
        justify-content: flex-start;
    }


    .header-mobile-left {
        justify-content: flex-start;
    }

    .header-mobile-center {
        justify-content: center;
    }

    .header-mobile-right {
        justify-content: flex-end;
        gap: 12px;
        /* gap: 16px;más separación entre íconos */
    }

    /* Icono del menú más grande y con mejor alineación */
    #menu-icon i,
    .menu-icon i {
        font-size: 32px;
        line-height: 1;
        display: inline-block;
    }

    /* Espacio lateral entre iconos para evitar que se peguen */
    #_mobile_user_info {
        padding: 0 5px;
    }

    #_mobile_cart {
        padding-left: 0px;
        padding-right: 5px;
    }

    #_mobile_logo img {
        max-width: 120px;
        height: auto;
    }

    #search_widget form {
        background-color: var(--color-blanco);
        width: 100%;
        margin: 10px;
    }

    .header-mobile-right svg {
        width: 24px;
    }

    .header-mobile-right .user-info svg.icon {
        width: 22px;
    }

    .user-info path {
        fill: var(--color-principal);
    }
}

/*@media (max-width: 767px) {
    .header-menu-wrapper {
        display: none !important;
    }
}*/

@media (max-width: 767px) {
    .search-mobile-wrapper {
        background-color: #F6F6F6;
        padding: 0;
        border-top: 1px solid #F6F6F6;
        border-bottom: 2px solid var(--color-principal);
        margin: 0 !important;
    }
}

@media (max-width: 576px) {
    #header .logo {
        max-width: 100%;
    }

    .header-mobile-right {
        justify-content: flex-end;
        gap: 5px;
    }
}

/************POPUP COMPRA***********/
#blockcart-modal .product-name {
    color: var(--color-principal);
}

.quickview .modal-content {
    width: 100%;
    min-height: 28.13rem;
    background: #ffffff;
}

/************FOOTER***********/
/*CURVA FOOTER****/
#footer {
    background: var(--color-principal);
}

.footer-container {
    background-color: var(--color-footer);
    color: #e0e0e0;
    padding-top: 3rem;
    padding-bottom: 2rem;
    background: var(--color-footer);
    border-top: none !important;
}

.footer-wave {
    margin-bottom: -1px;
    /* fuerza que no se vea corte */
}



.footer-wave {
    display: block;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background-color: var(--color-footer);
    /* Color del fondo del footer */
    position: relative;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--color-cabecera);
    /* Color de fondo del bloque siguiente */
    transform: scaleX(1);
}

svg.main-footer__top path {
    fill: var(--color-footer-curva);
}

.footer-wave {
    background: var(--color-footer);
}

.footer-container a {
    color: #424242;
    text-decoration: none;
}

.footer-container a:hover {
    color: #2A2E3B;
    text-decoration: underline;
}

.footer-container .h3,
.footer-container .text-uppercase {
    color: var(--color-titulo);
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-container p,
.footer-container li {
    font-size: 0.95rem;
    margin: 0.2rem 0;
    line-height: 1.6;
}

.footer-icon {
    color: #00c0f5;
}

.footer-container .btn-primary {
    background-color: #00c0f5;
    border: none;
    color: var(--color-blanco);
}

.footer-container .btn-primary:hover {
    background-color: #00a8d0;
}


@media (max-width: 768px) {
    .footer-wave svg {
        height: 50px;
    }

    .container.footer-before {
        margin-bottom: -20px;
    }
}

.footer-container li a:hover {
    color: var(--color-principal);
}

.block-contact,
.footer-container li a {
    font-size: 16px;
    color: var(--color-principal);
    font-weight: 100;
}

/******NEWSLETTER FOOTER*******/
/****** NEWSLETTER FOOTER ******/

.block_newsletter {
    background-color: var(--color-principal);
    padding: 30px;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 0px;
}

/* Título */
#block-newsletter-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-blanco);
    text-align: center;
    margin: 0;
}

/* Contenedor del formulario */
.block_newsletter form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 700px;
}

/* Input email */
.block_newsletter input[type="email"] {
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 1rem;
    background-color: var(--color-blanco);
    box-shadow: 0 0 0 2px rgba(0, 191, 255, 0.15);
    flex: 1 1 250px;
    min-width: 200px;
}

/* Botón de envío */
.block_newsletter input[type="submit"] {
    background: linear-gradient(90deg, var(--color-blanco), var(--color-blanco));
    color: var(--color-principal);
    font-weight: bold;
    font-size: 0.95rem;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.block_newsletter input[type="submit"]:hover {
    background: var(--color-blanco);
}

/* Texto legal */
.block_newsletter p:last-of-type {
    font-size: 0.8rem;
    color: #c7c7c7;
    margin-top: 10px;
    text-align: center;
    line-height: 1.4;
    max-width: 500px;
}

.block_newsletter #block-newsletter-label {
    color: var(--color-blanco);
}

div#blockEmailSubscription_displayFooterBefore .btn.disabled,
.btn:disabled {
    background-color: #ffffff !important;
    /* Color de fondo gris claro */
    color: #000000 !important;
    /* Color del texto */
    cursor: not-allowed;
}

.block_newsletter form input[type=email]:focus {
    border: 0px;
}

body#index .custom-checkbox input[type=checkbox]+span .checkbox-checked {
    color: #ffffff;
}

/****RGPD********/
.gdpr_consent.gdpr_module_22 span {
    color: #fff;
}

/************TITULOS EASY BANNER*********/

h2.title_block.carousel_title {
    font-weight: 500;
    font-size: 26px;
}

/* Título del carrusel: solo la 1ª en mayúscula */
h2.title_block.carousel_title {
    text-transform: lowercase !important;
    /* todo en minúsculas */
}

h2.title_block.carousel_title::first-letter {
    text-transform: uppercase;
    /* 1ª letra en mayúscula */
}

/* (opcional) un poco de aire arriba del título */
h2.title_block.carousel_title {
    margin-top: 12px;
    /* ajusta al gusto */
}


.easycarousels.row h3.carousel_title,
.carousel-description {
    margin: 15px;
    align-items: baseline;
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    font-weight: 500;
    font-size: 26px;
    position: relative;
}

h3.title_block.carousel_title:after {
    background-color: #1a75c1;
    border-radius: 10px;
    bottom: -5px;
    content: "";
    height: 2px;
    position: absolute;
    width: 50px;
    margin: 0 auto;
}

/*********Miniutra*****/
body#index .product-miniature {
    background-color: var(--color-blanco);
    /*border: 1px solid #dbdbdb;*/
    border-radius: .5rem;
    padding: .25rem 1rem 1rem;
    position: relative;
}

.product-miniature .product-title a {
    text-decoration: none;
    font-family: var(--fuente-base);
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.43;
    letter-spacing: normal;
    text-align: center;
    color: #000000;
}

.product-miniature .discount {
    background: var(--color-descuento) !important;
    position: absolute;
    z-index: 9;
    right: 4px;
    border-radius: 50% 50% 50% 0%;
    width: 47px;
    height: 47px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

.wishlist-button-add {
    background-color: #faf6f3 !important;
    box-shadow: 0px !important;
}

.wishlist-button-add i {
    color: var(--color-principal) !important;
}

.product-miniature .product-price-and-shipping {
    color: var(--color-principal);
}

.easycarousels .product-flags li {
    color: #232639;
    font-weight: 700;
    background: #f1c410;
    border-radius: 5px;
    text-transform: unset;
    font-size: 1rem;


}

.easycarousels .product-flags li {
    border-radius: 5px;
    text-transform: unset;
    background: var(--color-descuento) !important;
    color: var(--color-principal);
    position: absolute;
    z-index: 9;
    width: 55px;
    height: 25px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

.product-flags li.product-flag.on-sale {
    background: #f1c410;
    width: 100px;
    color: var(--color-principal);
}

.easycarousels .product-flags li.out_of_stock {
    width: auto;
    padding: 10px !important;
}

.easycarousels .product-flags li.discount,
.easycarousels .product-flags li.on-sale {
    background: var(--color-descuento) !important;
    color: var(--color-principal);
    position: absolute;
    z-index: 9;
    right: 0px;
    width: 55px;
    height: 25px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

.easycarousels .regular-price {
    font-weight: 100;
    font-size: 12px;
}

/************BANNER  SH1**********/
/********** VENTAJAS HOME **********/
.ventajas-home-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0px;
    padding: 40px 20px;
    background-color: var(--color-blanco);
}

.ventaja-box {
    flex: 1 1 300px;
    max-width: 360px;
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.ventaja-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.ventaja-icon {
    flex-shrink: 0;
    margin-right: 15px;
}

.ventaja-icon svg {
    width: 45px;
    height: 45px;
    fill: var(--color-titulo);
}

.ventaja-box p {
    margin: 0;
    font-size: 16px;
    color: var(--color-titulo);
    font-weight: 500;
    line-height: 1.4;
}

.ventaja-box p strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1a73be;
}

/* Responsive */
@media (max-width: 768px) {
    .ventaja-box {
        flex-direction: column;
        text-align: center;
    }

    .ventaja-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.bn1-p strong {
    color: var(--color-titulo);
    font-size: 1rem
}

.d-flex {
    display: flex
}

@media (min-width: 992px) {
    .bn1-key {
        margin: 1rem 4rem;
        width: auto
    }
}

@media (max-width: 992px) {

    #footer .block_newsletter #block-newsletter-label,
    .customization-modal .modal-content .modal-body {
        padding-top: 0;
        margin-bottom: 20px;
    }
}

/*********CATEGORIAS*********/

@media (min-width: 768px) {
    #category .container {
        max-width: 90%;
    }
}

.categorias-destacadas-wrapper {
    padding: 40px 20px;
    background-color: var(--color-blanco);
}

div#left-column {
    position: sticky;
    top: 150px;
    align-self: start;
    z-index: 10;
}

.block-category {
    min-height: unset;
    margin-bottom: 1.563rem;
}

.block-category h1 {
    font-size: 30px;
}

.category-cover {
    display: none;
}

.categorias-destacadas-wrapper .categoria-box {
    background-color: var(--color-blanco);
    text-align: center;
    border-radius: 12px;
    padding: 20px 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

h2.headi {
    align-items: baseline;
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    position: relative;
}

h2.headi:after {
    background-color: #1a75c1;
    border-radius: 10px;
    bottom: -5px;
    content: "";
    height: 2px;
    position: absolute;
    width: 50px;
    margin: 0 auto;
}

.categorias-destacadas-wrapper .categoria-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.categorias-destacadas-wrapper .categoria-box img {
    margin-bottom: 10px;
    max-width: 48px;
    height: auto;
}

.categorias-destacadas-wrapper .categoria-box p {
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    color: var(--color-titulo);
}

.categoria-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.3s ease;
}

.categoria-box:hover {
    color: #00bcd4;
    /* O el color de tu marca */
}

.categoria-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.categoria-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    text-align: left;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.3s ease;
}

.categoria-box:hover {
    color: #00bcd4;
    /* O el color de tu marca */
}

.categoria-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.categoria-box h2 {
    font-size: 18px;
    font-weight: 500;
    color: #073461;
}
.brands-sort .select-list:hover, .products-sort-order .select-list:hover, .suppliers-sort .select-list:hover {
    color: var(--color-titulo); 
    background: var(--color-gris);
}

div#category-description {
    margin: 50px;
}
/*********FICHA DE PRODDUCTOS*********/
@media (min-width: 1200px) {
    .container {
        width: 100%;
        max-width: 1480px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        width: 95%;
    }
}

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

.modal-backdrop {
    position: inherit;
}

.pagos-ficha {
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: var(--color-blanco);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

/*********Breadcrumb*********/
.breadcrumb {
    padding: .75rem 1rem;
    margin-bottom: 20px;
    list-style: none;
    background-color: #f6f6f6 !important;
    border-radius: 0px 0px 10px 10px;
    padding: 10px !important;
}

#wrapper .breadcrumb li,
.product-images>li.thumb-container {
    display: inline;
    font-size: 14px;
    text-transform: uppercase;
}

.product-images>li.thumb-container .thumb.selected,
.product-images>li.thumb-container .thumb:hover {
    border: var(--color-principal) 1px solid;
}

/* Breadcrumb → primera letra mayúscula, resto minúsculas */
.breadcrumb,
.breadcrumb ol,
.breadcrumb li,
.breadcrumb a,
.breadcrumb span,
.breadcrumb-item,
.breadcrumb-item a {
    text-transform: lowercase;
}

/* Aseguramos que ::first-letter funcione sobre anchors */
.breadcrumb a,
.breadcrumb span,
.breadcrumb-item,
.breadcrumb-item a {
    display: inline-block;
}

/* Solo la primera letra de cada ítem en mayúscula */
.breadcrumb a::first-letter,
.breadcrumb span::first-letter,
.breadcrumb-item::first-letter,
.breadcrumb-item a::first-letter {
    text-transform: uppercase;
}

/* Separadores / iconos sin cambios */
.breadcrumb li+li::before {
    text-transform: none;
}

/************FICHA PRODUCTO**************/
/******TITULOS responsive******/
/* ===== Anti-roturas de texto en móviles muy estrechos ===== */

/* 1) Títulos fluidos + equilibrados */
#product .product-container-blocks h1,
#product .product-container-blocks h2 {
    /* tamaño fluido: mínimo, preferido (vw), máximo */
    font-size: clamp(18px, 4.5vw + 0.25rem, 30px);
    line-height: 1.15;
    letter-spacing: 0.2px;
    text-wrap: balance;
    /* reparte mejor las líneas (soporta Safari/Chromium modernos) */
}

/* 2) Párrafos y listados fluidos */
#product .product-description p,
#product .product-description li {
    font-size: clamp(14px, 3.2vw, 16px);
    line-height: 1.6;
}

/* 3) Evitar desbordes por palabras largas, URLs o marcas sin espacios */
#product .product-description,
#product .tabs-ficha {
    overflow-wrap: anywhere;
    /* corta donde sea necesario sin romper el layout */
    word-break: normal;
    hyphens: auto;
    /* si el idioma lo permite, guiona palabras largas */
}

/* 5) “Modo ultra-estrecho”: relaja el uppercase que ensancha letras */
@media (max-width: 340px) {
    #product .product-container-blocks h1 {
        text-transform: none;
        /* opcional: quita MAYÚSCULAS para mejorar salto de línea */
        letter-spacing: 0;
        /* evita que se “abra” demasiado */
    }
}



/****BLOQUES*****/
body#product img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.col-centro {
    padding: 15px 25px 0 25px;
}

.bloque-precio {
    padding: 15px !important;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: var(--color-blanco);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;

}

.product-quantity #quantity_wanted {
    border-radius: 5px 0 0 5px;
    height: 42px;
}

.input-group.bootstrap-touchspin {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 120px;
}

.input-group.bootstrap-touchspin input[type="number"] {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    border-radius: 6px 0 0 6px;
}

.input-group-btn-vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-group-btn-vertical .btn {
    padding: 5px;
    font-size: 12px;
    height: 50%;
    border-radius: 0;
}

.input-group-btn-vertical .bootstrap-touchspin-up {
    border-radius: 0 6px 0 0;
}

.input-group-btn-vertical .bootstrap-touchspin-down {
    border-radius: 0 0 6px 0;
}

.current-price {
    font-size: 35px;
}

.product-price {
    color: var(--color-principal);
}

.precio-euros {
    font-size: 40px;
    font-weight: bold;
    color: var(--color-terciario);
}

.precio-decimales {
    font-size: 15px;
    vertical-align: super;
    margin-left: -5px;
    color: var(--color-terciario);
}

.tabs {
    background: unset;
}

@media (min-width: 992px) {
    .col-derecha {
        position: sticky;
        top: 100px;
        align-self: start;
        z-index: 10;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .product-container-blocks>div[class^="col-"] {
        flex: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .product-container-blocks {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "titulo titulo"
            "img precio"
            "centro centro";
        gap: 20px;
        align-items: flex-start;
    }

    .product-container-blocks .h1_producto {
        grid-area: titulo;
        text-align: center;
        margin-bottom: 10px;
    }

    .product-container-blocks .col-img {
        grid-area: img;
    }

    .product-container-blocks .col-precio {
        grid-area: precio;
    }

    .product-container-blocks .col-centro {
        grid-area: centro;
    }

    .bloque-precio {
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }

    /* Limpieza de clases col-XX de Bootstrap dentro del grid */
    .product-container-blocks>div[class^="col-"] {
        flex: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    /* Ajuste de la descripción larga (fuera del grid) */
    .tabs-ficha {
        width: 100%;
        max-width: 1000px;
        padding: 0 20px;
        margin: 30px auto 0 auto;
        font-size: 15px;
        line-height: 1.6;
    }
}



@media (max-width: 767px) {

    /* Aplica solo en mÃ³viles */
    .product-container {
        display: flex;
        flex-direction: column;
    }

    .product-container-blocks {
        display: flex;
        flex-direction: column;
    }

    .bloque-precio {
        order: 1;
        padding-top: 25px;
        /* Primero se muestra esta columna */
    }

    .col-centro {
        order: 2;
        padding-top: 25px;
        /* Luego se muestra esta columna debajo */
    }

    .tabs-ficha {
        /* display: none; */
        order: 3;
        padding-top: 25px;
    }

}

/* === Tablet: 50/50 === */
@media (min-width:768px) and (max-width:1199px) {
    .product-container-blocks {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        /* 50/50 */
        grid-template-areas:
            "titulo titulo"
            "img    precio"
            "centro centro";
        gap: 20px;
        align-items: start;
        width: 100%;
        box-sizing: border-box;
    }

    /* neutraliza Bootstrap dentro del grid */
    .product-container-blocks>[class*="col-"] {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .product-container-blocks>.h1_producto {
        grid-area: titulo;
    }

    .product-container-blocks>.col-img {
        grid-area: img;
        min-width: 0;
    }

    .product-container-blocks>.col-derecha {
        grid-area: precio;
        min-width: 0;
    }

    .product-container-blocks>.tabs-ficha {
        grid-area: centro;
    }
}

/* === Desktop: 8/4 (≈ 2/1) === */
@media (min-width:1200px) {
    .product-container-blocks {
        display: grid !important;
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        /* 8/4 */
        grid-template-areas:
            "titulo titulo"
            "img    precio"
            "centro centro";
        column-gap: 32px;
        row-gap: 24px;
        align-items: start;
    }

    .product-container-blocks>[class*="col-"] {
        float: none !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
    }

    .product-container-blocks>.h1_producto {
        grid-area: titulo;
    }

    .product-container-blocks>.col-img {
        grid-area: img;
        min-width: 0;
    }

    .product-container-blocks>.col-derecha {
        grid-area: precio;
        min-width: 0;
    }

    .product-container-blocks>.tabs-ficha {
        grid-area: centro;
    }
}

/* Seguridad anti overflow en hijos del grid */
.product-container-blocks * {
    min-width: 0;
    box-sizing: border-box;
}

.product-container-blocks img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
    border: 0;
    border-bottom: var(--color-principal) 3px solid;
}

.tabs .nav-tabs .nav-link.active {
    color: var(--color-principal);
}

.pos_title {
    margin-bottom: 25px;
    text-align: center !important;
}

h3.abs_usually_bought_together {
    color: #232323 !important;
    font-weight: 500 !important;
    font-size: 21.6px !important;
    text-align: center;
}

span.control-label:nth-child(1) {
    display: none;
}

span.color.texture.wk-custom-attrib {
    border-radius: 0px;
}

.product-variants>.product-variants-item .input-color:checked+span:before {
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    border-radius: 0;
}

/**********VER DESCRIPCION**********/
#view_more_details {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

#view_more_details i {
    color: #232639;
}

#view_more_details:hover {
    background: #e0e0e0;
}

/*****VER MAS /MENOS*********/
/* Contenedor general */
.cont-desc-corta {
    position: relative;
    max-width: 100%;
}

/* Ocultar checkbox */
.toggle-checkbox {
    display: none;
}

/* Ocultar parte del texto */
.desc-corta {
    max-height: 100px;
    /* Ajusta la altura visible */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* Expande el contenido cuando se activa el checkbox */
.toggle-checkbox:checked~.desc-corta {
    max-height: 1000px;
    /* Ajusta el tamaño según el contenido */
}

/* Estilos del bottn */
.toggle-label {
    display: none;
    cursor: pointer;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: background 0.3s ease;
    text-align: center;
    margin-top: 10px;
}

.toggle-label:hover {
    background: #e0e0e0;
}

/* Alternar texto de botÃ³n */
.ver-menos {
    display: none;
}

.toggle-checkbox:checked~.toggle-label .ver-mas {
    display: none;
}

.toggle-checkbox:checked~.toggle-label .ver-menos {
    display: inline;
}


/****BLOQUE EXPERTO******/
.bloque-ayuda-experto {
    /*max-width: 420px;*/
    margin: 20px auto;
    width: 100%;
}

.enlace-chat-experto {
    text-decoration: none;
    display: block;
}

.contenedor-chat-experto {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px 16px;
    background-color: var(--color-blanco);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    flex-direction: row;
}

.contenedor-chat-experto:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar-experto {
    position: relative;
    margin-right: 15px;
    flex-shrink: 0;
}

.avatar-experto img {
    width: 100px;
    height: auto; 
    object-fit: cover;
}

.indicador-online {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 12px;
    height: 12px;
    background-color: #00c853;
    border: 2px solid var(--color-blanco);
    border-radius: 50%;
}

.texto-chat-experto p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.enlace-hablamos {
    color: var(--color-principal);
    font-weight: bold;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bloque-ayuda-experto {
        max-width: 100%;
    }
}

/* Responsive: apila en móvil */
@media (max-width: 480px) {
    .contenedor-chat-experto {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .avatar-experto {
        margin: 0 0 10px 0;
    }

    .texto-chat-experto p {
        font-size: 15px;
    }

    .bloque-ayuda-experto {
        max-width: 100%;
    }
}

/***AÑADIR AL CARRITO*********/
.product-actions .add-to-cart {
    width: 100%;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    display: flex;
    justify-content: center;
    align-items: anchor-center;
    border: 0px;
}

.product-quantity {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.product-quantity .qty {
    width: 25%;
}

.product-quantity .add {
    width: 75%;
}

.add-to-cart svg {
    margin: 4px;
    fill: rgb(255 255 255 / 0%);
}

.product-actions .add-to-cart:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/***************BOTON STICKY MOVIL********/
@media (max-width: 767px) {

    /* Botón fijo inferior */
    .product-add-to-cart.js-product-add-to-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 10px 16px;
        background: var(--color-blanco);
        z-index: 9999;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        margin: 0;
        border-radius: 0;
    }

    span#product-availability {
        display: none;
    }

    /* Botón interno ocupa todo el ancho */
    .product-add-to-cart .add {
        width: 100%;
        margin: 0;
    }

    /* Asegura espacio inferior para que no tape contenido */
    .product-container {
        padding-bottom: 90px;
    }

    /* El bloque de precio fijo no debe estar también fijo */
    .bloque-precio {
        position: static !important;
    }

    /* Evitar cortes en el botón dentro del sticky */
    .product-add-to-cart.js-product-add-to-cart {
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .product-add-to-cart .qty,
    .product-add-to-cart .input-group {
        flex: 0 0 auto;
    }

    /* cantidad fija */
    .product-add-to-cart .add {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* el botón ocupa el resto */
    .product-add-to-cart [data-button-action="add-to-cart"] {
        width: 100%;
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}


/*****ENTREGA ESTIMADA FICHA*****/
.estimateddelivery>div {
    border: 0px solid var(--color-gris);
}

.product-miniature .thumbnail-container:hover .product-description::after {
    border-top: 0px;
}

/*****descuento img ficha****/

.product-flags li.product-flag.discount,
.product-flags li.product-flag.discount-amount,
.product-flags li.product-flag.discount-percentage {
    background: var(--color-descuento) !important;
    color: #000000 !important;
    border-radius: 50% 50% 50% 0%;
    width: 47px;
    height: 47px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

.product-flags li.product-flag {
    text-transform: none;
    border-radius: 50px;
    background: var(--color-acento);
}

/*.has-discount .discount {
    background: var(--color-descuento) !important;
    color: #000000 !important;
    border-radius: 50% 50% 50% 0%;
    width: 47px;
    height: 47px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px
}*/


.has-discount .discount {
    border-radius: 5px;
    background: var(--color-descuento) !important;
    color: var(--color-principal);
    position: absolute;
    z-index: 9;
    right: 35px;
    width: 55px;
    height: 25px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

.product-flags li.product-flag.discount,
.product-flags li.product-flag.discount-amount,
.product-flags li.product-flag.discount-percentage {
    border-radius: 5px;
    background: var(--color-descuento) !important;
    color: var(--color-principal);
    position: absolute;
    z-index: 9;
    right: 0px;
    width: 55px;
    height: 25px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    font-stretch: condensed;
    line-height: 0px;
}

li.product-flag.out_of_stock:before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #ff0000;
    display: inline-block;
    border-radius: 14px;
    margin-right: 4px;
    position: relative;
    top: 3px;
}

li.product-flag.out_of_stock {
    font-family: Nunito;
    font-size: 15px;
    font-weight: bold;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #ff0000;
    text-transform: none;
    background: unset;
}

li.product-flag.out_of_stock {
    min-height: 1.875rem;
    font-weight: 600;
    margin: 0 auto;
    min-width: auto;
    width: auto;
    background: unset;
}


/****BLOQUE PRECIO *******/
.product-price.h5.has-discount {
    display: inline-flex;
    flex-direction: row;
    width: 100%;
}

.current-price {
    width: 100%;
    display: inline-flex;
}

.current-price {
    width: 100%;
    display: inline-flex;
}

.precio-anterior span.regular-price {
    font-size: 18px;
    margin: 15px;
    font-weight: 400;
    color: #a5a5a5;
}

ul.table-products .save_amount {
    background-color: #24b9d7;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    background-color: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #FFF;
    text-align: center;
    border-radius: 5px;
}

ul.table-products .save_amount {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #FFF;
    text-align: center;
    border-radius: 5px;
}


.styled-price {
    font-weight: 700;
    color: #c00000;
    font-size: 42px;
    display: inline-flex;
    align-items: flex-end;
    /* mejor alineación vertical */
    gap: 2px;
}

.styled-price .price-integer {
    line-height: 1;
}

.styled-price .price-super {
    font-size: 18px;
    position: relative;
    top: -18px;
}

.block-categories .category-sub-menu li[data-depth="1"],
.product-prices div {
    margin-bottom: 0px;
}

span.css-product-availability {
    display: flex;
    align-items: center;
    background-color: #fff7e6;
    color: #b75e00;
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid #FFA500;
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 12px;
    gap: 8px;
    margin: 20px 0px;
}

ul.table-products li.table-products-item.selected {
    background-color: var(--color-fondo-claro);
    border: 1px solid var(--color-acento);
}

ul.table-products li.table-products-item.selected:before {
    border-color: var(--color-acento);
}


/*********BLOQUE También podría interesarle -Accesorios **********/
.product-accessories {
    margin-top: 5%;
}

.product_accessories_p {
    text-align: center;
}

.horizontal-accessory .accessory-flex {
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #eee;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
    position: relative;
}

.horizontal-accessory .accessory-image img {
    max-width: 80px !important;
    height: auto;
}
#products .products, .featured-products .products, .product-accessories .products {  
    justify-content: center;
}
.horizontal-accessory .accessory-info {
    flex: 1;
}

.horizontal-accessory .product-title {
    font-size: 14px;
    margin: 0 0 4px;
}

.horizontal-accessory .product-price-and-shipping {
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: bold;
}

.accessory-buy-button {
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.horizontal-accessory:hover .accessory-buy-button {
    opacity: 1;
}

.accessory-buy-button .btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 5px;
}


@media (max-width: 767px) {

    .horizontal-accessory #products .products,
    .featured-products .products,
    .product-accessories .products {
        justify-content: center;
    }

    .horizontal-accessory .accessory-flex {
        width: 100%;
    }

    .js-product.product.horizontal-accessory {
        width: 90%;
    }

    article.product-miniature.js-product-miniature {
        background-color: var(--color-blanco);
        border: 1px solid #dbdbdb;
        border-radius: .5rem;
        padding: 0px;
        position: relative;

    }

    .horizontal-accessory .accessory-flex {
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 0px;
    }

}

.js-product.product.horizontal-accessory .addtocartattrproductlist {
    display: none;
}

/******** VARIACIONES PRODUCTOS - FLEXBOX ******/
.product-variants>.product-variants-item ul li {
    margin-right: 5px;
}

/* Contenedor dinámico */
ul#group_481 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Centrar elementos */
    gap: 10px;
    padding: 0;
    list-style: none;
    max-width: 100%;
}

/* Ajuste para cada opción */
li.float-xs-left.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 0px solid var(--color-gris);
    background-color: var(--color-blanco);
    /* padding: 5px; */
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    position: relative;
    /* height: 110px; */
    text-align: center;
}

/* Ajuste del span que contiene la imagen */
li.float-xs-left.input-container span.color.texture.wk-custom-attrib {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 5px;
    border: 2px solid transparent;
    margin: 0px;
}

/* Estilo del texto */
li.float-xs-left.input-container .attribute-name {
    margin-top: 5px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Ocultar el input radio */
li.float-xs-left.input-container input.input-color {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Estilos cuando el input está checked (seleccionado) */
li.float-xs-left.input-container:has(input.input-color:checked) {
    border: 2px solid #1973bd !important;
    box-shadow: 0 0 5px rgb(25 116 188);
}

.product-variants>.product-variants-item .color:hover {
    position: initial !important;
}

/* Distribución Dinámica */
ul#group_481:has(li:nth-child(2)) li {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(100% - 10px);
}

@media (min-width: 1024px) {

    /* Si hay 1 elementos → 1 por fila */
    ul#group_481:has(li:nth-child(1)) li {
        flex: 1 1 calc(100% - 10px);
        max-width: calc(100% - 10px);
    }

    /* Si hay 2 elementos → 1 por fila */
    ul#group_481:has(li:nth-child(2)) li {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(100% - 10px);
    }

    /* Si hay 3 elementos → 1 por fila */
    ul#group_481:has(li:nth-child(3)) li {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(100% - 10px);
    }

    /* Si hay 4 elementos → 2 por fila */
    ul#group_481:has(li:nth-child(4)) li {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    /* Si hay 5 elementos, ajustamos a 3 arriba y 2 abajo */
    ul#group_481:has(li:nth-child(5)) li {
        flex: 1 1 calc(33% - 10px);
        max-width: calc(100% - 10px);
    }

    /* Si hay 5 elementos, ajustamos a 3 arriba y 2 abajo */
    ul#group_481:has(li:nth-child(6)) li {
        flex: 1 1 calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }

}

@media (max-width: 768px) {

    /* En tablets, aseguramos 3 elementos por fila */
    ul#group_481 li {
        flex: 1 1 calc(33.33% - 10px);
        max-width: calc(33.33% - 10px);
    }
}

@media (max-width: 480px) {

    /* En móviles, 2 elementos por fila */
    ul#group_481 li {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
}

/* Corrección del borde al seleccionar */
.product-variants>.product-variants-item .input-color:checked+span:before {
    border: none !important;
}

.product-variants>.product-variants-item .color:hover {
    position: unset;

}

.product-variants>.product-variants-item .input-color:hover+span {
    position: static;
}

.product-variants>.product-variants-item .color.active,
.product-variants>.product-variants-item .color:hover,
.product-variants>.product-variants-item .custom-checkbox input[type='checkbox']+span.color.active,
.product-variants>.product-variants-item .custom-checkbox input[type='checkbox']+span.color:hover,
.product-variants>.product-variants-item .facet-label.active .custom-checkbox span.color,
.product-variants>.product-variants-item .custom-checkbox span.color,
.product-variants>.product-variants-item .input-color:checked+span,
.product-variants>.product-variants-item .input-color:hover+span {
    position: unset !important;
}

/*****TABS PRDUCTOS*****/
body#product li.nav-item {
    display: inline-block;
    cursor: pointer;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
    transition: background 0.3s ease;
    margin-top: 10px;
}

@media (max-width: 767px) {

    body#product ul.nav.nav-tabs {
        display: flex;
        flex-direction: column;
    }
}

.tabs .nav-tabs .nav-link.active {
    background: #f5f5f5;
}


/*********LOGIN******/
/* Estilo solo para la página de login */
body.controller-authentication .login-form {
    max-width: 500px;
    margin: 40px auto;
    background: var(--color-blanco);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Título de la página */
body.controller-authentication .page-header h1 {
    text-align: center;
    font-weight: 300;
    font-size: 24px;
    margin-bottom: 20px;
    color: #222;
}

/* Etiquetas del formulario */
body.controller-authentication .login-form .form-control-label {
    font-weight: 500;
    color: #333;
}

/* Inputs */
body.controller-authentication .login-form .form-control {
    border-radius: 8px;
    border: 1px solid var(--color-gris);
    transition: 0.3s ease-in-out;
}

body.controller-authentication .login-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

/* Botón "mostrar contraseña" */
body.controller-authentication .login-form .input-group-btn .btn {
    background: #f2f2f2;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    padding: 6px 12px;
    transition: background 0.3s ease;
}

body.controller-authentication .login-form .input-group-btn .btn:hover {
    background: #e0e0e0;
}

/* Botón INICIAR SESIÓN con degradado */
body.controller-authentication #submit-login {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: var(--color-blanco);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

body.controller-authentication #submit-login:hover {
    background: linear-gradient(90deg, #156298, #008fc2);
}

/* Enlaces: ¿Olvidó su contraseña? y Crear cuenta */
body.controller-authentication .forgot-password,
body.controller-authentication .no-account {
    text-align: center;
    margin-top: 15px;
}

body.controller-authentication .forgot-password a,
body.controller-authentication .no-account a {
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgotten-password {
    padding: 4px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.forgotten-password .form-fields label.required {
    width: auto;
}

body.controller-authentication .forgot-password a:hover,
body.controller-authentication .no-account a:hover {
    text-decoration: underline;
}

/* Opcional: ocultar breadcrumbs y footer solo en login */
body.controller-authentication .breadcrumb,
body.controller-authentication .page-footer {
    display: none;
}


/*********LOGIN********/
/* Aplica solo en página de login */
#authentication .login-form {
    background: var(--color-blanco);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Título */
#authentication .page-header h1 {
    text-align: center;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 20px;
    color: #222;
}

/* Etiquetas del formulario */
#authentication .form-control-label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Inputs */
#authentication .form-control {
    border-radius: 8px;
    border: 1px solid var(--color-gris);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#authentication .form-control:focus {
    border-color: var(--color-principal);
    box-shadow: 0 0 5px var(--color-hover);
}

/* Botón "mostrar contraseña" */
#authentication .input-group-btn .btn {
    background: #e0e0e0;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    padding: 6px 12px;
    margin: 0 5px;
}

.ets_solo_social_wrapper.slw_and_alw .ets_solo_or span {
    background-color: #ffffff;
}

/* Botón de login con degradado */
#authentication #submit-login {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: var(--color-blanco);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: auto;
    min-width: 180px;
}

#authentication #submit-login:hover {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
}

/* Enlaces */
#authentication .forgot-password,
#authentication .no-account {
    text-align: center;
    margin-top: 15px;
}

#authentication .forgot-password a,
#authentication .no-account a {
    color: #222738;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

#authentication .forgot-password a:hover,
#authentication .no-account a:hover {
    text-decoration: underline;
}

/* Evita que el login flote mal en pantallas grandes */
#authentication .page-content {
    max-width: 900px;
    margin: 0 auto;
}

#authentication .ets_solo_social_wrapper.lgp {
    margin-top: 20px;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ets_solo_social_wrapper.slw_and_alw .forgot-password,
#header .ets_solo_social_wrapper.slw_and_alw .forgot-password a,
.ets_solo_social_wrapper.slw_and_alw .no-account,
#header .ets_solo_social_wrapper.slw_and_alw .no-account a {
    color: var(--color-principal);
}

/* CONTENEDOR FORMULARIO DE CUENTA SOCIAL */
#registration .ets_solo_social_wrapper {
    background: var(--color-blanco);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* TÍTULO DE LA SECCIÓN */
#registration .ets_solo_social_title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.2rem;
}

/* BOTÓN SOCIAL */
#registration .ets_solo_social_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-gris);
    border-radius: 5px;
    background: var(--color-blanco);
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

/*******PAGINA DE REGISTRO*******/
.page-authentication #content,
.page-registration #content {
    max-width: auto;
}

/* BOTÓN "GUARDAR" UNIFICADO */
#registration button.btn-primary.form-control-submit {
    background-color: #2ba1dc;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    color: white;
    transition: background-color 0.3s ease;
}

#registration button.btn-primary.form-control-submit:hover {
    background-color: #2ba1dc;
}

/* TEXTO "¿Ya tiene una cuenta?" */
#registration .register-form>p {
    text-align: center;
    font-size: 0.95rem;
    color: #555;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* CONTENEDOR DEL FORMULARIO */
#registration form.js-customer-form {
    background: var(--color-blanco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /*max-width: 500px;*/
    margin: 0 auto;
}

.page-authentication #content,
.page-registration #content {
    max-width: 100%;
}

/* ETIQUETAS */
#registration label.form-control-label {
    font-weight: 500;
    color: #333;
}

/* INPUTS DE TEXTO */
#registration input.form-control[type="text"],
#registration input.form-control[type="email"],
#registration input.form-control[type="password"] {
    border: 1px solid var(--color-gris);
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
}

#registration input.form-control:focus {
    border-color: #2ba1dc;
    box-shadow: 0 0 0 3px rgba(0, 153, 204, 0.15);
}

/* BOTÓN "MOSTRAR" EN CONTRASEÑA */
#registration .input-group .btn {
    background: #666;
    color: white;
    font-size: 0.85rem;
    border-radius: 5px 6px 6px 5px;
    margin: 0 5px;
}

/* CHECKBOXES */
#registration .custom-checkbox input[type="checkbox"] {
    accent-color: #2ba1dc;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
}

#registration .custom-checkbox label {
    font-size: 0.9rem;
    color: #444;
}

#registration .custom-checkbox em {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-top: 0.2rem;
}

/* BOTÓN "GUARDAR" */
#registration button.btn-primary.form-control-submit {
    background-color: #2ba1dc;
    border: none;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    margin-top: 1.5rem;
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: background-color 0.3s ease;
}

#registration button.btn-primary.form-control-submit:hover {
    background-color: #2ba1dc;
}

/**CHEKOUT*********/
body#checkout div#_desktop_top_menu {
    display: none;
}

body#checkout select.form-control:not([size]):not([multiple]) {
    height: calc(2.5rem - 2px);
    width: 100%;
}

body#checkout .form-control {
    padding: .5rem 1rem;
}
.custom-radio input[type=radio]:checked+span { 
    border-radius: 50%;
}
/* ===== ESTILOS GLOBALES PASOS CHECKOUT ===== */
#checkout-personal-information-step,
#checkout-addresses-step,
#checkout-delivery-step,
#checkout-payment-step {
    background: var(--color-blanco);
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    margin-bottom: 20px;
}

/* Títulos de los pasos */
.step-title {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222;
}

/* Número del paso */
.step-number {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: var(--color-blanco);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 12px;
    border: 0px !important;
}

/* Ícono de paso completado (check) */
.step-title .done {
    color: var(--color-acento) font-size: 20px;
    margin-right: 8px;
}

/* Enlace de "Modificar" */
.step-edit {
    margin-left: auto;
    font-size: 0.9rem;
    color: #888;
    cursor: pointer;
}

.step-edit i {
    font-size: 18px;
    vertical-align: middle;
}

/* Inputs */
.js-customer-form input[type="text"],
.js-customer-form input[type="email"],
.js-customer-form input[type="password"],
.js-customer-form input[type="date"],
.js-customer-form input[type="number"],
.js-customer-form select {
    background: #fafafa;
    border: 1px solid var(--color-gris);
    border-radius: 6px;
    padding: 0px;
    width: 100%;
    font-size: 0.95rem;
    margin-bottom: 0px;
}

/* Botones Continuar */
button.continue,
button.form-control-submit {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: var(--color-blanco);
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin: 0 5px;
    padding: 12px 28px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button.continue:hover,
button.form-control-submit:hover {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
}

/* Párrafos informativos */
.form-informations {
    background: #f5f8fa;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Texto debajo de los inputs */
.form-control-comment {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Enlaces tipo "Olvidaste tu contraseña?" */
.forgot-password a {
    font-size: 0.9rem;
    color: var(--color-principal);
    text-decoration: underline;
}

/* Separador en opciones de login */
.nav-separator {
    color: #bbb;
    padding: 0 5px;
}

/* Nav links (Pedir como invitado / Iniciar sesión) */
.nav-inline .nav-link {
    color: var(--color-principal);
    font-weight: 500;
    font-size: 1rem;
}

.nav-inline .nav-link.active {
    border-bottom: 2px solid var(--color-principal);
}

/* Resaltar errores */
.form-error {
    color: red;
    font-size: 0.9rem;
}

/* Resaltar los labels */
.form-group label {
    font-weight: 500;
    color: #333;
}

/* Checkbox */
.custom-checkbox span {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 0.2px;
}

label.psgdpr_consent_message a {
    color: #ffffff;
}

/* Mejoras pequeñas */
.form-footer {
    margin-top: 20px;
}

.block-promo .promo-name .cart-summary-line span {
    color: #dd060a;
    font-weight: 700;
}
body#checkout section.checkout-step .content {
    padding: 20px;
    padding-top: 1rem;
}

body#checkout section.checkout-step.-current+.checkout-step .step-title {
    border-bottom: 0px;
}

body#checkout section.checkout-step .step-title {
    border-bottom: 0px;
    font-size: 18px;
}

body#checkout #header .header-nav {
    background-color: rgba(0, 0, 0, 0);
}

#checkout .cart-grid-body.col-xs-12.col-lg-8 {
    padding-top: 35px;
}

body#checkout section#js-checkout-summary {
    background: var(--color-blanco);
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08) !important;
    margin-top: 35px;
}

body#checkout .ets_solo_social_wrapper.lgp.mobile {
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08) !important;
    background: var(--color-cabecera);
}

body#checkout .ets_solo_or span {
    background-color: var(--color-cabecera);
}

.ets_solo_or span {
    color: var(--color-titulo);
}

body#checkout .cart-grid-right {
    position: sticky;
    top: 100px;
    /* Ajusta según el padding o header fijo */
    align-self: start;
    /* Por si usas flexbox */
    z-index: 10;
    /* Para asegurarte de que quede por encima si hay solapes */
}

body#checkout #cart-summary-product-list {
    display: block !important;
}

body#checkout #header {
    position: unset;
}

body#checkout {
    background-color: #ebeced4a !important;
}

article.product-miniature.js-product-miniature {
    background-color: var(--color-blanco);
    /*border: 1px solid #dbdbdb;*/
    border-radius: .5rem;
    padding: 0px;
    position: relative;
    margin-top: 20px;
}

article.product-miniature.js-product-miniature.reviews-loaded:hover {
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body#checkout section.checkout-step .address-item.selected {
    background: #fff;
    border: var(--color-acento) 3px solid;
    border-radius: 5px;
}

/***CHECKOUT MOVIL**********/
@media (max-width: 767px) {
    body#checkout #header .top-logo {
        justify-content: center;
    }

    body#checkout #header .header-nav {
        background: var(--color-blanco);
    }

    body#checkout #header,
    #header .header-top {
        background-color: var(--color-blanco);
    }

    body#checkout #header {
        padding: 25px 0px 25px;
    }
}

.txt-copy {
    font-size: 12px;
    text-align: center;
}

/********MINIATURA*************/
.product-miniature .highlighted-informations .quick-view {
    font-size: 1rem;
    color: #7a7a7a;
    font-family: var(--fuente-base);
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    color: var(--color-blanco);
    text-transform: uppercase;
    box-shadow: none;
    padding: 8.5px 1.25rem;
    border-radius: 10px;
    background-color: var(--color-principal);
    transition: .3s all ease-in-out;
}

.product-miniature .highlighted-informations .quick-view:hover {
    color: var(--color-blanco);
}

.product-miniature .highlighted-informations {
    background: unset;
}

.product-price-and-shipping.d-flex.align-items-center {
    display: flex !important;
}

.product-price-and-shipping {
    display: flex;
    flex-direction: row-reverse !important;
    justify-content: center !important;
}

.product-miniature .thumbnail-container {
    position: relative;
    height: auto;
    margin-bottom: 0px;
    overflow: hidden;
    background: #fff;
    /*max-height: 425px;*/
}

.addtocartattrproductlist {
    height: 20px;
}

/* Precio con oferta → rojo */
.product-price-and-shipping:has(.discount-percentage) .price {
    color: #ba041a;
    font-weight: bold;
    font-size: 20px;
    margin-right: 12px;
}

/* Precio sin oferta → negro */
.product-price-and-shipping:not(:has(.discount-percentage)) .price {
    color: #000;
}

/*******THEME RKR**********/

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
body {
    color: var(--color-principal);
}


.h1,
.h2,
.h3 {
    font-family: Nunito;
    font-size: 30px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1;
    letter-spacing: normal;
}


#products .products-section-title,
.featured-products .products-section-title,
.product-accessories .products-section-title {
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.carousel .carousel-control .icon-next:hover i,
.carousel .carousel-control .icon-prev:hover i,
.dropdown:hover .expand-more,
.page-my-account #content .links a:hover i,
.search-widget form button[type=submit] .search:hover,
.top-menu .sub-menu a:hover {
    color: var(--color-hover);
}

#products .all-product-link,
.featured-products .all-product-link,
.product-accessories .all-product-link {
    color: #var(--color-principal);
}

.carousel .carousel-item .caption .display-1 {
    font-size: 32px;
    color: var(--color-principal);
    font-weight: 700;
}

.carousel .carousel-item .caption .caption-description .page-content.page-cms ul,
.carousel .carousel-item .caption .caption-description p,
.page-content.page-cms .carousel .carousel-item .caption .caption-description ul {
    color: var(--color-principal);
}

.carousel .carousel-item .caption .caption-description h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-principal);
}

.cart-icon path {
    fill: #355E3B !important;
    stroke: #355E3B !important;
}

.header svg {
    fill: rgb(122 122 122 / 0%);
}

#_desktop_user_info .user-info svg path {
    fill: var(--color-principal);
}

body#checkout a:hover {
    color: var(--color-principal);
}


#subcategories ul li:hover .subcategory-image a {
    padding: 0px;
    border: 0px solid var(--color-principal);
}

#subcategories ul li .subcategory-image a {
    padding: 0px;
    border: 0px;
}

span.cart-products-count {
    display: block !important;
}

span.cart-products-count {
    position: absolute;
    top: 10px;
    right: 5px;
    background-color: #f1c40f;
    color: var(--color-principal);
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    line-height: 1;
    min-width: 20px;
    text-align: center;
    z-index: 2;
}

/* Contenedor general de la sección de cuenta */
.page-content .links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}

/* Estilo individual de cada bloque de enlace */
.page-content .links a {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--color-principal);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
    max-width: 250px;
    flex: 1 1 220px;
}

/* Hover */
.page-content .links a:hover {
    background-color: var(--color-fondo);
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Iconos */
.page-content .links i.material-icons {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--color-principal);
    transition: color 0.3s ease;
}

/* Texto */
.page-content .links .link-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-titulo);
    text-transform: uppercase;
    line-height: 1.4;
}

.page-content .links a:hover i.material-icons {
    color: var(--color-acento);
}

.page-content .links a:hover .link-item {
    color: var(--color-principal);
}

/* Cerrar sesión */
.page-footer a {
    display: block;
    text-align: center;
    font-weight: bold;
    margin: 30px 0;
    color: var(--color-blanco);
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--color-terciario);
    max-width: 200px;
    border-radius: 10px;
    padding: 10px;
    margin: 10px auto;
}

.page-footer a:hover {
    color: var(--color-acento);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 576px) {
    .page-my-account #content .links {
        -ms-flex-pack: start;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .page-content .links {
        gap: 20px;
    }

    .page-content .links a {
        padding: 15px;
    }
}

.page-my-account #content .links a i {
    color: var(--color-terciario);
}


/***submenu login user**/
.user-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-principal);
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 99;
    min-width: 180px;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-wrapper:focus-within .user-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-dropdown-menu .user-name {
    font-weight: bold;
    margin-bottom: 10px;
}

.user-dropdown-menu a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: var(--color-principal);
}

.user-dropdown-menu a:hover {
    color: var(--color-acento);
}

@media (max-width: 767px) {
    .user-label {
        display: none;
    }

}

.home-slider .custom-html h2 {
    color: #2f5842;
}

.home-slider .custom-html p {
    color: #2f5842;
}

/*SOY RESPONSIFVE*/
div#_desktop_contact_link {
    color: #fff;
}

div#_desktop_contact_link a {
    color: #fff;
}

#header .header-nav #_desktop_contact_link #contact-link {
    margin: 7px;
}

div#soyresponsiveslider_wrapper {
    border-bottom: solid 25px var(--color-principal);
}

/*******DESCUENTO POR CANTIDAD*****/
ul.table-products .save_amount {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #FFF;
    text-align: center;
    border-radius: 5px;
}

ul.table-products {
    grid-auto-columns: 157px;
    gap: 2px;
}

p.discount {
    color: #2c2c2c;
    font-size: 14px;
    line-height: 1;
}

ul.table-products p {
    margin-bottom: 0.5em;
    padding: 3px 7px;
}

ul.table-products li.table-products-item {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 12px 16px;
    background-color: var(--color-blanco);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

@media screen and (min-width: 1545px) {
    ul.table-products {
        grid-template-areas: "a a a";
    }
}

@media screen and (max-width: 1544px) and (min-width: 768px) {
    ul.table-products {
        grid-template-areas: "a a a";
    }

    .col-centro {
        padding: 0px;
    }
}

@media (max-width: 767px) {
    ul.table-products {
        grid-auto-columns: auto;
        gap: 10px;
    }
}

@media only screen and (max-width: 499px) {
    ul.table-products {
        grid-template-areas: "a a";
    }

    ul.table-products {
        grid-auto-columns: 50%;
        gap: 4px;
    }

    .col-centro {
        padding: 16px;
    }
}

@media only screen and (max-width: 365px) {
    ul.table-products {
        grid-template-areas: "a ";
    }

    ul.table-products {
        grid-auto-columns: 100%;
        gap: 4px;
    }

    .col-centro {
        padding: 16px;
    }
}

/********** CARRUSEL DE SUBCATEGORÍAS **********/
a.subcategory-name {
    font-size: 16px;
}

#subcategories {
    border-top: 0px;
}

#subcategories .subcategory-heading {
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

#subcategories {
    position: relative;
    margin-bottom: 20px;
}

#subcategories ul.subcategories-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

/********** TARJETAS SUBCAT – DISEÑO FUSIONADO **********/

#subcategories ul.subcategories-list>li {
    flex: 0 0 auto;
    width: 160px;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.3s ease-in;
    position: relative;
}

#subcategories ul.subcategories-list>li:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--color-fondo-claro);
    /*border: 1px solid var(--color-fondo-claro);*/
}

/********** LÍNEA DECORATIVA INFERIOR **********/

#subcategories ul.subcategories-list>li::after {
    content: '';
    display: block;
    height: 3px;
    width: 40%;
    margin: 8px auto 0;
    background: var(--color-principal);
    border-radius: 2px;
}

/********** IMÁGENES REDUCIDAS **********/

#subcategories .subcategory-image {
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

#subcategories .subcategory-image img {
    max-height: 110px;
    max-width: 80%;
    object-fit: contain;
    border-radius: 6px;
}

/********** NOMBRE DE LA SUBCATEGORÍA **********/

#subcategories h5 {
    font-size: 14px;
    font-weight: 700;
    color: #007cbd;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-family: "Poppins", sans-serif;
}

#subcategories h5 a {
    color: var(--color-principal);
    text-decoration: none;
}

#subcategories h5 a:hover {
    color: #005f9e;
}

/********** FLECHAS ESTILIZADAS **********/

#subcategories .subcat-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: background 0.2s ease, color 0.2s ease;
}

#subcategories .subcat-arrow:hover {
    background: #f2f2f2;
    color: #000;
}

#subcategories .subcat-arrow.left {
    left: -10px;
}

#subcategories .subcat-arrow.right {
    right: -10px;
}

/********** ENTRADA SUAVE **********/

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/********** OPCIONAL: OCULTAR FLECHAS EN DESKTOP **********/

@media (min-width: 1025px) {
    #subcategories .subcat-arrow {
        display: none;
    }
}

/**************COMBINACIONES**************
#group_11 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    padding: 0;
    list-style: none;
}

#group_11 li.input-container {
    flex: 0 0 calc(25% - 10px);
    box-sizing: border-box;
}

/* Ocultar los radios 
#group_11 input.input-radio {
    display: none;
}

/* Estilo visual de cada botón 
#group_11 .radio-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1.5px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover visual 
#group_11 .radio-label:hover {
    border-color: #007cbd;
    color: #007cbd;
}
/* Activo *
#group_11 input:checked+.radio-label {
    background-color: #007cbd;
    color: #fff;
    border-color: #007cbd;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 124, 189, 0.3);
}

/* Desactivados 
#group_11 input:disabled+.radio-label {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Responsive: 3 por fila en tablet
@media (max-width: 1024px) {
    #group_11 li.input-container {
        flex: 0 0 calc(33.333% - 10px);
    }
}

/* Responsive: 2 por fila en móvil 
@media (max-width: 500px) {
    #group_11 li.input-container {
        flex: 0 0 calc(50% - 10px);
    }
}*/
/**************COMINACIONES********/
/*********** PATCH — VARIANTES NEUTRAS, GRID 3x, SIN ICONOS ***********/
html,
body {
    overflow-x: hidden;
}

/* Limitar listas de variantes y sus items */
.product-variants .product-variants-item,
.product-variants .product-variants-item ul,
ul[id^="group_"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

.product-variants .product-variants-item ul li,
ul[id^="group_"]>li {
    min-width: 0 !important;
    max-width: 100% !important;
    float: none !important;
    /* suele ser el culpable */
    box-sizing: border-box;
}

/* Evita cambios de tamaño en estado seleccionado */
ul[id^="group_"]>li.seleccionado {
    border-width: 1px !important;
    padding: 10px 14px !important;
    outline: 2px solid #000;
    outline-offset: -2px;
}


/* 1) Contenedor: grid 3 columnas (2 en tablet, 1 en móvil) */
.product-variants>.product-variants-item ul,
ul#group_11 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 2) Cada li: tarjeta neutra, sin hueco para check, tamaño estable */
.product-variants>.product-variants-item ul li {
    width: auto !important;
    /* anula 30% */
    margin: 0 !important;
    /* usamos gap del grid */
    padding: 10px 14px !important;
    /* anula padding-right:28px */
    border: 1px solid #e5e5e5 !important;
    /* gris claro */
    background: #fafafa !important;
    /* fondo claro */
    border-radius: 10px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
    overflow: visible !important;
    cursor: pointer;
    box-sizing: border-box;
}

/* 3) Tipografía interna */
.radio-label,
span.radio-label-outstock {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: center !important;
    color: #222 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* 4) Hover (sólo sutil) */
li.input-container.float-xs-left.radio-label-stock:hover {
    border-color: #bdbdbd !important;
    background: #f3f3f3 !important;
}

/* 5) Sin stock: apagado y clic deshabilitado */
li.input-container.float-xs-left.radio-label-outstock {
    border-color: #e0e0e0 !important;
    background: #f7f7f7 !important;
    color: #999 !important;
    opacity: .55 !important;
    cursor: not-allowed !important;
}

/* 6) Eliminar iconos antiguos */
li.input-container.float-xs-left.radio-label-stock::before,
li.input-container.float-xs-left.radio-label-outstock::before {
    content: none !important;
}

/* 7) Seleccionado: borde negro + outline interno (NO cambia tamaño) */
li.input-container.float-xs-left.seleccionado {
    border: 1px solid #000 !important;
    /* mantiene grosor */
    background: #fff !important;
    outline: 2px solid #000;
    outline-offset: -2px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

/* 8) Seleccionado sin stock (si llega ese estado): gris */
li.input-container.float-xs-left.sinstock.seleccionado {
    border: 1px solid #bdbdbd !important;
    outline: 2px solid #bdbdbd;
    background: #fff !important;
}

/* 9) El span del input no debe alterar estilos */
.product-variants input.input-radio+span {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

/* 10) Responsive */
@media (max-width: 991px) {

    .product-variants>.product-variants-item ul,
    ul#group_11 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {

    .product-variants>.product-variants-item ul,
    ul#group_11 {
        grid-template-columns: 1fr;
    }
}

.product-variants .product-variants-item ul:has(input.input-color) li label {
    display: block !important;
    width: 100% !important;
    cursor: pointer;
    margin: 0 !important;
    height: 40px !important;
}

li.float-xs-left.input-container:has(input.input-color:checked) {
    border: 2px solid var(--color-principal) !important;
    box-shadow: unset;
    padding: 0px !important;
    margin: 0px !important;
}

.product-variants>.product-variants-item .color {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0px;
    padding: 0px;
}

/********CARRITO*******/
.card.cart-summary {
    background: var(--color-blanco);
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08) !important;
    margin-top: 20%;
}

.product-line-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* espacio entre bloques */
}

.cart-overview.js-cart {
    margin: 25px 0;
    background: var(--color-blanco);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.card.cart-summary.chil-cart-container-summary {
    margin: 25px 0;
    background: var(--color-blanco);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.ets_solo_social_wrapper {
    margin: 25px 0;
    background: var(--color-cabecera);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

h3.ets_solo_social_title {
    color: var(--color-principal);
}

.product-line-grid-right .cart-line-product-actions,
.product-line-grid-right .product-price {
    font-size: 18px;
    font-weight: 700;
    line-height: 2rem;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
}

.cart-detailed-totals.js-cart-detailed-totals {
    padding: 15px;
}

.card-block.checkout {
    padding: 15px;
}

@media screen and (max-width: 767px) {
    .card-block {
        padding: 20px;
    }
}


/*******Carrito Movil********/
/* ===== Carrito: versión móvil pulida (solo ≤767px) ===== */
@media (max-width: 767px) {

    /* Grid propio en móvil y neutralizar col-* dentro del item */
    .cart-item .product-line-grid {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 10px;
        align-items: center;
    }

    .cart-item .product-line-grid>[class*="col-"] {
        float: none !important;
        width: auto !important;
        padding: 0 !important;
    }

    /* Posiciones */
    .cart-item .product-line-grid-left {
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .cart-item .product-line-grid-body {
        grid-column: 2;
        grid-row: 1;
    }

    .cart-item .product-line-grid-right {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-top: 6px;
    }

    /* Imagen */
    .cart-item .product-line-grid-left .product-image,
    .cart-item .product-image {
        width: 90px;
        min-width: 90px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-item .product-image img {
        width: 80px;
        height: 80px;
        object-fit: contain;
        background: #fff;
        border-radius: 8px;
        display: block;
        max-width: none !important;
    }

    /* Precio unitario (debajo del título) — usa tu styled-price */
    .cart-item .product-line-grid-body .product-price {
        margin-top: 4px;
    }

    .cart-item .product-line-grid-body .styled-price .price-integer {
        font-size: 25px;
        font-weight: 800;
        line-height: 1;
    }

    .cart-item .product-line-grid-body .styled-price .price-super {
        font-size: 14px;
        position: relative;
        top: -8px;
    }

    /* Bloque derecho: qty → total → papelera */
    /* Aplana las filas anidadas que trae el tema para que no se monten */
    .cart-item .product-line-grid-right>.row {
        display: flex !important;
        align-items: center;
        gap: 12px;
        margin: 0 !important;
        width: 100%;
    }

    .cart-item .product-line-grid-right>.row>.col-md-10 {
        flex: 1 1 auto;
        width: auto !important;
        padding: 0 !important;
    }

    .cart-item .product-line-grid-right>.row>.col-md-10>.row {
        display: flex !important;
        align-items: center;
        gap: 12px;
        margin: 0 !important;
        width: 100%;
    }

    .cart-item .product-line-grid-right>.row>.col-md-2 {
        flex: 0 0 auto;
        width: auto !important;
        padding: 0 !important;
        display: flex;
        justify-content: flex-end;
    }

    /* Cantidad */
    .cart-item .product-line-grid-right .qty {
        flex: 0 0 120px;
        max-width: 120px;
    }

    .cart-item .bootstrap-touchspin {
        max-width: 120px;
    }

    .cart-item .bootstrap-touchspin input[type="number"] {
        height: 40px;
        font-size: 16px;
        text-align: center;
        border-radius: 6px 0 0 6px;
    }

    .cart-item .input-group-btn-vertical .btn {
        padding: 8px;
    }

    .product-line-grid-body>.product-line-info>.label {
        font-size: 18px;
    }
}

/* Móvil: alinear la miniatura arriba */
@media (max-width: 767px) {

    /* El grid no centre verticalmente sus celdas */
    .cart-item .product-line-grid {
        align-items: start;
        /* antes estaba en center */
    }

    /* El contenedor de la imagen deja de centrar en vertical */
    .cart-item .product-line-grid-left .product-image,
    .cart-item .product-image {
        align-items: flex-start !important;
        /* arriba */
        justify-content: center;
        /* centrada en horizontal */
    }

    /* Por si el <img> trae algún margen o baseline raro */
    .cart-item .product-image img {
        display: block;
        margin: 0;
        vertical-align: top;
    }

    /* Asegura que el bloque de info también arranque arriba */
    .cart-item .product-line-grid-body {
        align-self: start;
    }
}

/*****precio rebajado y oferta******/
.product-line-info.product-price.has-discount .styled-price {
    display: inline-flex;
    align-items: flex-end;
    margin: 0;
}

.product-line-info.product-price.has-discount .product-discount {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    /* separa del hero-price */
}

body#cart .cart-grid-right {
    position: sticky;
    top: 100px;
    align-self: start;
    z-index: 10;
}

.cart-grid-body .card-block h1 {
    margin-bottom: 0;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 2rem;
    color: #333;
}


/********LG COMMENTS********/
.product-miniature .stars-container {
    margin-top: 10px;
}

.product-miniature .stars-container span {
    display: none;
}

div#googleRichSnippets {
    display: none;
}

.product-comments-additional-info {
    justify-content: center;
}

.btn-comment,
.btn-comment-inverse {
    height: 38px;

    background-color: var(--color-principal);
    color: #ffffff;
    font-size: 15px;
    padding: 10px;
    text-align: center;
    border-radius: 10px;
}

#form_review_popup #submit_review {
    background: #23253a;
    border: 1px solid #23253a;
}

@media (max-width: 767px) {
    #widget_block {
        text-align: center;
        padding: 0px;
        z-index: 9999;
        display: none;
    }
}

/******Entrega estimada*********/
.estimateddelivery-list p {
    margin-bottom: 0;
    text-align: center;
    font-size: 16px !important;
}

.estimateddelivery-list *,
.estimateddelivery-list *::before {
    font-size: 16px !important;
}

#product #estimateddelivery strong,
article.product-miniature .estimateddelivery .date_green,
.hook_displayEDInProductList .estimateddelivery .date_green {

    animation: blinker 1s linear infinite;
    font-weight: bold;
}

.comment_anchor_content {
    text-align: center;
    font-size: 12px;
}

/*******LG COMMENTS HOME******/
/* Tarjeta  blanca, borde fino, sombra suave */
#lgcomments-owl .item .slide-container {
    background: #fff;
    border: 1px solid #E9EEF3;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    /* adiós centrado */
}

/* Título de la reseña */
#lgcomments-owl .slide-title {
    font-weight: 500;
    color: #3c4043;
    margin: 2px 0 0;
    font-size: 15px;
}

/* Comentario alineado, con clamp de 4 líneas */
#lgcomments-owl .slide-comment {
    color: #2a3340;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*LISTADO ATRIBUTOS MINIATURA*/
.addtocartattrproductlist-product-add-to-cart {
    display: none;
}

#samecategory_4 .addtocartattrproductlist-product-add-to-cart {
    display: none;
}

select.form-control:not([size]):not([multiple]) {
    height: calc(1.5rem - 0px);
    width: 75%;
    margin: 0 auto;
}

div#afFinalizeCart {
    display: none;
}

/*BOTON AÑADIR CARRITO MODULO ATRIBUTOS MINIATURA*/
/*MODULO CARRITO SIDEBAR*/
body .btnOpenCloseToaster {
    display: none;
}

.btnCardOrder a {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
}

/*Amaizing Filter*/
#amazzing_filter {
    box-shadow: unset;
}

div#lgcomment button#displayLess {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #FFF;
    text-align: center;
    border-radius: 5px;
}

div#lgcomment button#displayMore {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #FFF;
    text-align: center;
    border-radius: 5px;
}

#amazzing_filter.block .title_block {
    font-weight: 500;
}



/****************ets login***************/
div#_desktop_user_info .ets_solo_social_wrapper.slw_and_alw.alw {
    margin: auto;
    background: var(--color-cabecera);
    border-radius: 12px;
    padding: 0px 0px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: 'Poppins', sans-serif;
}

.ets_social_login {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    min-width: 180px;
    max-width: 250px;
}

.links .link-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    opacity: .9;
}

/*******DIRECCIONES*******/
.address {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    padding: 18px 18px 14px;
    min-height: 160px;
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}

/* franja superior en color de marca */
.address::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    opacity: .95;
}

.address:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
}

/* Iconos */
.page-content .links i.material-icons {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--color-principal);
    transition: color 0.3s ease;
}

/* cuerpo */
.address-body h4 {
    font-weight: 300;
    color: var(--color-principal);
    margin: 4px 0 10px;
    font-size: 18px;
}

.address-body address {
    margin: 0;
    color: #3b3f4a;
    line-height: 1.45;
    font-style: normal;
    font-size: 14px;
}

/* acciones como “ghost buttons” */
.address-footer a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 116, 180, .06);
    color: var(--color-principal);
    font-weight: 700;
    text-decoration: none;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.address-footer a:hover {
    background: rgba(26, 116, 180, .12);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

/* Texto */
.page-content .links .link-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-titulo);
    text-transform: uppercase;
    line-height: 1.4;
}

/* tarjeta “Crear nueva dirección” como CTA */
#addresses a[data-link-action="add-address"],
a[href*="crear-nueva-direccion"],
a[href*="address?new"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 10px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

#addresses a[data-link-action="add-address"]:hover {
    filter: brightness(1.02);
}


/*******DATOS PERSONALES********/
form#customer-form {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    border-radius: 16px;
   /* box-shadow: 0 6px 18px rgba(0, 0, 0, .08);*/
    padding: 18px 18px 14px;
    min-height: 160px;
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}

form#customer-form:before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    opacity: .95;
}
/*********SLIDER BANNERS HOME********/

/* Agrupar visualmente el slider y los banners en horizontal */
.cb-wrapper.w-7.type-2.home-slider.box-shadow,
.cb-wrapper.w-6.type-1.compact-gutters-container.img-box-shadow.clearfix {
  display: inline-block;
  vertical-align: top;
}

/* Slider a la izquierda */
.cb-wrapper.w-7.type-2.home-slider.box-shadow {
  width: 62%;
}

/* Banners a la derecha */
.cb-wrapper.w-6.type-1.compact-gutters-container.img-box-shadow.clearfix {
  width: 35%;
}

/* Hacer que los banners se apilen verticalmente */
.cb-wrapper.w-6 .cb-item {
  width: 100% !important;
  margin-bottom: 15px;
}


@media (max-width: 1500px) {
  
  .cb-wrapper.w-6 .cb-item { 
    margin-bottom: 0;
}
  .cb .compact-gutters {
    padding: 0px;
    padding-right: 15px;
    padding-left: 15px;
 }
}
/* Responsivo: en móvil apilar todo */
@media (max-width: 991px) {
  .cb-wrapper.w-7.type-2.home-slider.box-shadow,
  .cb-wrapper.w-6.type-1.compact-gutters-container.img-box-shadow.clearfix {
    display: flex;
    width: 100%;
  }
  .cb-wrapper.w-6 .cb-item {
    width: 100% !important;
    margin-bottom: 0;
}
  .cb .compact-gutters {
    padding: 0px;
    padding-right: 15px;
    padding-left: 15px;
 }
}
@media (max-width: 768px) {
  .cb-wrapper.w-7.type-2.home-slider.box-shadow,
  .cb-wrapper.w-6.type-1.compact-gutters-container.img-box-shadow.clearfix {
    display: block;
    width: 100%;
    margin: 0 auto;     
  }
 
  .cb .compact-gutters {
    padding: 0px; 
 }
     .cb-wrapper.w-6 .cb-item { 
        margin-bottom: 0;
        margin-top: 5px;
    }
}

/**** GLOBAL para Easy Carousels***/
.easycarousels .product-miniature .product-description {
    padding: 0px 0;
}

.product-miniature .thumbnail-container {
    /* min-height: 425px;*/
    min-height: auto;
}

div#featuredproducts_1 {
    margin-top: 50px;
}

@media (max-width: 767px) {
    .product-miniature .thumbnail-container {
        /*min-height: 300px;*/
        min-height: auto;
    }

    .c_item {
        padding: 5px 5px;
    }
}

/* Easy Carousels – color de las flechas */
.easycarousel .sw-nav {
    background: var(--color-secundario) !important;
}

.easycarousel .sw-nav:hover,
.easycarousel .sw-nav:focus {
    background: var(--color-hover) !important;
}

/* icono blanco según cómo lo pinte el módulo */
.easycarousel .sw-nav::before {
    color: #fff !important;
}

/* si usa icon font/pseudo */
.easycarousel .sw-nav svg {
    fill: #fff !important;
}

/* si lleva un <svg> */
.easycarousel .sw-nav::after {
    border-color: #fff !important;
}

/* si el arrow es con bordes */

/* GLOBAL para Easy Carousels (Swiper) — móvil: 2 visibles + trocito del 3º, sin scroll */
.easycarousel {
    --gap: 8px;
    --peek: 35px;
}

div#pricesdrop_1 {
    margin-top: 25px;
}

/* separacion y peek */

@media (max-width: 767px) {

    /* 1) Contenedor normal, SIN overflow visible ni padding extra */
    .easycarousel .c_container.ecarousel.swiper {
        overflow: hidden !important;
        padding-right: 0 !important;
    }

    /* 2) Separación entre slides */
    .easycarousel .swiper-wrapper {
        display: flex;
        /* por si algún theme lo toca */
        gap: var(--gap);
    }

    /* 3) Ancho de cada slide: deja sitio dentro para que asome la tercera */
    .easycarousel .swiper-slide {
        width: calc((100% - var(--gap) - var(--peek))/2) !important;
        flex: 0 0 auto;
        box-sizing: border-box;
        margin-right: 0 !important;
    }

    /* 4) Fallback si el navegador no soporta gap en flex */
    @supports not (gap: 1rem) {
        .easycarousel .swiper-wrapper {
            gap: 0;
        }

        .easycarousel .swiper-slide {
            margin-right: var(--gap) !important;
        }

        .easycarousel .swiper-slide:last-child {
            margin-right: 0 !important;
        }
    }
}

/* ≤360px: 1 slide por vista (100% ancho) */
@media (max-width: 380px) {
    .easycarousel {
        --peek: 0px;
    }

    /* sin “asomar” el siguiente */

    .easycarousel .c_container.ecarousel.swiper {
        overflow: hidden !important;
        padding-right: 0 !important;
    }

    .easycarousel .swiper-wrapper {
        display: flex;
        gap: var(--gap);
    }

    .easycarousel .swiper-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-right: 0 !important;
        box-sizing: border-box;
    }

    /* Fallback si el navegador no soporta gap en flex */
    @supports not (gap: 1rem) {
        .easycarousel .swiper-wrapper {
            gap: 0;
        }

        .easycarousel .swiper-slide {
            margin-right: 0 !important;
        }
    }
}


/* Si algún carrusel NO debe tener peek, añade 'no-peek' a su .easycarousel */
@media (max-width: 767px) {
    .easycarousel.no-peek .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
    }
}



/*******FOOTER***************/
.block-social ul li {
    background-color: var(--color-principal);
    border-radius: 50%;
}

.block-social ul li:hover {
    background-color: #232739c2;
}

/*******BLOQUE INFO ******/
/* Contact info con iconos */
.block-contact .ci-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: .35rem 0;
}

.block-contact .ci-ico {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: #23253a;
    opacity: .85;
    line-height: 0;
}

.block-contact .ci-ico svg {
    display: block;
    width: 22px;
    height: 22px;
}

.block-contact .ci-txt {
    line-height: 1.35;
}

.block-contact .ci-row a.ci-txt {
    color: inherit;
    text-decoration: none;
}

.block-contact .ci-row a.ci-txt:hover {
    border-color: transparent;
    text-decoration: none;
}

.social-footer {
    margin-top: 15px;
}

.block-contact a {
    font-weight: 100;
}

.addToCartBar {
    display: none;
}

/*******LOGOS SELLOS FOOTER**************/
.sellos {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 5px 20px 5px;
    flex-direction: row;
}

/* quita margen superior del primer párrafo dentro del panel */
#alcamultifaq-home .alcamultifaq-panel p:first-child {
    margin-top: 20px;
}

/* también puedes suavizar el último */
#alcamultifaq-home .alcamultifaq-panel p:last-child {
    margin-bottom: 20px;
}

p.text-sm-center.txt-copywriter {
    color: var(--color-blanco);
    font-weight: 100;
}

.banner-item-content {
    margin-left: 20px;
}

.copy-sellos {
    /* display: flex;
    justify-content: left;*/
    align-items: center;
    background: var(--color-principal);
    margin-top: 30px;
}

.cb-wrapper.sellos p {
    line-height: 1.1;
    color: var(--color-blanco);
    font-size: 12px;
}

.img-pagos-footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width:575px) {
    .copy-sellos {
        flex-direction: column-reverse;
    }

    .img-pagos-footer img {
        width: 90%;
        max-width: 100%;
        height: auto;

    }

    p.text-sm-center.txt-copywriter {
        text-align: center;
    }

    .txt-certificados-footer {
        display: none;
    }

    .logos-footer img {
        max-width: 100%;
        height: auto;
    }
}

/* ===== FAQs ===== */
#alcamultifaq-home {
    margin-top: 45px;
}

#alcamultifaq-home .alcamultifaq-title {
    font-weight: 700;
    color: #0e1a25;
    margin: 0 0 12px;
}

/* contenedor general con fondo suave */
#alcamultifaq-home .alcamultifaqs {
    background: var(--color-fondo-claro);
    border: 1px solid var(--color-terciario);
    border-radius: 16px;
    padding: 10px;
}

/* cabeceras (acordeón) */
#alcamultifaq-home .alcamultifaq-accordion {
    position: relative;
    margin: 0;
    padding: 16px 48px 16px 16px;
    cursor: pointer;
    background: #fff;
    border: 1px solid #var(--color-fondo-claro);
    border-radius: 12px;
    color: #0e1a25;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

#alcamultifaq-home .alcamultifaq-accordion+.alcamultifaq-panel {
    margin-top: 8px;
}

#alcamultifaq-home .alcamultifaq-accordion:hover {
    border-color: #d6e5f0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

/* icono + / – */
#alcamultifaq-home .alcamultifaq-accordion::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--color-fondo-claro);
    border: 1px solid var(--color-terciario);
    color: #324254;
    font-weight: 700;
}

#alcamultifaq-home .alcamultifaq-accordion.is-open::after {
    content: "–";
}

/* panel */
#alcamultifaq-home .alcamultifaq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
    background: #fff;
    border: 0px solid #e6edf3;
    border-radius: 12px;
    padding: 0 16px;
}

#alcamultifaq-home .alcamultifaq-panel.is-open {
    padding: 12px 16px 16px;
}

#alcamultifaq-home .alcamultifaq-panel p,
#alcamultifaq-home .alcamultifaq-panel li {
    color: #2a3340;
    line-height: 1.6;
    font-size: 16px;
    ;
}

#alcamultifaq-home .alcamultifaq-panel a {
    color: var(--color-acento);
    text-decoration: underline;
}

/* separación entre FAQs */
#alcamultifaq-home [itemprop="mainEntity"] {
    margin: 10px 0;
}

/* responsive */
@media (max-width:575px) {
    #alcamultifaq-home .alcamultifaq-accordion {
        padding: 14px 44px 14px 14px;
    }
}

/* TEXTO HOME SEO */
/* Contenedor SEO */
.seo-block {
    background: var(--color-fondo-claro);
    border: 1px solid var(--color-terciario);
    border-radius: 14px;
    padding: 16px 18px;
    margin: 28px auto;
    color: #2a3340;
    font-size: 15px;
    line-height: 1.65;
    max-height: 200px;
    /* altura inicial */
    overflow: hidden;
    position: relative;
    transition: max-height .5s ease;
}

/* Degradado */
.seo-block::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(247, 249, 251, 0), #f7f9fb 80%);
    pointer-events: none;
    transition: opacity .3s;
}

/* Botón "Leer más" */
.seo-block::after {
    content: "Leer más";
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #1f2a37;
    font-weight: 500;
    border-radius: 999px;
    border: 1px solid #deebf3;
    padding: 6px 14px;
    font-size: .9rem;
    cursor: pointer;
    z-index: 2;
    transition: all .25s ease;
}

/* Cuando se expande */
.seo-block.expanded {
    max-height: 3500px;
    /* ajusta según tu texto */
}

.seo-block.expanded::before {
    opacity: 0;
    /* se oculta el degradado */
}

.seo-block.expanded::after {
    content: "Leer menos";
}

/*********RKR KITS********/
.rkr_product_kit-container .form-block .form-check-input:checked+label>svg.svg {

    color: var(--color-principal);
}

.rkr_product_kit-container .form-block .form-check-input:checked~.form-check-label {
    border-color: var(--color-principal) !important;
}

.rkr_product_kit-container .form-check-input:checked+label {
    background-color: var(--color-fondo-claro) !important;
    ;
    border-color: var(--color-principal) !important;
    ;
    box-shadow: 0 0 0 2px var(--color-fondo-claro) !important;
    ;
}

.rkr-add-kit-to-cart {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2)) !important;
}

.rkr_product_kit-plus {
    background-color: var(--color-principal);
}

.rkr_product_kit-container .form-check-label:hover {
    border-color: var(--color-acento);
    background-color: var(--color-fondo-claro);
}

.rkr_product_kit-btn_info_dialog {
    background-color: var(--color-fondo-claro) !important;
    border: 1px solid var(--color-principal) !important;
    ;
    color: var(--color-principal) !important;
}

.rkr_product_kit-total_price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-precio);
}

/****BLOQUE CONFIANZA HOME/footer *******/

.home-key {
    background: var(--color-cabecera);
    margin-bottom: 25px !important;
    padding: 10px 0 0 0;
}

.kw-content {
    display: flex;
    text-align: left;
    margin-bottom: 5px;
    justify-content: center;
}

.kw-p {
    max-width: 8rem;
    margin: 0 .5rem;
    font-size: .765rem;
    line-height: 1rem;
    font-size: 1rem
}

@media (min-width: 768px) {
    .home-key .container {
        flex-wrap: nowrap
    }
}

.displayWrapperBottom .home-key {
    margin: 0 !important;
}

/********VERIFICADOR DE EDAD +18************/
/* carousel navigation styles */
.sw-nav,
.n-hover:hover .sw-nav {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-top: -25px;
    z-index: 10;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    outline: none;
    transition: all 0.1s ease-in-out;
}

.sw-nav.next,
.n-hover:hover .sw-nav.next {
    transform: rotate(180deg);
    right: 20px;
    left: auto;
    opacity: 1;
}

.sw-nav:before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 2px solid #FFF;
    transform: rotate(45deg);
    border-width: 0 0 2px 2px;
    margin-top: 20px;
    margin-left: 2px;
}

.sw-nav:hover,
.n-hover:hover .sw-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.n-hover .sw-nav {
    left: 0;
    right: auto;
    opacity: 0;
}

.n-hover .sw-nav.next {
    right: 0;
    left: auto;
    opacity: 0;
}

.sw-pgn,
.p-hover:hover .sw-pgn {
    margin-top: 15px;
    display: block;
    text-align: center;
    z-index: 10;
    transition: all 0.1s ease-in-out;
    opacity: 1;
}

.sw-pgn-bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: #333;
    border: 2px solid #FFF;
    border-radius: 100%;
    margin: 0 3px;
    opacity: 0.2;
    outline: none;
    cursor: pointer;
}

.sw-pgn-bullet.active {
    opacity: 1;
}

.p-hover .sw-pgn {
    bottom: 0;
    opacity: 0;
}

.cb .cb-wrapper .hidden {
    display: none;
}

/* home slider navigation buttons */
.home-slider .sw-nav,
.home-slider.n-hover:hover .sw-nav {
    top: auto;
    bottom: 15px;
    width: 56px;
    height: 56px;
}

.home-slider .sw-nav:before {
    margin-top: 23px;
}

.home-slider .sw-nav.prev {
    left: auto;
    right: 85px;
}

.home-slider .sw-nav.next {
    right: 20px;
}

/* home slider texts */
.home-slider .custom-html {
    display: block;
    top: 0;
    left: 0;
    padding: 5%;
    text-align: left;
    color: #FFF;
    font-size: 1.3em;
}

.home-slider .custom-html p {
    max-width: 350px;
    line-height: 1.5;
    color: #FFF;
}

.home-slider .custom-html .btn {
    text-transform: uppercase;
    color: #555;
    background: #FFF;
}

.home-slider .custom-html h2 {
    font-size: 2.1em;
    color: #FFF;
    margin: 0;
    padding: 0;
}

.home-slider {
    margin-bottom: 10px;
}

.home-slider img {
    width: 100%;
}

@media (max-width: 991px) {
    .home-slider .custom-html {
        padding: 10% 5%;
    }

    .home-slider .custom-html h2 {
        font-size: 1.5em;
    }

    .home-slider .custom-html p {
        display: none;
    }
}

@media (max-width: 767px) {
    .home-slider .sw-nav {
        display: none;
    }

    .icons-home-bottom {
        display: none;
    }

    .icons-home-top {
        display: none;
    }
}

#ageVerificationOverlay {
    background: rgba(150, 127, 109, 0.8) !important
}

input#tvagecheckbox {
    appearance: auto !important;
}

#ageVerificationPopup {
    background-color: var(--color-cabecera) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

#ageVerificationPopup .btn.btn-colors {
    background-color: var(--color-acento) !important;
}



/*****SIDEBAR AYUDA FICHA*******/
/* --- Modal lateral BS3 --- */

/* NO tocar el fondo oscuro: lo crea .modal-backdrop */
.i-modal {
    padding: 10px;
}

/* Elimina esto si lo tenías: podría romper la apertura */
/* .modal-open .modal { right:0 !important; } */

#Modal .modal-title-atclient {
    color: #fff;
}

#Modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-principal);
}

#Modal button.close span {
    color: #fff !important;
    font-size: 25px;
}

#Modal .close-head {
    width: 10px;
}

#Modal .txt-head {
    width: 90%;
    text-align: center;
}

#Modal .info-modal {
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

#Modal .modal-content {
    min-height: 650px;
    border: 0;
}

#Modal .text-inicio {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

#Modal .modal-content-1 .info-modal {
    margin-bottom: 20px !important;
}

#Modal .info-modal i {
    margin-right: 5px;
    color: var(--color-titulo);
    font-size: 24px;
}

.info-modal span {
    color: #062e59;
}

/* Panel lateral izquierdo */
#Modal .modal-dialog {
    max-width: 350px;
    width: 350px;
    height: 100vh;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
}

/* Transición para BS3: usa .in (no .show) */
#Modal.fade .modal-dialog {
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%, 0);
    -webkit-transition: -webkit-transform .3s ease;
    transition: transform .3s ease;
}

#Modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

/* Media query */
@media (min-width:544px) {
    #Modal .modal-dialog {
        max-width: 350px;
        width: 350px;
    }
}

/* Fuerza el backdrop por encima de todo, pero por debajo del propio modal */
.modal-backdrop {
    background-color: #000;
    opacity: .45 !important;
    filter: alpha(opacity=45);
    z-index: 100003 !important;
}

.modal {
    z-index: 1003 !important;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(0, 0, 0, .45);
}

div#Modal .modal-dialog {
    background-color: #FFF;

}

img.logo-modal-soporte.img-fluid {
    max-width: 250px;
    text-align: center;
}

.btn.boton-sidebar {
    background: var(--color-hover);
    border-radius: 5px;
    color: var(--color-blanco) !important;
}

.btn.boton-sidebar:hover {
    background: var(--color-acento);
    color: var(--color-blanco);
}

.bloque-ayuda-experto {
    cursor: pointer;
    /* icono de mano */
    transition: transform .2s;
    /* pequeño efecto */
}

.bloque-ayuda-experto:hover {
    transform: scale(1.02);
    /* efecto al pasar el ratón */
}

/*************CONTACTO**********/

:root {
    --brand: #0F7BFF;
    /* cambia por el color principal de SinHumo */
    --brand-ink: #0a3a7a;
    /* tono oscuro opcional para textos/hover */
    --surface: #ffffff;
    --line: #eeeeee;
    --muted: #6b7280;
}

.c-hero-support {
    text-align: center;
    margin: 12px 0 24px;
}

.c-hero-support .c-hero-sub {
    opacity: .85;
    font-size: 1.05rem;
}

.c-block-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 24px 0 12px;
}

.c-card-grid {
    display: grid;
    gap: 14px;
}

.c-card-grid.-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.c-card-grid.-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width:1199px) {
    .c-card-grid.-six {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:767px) {
    .c-card-grid.-six {
        grid-template-columns: repeat(2, 1fr);
    }

    .c-card-grid.-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width:467px) {
    .c-card-grid.-three {
        display: block;
    }

    .c-card-grid.-six {
        grid-template-columns: repeat(1, 1fr);
    }

    .c-card.-contact {
        align-items: flex-start;
        margin: 5px;
    }

    .c-card.-contact {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        box-shadow: none;
    }
}

.c-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    text-decoration: none;
    color: inherit;
}

.c-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    border-color: #e5e7eb;
}

.c-card .c-ico {
    font-size: 22px;
    line-height: 1;
}

.c-card .c-tit {
    font-weight: 600;
}

.c-quick-links .c-list-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.c-link-row:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    border-color: #e5e7eb;
}

.c-card.-contact {
    align-items: flex-start;
}

.c-card-ico {
    font-size: 28px;
    line-height: 1;
}

.c-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.c-big {
    font-size: 1.15rem;
    font-weight: 700;
}

.c-btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
}

.c-btn.-primary {
    background: linear-gradient(90deg, var(--color-acento), var(--color-acento2));
    color: var(--color-blanco);
}

.c-btn.-primary:hover {
    filter: brightness(.95);
}

.c-btn.-ghost {
    background: transparent;
    border-color: #ddd;
    color: #333;
}

.c-btn.-ghost:hover {
    border-color: #cfcfcf;
}

.c-btn.-wa {
    background: #25D366;
    color: #fff;
}

.c-btn.-wa:hover {
    filter: brightness(.95);
}

.c-card.-form {
    padding: 20px;
}

.c-contact-form .form-group {
    margin-bottom: 14px;
}

.c-contact-form .form-control {
    border-radius: 10px;
}

.c-contact-form label {
    font-weight: 600;
}

.c-muted {
    color: var(--muted);
    margin: -4px 0 12px;
}

.c-check {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.c-trustbar {
    margin: 24px 0 8px;
}

.c-trustbar-inner {
    display: flex;
    gap: 18px;
    justify-content: center;
    font-weight: 600;
    background: #fafafa;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 16px;
    flex-wrap: wrap;
}

body#contact form.form-horizontal {
    width: 100%;
}


.product-quantity .input-group-btn-vertical .btn {
    padding: 0.62rem .6875rem;
}

.btn-primary {
    font-family: Nunito;
    font-size: 15px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    text-align: center;
    color: var(--color-blanco);
    text-transform: none;
    box-shadow: none;
    padding: 8.4px 1.25rem;
    border-radius: 10px;
    background-color: var(--color-terciario);
    transition: .3s all ease-in-out;
}

/* Footer: devolver gutters y evitar que el bloque “links” se encoja */
.footer-container .wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* En el footer, que los UL de las columnas NO hereden display raro */
.footer-container .links {
    display: block;
}

.footer-container .links .collapse {
    display: block !important;
    height: auto !important;
}

/* Pero en móvil seguimos con acordeón */
@media (max-width: 767px) {
    .footer-container .links .collapse {
        display: none !important;
    }

    .footer-container .links .collapse.in {
        display: block !important;
    }
}

/* Si una columna interna (“Información”/“Legal”) se queda en 50%, fuerzamos 100% en móvil */
@media (max-width: 767px) {
    .footer-container .col-md-6.links>.row>[class*="col-"] {
        width: 100%;
        float: none;
    }
}

/* Mostrar solo una vista según ancho */
@media (min-width: 992px) {
    .gallery-desktop {
        display: block;
    }

    .gallery-mobile {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .gallery-desktop {
        display: none;
    }

    .gallery-mobile {
        display: block;
    }
}
/* Oculta cualquier .gallery-mobile que venga después de la primera */
.images-container.gallery-mobile ~ .images-container.gallery-mobile{
  display:none !important;
}
/* Oculta cualquier .gallery-desktop que venga después de la primera */
.images-container.images-stack.gallery-desktop:not(:first-child) {
    display: none !important;
}

/* Desktop: columna apilada (ya lo tenías) */
.images-stack .product-cover-wrap {
    margin-bottom: 18px;
}

.images-stack .product-cover-wrap:last-child {
    margin-bottom: 0;
}

.images-stack img {
    width: 100%;
    height: auto;
    display: block;
}

/* Móvil: miniaturas -> puntos centrados */
.gallery-mobile .product-images {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 25px;
}

.gallery-mobile .thumb-container {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
}

.gallery-mobile .thumb-container img {
    opacity: 0;
    width: 100%;
    height: 100%;
}

.gallery-mobile .thumb-container::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cfcfcf;
}

.gallery-mobile .thumb-container.selected::before,
.gallery-mobile .thumb-container.active::before {
    background: #222;
}

/* flechas fuera en móvil si las inyecta el theme */
@media (max-width: 991.98px) {
    .scroll-box-arrows {
        display: none;
    }
}

.images-stack img,
.gallery-mobile .product-cover img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
}

#product #content {
    max-width: 100%;
}

/****CLUSTER HOME********/

/* Grid general */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

/* Item de categoría */
.categoria-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;                 /* Fondo limpio */
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-decoration: none;
    color: #313131;
    transition: all 0.3s ease;
}

/* Iconos SVG */
.categoria-item svg {
    width: 55px;
    height: 55px;
    flex-shrink: 0;                   /* No se deforma */
    stroke: #222;                     /* Color neutro */
    transition: stroke 0.3s ease;
}

/* Texto */
.categoria-item span {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 600;
    color: #313131;
}

/* Hover (efecto al pasar el ratón) */
.categoria-item:hover {
    border-color: #e53935;            /* Rojo de marca */
    background: #fff5f5;              /* Suavísimo rojo claro */
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.1);
    transform: translateY(-3px);
}

.categoria-item:hover svg {
    stroke: #e53935;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .categorias-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .categorias-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .categorias-grid { grid-template-columns: 1fr; }
}

/*********filter home************/
body#index .horizontal-layout .closed .af_subtitle {
    border-color: #D0D5DB;
    border: 1px solid #ddd;
    border-radius: 0px 10px 10px 0px;
    text-decoration: none;
}
@media (min-width: 768px) {
   .horizontal-layout .h-el {
      width: 25%;
   } 
}


/* Contenedor del filtro: mantiene ancho original y deja sitio al número */
body#index #af_form .af_filter {
    position: relative;
    display: inline-block;
    margin-right: 35px;
}

/*  Añadir número (paso 1,2,3 según filtro) */
body#index #af_form .af_filter[data-key="c"]::before { content: "1"; }
body#index #af_form .af_filter[data-key="p"]::before { content: "2"; }
body#index #af_form .af_filter[data-key="m"]::before { content: "3"; } 

/* Estilo del número como el diseño original (pegado y alineado) */
body#index #af_form .af_filter::before {
    position: absolute;
    left: -24px;           /* Pega el número a la caja, sin montarse */
    top: 50%;
    transform: translateY(-50%);
    width: 32px;           /* Tamaño compacto */
    height: 33px;
    background: #cd3029;   /* Color corporativo */
    color: #fff;
    font-size: 16px;
    line-height: 24px;     /* Centra el número verticalmente */
    font-weight: 600;
    padding: 5px 5px 0px 10px;
    text-align: center;
    border-radius: 4px;

    /* Borde blanco para no tapar el borde gris del filtro */
    box-shadow: 0 0 0 2px #fff;
}


 /******MARCAS*******/
.brand-infos p {
    text-align: center;
}

/*********RKR RELACIONAL*******/
/* =============================
   BLOQUE RECOMENDADOS "TEST1"
   SOLO EN PÃGINA DE PRODUCTO
============================= */

/* Quitar estilos de tarjetas y fondos */
#product .rkr_relational-container,
#product .rkr-template-default.rkr-hook-displayRkrRelational,
#product .rkr_relational-products,
#product .rkr_tabs,
#product .rkr_relational-products .product,
#product .rkr_relational-products article.product-miniature {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 5px !important;
  
   
}
section.rkr_relational-container.clearfix {
    margin-top: 45px !important;
}

/* Quitar scroll forzado */
#product .rkr_relational-products,
#product .rkr_relational-products[style] {
  max-height: unset !important;
  overflow: visible !important;
}

/* TÃ­tulo */
#product .rkr_relational_title {
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: .4rem;
  margin-bottom: .6rem;
  border-bottom: 2px solid #eee;
}

/* ========== FILA DE PRODUCTO ========== */
#product .container-product article {
    border: 1px solid #e2e2e2;
}
#product .rkr_relational-products .product-miniature {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100%;
  padding: 5px 0px !important;
}

/* Imagen */
#product .rkr_relational-products .thumbnail-container {
  flex: 0 0 42px !important;
  min-height: unset !important;
  height: auto !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}
#product .rkr_relational-products .thumbnail-container img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: 4px !important;
}

/* Nombre */
#product .rkr_relational-products .product-description {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
}
#product .rkr_relational-products .product-title a {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100%;
}

/* Precio */
#product .rkr_relational-products .product-price-and-shipping {
  margin-right: 8px !important;
}
#product .rkr_relational-products .price {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

/* BotÃ³n */
#product .rkr_relational-products .add-to-cart {
      padding: 4px 15px !important;
}

#product .rkr_relational-products .add-to-cart i {
  font-size: 15px !important;
  color: #fff !important;
}

/* Responsive */
@media (max-width: 575.98px){
  #product .rkr_relational-products .thumbnail-container img {
    width: 40px !important;
    height: 40px !important;
  }
}
.rkr_flex.rkr_cart-icon {
    display: flex;
    flex-direction: column;
}
.cont-relacionados-rkr {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
    padding: 5px 10px !important;
}
