/*
Theme Name: maticare
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Jost';
    src: url('/wp-content/themes/maticare/fonts/Jost-Bold.woff2') format('woff2'),
        url('/wp-content/themes/maticare/fonts/Jost-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('/wp-content/themes/maticare/fonts/Jost-Regular.woff2') format('woff2'),
        url('/wp-content/themes/maticare/fonts/Jost-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Jost';
    src: url('/wp-content/themes/maticare/fonts/Jost-Medium.woff2') format('woff2'),
        url('/wp-content/themes/maticare/fonts/Jost-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body, html {
    font-family: "Jost", sans-serif;
    font-weight: normal
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Jost", sans-serif;
    font-weight: bold
}
.header:not(.transparent) .header-nav-main.nav > li > a {
    color: #000000;
    font-weight: 500;
}
.nav li a {
    font-weight: 400;
    font-size: 16px;
    color: rgba(0, 0, 0, .6);
}
.nav li a:hover {
    color: #000;
}

.header-main {
    border-bottom: 1px solid #ddd;
}
.header-nav-main.nav-line-bottom > li > a:before, .header-nav-main.nav-line-grow > li > a:before, .header-nav-main.nav-line > li > a:before, .header-nav-main.nav-box > li > a:hover, .header-nav-main.nav-box > li.active > a, .header-nav-main.nav-pills > li > a:hover, .header-nav-main.nav-pills > li.active > a {
    color: #FFF !important;
    background-color: #111;
}
.nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
    height: 2px;
}
.nav-left {
    justify-content: center;
}
.nav-dropdown>li.image-column, .nav-dropdown>li.nav-dropdown-col {
    width: auto;
}
.nav-dropdown .menu-item-has-children>a, .nav-dropdown .nav-dropdown-col>a, .nav-dropdown .title>a {
    font-size: 17px;
    font-weight: 500;
    text-transform: capitalize;
	font-style: normal;
}
.box-category .header-title {
    text-transform: capitalize;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: unset;
    line-height: 1.5;
}
input#woocommerce-product-search-field-0 {
    border-radius: 5px;
}
.title-home h2 {
    font-size: 40px;
    font-style: normal;
    line-height: 1.278;
    font-weight: 500;
	text-align: center;
}
.product-id-custom .woocommerce-tabs.wc-tabs-wrapper.container.tabbed-content, .product-id-custom .product_meta, .product-id-custom .social-icons.share-icons.share-row.relative, .product-id-custom .yith-add-to-wishlist-button-block.yith-add-to-wishlist-button-block--single.yith-add-to-wishlist-button-block--initialized {
    display: none;
}
h1.product-title.product_title.entry-title {
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
}
.testi-custom .testimonial-text.line-height-small.italic.test_text.first-reset.last-reset.is-italic h4 {
    font-style: normal !important;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
}
.testi-custom .testimonial-text.line-height-small.italic.test_text.first-reset.last-reset.is-italic p {
    font-style: normal !important;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #696868;
}
.testi-custom .testimonial-meta.pt-half {
    padding-top: 5px;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
}
.grid-tools {
    padding-left: 22px !important;
    padding-right: 22px !important;
	margin-bottom: 10px;
}
.grid-tools .add-to-cart-grid {
    width: 100%;
    margin-bottom: 10px;
    background-color: #fff !important;
    color: #000 !important;
    text-transform: math-auto;
    font-size: 15px;
    padding: 10px 20px !important;
    border-radius: 8px;
    font-family: 'Jost';
    font-weight: 500;
	height: 46px !important;
}
.grid-tools .add-to-cart-grid:hover {
	background-color: #000 !important;
    color: #fff !important;
}
p.name.product-title.woocommerce-loop-product__title {
    color: #000;
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: unset;
    -webkit-box-orient: vertical;
    font-size: 16px;
    margin-bottom: 10px;
}
.product-small .box-image img {
    border: 0.5px solid #e2dfdf8a;
    border-radius: 5px;
	max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

.product-small>.box-image>a, .product-small>.box-image>div>a {
    height: 367.45px;
    position: relative;
}
button.single_add_to_cart_button.button.alt.wcpa_even_binded {
    width: 85%;
    height: 46px;
    color: #000 ;
    background-color: #fff !important;
    border: 0.5px solid #000;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
}
button.single_add_to_cart_button.button.alt.wcpa_even_binded:hover {
    color: #fff;
    background-color: #000 !important;
}
.form-minimal.quantity .qty {
    height: 46px;
}
button.ux-buy-now-button.button.primary.ml-half {
    width: 100%;
    height: 46px;
}
.woocommerce-variation-price {
    border-top: unset;
}
form.cart {
    padding-top: 20px;
}
.testi-custom .star-rating span:before {
    color: #000;
}
a.ux-menu-link__link.flex {
    color: #696968;
}
span.woocommerce-Price-amount.amount {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    color: #000;
}
.price del, .product_list_widget del, del .woocommerce-Price-amount {
    font-size: 16px;
}
.callout.badge.badge-square {
    height: 18px;
    margin-top: -15px;
    margin-left: 20px;
}

.badge-inner.secondary.on-sale {
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    border-radius: 30px;
}
.woocommerce-variation-add-to-cart>*, form.cart>* {
    flex: auto;
    margin: 0;
}
.razorpay-banner {
            display: flex;
            align-items: center;
            border: 2px dashed black;
            padding: 10px;
            border-radius: 8px;
            background: #f8f8f8;
            max-width: 400px;
            margin-top: 10px;
        }
        .razorpay-logo {
            width: 50px;
            height: auto;
            margin-right: 10px;
        }
        .razorpay-text {
            font-weight: bold;
            font-size: 14px;
        }

.freeship {
    margin-top: 30px;
}
p.inclusive-taxes-text {
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
}

.single-product span.woocommerce-Price-amount.amount {
    font-weight: 500;
    font-style: normal;
    font-size: 22px;
}

.single-product del span.amount {
    font-size: 16px !important;
}

.single-product span.woocommerce-Price-currencySymbol {
    font-size: 20px !important;
	vertical-align: baseline;
}

/* contact form 7 */
.custom-email-wrap {
	width: 100%;
    display: flex;
    align-items: center;
    padding: 5px 10px;
    position: relative;
}
.wpcf7-form-control-wrap {
    position: relative;
	width: 100%;
}

.custom-email-wrap input {
    flex-grow: 1;
    border: none;
    outline: none;
    background: #fff;
    padding: 10px;
    padding-left: 30px; /* Để icon không che nội dung nhập */
    padding-right: 30px; /* Để icon submit không bị che */
    font-size: 16px;
}

.email-icon {
    position: absolute;
    left: 10px;
    font-size: 16px;
    color: #555;
    z-index: 1;
    top: 14px;
}

.submit-icon {
    position: absolute;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #111;
    font-weight: 400;
    font-style: normal;
}




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
.product-small>.box-image>a, .product-small>.box-image>div>a {
    height: 190.25px;
    position: relative;
}
.submit-icon {
    right: -20px;
}
button.single_add_to_cart_button.button.alt.wcpa_even_binded {
    width: 75% !important;
}
}
