/*
Theme Name: Thelma Child
Theme URI: http://thelma.mikado-themes.com
Description: A child theme of Thelma Theme
Author: Mikado Themes
Author URI: http://themeforest.net/user/mikado-themes
Version: 1.0.0
Text Domain: thelma
Template: thelma
*/

/*
* Custom Styles
* Updated date: 23/06/2023
*/

/*
* Tablet
 */

body.home .mkdf-main-menu>ul>li>a {
    color: #fcfafa !important;
}

body.home .mkdf-shopping-cart-holder .mkdf-header-cart {
    color: #fcfafa !important;
}

.home a.mkdf-side-menu-button-opener.mkdf-icon-has-hover.mkdf-side-menu-button-opener-svg-path {
    color: #fcfafa !important;
}

@media screen and (max-width: 1280px) and (min-width: 768px){
    .mkdf-logo-wrapper img {
        object-fit: contain;
        max-width: 200px;
    }
}

.mkdf-mobile-header .mkdf-mobile-logo-wrapper a {
    height: 40px !important;
}

.mkdf-mobile-header .mkdf-mobile-logo-wrapper img {
    height: 40px !important;
}

.logo-footer {
    max-width: 200px;
}


/*
* Hover
 */

/*.mkdf-page-footer .widget a:hover, .mkdf-side-menu .widget a:hover {*/
/*    color: #b51a30 !important;*/
/*}*/

/*.mkdf-drop-down .second .inner ul li a:hover {*/
/*    color: #b51a30 !important;*/
/*}*/

/*#mkdf-back-to-top>span {*/
/*    background-color:#b51a30 !important;*/
/*    border: 1px solid #b51a30 !important;*/
/*}*/

/*
* Main Slider
 */

#Main1_wrapper .thelma-hor-nav .mkdf-nav-arrow,
#Main1 span.mkdf-nav-arrow {
    color: white !important;
}

#Main2 span.mkdf-nav-arrow,
#Main3 span.mkdf-nav-arrow {
    background-color: white;
}


.mkdf-logo-wrapper a picture.mkdf-normal-logo {
    opacity: 1;
}

.mkdf-logo-wrapper a picture.mkdf-dark-logo {
    opacity: 0 !important;
    -webkit-transform: translateY(-100%) !important;
    -ms-transform: translateY(-100%) !important;
    transform: translateY(-100%) !important;
}

.mkdf-logo-wrapper a picture.mkdf-light-logo {
    opacity: 0 !important;
    -webkit-transform: translateY(-200%);
    -ms-transform: translateY(-200%);
    transform: translateY(-200%);
}

.mkdf-logo-wrapper a img {
    max-width: 350px;
    object-fit: contain;
}

.mkdf-btt-icon-holder,
#mkdf-back-to-top > span,
#mkdf-back-to-top {
    background: #b51a30 !important;
    border: none !important;
}

/*
* Single product
*/

.single-product .mkdf-single-product-content .woocommerce-product-gallery__wrapper a,
.mkdf-woo-single-page.mkdf-woo-pl-info-predefined.mkdf-woo-single-thumb-on-left-side .mkdf-single-product-content .images.woocommerce-product-gallery--with-images .woocommerce-product-gallery__image:first-child a {
	border: none !important;
}

.mkdf-woo-single-page.mkdf-woo-pl-info-predefined.mkdf-woo-single-thumb-on-left-side .mkdf-single-product-content .images.woocommerce-product-gallery--with-images .woocommerce-product-gallery__image:not(:first-child) a {
	border: none !important;
}

.mkdf-woo-single-page.mkdf-woo-single-thumb-on-left-side .mkdf-single-product-content .images.woocommerce-product-gallery--with-images .woocommerce-product-gallery__image:not(:first-child) a img {
	border: 1px solid !important;
}

/*
* Shop
*/

.add-to-cart-wrapper .product_type_simple.add_to_cart_button.ajax_add_to_cart.added {
    display: inline-block !important;
}

.post-type-archive-product .mkdf-pl-main-holder ul.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.post-type-archive-product .mkdf-pl-main-holder ul.products li.product {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.post-type-archive-product .mkdf-pl-main-holder ul.products li.product .mkdf-pl-text-wrapper {
    text-align: center;
}

@media screen and (max-width: 1024px) and (min-width: 768px){
    .post-type-archive-product .mkdf-pl-main-holder ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px){
    .post-type-archive-product .mkdf-pl-main-holder ul.products {
        grid-template-columns: repeat(1, 1fr);
    }

    .add-to-cart-wrapper {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 5px;
    }
}


/* Floating cart */

.xoo-wsch-top {
    flex-direction: column-reverse;
    gap: 5px;
}

.xoo-wsch-basket-container {
    display: flex;
    align-items: center;
}

.xoo-wsc-notice-container {
    display: inline-block;
    position: relative;
}

.xoo-wsc-notice-success {
    display: none;
}

.xoo-wsc-footer-txt {
    font-weight: bold;
    font-style: italic;
}

a.xoo-wsc-ft-btn-checkout .amount:before {
    content: " ";
}


div#block-7 .whatsapp-float {
    position: fixed;
    bottom: 165px;
    right: 14px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 20px 22px;
    font-size: 16px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
}

div#block-7 .whatsapp-float i {
    font-size: 28px;    /* Tamaño del ícono */
}

div#block-7 .whatsapp-float:hover {
    background-color: #128c7e;
}

@media screen and (max-width: 600px) {
   
  div#block-7 .whatsapp-float {
  position: fixed;
    bottom: 132px;
    right: 12px;
    padding: 4px 8px;
    font-size: 16px;
   }

}