@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto+Condensed:wght@400;700&family=Montserrat:wght@400;700&family=Imbue:opsz,wght@10..100,100..900&display=swap');

/* Ultra High-Fidelity Dubi Theme - Header & Hero Refinement */

/* Local Fonts Import */
@font-face {
    font-family: 'Anthony-Hunter';
    src: url('../fonts/1FTV-VIP-Anthony-Hunter.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Imbue';
    src: url('../fonts/Imbue-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

/* Montserrat Static Fonts for better compatibility */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --kij-maroon: var(--dubi-primary);
    --kij-maroon-dark: var(--dubi-dark);
    --kij-teal: var(--dubi-medium);
    --kij-yellow: var(--dubi-accent);
    --kij-beige: #f0e4c9;
    --kij-cream: #f7f1e4;
    --kij-white: #ffffff;
    --font-heading: 'Imbue', serif;
    --font-sub-heading: 'Anthony-Hunter', cursive;
    --font-body: 'Montserrat', sans-serif;
}

/* đổi lại */


body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 18px;
    background-color: var(--kij-white);
    color: #333;
}

.dubi-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

@media screen and (min-width: 1200px) {
    .dubi-container {
        padding: 0 40px;
    }
}

/* Utilities to ensure layout works even without Bootstrap grid */
.text-center {
    text-align: center !important;
}

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.flex-column {
    flex-direction: column !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.w-100 {
    width: 100% !important;
}

/* HEADER REFINEMENT - Figure 3 Match */
.site-header {
    width: 100%;
    z-index: 1000;
}

.secondary-nav-desktop {
    background: var(--kij-maroon-dark);
    color: white;
    padding: 4px 0;
    font-size: 22px;
    font-family: var(--font-sub-heading);
    font-weight: 400;
    text-transform: none;
}

@media screen and (max-width: 1024px) {
    .secondary-nav-desktop {
        display: none !important;
        /* Hide top-bar on mobile/tablet */
    }
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-flex a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar-flex a:hover {
    opacity: 0.8;
}

.top-bar-flex span.sep {
    font-weight: 400;
    opacity: 0.8;
    margin: 0 -5px;
}

.site-header.is-sticky-enabled {
    position: sticky;
    top: -41px;
    /* Hide the top-bar (approx 41px height) on scroll */
    z-index: 1000;
}

/* Offset for WP Admin Bar on Desktop */
.admin-bar .site-header.is-sticky-enabled {
    top: calc(-41px + 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.is-sticky-enabled {
        top: calc(-41px + 46px);
    }
}

@media screen and (max-width: 1024px) {
    .site-header.is-sticky-enabled {
        top: 0 !important;
        /* Sticky at very top of screen */
    }

    .admin-bar .site-header.is-sticky-enabled {
        top: 32px !important;
        /* Stick below admin-bar (default height) */
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header.is-sticky-enabled {
        top: 46px !important;
        /* Tablet/Mobile admin-bar height */
    }
}

@media screen and (max-width: 600px) {
    .admin-bar .site-header.is-sticky-enabled {
        top: 0 !important;
        /* Admin-bar is absolute on mobile, scrolls away */
    }
}

.primary-nav-container {
    background: var(--kij-teal);
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.nav-left-desktop {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    /* Thêm padding sát logo */
}

.nav-left-desktop .main-menu {
    justify-content: flex-end;
    width: 100%;
}

.nav-right-desktop {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    padding-left: 40px;
    /* Thêm padding sát logo */
}

.nav-right-desktop .main-menu {
    justify-content: flex-start;
    width: 100%;
}

.site-logo {
    flex: 0 0 auto;
    text-align: center;
    margin: 0 50px;
    /* Tăng khoảng cách để chữ không đè lên nền logo */
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 100;
}

.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    right: 0;
    z-index: 60;
    /* Cao hơn logo (50) để luôn bấm được */
}

.desktop-only {
    display: block;
}

.section-subtitle,
.subtitle {
    font-family: var(--font-sub-heading) !important;
    font-size: 32px !important;
    color: var(--kij-maroon) !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    font-weight: 400 !important;
}

.site-logo {
    position: relative;
    z-index: 50;
    margin: 0;
    display: flex;
    justify-content: center;
}

.site-logo a {
    display: flex;
    background: #f6f1e8;
    padding: 5px 10px 10px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 90px;
    height: 80px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

.site-logo img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    display: block;
}

.site-logo a:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.main-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li a {
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-menu li a i {
    font-size: 16px;
    margin-top: 2px;
}

.main-menu li a:hover {
    color: var(--kij-yellow);
}

.main-menu li.current-menu-item>a,
.main-menu li.current_page_item>a,
.main-menu li.current_page_parent>a,
.main-menu li.current-menu-parent>a,
.main-menu li.current-menu-ancestor>a {
    color: var(--kij-yellow) !important;
}

.header-actions .search-cir,
.header-actions .cart-cir {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kij-maroon);
    font-size: 18px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.header-actions .search-cir:hover,
.header-actions .cart-cir:hover {
    background: #ffbe00;
    color: var(--kij-maroon);
    transform: scale(1.1);
}

.cart-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: var(--kij-maroon);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 1.3 Mega Menu Styles - Final Layout Refresh */
.main-navigation {
    position: static !important;
}

.primary-nav-container .dubi-container {
    position: relative;
}

/* Invisible bridge hover support */
.main-menu li.menu-item-has-children:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100px;
    background: transparent;
    z-index: 2;
}

/* MEGA MENU - Only for SẢN PHẨM */
.main-menu li.mega-menu-item>.sub-menu {
    position: absolute !important;
    top: 93% !important;
    left: 0 !important;
    right: 0 !important;
    margin: 5px auto 0 !important;
    width: 100% !important;
    max-width: 1200px;
    height: 480px !important;
    background: #f7f1e4 !important;
    border-radius: 0 0 40px 40px !important;
    /* Tăng padding bên phải để dành chỗ cho ảnh */
    padding: 105px 480px 40px 60px !important;

    /* Animation: Slide Down */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-15px) !important;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s step-end !important;
    pointer-events: none !important;

    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    list-style: none !important;
    border: none !important;
    box-sizing: border-box !important;
    overflow: hidden;
    /* 2 cột cân bằng: tối đa 6 sản phẩm mỗi bên */
    column-count: 2 !important;
    column-fill: balance !important;
    column-gap: 40px !important;
}

.main-menu li.mega-menu-item:hover>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s !important;
}

/* Default Dropdown for other items with children */
.main-menu li.menu-item-has-children:not(.mega-menu-item) {
    position: relative;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 350px !important;
    max-width: 400px !important;
    background: #fff !important;
    padding: 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
    z-index: 1000 !important;
    list-style: none !important;
    margin: 5px 0 0 !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item):hover>.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li a {
    color: #333 !important;
    padding: 12px 15px !important;
    border-bottom: 1px dashed #f0f0f0 !important;
    display: block !important;
    font-size: 20px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    background: none !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li a:hover {
    color: var(--kij-maroon) !important;
    padding-left: 20px !important;
    border-bottom-color: var(--kij-maroon) !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li:last-child a {
    border-bottom: none !important;
}

.main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li a::after {
    display: none !important;
}

/* Rest of Mega Menu Specifics scoped to .mega-menu-item */
.main-menu li.mega-menu-item>.sub-menu::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    /* Mở rộng khối trắng để chứa 2 cột */
    width: 650px;
    bottom: 40px;
    background: white;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* The Dynamic Featured Image - Uses CSS Variable */
.main-menu li.mega-menu-item>.sub-menu::after {
    content: '';
    position: absolute;
    top: 40px;
    right: 50px;
    /* Đẩy ảnh về phần còn lại bên phải */
    left: 750px;
    bottom: 40px;
    background-image: var(--mega-menu-image) !important;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    z-index: 5;
    transition: background-image 0.5s ease-in-out;
}

/* Card Header - sử dụng ::before trên ul thay vì ::after trên li đầu tiên */
.main-menu li.mega-menu-item>.sub-menu>li:first-child::after {
    content: 'KHÁM PHÁ SẢN PHẨM';
    position: absolute;
    top: -65px;
    left: -10px;
    width: 650px;
    background: var(--kij-maroon);
    color: white;
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px !important;
    border-radius: 18px 18px 0 0;
    text-transform: uppercase;
    text-align: center;
    box-sizing: border-box;
    z-index: 20;
}

.main-menu li.mega-menu-item>.sub-menu li {
    position: relative;
    z-index: 30;
    display: block !important;
    width: 90% !important;
    margin: 0 !important;
    padding: 2px 0 2px 15px !important;
    break-inside: avoid;
}

/* Tối đa 12 sản phẩm - ẩn item thứ 13 trở đi */
.main-menu li.mega-menu-item>.sub-menu li:nth-child(n+13) {
    display: none !important;
}

.main-menu li.mega-menu-item>.sub-menu li a {
    color: #333 !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
    padding: 8px 0 !important;
    border-bottom: 2px dashed #f0f0f0 !important;
    display: block !important;
    transition: all 0.2s ease;
}

.main-menu li.mega-menu-item>.sub-menu li a:hover {
    color: var(--kij-maroon) !important;
    padding-left: 15px !important;
    border-bottom-color: var(--kij-maroon) !important;
}

.mobile-menu-close {
    display: none;
}

/* HERO SECTION */
.hero-slider-section {
    position: relative;
    height: 700px;
    /* Chiều cao cố định cho slider */
    overflow: hidden;
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content-right {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    /* Chiều rộng cố định cho form trắng */
    background: var(--kij-maroon);
    padding: 50px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Slider Navigation Arrows */
.hero-slider-nav {
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-nav .nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.hero-slider-nav .nav-btn:hover {
    background: white;
    color: var(--kij-maroon);
}

/* Hide unwanted icons and elements */
.p-badge,
.p-badge-container,
.MessengerLauncher,
.MessengerPanel,
#wp-admin-bar-help,
#wp-admin-bar-get-help-dropdown {
    display: none !important;
}

/* Hide WP Admin Bar Help icon if requested */
#wp-admin-bar-wp-logo {
    display: none !important;
}

.hero-subtitle {
    display: block;
    color: var(--kij-white);
    font-family: var(--font-sub-heading);
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0;
    margin-bottom: 5px;
    text-transform: none;
}

.hero-content-right h2 {
    color: var(--kij-white);
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 800;
}

.hero-content-right p {
    font-size: 18px;
    line-height: 1.4;
    color: var(--kij-white);
    margin-bottom: 35px;
}

.hero-content-right .btn-signup {
    background: var(--kij-yellow);
    color: var(--kij-white);
}

.hero-content-right .btn-signup .cir {
    border-color: var(--kij-yellow);
    color: var(--kij-maroon);
}

.hero-content-right .btn-signup:hover {
    background: var(--kij-white);
    color: var(--kij-maroon);
}

.hero-content-right .btn-signup:hover .cir {
    border-color: transparent;
}

.video-thumbnail-container {
    max-width: 850px;
    width: 95%;
    margin: 50px auto;
}

.dubi-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 25px;
    background: #000;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.dubi-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 25px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.btn-signup {
    background: #2b7a77;
    /* Teal đậm hơn theo mẫu */
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.btn-signup .cir {
    background: white;
    color: #a20c33;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #2b7a77;
    /* Đường viền xanh đậm như mẫu */
}

.btn-signup .cir i {
    transform: scaleX(-1) rotate(-45deg);
    /* Tạo hiệu ứng mũi tên cong hướng lên như mẫu */
}

.btn-signup[style*="var(--kij-maroon)"] .cir {
    border-color: #7b0927;
}

.btn-signup[style*="var(--kij-teal)"] .cir {
    border-color: #005a58;
}

.btn-signup:hover {
    background: var(--kij-maroon);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-signup:hover .cir {
    transform: translateX(3px);
}


.slider-indicators {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.slider-indicators .dot {
    width: 30px;
    height: 12px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    /* Bo góc như hình xúc xích */
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-indicators .dot.active {
    background: var(--kij-yellow);
    border-color: var(--kij-yellow);
}

/* CONTENT SECTIONS REFINEMENT - Hình 1 Match */
.welcome-section {
    position: relative;
    padding: 120px 0 380px;
    background-color: var(--kij-white);
    overflow: hidden;
    text-align: center !important;
}

.welcome-section .dubi-container {
    position: relative;
    z-index: 25;
}

.section-title-teal {
    color: var(--kij-teal);
    font-family: var(--font-heading);
    font-size: 50px;
    letter-spacing: -0.5px;
    margin: 0 auto 30px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
    display: block;
}

.welcome-text-teal {
    color: #231f20;
    font-size: 18px;
    max-width: 900px;
    line-height: 1.4;
    margin: 0 auto 40px;
    font-weight: 400;
}

.play-btn-link {
    text-decoration: none !important;
    display: inline-block;
    margin: 0 auto 60px;
}

.play-btn-circle {
    width: 80px;
    height: 80px;
    border: 3px solid var(--kij-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kij-maroon);
    font-size: 26px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
}

.play-btn-circle i {
    margin-left: 4px;
    /* Optical adjustment for triangle placeholder */
}

.play-btn-circle:hover {
    transform: scale(1.1);
    background: var(--kij-maroon);
    color: white;
}

.welcome-visual-stack {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.yellow-curve-bg {
    position: absolute;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 650px;
    background: var(--kij-yellow);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.food-bowl-img {
    position: relative;
    z-index: 10;
    width: 480px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.3));
}

/* Varieties Section Hình 1 */
.varieties-section {
    background-color: var(--kij-maroon);
    color: white;
    padding: 140px 0;
    text-align: center !important;
    position: relative;
    z-index: 5;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Biến đổi màu sắc khi có hình nền (cho phù hợp với hình nền sáng/texture giấy) */
.varieties-section[style*="background-image"] {
    color: var(--kij-maroon-dark);
}

.varieties-section[style*="background-image"]::before {
    display: none;
    /* Bỏ lớp phủ tối để hiện rõ texture giấy */
}

.varieties-section[style*="background-image"] .dubi-container {
    position: relative;
    z-index: 2;
}

.varieties-section h2 {
    font-family: var(--font-heading);
    font-size: 50px;
    line-height: 1.1;
    margin: 0 auto 30px;
    text-transform: uppercase;
    font-weight: 850;
    letter-spacing: -1px;
    color: inherit;
}

.varieties-section p {
    font-size: 18px;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.4;
    font-weight: 400;
    color: inherit;
}

.varieties-section .btn-signup {
    background: var(--kij-yellow);
    color: var(--kij-white);
}

.varieties-section .btn-signup .cir {
    border-color: var(--kij-yellow);
    color: var(--kij-maroon);
}

.varieties-section .btn-signup:hover {
    background: var(--kij-white);
    color: var(--kij-maroon);
}

.varieties-section .btn-signup:hover .cir {
    border-color: transparent;
}

/* Products grid - 4 cột */
.products-grid-section {
    padding: 120px 0;
    background-color: var(--kij-white);
}

.products-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    margin: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
    padding-top: 40px !important;
    /* Increased to allow room for hover lift */
    margin-top: -20px !important;
    /* Counteract padding to keep visual alignment */
}

.products-row::-webkit-scrollbar {
    display: none;
}

/* Ensure items per view on desktop, tablet and mobile */
.products-row>[class*="col-"] {
    flex: 0 0 calc(25% - 22.5px) !important;
    max-width: calc(25% - 22.5px) !important;
    min-width: calc(25% - 22.5px) !important;
    width: 25% !important;
    padding: 0 !important;
}

/* Tablet: 3 items (Breakpoint 768px to 1200px) */
@media screen and (min-width: 768px) and (max-width: 1200px) {
    .products-row>[class*="col-"] {
        flex: 0 0 calc(33.333% - 20px) !important;
        max-width: calc(33.333% - 20px) !important;
        min-width: calc(33.333% - 20px) !important;
        width: 33.333% !important;
    }
}

/* Mobile: 1 item (Below 768px) */
@media screen and (max-width: 767px) {
    .products-row>[class*="col-"] {
        flex: 0 0 calc(100% - 30px) !important;
        max-width: calc(100% - 30px) !important;
        min-width: calc(100% - 30px) !important;
        width: 100% !important;
    }
}

.slider-controls {
    display: flex;
    gap: 15px;
}

.control-btn {
    width: 48px;
    height: 48px;
    background: white;
    color: var(--kij-teal);
    border: 2px solid var(--kij-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.control-btn:hover {
    background: var(--kij-teal);
    color: white;
    transform: scale(1.1);
}

.control-btn i {
    transform: scaleX(-1) rotate(-45deg);
}

.prev-btn i {
    transform: rotate(-45deg);
    /* Point left instead of right */
}

/* Specific button styles for content cards */
.plus-circle {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--kij-maroon);
    border: 2px solid #7b0927;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 22px;
    transition: all 0.3s ease;
}

.plus-circle i {
    transform: scaleX(-1) rotate(-45deg);
}

.view-all-recipes-card:hover .plus-circle {
    background: var(--kij-maroon);
    color: white;
    transform: scale(1.1);
}

.p-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 50px;
    z-index: 2;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: #fff;
}

.p-image {
    padding: 0 !important;
    /* Remove padding for full-width image */
    height: 280px;
    /* Consistent height */
    overflow: hidden;
    background: #fdfaf4;
    display: block !important;
}

.p-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /* Fill entire area */
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .p-image img {
    transform: scale(1.15) rotate(-10deg);
}

.p-title {
    background-color: var(--kij-maroon);
    color: white;
    padding: 20px 15px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.1;
    text-transform: uppercase;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Smooth hover transition */
}

.product-card:hover .p-title {
    background-color: var(--kij-yellow);
    /* Change color on hover to theme yellow */
    color: white;
}

.product-card.active .p-image {
    background: #f7f1e4;
}

/* Track progress */
.product-track-bar {
    width: 100%;
    height: 6px;
    background: #ebebeb;
    margin-top: 60px;
    border-radius: 10px;
    overflow: hidden;
}

.track-progress {
    height: 100%;
    background: var(--kij-teal);
}

/* Recipes Grid */
.recipes-preview-section {
    padding: 120px 0;
    background: #fdfaf4;
}

.recipe-intro {
    font-size: 18px;
    color: #231f20;
    max-width: 800px;
    margin: 0 auto 60px;
    font-weight: 400;
    line-height: 1.4;
}

.recipes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 40px !important;
    text-align: center;
}

.recipe-card-alt {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.recipe-card-alt.wide {
    grid-column: span 2;
}

.recipe-card-alt .recipe-image-wrap {
    height: 300px;
    overflow: hidden;
}

.recipe-card-alt .recipe-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card-alt:hover .recipe-image-wrap img {
    transform: scale(1.05);
}

.recipe-info-block {
    background-color: var(--kij-maroon);
    padding: 30px 20px;
    color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    transition: background-color 0.3s ease;
}

.recipe-card-alt:hover .recipe-info-block {
    background-color: var(--dubi-accent) !important;
}

.recipe-info-block h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
}

.recipe-card-alt.wide .recipe-info-block h4 {
    font-size: 24px;
}

.recipe-meta-new {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.recipe-meta-new span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.recipe-meta-new i {
    color: #f1b32d;
}

.recipe-small-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.recipe-small-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 25px !important;
}

.view-all-recipes-card {
    background: var(--kij-teal);
    color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-all-recipes-card:hover {
    transform: translateY(-5px);
    background-color: #d35400;
}

.view-all-recipes-card h3 {
    font-family: var(--font-heading);
    font-size: 32px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
}

.view-all-recipes-card p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.4;
}

.plus-circle {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--kij-maroon);
    border: 2px solid #7b0927;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 22px;
    transition: all 0.3s ease;
}



/* Together Section */
.together-section {
    padding: 30px 0 0;
    background: #fdfaf4;
    overflow: hidden;
}

.cta-btns-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px 0 80px;
}

.together-section p {
    font-size: 18px;
    color: #231f20;
    font-weight: 400;
    line-height: 1.4;
}

.sausage-plate-visual {
    position: relative;
    padding-top: 50px;
    display: flex;
    justify-content: center;
}

.yellow-curve-bg.bottom {
    position: absolute;
    bottom: -350px;
    height: 700px;
    width: 150%;
    background: var(--kij-yellow);
    border-radius: 50% 50% 0 0;
    z-index: 1;
}

.plate-img {
    position: relative;
    z-index: 5;
    width: 480px;
    height: auto;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.4));
    margin-bottom: 30px;
}

/* Newsletter */
.newsletter-section {
    padding: 120px 0;
    background: #fdf5e6;
    text-align: center;
}

.newsletter-section h3 {
    font-family: var(--font-sub-heading);
    color: var(--kij-maroon);
    font-size: 40px;
    text-transform: none;
    font-weight: 400;
    line-height: 0.9;
    margin-top: -10px;
}

.newsletter-form-container {
    max-width: 650px;
    margin: 40px auto 0;
    background: white;
    padding: 6px !important;
    border-radius: 60px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    overflow: hidden;
    position: relative;
    z-index: 5;
    height: 68px !important;
    /* Enlarged height */
}

.newsletter-form-container .fluentform {
    height: 100% !important;
}

.newsletter-form-container .fluentform_wrapper,
.newsletter-form-container form.fluentform,
.newsletter-form-container fieldset {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* Dissolve containers to allow direct flexing */
.newsletter-form-container .ff-t-container,
.newsletter-form-container .ff-t-row,
.newsletter-form-container .ff-t-column,
.newsletter-form-container .ff-el-group:not(.ff_submit_btn_wrapper),
.newsletter-form-container .ff-el-input--content {
    display: contents !important;
}

.newsletter-form-container .ff-el-form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0px 0px 25px 30px !important;
    font-size: 19px !important;
    /* Larger font size */
    color: #333 !important;
    flex: 1 !important;
    height: 100% !important;
    outline: none !important;
}

.newsletter-form-container .ff-el-form-control::placeholder {
    color: #888 !important;
    font-weight: 500 !important;
}

.newsletter-form-container .ff_submit_btn_wrapper {
    flex: 0 0 auto !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
}

.newsletter-form-container button.ff-btn-submit {
    background: var(--kij-maroon) !important;
    color: white !important;
    border: none !important;
    padding: 0 10px 0 45px !important;
    border-radius: 40px !important;
    font-weight: 800 !important;
    font-family: var(--font-heading) !important;
    height: 56px !important;
    /* Larger button */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    text-transform: uppercase !important;
    font-size: 22px !important;
    cursor: pointer !important;
    min-width: 170px !important;
    letter-spacing: 0.5px !important;
}

/* Beautiful curved share arrow */
.newsletter-form-container button.ff-btn-submit::after {
    content: '';
    width: 44px;
    height: 44px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23a20c33' d='M448 248L288 96v88c-100 0-160 80-160 180c0-10 10-20 20-30c40-40 80-50 140-50v88l160-152z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 22px;
    border-radius: 50%;
    display: block;
}

/* Success & Error Messages */
.newsletter-form-container .ff-message-success {
    background: transparent !important;
    border: none !important;
    color: var(--kij-teal) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 40px !important;
    margin: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.newsletter-form-container .ff-el-is-error .ff-el-form-control {
    color: #f44336 !important;
}

/* Mobile Responsiveness for Newsletter Form */
@media screen and (max-width: 768px) {
    .newsletter-form-container {
        height: 58px !important;
        max-width: 95% !important;
        margin: 30px auto 0 !important;
    }

    .newsletter-form-container .ff-el-form-control {
        padding: 0 20px 20px !important;
        font-size: 15px !important;
    }

    .newsletter-form-container button.ff-btn-submit {
        height: 46px !important;
        min-width: 120px !important;
        padding: 0 6px 0 20px !important;
        font-size: 15px !important;
        gap: 10px !important;
    }

    .newsletter-form-container button.ff-btn-submit::after {
        width: 34px !important;
        height: 34px !important;
        background-size: 16px !important;
    }
}

/* Permanent Clean Up */
.newsletter-form-container .ff-el-input--label,
.newsletter-form-container .ff-errors_in_stack,
.newsletter-form-container .ff_screen_reader,
.newsletter-form-container .ff-el-error,
.newsletter-form-container .ff-section_title {
    display: none !important;
}

.newsletter-form button .cir {
    background: white;
    color: var(--kij-maroon);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #7b0927;
    /* Đường viền đậm cho phần newsletter */
    margin-left: 10px;
}

.newsletter-form button .cir i {
    transform: scaleX(-1) rotate(-45deg);
}

.newsletter-form button:hover .cir {
    background: var(--kij-maroon);
    color: white;
    border-color: white;
}

.newsletter-form button:hover {
    background: var(--kij-teal);
    transform: translateX(5px);
}

/* FOOTER REFINEMENT - Figure 4 Match */
.site-footer {
    background-color: var(--kij-beige);
    padding: 60px 0 0;
    position: relative;
    border-top: 2px solid var(--kij-maroon);
    background-size: 100% auto;
    background-position: center bottom 65px;
    background-repeat: no-repeat;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(240, 228, 201, 0.95) 0%,
            rgba(240, 228, 201, 0.8) 40%,
            rgba(240, 228, 201, 0.3) 100%);
    z-index: 0;
}

.site-footer>* {
    position: relative;
    z-index: 1;
}

.footer-top-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-top-logo img {
    height: 70px;
}

.footer-top-info {
    display: flex;
    align-items: center;
    gap: 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--kij-teal);
    letter-spacing: 0.5px;
    font-size: 26px;
}

.info-address {
    text-transform: uppercase;
}

.info-contact {
    color: var(--kij-teal);
    text-decoration: none;
}

.footer-scroll-top {
    margin-left: auto;
}

.scroll-btn {
    background: var(--kij-maroon);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
}

.footer-divider-dashed {
    border-top: 2px dashed #333;
    width: 100%;
    margin-bottom: 40px;
}

.footer-main-grid {
    display: flex;
    gap: 20px;
    padding-bottom: 60px;
}

.footer-grid-col {
    flex: 1;
}

.footer-grid-col h4 {
    font-family: var(--font-heading);
    color: var(--kij-teal);
    font-size: 26px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-grid-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-grid-col ul li {
    margin-bottom: 8px;
}

.footer-grid-col ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-grid-col ul li a:hover {
    color: var(--kij-maroon);
}

.footer-grid-col-divider {
    width: 2px;
    border-left: 2px dashed #333;
    height: 250px;
    margin: 0 40px;
}

.products-sub-grid,
.recipes-sub-grid,
.explore-sub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer-color-stripe {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.footer-color-stripe div {
    height: 3px;
    width: 100%;
}

.stripe-teal {
    background: #00817e;
}

.stripe-yellow {
    background: #f0b32d;
}

.stripe-orange {
    background: #e36826;
}

.stripe-blue {
    background: #2f3473;
}

.stripe-red {
    background: #a20a32;
}

.footer-bottom-bar {
    background: var(--kij-maroon-dark);
    color: white;
    padding: 15px 0;
}

.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    background: var(--kij-white);
    color: var(--kij-maroon);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
    background: var(--kij-yellow);
    color: var(--kij-maroon);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-copyright {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .dubi-container {
        padding: 0 20px !important;
    }

    .hero-slider-section {
        /* height: auto !important; */
        min-height: unset;
    }

    .hero-slide {
        height: auto !important;
        padding-top: 65vw !important;
        background-size: 100% auto !important;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease;
    }

    .hero-slide.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-content-right {
        position: relative !important;
        width: 100% !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        padding: 40px 20px !important;
        background: var(--kij-maroon) !important;
        text-align: center !important;
    }

    .hero-content-right .btn-signup {
        margin: 0 auto !important;
    }

    .hero-content-right h2 {
        font-size: 26px !important;
    }

    .slider-indicators {
        bottom: 15px;
    }

    .section-title-teal {
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    .recipes-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .recipe-card-alt.wide {
        grid-column: span 1 !important;
    }

    .recipe-image-wrap {
        height: 250px !important;
    }

    .yellow-curve-bg,
    .food-bowl-img,
    .plate-img {
        display: block !important;
    }

    .welcome-section {
        padding: 80px 0 350px !important;
    }

    .food-bowl-img,
    .plate-img {
        width: 300px !important;
        margin-bottom: 40px !important;
    }

    .yellow-curve-bg {
        height: 450px !important;
        bottom: -200px !important;
    }

    .varieties-section h2 {
        font-size: 40px !important;
    }

    .products-grid-section .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .products-grid-section .section-header h2 {
        font-size: 32px !important;
        margin-bottom: 10px !important;
    }

    .products-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
    }

    .products-row::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .product-track-bar {
        margin: 30px auto 0 !important;
        max-width: 80%;
        height: 4px !important;
        background: #e5e5e5 !important;
    }

    .track-progress {
        background: var(--kij-teal) !important;
        transition: width 0.2s ease-out;
    }
}

.p-title {
    font-size: 16px !important;
    min-height: 80px !important;
    padding: 15px 10px !important;
}

.p-image {
    min-height: 220px !important;
}

.slider-controls {
    justify-content: center !important;
    margin-top: 15px !important;
}

.control-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 16px !important;
}


@media (max-width: 767px) {
    .footer-grid-col-divider {
        display: none !important;
    }

    .footer-top-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }

    .footer-top-info {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        font-size: 18px !important;
    }

    .footer-scroll-top {
        margin-left: 0 !important;
    }

    /* Mobile Specific Footer Background - With Gate Illustration */
    .site-footer {
        background-image: url('https://dubi.123websitedev.com/wp-content/uploads/2026/04/20260417-085622.png') !important;
        background-size: 100% auto !important;
        background-position: center bottom 120px !important;
        background-repeat: no-repeat !important;
    }
}


/* VIDEO MODAL STYLES */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 100000;
    /* Higher than WP Admin Bar (99999) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    padding: 20px;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-modal-overlay.active .video-modal-container {
    transform: translateY(0);
}

.video-modal-close {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--kij-maroon);
    color: white;
    border: 2px solid white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.video-modal-close:hover {
    background: var(--kij-teal);
    transform: rotate(90deg) scale(1.1);
}

.video-responsive-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-responsive-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 1200px) {
    .video-modal-close {
        top: -15px;
        right: 10px;
        /* Bring inside slightly for tablet */
    }
}

@media (max-width: 768px) {
    .video-modal-overlay {
        padding: 10px;
    }

    .video-modal-container {
        width: 100%;
    }

    .video-modal-close {
        top: -15px;
        right: 0px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .video-responsive-wrapper {
        border-radius: 10px;
    }
}

@media (max-width: 1024px) {
    .header-actions {
        gap: 8px;
        /* Giảm gap trên mobile */
        position: relative;
        z-index: 70;
    }

    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--kij-maroon-dark);
        padding: 100px 30px;
        transition: 0.4s;
        z-index: 999;
        gap: 20px;
        overflow-y: auto;
        overscroll-behavior: contain;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .main-menu li {
        width: 100% !important;
        display: block !important;
    }

    .main-menu.active {
        right: 0;
    }

    .mobile-menu-close.active {
        display: block;
        position: fixed;
        top: 30px;
        right: 30px;
        z-index: 1000;
        cursor: pointer;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .mobile-menu-close.active:hover {
        background: rgba(0, 0, 0, 0.4);
    }

    .main-menu li a {
        display: block !important;
        width: 100% !important;
        font-size: 22px;
        box-sizing: border-box !important;
    }

    /* Mobile Sub-menu Style - High Specificity Fix */
    .main-menu li.menu-item-has-children>.sub-menu,
    .main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.08) !important;
        margin: 10px 0 !important;
        padding: 10px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        height: auto !important;
        border-radius: 10px !important;
        box-shadow: none !important;
        list-style: none !important;
        flex-direction: column !important;
        gap: 5px !important;
        pointer-events: auto !important;
        column-count: 1 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        flex-shrink: 0 !important;
    }

    .main-menu li.menu-item-has-children.open>.sub-menu,
    .main-menu li.menu-item-has-children:not(.mega-menu-item).open>.sub-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .main-menu li.menu-item-has-children>.sub-menu li,
    .main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        box-sizing: border-box !important;
        flex: 1 1 100% !important;
        align-self: stretch !important;
    }

    .main-menu li.menu-item-has-children>.sub-menu li a,
    .main-menu li.menu-item-has-children:not(.mega-menu-item)>.sub-menu li a {
        font-size: 18px !important;
        padding: 10px 5px !important;
        border: none !important;
        color: white !important;
        transition: color 0.2s ease;
        white-space: normal !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
        display: block !important;
        line-height: 1.4 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-menu li.menu-item-has-children>.sub-menu li a:hover {
        color: var(--kij-yellow) !important;
    }

    .main-menu li.menu-item-has-children>.sub-menu::before,
    .main-menu li.menu-item-has-children>.sub-menu::after,
    .main-menu li.menu-item-has-children>.sub-menu>li:first-child::after {
        display: none !important;
    }

    .menu-caret.rotated {
        transform: rotate(180deg);
    }

    .menu-caret {
        transition: transform 0.3s ease;
    }

    .secondary-nav-desktop {
        display: none;
    }

    /* TABLET SPECIFIC (768px - 1199px) */
    @media (min-width: 768px) and (max-width: 1199px) {
        .hero-slider-section {
            height: 600px !important;
        }

        .hero-slide {
            height: 600px !important;
            padding-top: 0 !important;
            background-size: cover !important;
            display: none !important;
        }

        .hero-slide.active {
            display: block !important;
        }

        .hero-content-right {
            position: absolute !important;
            right: 5% !important;
            top: 50% !important;
            transform: translateY(-50%) !important;
            width: 400px !important;
            padding: 30px !important;
            background: var(--kij-maroon) !important;
            margin-top: 0 !important;
            text-align: left !important;
            z-index: 10;
        }

        .hero-slider-nav {
            top: 50% !important;
            transform: translateY(-50%) !important;
        }

        .hero-content-right h2 {
            font-size: 32px !important;
        }

        .hero-content-right .btn-signup {
            margin: 0 !important;
        }
    }

    .site-logo {
        margin: 0;
    }

    .site-logo a {
        width: 70px;
        height: 65px;
        padding: 5px 5px 8px;
        border-radius: 0 0 20px 20px;
    }

    .site-logo img {
        height: auto;
        max-height: 100%;
    }


    .welcome-text-teal {
        font-size: 18px;
    }

    .newsletter-section h3 {
        font-size: 28px !important;
        line-height: 1.1 !important;
    }

    .newsletter-form {
        flex-direction: column !important;
        gap: 15px !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .newsletter-form input {
        width: 100% !important;
        border-radius: 40px !important;
        background: white !important;
        height: 60px !important;
        padding: 0 30px !important;
        text-align: center !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
    }

    .newsletter-form button {
        width: 100% !important;
        justify-content: center !important;
        height: 60px !important;
        padding: 0 !important;
        border-radius: 40px !important;
    }

    .newsletter-form button .cir {
        background: white !important;
        color: var(--kij-maroon) !important;
        width: 40px !important;
        height: 40px !important;
        border: 2px solid #7b0927 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .newsletter-form button .cir i {
        transform: scaleX(-1) rotate(-45deg) !important;
    }

    .cta-btns-row {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btns-row .btn-signup {
        width: 100%;
        justify-content: center;
    }

    .products-row .col-md-3 {
        margin-bottom: 30px;
    }

    .recipes-grid {
        grid-template-columns: 1fr !important;
    }

    .bottom-bar-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-top-logo img {
        height: 50px;
    }

    .footer-copyright {
        font-size: 11px;
    }

    .contact-bubble {
        left: 20px;
        bottom: 100px;
        padding: 8px 15px;
        font-size: 14px;
    }
}

/* ==========================================================================
   ABOUT PAGE REFINEMENT - High Fidelity
   ========================================================================== */
.about-page {
    background-color: var(--kij-cream);
    color: #231f20;
}

.archive-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.mission-section {
    position: relative;
    overflow: hidden;
}

.mission-box {
    text-align: center;
}

/* 10. About Page Styles
   ------------------------------------------------------- */
.about-page .lead {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 500;
}

.about-page p {
    font-size: 18px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.about-page .section-title-teal {
    font-size: 45px;
    margin-bottom: 40px;
}

/* Values Grid */
.values-section {
    padding: 100px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--kij-teal);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    color: var(--kij-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg,
.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--kij-maroon);
}

/* Timeline Styling */
.timeline-section {
    padding: 100px 0;
}

.timeline-title {
    text-align: center;
    color: var(--kij-teal);
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 850;
    text-transform: uppercase;
    margin-bottom: 80px;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 25px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 25px;
    bottom: 0;
    width: 4px;
    background-color: var(--kij-maroon);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    padding-right: 70px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 70px;
    text-align: left;
}

.year-bubble {
    position: absolute;
    top: 0;
    background-color: var(--kij-maroon);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.timeline-item.left .year-bubble {
    right: 0;
    transform: translateX(50%);
}

.timeline-item.right .year-bubble {
    left: 0;
    transform: translateX(-50%);
}

.timeline-content {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: inline-block;
    width: 100%;
    max-width: 450px;
    text-align: left;
    vertical-align: top;
}

/* 5. Tabs & Description (Full Width Bleed)
   ------------------------------------------------------- */
.woocommerce-tabs {
    margin-top: 80px;
    background: var(--product-tabs-bg, url('https://img.freepik.com/free-photo/dark-wood-texture-background-surface-with-old-natural-pattern_1258-81144.jpg')) center/cover !important;
    padding: 100px 0 !important;
    /* Full width bleed trick */
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

.woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 900px !important;
    display: flex !important;
    background: transparent !important;
    border: none !important;
    gap: 0 !important;
    /* NO GAPS */
}

.woocommerce-tabs ul.tabs li {
    flex: 1 !important;
    margin: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    float: none !important;
    display: flex !important;
}

.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce-tabs ul.tabs li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 !important;
    padding: 15px 10px !important;
    text-align: center !important;
    color: var(--dubi-primary) !important;
    background: #fdf9f0 !important;
    /* Cream for inactive */
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    font-size: 22px !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    border-radius: 0 !important;
    border: 1px solid #e5e5e5 !important;
    border-bottom: none !important;
}

.woocommerce-tabs ul.tabs li:first-child a {
    border-top-left-radius: 20px !important;
}

.woocommerce-tabs ul.tabs li:last-child a {
    border-top-right-radius: 20px !important;
}

.woocommerce-tabs ul.tabs li.active a {
    background: var(--dubi-primary) !important;
    /* Cam đỏ for active */
    color: #fff !important;
    border-color: var(--dubi-primary) !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
    background: #fdf9f0 !important;
    padding: 60px 50px !important;
    margin: 0 auto !important;
    max-width: 900px !important;
    border: 1px solid #e5e5e5 !important;
    border-top: none !important;
    color: #333 !important;
    line-height: 1.8 !important;
    box-sizing: border-box !important;
    border-radius: 0 0 20px 20px !important;
    /* Added rounded bottom corners */
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
    display: none !important;
}

@media (max-width: 768px) {
    .woocommerce-tabs {
        padding: 40px 15px !important;
        /* Adjust for mobile to prevent overflow while keeping background */
        width: auto !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        left: auto !important;
        right: auto !important;
        border-radius: 0 !important;
    }

    .woocommerce-tabs ul.tabs {
        flex-direction: column !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .woocommerce-tabs ul.tabs li a {
        font-size: 16px !important;
        padding: 15px !important;
        border-radius: 0 !important;
        text-align: center !important;
        border: 1px solid #ddd !important;
        border-bottom: none !important;
    }

    .woocommerce-tabs ul.tabs li:first-child a {
        border-top-left-radius: 15px !important;
        border-top-right-radius: 15px !important;
    }

    .woocommerce-tabs .woocommerce-Tabs-panel {
        max-width: 100% !important;
        width: 100% !important;
        padding: 30px 20px !important;
        border: 1px solid #ddd !important;
        border-top: none !important;
        border-radius: 0 0 15px 15px !important;
    }

    /* Simple reset for full width background on very small screens */
    .woocommerce-tabs {
        background-attachment: scroll !important;
    }
}

.content-header {
    background-color: var(--kij-maroon);
    color: white;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1.2;
}

.content-body {
    padding: 20px;
}

.content-body img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    display: block;
}

.content-body p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.video-placeholder {
    position: relative;
    cursor: pointer;
    margin-bottom: 15px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--kij-maroon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

/* Product Mini Grid */
.products-list-section {
    padding-bottom: 100px;
}

.products-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.product-tag {
    background: white;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 40px;
    text-align: center;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.product-tag:hover {
    background: var(--kij-maroon);
    color: white;
    border-color: var(--kij-maroon);
    transform: translateY(-5px);
}

/* Story CTA */
.story-cta {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 200px 0 40px 0;
}

.story-cta .dubi-container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.story-card {
    background: var(--kij-maroon);
    color: white;
    padding: 50px;
    width: 450px;
    text-align: left;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

.story-card .sub {
    font-family: var(--font-sub-heading);
    font-weight: 400;
    font-size: 24px;
    text-transform: none;
    margin-bottom: 5px;
    display: block;
}

.story-card h2 {
    font-family: var(--font-heading);
    font-size: 35px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: white;
}

.story-card p {
    font-size: 18px;
    margin-bottom: 30px;
}

.story-card .btn-signup {
    background: var(--kij-yellow);
    color: var(--kij-white);
}

.story-card .btn-signup .cir {
    border-color: var(--kij-yellow);
    color: var(--kij-maroon);
}

.story-card .btn-signup:hover {
    background: var(--kij-white);
    color: var(--kij-maroon);
}

.story-card .btn-signup:hover .cir {
    border-color: transparent;
}

@media (max-width: 991px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .timeline-line {
        left: 20px !important;
        transform: none !important;
        top: 0 !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 50px;
    }

    .timeline-item.right {
        left: 0;
    }

    .year-bubble {
        position: relative !important;
        display: inline-block !important;
        left: 0 !important;
        transform: none !important;
        margin-bottom: 15px;
        min-width: auto;
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 4px;
    }

    .timeline-content {
        width: 100%;
    }

    .story-card {
        width: 90%;
        padding: 30px;
    }
}

/* Unified Archive Hero Styles (Shared across all pages) */
.archive-hero-banner {
    position: relative;
    overflow: hidden;
    height: 350px !important;
}

.archive-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 128, 125, 0.4);
    /* Teal transparent overlay */
    z-index: 1;
}

.dubi-hero-content {
    z-index: 10;
    width: 100%;
}

.dubi-hero-title {
    color: white !important;
    font-family: var(--font-heading) !important;
    font-size: 85px !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    line-height: 0.8 !important;
    letter-spacing: -3px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    max-width: 900px !important;
}

@media (max-width: 991px) {
    .dubi-hero-title {
        font-size: 60px !important;
        letter-spacing: -2px !important;
    }
}

@media (max-width: 768px) {
    .archive-hero-banner {
        height: 240px !important;
    }

    .dubi-hero-title {
        font-size: 42px !important;
        letter-spacing: -1px !important;
        line-height: 1 !important;
    }
}


.contact-info-wrap {
    background: white;
    padding: 60px 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    gap: 25px;
}

.contact-list li .icon-box {
    width: 65px;
    height: 65px;
    background-color: var(--kij-maroon);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(162, 12, 51, 0.2);
}

.contact-list li .text-box strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--kij-maroon);
    margin-bottom: 5px;
    text-transform: none;
    font-weight: 400;
}

.contact-list li .text-box p {
    font-size: 18px;
    color: #444;
    line-height: 1.4;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #eee;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--kij-maroon);
    color: white;
    transform: translateY(-3px);
}

.contact-form-card {
    background: white;
    padding: 60px 45px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

/* Unified Pagination Styling - Teal Circles */
.pagination,
.woocommerce-pagination,
.pagination-wrapper {
    margin: 60px 0;
    text-align: left !important;
    width: 100% !important;
    font-family: var(--font-heading);
    border: none !important;
    /* Bỏ viền nav */
}

.pagination .nav-links,
.woocommerce-pagination ul.page-numbers,
.pagination-wrapper ul.page-numbers {
    display: inline-flex !important;
    gap: 12px;
    align-items: center;
    justify-content: flex-start !important;
    /* Căn trái */
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    /* Bỏ viền ul */
}

.pagination .nav-links li,
.woocommerce-pagination ul.page-numbers li,
.pagination-wrapper ul.page-numbers li {
    display: inline-block !important;
    border: none !important;
    /* Bỏ viền li */
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
}

.pagination .nav-links a,
.pagination .nav-links span,
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
.pagination-wrapper ul.page-numbers li a,
.pagination-wrapper ul.page-numbers li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: #fdfaf4 !important;
    color: var(--dubi-dark) !important;
    /* Nâu tối */
    text-decoration: none !important;
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.pagination .nav-links .current,
.woocommerce-pagination ul.page-numbers li .current,
.pagination-wrapper ul.page-numbers li .current {
    background: var(--dubi-dark) !important;
    color: #fff !important;
}

.pagination .nav-links a:hover,
.woocommerce-pagination ul.page-numbers li a:hover,
.pagination-wrapper ul.page-numbers li a:hover {
    background: var(--dubi-dark) !important;
    /* Đổi sang nền nâu tối khi hover */
    color: #fff !important;
    /* Đổi sang chữ trắng */
    border-color: var(--dubi-dark) !important;
    transform: none !important;
    /* Bỏ transform để tránh lỗi hiển thị */
    box-shadow: 0 5px 15px rgba(61, 20, 8, 0.2) !important;
}

.pagination .screen-reader-text {
    display: none;
}

/* Fluent Form Contact Page Specific Style */
.form-wrapper-alt .fluentform {
    padding-top: 20px;
}

.form-wrapper-alt .ff-el-form-control {
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-size: 16px !important;
    height: auto !important;
    background-color: #fafafa !important;
    transition: all 0.3s ease !important;
}

.form-wrapper-alt .ff-el-form-control:focus {
    border-color: var(--kij-maroon) !important;
    background-color: #fff !important;
    box-shadow: 0 0 10px rgba(162, 12, 51, 0.1) !important;
}

.form-wrapper-alt .ff-el-input--label {
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 22px !important;
    color: #333 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
}

.form-wrapper-alt .ff-btn-submit {
    background-color: var(--kij-maroon) !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 18px 50px !important;
    font-family: var(--font-heading) !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: auto !important;
    color: #fff !important;
    display: inline-block !important;
}

.form-wrapper-alt .ff-btn-submit:hover {
    background-color: var(--kij-yellow) !important;
    color: var(--kij-maroon) !important;
    transform: scale(1.05);
}

.form-wrapper-alt .ff-message-success {
    background: #e6f4ea !important;
    border: 1px solid #d4edda !important;
    color: #155724 !important;
    padding: 20px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    margin-top: 20px !important;
}

@media (max-width: 991px) {

    .contact-info-wrap,
    .contact-form-card {
        padding: 40px 30px;
    }
}

/* ==========================================================================
   WITCHCRAFT/DUBI SINGLE PRODUCT PAGE STYLING
   ========================================================================== */

/* 1. Main Layout & Container */
.single-product-main .dubi-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.single-product-main .widget-area {
    display: none;
}

.dubi-custom-single-product {
    margin-top: 20px;
}

.product-main-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    background: #fdfaf4;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 50px;
}

/* 1.1 Sale / Seasonal Badge Style (Global) */
ul.products li.product {
    position: relative !important;
}

.woocommerce span.onsale,
.dubi-onsale-badge {
    position: absolute !important;
    top: -15px !important;
    left: -15px !important;
    width: 80px !important;
    height: 80px !important;
    min-height: 80px !important;
    background: var(--dubi-primary) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    transform: rotate(-15deg) !important;
    z-index: 20 !important;
    box-shadow: 0 8px 25px rgba(202, 78, 40, 0.3) !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 0 !important;
}

.woocommerce span.onsale::after,
.dubi-onsale-badge::after {
    content: '' !important;
    position: absolute !important;
    width: 80% !important;
    height: 80% !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

/* 2. Product Image Section & Slider Track */
.product-image-column {
    flex: 1;
    position: relative;
}

.image-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.main-image-bg {
    background-color: #fbd67d;
    border-radius: 20px;
    width: 100%;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
    aspect-ratio: 0.85;
}

.product-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
}

.slider-img-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    height: 100%;
}

.product-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

/* 3. Slider Navigation Controls (Maroon Arrows) */
.p-nav-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--dubi-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.p-nav-btn:hover {
    background: #e87722;
    transform: scale(1.1);
}

.p-prev {
    left: 0;
}

.p-next {
    right: 0;
}

.product-vertical-divider {
    width: 2px;
    border-left: 2px dashed #000;
    height: 700px;
    opacity: 0.2;
}

/* 4. Product Details (Headings, Price, Desc) */
.product-details-column {
    flex: 1;
}

.product-category-head {
    color: var(--dubi-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.product-main-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 850;
    color: var(--dubi-dark);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 10px;
}

.product-price-custom {
    font-size: 28px;
    font-weight: 700;
    color: var(--dubi-primary);
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

.product-price-custom del {
    font-size: 18px;
    color: #999;
    margin-right: 10px;
}

.product-price-custom ins {
    text-decoration: none;
}

.product-description-text {
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    margin-bottom: 40px;
}

/* 5. Feature Grid (Circular Icons) */
.product-features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100px;
    text-align: center;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
}

.feature-label {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: #333;
}

/* 6. Action Buttons & Quantity Row Styling */
.product-actions-stacked {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.actions-row-top {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector-custom {
    display: flex;
    align-items: center;
    border: 2px solid var(--dubi-dark);
    border-radius: 40px;
    overflow: hidden;
    height: 54px;
    background: #fff;
}

.qty-btn {
    width: 44px;
    height: 100%;
    background: transparent;
    border: none;
    font-size: 20px;
    font-weight: 800;
    color: var(--dubi-dark);
    cursor: pointer;
    transition: 0.3s;
}

.qty-btn:hover {
    background: rgba(61, 20, 8, 0.05);
}

.quantity-selector-custom input.qty {
    width: 50px;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--dubi-dark);
    padding: 0;
}

.quantity-selector-custom input::-webkit-outer-spin-button,
.quantity-selector-custom input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.dubi-action-btn,
.dubi-action-btn.teal-btn,
.dubi-action-btn.orange-btn,
form.cart .dubi-action-btn.button.alt {
    background: var(--dubi-dark);
    color: white !important;
    text-decoration: none;
    padding: 0 70px 0 25px;
    border-radius: 40px !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    border: none !important;
    cursor: pointer;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 54px;
    white-space: nowrap;
    flex: 1;
    min-width: 220px;
}

form.cart .dubi-action-btn.orange-btn {
    background: var(--dubi-primary) !important;
}

form.cart .dubi-action-btn.teal-btn {
    background: var(--dubi-dark) !important;
}

.actions-row-bottom .dubi-action-btn {
    width: 100%;
    flex: none;
}

/* Action Button Circle Icon ( SVG ) */
.dubi-action-btn::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23CA4E28' d='M448 248L288 96v88c-100 0-160 80-160 180c0-10 10-20 20-30c40-40 80-50 140-50v88l160-152z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 22px;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

/* 7. Gallery Thumbnails List */
.product-gallery-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    border: 2px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--dubi-dark);
    transform: translateY(-3px);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 8. Fullscreen Lightbox Modal */
.dubi-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}

.dubi-lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    line-height: 30px;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 80px;
    cursor: pointer;
    padding: 0 30px;
    user-select: none;
    transition: 0.3s;
}

.lightbox-nav-btn:hover {
    color: #ffbe00;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* 9. Interaction Polishing */
.dubi-action-btn:hover {
    background: #a20c33;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.dubi-action-btn:hover::after {
    background-color: #f1b32d;
}

/* 10. RESPONSIVE REFINEMENT (Tablet & Mobile) */
@media (max-width: 1024px) {
    .single-product-main .dubi-container {
        padding: 0 20px;
    }

    .product-main-flex {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
    }

    .product-vertical-divider {
        display: none;
    }

    .product-main-title {
        font-size: 32px;
    }

    .product-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .dubi-action-btn {
        width: 100%;
    }

    .main-image-bg {
        aspect-ratio: 0.85;
    }

    .image-box-wrapper {
        padding: 0;
    }

    .dubi-onsale-badge {
        width: 75px;
        height: 75px;
        font-size: 14px;
        top: -10px;
        left: -10px;
    }
}

@media (max-width: 768px) {
    .product-main-flex {
        padding: 20px 15px;
        border-radius: 10px;
    }

    .main-image-bg {
        aspect-ratio: 0.85;
        padding: 15px;
    }

    .slider-img-slide {
        padding: 10px;
    }

    .product-main-title {
        font-size: 26px;
    }

    .product-price-custom {
        font-size: 22px;
    }

    .product-gallery-thumbnails {
        gap: 10px;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
    }

    .thumb-item {
        flex: 0 0 65px;
        height: 65px;
    }

    .actions-row-top {
        flex-direction: column;
        gap: 15px;
    }

    .quantity-selector-custom {
        width: 100%;
        justify-content: center;
    }

    .dubi-action-btn {
        width: 100% !important;
        float: none !important;
        min-width: 0 !important;
        padding-right: 55px !important;
        padding-left: 15px !important;
        font-size: 16px !important;
        height: 54px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        flex: none !important;
    }

    .dubi-onsale-badge {
        width: 65px;
        height: 65px;
        font-size: 12px;
        top: -5px;
        left: -5px;
    }
}

/* 11. WooCommerce Tabs Styling (Description, Reviews) */
.woocommerce-tabs {
    margin-top: 60px;
    background: #fff;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

.woocommerce-tabs ul.tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-tabs ul.tabs li {
    padding: 15px 0;
    position: relative;
}

.woocommerce-tabs ul.tabs li a {
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: #999;
    text-transform: uppercase;
    transition: all 0.3s;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--dubi-primary);
}

.woocommerce-tabs ul.tabs li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--dubi-primary);
}

/* 12. Review Form Styling */
.woocommerce-Reviews-title {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 30px;
}

#review_form input[type="text"],
#review_form input[type="email"],
#review_form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: inherit;
}

#submit {
    background: var(--dubi-dark);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

#submit:hover {
    background: var(--dubi-primary);
}

/* 13. Related & Upsell Products */
.related.products,
.upsells.products {
    margin: 80px auto !important;
    max-width: 1200px !important;
    padding: 0 20px !important;
    clear: both !important;
}

.related.products h2,
.upsells.products h2 {
    font-family: var(--font-heading) !important;
    font-size: 36px !important;
    font-weight: 800 !important;
    text-align: center !important;
    margin-bottom: 50px !important;
    text-transform: uppercase !important;
    color: var(--kij-teal) !important;
}

.related.products ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.related.products ul.products li.product {
    flex: 0 1 calc(25% - 30px) !important;
    min-width: 260px !important;
    background: #fff !important;
    padding: 25px !important;
    border-radius: 25px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
    display: block !important;
    float: none !important;
}

.related.products ul.products li.product:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.related.products ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    border-radius: 15px !important;
    margin-bottom: 20px !important;
    display: block !important;
    object-fit: contain !important;
}

.related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 22px !important;
    margin: 15px 0 !important;
    color: var(--kij-teal) !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.related.products ul.products li.product .price {
    color: var(--dubi-primary) !important;
    font-weight: 900 !important;
    display: block !important;
    margin-bottom: 20px !important;
    font-size: 18px !important;
}

.related.products ul.products li.product .button {
    background: var(--dubi-dark) !important;
    color: white !important;
    padding: 12px 25px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    transition: all 0.3s !important;
    display: inline-block !important;
}

.related.products ul.products li.product .button:hover {
    background: var(--dubi-primary) !important;
    transform: scale(1.05) !important;
}

@media (max-width: 768px) {

    .related.products,
    .upsells.products {
        margin: 50px auto !important;
        padding: 0 10px !important;
        /* Reduced padding to bring closer to container edge */
    }

    .related.products h2,
    .upsells.products h2 {
        font-size: 26px !important;
        margin-bottom: 25px !important;
    }

    .related.products ul.products {
        gap: 15px !important;
    }

    .related.products ul.products li.product {
        flex: 0 1 100% !important;
        max-width: 100% !important;
        margin: 0 auto 15px auto !important;
        padding: 15px !important;
        /* Balanced internal padding */
        border-radius: 15px !important;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    }

    .related.products ul.products li.product img {
        margin-bottom: 15px !important;
    }

    .related.products ul.products li.product .woocommerce-loop-product__title {
        font-size: 17px !important;
    }
}

/* 14. Custom Tab FAQ Styles (Specifically for Tab 3) */
.dubi-tab-index-3 h3,
.dubi-tab-index-3 h4 {
    color: var(--dubi-primary);
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 12px;
    border-bottom: 2px dashed #f0f0f0;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.dubi-tab-index-3 p {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.dubi-tab-index-3 strong {
    color: var(--dubi-primary);
}

.dubi-custom-tab-content {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SHARED RECIPE/POST GRID SYSTEM */
.recipes-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    /* Mặc định 3 cột cho bài viết */
    gap: 30px !important;
    width: 100%;
}

/* Lưới 4 cột riêng cho sản phẩm */
.recipes-grid.grid-4-cols {
    grid-template-columns: repeat(4, 1fr) !important;
}

.recipe-card-alt {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #fff !important;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.recipe-card-alt:hover {
    transform: translateY(-10px);
}

.recipe-image-wrap {
    height: 280px;
    overflow: hidden;
    background: #fdfaf4;
}

.recipe-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card-alt:hover .recipe-image-wrap img {
    transform: scale(1.05);
}



@media (max-width: 1200px) {
    .grid-4-cols {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .grid.post-item-2:hover .recipe-info-block {
        background-color: var(--dubi-accent) !important;
    }
}

@media (max-width: 991px) {
    .grid-4-cols {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .recipes-grid:not(.grid-4-cols) {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    .grid-4-cols {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 600px) {
    .recipes-grid {
        grid-template-columns: 1fr !important;
    }
}

.pagination-wrapper .next,
.pagination-wrapper .prev {
    font-size: 20px !important;
}

/* ==========================================================================
   PRODUCT ARCHIVE & CARDS (PREMIUM DESIGN)
   ========================================================================== */

.db-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    background: #fdfaf4;
    transition: all 0.4s ease;
    border: 1px solid #ede8dc;
    position: relative;
    /* Ensure clipping works */
}

.db-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    border-color: #e8d5cc !important;
}

.product-image-wrap {
    height: 240px;
    background: #fff;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid #f0ebe0;
}

.db-img-zoom:hover img {
    transform: scale(1.08);
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-info-block {
    padding: 16px 16px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--dubi-primary);
    transition: background-color 0.3s ease;
}

.db-product-card:hover .product-info-block {
    background-color: var(--dubi-accent);
}

.product-info-block h4 {
    margin: 0 0 10px 0;
    font-family: var(--font-heading) !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
}

.product-info-block h4 a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.product-info-block h4 a:hover {
    color: #ffffff !important;
    opacity: 0.9;
}

.product-info-block .product-price,
.product-info-block .product-price .price,
.product-info-block .product-price .price .amount,
.product-info-block .product-price .price ins .amount {
    display: block;
    font-family: var(--font-heading) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.1;
    margin-bottom: 20px;
}

.product-info-block .product-price .price del,
.product-info-block .product-price .price del .amount {
    display: block;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400 !important;
    margin-bottom: 2px;
    text-decoration: line-through;
    font-family: var(--font-heading) !important;
}

.product-info-block .product-price .price ins {
    text-decoration: none !important;
    display: block;
}

/* Premium Product button styles */
.product-wc-actions .button {
    background-color: transparent !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 50px !important;
    padding: 10px 50px 10px 22px !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 16px !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    position: relative !important;
    box-shadow: none !important;
    cursor: pointer;
    line-height: 1.4 !important;
    text-decoration: none !important;
    /* Added to remove underline */
}

.product-wc-actions .button:hover {
    background-color: white !important;
    color: var(--dubi-accent) !important;
    border-color: white !important;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    text-decoration: none !important;
    /* Ensure no underline on hover */
}

.product-wc-actions .button::after {
    content: "" !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background-color: white !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 14px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23CA4E28' d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E") !important;
}

.product-wc-actions .button:hover::after {
    background-color: var(--dubi-accent) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23ffffff' d='M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z'/%3E%3C/svg%3E") !important;
}

.product-wc-actions .button.added {
    background-color: #00807d !important;
}

.product-wc-actions .button.added::after {
    background-color: white !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%2300807d' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") !important;
}

.product-wc-actions .added_to_cart {
    display: none !important;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .recipes-grid.grid-4-cols {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 767px) {
    .recipes-grid.grid-4-cols {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .db-product-card {
        border-radius: 12px !important;
    }

    .product-image-wrap {
        height: 250px !important;
        /* Reduced height for mobile/tablet */
    }

    .product-info-block {
        padding: 12px 10px 15px !important;
    }

    .product-info-block h4 {
        font-size: 16px !important;
    }

    .product-info-block .product-price,
    .product-info-block .product-price .price,
    .product-info-block .product-price .price .amount {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }

    .product-wc-actions .button {
        font-size: 13px !important;
        padding: 8px 35px 8px 12px !important;
    }

    .product-wc-actions .button::after {
        width: 24px !important;
        height: 24px !important;
        background-size: 10px !important;
    }
}

.product-description-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

/* MINI ATTRIBUTES IN PRODUCT SUMMARY */
.product-attributes-mini {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #ede8dc;
}

.mini-attributes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-attributes-list li {
    font-size: 15px;
    margin-bottom: 6px;
    color: #555;
    display: flex;
    align-items: baseline;
}

.mini-attributes-list .attr-label {
    font-weight: 700;
    color: #333;
    min-width: 130px;
    margin-right: 10px;
}

.mini-attributes-list .attr-value {
    color: #666;
}

/* 15. Mobile Menu Layout & Animation */
.mobile-menu-container {
    position: fixed;
    top: 0;
    left: -100%;
    /* Slide từ bên trái */
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: #59210D;
    /* Nâu vừa */
    z-index: 10000;
    padding: 80px 30px;
    transition: left 0.4s ease;
    overflow-y: auto;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu-container.active {
    left: 0;
}

/* Adjust for WordPress Admin Bar when logged in */
.admin-bar .mobile-menu-container {
    top: 32px;
    height: calc(100vh - 32px);
}

@media (max-width: 782px) {
    .admin-bar .mobile-menu-container {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.main-menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu-mobile li {
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.main-menu-mobile li a {
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

.main-menu-mobile li a::before,
.main-menu-mobile li a::after,
.main-menu-mobile li a svg.menu-caret {
    display: none !important;
    /* Xóa triệt để icon thừa */
}

/* Sub-menu Styles for Mobile Drawer (Accordion) */
.main-menu-mobile .sub-menu {
    list-style: none;
    padding: 0 0 0 15px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.main-menu-mobile li.open>.sub-menu {
    max-height: 1000px;
    opacity: 1;
    padding: 15px 0 10px 15px;
}

.main-menu-mobile li {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.sub-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    opacity: 0.8;
    transform-origin: center;
    pointer-events: auto;
    flex-shrink: 0;
    margin-left: auto;
}

.sub-toggle i,
.sub-toggle svg {
    width: 14px !important;
    height: auto !important;
    fill: white;
    pointer-events: none;
    transform-origin: center;
}


.mobile-menu-close {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    z-index: 10001;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close i,
.mobile-menu-close svg {
    width: 20px !important;
    height: 20px !important;
    fill: white;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    .navbar-row {
        justify-content: space-between;
        display: flex;
        align-items: center;
        gap: 0;
        position: relative;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-toggle-wrapper {
        display: flex !important;
        flex: 1;
        justify-content: flex-start;
        align-items: center;
        order: 1;
        z-index: 10;
    }

    .mobile-menu-toggle {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50%;
        background: white;
        color: var(--kij-maroon) !important;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .mobile-menu-toggle svg {
        fill: var(--kij-maroon);
    }

    .site-logo {
        flex: 0 0 auto;
        order: 2;
        margin: 0 !important;
        text-align: center;
        z-index: 5;
    }

    .header-actions {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        position: relative !important;
        right: auto !important;
        order: 3;
        gap: 12px;
        z-index: 10;
    }
}

.desktop-only {
    display: block;
}

/* Language Switcher Icons */
.main-menu li.trp-language-switcher-container+li.trp-language-switcher-container {
    margin-left: -20px;
}

.main-menu-mobile li.trp-language-switcher-container {
    display: inline-block;
    border-bottom: none;
    margin-bottom: 10px;
    margin-right: 15px;
}

.main-menu-mobile li.trp-language-switcher-container a {
    padding: 5px 0;
}
.c123-floating-stack .c123-btn .txt {
    font-size: 15px !important;
}