/*
Theme Name: Flatsome Child
Description: GTVSeo developed for Flatsome Theme
Author: Rintabtsit WP
Template: flatsome
Version: 3.0.0.68
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --max-w: 1232px;
    --color-primary-1: #005130;
    --color-primary-2: #F5A623;
    --color-nd-1: #DBEBDB;
    --color-nd-2: #1E3A2F;
    --text-color: #1C1C1C;
    --bg-color: #F9FAF8;
    --comp-color-1: #F2B880;
    --comp-color-2: #7A5C3D;
    --box-shadow: 0px 4px 10px -1px rgba(27, 28, 29, 0.15);
    --size-0: 8px;
    --size-1: 16px;
    --size-2: 24px;
    --size-3: 32px;
    --size-4: 40px;
    --size-5: 48px;
    --size-5-5: 56px;
    --size-6: 64px;
    --size-f: 20px;
    --size-f-2: 14px;
    --size-f-3: 12px;
    --font-f: 'Inter', sans-serif;
}

.p0 {
    padding: 0px !important;
}

.p1 {
    padding: var(--size-1);
}

.p2 {
    padding: var(--size-2);
}

.px-1 {
    padding: 0px var(--size-1);
}

.py-6 {
    padding: var(--size-6) 0px;
}

.pb-6 {
    padding-bottom: var(--size-6);
}

.pt-6 {
    padding-top: var(--size-6);
}

.mt-3 {
    margin-top: var(--size-3);
}

.mb-3 {
    margin-bottom: var(--size-3);
}

.mt-2 {
    margin-top: var(--size-2);
}

.mb-2 {
    margin-bottom: var(--size-2);
}

.mt-1 {
    margin-top: var(--size-1);
}

.mb-1 {
    margin-bottom: var(--size-1);
}

.mt-0 {
    margin-top: 0px;
}

.mb-0 {
    margin-bottom: 0px;
}

.m0 {
    margin: 0px !important;
}

.size-f-3 {
    font-size: var(--size-f-3);
}

.size-f-2 {
    font-size: var(--size-f-2);
}

.size-f {
    font-size: var(--size-f);
}

.size-1 {
    font-size: var(--size-1);
}

.size-2 {
    font-size: var(--size-2);
}

.size-3 {
    font-size: var(--size-3);
}

.size-4 {
    font-size: var(--size-4);
}

.size-5 {
    font-size: var(--size-5);
}

.size-6 {
    font-size: var(--size-6);
}

.radius-size-1,
.radius-size-1 img {
    border-radius: var(--size-f-3);
}

.radius-size-2,
.radius-size-2 img {
    border-radius: var(--size-1);
}

.c-primary-1 {
    color: var(--color-primary-1);
}

.c-primary-2 {
    color: var(--color-primary-2);
}

.theme-flatsome h1,
.theme-flatsome h2,
.theme-flatsome h3,
.theme-flatsome h4,
.theme-flatsome h5,
.theme-flatsome h6 {
    font-family: var(--font-f);
}

.theme-flatsome h1,
.theme-flatsome h2,
.theme-flatsome h3,
.theme-flatsome h4,
.theme-flatsome h5,
.theme-flatsome h6,
.theme-flatsome p {
    margin: 0;
}

.theme-flatsome .entry-content>* {
    margin-bottom: 8px;
}

.theme-flatsome .entry-content h2 {
    font-size: var(--size-2);
}

.theme-flatsome .entry-content h3 {
    font-size: var(--size-f);
}

.theme-flatsome .entry-content h4 {
    font-size: 18px;
}

.theme-flatsome .entry-content h5,
.theme-flatsome .entry-content h6 {
    font-size: var(--size-1);
}

.theme-flatsome .entry-content p,
.theme-flatsome .entry-content a {
    font-size: var(--size-f-2);
}

.theme-flatsome .entry-content strong {
    font-weight: 700;
}

.theme-flatsome .entry-content img {
    width: fit-content;
    max-height: 360px;
    margin: auto;
    object-fit: contain;
    display: block;
    border-radius: var(--size-f-3);
}

.theme-flatsome .row,
.theme-flatsome .row.row-collapse,
.theme-flatsome .container {
    max-width: var(--max-w);
}

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.noline,
.title.noline * {
    border: none;
}

.title.noline b {
    display: none;
}

.title .section-title-center {
    justify-content: center;
}

.title .section-title-main {
    padding: 0;
}

.title.center {
    text-align: center;
}

.theme-flatsome .section-title {
    font-size: 100%;
}

/* header */
header #masthead .searchform {
    max-width: 480px;
    background-color: #045E3A;
    border: 1px solid white;
    border-radius: var(--size-1);
    padding: 0 4px 0 12px;
}

header #masthead .searchform .search-field {
    background-color: transparent;
    border: none;
    color: white !important;
    font-size: var(--size-f-3);
    height: var(--size-5);
    padding: 0;
}

header #masthead .searchform .search-field::placeholder {
    color: white !important;
}

header #masthead .searchform .submit-button {
    width: var(--size-3);
    height: var(--size-3);
    background-color: var(--color-primary-2) !important;
    border-radius: 8px !important;
    color: white !important;
}

header .hotline-btn {
    padding: 12px 16px !important;
    display: flex;
    gap: var(--size-0);
    background-color: #045E3A;
    border-radius: var(--size-f-3);
}

header .cart-item .header-cart-link {
    background-color: #045E3A;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: none;
    padding: 12px 16px !important;
    border-radius: 12px;
    min-height: 68px;
}

header .cart-item .header-cart-link>span {
    margin-left: 0px !important;
}

header .cart-item .header-cart-link p {
    line-height: 1.4;
    text-align: left;
}

header .cart-item .header-cart-link .count .image-icon .cart-img-icon {
    display: none;
}

header .cart-item .header-cart-link .count .image-icon:after {
    display: inline-flex !important;
    opacity: 1;
    position: unset;
    min-width: fit-content;
    background-color: transparent;
    text-align: left;
    box-shadow: none;
    letter-spacing: 0;
    padding: 0;
    font-size: var(--size-1);
    line-height: 1.4;
    font-weight: 600;
    font-family: inherit !important;
    content: attr(data-icon-label);
}

header #wide-nav .flex-col {
    width: 100%;
    border-top: 1px solid #3E713E;
}

header #wide-nav .header-bottom-nav {
    justify-content: space-between;
}

header #wide-nav .header-bottom-nav .nav-top-link {
    padding: 0;
    font-size: var(--size-f-2);
}

header .sub-menu.nav-dropdown {
    border-radius: 12px;
    border: none !important;
    box-shadow: var(--box-shadow);
}

header .sub-menu.nav-dropdown a {
    opacity: 1;
    border: none !important;
    color: var(--text-color);
    font-weight: 500;
}

header .sub-menu.nav-dropdown a:hover {
    color: var(--color-primary-2) !important;
}

header .sub-menu.nav-dropdown section {
    border-radius: 12px;
}

header .menu-item-has-block:after {
    display: none !important;
}

/* footer */
footer .section-content {
    padding: 0 var(--size-1);
}

footer .row-images>.col-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: var(--size-1);
}

footer .col-L .icon-box p {
    line-height: 1.4;
}

footer .col-L .icon-box.logo {
    align-items: center;
}

footer .col-L .icon-box img {
    padding: 0px;
}

footer .row-images .img {
    width: fit-content !important;
    margin-bottom: 0px !important;
}

footer .row-images .img img {
    height: 60px;
    object-fit: contain;
}

footer .absolute-footer {
    display: none;
}

/* Card Product */
.theme-flatsome .col {
    padding: 0;
}

.theme-flatsome .product,
.theme-flatsome .product .col-inner {
    height: 100%;
}

.theme-flatsome .product.col {
    padding: 0 12px 24px;

}

.theme-flatsome .product .box {
    padding: var(--size-0);
    border-radius: var(--size-f-3);
    box-shadow: 0px 4px 10px -1px #00000040;
    background-color: white;
    height: 100%;
}

.theme-flatsome .product .box .badge,
.theme-flatsome .product .box .box-text .product-sku,
.theme-flatsome .product .box .box-text p strong {
    font-size: var(--size-f-3);
    line-height: 1.2;
}

.theme-flatsome .product .box .badge {
    position: absolute;
    height: fit-content;
    width: fit-content;
}

.theme-flatsome .product .box .badge.badge-uu-dai {
    top: var(--size-2);
    left: 0;
    padding: 8px 12px;
    white-space: nowrap;
    background-color: var(--color-primary-2);
    color: white;
    border-radius: 0 var(--size-0) var(--size-0) 0;
}

.theme-flatsome .product .box .box-text {
    padding: 0;
    margin-top: var(--size-1);
}

.theme-flatsome .product .box .box-text .product-title {
    font-size: var(--size-1);
    font-weight: 900;
    margin: 0 0 8px;
}

.theme-flatsome .product .box .box-text .product-sku {
    margin-bottom: var(--size-0);
    color: #686868;
}

.theme-flatsome .product .box .box-text .product-price,
.theme-flatsome .product .box .box-text .product-price .amount {
    font-size: var(--size-f);
    line-height: 1.2;
    font-weight: 900;
    font-family: var(--font-f);
    color: var(--color-primary-1);
    margin: 0;
}

.theme-flatsome .product .box .add_to_cart_button:not(.added),
.theme-flatsome .product .box .added_to_cart {
    background: #0051301A;
    border: none;
    font-size: var(--size-f-2);
    font-weight: 600;
    text-transform: none;
    color: var(--color-primary-1);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--size-0);
    margin: var(--size-2) 0 0;
    min-height: var(--size-5);
}

/* Chan doan cay trong */
.sec_chan_doan .col {
    padding: 0;
}

.sec_chan_doan .col-L {
    max-width: 75%;
    flex-basis: 75%;
}

.sec_chan_doan .col-R {
    max-width: 25%;
    flex-basis: 25%;
    padding-left: var(--size-3);
}

.sec_chan_doan .col-L p {
    font-size: var(--size-1);
}

.sec_chan_doan .col-L .cdct-filter {
    display: flex;
    align-items: flex-end;
    gap: var(--size-2);
}

.sec_chan_doan .col-L .cdct-filter .group {
    width: 100%;
}

.sec_chan_doan .col-L .cdct-filter .group p {
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}

.sec_chan_doan .col-L .cdct-filter select {
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="6" viewBox="0 0 12 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.41 4.3869e-05L6 4.5002L10.59 0.00012207H12L6 6.00012L0 0.00012207L1.41 4.3869e-05Z" fill="white"/></svg>');
    background-size: var(--size-f-3) auto;
    background-position: right 16px top 50%;
    border-radius: var(--size-3);
    color: white;
    padding: 8px 24px;
    height: var(--size-4);
    margin-bottom: 0;
}

.sec_chan_doan .col-L .cdct-filter select option {
    color: var(--text-color);
}

.sec_chan_doan .col-L .cdct-filter button {
    white-space: nowrap;
    background-color: var(--color-primary-2);
    border-radius: var(--size-3) !important;
    height: 40px;
    margin: 0;
}

.sec_chan_doan .col-L #cdct-result .content-container {
    margin-top: var(--size-1);
    padding: var(--size-2);
    border: 1px solid white;
    border-radius: var(--size-1);
}

.sec_chan_doan .col-L #cdct-result p,
.sec_chan_doan .col-L #cdct-result li {
    font-size: var(--size-f-2);
}

.sec_chan_doan .col-R #thumbnail_chan_doan_benh {
    margin: auto;
    display: block;
    position: sticky;
    top: 120px;
    border-radius: var(--size-1);
}


.sec_chan_doan .col-L .btn-related {
    border: 1px solid white;
    padding: 8px 24px;
    border-radius: 8px;
    display: block;
    width: fit-content;
    margin: 16px auto 0;
    font-weight: 600;
}

.sec_chan_doan .col-L .btn-related:hover {
    background-color: var(--color-primary-2);
    border-color: var(--color-primary-2);
}

/* Slider*/
.theme-flatsome .slick-slider .slick-arrow {
    background: #B8D8B8;
    color: #005130;
    border-radius: 100px !important;
    font-size: var(--size-2);
    width: var(--size-4);
    height: var(--size-4);
    min-height: auto;
    z-index: 9;
    margin: 0;
}

.theme-flatsome .slick-slider .slick-arrow.slick-prev {
    left: calc((100% - 1200px) / 2);
}

.theme-flatsome .slick-slider .slick-arrow.slick-next {
    right: calc((100% - 1200px) / 2);
}

.theme-flatsome .slick-slider .slick-arrow:before {
    display: none;
}

.theme-flatsome .slick-dotted.slick-slider {
    padding-bottom: var(--size-3);
    margin-bottom: 0;
}

.theme-flatsome .slick-slider .slick-dots {
    bottom: 0;
}

.theme-flatsome .slick-slider .slick-dots li {
    margin: 0;
}

.theme-flatsome .slick-slider .slick-dots button:before {
    color: #005130;
    font-size: 10px;
}

.theme-flatsome .slick-slider .slick-dots .slick-active button:before {
    opacity: 1;
}

.ts-cert-slider .slick-track {
    display: flex;
    align-items: center;
}

.ts-cert-slider .slick-slide {
    padding: 12px 12px 32px;
    height: auto;
}

.ts-cert-slider .ts-cert-slide {
    transition: all 0.3s ease;
    margin-top: var(--size-2);
}

.ts-cert-slider .slick-slide .ts-cert-slide img {
    height: 450px;
    box-shadow: 0px 1px 4px -2px #00000021;
}

.ts-cert-slider .slick-center .ts-cert-slide img {
    height: 500px;
    box-shadow: 0px 4px 8px -2px #00000040;
}

/* list attr */
.ts-attr-filter,
.ts-attr-filter .attr-item {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.ts-attr-filter .attr-item {
    max-width: 150px;
    flex-basis: 150px;
    flex-direction: column;
    padding: 0 12px;
}

.ts-attr-filter .attr-item img {
    border-radius: 100%;
    aspect-ratio: 1/1;
    width: 100%;
    object-fit: cover;
    box-shadow: var(--box-shadow);
    margin-bottom: 8px;
}

.ts-attr-filter .attr-item span {
    font-weight: 700;
    font-size: var(--size-f-2);
}

@media (max-width:576px) {
    header .cart-item .header-cart-link {
        height: 40px;
        width: 40px;
        justify-content: center;
        padding: 0 !important;
        min-height: fit-content;
    }

    header .cart-item .header-cart-link .header-cart-icon:after {
        content: attr(data-icon-label);
        position: absolute;
        font-size: 10px;
        opacity: 1;
        top: -4px;
        right: -10px;
        min-width: 14px;
        height: 14px;
        line-height: 14px;
        padding: 0;
        display: block;
        background-color: var(--color-primary-2);
    }

    header .cart-item .header-cart-link .cart-img-icon {
        width: 20px;
    }
}