/*Version: 3.0.0.0.15ssssssssssss
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.button {
    text-transform: none;
    border-radius: 30px;
}

.banner h1, .banner h2, .banner h3 {
    font-weight: 700;
    line-height: inherit;
}

.banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    width: 50%;
    height: 100%;
    background: -webkit-linear-gradient(left,#fff0 0%,rgb(255 255 255 / .3) 100%);
    background: linear-gradient(to right,#fff0 0%,rgb(255 255 255 / .3) 100%);
    -webkit-transform: skewX(-25deg);
    transform: skewX(-25deg);
}

.banner:hover::before {
    -webkit-animation: shine 0.75s;
    animation: shine 0.75s;
}

.flickity-page-dots .dot {
    opacity: 1 !important;
    border-width: 2px;
    width: 18px;
    height: 18px;
}

.slider-nav-light .flickity-page-dots .dot.is-selected {
    background: none;
    position: relative;
}

.slider-nav-light .flickity-page-dots .dot.is-selected::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}

div#top-bar, div#top-bar a, div#top-bar li {
    font-size: 14px;
}

form.searchform {
    background: #fff;
    border-radius: 30px;
    padding: 0 15px;
    min-width: 290px;
}

form.searchform .flex-row {}

form.searchform .flex-row .flex-col:first-child {
    order: 1;
}

form.searchform button.ux-search-submit {
    margin: 0;
    background: 0;
    border: 0;
    box-shadow: none;
    color: #282828;
}

form.searchform input {
    background: none;
    border: 0;
    box-shadow: none !important;
    color: #282828;
    height: 50px;
}

form.searchform input::placeholder {
    color: #282828;
}

.cg-featured-posts.featured-posts-owlcarousel .post-style-1 {
    height: 100%;
}

.cg-featured-posts.featured-posts-owlcarousel .post-inner {
    height: 100%;
}

.cg-featured-posts.featured-posts-owlcarousel .post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    aspect-ratio: 16 / 11;
    object-fit: cover;
}

.post-style-1 {}

.post-style-1 .post-img {
    margin-bottom: 20px;
}

.post-style-1 .post-content {
    padding-left: 6px;
}

.post-style-1 .post-content .entry-content {
    padding: revert-layer;
}

.post-style-1 .entry-meta-top {
    display: flex;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 13px;
    margin-bottom: 8px;
}

.post-style-1 .entry-meta-top .posted-on a {
    color: #344331;
}

.post-style-1 .entry-meta-top .post-author {
    color: #344331;
    padding-left: 10px;
    border-left: 1px solid #344331;
}

.post-style-1 h3.entry-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-style-1 .more-link-wrap {}

.post-style-1 .more-link-wrap a.more-link {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: #344331;
    transition: all .3s;
    position: relative;
    padding-right: 15px;
}

.post-style-1 .more-link-wrap a.more-link:hover {
    color: #080808;
}

.post-style-1 .more-link-wrap a.more-link span {
    text-decoration: underline;
}

.post-style-1 h3.entry-title a {
    transition: all .3s;
}

.post-style-1 .more-link-wrap a.more-link::after {
    content: '';
    width: 15px;
    height: 15px;
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M9 6L15 12L9 18" stroke="%23344331" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat;
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    bottom: 1px;
    margin: auto;
}

#footer a.ux-menu-link__link {
    border: 0 !important;
    font-size: 16px;
    padding: 3px 0;
    min-height: auto;
    color: #fff;
}

#footer a:hover {
    color: #fff;
}

#footer a.ux-menu-link__link:hover {
    color: #fff;
}

#footer .icon-box-img img {
    /* filter white */
    filter: invert(1);
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.ft-left-col {
    border-right: 1px solid #00000024;
    padding-bottom: 0 !important;
}

.cg-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.cg-socials__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    background: #fff;
    border-radius: 50%;
    color: #282828;
    text-decoration: none;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.cg-socials__link:hover {
    color: #344331 !important;
}

.cg-socials__link:hover {
    opacity: 0.85;
    color: #282828;
}

.cg-socials__link i {
    font-size: 15px;
    line-height: 1;
}

.cg-socials__link--facebook i {
    font-size: 16px;
}

.cg-socials__link--youtube i {
    font-size: 14px;
}

.cg-socials__link--instagram i {
    font-size: 15px;
}

.cg-socials__link--tiktok i {
    font-size: 14px;
}

.ft-cp-sec {
    border-top: 1px solid #00000024;
}

.header-nav-main.nav-left {
    justify-content: end;
}

.header-nav-main.nav-left li:first-child {
    margin-right: auto;
}

.header-nav-main.nav-right {
    justify-content: start;
}

.header-nav-main.nav-right li.account-item {
    margin-left: auto;
}

.icon-user:before {
    content: '';
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M12.1601 10.87C12.0601 10.86 11.9401 10.86 11.8301 10.87C9.45006 10.79 7.56006 8.84 7.56006 6.44C7.56006 3.99 9.54006 2 12.0001 2C14.4501 2 16.4401 3.99 16.4401 6.44C16.4301 8.84 14.5401 10.79 12.1601 10.87Z" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.15997 14.56C4.73997 16.18 4.73997 18.82 7.15997 20.43C9.90997 22.27 14.42 22.27 17.17 20.43C19.59 18.81 19.59 16.17 17.17 14.56C14.43 12.73 9.91997 12.73 7.15997 14.56Z" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat;
    display: block;
    background-size: 100%;
}

.icon-shopping-basket:before {
    content: '';
    width: 30px;
    height: 30px;
    display: block;
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M8.39999 6.5H15.6C19 6.5 19.34 8.09 19.57 10.03L20.47 17.53C20.76 19.99 20 22 16.5 22H7.50999C3.99999 22 3.23999 19.99 3.53999 17.53L4.44 10.03C4.66 8.09 4.99999 6.5 8.39999 6.5Z" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8 8V4.5C8 3 9 2 10.5 2H13.5C15 2 16 3 16 4.5V8" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M20.41 17.03H8" stroke="%23ffffff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat;
    background-size: 100%;
}

.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before {
    display: none;
}

.nav-dropdown-has-arrow li.has-dropdown:after {
    display: none;
}

.nav-dropdown-has-border .nav-dropdown {
    border: 0;
    border-radius: 24px;
}

.nav-dropdown.nav-dropdown-default>li>a {
    border-bottom: 1px solid #EAEAEA;
}

.nav-dropdown>li>a {
    color: #080808;
    font-size: 17px;
    font-weight: 600;
}

.nav-dropdown>li>a:hover {
    color: #344331;
}

.variations_form .ux-swatch.selected {
    box-shadow: 0 0 0 2px #000 !important;
}

.ux-swatches--rounded * {
    border-radius: 8px;
}

.ux-swatches--large .ux-swatch--label {
    min-height: 37px;
    font-size: 17px;
    color: #222;
}

.variations .reset_variations {
    display: none !important;
}

h1.product-title {
    font-size: 30px;
    font-weight: 800;
    line-height: 50px;
    margin-bottom: 0;
}

.product-info span.amount {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: #714497;
}

.woocommerce-variation-description {
    display: none;
}

.woocommerce-variation-price {
    border: 0;
    padding: 0;
}

.product-full-description {
    font-size: 16px;
    line-height: 24px;
}

.product-full-description p, .product-full-description ul, .product-full-description ol {
    margin-bottom: 10px;
}

.product-full-description ul li, .product-full-description ol li {
    margin-bottom: 5px;
}

.woocommerce-tabs .product-tabs {
    justify-content: center;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

.woocommerce-tabs .product-tabs.nav-uppercase > li > a {
    text-transform: none;
    letter-spacing: 0;
}

.woocommerce-tabs .product-tabs > li > a {
    color: #344331;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    padding: 14px 24px;
    opacity: 1;
}

.woocommerce-tabs .product-tabs > li > a:hover {
    color: #080808;
}

.woocommerce-tabs .product-tabs > li.active > a {
    color: #080808;
    font-weight: 700;
}

.woocommerce-tabs .product-tabs.nav-line > li > a:before,
.woocommerce-tabs .product-tabs.nav-line > li > a:after {
    opacity: 0;
    height: 3px;
}

.woocommerce-tabs .product-tabs.nav-line > li.active > a:before {
    opacity: 1;
    background-color: #344331;
}

.woocommerce-tabs .tab-panels {
    padding-top: 24px;
}

.cg-product-tab-content {
    font-size: 16px;
    line-height: 24px;
}

.cg-product-tab-content p,
.cg-product-tab-content ul,
.cg-product-tab-content ol {
    margin-bottom: 10px;
}

.product-footer .woocommerce-tabs {
    border-top: 0;
}

.woocommerce-tabs .product-tabs.nav-line > li.active > a:before {
    top: unset;
    bottom: 0;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 30px 130px 0 130px;
}

.product-info {
    padding-top: 0;
    padding-left: 40px;
}

.product-info .is-divider {
    display: none;
}

.product-gallery {
    padding-right: 40px;
}

.product-info .quantity {
    border: 1px solid #e6e6e6;
    border-radius: 30px;
}

.product-info .quantity input {
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 24px;
    font-weight: 900;
    color: #222;
    height: 48px;
    min-height: unset;
    line-height: 48px;
    width: 41px;
}

.product-info .quantity input.input-text {
    font-size: 18px;
}

.product-info .quantity input:not(.input-text):hover {
    color: #344331;
}

.product-info .quantity input.minus {
    color: #fff !important;
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 11.5C2 10.9477 2.44772 10.5 3 10.5L21 10.5C21.5523 10.5 22 10.9477 22 11.5V12.5C22 13.0523 21.5523 13.5 21 13.5H3C2.44772 13.5 2 13.0523 2 12.5V11.5Z" fill="%23000000"></path></g></svg>') no-repeat;
    background-size: 16px;
    background-position: center;
}

.product-info .quantity input.minus:hover {
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 11.5C2 10.9477 2.44772 10.5 3 10.5L21 10.5C21.5523 10.5 22 10.9477 22 11.5V12.5C22 13.0523 21.5523 13.5 21 13.5H3C2.44772 13.5 2 13.0523 2 12.5V11.5Z" fill="%230870d8"></path></g></svg>') no-repeat;
    background-size: 16px;
    background-position: center;
}

.product-info .quantity input.plus {
    background: none !important;
}

.product-info .quantity {
    border: 1px solid #e6e6e6;
    border-radius: 30px;
}

.product-info .quantity input {
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 24px;
    font-weight: 900;
    color: #222;
    height: 48px;
    min-height: unset;
    line-height: 48px;
    width: 41px;
}

.product-info .quantity input.input-text {
    font-size: 18px;
}

.product-info .quantity input:not(.input-text):hover {
    color: #344331;
}

.product-info .quantity input.minus {
    color: #fff !important;
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 11.5C2 10.9477 2.44772 10.5 3 10.5L21 10.5C21.5523 10.5 22 10.9477 22 11.5V12.5C22 13.0523 21.5523 13.5 21 13.5H3C2.44772 13.5 2 13.0523 2 12.5V11.5Z" fill="%23000000"></path></g></svg>') no-repeat;
    background-size: 16px;
    background-position: center;
}

.product-info .quantity input.minus:hover {
    background: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 11.5C2 10.9477 2.44772 10.5 3 10.5L21 10.5C21.5523 10.5 22 10.9477 22 11.5V12.5C22 13.0523 21.5523 13.5 21 13.5H3C2.44772 13.5 2 13.0523 2 12.5V11.5Z" fill="%230870d8"></path></g></svg>') no-repeat;
    background-size: 16px;
    background-position: center;
}

.product-info .quantity input.plus {
    background: none !important;
}

.product_meta>span {
    border: 0;
    font-weight: 700;
    color: #344331;
}

.product_meta {
    border-top: 1px solid #EAEAEA;
    padding-top: 14px;
}

.product_meta>span>span {
    color: #000;
}

button.single_add_to_cart_button {
    border-radius: 30px;
    text-transform: none;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    height: 50px;
    box-shadow: none !important;
}

button.single_add_to_cart_button:hover {
    background: #000;
}

.product-info .price {
    margin-top: 0;
}

.product-thumbnails img {
    transform: none !important;
    opacity: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails a {
    aspect-ratio: 1;
    border-radius: 24px;
    border: 2px solid #EAEAEA;
    transition: all .4s;
}

.product-thumbnails .is-nav-selected a, .product-thumbnails a:hover {
    border-color: #344331;
}

.box-kn {
    border: 1px solid #ed1c24;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin-bottom: 20px;
    margin-top: 20px;
}

.text-kn {
    height: 50px;
    background: url(./assets/imgs/bg-khuyenmai2.png) no-repeat;
    background-size: 100%;
    position: absolute;
    left: -7px;
    width: 180px;
    padding: 11px 15px;
    text-transform: uppercase;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.text-kn p {
    margin-bottom: 0px;
    font-size: 14px;
}

.text-kn img {
    margin-top: -5px;
    width: 18px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
}

.des-kn {
    padding-top: 60px;
    padding-bottom: 10px;
    font-size: 16px;
    line-height: 25px;
}

.single-product .social-icons {}

.single-product .social-icons a {
    background: #eeeeee;
    border: 0;
    color: #333;
    font-size: 12px;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-product .product-gallery .image-tools {
    bottom: unset;
    top: 18px;
    right: 18px;
    left: unset;
}

.single-product .product-gallery .image-tools a {
    border: 0;
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M11 20C15.9706 20 20 15.9706 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20Z" stroke="%23292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.5 11H13.5" stroke="%23292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 13.5V8.5" stroke="%23292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.9299 20.6898C19.4599 22.2898 20.6699 22.4498 21.5999 21.0498C22.4499 19.7698 21.8899 18.7198 20.3499 18.7198C19.2099 18.7098 18.5699 19.5998 18.9299 20.6898Z" stroke="%23292D32" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat #fff;
    background-size: 60%;
    background-position: center;
    width: 40px;
    height: 40px;
    min-height: auto;
    min-width: auto;
}

.single-product .product-gallery .image-tools a i {
    display: none;
}

.single-product .product-gallery .image-tools a:hover {
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M11 20C15.9706 20 20 15.9706 20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20Z" stroke="%230870d8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.5 11H13.5" stroke="%230870d8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11 13.5V8.5" stroke="%230870d8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.9299 20.6898C19.4599 22.2898 20.6699 22.4498 21.5999 21.0498C22.4499 19.7698 21.8899 18.7198 20.3499 18.7198C19.2099 18.7098 18.5699 19.5998 18.9299 20.6898Z" stroke="%230870d8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat #fff;
    background-size: 60%;
    background-position: center;
}

.pswp__scroll-wrap {
    background: #111;
}

.woocommerce-product-gallery {
    border-radius: 24px;
    overflow: hidden;
}

.related-products-wrapper .flickity-button {
    display: none;
}

.breadcrumbs {
    color: #080808;
    margin-top: -20px;
    font-size: 15px;
}

.breadcrumbs a {
    color: #080808;
    font-size: 15px;
    text-transform: none;
    font-weight: 400;
    line-height: 18px;
}

.breadcrumbs .divider, .breadcrumbs .separator {
    height: 12px;
    line-height: 12px;
    font-size: 14px;
    color: #080808;
    opacity: 1;
}

.woocommerce-result-count {
    font-size: 15px;
}

.related-products-wrapper {
    padding-top: 50px;
    padding-bottom: 30px;
}

.related-products-wrapper .product-section-title {
    text-align: center;
    font-size: 36px;
    text-transform: none;
    font-weight: 800;
    letter-spacing: 0;
}

.product-small {}

.product-small .product-small {
    position: relative;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    z-index: 9;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    outline: none;
    border-radius: 24px;
    background-color: #fff;
}

.product-small .product-small::before {
    position: absolute;
    z-index: -2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-origin: center;
    opacity: 0;
    transition: all 0.55s cubic-bezier(.2, .75, .5, 1);
    box-shadow: 0 1px 24px 0 rgb(0 0 0 / .09);
    border-radius: 30px;
    content: '';
}

.product-small .product-small:hover::before {
    opacity: 1;
    pointer-events: all;
    transform: scale(1.07) translateY(7px) translateZ(0);
}

.product-small .box-text {
    padding-bottom: 0;
    padding-left: 10px;
}

.product-small .product-title a {
    font-size: 18px;
    font-weight: 600;
    transition: all .4s;
    margin: 0 0 10px;
    display: block;
}

.product-small .product-title a:hover {
    color: #344331;
}

.product-small span.amount {
    color: #714497;
}

.product-small .product-title {
    margin: 0;
}

.product-small .box-image {
    aspect-ratio: 1/1.4;
    overflow: hidden;
    border-radius: 24px;
}

.product-small .box-image img {
    object-fit: cover;
}

.product-small .box-image a {
    aspect-ratio: 1 / 1.4;
    display: flex;
}

.row-small>.flickity-viewport>.flickity-slider>.col {
    padding: 20px 14px 50px;
}

.has-hover:hover .show-on-hover {
    transform: scale(1.1) translateZ(0) translateY(0) !important;
}

.hover-zoom {
    transform: scale(1) translateZ(0);
}

.category-page-row .products.row-small>.col {
    padding: 0 12px 40px;
}

form.woocommerce-ordering select {
    background-color: #F7F8F9 !important;
    border: 0;
    border-radius: 30px;
    margin: 0;
    padding: 0 20px;
    font-size: 15px;
    width: 200px;
    box-shadow: none !important;
    height: 46px;
}

.widget .is-divider {
    display: none;
}

.widget_product_categories .is-divider {
    height: 1px;
    background: #EAEAEA;
    width: 100%;
    max-width: unset;
    display: block;
}

span.widget-title {
    text-transform: capitalize;
    font-size: 16px;
    display: block;
    margin-bottom: 20px;
}

.widget_product_categories span.widget-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.widget_product_categories a, .widget>ul>li>a {
    font-size: 16px;
}

.widget_product_categories a {
    font-weight: 600;
}

.widget>ul>li+li {
    border: 0;
}

aside.widget {
    padding-top: 30px;
    border-top: 1px solid #EAEAEA;
}

aside.widget:last-child {
    border-top: 0;
    padding-top: 0;
}

aside.widget.widget_product_categories {
    border-top: 0;
    padding-top: 0;
}

.widget_price_filter .ui-slider .ui-slider-range {
    background: #344331;
}

.widget_price_filter .ui-slider .ui-slider-handle {
    background: #344331;
    width: 12px;
    height: 12px;
    top: -4px;
}

.widget_price_filter .price_label {
    font-size: 16px;
    font-weight: 600;
}

.widget_price_filter .price_label span {
    font-weight: 400;
}

.widget_price_filter .price_slider_amount .button {
    background: none !important;
    color: #222;
    padding: 0;
    border: 0;
    margin: 0;
    box-shadow: none;
    font-size: 18px;
    line-height: 28px;
    min-height: unset;
}

.widget_price_filter .price_slider_amount .button:hover {
    color: #344331;
}

.widget_price_filter .widget-title {
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
}

.woocommerce-widget-layered-nav {}

.woocommerce-widget-layered-nav ul>li {
    display: flex;
    justify-content: start;
    gap: 10px;
    position: relative;
}

.woocommerce-widget-layered-nav ul>li>a {flex: 0;}

.woocommerce-widget-layered-nav ul>li span.count {
    opacity: 1;
}

.woocommerce-widget-layered-nav ul>li::before {
    content: '';
    width: 15px;
    height: 15px;
    margin: 0;
    border: 2px solid #d2d2d2;
    border-radius: 4px;
}

.woocommerce-widget-layered-nav ul>li::after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    left: 3px;
    top: 0;
    bottom: 0;
    margin: auto;
    background: url('data:image/svg+xml,<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4 12.6111L8.92308 17.5L20 6.5" stroke="%230870d8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>') no-repeat;
    background-size: 100%;
    opacity: 0;
}

.woocommerce-widget-layered-nav ul>li:hover::before, .woocommerce-widget-layered-nav ul>li.chosen::before {
    border-color: #344331;
}

.woocommerce-widget-layered-nav ul>li:hover::after, .woocommerce-widget-layered-nav ul>li.chosen::after {
    opacity: 1;
}

.woocommerce-widget-layered-nav ul>li:hover>a {
    color: #344331;
}

.widget li.chosen a:before {
    display: none;
}

.woocommerce-widget-layered-nav ul>li.chosen>a {
    color: #344331;
}


.widget_products .is-divider {
    display: block;
    height: 1px;
    background: #EAEAEA;
    width: 100%;
    max-width: unset;
}

ul.product_list_widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

ul.product_list_widget li {
    padding: 30px 0 30px 120px;
    font-size: 16px;
    min-height: 125px;
    height: auto;
}

ul.product_list_widget li span.product-title {
    font-size: 16px;
    font-weight: 600;
}

ul.product_list_widget li span.amount, span.amount {
    color: #714497;
}

ul.product_list_widget li img {
    height: 125px;
    margin: 0;
    width: 100px;
    border-radius: 24px;
    top: 0;
}

.woocommerce-widget-layered-nav .widget-title {
    position: relative;
    cursor: pointer;
}

.woocommerce-widget-layered-nav .widget-title::after, .widget_price_filter .widget-title::after {
    content: '';
    width: 12px;
    height: 2px;
    background: #080808;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.3s ease;
}

.woocommerce-widget-layered-nav .widget-title.active::after, .widget_price_filter .widget-title.active::after {
    transform: rotate(90deg);
}

.woocommerce-widget-layered-nav .widget-title.active::before, .widget_price_filter .widget-title.active::before {
    content: '';
    width: 12px;
    height: 2px;
    background: #080808;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transition: all 0.3s ease;
}

.nav-pagination>li>a {
    border: 0;
}

.button {
    text-transform: none;
    border-radius: 30px;
}

.cart-popup-title>span {
    font-weight: 400;
    text-transform: none;
    font-size: 20px;
    text-align: left;
}

.cart-popup-inner .is-divider {
    height: 1px;
    width: 100%;
    max-width: unset;
}

.shop_page_product_button {
    background: #F8F9FA;
    width: 44px;
    height: 44px;
    margin: 0;
    border-radius: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 11px;
    transition: all .3s;
}

.shop_page_product_button svg {
    width: 20px;
}

.shop_page_product_button:hover svg path {
    fill: #344331;
}

section.page-banner {
    background: #F9F5F6;
}

section.page-banner p#breadcrumbs {
    font-size: 15px;
}

.page-banner-inner {
    padding-top: 50px;
}

section.page-banner h1 {
    font-size: 50px;
    margin-bottom: 15px;
}

form.checkout h3 {
    font-size: 28px;
    text-transform: capitalize;
}

.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    height: 46px;
    border-color: #EAEAEA;
    box-shadow: none !important;
    border-radius: 30px;
}

.shop_table .order-total td, .shop_table .order-total th, .shop_table thead th {
    font-weight: normal;
    text-transform: none;
    border-width: 1px;
}

.cart_totals th.product-name {
    border-width: 1px;
    font-size: 28px;
    text-transform: capitalize;
}

.woocommerce-checkout .has-border {
    border: 6px solid #EAEAEA;
}

.cart-sidebar .widget-title {
    border-width: 1px;
}

button#place_order {
    font-size: 20px;
}

.woocommerce-checkout .woocommerce, .woocommerce-page .woocommerce {
    margin-top: 30px;
    margin-bottom: 30px;
}

.woocommerce-checkout .woocommerce a, .woocommerce-checkout .woocommerce span.amount, .woocommerce-page .woocommerce span.amount {
    color: #714497;
}

.shop_table .cart_item td.product-thumbnail img {
    aspect-ratio: 1/1.4;
    border-radius: 24px;
}

a.icon-remove, a.remove {
    border: 0;
    color: #714497;
    font-size: 26px !important;
}

.shop_table .cart_item td.product-quantity input:not(.qty) {
    border-radius: 100% !important;
    height: 30px;
    padding: 0;
    min-height: unset;
    line-height: 20px;
    width: 30px;
    border: 1px solid #f7f7f7;
    background: #f7f7f7;
    font-weight: 700;
    font-size: 22px;
    box-shadow: none;
}

.shop_table .cart_item td.product-quantity input.qty {
    border: 0;
    height: 30px;
    padding: 0;
}

.shop_table .cart_item td.product-quantity input.minus {}

.shop_table .cart_item td.product-quantity .quantity {
    border: 1px solid #e5e5e5;
    padding: 6px;
}

.single-post .entry-meta-top {
    display: flex;
    gap: 15px;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #344331;
}

.single-post .entry-meta-top a {
    color: #344331;
}

.single-post .entry-meta-top .post-author a {
    color: #080808;
}

.single-post .entry-meta-top > div {position: relative;}

.single-post .entry-meta-top > div::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 12px;
    background: #232323;
    left: -7px;
    top: 0;
    bottom: 0;
    margin: auto;
}

.single-post .entry-meta-top > div:first-child::before {
    display: none;
}

button[name="apply_coupon"] {
    background: #699bcd !important;
    text-shadow: none !important;
    color: #fff !important;
    font-weight: 700 !important;
}

.icon-menu:before {
    color: #fff;
}

.single-product .shop-page-title {
    display: none;
}

.page-title:not(.featured-title)+main .product-main {
    padding-top: 40px;
}

.flickity-slider .banner-bg {
    opacity: .4;
}

/* Header Search and Logo */
@media only screen and (max-width: 1400px) {
    form.searchform { 
        min-width: 100px;
    }
}

@media only screen and (max-width: 1284px) {
    form.searchform {
        min-width: 50px;
    }

    form.searchform input {
        width: 135px;
    }

    .logo-center .logo {
        margin: 0 15px;
    }

    #logo img {
        max-height: 80px !important;
    }
}

@media only screen and (max-width: 1197px) {
    form.searchform {
        min-width: 50px;
        padding: 0 5px;
    }

    #logo img {
        max-height: 60px !important;
    }

    #logo {
        width: 100px !important;
    }


}

@media only screen and (max-width: 1095px) {
    .header-main .nav > li > a {
        font-size: 15px;
    }

    form.searchform input {
        width: 112px;
    }
}

@media only screen and (max-width: 1006px) {
    form.searchform input {
        width: 95px;
    }
}
/* End Header Search and Logo */

/* Live Search Products */
.autocomplete-suggestion {
    display: inline-block;
    width: 100%;
}

.autocomplete-suggestion img {
    aspect-ratio: 1/1;
    overflow: hidden;
    float: left;
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: unset;
}

.autocomplete-suggestion .search-price {
    font-size: 1em;
}

.autocomplete-suggestion img+.search-name {
    font-size: 1.1em;
}
/* End Live Search Products */

/* Contact Page */
.ctp-icon-box {}

.ctp-icon-box p {
    margin-bottom: 0;
}
/* End Contact Page */

/* Wishlist */
.product-small .group-action {
    align-items: center;
    justify-content: end;
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    z-index: 99999;
    transition: all 0.5s ease;
}

.product-small .group-action .shop-action {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .product-small .group-action {
        visibility: hidden;
        opacity: 0;
    }
}

.product-small:hover .group-action {
    visibility: visible;
    opacity: 1;
}

.product-small .group-action .shop-action button {
    margin: 0;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all ease 0.3s;
}

.product-small .group-action .shop-action button:hover {
    color: #fff;
    background: #344331;
}

.woosw-list .woosw-switcher {
    display: none;
}
/* End Wishlist */

/* abc anchor */

/* Tablet and Mobile */
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    .off-canvas-left.mfp-ready .mfp-content, .off-canvas-right.mfp-ready .mfp-content {
        background: #fff;
    }

    form.searchform {
        min-width: 100%;
    }

    form.searchform {
        min-width: 100%;
        border: 1px solid #ccc;
    }

    .off-canvas .nav-vertical>li>a {
        font-size: 17px;
        font-weight: 700;
        color: #222;
    }

    .off-canvas .nav-vertical li li>a {
        color: #222;
        font-size: 18px;
    }

    .off-canvas .nav-vertical>li>button {
        font-size: 12px;
    }

    .cg-socials {
        justify-content: center;
    }

    #footer h5 {
        border-top: 1px solid #ffffff52;
    }

    .cg-socials__link {
        width: 20px;
        height: 20px;
    }

    .cg-socials__link--youtube i {
        font-size: 12px;
    }

    .cg-socials__link--facebook i {
        font-size: 10px;
    }

    .cg-socials__link--instagram i {
        font-size: 11px;
    }

    .cg-socials__link--tiktok i {
        font-size: 11px;
    }

    section.page-banner h1 {
        font-size: 20px;
        margin-bottom: 0;
    }

    .category-page-row .products.row-small>.col {
        padding: 0 5px 40px;
    }

    .shop_page_product_button {
        display: none !important;
    }

    .product-small .product-title a {
        font-size: 16px;
    }

    .product-small span.amount {
        font-size: 16px;
    }

    .product-gallery {
        padding-right: 15px;
    }

    .product-info {
        padding-left: 15px;
        padding-top: 30px;
    }

    .woocommerce-tabs .product-tabs > li > a {
        font-size: 17px;
        padding: 10px 17px;
    }

    .single-product .woocommerce-tabs .woocommerce-Tabs-panel {
        padding: 0;
    }

    .related-products-wrapper .product-section-title {
        margin-bottom: 0;
        font-size: 26px;
    }

    .row-small>.flickity-viewport>.flickity-slider>.col {
        padding: 20px 5px 30px;
    }

    .cg-featured-posts.featured-posts-owlcarousel .post-thumbnail img {
        aspect-ratio: 16 / 11;
        object-fit: cover;
    }

    .flickity-slider .banner-bg img {
        object-fit: cover;
        object-position: 56% 0% !important;
    }


    /* abc anchor */

}

.absolute-footer, .grecaptcha-badge, a.back-to-top {
    display: none !important;
}

@-webkit-keyframes shine {
    100% {
        left: 125%
    }
}

@keyframes shine {
    100% {
        left: 125%
    }
}

/* =====================================================================
   TIN TỨC - danh sách bài viết trang /tin-tuc/ (giống bố cục mẫu
   ngocthanhtam.com/tin-tuc/, nhưng dùng màu thương hiệu #344331
   thay cho màu hồng của mẫu). Xem template-parts/posts/archive-list.php
   ===================================================================== */

.blog-archive .cg-news-list {
	margin: 0;
}

.blog-archive .cg-news-item {
	display: flex;
	align-items: stretch;
	gap: 40px;
	margin: 0 0 40px;
}

.blog-archive .cg-news-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.blog-archive .cg-news-thumb {
	flex: 0 0 40%;
	max-width: 40%;
	border-radius: 24px;
	overflow: hidden;
}

.blog-archive .cg-news-thumb img {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	display: block;
	margin: 0;
    aspect-ratio: 4.5/3;
}

.blog-archive .cg-news-content {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.blog-archive .cg-news-meta {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #344331;
	margin-bottom: 10px;
}

.blog-archive .cg-news-meta .cg-news-sep {
	margin: 0 6px;
	opacity: .6;
}

.blog-archive .cg-news-meta .cg-news-cat a {
	color: #344331;
}

.blog-archive .cg-news-title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.4;
	font-weight: 800;
	text-transform: capitalize;
}

.blog-archive .cg-news-title a {
	color: #282828;
}

.blog-archive .cg-news-title a:hover {
	color: #344331;
}

.blog-archive .cg-news-excerpt {
	font-size: 16px;
	line-height: 1.5;
	color: #575757;
	margin-bottom: 18px;
}

.blog-archive .cg-news-excerpt p {
	margin: 0;
}

.blog-archive .cg-news-more {
	display: inline-block;
	width: -webkit-fit-content;
	width: fit-content;
	font-size: 16px;
	font-weight: 700;
	color: #344331;
	text-decoration: underline;
	text-transform: capitalize;
}

.blog-archive .cg-news-more:hover {
	color: #054f99;
}

/* Sidebar: Danh mục + Bài viết mới */
.post-sidebar {
    border-left: 0 !important;
}

.post-sidebar .widget, .post-sidebar > div {
	margin-bottom: 40px;
    padding-top: 0;
    border-top: none;
}

.widget_search form {
    margin-bottom: 0;
}

.post-sidebar .widget-title,
.post-sidebar h2 {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(40, 40, 40, .1);
	text-transform: capitalize;
}

.post-sidebar .wp-block-categories-list,
.post-sidebar ul.wp-block-categories {
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-sidebar .wp-block-categories-list li,
.post-sidebar ul.wp-block-categories li {
	margin-bottom: 10px;
}

.post-sidebar .wp-block-categories-list a,
.post-sidebar ul.wp-block-categories a {
	color: #282828;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
}

.post-sidebar .wp-block-categories-list a:hover,
.post-sidebar ul.wp-block-categories a:hover {
	color: #344331;
}

.post-sidebar .wp-block-latest-posts li {
	margin-bottom: 20px;
	overflow: hidden; /* clearfix cho ảnh float */
}

.post-sidebar .wp-block-latest-posts li:last-child {
	margin-bottom: 0;
}

.post-sidebar .wp-block-latest-posts__featured-image {
	float: left;
	width: 80px;
	margin: 0 16px 0 0;
	border-radius: 12px;
	overflow: hidden;
}

.post-sidebar .wp-block-latest-posts__featured-image img {
	width: 80px !important;
	height: 80px !important;
	max-width: 80px !important;
	max-height: 80px !important;
	object-fit: cover;
	display: block;
	margin: 0;
}

.post-sidebar a.wp-block-latest-posts__post-title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #282828;
	text-decoration: none;
	margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

.post-sidebar a.wp-block-latest-posts__post-title:hover {
	color: #344331;
}

.post-sidebar time.wp-block-latest-posts__post-date {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #344331;
	text-transform: uppercase;
	letter-spacing: .02em;
}

@media only screen and (max-width: 48em) {
	.blog-archive .cg-news-item {
		flex-direction: column;
		gap: 16px;
	}

	.blog-archive .cg-news-thumb {
		flex-basis: auto;
		max-width: 100%;
	}

	.blog-archive .cg-news-thumb img {
		min-height: 0;
	}
}

/* Sidebar: khung quảng cáo (giống khối CTA cuối sidebar của mẫu) */
.post-sidebar .cg-promo-card {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	min-height: 340px;
}

.post-sidebar .cg-promo-link {
	display: block;
	position: relative;
	height: 100%;
	min-height: 340px;
	text-decoration: none;
}

.post-sidebar .cg-promo-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	margin: 0;
	display: block;
}

.post-sidebar .cg-promo-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 112, 216, 0) 35%, rgba(8, 40, 77, .85) 100%);
}

.post-sidebar .cg-promo-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px;
	text-align: center;
}

.post-sidebar .cg-promo-subtitle {
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #bfe0ff;
	margin-bottom: 8px;
}

.post-sidebar .cg-promo-title {
	display: block;
	font-size: 20px;
	line-height: 1.35;
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
}

.post-sidebar .cg-promo-btn {
	display: inline-block;
	padding: 10px 22px;
	border-radius: 999px;
	background: #344331;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-transform: capitalize;
}

.post-sidebar .cg-promo-link:hover .cg-promo-btn {
	background: #054f99;
}

/* Sidebar: ô tìm kiếm dạng viên thuốc bo tròn + icon (giống mẫu) */
.post-sidebar .wp-block-search__label {
	display: none;
}

.post-sidebar .wp-block-search__inside-wrapper {
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	background: #fff;
	overflow: hidden;
	height: 52px;
}

.post-sidebar .wp-block-search__input {
	border: none;
	background: transparent;
	box-shadow: none;
	padding: 0 0 0 22px;
	font-size: 15px;
	height: 100%;
}

.post-sidebar .wp-block-search__button {
	background: transparent;
	border: none;
	box-shadow: none;
	color: #282828;
	padding: 0 20px;
	margin: 0;
	height: 100%;
}

.post-sidebar .wp-block-search__button svg {
	fill: #282828;
	width: 20px;
	height: 20px;
}

.post-sidebar .wp-block-search__button:hover {
	background: transparent;
	color: #344331;
}

.post-sidebar .wp-block-search__button:hover svg {
	fill: #344331;
}
