.site-header {
    height: 164px;
    padding-top: 48px;
    background: var(--gradient);
    color: white;
}

.home-header {
    height: 176px;
    padding: 0;
}

.catalog-page .site-header:not(.compact-header) {
    height: 108px;
}

.eyewear-page .site-header:not(.compact-header) {
    height: 134px;
}

.brand-top {
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none !important;
    user-select: none;
    -webkit-user-select: none;
}

.brand-top,
.brand-top:hover,
.brand-top:focus,
.brand-top:active {
    opacity: 1 !important;
    background: transparent !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.brand-top img {
    width: 235px;
    mix-blend-mode: screen;
    filter: invert(1) contrast(2) brightness(1);
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition: filter 0.25s ease;
}

/* Chỉ áp dụng hiệu ứng chuyển động nhấc nhẹ trên Desktop có chuột */
@media (hover: hover) and (pointer: fine) {
    .brand-top img {
        transition: transform 0.25s ease, filter 0.25s ease;
    }

    .brand-top:hover img {
        filter: invert(1) contrast(2) brightness(0.92);
        transform: translateY(-2px) scale(1.03);
    }
}

/* Chặn triệt để hiệu ứng hover/transform trên điện thoại cảm ứng để tránh vỡ mix-blend-mode */
@media (hover: none) {
    .brand-top,
    .brand-top:hover,
    .brand-top:focus,
    .brand-top:active {
        -webkit-tap-highlight-color: transparent !important;
    }

    .brand-top img,
    .brand-top:hover img,
    .brand-top:focus img,
    .brand-top:active img {
        transform: none !important;
        filter: invert(1) contrast(2) brightness(1) !important;
    }
}

.nav-bar {
    border-top: 1px solid #ffffffb3;
    border-bottom: 1px solid #ffffffb3;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 17px 3.5%;
    height: 64px;
}

.nav-bar nav {
    display: flex;
    gap: 30px;
    flex: 1;
    align-items: center;
    justify-content: space-between;
}

.nav-item {
    position: relative;
    white-space: nowrap;
    font-size: 17px;
}

.drawer-top-bar,
.drawer-footer,
.menu-backdrop,
.submenu-toggle {
    display: none !important;
}

.drawer-body,
.nav-item-link-row {
    display: contents;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    padding-top: 21px;
    left: -12px;
    min-width: 250px;
    z-index: 20;
    color: #111;
}

.dropdown a {
    display: block;
    padding: 22px;
    background: #fff;
    border: 1px solid #333;
    text-align: center;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    display: block;
}

/* Khối Tài khoản Desktop — mặc định ẩn, chỉ hiện trên ≥992px */
.account-item,
.desktop-only {
    display: none !important;
}

@media (min-width: 992px) {

    .account-item,
    .desktop-only {
        display: inline-flex !important;
        position: relative;
        white-space: nowrap;
        align-items: center;
    }
}

.account-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start;
    flex-wrap: nowrap !important;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    line-height: 1;
}

.account-link:hover,
.account-link:focus-visible {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
    transform: translateY(-1px);
}

.compact-header .account-link {
    height: 38px;
    padding: 0 16px;
    font-size: 14.5px;
    border-radius: 12px;
    border: 1px solid #ffffff70;
}

.account-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: block;
    align-self: center;
}

.account-link span {
    display: block;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    align-self: center;
}

/* Dropdown Menu Tài khoản */
.account-dropdown,
.compact-header .account-dropdown {
    position: absolute;
    top: 100%;
    right: 0 !important;
    left: auto !important;
    transform: none !important;
    min-width: 170px !important;
    width: max-content;
    max-width: 195px;
    padding-top: 10px !important;
    filter: none !important;
    z-index: 100;
}

.account-dropdown-inner {
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 3px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.account-dropdown-inner a,
.account-dropdown-inner .dropdown-logout-btn,
.compact-header .account-dropdown a,
.compact-header .account-dropdown .dropdown-logout-btn {
    display: block;
    width: 100%;
    padding: 12px 18px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    text-decoration: none;
    font-size: 14.5px !important;
    font-weight: 500;
    text-align: left !important;
    border: none !important;
    border-bottom: 1px solid #f3f4f6 !important;
    border-radius: 0 !important;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    box-sizing: border-box;
    white-space: nowrap;
}

.account-dropdown-inner a:hover,
.account-dropdown-inner .dropdown-logout-btn:hover,
.compact-header .account-dropdown a:hover,
.compact-header .account-dropdown .dropdown-logout-btn:hover {
    background: #fff5f2 !important;
    color: #ba3815 !important;
}

.account-dropdown-inner .dropdown-logout-btn,
.compact-header .account-dropdown .dropdown-logout-btn {
    color: #ba3815 !important;
    font-weight: 600 !important;
}

.account-dropdown-inner a:last-child,
.account-dropdown-inner form:last-child .dropdown-logout-btn,
.compact-header .account-dropdown a:last-child,
.compact-header .account-dropdown form:last-child .dropdown-logout-btn {
    border-bottom: none !important;
}

.logout-form {
    margin: 0;
}

.mobile-auth-item {
    display: none !important;
}

.cart-link {
    white-space: nowrap;
    font-size: 17px;
}

.cart-badge {
    display: inline-flex;
    width: 25px;
    height: 25px;
    background: #080808;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.search {
    position: relative;
    width: 160px;
    flex-shrink: 0;
    background: white;
    color: #111;
}

.search input:not([type=checkbox]) {
    border: 0;
    padding: 7px 40px 7px 8px;
    height: 34px;
}

.search button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    border: 0;
    width: 28px;
    height: 25px;
    padding: 0;
}

.search svg {
    width: 25px;
    height: 25px;
}

/* Autocomplete Dropdown */
.search-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 380px;
    max-width: 90vw;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.18), 0 6px 16px -2px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    overflow: hidden;
    color: #1f2937;
    animation: searchDropdownFade 0.18s ease-out;
}

@keyframes searchDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

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

.search-autocomplete-content {
    max-height: 420px;
    overflow-y: auto;
}

.search-group {
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.search-group:last-of-type {
    border-bottom: 0;
}

.search-group-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    padding: 6px 14px 4px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.search-item:hover,
.search-item.is-selected {
    background-color: #f9fafb;
}

.search-item-thumb {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
    flex-shrink: 0;
}

.search-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.search-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.search-item-badge {
    background: #f3f4f6;
    color: #4b5563;
    font-size: 10px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
}

.search-item-price {
    color: #ba3815;
    font-weight: 600;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 11px 14px;
    background: #fdfdfd;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
    font-weight: 600;
    color: #ba3815;
    text-decoration: none;
    transition: background 0.15s ease;
}

.search-view-all:hover {
    background: #fef2ee;
}

.search-empty {
    padding: 24px 16px;
    text-align: center;
    color: #6b7280;
}

.search-empty p {
    font-size: 13px;
    color: #374151;
    margin-bottom: 4px;
}

.search-empty small {
    font-size: 11px;
    color: #9ca3af;
}

.search-loading {
    padding: 36px 16px;
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 120px;
}

.search-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f4f6;
    border-top-color: #ba3815;
    border-radius: 50%;
    animation: searchSpin 0.7s linear infinite;
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg);
    }
}

.menu-toggle {
    display: none;
}

.site-header.compact-header {
    position: sticky;
    top: -76px;
    z-index: 100;
    height: auto;
    padding-top: 0;
}

.compact-header .brand-top {
    height: 76px;
}

.compact-header .brand-top img {
    width: 180px;
    max-height: 62px;
    object-fit: contain;
}

.compact-header .nav-bar {
    height: 62px;
    padding: 10px 3%;
    gap: 22px;
    background: var(--gradient);
    border-color: rgb(255 255 255 / 45%);
}

.compact-header .nav-bar nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    min-width: 0;
}

.compact-header .nav-item {
    font-size: clamp(13px, 1.15vw, 20px);
    text-align: center;
}

.compact-header .nav-item>a {
    display: block;
    padding: 9px 5px;
    border-radius: 12px;
}

.compact-header .nav-item>a:hover,
.compact-header .nav-item>a:focus-visible {
    background: rgb(255 255 255 / 12%);
}

.compact-header .dropdown {
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 12px;
    min-width: 235px;
    filter: drop-shadow(0 8px 12px #0002);
}

.compact-header .dropdown a {
    padding: 14px 18px;
    border: 0;
    border-bottom: 1px solid #e5ddd7;
    font-size: 16px;
    text-align: left;
    background: #fff;
}

.compact-header .dropdown a:first-child {
    border-radius: 14px 14px 0 0;
}

.compact-header .dropdown a:last-child {
    border-radius: 0 0 14px 14px;
    border-bottom: 0;
}

.compact-header .dropdown a:only-child {
    border-radius: 14px;
}

.compact-header .dropdown a:hover,
.compact-header .dropdown a:focus-visible {
    background: #fff3e9;
    color: var(--orange);
    opacity: 1;
}

.compact-header .cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(13px, 1.05vw, 18px);
    padding: 7px 12px;
    border: 1px solid #ffffff70;
    border-radius: 12px;
}

.compact-header .cart-badge {
    margin: 0;
    width: 23px;
    height: 23px;
    font-size: 15px;
}

.compact-header .search {
    position: relative;
    width: 160px;
    border-radius: 12px;
    overflow: visible;
    border: 1px solid #ffffff70;
}

.compact-header .search input:not([type=checkbox]) {
    height: 36px;
    padding-left: 12px;
    padding-right: 38px;
    border-radius: 12px;
}

.compact-header .search button {
    right: 8px;
    top: 7px;
    width: 22px;
    height: 22px;
}

.compact-header .search svg {
    width: 22px;
    height: 22px;
}

@media(min-width: 1600px) {

    .nav-item,
    .cart-link {
        font-size: 22px;
    }

    .search,
    .compact-header .search {
        width: 180px;
    }

    .nav-bar {
        height: 80px;
    }

    .site-header {
        height: 200px;
    }

    .catalog-page .site-header:not(.compact-header) {
        height: 128px;
    }

    .home-header {
        height: 230px;
    }

    .brand-top {
        height: 150px;
    }

    .home-header .nav-bar {
        height: 80px;
    }

    .site-header.compact-header {
        top: -90px;
    }

    .compact-header .brand-top {
        height: 90px;
    }

    .compact-header .brand-top img {
        width: 210px;
        max-height: 70px;
    }

    .compact-header .nav-bar {
        height: 68px;
    }
}

@media(min-width: 768px) and (max-width: 1199px) {
    .nav-bar {
        gap: 15px;
        padding-left: 3%;
        padding-right: 3%;
    }

    .nav-item,
    .cart-link {
        font-size: 13px;
    }

    .nav-bar nav {
        gap: 15px;
    }

    .search {
        width: 150px;
    }

    .compact-header .nav-bar {
        gap: 10px;
        padding-left: 2%;
        padding-right: 2%;
    }

    .compact-header .nav-bar nav {
        gap: 16px;
    }

    .compact-header .nav-item {
        font-size: 11px;
    }

    .compact-header .cart-link {
        font-size: 11px;
        padding: 6px 8px;
        gap: 4px;
    }

    .compact-header .search {
        width: 130px;
    }

    .compact-header .search input:not([type=checkbox]) {
        padding: 6px 32px 6px 8px;
        font-size: 12.5px;
    }
}



@media(max-width: 767px) {

    .site-header:not(.compact-header),
    .catalog-page .site-header:not(.compact-header),
    .eyewear-page .site-header:not(.compact-header) {
        height: 105px;
        padding-top: 25px;
    }

    .nav-bar {
        height: 60px;
        gap: 12px;
        position: relative;
    }

    .menu-toggle {
        display: block;
        border: 0;
        background: none;
        color: white;
        font-size: 25px;
        padding: 0;
    }

    /* Lock body scroll when mobile menu is open */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open .site-header,
    body.menu-open .compact-header {
        z-index: 99999 !important;
    }

    /* Menu Backdrop: lớp phủ đen mờ phía sau drawer, che toàn màn hình để chống click xuyên */
    .menu-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.55) !important;
        backdrop-filter: blur(2px) !important;
        -webkit-backdrop-filter: blur(2px) !important;
        z-index: 99990 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: opacity 0.25s ease, visibility 0.25s ease !important;
    }

    .menu-backdrop.open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Off-canvas Drawer Navigation (Dùng đúng màu #a52d0c gốc) */
    .nav-bar nav,
    .compact-header .nav-bar nav {
        display: flex !important;
        flex-direction: column;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 280px !important;
        max-width: 80vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #a52d0c !important;
        box-shadow: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 99999 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        /* nav itself no scroll — body handles it */
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), visibility 0.28s;
        border: none !important;
    }

    .nav-bar nav.open,
    .compact-header .nav-bar nav.open {
        transform: translateX(0);
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.4) !important;
    }

    /* Drawer Top Bar */
    .drawer-top-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        background: rgba(0, 0, 0, 0.12) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
        flex-shrink: 0;
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .drawer-brand {
        font-size: 19px !important;
        font-weight: 800 !important;
        letter-spacing: 0.08em !important;
        color: #ffffff !important;
    }

    .drawer-close {
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 22px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        padding: 4px 8px !important;
        opacity: 0.9;
        transition: opacity 0.2s;
    }

    .drawer-close:active {
        opacity: 1;
    }

    /* Drawer Body — cuộn được khi menu con mở */
    .drawer-body {
        display: flex !important;
        flex-direction: column !important;
        flex: 1 !important;
        width: 100% !important;
        padding: 0 0 24px 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    /* Menu Item Row: phẳng, full-width mép sang mép */
    .nav-bar .nav-item,
    .compact-header .nav-item {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        background: transparent !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }

    .nav-item-link-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .nav-item-link-row>a,
    .compact-header .nav-item>a {
        display: block !important;
        flex: 1 !important;
        padding: 14px 18px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.04em !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
    }

    .nav-item-link-row>a:active {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    /* Chevron Toggle */
    .submenu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 48px !important;
        height: 48px !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        cursor: pointer !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        opacity: 0.9;
    }

    .submenu-toggle .chevron-icon {
        width: 18px !important;
        height: 18px !important;
        stroke: #ffffff !important;
        transition: transform 0.24s ease !important;
    }

    .nav-item.open .submenu-toggle .chevron-icon {
        transform: rotate(180deg) !important;
    }

    /* Submenu Accordion: phẳng, full-width, nền tương phản rõ, chữ nét và dễ đọc */
    .nav-bar .dropdown,
    .compact-header .dropdown {
        display: none !important;
        position: static !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.22) !important;
        border: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
        box-shadow: none !important;
        filter: none !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .nav-item.open .dropdown {
        display: block !important;
    }

    .nav-bar .dropdown a,
    .compact-header .dropdown a {
        display: block !important;
        width: 100% !important;
        padding: 13px 20px 13px 32px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 0.015em !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }

    .nav-bar .dropdown a:last-child,
    .compact-header .dropdown a:last-child {
        border-bottom: none !important;
    }

    .nav-bar .dropdown a:active,
    .compact-header .dropdown a:active {
        background: rgba(255, 255, 255, 0.15) !important;
    }

    .nav-bar .mobile-auth-item,
    .compact-header .mobile-auth-item {
        display: block !important;
    }

    .nav-bar .dropdown .mobile-user-greeting,
    .compact-header .dropdown .mobile-user-greeting {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px 12px 32px !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
        background: rgba(0, 0, 0, 0.28) !important;
        box-sizing: border-box !important;
    }

    .nav-bar .dropdown .mobile-user-greeting strong,
    .compact-header .dropdown .mobile-user-greeting strong {
        color: #ffffff !important;
        font-weight: 700 !important;
    }

    .nav-bar .dropdown .mobile-logout-btn,
    .compact-header .dropdown .mobile-logout-btn {
        display: block !important;
        width: 100% !important;
        padding: 13px 20px 13px 32px !important;
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 0.015em !important;
        line-height: 1.4 !important;
        text-decoration: none !important;
        background: transparent !important;
        border: none !important;
        border-bottom: none !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
        cursor: pointer !important;
        font-family: inherit !important;
    }

    .nav-bar .dropdown .mobile-logout-btn:active,
    .compact-header .dropdown .mobile-logout-btn:active {
        background: rgba(255, 255, 255, 0.15) !important;
    }



    .cart-link {
        margin-left: auto;
        font-size: 12px;
    }

    .cart-badge {
        width: 21px;
        height: 21px;
    }

    .search {
        width: 130px;
    }

    .site-header.compact-header {
        top: -62px;
        height: auto !important;
        padding-top: 0 !important;
    }

    .compact-header .brand-top {
        height: 62px;
    }

    .compact-header .brand-top img {
        width: 145px;
        max-height: 50px;
    }

    .compact-header .nav-bar {
        height: 58px;
        gap: 10px;
    }

    .compact-header .cart-link {
        font-size: 11px;
        padding: 6px 8px;
        gap: 5px;
    }

    .search,
    .compact-header .search {
        width: 100px;
    }

    .search input:not([type=checkbox]),
    .compact-header .search input:not([type=checkbox]) {
        height: 31px;
        padding: 4px 22px 4px 8px;
        font-size: 11px;
        border-radius: 12px;
    }

    .search input::placeholder {
        font-size: 11px;
        color: #777;
    }

    .search button {
        right: 4px;
        top: 5px;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search svg {
        width: 14px;
        height: 14px;
    }
}