/*
    Estilos del titulo del producto
*/

.h1.namne_details {
    font-weight: bold;
    font-size: 35px;
    color: #2e3663;
}

/*
    Estilos para los precios de los productos
*/
.current-price-value {
    font-size: 27px !important;
    font-weight: 700;
}

.product-prices {
    margin: 20px 0 10px 0 !important;
}

/*
    Sección de la calculadora de unidades para proyecto
*/
.input-holder {
    display: flex;
    padding: 5px;
    border: 1px solid red;
    border-radius: 5px;
    width: 100%;
    justify-content: space-around;
}

.input-holder>input {
    border: 0;
    margin: 0;
    padding: 0;
    outline: none;
    width: 80%;
}

.input-holder:before {
    content: 'm';
}

.icon-medidas {
    padding-right: 100px;
    background: url("http://localhost:8000/img/cms/medida-cuadrada.png") no-repeat right;
    background-size: 20px;
}

.boton-calculadora {
    width: 100%;
    text-transform: capitalize;
    font-weight: 400;
    border: 2px solid #2e3663;
    box-shadow: none;
    border-radius: 3px;
    display: inline-block;
    background: #2e3663;
    color: #ffffff;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
}

.boton-calculadora:hover {
    border: 2px solid #c11c44;

    background: #c11c44;
}

/*
    Remueve el espacio entre los botones de acción y el precio del producto
*/
.product-actions {
    padding-top: 0px;
}

/*
    Sección de Metodos de pago
*/
.pago-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0px;
    background: #f3f6f6;
    margin-top: 30px;
    /*Se agrega linea para ocultar contenedor de pago opciones de pago*/
    visibility: hidden;
}

.pago-container>img {
    height: 80px;
}

/*
    Cambia el color del borde inferior de las tabs
*/
.tabs .nav-tabs .nav-item .nav-link:hover:after,
.tabs .nav-tabs .nav-item .nav-link.active:after {
    background: #c11c44;
}

/*
 Colores de los botones
*/
.btn-secondary,
.btn-tertiary,
.btn-primary,
.poscompare-product .product_desc div.cart button.ajax_add_to_cart_button,
.poscompare-product .product_desc div.cart span.ajax_add_to_cart_button {
    background: #2e3663;
}

.hook-reviews .star_content .rating_star:before,
#product_comments_block_extra .star_content .rating_star:before,
.reviews-header .star_content .rating_star:before,
div.star.star_hover:after,
div.star.star_on:after {
    color: #bd1c44 !important;
}


.blockcart .cart-products-count {
    background: #bd1c44 !important;
}

/*
    Color de fondo del breadcrumb en lista de productos
*/
.page-title-wrapper {
    background: #2e3563;

}

.page-header h1,
#wrapper .breadcrumb li a {
    color: #fff;
}

#product .breadcrumb li a {
    color: #000;
}

/*
    Tarjeta de un articulo de producto
*/
#index .js-product-miniature.style_product3 {
    border-radius: 20px;
}

.product-price-and-shipping .price {
    color: #2e3563;
    font-size: 17px;
    font-weight: 700;
}

/*
    Cambio elemento de lista en toggle de página principal
*/
.elementor-toggle .elementor-toggle-title .elementor-toggle-icon .fa:before {
    content: ">";
}

/*
    Alinea los logos de proveedores de la página principal

*/
#index .slick-slider .slick-track {
    display: flex;
    align-items: center;
}

/*
    Ancho de la ventana de boletín de noticias
*/
#posnewsletterpopup {
    max-width: 450px !important;
}

/*
    Cambia el color del hover al nombre del producto
*/
.js-product-miniature .product_desc .product_name:hover {
    color: #bd1c44;
}

/*
    Ajusta el ancho del formulario de Contactanos
*/
.contact-form {
    width: 50%;
    margin: 0 auto;
}

/*
    Ajusta el ancho del formulario de inicio de sesión
*/
.page-authentication #content {
    width: 40%;
}

/*
    Ajusta el ancho del formulario de registro de usuario
*/
.page-customer-account #content {
    margin: 0 auto;
    width: 50%;
}

.elementor-4010000 .elementor-element.elementor-element-yiuuvzf a.slideshow-button:hover {
    color: #ffffff;
    background-color: #c01b44;
}

/*
    Cambia la posición del botón de edición de la página
*/
#wrapper a.ce-edit-btn {
    top: 150px;
}

/*
    Cambia el color del icono de usuario al pasar el cursor por encima
*/
.icon-rt-user:hover {
    color: #c11c44;
}

/*
    Cambia el color del texto del breadcrumb al pasar el cursor por encima
*/
#wrapper .breadcrumb li a:hover {
    color: #c11c44;
}

/*
    Ajusta el ancho de los formularios de inicio de sesión, registro y contactanos en dispositivos móviles
*/
@media (max-width: 450px) {
    .page-customer-account #content {

        width: 80%;
    }

    #checkout-personal-information-step .col-md-8 {
        width: 100%;
    }
}

/*
    Ajusta el ancho del formulario de contactanos en dispositivos móviles
*/
@media (max-width: 650px) {
    .contact-form {
        width: 80%;
        margin: 0 auto;
    }
}

/*
    Oculta el precio unitario del producto en el carrito
*/
#main .cart-grid-body .product-line-actions .product-price-and-shipping.product-price.h5>.unit-price-cart {
    display: none;
}

/*
    Cambia el color de fondo del botón de agregar al carrito
*/
.js-product-miniature.style_product1 div.cart button.ajax_add_to_cart_button,
.js-product-miniature.style_product1 div.cart span.ajax_add_to_cart_button {
    background: #2e3563;
}

.js-product-miniature.style_product1 div.cart button.ajax_add_to_cart_button:hover,
.js-product-miniature.style_product1 div.cart span.ajax_add_to_cart_button:hover {
    background: #c11c44;
}

/*
    Cambia el icono de la lista de filtros en la página de categorías 
*/
#category #left-column #search_filters .facet .title[aria-expanded="true"] .collapse-icons .add {
    display: none !important
}

#category #left-column #search_filters .facet .title[aria-expanded="true"] .collapse-icons .remove {
    display: block !important
}

#category #left-column #search_filters .facet .title[aria-expanded="false"] .collapse-icons .add {
    display: block !important
}

#category #left-column #search_filters .facet .title[aria-expanded="false"] .collapse-icons .remove {
    display: none !important
}

#category #left-column #search_filters .facet .title .collapse-icons .remove {
    display: none
}

/*
    Muestra el contenido de los filtros cuando se expanden
*/
#category #left-column #search_filters .facet .collapse.in {
    display: block;
}

#category #left-column #search_filters .facet .collapse {
    display: none;
}

.navbar-toggler {
    padding: 0rem 0rem !important;
}

/* Estilo de pruebas para sincronización en dev */
.test-class {
    padding: 10px;
}

/*
    Ajusta el diseño de las sucursales
*/
.sucursal-general {
    display: flex;
    flex-direction: column;
}

.sucursal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.sucursal-detalles {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    text-align: center;
}

.cms-box h3 {
    margin-bottom: 1rem;
}

.cms-block p {
    color: #253237;
}

@media screen and (max-width: 750px) {
    .elementor-4010000 .elementor-element.elementor-element-yiuuvzf .desc-banner .slideshow-content {
        max-width: 423px !important;
    }
}

@media screen and (max-width: 500px) {
    .elementor-4010000 .elementor-element.elementor-element-yiuuvzf .desc-banner .slideshow-content {
        max-width: 223px !important;
    }
}

/*
    Ajusta el diseño de las categorías
*/
.imgCate {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.imgCate div {
    height: 250px;
    width: 250px;
    align-items: center;
    display: flex;
    justify-content: center;
    background-position: center;
}

.categoriaCatContainer {
    background-size: cover;
    display: inline-block;
    text-align: center;
    margin: 0 2px 10px 10px;
    transition: all .2s ease-in-out;
    float: none !important;
    align-items: center;
    display: flex;
    justify-content: center
}

.categoriaCatContainer p {
    font-size: .8rem;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    height: 100%;
    width: 100%
}

.categoriaCatContainer p a {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 600;
    display: flex;
    height: 100%;
    width: 80%;
    margin: 0 auto;
    align-items: center;
    justify-content: center
}

.categoriaCatContainer img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px
}

.categoriaCatContainer:hover {
    transform: scale(1.1)
}

.imgFolleto {
    text-align: center
}

.folletoContainer {
    display: inline-block;
    text-align: center;
    margin: 0 15px 30px 15px;
    border: solid 3px;
    box-shadow: 9px 12px 15px #000;
    transition: all .2s ease-in-out
}

.folletoContainer:hover {
    transform: scale(1.1);
    box-shadow: 15px 15px 12px #000
}

.imgFolleto img {
    width: 335px;
    height: 435px
}

@media (max-width: 767px) {
    .categoriaCatContainer {
        margin: 15px 0
    }

}

.categoria-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
}

.categoria-item {
    position: relative;
    list-style: none;
    width: 200px;
    height: 200px;
    background: #fff;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
    overflow: hidden;
}

.categoria-item::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #2E3563;
    opacity: 0;
    transition: 0.5s;
}

.categoria-item::after {
    content: "";
    position: absolute;
    top: 10px;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: #2E3563;
    transition: 0.5s;
    filter: blur(15px);
    z-index: -1;
    opacity: 0;
}

.categoria-item:hover {
    width: 285px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.categoria-item:hover::before {
    opacity: 0.8;
}

.categoria-item:hover::after {
    opacity: 0.3;
}

.categoria-icon {
    position: absolute;
    width: 60%;
    height: 60%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease;
    transition-delay: 0.25s;
}

.categoria-item:hover .categoria-icon {
    transform: scale(0);
    opacity: 0;
    transition-delay: 0s;
}

.categoria-title {
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transform: scale(0);
    transition: all 0.5s ease;
    text-align: center;
    padding: 0 15px;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.categoria-item:hover .categoria-title {
    transform: scale(1);
    transition-delay: 0.25s;
}

.categoria-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

@media (max-width: 768px) {
    .categoria-item {
        width: 120px;
        height: 120px;
    }

    .categoria-item:hover {
        width: 200px;
    }

    .categoria-title {
        font-size: 1em;
    }
}

/*
    Estilos de las tarjetas de las sucursales
*/

.sucursal-general {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    margin: 0 auto;
}

.sucursal-container {
    padding: 0.5rem 1rem;
    border: solid 1px #2e356342;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    width: 300px;
}

.sucursal-detalles {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    text-align: center;
}

.ciudad-sucursal {
    font-size: 1rem;
    margin: 0 auto;
    width: 70%;
    text-align: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #bd1c44;
}


.cms-block p {
    color: #253237;
}

.page-title-wrapper {
    margin-bottom: 30px !important;
}

/*
    Oculta el título de la lista de productos
*/
#product-list-header {
    display: none;
}

/*
    Ajusta el tamaño del texto del breadcrumb
*/
#wrapper .breadcrumb li {
    font-size: 12px;
}

/*
    Ajusta el padding del título de la página
*/
.page-title-wrapper.p_tilte_small {
    padding: 1rem 0;
}

/*
    Ajusta la posición de los filtros
*/
#search_filters .facet .facet-label {
    display: table;
    align-items: center;
    height: 46px;
}

#search_filters .facet .facet-label a {
    width: auto;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#search_filters .facet .facet-label .custom-checkbox,
#search_filters .facet .facet-label .custom-radio {
    top: 0;
    margin-right: 0;
}

/*
    Estilos para el efecto de volteo de las imágenes de sucursales donde aparezca el mapa 
*/
.sucursal-general .flip-container {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.sucursal-general .card {
    position: relative;
    width: 100%;
    height: 180px !important;
    text-align: center;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.sucursal-general .flip-container:hover .card {
    transform: rotateY(180deg);
}

.sucursal-general .front,
.sucursal-general .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.sucursal-general .back {
    transform: rotateY(180deg);
}

.sucursal-general .map-container {
    width: 100%;
    height: 100%;
}

.sucursal-general .front img {
    height: 180px;
    width: 100%
}

.sucursal-general .button-map-container {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 5px;
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 1px 4px;
    cursor: pointer;
    background-color: white;
}

.sucursal-general .button-map-container a {
    position: relative;
    width: 30px;
    height: 30px;
    border: 0px;
    background: url(/img/cms/navegar-por.png);
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.sucursal-general .button-map-container a:after {
    background: url(/img/cms/navegar-por-hover.png);
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    -webkit-transition: opacity 0.2s ease-in-out;
    -moz-transition: opacity 0.2s ease-in-out;
    -o-transition: opacity 0.2s ease-in-out;
}

.sucursal-general .button-map-container a:hover:after {
    opacity: 1;
}

.sucursal-general .button-map-container p {
    font-size: 9px;
    margin-bottom: 0px;
    color: #2E3563;
}

#footer .pnp-newsletter-form form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#footer .pnp-newsletter-form .form-control {
    width: 70%;
}

#footer .pnp-newsletter-form input.inputNew {
    color: #0a0a0a;
    height: 48px;
    text-align: left;
    font-size: 14px;
    background-color: #fefefe;
    border-radius: 0% 0% 0% 0%;
    width: 70%;
    padding: 10px 20px 10px 20px;
}

#footer .pnp-newsletter-form button {
    color: #ffffff;
    height: 48px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #cb1b42;
    border-radius: 0px 0px 0px 0px;
    padding: 0px 20px 0px 18px;
}

#footer .pnp-newsletter-form .block_newsletter_alert {
    margin-top: 10px;
}

/*
    Estilos para el botón de descargas de archivos adjuntos en detalles de producto
*/
.file-download-button {

    height: 64px;
    display: inline-block;
    border: 3px solid #2E3563;
    ;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    color: #2E3563;
    ;
    overflow: hidden;

    .icon {
        margin-right: 6px;
    }

    .file-download-primary,
    .file-download-secondary {
        display: block;
        padding: 0 32px;
        line-height: 64px;
        transition: margin .4s;
    }

    .file-download-primary {
        background-color: #2E3563;
        ;
        color: #fff;
    }

    &:hover .file-download-primary {
        margin-top: -64px;
    }
}

/*
    Ajusta la posición del captcha en el formulario de contacto y de nuevo comentario
*/
#contact #captcha-box {
    margin-top: -20px;
}

#id_new_comment_form .captcha {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

/* 
    Ajuste para las dimensiones de los slides de la página principal
*/

.elementor-4010000 .elementor-element.elementor-element-seixvcw .pos-slideshow .slider-item {
    background-size: 100% 100% !important;
}

.elementor-4010000 .slider-item {
    background-size: 100% 100% !important;
}

/* Ajustes para revertir modificaciones no deseadas de Bootstrap */
nav.breadcrumb {
    justify-content: center !important;
    --bs-breadcrumb-margin-bottom: 0rem;
}

.accordion-button:not(.collapsed) {
    background-color: #2E3563 !important;
    color: #fff !important;
}

.accordion-button:not(.collapsed)::after {
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e")
}

.accordion-button:focus {
    box-shadow: none !important;
}

/* Ajuste para eliminar bordes del FAQ */
.accordion#faqAccordion {
    --bs-accordion-border-color: none;
}

/* 
    Ajuste para reacomodar las navegaciones tras implementar bootstrap
*/

.nav-link {
    padding: 0 !important;
}

/* 
    Boton de Cotizar para cuando el producto no esta disponible
*/
a#btnCotizacionGrid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #2e3563;
    font-weight: 700;
    padding: .5rem 1.25rem;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    width: 100%;
}

/* 
    Cambios de CSS para las imagenes de las marcas.
*/

.marcaLogo {
    width: max-content;
    max-width: 150px;
    background: none !important;
    padding-left: 10px;
    position: absolute;
    top: 0;
    right: 0;
}

@media (max-width: 991px) {
    .product-cover .marcaLogo {
        width: max-content;
    }
}

@media screen and (max-width: 600px) {
    .product-cover .marcaLogo {
        width: max-content !important;
    }
}

/* Si el producto no tiene marca o aparece como " ", ponerle tamaño de 40px a manufacturer*/
.js-product-miniature .product_desc .inner_desc .manufacturer:not(a) {
    height: 40px !important;
}


.js-product-miniature .product_desc .manufacturer a {
    height: 30px !important;
}

.js-product-miniature .product_desc .inner_desc .manufacturer a {
    height: 30px !important;
}

.js-product-miniature .product_desc .inner_desc .product_name:not(.one_line) {
    height: 70px;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: initial !important;
}

/* Logo de marca en página de detalle del producto */
.logoMarcaProducto {
    width: 150px;
    position: absolute;
    height: 35px;
    z-index: 1;
    right: 10px;
    top: 10px;
}

.link-marca {
    font-size: 20px;
    font-weight: 700;
    color: #2E3563;
    text-align: start;
}

/* Fin de cambios de marcas */


/* Quitar salto de headerSpace */
.headerSpace {
    height: 0px !important;
    display: none;
}

/* tabla de identificadores de producto sku y no. pieza */
.product-ide-content {
    border-bottom: 1px solid #ebebeb;
}
.product-ide-content p {
    color: #2e3563;
}

/* Leyenda de producto */
.product-leyend p{
    font-size: 0.8rem;
    color: #383838;
    margin-bottom: 4px;
}

/* Estilos perdidos */
#posnewsletterpopup {
    width: 100%;
    background-repeat: no-repeat;
    height: 450px;
    background-color: #ffffff;
    background-position: center right;
}

#poscookielaw {
    background-color: #908E8F;
    color: #ffffff;
}

#poscookielaw p {
    color: #ffffff;
}