/* ===================== LOGIN / REGISTER HIDDEN ===================== */
/*.header_user_info a.login,
.header_user_info a.account,
#login-form,
.no-account,
#customer-form{
  display: none !important;
}
*/
/*GENERALES*/

.btn-primary, .btn-primary:hover {
    background-color: #2d5cc4 !important;
}

a:hover {
    color: #4e8FF5 !important;
}

.dropdown-item:focus, .dropdown-item:hover {
    color:#2d5cc4 !important;
}


.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: #2d5cc4 !important;
}

/* ===================== HEADER DESKTOP ===================== */
#header {
    box-shadow: none !important;
}
#header .header-top {
    padding: 0px;
}

#header .header-nav {
    height: auto;
    max-height: 200px;
    border-bottom: none !important;
}

#header .header-nav .container .row .mobile #_mobile_logo img {
    width: auto;
    max-height: none;
}



#header .header-top .container {
    width: 100%;
}

#header .header-top .container .row {
    justify-content: center !important;
    align-items: flex-start !important;
}

.header-top .container #_desktop_logo img {
    height: auto;
    max-width: 370px;
    padding: 5px;
}

#_desktop_top_menu #top-menu {
    gap: 2rem;
}

.header-top .container .header-top-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

#_desktop_cart .shopping-cart {
    font-size: 1.3rem;
}

@media (min-width: 576px) {
    #header .header-top .container .header-top-right #search_widget {
        max-width: none;
    }
}

.header-top .container .header-top-right #_desktop_cart {
    border-radius: 20px;
    border: 1px solid;
    padding: 6px;
    color: #fff;
    background: #2d5cc4;
}

/* ===================== MENÚ ===================== */

#_desktop_top_menu #top-menu {
    display: flex;
    justify-content: center;
}

#wrapper div.container nav.breadcrumb {
    margin-top: 15px;
}
/* ===================== BANNER ===================== */
#main #content #carousel {
    width: 100vw;
    margin-left: -50vw;
    left: 50%;
    position: relative;
    right: 50%;
}

main #wrapper {
    padding-top: 0 !important;
}

#main #content #carousel .carousel-item img {
    height: 100% !important;
    width: 100vw !important;
}

#main #content #carousel .carousel-inner {
    height: auto !important;
}
/* CART */

.block-promo .promo-code-button a{
    color: #2d5cc4;
}
#blockcart-modal .modal-body .row .cart-content > p:nth-child(3){
    display: none;
}
/* SUMMARY */

#checkout-personal-information-step .content a {
    color: #2d5cc4;
}
#js-checkout-summary .cart-summary-products.js-cart-summary-products a{
    color: #2d5cc4;
}

body#checkout section.checkout-step .address-item.selected {
    border: #2d5cc4 3px solid;
}

.custom-radio input[type=radio]:checked+span {
    background-color: #2d5cc4;
}

#checkout-addresses-step form p a{
    color: #2d5cc4;
}

#cta-terms-and-conditions-footer-0, #cta-terms-and-conditions-0 {
    color: #2d5cc4;
}

/* PRODUCTS */

#main #content .products-section-title {
    margin: 0 !important;
    margin-bottom: 8px !important;
}

.product-price {
    color: #2d5cc4;
}

/* PRODUCTS_HOME*/

.product-miniature .thumbnail-container {
    border-radius: 15px;
    box-shadow: 0 2px 15px 0 rgba(0, 1, 1, .08);
}

.product-miniature .thumbnail-container:hover {
    box-shadow: 0 15px 25px 0 rgba(0, 1, 1, .16);
}

.product-flags li.product-flag{
    background: #2d5cc4;
}
/* tamaño del precio*/
#main > div.row.product-container.js-product-container > div:nth-child(2) > div.product-prices.js-product-prices > div.product-price.h5 {
    font-size: 2rem;
    margin-right: 5px;
}

#main > div.row.product-container.js-product-container .product-prices.js-product-prices {
    display: flex;
    flex-wrap: wrap;         
    justify-content: flex-start;
}

#main > div.row.product-container.js-product-container .product-prices.js-product-prices > div:nth-child(1),
#main > div.row.product-container.js-product-container .product-prices.js-product-prices > div:nth-child(2) {
    witdh: 49.9%;
}

#main > div.row.product-container.js-product-container .product-prices.js-product-prices > div:nth-child(3) {
    width: 100%;
}
#main #content .featured-products, .featured-categories{
    margin: 0 !important;
}

.tabs .product-description p{
    font-size: clamp(0.7rem, 1vw + 0.2rem, 1rem);
}

#product-modal .modal-content .modal-body .product-images img {
    max-width: 8.8rem !important;
}

.product-quantity .qty {
    min-width: 75px;
    margin-right: .1rem;
}

#add-to-cart-or-refresh .product-add-to-cart.js-product-add-to-cart .product-quantity.clearfix .wishlist-button-product {
    min-width: 2rem;
    margin-left: 0.2rem;
}

#add-to-cart-or-refresh .product-add-to-cart.js-product-add-to-cart .product-quantity.clearfix .add .add-to-cart {
    padding: .1rem;
}

/* CATEGORIES */

.block-category-inner .category-cover picture img{
    width: 100% !important;
    object-fit: cover;
}

#category-description {
   max-width: 500px;
}

#subcategories {
    display:none; 
}

/* ===================== FOOTER DESKTOP ===================== */

/* --- Footer columnas principales --- */
#footer .footer-container .container>.row:first-of-type {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#footer .footer-container .container>.row:first-of-type>div {
    flex: 0 0 25%;
    max-width: 25%;
    box-sizing: border-box;
    min-width: 250px;
}

#footer .footer-container .container>.row:first-of-type :nth-child(2)>.row>div {
    width: 100%;
}

/* --- Newsletter en el footer --- */
#footer .footer-container #blockEmailSubscription_displayFooter>.row {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#footer .footer-container #blockEmailSubscription_displayFooter>.row>p {
    width: 100%;
}

#footer .footer-container #blockEmailSubscription_displayFooter {
    margin: 0px;
}

#footer .footer-container #blockEmailSubscription_displayFooter form .row :nth-child(2) {
    display: none;
}

#footer .footer-container #blockEmailSubscription_displayFooter form .row :nth-child(1) {
    display: flex;
    flex-direction: column-reverse;
    gap: 4px;
    width: 100%;
    padding: 0;
    border-radius: 20px;
}

#footer .footer-container #blockEmailSubscription_displayFooter form .row :nth-child(1)>input {
    margin: 0;
    width: 100%;
}

/* --- Footer 1era columna: Contacto --- */
#footer .block-contact-sakata>div {
    display: flex;
    gap: 5px;
}

#footer .block-contact-sakata .material-icons {
    color: #2d5cc4;
}

/* --- Footer 3ra columna: Newsletter label --- */
#footer #block-newsletter-label {
    text-align: center;

}

#footer #block-newsletter-label~div {
    width: 80%;
    padding: 0px;
}

#footer .footer-container #blockEmailSubscription_displayFooter form .input-wrapper input::placeholder {
    text-align: center;
}

/* --- Footer 4ta columna: Incentivo --- */
#footer .text-info-saskata {
    padding: 14px;
}

/* --- Footer Copy --- */
#footer .footer-container .container #block-copy-sakata {
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    height: 70px;
    padding: 25px 10px;
    border-top: 1px solid #eeeeee;
}

#block-copyrigth a { 
    color: #2d5cc4;
}

#footer .footer-container .container #block-copy-sakata #block-footer-payment {
    display: flex;
}

#footer .footer-container .container #block-copy-sakata .block-footer-payment-img {
    height: auto;
}

/* ===================== CARRITO TOP ===================== */

body #_desktop_cart .blockcart.cart-preview .header a,
body #_desktop_cart .blockcart.cart-preview .header a span,
body #_desktop_cart .blockcart.cart-preview .header a i {
    color: white !important;
    cursor: pointer !important;
}

/* ===================== PAGOS ===================== */

/* Ocultar opción redsys payment 5 */
#payment-option-5-container {
    display: none !important;
}

/* Alinear radio button de PayPal */
#payment-option-1-container .custom-radio {
    align-self: center;
    margin-top: -5px;
}

#payment-option-1-container {
    display: flex;
    align-items: center;
}

/* ===================== MOBILE ===================== */
@media screen and (max-width: 991px) {
   .category-cover {
       display: none !important;
    }
}


@media screen and (max-width: 850px) {
    .header-top .container .header-top-right a .hidden-sm-down {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    /* Header */
    .header-top .container .header-top-right #_desktop_cart {
        display: none;
    }

    .header-top .container .header-top-right {
        margin-top: 10px;
        display: flex;
        justify-content: center;
    }

    .header-top .container .header-top-right #search_widget {
        width: 80%;
    }



    /* Footer */
    #footer .footer-container .container>.row:first-of-type {
        flex-direction: column;
    }

    #footer .footer-container .container>.row:first-of-type>div {
        flex: 0 0 100%;
        max-width: 100%;
        align-items: center;
    }

    #footer .footer-container .container #block-copy-sakata {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        align-items: center;
    }

    #footer .footer-container .container #block-copy-sakata #block-footer-payment {
        justify-content: center;
    }

    #footer .footer-container .container #block-copy-sakata #block-copyrigth {
        text-align: center;
    }

    /* Asegurar visibilidad y buen tamaño del botón de newsletter */
    #footer .footer-container #blockEmailSubscription_displayFooter form .row input[type="submit"][value="Suscribirse"] {
        display: block !important;
        width: 100% !important;
        margin-top: 10px;
    }

    #footer .footer-container #blockEmailSubscription_displayFooter form .row button[type="submit"][value="OK"] {
        display: none !important;
    }

    /* PRODUCT DETAILS*/

   #description > div > table > tbody > tr {
       display: grid;
       grid-template-columns: 1fr 2fr 2fr 0fr;
   }
   
}
