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

/*************** ADD CUSTOM CSS HERE.   ***************/
.vdht-cat-menu {
    position: relative;
    width: 324px;
    max-width: 100%;
    font-family: inherit;
    z-index: 9998;
}

.vdht-cat-trigger {
    width: 100%;
    height: 45px;
    border: 0;
    border-radius: 6px 6px 0 0;
    padding: 0 14px;
    background: #006f37;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

.vdht-cat-burger {
    width: 20px;
    height: 21px;
    display: inline-block;
    background: linear-gradient(#fff, #fff) left 0 top 2px / 46px 3px no-repeat,
        linear-gradient(#fff, #fff) left 0 top 11px / 46px 3px no-repeat,
        linear-gradient(#fff, #fff) left 0 top 20px / 46px 3px no-repeat;
    flex: 0 0 auto;

    /* Thêm 2 dòng này để scale */
    transform: scale(0.7);
    transform-origin: center center;
    /* Hoặc left center tùy thuộc vào layout của bạn */
}

.vdht-cat-panel {
    width: 324px;
    position: absolute;
    background: #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .14);
    overflow-y: auto;
}

.vdht-cat-menu--hover .vdht-cat-panel {
    display: none;
}

.vdht-cat-menu--always .vdht-cat-panel {
    position: absolute;
    left: 0;
    top: 46px;
    /* height: calc(100vh - var(--vdht-cat-top, 0px)); */
    height: auto;
    z-index: 9997;
}


.vdht-cat-menu--hover:hover .vdht-cat-panel,
.vdht-cat-menu--hover:focus-within .vdht-cat-panel,
.vdht-cat-menu--hover.is-open .vdht-cat-panel {
    display: block;
}

.vdht-cat-promo,
.vdht-cat-link {
    min-height: 40px;
    padding: 0 14px;
    color: #17213b;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    border-bottom: 1px solid #e1e5ef;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.vdht-cat-promo:hover,
.vdht-cat-link:hover {
    color: #07843f;
    background: #f6fbf8;
    text-decoration: none;
}

.vdht-cat-promo-icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #f3344b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    flex: 0 0 auto;
}

.vdht-cat-list,
.vdht-cat-sublist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vdht-cat-item {
    position: relative;
    margin-bottom: 0;
}

.vdht-cat-link span:first-child {
    min-width: 0;
    flex: 1;
}

.vdht-cat-arrow {
    color: #9aa3b4;
    font-size: 18px;
    flex: 0 0 auto;
}

.vdht-cat-subpanel {
    position: fixed;
    top: var(--vdht-cat-top, 0px);
    left: calc(var(--vdht-cat-left, 0px) + 324px);
    width: 280px;
    height: calc(100vh - var(--vdht-cat-top, 0px));
    display: none;
    background: #fff;
    box-shadow: 8px 8px 22px rgba(0, 0, 0, .14);
    padding: 12px 14px;
    overflow-y: auto;
    z-index: 9998;
}

.vdht-cat-item.has-children:hover>.vdht-cat-subpanel {
    display: block;
}

.vdht-cat-subtitle {
    margin-bottom: 8px;
    color: #07843f;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
}

.vdht-cat-sublist a {
    min-height: 38px;
    color: #17213b;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-bottom: 1px solid #edf0f5;
    font-size: 15px;
    font-weight: 600;
}

.vdht-cat-sublist a:hover {
    color: #07843f;
}

.vdht-cat-overlay {
    display: none;
}

.single-product .vdht-cat-menu--single {
    width: 370px;
}

body.vdht-cat-modal-open {
    overflow: hidden;
}

.single-product .vdht-cat-menu--single .vdht-cat-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(0, 0, 0, .68);
    cursor: default;
}

.single-product .vdht-cat-menu--single.is-open .vdht-cat-overlay {
    display: block;
}

.single-product .vdht-cat-menu--single .vdht-cat-panel,
.single-product .vdht-cat-menu--single.vdht-cat-menu--hover:hover .vdht-cat-panel,
.single-product .vdht-cat-menu--single.vdht-cat-menu--hover:focus-within .vdht-cat-panel {
    display: none;
}

.single-product .vdht-cat-menu--single.is-open .vdht-cat-panel,
.single-product .vdht-cat-menu--single.vdht-cat-menu--hover.is-open .vdht-cat-panel,
.single-product .vdht-cat-menu--single.vdht-cat-menu--hover.is-open:hover .vdht-cat-panel,
.single-product .vdht-cat-menu--single.vdht-cat-menu--hover.is-open:focus-within .vdht-cat-panel {
    position: fixed;
    left: var(--vdht-cat-left, 0px);
    top: var(--vdht-cat-top, 0px);
    z-index: 10001;
    display: block;
    width: 370px;
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - var(--vdht-cat-top, 0px) - 12px);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
}

.single-product .vdht-cat-menu--single .vdht-cat-promo,
.single-product .vdht-cat-menu--single .vdht-cat-link {
    min-height: 54px;
    padding: 0 18px;
    border-bottom-color: #e2e7ef;
    color: #202842;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0;
}

.single-product .vdht-cat-menu--single .vdht-cat-promo-icon {
    width: 23px;
    height: 23px;
    font-size: 15px;
}

.single-product .vdht-cat-menu--single .vdht-cat-arrow {
    font-size: 19px;
}

.single-product .vdht-cat-menu--single .vdht-cat-subpanel {
    z-index: 10002;
    top: var(--vdht-cat-top, 0px);
    left: calc(var(--vdht-cat-left, 0px) + 370px);
    height: calc(100vh - var(--vdht-cat-top, 0px) - 12px);
}

@media (max-width: 768px) {
    .vdht-cat-menu {
        width: 100%;
    }

    .vdht-cat-panel,
    .vdht-cat-menu--always .vdht-cat-panel,
    .vdht-cat-menu--hover .vdht-cat-panel {
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        height: auto;
        max-height: 70vh;
    }

    .vdht-cat-subpanel {
        position: static;
        width: 100%;
        height: auto;
        box-shadow: none;
        padding: 0 14px 10px;
    }

    .single-product .vdht-cat-menu--single {
        width: 100%;
    }

    .single-product .vdht-cat-menu--single.is-open .vdht-cat-panel {
        position: fixed;
        left: 12px;
        right: 12px;
        top: var(--vdht-cat-top, 0px);
        width: auto;
        max-width: none;
        max-height: calc(100vh - var(--vdht-cat-top, 0px) - 12px);
    }

    .single-product .vdht-cat-menu--single .vdht-cat-subpanel {
        position: static;
        width: 100%;
        height: auto;
    }
}

ul.header-nav.header-nav-main.nav.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
}

ul.header-nav.header-nav-main.nav.nav-right>li.html.custom {
    display: flex;
    align-items: center;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 0 0 auto;
}

li.html.custom.html_top_right_text {
    flex: 1 1 760px;
    min-width: 520px;
}

li.html.custom.html_topbar_right {
    flex: 0 0 390px;
}

.vdht-search-wrap {
    width: 100%;
    max-width: 820px;
}

.vdht-delivery-wrap {
    width: 100%;
    max-width: 390px;
}

.header-nav .account-item>.account-link,
.header-nav .account-item>.nav-top-link {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 8px 8px 0 0;
    background: #007a3d;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    line-height: 1;
}

.header-nav .account-item>.account-link:hover,
.header-nav .account-item>.nav-top-link:hover {
    background: #006f37;
    color: #fff !important;
}

.header-nav .account-item>.account-link span,
.header-nav .account-item>.nav-top-link span,
.header-nav .account-item .header-account-title {
    order: 2;
    display: inline-flex !important;
    align-items: center;
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
}

.header-nav .account-item>.nav-top-not-logged-in::before {
    content: "";
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-block;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none'%3E%3Ccircle cx='12' cy='7.5' r='4.5' stroke='white' stroke-width='1.8'/%3E%3Cpath d='M4 21c1.6-4.5 4.2-6.7 8-6.7s6.4 2.2 8 6.7' stroke='white' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
}

#main,
#wrapper {
    background-color: #E9EDF0;
    position: relative;
}

.copyright-footer {
    color: #000;
}

.section-pre-footer p {
    margin-bottom: 0px;
}

.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: 5px;
}

.section-footer span.ux-menu-link__text {
    color: #000;
    font-size: 14px;
}

.section-footer span.ux-menu-link__text:hover {
    color: #64AC31;
}

.section-footer a.ux-menu-link__link.flex {
    margin-bottom: -4px;
}

.col-icon-box .icon-box.featured-box {
    margin-bottom: 18px;
}

#wide-nav>.flex-row.container {
    display: flex;

}

#wide-nav>.flex-row.container>.flex-col:first-child {
    flex-basis: 25%;
    max-width: 25%;
}


#wide-nav>.flex-row.container>.flex-col:last-child {
    flex-basis: 75%;
    max-width: 75%;
}

li.html.custom.html_nav_position_text_top {
    width: 100%;
}

.vdht-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0 24px;
}

.vdht-blog-card {
    min-width: 0;
    margin: 0;
}

.vdht-blog-card-link {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3.08;
    overflow: hidden;
    border-radius: 12px;
    background: #e8ece8;
    color: #fff;
    text-decoration: none;
}

.vdht-blog-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0, rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .78) 100%);
    z-index: 1;
}

.vdht-blog-card-link img,
.vdht-blog-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vdht-blog-placeholder {
    background: linear-gradient(135deg, #cdd8cf, #eef3ec);
}

.vdht-blog-views {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(43, 36, 30, .62);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
}

.vdht-blog-eye {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    position: relative;
    display: inline-block;
}

.vdht-blog-eye::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .85);
}

.vdht-blog-title {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 1.18;
    font-weight: 400;
}

.vdht-blog-card-link:hover {
    color: #fff;
}

.vdht-cat-archive-top {
    background: #e8edf3;
}

.shop-container .prod-cat-slider-container {
    border-radius: 14px;
}

.vdht-cat-archive-titlebar {
    min-height: 80px;
    margin-bottom: 24px;
    border-radius: 8px;
    background: #fff;
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    overflow: hidden;
}

.vdht-cat-archive-back {
    height: 100%;
    color: #17213b;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 54px;
    line-height: 1;
}

.vdht-cat-archive-back:hover {
    color: #07843f;
}

.vdht-cat-archive-titlebar h1 {
    margin: 0;
    color: #202942;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}

.vdht-cat-archive-scroller {
    position: relative;
    margin-bottom: 24px;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.vdht-cat-archive-list {
    min-height: 240px;
    padding: 18px 52px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vdht-cat-archive-list::-webkit-scrollbar {
    display: none;
}

.vdht-cat-archive-item {
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 8px 10px 12px;
    color: #202942;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 400;
}

.vdht-cat-archive-item:hover,
.vdht-cat-archive-item.is-active {
    border-color: #00843f;
    color: #00843f;
    background: #f2fff6;
}

.vdht-cat-archive-item img,
.vdht-cat-archive-thumb-placeholder {
    width: 118px;
    height: 96px;
    display: block;
    object-fit: contain;
}

.vdht-cat-archive-thumb-placeholder {
    border-radius: 8px;
    background: #eef3f0;
}

.vdht-cat-archive-arrow,
.vdht-cat-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 160px;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(91, 100, 116, .48);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
}

.vdht-cat-archive-arrow span,
.vdht-cat-banner-arrow span {
    font-size: 56px;
    line-height: .8;
    font-weight: 300;
}

.vdht-cat-archive-arrow-prev,
.vdht-cat-banner-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.vdht-cat-archive-arrow-next,
.vdht-cat-banner-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.category-page-row {
    padding: 18px 0;
}

.vdht-cat-filter-row {
    margin: 18px 0;
    border-radius: 14px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-shadow: 0 1px 0 rgba(16, 24, 40, .04);
}

.vdht-cat-filter-row::-webkit-scrollbar {
    display: none;
}

.vdht-cat-brand-chip {
    width: 118px;
    height: 68px;
    border: 1px solid #d7dce5;
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #202942;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

.vdht-cat-brand-chip img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.vdht-cat-filter-btn {
    min-height: 58px;
    min-width: 210px;
    padding: 0 22px;
    border: 1px solid #d7dce5;
    border-radius: 9px;
    background: #fff;
    color: #202942;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 0 0 auto;
    font-size: 24px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.vdht-cat-filter-btn:hover,
.vdht-cat-filter-dropdown summary:hover,
.vdht-cat-filter-dropdown[open] summary {
    border-color: #9fb1cc;
    box-shadow: 0 7px 20px rgba(31, 42, 68, .07);
    color: #202942;
}

.vdht-cat-filter-dropdown {
    position: relative;
    flex: 0 0 auto;
}

.vdht-cat-filter-dropdown summary {
    padding: 10px 22px;
    border: 1px solid #d7dce5;
    border-radius: 9px;
    background: #fff;
    color: #535b6b;
    display: inline-flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.vdht-cat-filter-dropdown summary::-webkit-details-marker {
    display: none;
}

.vdht-cat-filter-btn i,
.vdht-cat-filter-dropdown summary i {
    color: #35ad6d;
    font-size: 16px;
    line-height: 1;
}

.vdht-cat-filter-dropdown[open] summary i {
    transform: rotate(180deg);
}

.vdht-cat-filter-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    z-index: 20;
    min-width: 100%;
    max-height: 280px;
    border: 1px solid #d7dce5;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(31, 42, 68, .14);
    overflow-y: auto;
    padding: 10px;
}

.vdht-cat-filter-menu a {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 7px;
    color: #202942;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.vdht-cat-filter-menu a:hover {
    background: #effff4;
    color: #07843f;
}

.vdht-cat-filter-main {
    color: #202942;
}

.vdht-cat-filter-icon {
    width: 24px;
    height: 24px;
    border: 3px solid #13a65b;
    border-top: 0;
    clip-path: polygon(0 0, 100% 0, 58% 48%, 58% 100%, 42% 100%, 42% 48%);
}

.vdht-cat-banner {
    position: relative;
    height: 292px;
    background: #fff000;
    overflow: hidden;
}

.vdht-cat-banner img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vdht-cat-banner-fallback {
    height: 100%;
    padding: 24px 90px;
    background: linear-gradient(90deg, #fff000, #ffe900);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vdht-cat-banner-fallback strong {
    display: block;
    color: #e91b14;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.vdht-cat-banner-fallback span {
    margin-top: 12px;
    border-radius: 8px;
    padding: 10px 32px;
    background: #009f4d;
    color: #fff;
    display: inline-flex;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.vdht-cat-banner-fallback img {
    width: 34%;
    object-fit: contain;
}

.vdht-category-banner-carousel {
    --vdht-banner-height: auto;
    position: relative;
    background: #fff000;
    overflow: hidden;
}

.vdht-category-banner-track {
    position: relative;
    width: 100%;
}

.vdht-category-banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}

.vdht-category-banner-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.vdht-category-banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.vdht-category-banner-carousel[style*="--vdht-banner-height"] .vdht-category-banner-track {
    height: var(--vdht-banner-height);
}

.vdht-category-banner-carousel[style*="--vdht-banner-height"] .vdht-category-banner-slide {
    height: 100%;
}

.vdht-category-banner-carousel[style*="--vdht-banner-height"] .vdht-category-banner-slide.is-active {
    position: absolute;
}

.vdht-category-banner-carousel[style*="--vdht-banner-height"] .vdht-category-banner-slide img {
    height: 100%;
}

.vdht-category-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 96px;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(91, 100, 116, .48);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease;
}

.vdht-category-banner-arrow:hover {
    background: rgba(91, 100, 116, .68);
}

.vdht-category-banner-arrow i {
    font-size: 22px;
}

.vdht-category-banner-prev {
    left: 0;
    border-radius: 0 8px 8px 0;
}

.vdht-category-banner-next {
    right: 0;
    border-radius: 8px 0 0 8px;
}

.vdht-category-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 4;
    display: inline-flex;
    gap: 10px;
    transform: translateX(-50%);
}

.vdht-category-banner-dots button {
    width: 16px;
    height: 16px;
    min-height: auto;
    margin: 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 999px;
    background: #cfd6df;
    cursor: pointer;
}

.vdht-category-banner-dots button.is-active {
    background: #00843f;
}

.vdht-category-banner-fallback {
    padding: 24px 90px;
    background: linear-gradient(90deg, #fff000, #ffe900);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.vdht-category-banner-fallback strong {
    display: block;
    color: #e91b14;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 900;
    text-transform: uppercase;
}

.vdht-category-banner-fallback span {
    margin-top: 12px;
    border-radius: 8px;
    padding: 10px 32px;
    background: #009f4d;
    color: #fff;
    display: inline-flex;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}

.vdht-category-banner-fallback img {
    width: 34%;
    height: auto;
    object-fit: contain;
}

.single-product .shop-container,
.single-product .product-main {
    background: #e8edf3;
}

.vdht-single-product {
    padding: 16px 28px 32px;
    background: #e8edf3;
}

.vdht-single-backbar {
    display: flex;
    align-items: center;
    min-height: 68px;
    margin: 0 0 16px;
    background: #fff;
    border: 1px solid #e4e9f0;
    color: #596172;
    font-size: 24px;
    font-weight: 500;
}

.vdht-single-back {
    width: 68px;
    min-height: 68px;
    margin-right: 14px;
    border-right: 1px solid #edf1f5;
    color: #242a38;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vdht-single-back:hover {
    color: #00833e;
}

.vdht-single-main {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(420px, 1fr);
    gap: 18px;
    align-items: stretch;
}

.vdht-single-gallery-card,
.vdht-single-summary-card {
    position: relative;
    min-width: 0;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    overflow: hidden;
}

.vdht-single-gallery-card {
    padding: 16px 16px 20px;
}

.vdht-single-gallery-card .woocommerce-product-gallery {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
}

.vdht-single-gallery-card .woocommerce-product-gallery__wrapper {
    margin: 0;
}

.vdht-single-gallery-card .woocommerce-product-gallery__image {
    background: #fff;
    text-align: center;
}

.vdht-single-gallery-card .woocommerce-product-gallery__image a,
.vdht-single-gallery-card .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
}

.vdht-single-gallery-card .woocommerce-product-gallery__image img {
    height: min(68vh, 760px);
    object-fit: contain;
}

.vdht-single-gallery-card .flex-control-thumbs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    gap: 14px;
    margin: 18px 0 0 !important;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.vdht-single-gallery-card .flex-control-thumbs::-webkit-scrollbar {
    display: none;
}

.vdht-single-gallery-card .flex-control-thumbs li {
    width: auto !important;
    float: none !important;
    list-style: none;
}

.vdht-single-gallery-card .flex-control-thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px solid #d7dde7;
    border-radius: 8px;
    object-fit: contain;
    opacity: .45;
    transition: border-color .2s ease, opacity .2s ease;
}

.vdht-single-gallery-card .flex-control-thumbs img.flex-active,
.vdht-single-gallery-card .flex-control-thumbs img:hover {
    border-color: #008a43;
    opacity: 1;
}

.vdht-single-gallery-count {
    position: absolute;
    right: 18px;
    bottom: 106px;
    z-index: 2;
    min-width: 46px;
    height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(50, 57, 72, .72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 700;
}

.vdht-single-summary-card {
    padding: 26px 16px 28px;
    position: sticky;
    top: 120px;
    min-height: 700px;
    align-self: start;
}

.vdht-single-summary-head {
    display: grid;
    gap: 12px;
}

.vdht-single-title {
    margin: 0;
    color: #202842;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.vdht-single-share {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    justify-self: end;
    color: #2f95ff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}

.vdht-single-share:hover,
.vdht-single-share:focus {
    background: transparent;
    color: #0077e6;
    box-shadow: none;
}

.vdht-single-share i {
    color: #a3abb8;
    font-size: 15px;
}

.vdht-single-price {
    margin: 28px 0 60px;
    color: #c81017;
    font-size: 31px;
    line-height: 1.2;
    font-weight: 900;
}

.vdht-single-price del {
    margin-left: 8px;
    color: #9ca6b8;
    font-size: 22px;
    font-weight: 600;
}

.vdht-single-cart form.cart,
.vdht-single-cart .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 28px;
}

.vdht-single-cart form.cart>.variations,
.vdht-single-cart form.cart>.single_variation_wrap,
.vdht-single-cart .woocommerce-variation {
    flex: 0 0 100%;
    width: 100%;
}

.vdht-single-cart .quantity {
    flex: 0 0 112px;
    width: 112px;
    height: 40px;
    margin: 0 !important;
    border: 1px solid #d9e0ea;
    border-radius: 5px;
    background: #fff;
    display: inline-flex !important;
    align-items: center;
    overflow: hidden;
}

.vdht-single-cart .quantity input.qty {
    width: 100%;
    height: 40px;
    border: 0;
    box-shadow: none;
    color: #202842;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
}

.vdht-single-cart .quantity .minus,
.vdht-single-cart .quantity .plus {
    width: 34px;
    min-width: 34px;
    height: 40px;
    margin: 0;
    border: 0;
    background: #f3f6fa;
    color: #202842;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.vdht-single-cart .single_add_to_cart_button,
.vdht-single-cart .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 40px;
    margin: 0 !important;
    padding: 0 10px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(90deg, #00853e 0%, #3aa648 100%) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.vdht-single-cart .vdht-buy-now-button {
    flex: 0 0 100%;
    width: 100%;
    background: linear-gradient(90deg, #ff7a00 0%, #ff9f1c 100%) !important;
}

.vdht-single-promo-box {
    border: 1px solid #f0bd16;
    border-radius: 4px;
    padding: 18px 20px 20px;
}

.vdht-single-promo-box h2 {
    margin: 0 0 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #dfe3ea;
    color: #222a42;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
}

.vdht-single-promo-box p {
    margin: 0 0 14px;
    color: #222a42;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.vdht-single-promo-box ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.vdht-single-promo-box a {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: #626b7d;
    font-size: 17px;
    line-height: 1.25;
}

.vdht-single-promo-box img {
    width: 62px;
    height: 46px;
    object-fit: contain;
}

.vdht-single-section {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 0;
    padding: 16px;
}

.vdht-single-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.vdht-single-section h2 {
    margin: 0;
    color: #101827;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 900;
}

.vdht-single-related {
    padding: 8px 8px 16px;
}

.vdht-single-related-wrap {
    position: relative;
}

.vdht-single-related-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 36px) / 4);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.vdht-single-related-track::-webkit-scrollbar {
    display: none;
}

.vdht-single-related-track .vdht-product-card {
    width: 100%;
    min-width: 0;
    scroll-snap-align: start;
}

.vdht-single-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 82px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(76, 86, 101, .52);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.vdht-single-carousel-prev {
    left: -8px;
}

.vdht-single-carousel-next {
    right: -8px;
}

.vdht-single-product .vdht-category-banner-carousel {
    margin-top: 0;
    margin-bottom: 12px;
    border: 1px solid #dfe7ef;
}

.vdht-single-product-info {
    position: relative;
    color: #202842;
    font-size: 17px;
    line-height: 1.55;
}

.vdht-single-product-info h2 {
    margin-bottom: 14px;
    color: #202842;
}

.vdht-single-info-body {
    position: relative;
    max-height: 520px;
    overflow: hidden;
}

.vdht-single-info-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 72%);
    pointer-events: none;
}

.vdht-single-product-info.is-expanded .vdht-single-info-body {
    max-height: none;
}

.vdht-single-product-info.is-expanded .vdht-single-info-body::after {
    display: none;
}

.vdht-single-info-toggle {
    width: 100%;
    min-height: 48px;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 500;
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

.vdht-single-info-toggle:hover,
.vdht-single-info-toggle:focus {
    background: #fff;
    color: #00843f;
    box-shadow: none;
}

.vdht-single-info-toggle i {
    font-size: 14px;
    transition: transform .2s ease;
}

.vdht-single-info-toggle .vdht-hide-text,
.vdht-single-product-info.is-expanded .vdht-single-info-toggle .vdht-show-text {
    display: none;
}

.vdht-single-product-info.is-expanded .vdht-single-info-toggle .vdht-hide-text {
    display: inline;
}

.vdht-single-product-info.is-expanded .vdht-single-info-toggle i {
    transform: rotate(180deg);
}

.vdht-single-info-intro {
    margin-bottom: 18px;
}

.vdht-single-info-intro p:last-child,
.vdht-single-article p:last-child {
    margin-bottom: 0;
}

.vdht-single-attributes {
    margin: 18px 0;
}

.vdht-single-attributes table,
.vdht-single-attributes .shop_attributes {
    width: 100%;
    margin: 0;
    border: 1px solid #e5e9f0;
    border-collapse: collapse;
}

.vdht-single-attributes th,
.vdht-single-attributes td {
    border: 1px solid #e5e9f0;
    padding: 13px 20px;
    color: #202842;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
    vertical-align: top;
}

.vdht-single-attributes th {
    width: 210px;
    background: #f4f6fa;
    font-weight: 500;
}

.vdht-single-attributes td p {
    margin: 0;
}

.vdht-single-article {
    margin-top: 18px;
}

.vdht-single-article h3 {
    margin: 0 0 10px;
    color: #202842;
    font-size: 20px;
    font-weight: 900;
}

.vdht-single-detail {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #dfe7ef;
    border-radius: 8px;
    padding: 22px;
}

.vdht-single-detail .woocommerce-tabs,
.vdht-single-detail .product-tabs,
.vdht-single-detail .tabs {
    display: none;
}

.vdht-single-detail #reviews {
    margin: 0;
}

.vdht-single-detail #reviews h2,
.vdht-single-detail #review_form_wrapper .comment-reply-title {
    color: #555;
    font-weight: 800;
}

.vdht-single-detail #review_form .form-submit input,
.vdht-single-detail #review_form .submit {
    background: #ff7900;
    color: #fff;
    border: 0;
    font-weight: 800;
    text-transform: uppercase;
}

.woocommerce.archive .products,
.tax-product_cat .products,
.post-type-archive-product .products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
}

.woocommerce.archive .products::before,
.woocommerce.archive .products::after,
.tax-product_cat .products::before,
.tax-product_cat .products::after,
.post-type-archive-product .products::before,
.post-type-archive-product .products::after {
    display: none;
}

.woocommerce.archive .products .vdht-archive-product-card,
.woocommerce.archive .products .vdht-product-loop-item,
.tax-product_cat .products .vdht-archive-product-card,
.tax-product_cat .products .vdht-product-loop-item,
.post-type-archive-product .products .vdht-archive-product-card,
.post-type-archive-product .products .vdht-product-loop-item {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.vdht-product-loop-item .vdht-product-card {
    height: 100%;
}

.vdht-archive-product-inner {
    height: 100%;
    min-height: 0;
    background: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vdht-archive-product-media {
    position: relative;
    height: 280px;
    padding: 16px 14px 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.vdht-archive-product-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.vdht-archive-product-band {
    min-height: 72px;
    background: #d91a20;
    color: #fff;
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 8px;
    padding: 0 10px 0 0;
}

.vdht-archive-discount {
    height: 72px;
    border: 2px solid #d91a20;
    border-left: 0;
    border-radius: 0 24px 24px 0;
    background: #fff;
    color: #d91a20;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
}

.vdht-archive-discount strong {
    display: block;
    font-size: 27px;
    line-height: .95;
    font-weight: 900;
}

.vdht-archive-discount span {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 800;
}

.vdht-archive-band-name,
.vdht-archive-band-pack {
    color: #fff;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 18px;
    line-height: 1.18;
    font-weight: 800;
    text-align: center;
}

.vdht-archive-band-pack {
    font-size: 17px;
}

.vdht-archive-product-body {
    padding: 18px 14px 16px;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 210px;
}

.vdht-archive-product-title {
    min-height: 58px;
    color: #9aa3b8;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 23px;
    line-height: 1.22;
    font-weight: 400;
    text-decoration: none;
}

.vdht-archive-product-title:hover {
    color: #07843f;
}

.vdht-archive-product-price {
    margin-top: 14px;
    color: #17213b;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.vdht-archive-product-price del {
    margin-left: 5px;
    color: #9aa3b8;
    font-size: 18px;
    font-weight: 400;
    opacity: 1;
}

.vdht-archive-product-price ins {
    color: #17213b;
    text-decoration: none;
}

.vdht-archive-product-promo {
    margin-top: 22px;
    color: #ff7200;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
}

.vdht-archive-product-buy {
    min-height: 64px;
    padding: 10px 12px;
    background: #effff4;
    color: #00843f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
}

.vdht-archive-product-buy:hover {
    color: #00843f;
}

.woocommerce.archive #main,
.tax-product_cat #main,
.post-type-archive-product #main {
    background: #e8edf3;
}

.vdht-cat-trigger {
    font-size: 14px;
}

.vdht-cat-panel {
    width: 305px;
    box-shadow: none;
}

.custom-product-tabs-container {
    padding: 20px 16px 18px;
    background: #dff2db;
    overflow: hidden;
}

.product-tabs-top {
    display: grid;
    grid-template-columns: minmax(260px, 390px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.product-tabs-title-wrap {
    color: #00843f;
}

.product-tabs-title {
    margin: 0 0 4px;
    color: #00843f;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.product-tabs-subtitle {
    line-height: 1.25;
    font-weight: 400;
}

.product-tabs-header {
    display: flex;
    gap: 10px;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 11px 0 8px;
    scrollbar-width: thin;
    scrollbar-color: #00843f rgba(255, 255, 255, .75);
}

.product-tabs-header::-webkit-scrollbar,
.vdht-home-products-grid::-webkit-scrollbar {
    height: 6px;
}

.product-tabs-header::-webkit-scrollbar-thumb,
.vdht-home-products-grid::-webkit-scrollbar-thumb {
    background: #00843f;
    border-radius: 999px;
}

.product-tabs-header::-webkit-scrollbar-track,
.vdht-home-products-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .75);
    border-radius: 999px;
}

.product-tabs-header .tab-btn {
    position: relative;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #00843f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.product-tabs-header .tab-btn.active,
.product-tabs-header .tab-btn:hover {
    background: #00843f;
    color: #fff;
}

.tab-sale-badge {
    position: absolute;
    top: -8px;
    right: -6px;
    min-width: 34px;
    height: 19px;
    padding: 0 4px;
    border-radius: 4px;
    background: #f2172f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.product-tabs-content {
    position: relative;
    min-height: 200px;
}

.products-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.vdht-home-products-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 5);
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vdht-home-products-grid::-webkit-scrollbar {
    display: none;
}

.vdht-products-scroller {
    position: relative;
}

.vdht-products-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 34px;
    height: 86px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0 9px 9px 0;
    background: rgba(88, 98, 112, .46);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, opacity .2s ease;
}

.vdht-products-arrow:hover {
    background: rgba(88, 98, 112, .68);
}

.vdht-products-arrow span {
    display: block;
    font-size: 48px;
    line-height: .8;
    font-weight: 300;
}

.vdht-products-arrow-prev {
    left: 0;
}

.vdht-products-arrow-next {
    right: 0;
    border-radius: 9px 0 0 9px;
}

.vdht-products-arrow.is-disabled {
    opacity: 0;
    pointer-events: none;
}

.vdht-sale-products-section {
    padding: 18px 18px 22px;
    background: linear-gradient(180deg, #fff0cf 0%, #ff7a00 100%);
    overflow: hidden;
}

.vdht-sale-products-head {
    min-height: 70px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.vdht-sale-products-title {
    margin: 0;
    color: #ff7200;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.vdht-sale-products-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.vdht-sale-action {
    min-height: 48px;
    padding: 0 16px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.vdht-sale-action-primary {
    background: linear-gradient(90deg, #ff6b12, #ffba4e);
    color: #fff;
}

.vdht-sale-action-secondary {
    background: #fff;
    color: #07843f;
}

.vdht-sale-action-icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #ffd21f;
    color: #f3344b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
}

.vdht-sale-products-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 32px) / 5);
    grid-template-columns: none;
    grid-template-rows: repeat(2, minmax(0, auto));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vdht-sale-products-grid::-webkit-scrollbar {
    display: none;
}

.vdht-home-card {
    min-width: 0;
    background: #fff;
    border: 1px solid #eef5f1;
    border-radius: 7px;
    overflow: hidden;
}

.vdht-home-card a {
    text-decoration: none;
}

.vdht-recipe-card {
    display: flex;
    flex-direction: column;
}

.vdht-recipe-image {
    position: relative;
    display: block;
    aspect-ratio: 29/35;
    min-height: 0;
    overflow: hidden;
    background: #d8e2d6;
}

.vdht-recipe-image::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(to top, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0));
}

.vdht-recipe-image img,
.vdht-product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.vdht-recipe-name {
    position: absolute;
    left: 9px;
    right: 9px;
    bottom: 9px;
    z-index: 1;
    color: #fff;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vdht-recipe-cta {
    padding: 8px 10px;
    background: #f3fff8;
    color: #00843f;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
}

.vdht-recipe-cta:hover,
.vdht-product-buy:hover,
.vdht-product-name:hover {
    color: #00843f;
}

.vdht-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    aspect-ratio: 1 / 1.8;
}

.vdht-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 53%;
    min-height: 0;
    padding: 22px 16px 10px;
    background: #fff;
}

.vdht-product-image img {
    object-fit: contain;
}

.vdht-sale-badge {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    min-width: 46px;
    height: 26px;
    padding: 0 6px;
    border-radius: 4px;
    background: #f24141;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.vdht-product-info {
    padding: 8px 14px 12px;
    color: #536071;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
}

.vdht-product-unit {
    margin-top: 6px;
    color: #536071;
    font-size: clamp(14px, 1.18vw, 24px);
    line-height: 1.25;
}

.vdht-product-price {
    margin-top: 4px;
    color: #17213b;
    font-size: clamp(16px, 1.28vw, 27px);
    line-height: 1.25;
    font-weight: 800;
    display: flex;
    flex-direction: column;
}

.vdht-product-price del {
    margin-left: 6px;
    color: #9aa3b4;
    font-size: clamp(13px, 1.03vw, 22px);
    font-weight: 400;
    opacity: 1;
}

.vdht-product-price ins {
    color: #17213b;
    text-decoration: none;
}

.vdht-product-buy {
    flex: 0 0 16%;
    padding: 8px 10px;
    background: #effff4;
    color: #00843f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
}



.vdht-checkout-shipping-note {
    margin: 0 0 24px;
    padding: 18px 20px;
    border: 1px dashed #ff8a00;
    border-radius: 10px;
    background: #fff8e8;
    color: #333;
    font-size: 16px;
    line-height: 1.55;
}

.vdht-checkout-shipping-note p {
    margin: 0 0 10px;
}

.vdht-checkout-shipping-note p:last-child {
    margin-bottom: 0;
}

.vdht-checkout-shipping-note strong {
    color: #07843f;
    font-weight: 800;
}

@media only screen and (max-width: 1200px) {
    .product-tabs-top {
        grid-template-columns: 1fr;
        gap: 10px;
    }

}

@media only screen and (max-width: 900px) {

    .vdht-cat-archive-titlebar {
        min-height: 62px;
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .vdht-cat-archive-back {
        font-size: 42px;
    }

    .vdht-cat-archive-titlebar h1 {
        font-size: 23px;
    }

    .vdht-cat-archive-list {
        min-height: 190px;
        grid-auto-columns: 120px;
        padding: 14px 42px;
    }

    .vdht-cat-archive-item {
        font-size: 18px;
    }

    .vdht-cat-archive-item img,
    .vdht-cat-archive-thumb-placeholder {
        width: 92px;
        height: 78px;
    }

    .vdht-cat-filter-row {
        gap: 14px;
        padding: 16px 18px;
    }

    .vdht-cat-filter-btn,
    .vdht-cat-filter-dropdown summary {
        min-height: 50px;
        min-width: 170px;
        padding: 0 18px;
        font-size: 18px;
        gap: 10px;
    }

    .vdht-cat-filter-btn i,
    .vdht-cat-filter-dropdown summary i {
        font-size: 16px;
    }

    .vdht-cat-banner {
        height: 190px;
    }

    .vdht-category-banner-arrow {
        width: 32px;
        height: 80px;
    }

    .vdht-category-banner-arrow i {
        font-size: 20px;
    }

    .vdht-single-product {
        padding: 0 16px 24px;
    }

    .vdht-single-main {
        grid-template-columns: 1fr;
    }

    .vdht-single-gallery-card .woocommerce-product-gallery__image img {
        height: min(56vh, 560px);
    }

    .vdht-single-summary-card {
        padding: 22px 16px;
        position: static;
        min-height: auto;
    }

    .vdht-single-price {
        margin-bottom: 28px;
    }

    .vdht-single-related-track {
        grid-auto-columns: calc((100% - 24px) / 3);
    }

    .vdht-single-section h2 {
        font-size: 22px;
    }

    .vdht-category-banner-fallback {
        padding: 20px 56px;
    }

    .vdht-category-banner-fallback strong {
        font-size: 30px;
    }

    .vdht-category-banner-fallback span {
        font-size: 18px;
    }

    .vdht-cat-banner-fallback {
        padding: 20px 56px;
    }

    .vdht-cat-banner-fallback strong {
        font-size: 30px;
    }

    .vdht-cat-banner-fallback span {
        font-size: 18px;
    }

    .woocommerce.archive .products,
    .tax-product_cat .products,
    .post-type-archive-product .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .vdht-archive-product-media {
        height: 210px;
    }

    .vdht-archive-product-title {
        font-size: 18px;
    }

    .vdht-archive-product-price {
        font-size: 18px;
    }

    .vdht-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vdht-home-products-grid,
    .vdht-sale-products-grid {
        grid-auto-columns: minmax(180px, calc((100% - 16px) / 3));
        padding-bottom: 12px;
    }

    .vdht-home-card,
    .vdht-sale-products-grid .vdht-home-card {
        scroll-snap-align: start;
    }

    .vdht-sale-products-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media only screen and (max-width: 48em) {
    .custom-product-tabs-container {
        padding: 14px 10px;
    }

    .vdht-cat-archive-top {
        margin-bottom: 14px;
    }

    .vdht-cat-archive-scroller {
        margin-bottom: 14px;
    }

    .vdht-cat-archive-list {
        grid-auto-columns: 96px;
        min-height: 152px;
        padding: 10px 36px;
    }

    .vdht-cat-archive-item {
        padding: 6px;
        font-size: 15px;
    }

    .vdht-cat-archive-item img,
    .vdht-cat-archive-thumb-placeholder {
        width: 72px;
        height: 58px;
    }

    .vdht-cat-archive-arrow,
    .vdht-cat-banner-arrow {
        width: 32px;
        height: 96px;
    }

    .vdht-cat-archive-arrow span,
    .vdht-cat-banner-arrow span {
        font-size: 42px;
    }

    .vdht-cat-brand-chip {
        width: 78px;
        height: 46px;
    }

    .vdht-cat-filter-btn,
    .vdht-cat-filter-dropdown summary {
        min-height: 40px;
        min-width: 128px;
        padding: 0 12px;
        font-size: 15px;
        gap: 8px;
    }

    .vdht-cat-filter-btn i,
    .vdht-cat-filter-dropdown summary i {
        font-size: 13px;
    }

    .vdht-cat-filter-menu a {
        font-size: 14px;
    }

    .vdht-cat-banner {
        height: 132px;
    }

    .vdht-category-banner-arrow {
        width: 28px;
        height: 64px;
    }

    .vdht-category-banner-arrow i {
        font-size: 17px;
    }

    .vdht-category-banner-dots {
        bottom: 8px;
        gap: 7px;
    }

    .vdht-category-banner-dots button {
        width: 16px;
        height: 16px;
    }

    .vdht-single-product {
        padding: 0 10px 18px;
    }

    .vdht-single-backbar {
        min-height: 54px;
        font-size: 18px;
    }

    .vdht-single-back {
        width: 54px;
        min-height: 54px;
        margin-right: 10px;
    }

    .vdht-single-gallery-card {
        padding: 10px;
    }

    .vdht-single-gallery-card .woocommerce-product-gallery__image img {
        height: min(52vh, 420px);
    }

    .vdht-single-gallery-card .flex-control-thumbs {
        grid-auto-columns: 76px;
        gap: 8px;
        margin-top: 10px !important;
    }

    .vdht-single-gallery-count {
        right: 14px;
        bottom: 84px;
        height: 30px;
        min-width: 38px;
        font-size: 15px;
    }

    .vdht-single-title {
        font-size: 22px;
    }

    .vdht-single-share {
        font-size: 15px;
    }

    .vdht-single-price {
        margin: 18px 0 22px;
        font-size: 25px;
    }

    .vdht-single-cart form.cart {
        gap: 6px;
    }

    .vdht-single-cart .quantity {
        flex-basis: 92px;
        width: 92px;
        height: 36px;
    }

    .vdht-single-cart .quantity input.qty {
        height: 36px;
        font-size: 15px;
    }

    .vdht-single-cart .quantity .minus,
    .vdht-single-cart .quantity .plus {
        width: 28px;
        min-width: 28px;
        height: 36px;
        font-size: 16px;
    }

    .vdht-single-cart .single_add_to_cart_button,
    .vdht-single-cart .button {
        min-height: 36px;
        padding: 0 7px;
        font-size: 11px;
    }

    .vdht-single-promo-box {
        padding: 14px;
    }

    .vdht-single-promo-box h2 {
        font-size: 18px;
    }

    .vdht-single-promo-box p {
        font-size: 16px;
    }

    .vdht-single-promo-box a {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;
        font-size: 14px;
    }

    .vdht-single-promo-box img {
        width: 52px;
        height: 40px;
    }

    .vdht-single-detail {
        padding: 14px;
    }

    .vdht-single-section {
        padding: 12px;
    }

    .vdht-single-related-track {
        grid-auto-columns: calc((100% - 10px) / 2);
        gap: 10px;
    }

    .vdht-single-carousel-arrow {
        width: 28px;
        height: 68px;
    }

    .vdht-single-section h2 {
        font-size: 20px;
    }

    .vdht-single-product-info {
        font-size: 15px;
    }

    .vdht-single-info-body {
        max-height: 430px;
    }

    .vdht-single-info-toggle {
        min-height: 42px;
        font-size: 16px;
    }

    .vdht-single-attributes th,
    .vdht-single-attributes td {
        display: block;
        width: 100%;
        padding: 10px 12px;
        font-size: 14px;
    }

    .vdht-single-attributes th {
        border-bottom: 0;
    }

    .vdht-category-banner-fallback {
        padding: 14px 42px;
    }

    .vdht-category-banner-fallback strong {
        font-size: 20px;
    }

    .vdht-category-banner-fallback span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .vdht-cat-banner-fallback {
        padding: 14px 42px;
    }

    .vdht-cat-banner-fallback strong {
        font-size: 20px;
    }

    .vdht-cat-banner-fallback span {
        padding: 8px 12px;
        font-size: 12px;
    }

    .woocommerce.archive .products,
    .tax-product_cat .products,
    .post-type-archive-product .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .vdht-archive-product-media {
        height: 160px;
        padding: 12px 10px 0;
    }

    .vdht-archive-product-band {
        min-height: 54px;
        grid-template-columns: 58px minmax(0, 1fr) 54px;
        gap: 5px;
    }

    .vdht-archive-discount {
        height: 54px;
        border-radius: 0 18px 18px 0;
    }

    .vdht-archive-discount strong {
        font-size: 19px;
    }

    .vdht-archive-discount span {
        font-size: 9px;
    }

    .vdht-archive-band-name,
    .vdht-archive-band-pack {
        font-size: 13px;
    }

    .vdht-archive-product-body {
        min-height: 160px;
        padding: 12px 10px;
    }

    .vdht-archive-product-title {
        min-height: 42px;
        font-size: 16px;
    }

    .vdht-archive-product-price {
        margin-top: 8px;
        font-size: 16px;
    }

    .vdht-archive-product-price del {
        font-size: 13px;
    }

    .vdht-archive-product-promo {
        margin-top: 14px;
        font-size: 14px;
    }

    .vdht-archive-product-buy {
        min-height: 48px;
        font-size: 20px;
    }

    .vdht-blog-grid {
        gap: 10px;
    }

    .vdht-blog-card-link {
        border-radius: 10px;
    }

    .vdht-blog-title {
        left: 12px;
        right: 12px;
        bottom: 14px;
        font-size: 18px;
    }

    .vdht-blog-views {
        top: 10px;
        right: 10px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 14px;
    }

    .vdht-blog-eye {
        width: 16px;
        height: 16px;
    }

    .vdht-blog-eye::before {
        inset: 4px;
    }


    .product-tabs-header .tab-btn {
        min-height: 40px;
        padding: 0 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .tab-sale-badge {
        height: 17px;
        min-width: 30px;
        font-size: 12px;
    }

    .vdht-home-products-grid,
    .vdht-sale-products-grid {
        grid-auto-columns: minmax(150px, calc((100% - 8px) / 2));
        gap: 8px;
    }

    .vdht-sale-products-section {
        padding: 14px 10px 18px;
        background: linear-gradient(180deg, #fff0cf 0, #fff0cf 118px, #ff7a00 118px, #ff7a00 100%);
    }

    .vdht-sale-products-title {
        font-size: 22px;
    }

    .vdht-sale-action {
        min-height: 40px;
        padding: 0 12px;
        font-size: 15px;
    }

    .vdht-products-arrow {
        width: 28px;
        height: 70px;
    }

    .vdht-products-arrow span {
        font-size: 38px;
    }

    .vdht-recipe-name,
    .vdht-product-name {
        font-size: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .vdht-recipe-cta,
    .vdht-product-buy {
        min-height: 46px;
        font-size: 17px;
    }

    .vdht-product-card {
        min-height: 0;
        aspect-ratio: unset;
    }

    .vdht-product-image {
        flex-basis: 51%;
        height: auto;
        padding: 18px 12px 8px;
    }

    .vdht-product-info {
        padding: 10px 12px 12px;
    }

    .vdht-product-name {
        min-height: 43px;
    }

    .vdht-product-unit {
        font-size: 14px;
    }

    .vdht-product-price {
        font-size: 16px;
        margin-top: 22px;
    }

    .vdht-product-price del {
        font-size: 13px;
    }

    .vdht-sale-badge {
        min-width: 36px;
        height: 24px;
        font-size: 14px;
    }


    i.icon-menu,
    i.icon-shopping-cart {
        color: #fff;
    }

    span.vdht-contact-text {
        display: none;
    }

    li.html.custom.html_topbar_right {
        flex: unset;
    }

    li.html.custom.html_top_right_text {
        flex: unset;
        min-width: auto;
    }

    .off-canvas-right .mfp-content,
    .off-canvas-left .mfp-content {
        --drawer-width: 100% !important;
    }

    .sidebar-menu a {
        color: #fff !important;
    }

    .mfp-content {
        background: #26C15F !important;
    }

    a.vdht-cart-link svg,
    a.vdht-cart-link path {
        color: #006F37;
    }

    .vdht-search-wrap .vdht-search-input::placeholder {
        font-size: 14px !important;
    }



    .product-tabs-content .vdht-products-scroller,
    .vdht-products-scroller {
        position: relative;
        overflow: hidden;
    }

    .product-tabs-content .vdht-home-products-grid,
    .product-tabs-content .vdht-sale-products-grid,
    .vdht-home-products-grid,
    .vdht-sale-products-grid {
        --vdht-mobile-gap: 6px;
        --vdht-mobile-card-h: 154px;
        --vdht-mobile-col-w: calc((100% - 16px) / 2.45);

        display: grid;
        grid-template-columns: repeat(3, var(--vdht-mobile-col-w));
        grid-auto-rows: var(--vdht-mobile-card-h);
        grid-auto-flow: row;

        gap: var(--vdht-mobile-gap);
        max-height: calc((var(--vdht-mobile-card-h) * 3.5) + (var(--vdht-mobile-gap) * 3));

        overflow-x: auto;
        overflow-y: auto;

        padding: 0 18px 8px 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .product-tabs-content .vdht-home-products-grid::-webkit-scrollbar,
    .product-tabs-content .vdht-sale-products-grid::-webkit-scrollbar,
    .vdht-home-products-grid::-webkit-scrollbar,
    .vdht-sale-products-grid::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }

    .product-tabs-content .vdht-home-products-grid::-webkit-scrollbar-track,
    .product-tabs-content .vdht-sale-products-grid::-webkit-scrollbar-track,
    .vdht-home-products-grid::-webkit-scrollbar-track,
    .vdht-sale-products-grid::-webkit-scrollbar-track {
        background: transparent;
    }

    .product-tabs-content .vdht-home-products-grid::-webkit-scrollbar-thumb,
    .product-tabs-content .vdht-sale-products-grid::-webkit-scrollbar-thumb,
    .vdht-home-products-grid::-webkit-scrollbar-thumb,
    .vdht-sale-products-grid::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .28);
        border-radius: 999px;
    }

    .product-tabs-content .vdht-product-card,
    .vdht-product-card {
        min-width: 0;
        height: var(--vdht-mobile-card-h);
        border-radius: 6px;
        overflow: hidden;
    }

    .product-tabs-content .vdht-product-image,
    .vdht-product-image {
        position: relative;
        height: 96px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 6px 4px;
    }

    .product-tabs-content .vdht-product-image img,
    .vdht-product-image img {
        width: auto;
        max-width: 100%;
        max-height: 88px;
        object-fit: contain;
    }

    .product-tabs-content .vdht-product-info,
    .vdht-product-info {
        padding: 6px 8px 4px;
    }

    .product-tabs-content .vdht-product-name,
    .vdht-product-name {
        min-height: 34px;
        line-height: 17px;
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-tabs-content .vdht-product-price,
    .vdht-product-price {
        margin-top: 5px;
        font-size: 13px;
        font-weight: 700;
    }

    .product-tabs-content .vdht-product-buy,
    .vdht-product-buy {
        min-height: 34px;
        height: 34px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vdht-sale-products-grid {
        --vdht-mobile-card-h: 168px;
    }

    .vdht-sale-products-grid .vdht-product-image {
        height: 82px;
        padding: 7px 6px 2px;
    }

    .vdht-sale-products-grid .vdht-product-image img {
        max-height: 74px;
    }

    .vdht-sale-products-grid .vdht-product-info {
        padding: 4px 7px 2px;
    }

    .vdht-sale-products-grid .vdht-product-name {
        display: -webkit-box !important;
        min-height: 28px;
        font-size: 12px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #10213f;
    }

    .vdht-sale-products-grid .vdht-product-price {
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.15;
    }

    .vdht-sale-products-grid .vdht-product-price del {
        display: block;
        margin-top: 1px;
        font-size: 10px;
        line-height: 1;
    }

    .vdht-sale-products-grid .vdht-product-buy {
        height: 28px;
        min-height: 28px;
        font-size: 11px;
    }

    span.quantity {
        color: #fff;
    }
}

/* Đóng băng toàn bộ header bọc ngoài */
#header.has-sticky {
    position: sticky !important;
    top: 0;
}

/* Đảm bảo khung wrapper bên trong luôn cố định và đè lên các thành phần khác */
#header .header-wrapper.stuck {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Tạo bóng đổ nhẹ khi cuộn để dễ nhìn */
    animation: none !important;
    /* Tắt hiệu ứng giật (jump) nếu có */
}