/*
Theme Name: Mona Child
Theme URI: https://elementor.thembay.com/besa/
Author: Thembay
Description: This is a child theme for Besa
Version: 1.0
Author URI: https://thembay.com/
Template: besa
Text Domain: besa-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

/* ---------- custom ---------- */
:root {
	--wc-red: #dc3232;
}
/* product category */
.mona-sec-categories-tabs .tbay-element-product-categories-tabs .content-product-category-tab {
    display: flex;
    width: 100%;
}

/* img right */
.mona-img-right .tbay-element-product-categories-tabs .content-product-category-tab a.banner-img {
    order: 2;
}

/* header */
#tbay-main-content .container>.page-title,
.besa-back-btn {
	display: none;
}
.nav-menu-main .category-inside-content nav.tbay-vertical .navbar-nav>li>a {
	line-height: 1.5;
	margin-top: 14px;
    margin-bottom: 14px;
}
.nav-menu-main .category-inside-content nav.tbay-vertical {
	height: 450px;
    overflow-y: auto;
}
.nav-menu-main .category-inside-content nav.tbay-vertical::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

.nav-menu-main .category-inside-content nav.tbay-vertical::-webkit-scrollbar {
	width: 6px;
	background-color: #F5F5F5;
}

.nav-menu-main .category-inside-content nav.tbay-vertical::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: var(--tb-theme-color);
}

/* about */
.mona-sec-testimonials .slick-track .testimonials-body img {
    width: 80px;
}
.mona-sec-testimonials .slick-track .testimonials-body .excerpt {
    padding-top: 24px;
}

/* product */
.woocommerce .product span.onsale span {
	top: 5px;
	left: 5px;
}
.woof_block_html_items .woof_list.woof_list_radio>li:not(:last-child) {
	margin-bottom: 10px !important;
}
.woof_block_html_items .woof_list.woof_list_radio>li.woof_childs_list_li>label {
	padding-right: 15px;
}
.woof_block_html_items .woof_list.woof_list_radio .woof_childs_list_opener {
	top: 14px;
}
.cate-prd-home .item.item-image .item-cat img {
	aspect-ratio: 1 / 1;
    object-fit: contain;
}
.heading-product-category-tabs .btn,
.heading-product-category-tabs .nav-tabs,
#tabs-list-seller,
#tabs-list-more_seller_product,
.tbay-filter .SumoSelect>.optWrapper>.options li.opt:nth-child(4),
.tbay-filter .SumoSelect>.optWrapper>.options li.opt:nth-child(5) {
	display: none;
}
.content-product-category-tab .banner-img img {
	aspect-ratio: 6 / 7;
	object-fit: cover;
}
.form-ct-price .btn-contact-now p {
	display: flex;
    justify-content: center;
}
.form-ct-price .btn-contact-now p input.btn {
	margin: 0;
    width: auto;
}
.form-ct-price .btn-contact-now p .wpcf7-spinner {
	position: absolute;
    margin: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.product-block.v1 .group-buttons {
	display: none;
}
input.wpcf7dtx-text {
	pointer-events: none;
    background-color: #ccc !important;
    font-weight: 600;
}
.col-md-12 input {
	width: 100%;
}
.btn-ct-price {
	margin-top: 20px;
    padding: 0 40px;
    font-weight: bold;
    line-height: 40px;
    font-size: 14px;
    background: var(--tb-theme-color);
    color: #fff;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    display: inline-block;
    letter-spacing: 0;
    text-align: center;
}
.btn-ct-price:hover {
	background: var(--tb-theme-color-hover);
}
.product-block .name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 44px;
}
.product-block .caption .price-wrapper span.price .woocommerce-Price-amount {
    font-size: 14px;
}
.widget_price_filter .price_slider_wrapper .price_slider {
    min-width: -webkit-fill-available;
}
#review_form_wrapper {
    max-width: none;
}

/* footer */
.mona-footer-media img {
    height: 12px !important; 
    margin-bottom: 2px; 
    padding-left: 5px;
}
.footer-device-mobile,
.tbay-to-top.tbay-to-top-mobile {
	display: none;
}

/* form */
.wpcf7 p {
	margin-bottom: 0;
}
form.wpcf7-form .form-horizontal .wpcf7-form-control-wrap input,
form.wpcf7-form .required.wpcf7-textarea {
	margin-bottom: 15px !important;
}
.wpcf7-form-control-wrap {
    display: block;
}
.wpcf7-not-valid-tip {
    font-size: 10px;
    line-height: 20px;
    font-weight: bold;
    background: var(--wc-red);
    color: white;
    margin-top: 8px;
    position: absolute;
    bottom: 0px;
    padding: 2px 8px;
    border-radius: 3px;
    width: fit-content;
    max-width: unset;
    z-index: 1;
    box-shadow: 0 3px 13px 0 rgba(0, 0, 0, 0.15);
}
.wpcf7-not-valid-tip:before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 10%;
    transform: translate(-50%);
    border-style: solid;
    border-width: 0 8px 8px;
    border-color: transparent transparent var(--wc-red);
}
.mona-sec-contact .wpcf7-response-output,
.mona-sec-dangky .wpcf7-response-output{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.mona-sec-contact .wpcf7-spinner{
    position: absolute;
    top: 30px;
    left: 20px;
}

/* margin - 0 */
.wpcf7-form .mona-form-dang-ky.form-horizontal input.wpcf7-email.required,
.wpcf7-form .mona-form-dang-ky.form-horizontal .wpcf7-submit{
    margin: 0 !important;
}

/* form đăng ký */
.wpcf7-form .mona-form-dang-ky {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px
}
.wpcf7-form .mona-form-dang-ky .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    line-height: 20px;
}
.wpcf7-form .mona-form-dang-ky .wpcf7-spinner {
    position: absolute;
    left: 50%;
    bottom: 10px;
}

/* cart page */
.woocommerce-cart .cart_totals table tr td, 
.woocommerce-cart .cart_totals table * tr td {
    padding-left: 8px !important;
}
.woocommerce-cart .cart-collaterals .cart_totals table th {
    white-space: nowrap;
}
.woocommerce .woocommerce-cart-form {
    padding-bottom: 50px;
}

/* wishlist */
.woocommerce table.wishlist_table.shop_table .product-add-to-cart .add-cart a {
    padding: 0 10px !important;
    font-size: 12px;
}

/* desktop */
@media (min-width: 768px) {
    .mona-sec-dangky .wpcf7-response-output {
        position: absolute;
        bottom: -56px;
        font-size: 12px;
        width: 100%;
    }
    .tbay-total-condition-desc {
        font-size: 13px;
    }
}

/* back to top */
.tbay-to-top a#back-to-top {
    box-shadow: 0 0 14px 0 rgba(0,0,0,0.3);
}
.tbay-to-top.active {
    right: 16px;
}

/* align-items: center */
.testimonials-align-items-center .slick-track .testimonials-body {
    align-items: center;
}

/* tablet */
@media (max-width: 575px) {
    .wrapper-container {
        padding-top: 70px;
    }
}
@media (max-width: 1200px) {
	.topbar-device-mobile {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* mobile */
@media (max-width: 767px) {
    .tbay-element-mini-cart .cart-dropdown a.mini-cart {
        display: flex;
        flex-direction: column;
        align-items: center;
		display: none;
    }
    .tbay-element-mini-cart .cart-dropdown a.mini-cart span {
        white-space: nowrap;
    }
    
    /* header */
    .topbar-device-mobile {
        padding: 8px;
    }
    .active-search-mobile .tbay-search-form.tbay-search-mobile .select-category {
        width: 88px;
    }
    
    /* footer */
    .mona-footer-media img {
        height: 11px !important;
    }
    
    /* product */
	body.single-product .pum-theme-lightbox>.pum-container {
		width: 90% !important;
	}
    .mobile-btn-cart-click.has-buy-now.has-wishlist #tbay-click-addtocart, 
    .mobile-btn-cart-click.has-buy-now.has-wishlist #tbay-click-buy-now {
        font-size: 13px;
    }
    .woocommerce div.product-block {
        padding: 16px;
    }
    .product-block .caption .price-wrapper span.price,
    .product-block .caption .price-wrapper span.price .woocommerce-Price-amount{
        font-size: 13px;
    }
    
    /* form đăng ký */
    .wpcf7-form .mona-form-dang-ky {
        display: flex;
        flex-direction: column;
    }
    .wpcf7-form .mona-form-dang-ky.form-horizontal input.wpcf7-email.required, 
    .wpcf7-form .mona-form-dang-ky.form-horizontal .wpcf7-submit,
    .mona-sec-contact .wpcf7-form .form-horizontal .wpcf7-submit{
        height: 48px;
    }
    
    /* form liên hệ */
    .mona-sec-contact .wpcf7-spinner {
        position: absolute;
        top: 20px;
        left: calc(50% - 40px);
    }
}

/* hidden */
body.single-product .dialog-type-lightbox,
.product-block .sold-dokan,
#sidebar-top-archive {
    display: none !important;
}
/* ---------- End custom ---------- */

/* ---------- scroll ---------- */
body::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
	background-color: #F5F5F5;
}

body::-webkit-scrollbar
{
	width: 6px;
	background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb
{
    border-radius: 10px;
	background-color: var(--bg-saled);
}
/* ---------- end scroll ---------- */