/* Global Reset for Header Elements */
.d-none {
    display: none;
}

.body-no-scroll {
    overflow: hidden !important;
}

/* ==========================================================================
   1. TOP PROMO BAR
   ========================================================================== */
.top-promo-bar {
    color: #FFF;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #3b9b1a;
}

.top-promo-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.top-promo-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.promo-link-btn {
    color: #fff;
    margin-left: 6px;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.promo-link-btn:hover {
    opacity: 0.85;
}

.top-promo-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu_header {
    background: #3b9b1a;
}

.mobile-secondary-header {
    display: none;
}

/* ==========================================================================
   2. MAIN SITE HEADER
   ========================================================================== */
.main-site-header {
    background-color: #ffffff;
    padding: 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 1000;
    transition: box-shadow 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

/* ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ AFFIX / STICKY HEADER ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ */
.main-site-header.header-affixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* padding: 6px 0; */
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    animation: headerSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Slide-down entrance animation */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.main-site-header.header-affixed .logo img {
    height: 48px;
    transition: height 0.3s ease;
}

/* Spacer to prevent content jump when header becomes fixed */
.header-affix-spacer {
    display: none;
}

.header-affix-spacer.active {
    display: block;
}

/* Main Layout Styles */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    max-height: 48px;
    object-fit: contain;
}

/* Hamburger button (mobile only) */
.mob-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mob-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #334155;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   3. SEARCH BAR REDESIGN (MATCHING REFERENCE IMAGE)
   ========================================================================== */
.search-form {
    flex: 1 1 auto;
    max-width: 620px;
    margin: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #3b9b1a;
    border-radius: 9999px;
    background-color: #ffffff;
    height: 46px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: visible;
}

/* Category dropdown inside search */
.search-category {
    position: relative;
    height: 100%;
    flex-shrink: 0;
}

.search-category select {
    background-color: #e8f5ed;
    color: #3b9b1a;
    border: none;
    height: 100%;
    padding: 0 32px 0 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-top-left-radius: 9999px;
    border-bottom-left-radius: 9999px;
    border-right: 1px solid #cbd5e1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    transition: background-color 0.2s ease;
}

.search-category select:hover {
    background-color: #dcfce7;
}

.search-category::after {
    content: "expand_more";
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
    color: #3b9b1a;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Input search field */
.search-input {
    flex-grow: 1;
    border: none;
    background: transparent;
    height: 100%;
    padding: 0 16px;
    font-size: 14px;
    color: #1e293b;
    outline: none;
    width: 100px;
    /* base size so it shrinks */
}

.search-input::placeholder {
    color: #94a3b8;
}

/* Search Submit Button */
.search-btn {
    background-color: #3b9b1a;
    color: #ffffff;
    border: none;
    height: 100%;
    padding: 0 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
}

.search-btn:hover {
    opacity: 0.95;
}

.search-btn svg {
    width: 18px;
    height: 18px;
}

/* Trending tags underneath */
.trending-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    /* padding-left: 20px; */
    font-size: 13px;
    line-height: 1.5;
}

.trending-label {
    color: #888888;
    margin-right: 4px;
}

.trending-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.trending-tag {
    color: #555555;
    text-decoration: none;
    transition: color 0.15s ease;
}

.trending-tag:hover {
    color: #3b9b1a;
}

/* ==========================================================================
   4. ICONS & ACTION BUTTONS REDESIGN
   ========================================================================== */
.header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    color: #555555;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.icon-btn:hover {
    background-color: #f1f5f9;
    color: #3b9b1a;
}

.icon-btn svg {
    width: 22px;
    height: 22px;
}

.icon-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #E21111;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
}

/* Notification Dropdown Container */
.notification-dropdown {
    position: relative;
}

.notification-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 320px;
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    padding: 12px;
}

.dropdown-header {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}

.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 240px;
    overflow-y: auto;
}

.noti-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f8fafc;
}

.noti-info {
    flex: 1;
}

.noti-desc {
    font-size: 12.5px;
    color: #334155;
    margin: 0 0 2px 0;
}

.noti-time {
    font-size: 11px;
    color: #94a3b8;
}

.noti-amount {
    font-size: 13px;
    font-weight: 600;
}

.text-success {
    color: #16a34a;
}

.text-danger {
    color: #dc2626;
}

.empty-noti {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    padding: 16px 0;
}

.dropdown-footer {
    margin-top: 8px;
    border-top: 1px solid #f1f5f9;
    padding-top: 8px;
    text-align: center;
}

.dropdown-footer a {
    font-size: 12px;
    font-weight: 600;
    color: #3b9b1a;
    text-decoration: none;
}

.header-icons .guarantee-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #3b9b1a;
    color: #fff;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

/* .header-icons .guarantee-btn:hover {
    background: #fff;
    border: 1px solid #3b9b1a !important;
    color: #3b9b1a !important;
} */

/* Account styling */
.account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #334155;
    transition: color 0.2s ease;
    text-align: left;
    padding-left: 16px;
    border-left: 1px solid #cbd5e1;
}

.account-btn:hover {
    color: #3b9b1a;
}

.account-icon {
    font-size: 26px !important;
    color: #64748b;
    background-color: #f1f5f9;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.account-btn:hover .account-icon {
    color: #3b9b1a;
    background-color: #e8f5ed;
}

.account-icon span {
    font-size: 24px !important;
}

.account-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.hello {
    font-size: 13px;
    color: #888888;
}

.signin {
    font-size: 13px;
    font-weight: 700;
    color: #111111;
}

.account-btn:hover .signin {
    color: #3b9b1a;
}

/* Basket Pill Button */
.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #3b9b1a;
    color: #fff !important;
    border-radius: 9999px;
    padding: 8px 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    position: relative;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 4px 10px rgba(242, 166, 53, 0.2);
}

/* .cart-btn:hover {
    background-color: #fff;
} */

.cart-btn .material-symbols-outlined {
    font-size: 18px !important;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -2px;
    background-color: #3b9b1a;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Mobile actions group wrapper */
.mob-right-group {
    display: none;
}

/* ==========================================================================
   5. DESKTOP MEGA MENU - Nested Flyout Design
   ========================================================================== */
.desktop-nav-menu {
    display: block;
    position: relative;
}

.nav-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 22px;
}

.nav-menu-item {
    position: static;
}

.nav-menu-link {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15uuupx;
    padding: 8px 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu-link.active {
    color: #F7D329;
}

.nav-menu-link:hover,
.nav-menu-link.dropdown-open {
    color: #F7D329;
}

.nav-menu-link .drop-arrow {
    font-size: 16px !important;
    transition: transform 0.2s ease;
}

.nav-menu-link.dropdown-open .drop-arrow {
    transform: rotate(180deg);
}

/* DESKTOP MEGA MENU PANEL - Columns Design */
.desktop-mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.desktop-mega-menu-panel.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-l2-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    padding: 30px 40px;
}

.mega-menu-l2-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    /* padding-bottom: 15px; */
    border-bottom: 1px dashed #e2e8f0;
}

.mega-menu-l2-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 6px;
}

.mega-menu-l2-title:hover {
    color: #3b9b1a;
    /* Hasuka primary green */
    text-decoration: none;
}

.mega-menu-l3-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mega-menu-l3-item {
    font-size: 13.5px;
    font-weight: 400;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
}

.mega-menu-l3-item:hover {
    color: #3b9b1a;
    padding-left: 4px;
    text-decoration: none;
}

/* ==========================================================================
   6. MOBILE SLIDE DRAWER & BACKDROP
   ========================================================================== */
.mobile-drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 9998;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

/* Drawer Header */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.drawer-logo {
    display: flex;
}

.drawer-logo img {
    max-width: 150px;
    width: 100%;
}

.mobile-drawer-close-btn {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}

.mobile-drawer-close-btn span {
    font-size: 24px !important;
}

/* Drawer Navigation Accordion (Level 1, Level 2, Level 3) */
.mobile-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding-bottom: 30px;
}

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

.mobile-accordion-item,
.mobile-accordion-item-link {
    border-bottom: 1px solid #f1f5f9;
}

/* Level 1 Accordion Trigger */
.mobile-accordion-trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mobile-accordion-trigger-row:hover,
.mobile-accordion-trigger-row.accordion-active {
    background-color: #f4f9f5;
}

.accordion-title-link {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    transition: color 0.2s ease;
}

.accordion-title-link:hover {
    color: #E21111;
}

.accordion-toggle-btn,
.accordion-toggle-btn-l2 {
    background: none;
    border: none;
    color: #4a5568;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.accordion-arrow,
.accordion-arrow-l2 {
    transition: transform 0.25s ease;
    font-size: 20px !important;
}

.accordion-arrow.rotated,
.accordion-arrow-l2.rotated {
    transform: rotate(180deg);
    color: #E21111;
}

/* Level 1 Direct Links */
.mobile-direct-link {
    display: block;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-direct-link:hover {
    background-color: #f4f9f5;
    color: #E21111;
}

/* Level 2 Sub-list wrapper */
.mobile-l2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

.mobile-l2-item-promo {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-l2-promo-link {
    display: flex;
    flex-direction: column;
    padding: 12px 24px;
    text-decoration: none;
    background-color: #fef9f3;
}

.mob-promo-tag {
    color: #3b9b1a;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mob-promo-title {
    color: #E21111;
    font-size: 13px;
    font-weight: 800;
}

/* Level 2 Sub-list items */
.mobile-l2-item {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-l2-trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    cursor: pointer;
}

.mobile-l2-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #4a5568;
}

.mobile-l2-trigger-row.active-row .mobile-l2-title {
    color: #E21111;
}

/* Level 3 List wrapper */
.mobile-l3-list {
    list-style: none;
    padding: 4px 0 8px;
    margin: 0;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding-left: 40px;
    padding-right: 10px;
}

.mobile-l3-list li {
    list-style: disc;
}

.mobile-l3-link {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-l3-link:hover {
    color: #E21111;
    background-color: #f4f9f5;
}

.mobile-l3-item {
    border-bottom: 1px solid #f8fafc;
}

.mobile-l3-trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-l3-title {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    padding: 6px 0;
    display: block;
    transition: color 0.2s ease;
}

.mobile-l3-trigger-row.active-row .mobile-l3-title {
    color: #E21111;
}

.accordion-toggle-btn-l3 {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.accordion-arrow-l3 {
    transition: transform 0.25s ease;
    font-size: 18px !important;
}

.accordion-arrow-l3.rotated {
    transform: rotate(180deg);
    color: #E21111;
}

/* Level 4 List wrapper */
.mobile-l4-list {
    list-style: none;
    padding: 4px 0 6px;
    margin: 0;
    padding-left: 15px;
}

.mobile-l4-list li {
    list-style: circle;
}

.mobile-l4-link {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.mobile-l4-link:hover {
    color: #E21111;
}

.mobile-l4-item {
    border-bottom: 1px solid #f8fafc;
}

.mobile-l4-trigger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-l4-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    padding: 5px 0;
    display: block;
    transition: color 0.2s ease;
}

.mobile-l4-trigger-row.active-row .mobile-l4-title {
    color: #E21111;
}

.accordion-toggle-btn-l4 {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 6px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.accordion-arrow-l4 {
    transition: transform 0.25s ease;
    font-size: 16px !important;
}

.accordion-arrow-l4.rotated {
    transform: rotate(180deg);
    color: #E21111;
}

/* Level 5 List wrapper */
.mobile-l5-list {
    list-style: none;
    padding: 4px 0 6px;
    margin: 0;
    padding-left: 15px;
}

.mobile-l5-list li {
    list-style: square;
}

.mobile-l5-link {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: #94a3b8;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.mobile-l5-link:hover {
    color: #E21111;
}

@media screen and (min-width: 1281px) and (max-width: 1600px) {
    .nav-menu-link {
        font-size: 16px;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1450px) {
    .nav-menu-link {
        font-size: 15px;
    }
}

@media screen and (min-width: 1281px) and (max-width: 1350px) {
    .nav-menu-link {
        font-size: 14px;
    }

    .nav-menu-list {
        gap: 18px;
    }
}

/* ==========================================================================
   7. SEARCH POPUP OVERLAY
   ========================================================================== */
.search-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-container {
    background-color: #fff;
    width: 90%;
    max-width: 800px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.search-popup-overlay.active .search-popup-container {
    transform: translateY(0);
}

.close-search-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, color 0.2s;
}

.close-search-btn:hover {
    background-color: #f1f1f1;
    color: #000;
}

.popup-search-form {
    width: 100%;
    margin-top: 10px;
}

.popup-search-input-group {
    display: grid;
    grid-template-columns: 1fr max-content;
    position: relative;
    width: 100%;
    align-items: stretch;
    border: 2px solid #E21111;
    border-radius: 8px;
    overflow: hidden;
}

.search-icon-inside {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 24px;
    pointer-events: none;
}

.popup-search-input {
    flex: 1;
    height: 54px;
    padding: 10px 20px 10px 40px;
    font-size: 16px;
    border: none;
    outline: none;
    color: #333;
    width: 100%;
}

.popup-search-input::placeholder {
    color: #999;
}

.popup-search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    background-color: #E21111;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.popup-search-submit:hover {
    background-color: #3b9b1a;
}

.popup-search-submit .popup-search-icon {
    display: none;
}

.popup-search-submit .popup-search-text {
    display: inline;
}

@media (max-width: 1450px) {
    .header-icons {
        gap: 12px;
    }

    .header-icons .guarantee-btn,
    .cart-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .logo img {
        max-height: 40px;
    }

    .search-form {
        margin: 0;
    }
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (MEDIA QUERIES)
   ========================================================================== */
/* Breakpoint 1: max-width 1280px (Mobile Menu Mode) */
@media screen and (max-width: 1280px) {
    .top-promo-bar {
        padding: 6px 0;
    }

    .top-promo-content {
        justify-content: center;
    }

    .top-promo-right {
        display: none;
    }

    .menu_header {
        display: none !important;
        /* Hide desktop main navigation menu */
    }

    .main-site-header {
        padding: 10px 0 0;
        border-bottom: none;
    }

    /* Hide desktop header icons and search form */
    .main-header .search-form,
    .main-header .header-icons {
        display: none !important;
    }

    /* Adjust layout for mobile view: hamburger left, logo center, mobile actions right */
    .main-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
    }

    .logo {
        display: flex;
        justify-content: flex-start;
    }

    .logo img {
        max-height: 48px;
    }

    .mob-right-group {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 16px;
    }

    .mob-share-btn {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        transition: all 0.2s ease-in-out;
        min-width: 32px;
        height: 32px;
        border-radius: 8px;
        background-color: var(--color-3);
        padding: 3px 6px;
        font-weight: 500;
    }

    /* .mob-share-btn:hover {
        color: #E21111;
        background-color: #e2e8f0;
        transform: scale(1.05);
    } */

    .mob-share-btn span {
        font-size: 20px !important;
    }

    .mob-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 16px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .mob-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: #334155;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Show Mobile Full-Width Search Bar below main header */
    .mobile-secondary-header {
        display: block;
        background-color: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        padding: 10px;
    }

    .mobile-sec-content {
        display: block;
        padding: 0;
        max-width: 100%;
    }

    .mobile-guarantee-btn-inline {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 0 12px;
        background: #F7D329;
        color: #000;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
        font-size: 13px;
        height: 42px;
        white-space: nowrap;
        transition: background 0.3s;
    }

    .mobile-guarantee-btn-inline:hover {
        background: #3b9b1a;
        color: #fff;
    }

    .mobile-guarantee-btn-inline .material-symbols-outlined {
        font-size: 18px;
    }

    @media (max-width: 380px) {
        .mobile-guarantee-btn-inline {
            padding: 0 6px;
            font-size: 11px;
            gap: 2px;
        }

        .mobile-guarantee-btn-inline .material-symbols-outlined {
            font-size: 16px;
        }

        .mobile-sec-content {
            gap: 6px !important;
        }
    }

    .mobile-fullwidth-search {
        display: block;
        width: 100%;
    }

    .mobile-search-form {
        display: flex;
        position: relative;
        width: 100%;
    }

    .mobile-search-input {
        width: 100%;
        height: 42px;
        background-color: #f7fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 8px 48px 8px 16px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s ease, background-color 0.2s ease;
    }

    .mobile-search-input:focus {
        border-color: #3b9b1a;
        background-color: #ffffff;
        box-shadow: 0 0 0 3px rgba(27, 99, 58, 0.1);
    }

    .mobile-search-btn-icon {
        position: absolute;
        right: 4px;
        top: 4px;
        width: 34px;
        height: 34px;
        background-color: #3b9b1a;
        color: #ffffff;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.2s ease;
    }

    .mobile-search-btn-icon:hover {
        opacity: 0.9;
    }

    .mobile-search-btn-icon span {
        font-size: 18px !important;
    }
}

/* Breakpoint 2: max-width 768px (Standard Mobile Screen) */
@media screen and (max-width: 768px) {
    .top-promo-bar {
        display: none;
    }

    .popup-search-submit {
        padding: 0 16px;
    }

    .popup-search-submit .popup-search-text {
        display: none;
    }

    .popup-search-submit .popup-search-icon {
        display: inline-block;
        font-size: 24px;
    }

    .account-icon {
        width: 30px;
        height: 30px;
    }

    .account-icon span {
        font-size: 20px !important;
    }
}

/* Breakpoint 3: max-width 575px (Small Mobile Screen) */
@media screen and (max-width: 575px) {
    .logo img {
        max-height: 35px;
    }

    .mobile-nav-drawer {
        width: 290px;
    }

    .search-popup-container {
        padding: 30px 15px 15px;
    }

    .popup-search-submit {
        padding: 0 12px;
    }
}

/* Breakpoint 4: max-width 380px (Ultra-small Mobile Screen) */
@media screen and (max-width: 380px) {
    .logo img {
        max-height: 30px;
    }

    .mob-share-btn {
        font-size: 11px;
    }

    .mob-right-group {
        gap: 8px;
    }

    .mob-menu-btn {
        width: 20px;
        height: 15px;
    }

    .mob-cart-btn {
        width: 30px;
        height: 30px;
    }

    .mob-cart-btn span {
        font-size: 20px !important;
    }

    .mobile-nav-drawer {
        width: 270px;
    }
}

/* ==========================================================================
   COMBO MENU ITEM HIGHLIGHT & STYLING
   ========================================================================== */
.nav-menu-item.combo {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu-item.combo .nav-menu-link {
    background: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.35);
    gap: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-menu-item.combo .nav-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: combo-shine 3.5s infinite;
}

@keyframes combo-shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.nav-menu-item.combo .nav-menu-link:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 16px rgba(255, 59, 48, 0.5);
    color: #ffffff !important;
}

/* Combo Flame SVG Icon */
.combo-icon {
    width: 18px;
    height: 18px;
    fill: #ffea00;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    animation: combo-fire-pulse 1.6s infinite alternate ease-in-out;
}

@keyframes combo-fire-pulse {
    0% {
        transform: scale(1) rotate(-4deg);
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) brightness(1);
    }

    100% {
        transform: scale(1.15) rotate(4deg);
        filter: drop-shadow(0 2px 6px rgba(255, 234, 0, 0.8)) brightness(1.2);
    }
}

/* Combo HOT Tag Badge */
.combo-badge {
    background: #ffea00;
    color: #cc0000;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: combo-badge-bounce 2s infinite ease-in-out;
}

@keyframes combo-badge-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* Mobile Combo Highlight */
.mobile-accordion-item-link.combo .mobile-direct-link {
    background: linear-gradient(135deg, #ff3b30 0%, #ff9500 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
    box-shadow: 0 3px 10px rgba(255, 59, 48, 0.3);
}

.mobile-accordion-item-link.combo .mobile-direct-link .combo-icon {
    width: 20px;
    height: 20px;
}