/*

 Theme Name: Medilazar Child

 Description: medilazar Child Theme

 Author: Litafa

 Template: medilazar

 Version: 1.0.0


*/
@import url("../medilazar/style.css");

body {
    background-color: #EDF0F3 !important;
}

@media (max-width: 767px) {
    .post-type-archive-product .columns-4 ul.products>li {
        flex: 0 0 50%;
        max-width: 50%;
    }
	.related, .upsells{padding:20px 15px 15px !important}

}
.shop-action{align-items:center}
.post-type-archive-product .columns-4 ul.products>li {
    padding-right: 10px;
    padding-left: 10px;
    margin-bottom: 20px;
}

.detail-content-inner #left-tabs {
    position: sticky;
    position: -webkit-sticky;
    top: 0.75rem;
}

.detail-content-inner .detail-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.detail-content-inner #right-content {
    position: relative;
}

.detail-content-inner .detail-tabs li:not(:last-child) {
    border-bottom: 1px solid #e4e8ed;
}

.detail-content-inner .detail-tabs li.active {
    border-bottom: none;
}

.detail-content-inner .detail-tabs li a {
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    padding: 16px;
    border-radius: 8px;
    color: #4a4f63;
    display: block;
}

.detail-content-inner .detail-tabs li.active a {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    background: #edf0f3;
    letter-spacing: 0.005em;
    color: #020b27;
}

.detail-content-inner .col-md-3 {
    padding-right: 35px;
    padding-left: 5px;
}

.detail-content-inner .detail-tabs li:has(+ .active) {
    border-bottom: none;
}

.single-product div#tab-description {
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
}

.fix_height {
    max-height: 620px;
    position: relative;
    overflow: hidden;
}

.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}

.devvn_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
}

.devvn_readmore_flatsome:before {
    height: 55px;
    margin-top: -45px;
    content: "";
    background: -moz-linear-gradient(top,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff00', endColorstr='#ffffff', GradientType=0);
    display: block;
}

.devvn_readmore_flatsome a {
    color: #318a00;
    display: block;
}

.devvn_readmore_flatsome a:after {
    content: "";
    width: 0;
    right: 0;
    border-top: 6px solid #318a00;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}

.devvn_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #318a00;
}

.devvn_readmore_flatsome_less:before {
    display: none;
}

.site-main .woocommerce-tabs.wc-tabs-wrapper .detail-tabs {
    position: sticky;
    top: 20px;
}


.product-block .caption {
    padding: 0 15px 15px !important
}


.product-footer a[class*="product_type_"] {
    color: #fff;
    background-size: 100% 100%;
    padding: 0px 20px 0 10px !important;
    background-color: #24aeb1;
    margin-top: 10px;
    justify-content: center;
	margin-right:0px !important;
	width:100% !important;
}
/* .columns-6 .product-footer a[class*="product_type_"]{padding:0px 10px;max-width:130px} */
.columns-6 .product-footer a[class*="product_type_"]:before{width:30px}
.shop-action a[class*="product_type_"]:before {
    width: auto;
}
.shop-action a[class*="product_type_"]:not(.loading):hover:before {
    text-indent: 0px;
}

.elementor-widget-woocommerce-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title {
    color: #1d2a38
}

li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    min-height: 3.6rem;
}
li.product .woocommerce-loop-product__title a{font-size:1rem}
body.home .elementor-products-grid ul.products.elementor-grid li.product {
    display: contents
}

body.single-product .woocommerce-product-carousel ul.products {
    padding: 0px;
    margin: 0px
}

.product-block .caption {
    padding: 0 10px 15px !important;
}

.single-product div.type-product .woocommerce-product-gallery .flex-control-thumbs li img {
    max-width: 100px;
    max-height: 100px
}

div.wpfMainWrapper[data-filter="1"] #wpfBlock_3 .irs {
    display: none
}

.wpfFilterVerScroll::-webkit-scrollbar {
    width: 5px !important
}

.wpfFilterVerScroll::-webkit-scrollbar-track {
    background-color: #f1f1f1 !important;
    border: none !important
}

.wpfFilterVerScroll::-webkit-scrollbar-thumb {
    background-color: #888 !important;
    border: none !important;
}

.wpfFilterVerScroll::-webkit-scrollbar-thumb:hover {
    background-color: #555 !important;
}

.wpfFilterTitle {
    min-height: 35px !important
}

 .yith-wcwl-add-to-wishlist-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    white-space: nowrap;
    font-size: 0;
    margin-bottom: 5px;
    background-color: #f3f5f9;
    border: 1px solid #f3f5f9;
}

.yith-wcwl-add-to-wishlist-button:is(button) {
    padding: 6px 6px
}

.yith-wcwl-add-to-wishlist-button:is(button) svg,
.yith-wcwl-add-to-wishlist-button:is(button) img {
    width: 18px;
    height: 18px
}

.yith-wcwl-add-to-wishlist-button--added .yith-wcwl-icon {
    color: #F0592C
}

.yith-wcwl-add-to-wishlist-button:not(.yith-wcwl-add-to-wishlist-button--added):hover {
    background-color: #F0592C;
    color: white;
} 

.product-transition .group-action {
    top: 10;
    right: 10px
}

.site-header-account .account-dropdown .account-wrap,
.site-header-cart .widget_shopping_cart {
    --right: 20% !important;
}
.elementor-widget-opal-header-group.elementor-align-right .elementor-widget-container{margin: 0px !important;gap: 30px;}
.elementor-widget-opal-header-group .elementor-widget-container>div{padding: 0px !important}
.elementor-widget-opal-header-group .account{display:flex}
.site-header-account {
    display: flex;
}

button.site-header-register,
button.site-header-login {
    border: 1px solid #008080;
    width: 120px;
    height: 40px;
    flex: 1;
    padding: 0px 10px;
    cursor: pointer;
    background-color: #008080;
    color: white;
    transition: background-color 0.3s ease;
}

button.site-header-login {
    background-color: white;
    color: #008080;
}
.login-popup-close-btn {
    content: "x";
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    cursor: pointer;
    font-size: 30px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0;
    color: #2d2d2d;
    background-color: white;
}

.site-header-account .login-popup .account-dropdown .account-inner .woocommerce-error {
    bottom: 0px !important;
    animation: none;
    transform: none;
}

.site-header-account .login-popup .account-dropdown {
    text-align: left;
    right: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    pointer-events: auto;
    opacity: 1;
    z-index: 200;
    visibility: visible;
    color: #2d2d2d;
    padding: 50px;
    background: #fff;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

@media (max-width: 768px) {
    .site-header-account .login-popup .account-dropdown {
        width: 100%;
        height: 100%;
        padding: 20px;
    }
}

.site-header-account .login-popup .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(2, 11, 39, .5);
    z-index: 150;
    visibility: visible;
    transition: all 0.35s ease;
    pointer-events: auto;
}

.site-header-account .login-popup .account-dropdown .account-inner {
    width: 350px;
    padding: 0px;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 15px 0;
}

.separator::before,
.separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #7D879C;
}

.separator:not(:empty)::before {
    margin-right: 10px;
}

.separator:not(:empty)::after {
    margin-left: 10px;
}

.wc-block-cart__submit-button,.wc-block-cart__submit-button:hover{background-color:#008080;color:white}
