:root {
    --header-surface-bg: linear-gradient(135deg, #410004 0%, #680d14 50%, #8b1820 100%);
    --header-nav-color: #ffffff;
    --header-nav-hover: #f7dca1;
    --header-nav-active: #ffd166;
    --header-badge-bg: #e63946;
    --header-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Top Bar Khuyến Mãi
   ========================================================================== */
.site-topbar {
    width: 100%;
    background-color: #fbf2e4;
    border-bottom: 1px solid #f0dec7;
    padding: 8px 0;
    font-family: var(--header-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
    position: relative;
    /* z-index: 1001; */
}

.site-topbar .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
    text-align: center;
}

.site-topbar .topbar-message {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4a1418;
    font-size: 13.5px;
    line-height: 1.45;
}

.site-topbar .topbar-icon {
    color: #8b1820;
    flex-shrink: 0;
    margin-right: 3px;
    transform: translateY(2px);
}

.site-topbar .topbar-text {
    letter-spacing: 0.1px;
}

.site-topbar .topbar-highlight {
    color: #380a0e;
    font-weight: 700;
}

.site-topbar .topbar-discount {
    color: #b81e28;
    font-weight: 700;
}

.site-topbar .topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #8b1820;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    padding: 6px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(139, 24, 32, 0.2);
    cursor: pointer;
}

.site-topbar .topbar-cta:hover {
    background-color: #680d14;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(104, 13, 20, 0.35);
}

.site-topbar .topbar-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.site-topbar .topbar-cta:hover .topbar-arrow {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .site-topbar {
        padding: 7px 0;
    }

    .site-topbar .topbar-inner {
        gap: 8px 16px;
    }

    .site-topbar .topbar-message {
        font-size: 13px;
    }

    .site-topbar .topbar-cta {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 768px) {
    .site-topbar {
        padding: 7px 0 8px;
    }

    .site-topbar .topbar-inner {
        flex-direction: column;
        gap: 6px;
    }

    .site-topbar .topbar-message {
        font-size: 12.5px;
        line-height: 1.4;
    }

    .site-topbar .topbar-cta {
        font-size: 11.5px;
        padding: 4px 12px;
    }
}

@media (max-width: 480px) {
    .site-topbar .topbar-icon {
        width: 14px;
        height: 14px;
    }

    .site-topbar .topbar-message {
        font-size: 11.5px;
    }
}

/* ==========================================================================
   Header Base & Layout
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--header-surface-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Logo */
.header-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: clamp(48px, 5.2vw, 54px);
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* Right Side Wrapper */
.header-right {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.8vw, 25px);
}

/* ==========================================================================
   Desktop Navigation
   ========================================================================== */
.header-nav {
    display: block;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 25px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--header-font);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    /* letter-spacing: 0.4px; */
    color: var(--header-nav-color);
    text-decoration: none;
    padding: 10px 2px;
    transition: color 0.25s ease;
}

.nav-item:hover>.nav-link {
    color: var(--header-nav-hover);
}

.nav-item.active>.nav-link {
    color: var(--header-nav-active);
}

.nav-arrow {
    width: 11px;
    height: 11px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.25s ease;
}

.nav-item.has-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(74, 21, 37, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 1010;
    border: 1px solid rgba(74, 48, 41, 0.08);
}

/* Hover bridge */
.nav-dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-item.has-dropdown:hover>.nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

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

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-family: var(--header-font);
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-link:hover,
.dropdown-item.active>.dropdown-link {
    color: #8b1820;
    background: #FAF6EF;
    border-left-color: #8b1820;
    padding-left: 24px;
}

/* ==========================================================================
   Header Actions (Cart & Search)
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================================================
   Header Promo Deal Pill Button
   - Pill shape (border-radius: 9999px)
   - Snake chasing border in #ffd166 (conic-gradient rotation)
   - Sparkling & glowing effects
   - Hover sweep light streak
   ========================================================================== */
.header-promo-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 2px;
    overflow: hidden;
    text-decoration: none !important;
    background: rgba(255, 209, 102, 0.22);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.35), 0 0 20px rgba(255, 209, 102, 0.15);
    animation: promoPillGlow 2.5s ease-in-out infinite;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    flex-shrink: 0;
    cursor: pointer;
}

@keyframes promoPillGlow {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(255, 209, 102, 0.35), 0 0 16px rgba(255, 209, 102, 0.15);
    }

    50% {
        box-shadow: 0 0 16px rgba(255, 209, 102, 0.75), 0 0 30px rgba(255, 209, 102, 0.35);
    }
}

.header-promo-pill:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 22px rgba(255, 209, 102, 0.9), 0 0 40px rgba(255, 209, 102, 0.5);
}

.header-promo-pill:active {
    transform: translateY(0) scale(0.98);
}

/* Snake Running Border Effect */
.header-promo-pill__snake {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380%;
    height: 850%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg,
            transparent 0deg,
            transparent 240deg,
            rgba(255, 209, 102, 0.2) 270deg,
            rgba(255, 209, 102, 0.6) 310deg,
            #ffd166 345deg,
            #ffffff 360deg);
    animation: snakeBorderRotate 2.6s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes snakeBorderRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Inner Pill Surface */
.header-promo-pill__inner {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #3d0004 0%, #5a0912 50%, #2b0003 100%);
    color: #ffd166 !important;
    font-family: var(--header-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(255, 209, 102, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease;
}

.header-promo-pill:hover .header-promo-pill__inner {
    background: linear-gradient(135deg, #4d0006 0%, #6e0d16 50%, #3a0005 100%);
}

/* Hover Sweep Light Streak */
.header-promo-pill__inner::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -140%;
    width: 65%;
    height: 220%;
    background: linear-gradient(115deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 15%,
            rgba(255, 255, 255, 0.95) 50%,
            rgba(255, 209, 102, 0.85) 60%,
            transparent 85%);
    transform: rotate(25deg);
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: none;
}

.header-promo-pill:hover .header-promo-pill__inner::after {
    left: 190%;
    opacity: 1;
    transition: left 0.85s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

/* Sparkling Star Icons */
.header-promo-pill__sparkle {
    width: 15px;
    height: 15px;
    color: #ffd166;
    animation: sparkleTwinkle 2s ease-in-out infinite;
    flex-shrink: 0;
}

.header-promo-pill__sparkle-mini {
    width: 10px;
    height: 10px;
    color: #fff8e0;
    animation: sparkleTwinkle 2s ease-in-out infinite 1s;
    flex-shrink: 0;
}

@keyframes sparkleTwinkle {

    0%,
    100% {
        transform: scale(0.85) rotate(0deg);
        opacity: 0.8;
        filter: drop-shadow(0 0 2px #ffd166);
    }

    50% {
        transform: scale(1.3) rotate(25deg);
        opacity: 1;
        filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 10px #ffd166);
    }
}

/* Lóe sáng text (Gleaming Shimmer) */
.header-promo-pill__text {
    background: linear-gradient(90deg, #ffd166 0%, #fffbf0 30%, #ffffff 50%, #fffbf0 70%, #ffd166 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: promoTextLustre 4s linear infinite;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: none;
}

@keyframes promoTextLustre {
    0% {
        background-position: 250% center;
    }

    100% {
        background-position: -50% center;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .header-promo-pill__inner {
        padding: 6px 13px;
        font-size: 12px;
        gap: 6px;
    }

    .header-promo-pill__sparkle-mini {
        display: none;
    }

    .header-promo-pill__sparkle {
        width: 13px;
        height: 13px;
    }
}

@media (max-width: 380px) {
    .header-promo-pill__inner {
        padding: 5px 10px;
        font-size: 11px;
        gap: 4px;
    }
}

/* ==========================================================================
   Header Hotline Button
   ========================================================================== */
.header-hotline {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 6px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 209, 102, 0.5);
    text-decoration: none !important;
    color: #ffffff !important;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-hotline:hover {
    /* background: rgba(255, 255, 255, 0.2); */
    /* border-color: #ffd166; */
    /* transform: translateY(-2px); */
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), 0 0 12px rgba(255, 209, 102, 0.4); */
}

.header-hotline__icon-wrap {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd166 0%, #f4b41a 100%);
    color: #5a0912;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(255, 209, 102, 0.6);
    animation: phonePulse 2.4s infinite ease-in-out;
}

.header-hotline__icon {
    width: 14px;
    height: 14px;
    animation: phoneRing 2.4s infinite ease-in-out;
}

@keyframes phoneRing {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    10%,
    30% {
        transform: rotate(-14deg) scale(1.1);
    }

    20%,
    40% {
        transform: rotate(14deg) scale(1.1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes phonePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 209, 102, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255, 209, 102, 0);
    }
}

.header-hotline__content {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--header-font);
    line-height: 1;
}

.header-hotline__label {
    font-size: 11.5px;
    color: #ffd166;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-hotline__number {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.header-hotline:hover .header-hotline__number {
    color: #ffd166;
}

/* Mobile Drawer Footer Hotline Styling */
.header-hotline--mobile {
    width: 100%;
    justify-content: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #410004 0%, #680d14 100%);
    border: 1.5px solid rgba(255, 209, 102, 0.45);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-hotline--mobile .header-hotline__number {
    font-size: 14px;
}

/* Cart Button */
.action-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.action-cart:hover {
    transform: scale(1.1);
    color: var(--header-nav-hover);
}

.action-cart .cart-count {
    position: absolute;
    top: -4px;
    right: -8px;
    background: var(--header-badge-bg);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    font-family: sans-serif;
    min-width: 17px;
    height: 17px;
    padding: 0 3px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1.5px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Search Wrapper & Toggle */
.search-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.search-toggle-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #ffffff;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
}

.search-toggle-btn:hover {
    transform: scale(1.1);
    color: var(--header-nav-hover);
}

/* Search Dropdown Popup */
.search-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    min-width: 290px;
    background: #ffffff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 12px 32px rgba(74, 21, 37, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1020;
    border: 1px solid rgba(74, 48, 41, 0.08);
}

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

.search-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(74, 48, 41, 0.08);
    border-top: 1px solid rgba(74, 48, 41, 0.08);
}

#search-form {
    display: flex;
    align-items: center;
    background: #FAF7F2;
    border: 1.5px solid #E5D8C5;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#search-form:focus-within {
    border-color: #8b1820;
    box-shadow: 0 0 0 3px rgba(139, 24, 32, 0.15);
    background: #ffffff;
}

#search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 12px;
    font-size: 14px;
    font-family: var(--header-font);
    color: #333333;
    min-width: 0;
}

.search-btn {
    background: #8b1820;
    color: #ffffff;
    border: none;
    padding: 11px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.search-btn:hover {
    background: #680d14;
}

/* ==========================================================================
   Mobile Toggle Button & Drawer
   ========================================================================== */
.mobile-toggle-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    justify-content: center;
    align-items: center;
}

.toggle-bar {
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
}

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

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    z-index: 1050;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

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

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: var(--header-surface-bg);
}

.mobile-drawer-title {
    font-family: var(--header-font);
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-search {
    padding: 16px 20px;
    border-bottom: 1px solid #F0EAE1;
}

.mobile-drawer-search form {
    display: flex;
    align-items: center;
    background: #FAF7F2;
    border: 1.5px solid #E5D8C5;
    border-radius: 6px;
    overflow: hidden;
}

.mobile-drawer-search input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 9px 12px;
    font-size: 14px;
    font-family: var(--header-font);
    min-width: 0;
}

.mobile-drawer-search button {
    background: #8b1820;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
}

.mobile-nav-item {
    border-bottom: 1px solid #F8F5EF;
}

.mobile-nav-link {
    display: block;
    padding: 14px 20px;
    font-family: var(--header-font);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #8b1820;
}

.mobile-nav-item.active>.mobile-nav-link,
.mobile-nav-item.active>.mobile-nav-row>.mobile-nav-link {
    color: #8b1820;
}

.mobile-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-row .mobile-nav-link {
    flex: 1;
}

.mobile-dropdown-btn {
    background: none;
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    color: #555555;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.mobile-nav-item.open .mobile-dropdown-btn {
    transform: rotate(180deg);
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #FAF7F2;
    display: none;
}

.mobile-nav-item.open .mobile-submenu {
    display: block;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 34px;
    font-family: var(--header-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #444444;
    text-decoration: none;
    border-left: 3px solid transparent;
}

.mobile-submenu li a:hover {
    color: #8b1820;
    border-left-color: #8b1820;
    background: #F3ECE1;
}

/* Mobile Drawer Footer (Góc dưới cùng Menu Mobile) */
.mobile-drawer-footer {
    margin-top: auto;
    padding: 16px 20px 16px;
    border-top: 1px solid #F0EAE1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    position: sticky;
    bottom: 0;
    z-index: 10;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.05);
}

.mobile-drawer-footer .header-promo-pill {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.mobile-drawer-footer .header-promo-pill__inner {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13.5px;
}

@media (max-width: 1400px) {
    .nav-link {
        font-size: 12px;
    }

    .nav-list {
        gap: clamp(14px, 1.8vw, 13px);
    }

    .header-right {
        gap: clamp(18px, 2.8vw, 18px);
    }

    .site-logo {
        height: clamp(48px, 5.2vw, 48px);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .header-nav {
        display: none;
    }

    .mobile-toggle-btn {
        display: inline-flex;
    }

    /* Ẩn nút ưu đãi trên thanh header khi ở mobile/tablet, chuyển vào trong menu mobile */
    .header-actions .header-promo-pill,
    .header-actions .header-hotline {
        display: none !important;
    }

    .header-actions .header-hotline {
        padding: 4px 13px 4px 5px;
    }
}

@media (max-width: 768px) {
    .header-actions .header-hotline {
        padding: 4px 11px 4px 4px;
        gap: 6px;
    }

    .header-actions .header-hotline__icon-wrap {
        width: 26px;
        height: 26px;
    }

    .header-actions .header-hotline__number {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-dropdown {
        min-width: 250px;
        right: -10px;
    }

    /* Trên màn hình nhỏ, ẩn nhãn 'Hotline:' chỉ để icon + số điện thoại gọn gàng */
    .header-actions .header-hotline__label {
        display: none;
    }

    .header-actions .header-hotline {
        padding: 3px 9px 3px 3px;
        gap: 5px;
    }

    .header-actions .header-hotline__icon-wrap {
        width: 24px;
        height: 24px;
    }

    .header-actions .header-hotline__icon {
        width: 12px;
        height: 12px;
    }

    .header-actions .header-hotline__number {
        font-size: 12.5px;
    }
}

@media (max-width: 360px) {
    .header-actions .header-hotline {
        padding: 2px 7px 2px 2px;
        gap: 4px;
    }

    .header-actions .header-hotline__number {
        font-size: 11.5px;
    }
}

/* ==========================================================================
   Non-header Utilities (Preserved for compatibility across pages)
   ========================================================================== */
.blog-card-img img {
    width: 100%;
    height: auto;
    max-height: 350px !important;
    display: block;
    transition: transform 0.3s ease;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
}


.corporate-title {
    font-size: clamp(30px, 3.125vw, 40px) !important;
    text-align: center !important;
}