/* ==========================================================================
   HEADER MAIN STYLES - ORIGINAL UNTOUCHED HEADER CSS
   ========================================================================== */
.header-main {
    width: 100%;
    position: relative;
    z-index: 999;
}

/* Topbar */
.topbar {
    background-color: #003578;
    color: #fff;
    font-size: 13px;
    padding: 10px 0;
}

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

.topbar-right {
    display: flex;
    gap: 20px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navbar Wrapper */
.navbar-wrapper {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

/* Scroll Animation Sticky */
.is-sticky .navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* Logo */
.logo-link {
    display: block;
}

.logo-img {
    height: 72px;
    max-width: 100%;
}

.logo a {
    display: flex;
}

/* Nav Wrapper (Desktop Flex) */
.nav-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 30px;
}

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

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

.menu-item.has-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.menu-item {
    position: relative;
}

.menu-link {
    color: #003366;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.menu-link .icon-down {
    margin-left: 5px;
}

.has-dropdown>.icon-down,
.has-sub-dropdown>.icon-right {
    cursor: pointer;
    color: #003366;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
}

.has-dropdown>.icon-down:hover,
.has-sub-dropdown>.icon-right:hover {
    color: #0066cc;
}

.menu-link:hover,
.menu-item:hover>.menu-link,
.menu-item.active>.menu-link,
.menu-link.active {
    color: #0066cc;
}

.menu-item.active>.menu-link::after,
.menu-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: max-content;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 2px solid #003366;
}

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

.dropdown-item {
    position: relative;
}

.dropdown-item.has-sub-dropdown {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.dropdown-link {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-link:hover,
.dropdown-item:hover>.dropdown-link {
    background-color: #f5f5f5;
    color: #0066cc;
    padding-left: 25px;
}

.sub-dropdown-menu {
    position: absolute;
    top: -2px;
    left: 100%;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border-top: 2px solid #003366;
}

.dropdown-item:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown-link {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sub-dropdown-link:hover {
    background-color: #f5f5f5;
    color: #0066cc;
    padding-left: 25px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.search-trigger {
    background: none;
    border: none;
    color: #003366;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    padding: 0;
}

.search-trigger:hover {
    color: #0066cc;
}

.search-box {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.search-wrapper.active .search-box {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    padding: 12px 40px 12px 15px;
    font-size: 13px;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #003366;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.search-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1200;
    align-items: flex-start;
    justify-content: center;
}

.search-modal.is-open {
    display: flex;
}

.search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    animation: fadeInBackdrop 0.25s ease;
}

@keyframes fadeInBackdrop {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.search-modal-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 640px;
    margin: 80px 16px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: slideDownModal 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

@keyframes slideDownModal {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.97);
    }

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

.search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.search-modal-label {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-3);
    text-transform: uppercase;
}

.search-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.search-modal-close:hover {
    background: #f0f0f0;
    color: var(--color-3);
}

.search-modal-form {
    padding: 16px 20px 20px;
}

.search-modal-input-wrap {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border: 1.5px solid #e0e6ef;
    border-radius: 50px;
    padding: 0 6px 0 16px;
    height: 52px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-modal-input-wrap:focus-within {
    border-color: var(--color-3);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
    background: #fff;
}

.search-modal-icon {
    color: #fff;
    flex-shrink: 0;
}

.search-modal-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #1a1a1a;
    height: 100%;
    padding: 0;
}

.search-modal-input-wrap input::placeholder {
    color: #aaa;
}

.search-modal-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-3);
    color: #fff;
    border: none;
    border-radius: 40px;
    padding: 0 10px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

.search-modal-btn:hover {
    background: #0055aa;
    transform: scale(1.03);
}

.search-btn-mobile {
    display: none;
    background: none;
    border: none;
    color: var(--color-3);
    cursor: pointer;
    align-items: center;
    padding: 0;
    transition: color 0.3s ease;
}

.search-btn-mobile:hover {
    color: var(--color-3);
}

.right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-box {
    display: flex;
    align-items: center;
}

.cart-link {
    position: relative;
    color: #003366;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff3300;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-toggle {
    display: none;
    cursor: pointer;
    color: #003366;
}

.nav-overlay {
    display: none;
}

@media (max-width: 1200px) {
    .menu-list {
        gap: 15px;
    }

    .nav-wrapper {
        margin: 0 15px;
    }
}

@media (max-width: 1200px) {
    .topbar {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .right-actions {
        gap: 20px;
    }

    .search-btn-mobile {
        display: flex;
    }

    .search-wrapper {
        display: none;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        transform: translateX(-100%);
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: #fff;
        z-index: 1050;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px;
        margin: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .nav-wrapper.is-open {
        transform: translateX(0);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .nav-header-mobile {
        display: flex;
        width: 100%;
        justify-content: flex-end;
        margin-bottom: 10px;
    }

    .nav-close {
        cursor: pointer;
        color: #333;
    }

    .nav-menu {
        width: 100%;
        margin: 0;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .menu-list {
        /* flex-direction: column; */
        gap: 0;
    }

    .menu-link {
        padding: 15px 0;
        justify-content: space-between;
        font-size: 15px;
    }

    .menu-item {
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu,
    .sub-dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding: 0 0 10px 25px;
        border-top: none;
        min-width: 100%;
        transition: none !important;
    }

    .dropdown-link {
        padding: 9px 0;
    }

    .sub-dropdown-link {
        padding: 12px 0;
    }

    .dropdown-item {
        list-style: disc;
    }

    .dropdown-link:hover,
    .dropdown-item:hover>.dropdown-link,
    .sub-dropdown-link:hover {
        padding-left: 0;
        background-color: transparent;
    }

    .has-dropdown>.icon-down,
    .has-sub-dropdown>.icon-right {
        padding: 10px 12px;
        width: 40px;
        height: 40px;
        margin-left: auto;
        color: #003366;
    }

    .has-dropdown>.icon-down.is-open {
        transform: rotate(180deg);
        color: #0066cc;
    }

    .has-sub-dropdown>.icon-right.is-open {
        transform: rotate(90deg);
        color: #0066cc;
    }

    .menu-item.has-dropdown {
        flex-wrap: wrap;
    }

    .menu-item.has-dropdown>.menu-link {
        flex: 1;
    }

    .menu-item.has-dropdown>.dropdown-menu {
        width: 100%;
    }

    .dropdown-item.has-sub-dropdown>.dropdown-link {
        flex: 1;
    }

    .dropdown-item.has-sub-dropdown>.sub-dropdown-menu {
        width: 100%;
    }
}


/* ==========================================================================
   HEADER MAIN NEW STYLES - STRICT 3-COLOR PALETTE (#fff, #000, #f7f7f7)
   ========================================================================== */

.header-main-new {
    width: 100%;
    position: relative;
    z-index: 1000;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.header-main-new .mobile-drawer-header,
.header-main-new .mobile-toggle-btn,
.header-main-new .mobile-toggle-btn-lvl2 {
    display: none;
}

.header-main-new .menu-link-row,
.header-main-new .lvl2-link-row {
    display: flex;
    align-items: center;
    width: 100%;
}

/* ---- Top Announcement Bar ---- */
.header-main-new .header-topbar {
    background-color: #005a8d;
    color: #ffffff;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
}

.header-main-new .topbar-announce {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 30px 0 0;
}

.header-main-new .announce-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.header-main-new .announce-link:hover {
    opacity: 0.8;
    color: #ffffff;
    text-decoration: none;
}

.header-main-new .topbar-close-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #F7f7f7;
    border-radius: 6px;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    outline: none;
}

.header-main-new .topbar-close-btn:hover {
    opacity: 1;
}

/* ---- Navbar Wrapper ---- */
.header-main-new .navbar-wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid #f7f7f7;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.header-main-new .navbar-wrapper .ctnr {
    position: static;
}

/* ---- Affix Sticky Header ---- */
.header-main-new.is-sticky .navbar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: headerSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.header-main-new .navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0;
}

/* ---- Logo ---- */
.header-main-new .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-main-new .logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* ---- Desktop Menu List ---- */
.header-main-new .nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-main-new .menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    gap: 32px;
}

.header-main-new .menu-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: none;
}

.header-main-new .menu-item.has-mega {
    position: static;
}

.header-main-new .menu-link {
    color: #000000;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 4px;
    position: relative;
    text-transform: none;
    transition: color 0.2s ease;
}

.header-main-new .menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transition: background 0.25s ease;
}

.header-main-new .menu-item:hover>.menu-link,
.header-main-new .menu-item.active>.menu-link {
    color: #000000;
}

.header-main-new .menu-item:hover>.menu-link::after,
.header-main-new .menu-item.active>.menu-link::after {
    background: #000000;
}

/* ==========================================================================
   TYPE 1: MEGA MENU (FULL-WIDTH DROPDOWN)
   ========================================================================== */

.header-main-new .mega-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #f7f7f7;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.65s cubic-bezier(0.25, 1, 0.3, 1), opacity 0.45s ease, visibility 0.65s ease;
    z-index: 999;
}

.header-main-new .menu-item.has-mega:hover .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    max-height: 650px;
}

.header-main-new .mega-menu-inner {
    display: flex;
    gap: 36px;
    padding: 28px 0 24px;
    min-height: 360px;
}

.header-main-new .mega-sidebar {
    width: 260px;
    flex-shrink: 0;
    border-right: 1px solid #f7f7f7;
    padding-right: 16px;
}

.header-main-new .mega-lvl2-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.header-main-new .mega-lvl2-item {
    position: relative;
}

.header-main-new .lvl2-link {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    padding: 8px 12px;
    display: block;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-main-new .mega-lvl2-item:hover>.lvl2-link,
.header-main-new .mega-lvl2-item.active>.lvl2-link {
    color: #191919;
    background: #f7f7f7;
}

.header-main-new .mega-lvl3-list {
    list-style: none;
    padding-left: 12px;
    margin: 4px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-main-new .lvl3-link {
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    padding: 6px 12px;
    display: block;
    text-decoration: none;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.header-main-new .mega-lvl3-item:hover>.lvl3-link,
.header-main-new .mega-lvl3-item.active>.lvl3-link {
    color: #000000;
    background: #f7f7f7;
    font-weight: 700;
}

.header-main-new .mega-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.header-main-new .mega-product-tab {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.header-main-new .mega-product-tab.active {
    display: flex;
    animation: megaFade 0.25s ease;
}

@keyframes megaFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

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

.header-main-new .mega-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.header-main-new .mega-prod-card {
    position: relative;
    background: #f7f7f7;
    border-radius: 12px;
    padding: 20px 12px 16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.header-main-new .mega-prod-card:hover {
    background: #f7f7f7;
    transform: translateY(-3px);
    text-decoration: none;
    color: inherit;
}

.header-main-new .prod-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    background: #000000;
    padding: 2px 7px;
    border-radius: 4px;
}

.header-main-new .prod-img-wrap {
    height: 120px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.header-main-new .prod-img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-main-new .mega-prod-card:hover .prod-img-wrap img {
    transform: scale(1.06);
}

.header-main-new .prod-title {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-main-new .mega-footer-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
}

.header-main-new .mega-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f7f7f7;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-main-new .mega-footer-btn:hover {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
}

/* ==========================================================================
   TYPE 2: COMPACT DROPDOWN MENU (FOR NEWS / SUPPORT)
   ========================================================================== */

.header-main-new .compact-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    min-width: 220px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 999;
}

.header-main-new .menu-item.has-compact:hover .compact-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-main-new .compact-dropdown-menu li a {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.header-main-new .compact-dropdown-menu li a:hover {
    background: #f7f7f7;
    color: #000000;
}

/* ---- Right Actions (New Header) ---- */
.header-main-new .right-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-main-new .action-btn {
    background: transparent;
    border: none;
    color: #000000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    position: relative;
    transition: color 0.2s ease;
    text-decoration: none;
}

.header-main-new .action-btn:hover {
    color: #000000;
    text-decoration: none;
}

.header-main-new .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #000000;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 10px;
    padding: 1px 5px;
    line-height: 1.2;
    min-width: 16px;
    text-align: center;
}

.header-main-new .nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #000000;
    cursor: pointer;
    padding: 4px;
}

.header-main-new .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ==========================================================================
   SEARCH MODAL - SLIDE DOWN OVERLAY (MATCHING MOCKUP)
   ========================================================================== */

.header-main-new .search-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    display: block;
}

.header-main-new .search-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header-main-new .search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.header-main-new .search-modal-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    padding: 44px 24px 48px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-main-new .search-modal.is-open .search-modal-content {
    transform: translateY(0);
}

.header-main-new .search-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: none;
    color: #000000;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.header-main-new .search-modal-close:hover {
    background: #f7f7f7;
}

.header-main-new .search-modal-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-main-new .search-modal-form {
    width: 100%;
    margin-bottom: 28px;
    padding: 0;
}

.header-main-new .search-input-box {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 0 20px;
    gap: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-main-new .search-input-box:focus-within {
    border-color: #000000;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.header-main-new .search-box-icon {
    flex-shrink: 0;
    color: #666666;
}

.header-main-new .search-input-box input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #000000;
    font-weight: 500;
}

.header-main-new .search-input-box input::placeholder {
    color: #888888;
}

/* Quick Links Section */
.header-main-new .search-quick-links {
    width: 100%;
    text-align: left;
    padding-left: 8px;
}

.header-main-new .quick-links-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 16px;
}

.header-main-new .quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 30px;
}

.header-main-new .quick-links-list li a {
    font-size: 16px;
    font-weight: 500;
    color: #888888;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.header-main-new .quick-links-list li a:hover {
    color: #000000;
    font-weight: 600;
    padding-left: 4px;
}

/* Responsive Media Queries for New Header */
@media (max-width: 1200px) {
    .header-main-new .nav-overlay {
        display: block;
    }

    .header-main-new .nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header-main-new .nav-toggle {
        display: flex;
    }

    .header-main-new .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        border-bottom: 1px solid #f7f7f7;
        margin-bottom: 8px;
    }

    .header-main-new .mobile-drawer-logo {
        display: flex;
        align-items: center;
    }

    .header-main-new .mobile-logo-img {
        height: 36px;
        width: auto;
        object-fit: contain;
    }

    .header-main-new .mobile-drawer-close {
        background: transparent;
        border: none;
        color: #000000;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-main-new .nav-menu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        z-index: 1100;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 0 24px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .header-main-new .nav-menu.mobile-open {
        left: 0;
    }

    .header-main-new .menu-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
        height: auto;
        padding: 0 16px;
    }

    .header-main-new .menu-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        border-bottom: 1px solid #f7f7f7;
    }

    .header-main-new .menu-link-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 12px 0;
    }

    .header-main-new .menu-link {
        font-size: 14px;
        font-weight: 700;
        color: #000000;
        text-transform: uppercase;
        padding: 0;
        height: auto;
    }

    /* Reset PC hover/active effects on mobile */
    .header-main-new .menu-link::after {
        display: none !important;
    }

    .header-main-new .menu-item:hover>.menu-link,
    .header-main-new .menu-item.active>.menu-link {
        color: #000000;
    }

    .header-main-new .menu-item:hover>.menu-link::after,
    .header-main-new .menu-item.active>.menu-link::after {
        background: transparent !important;
        display: none !important;
    }

    .header-main-new .menu-item.has-mega:hover .mega-menu-panel,
    .header-main-new .menu-item.has-compact:hover .compact-dropdown-menu {
        opacity: initial;
        visibility: initial;
        pointer-events: initial;
        max-height: initial;
        transform: none;
    }

    .header-main-new .mega-lvl2-item:hover>.lvl2-link,
    .header-main-new .mega-lvl2-item.active>.lvl2-link,
    .header-main-new .mega-lvl3-item:hover>.lvl3-link,
    .header-main-new .mega-lvl3-item.active>.lvl3-link,
    .header-main-new .compact-dropdown-menu li a:hover {
        background: transparent !important;
        color: #000000;
        font-weight: 600;
    }

    .header-main-new .mobile-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: #f7f7f7;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        color: #000000;
        transition: background 0.2s, color 0.2s;
        flex-shrink: 0;
    }

    .header-main-new .mobile-toggle-btn.is-open {
        background: #000000;
        color: #ffffff;
    }

    .header-main-new .compact-dropdown-menu li a {
        padding: 4px 20px;
    }

    .header-main-new .mobile-toggle-btn.is-open .line-v {
        display: none;
    }

    /* Level 2 Submenu Mobile */
    .header-main-new .mega-menu-panel,
    .header-main-new .compact-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        padding: 4px 0 12px 12px;
        border-top: none;
        max-height: none;
        overflow: visible;
        transition: unset;
        transform: translateY(0);
    }

    .header-main-new .mega-menu-inner {
        flex-direction: column;
        gap: 8px;
        padding: 0;
        min-height: unset;
    }

    .header-main-new .mega-sidebar {
        width: 100%;
        border-right: none;
        padding-right: 0;
    }

    .header-main-new .mega-lvl2-list {
        gap: 2px;
    }

    .header-main-new .mega-lvl2-item {
        width: 100%;
    }

    .header-main-new .lvl2-link-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 6px 0;
    }

    .header-main-new .lvl2-link {
        font-size: 14px;
        font-weight: 600;
        color: #000000;
        padding: 4px 0;
    }

    .header-main-new .mobile-toggle-btn-lvl2 {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: #f7f7f7;
        border-radius: 6px;
        border: none;
        cursor: pointer;
        color: #000000;
        transition: background 0.2s, color 0.2s;
        flex-shrink: 0;
    }

    .header-main-new .mobile-toggle-btn-lvl2.is-open {
        background: #000000;
        color: #ffffff;
    }

    .header-main-new .mobile-toggle-btn-lvl2.is-open .line-v {
        display: none;
    }

    /* Level 3 Submenu Mobile */
    .header-main-new .mega-lvl3-list {
        display: none;
        padding-left: 14px;
        margin: 4px 0 8px;
        border-left: 2px solid #000000;
    }

    .header-main-new .lvl3-link {
        font-size: 13px;
        font-weight: 500;
        color: #000000;
        padding: 6px 0;
    }

    .header-main-new .mega-content {
        display: none;
    }
}

.home-vat-banner {
    background: #f7f7f7;
    border-bottom: 1px solid #d0d7de;
    padding: 8px 0;
    font-size: 13px;
    color: #333;
}

.vat-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.vat-banner-text {
    flex: 1;
    text-align: center;
    line-height: 1.4;
}

.vat-banner-link {
    color: #d97706;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.vat-banner-link:hover {
    color: #b45309;
}

.vat-banner-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.vat-banner-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

@media (max-width: 768px) {
    .home-vat-banner {
        font-size: 12px;
        padding: 6px 0;
    }

    .vat-banner-text {
        text-align: left;
    }
}