/* CSS Variables from Figma Design */
:root {
    /* Brand Colors */
    --brand-blue-primary: #191E67;
    --brand-blue-extra-light: #DDE4FC;
    --brand-blue-container: #F0F3FE;

    /* Text Colors */
    --icon-text-white: #FFFFFF;
    --icon-text-primary: #3D3D3D;
    --icon-text-secondary: #888888;

    /* Spacing */
    --space-inline-8: 8px;
    --space-small: 8px;

    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'SF Pro', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    padding-top: 106px; /* topbar (36px) + header-menu (70px) */
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    box-shadow: none !important;
}

/* Container */
.container {
    /* max-width: 1920px;
    width: 1920px;
    margin: 0 auto;
    padding: 0 240px; */
    
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Mobile Location Bar - Hidden on desktop */
.mobile-location-bar {
    display: none;
}

/* Mobile Menu Toggle - Hidden on desktop */
.menu-toggle {
    display: none;
}

/* Top Bar */
.header-topbar {
    background-color: var(--brand-blue-primary);
    height: 36px;
    display: flex;
    align-items: center;
    padding: 4px 0;
    overflow: visible !important;
    /* position: fixed; */
    position: static;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.header-topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: visible !important;
    max-width: 1440px;
    padding: 0 0px;
}

.topbar-left {
    display: flex;
    gap: 32px;
    align-items: center;
}

.topbar-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: var(--brand-blue-extra-light);
    transition: color 0.3s ease;
}

.topbar-link.active {
    color: var(--icon-text-white);
    text-decoration: underline !important;
    text-underline-position: from-font;
    line-height: 20px;
}

.topbar-link:hover {
    color: var(--icon-text-white);
}

.topbar-right {
    display: flex;
    gap: 32px;
    align-items: center;
    overflow: visible !important;
    position: relative;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: var(--brand-blue-extra-light);
    cursor: pointer;
    transition: color 0.3s ease;
}

.topbar-item:hover {
    color: var(--icon-text-white);
}

.topbar-icon {
    width: 20px;
    height: 20px;
}

/* Topbar Login Dropdown */
.topbar-login-dropdown {
    position: relative;
    z-index: 10000;
}

.topbar-login-dropdown .dropdown {
    position: relative;
}

.topbar-login-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: var(--brand-blue-extra-light);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.topbar-login-dropdown .dropdown-toggle:hover {
    color: var(--icon-text-white);
    text-decoration: none;
}

.topbar-login-dropdown .dropdown-toggle .user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar-login-dropdown .dropdown-arrow {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.topbar-login-dropdown .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.topbar-login-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    left: auto;
    top: 100%;
    width: 360px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12),
                0px 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
    z-index: 99999 !important;
    list-style: none;
    margin: 0;
}

.topbar-login-dropdown .dropdown.open .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Dropdown User Info */
.topbar-login-dropdown .fid .fid--info {
    margin-bottom: 16px;
    text-align: left;
    position: relative;
}

.topbar-login-dropdown .fid .fid--info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 10px;
    margin-bottom: 10px;
    gap: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #1A1A1A;
}

/* Badge FGold */
.topbar-login-dropdown .fid .fid--info .label-gold--in-mn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px 0px 6px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-silver {
    background: #8B93AD;
    border: 1px solid #A8ADBD;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-gold {
    background: #F3BB43;
    border: 1px solid #FDD98E;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-platinum {
    background: #343E6F;
    border: 1px solid #4151A2;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-diamond {
    background: #343E6F;
    border: 1px solid #4151A2;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn .icon-fgold {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 4px;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-silver .icon-fgold {
    background: url('../../../fontend_v2.0_2024/assets/images/fid/i-bac.png') center center / 20px no-repeat;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-gold .icon-fgold {
    background: url('../../../fontend_v2.0_2024/assets/images/fid/i-vang.png') center center / 20px no-repeat;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-platinum .icon-fgold {
    background: url('../../../fontend_v2.0_2024/assets/images/fid/i-bachkim.png') center center / 20px no-repeat;
}

.topbar-login-dropdown .fid .fid--info .label-gold--in-mn.bg-diamond .icon-fgold {
    background: url('../../../fontend_v2.0_2024/assets/images/fid/i-kimcuong.png') center center / 20px no-repeat;
}

.topbar-login-dropdown .fid .fid--info p,
.topbar-login-dropdown .fid .fid--info span {
    line-height: 20px;
    font-weight: 400;
    font-size: 14px;
    color: #666666;
    padding-bottom: 6px;
    margin: 0;
}

.topbar-login-dropdown .fid .fid--info p {
    padding-top: 2px;
    font-weight: 500;
    color: #333333;
}

.topbar-login-dropdown .fid .fid--info span {
    display: block;
    font-size: 13px;
}

/* Dropdown Menu Items */
.topbar-login-dropdown .fid li {
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
}

.topbar-login-dropdown .fid li:nth-last-child(1) {
    margin-bottom: 0;
}

.topbar-login-dropdown .fid li a {
    display: block;
    padding: 12px 20px;
    line-height: 20px;
    color: #3D3D3D;
    border: 1.5px solid #D1D1D1;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    margin-left: 0;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.topbar-login-dropdown .fid li a:hover {
    background: #F7F7F7;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
}

.topbar-login-dropdown .fid li a.info-acc {
    background: #4564ED;
    color: #fff;
    border: 1px solid #4564ED;
}

.topbar-login-dropdown .fid li a.info-acc:hover {
    background: #3451D1;
    border: 1px solid #3451D1;
    box-shadow: 0px 4px 12px rgba(69, 100, 237, 0.3);
}

.topbar-login-dropdown .fid li a.logout {
    background: #F5F5F5;
    border: 1.5px solid #E8E8E8;
    color: #666666;
}

.topbar-login-dropdown .fid li a.logout:hover {
    background: #E8E8E8;
    border: 1.5px solid #D1D1D1;
    color: #3D3D3D;
}

/* Main Menu */
.header-menu {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 24px;
    height: 70px;
    position: static;
    /* position: fixed; */
    top: 36px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    border-bottom: 1px solid var(--Border-Stroke-Primary, #D1D1D1);
}

.menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1440px;
}

.menu-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.logo-img {
    width: 109px;
    height: 36px;
    display: block;
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    color: var(--icon-text-primary);
    transition: all 0.3s ease;
}


.dropdown-icon {
    width: 12px;
    height: 12px;
    transform: rotate(180deg) scaleY(-1);
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-icon {
    transform: rotate(0deg) scaleY(1);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 62px;
    left: 0;
    transform: translateY(-10px);
    background: white;
    border: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0;
    width: max-content;
}

/* Invisible bridge between nav item and dropdown menu */
.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

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

/* Full width dropdown for menus without dropdown-simple-list (Sản phẩm dịch vụ, Thanh toán hỗ trợ) */
.dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
    position: fixed;
    top: 106px;
    left: 240px;
    right: 240px;
    width: auto;
    max-width: 1440px;
    margin: 0 auto;
}

/* Invisible bridge for fullwidth dropdown - larger gap */
.dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list)::before {
    height: 10px;
}

.nav-item.dropdown-fullwidth:hover .dropdown-menu:not(.dropdown-simple-list) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Half Width Dropdown */
.dropdown-halfwidth .dropdown-menu {
    position: fixed;
    top: 104px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 50%;
    max-width: 720px;
    margin: 0;
}

/* Invisible bridge for halfwidth dropdown */
.dropdown-halfwidth .dropdown-menu::before {
    height: 10px;
}

.nav-item.dropdown-halfwidth:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Force hide dropdown when scrolling */
.nav-item.dropdown.force-hide-dropdown .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Dropdown Content Styles */
.dropdown-menu .container {
    padding: 24px;
    width: auto;
    max-width: none;
}

.dropdown-menu .row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(200px, 1fr);
    gap: 16px;
}

/* Dropdown Category (for complex dropdowns with categories) */
.dropdown-category {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.dropdown-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    width: 20px;
    height: 20px;
}

.category-title {
    font-family: 'SF Pro', sans-serif;
    font-size: 16px;
    font-weight: 590;
    line-height: 1.4;
    color: #3D3D3D;
}

.category-links {
    list-style: none;
    padding: 0 0 0 52px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-links li a {
    font-family: 'SF Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #606060;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-links li a:hover {
    color: #FF730A;
    font-weight: 700;
}

.badge-new {
    background: #FF2156;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 0px 6px;
    border-radius: 32px;
}

/* Dropdown Simple List (for simple dropdowns without categories) */
.dropdown-simple-list {
    display: flex;
    flex-direction: column;
    /* gap: 8px; */
    /* padding: 24px; */
}

.dropdown-simple-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-simple-item span:hover {
    color: #FF730A;
    font-weight: 700;
}

.dropdown-simple-item .item-icon {
    width: 24px;
    height: 24px;
}

.dropdown-simple-item span {
    font-family: 'SF Pro', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: #3D3D3D;
}

/* Search Box */
.menu-right {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    width: 337px;
    height: 40px;
    border: 1px solid #E7E7E7;
    background: #F0F3FE;
    border-radius: 999px;
}

.search-input {
    width: 100%;
    height: 100%;
    background: transparent; /* Transparent vì background đã có ở .search-box */
    border: none; /* Border đã có ở .search-box */
    border-radius: 999px;
    padding: 0 48px 0 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #3D3D3D;
    outline: none;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #888888; /* Hint màu 888888 */
    font-weight: 400;
}

.search-input:focus {
    border-color: var(--brand-blue-primary);
    background-color: white;
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 40px;
    width: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

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

.search-icon {
    width: 20px;
    height: 20px;
}

/* iPad Portrait (all sizes) */
@media (min-width: 768px) and (max-width: 834px) and (orientation: portrait) {
    .container {
        padding: 0 40px;
    }

    .header-menu {
        /* padding: 8px 8px; */
        padding: 8px 24px;
    }

    .menu-wrapper {
        width: 100%;
    }

    .menu-left {
        gap: 16px;
    }

    .main-nav {
        gap: 6px;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .search-box {
        width: 240px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 40px;
        right: 40px;
    }

    .dropdown-menu .row {
        grid-auto-columns: minmax(180px, 1fr);
        gap: 20px;
    }
}

/* Tablet adjustments - Keep for other tablets */
@media (min-width: 768px) and (max-width: 991px) {
    .menu-right {
        width: 250px;
    }

    .search-input {
        font-size: 14px;
    }

    .search-icon {
        width: 18px;
        height: 18px;
    }
}

/* iPad Landscape (11" and 10.9") */
@media (min-width: 835px) and (max-width: 1194px) {
    .container {
        padding: 0 50px;
    }

    .header-menu {
        /* padding: 8px 50px; */
        padding: 8px 24px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 50px;
        right: 50px;
    }

    .menu-left {
        gap: 20px;
    }

    .main-nav {
        gap: 12px;
    }

    .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }

    .search-box {
        width: 260px;
    }

    .dropdown-menu .row {
        gap: 24px;
    }
}

/* iPad Pro 12.9" and Large Tablets */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        padding: 0 60px;
    }

    .header-menu {
        /* padding: 8px 60px; */
        padding: 8px 24px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 60px;
        right: 60px;
    }

    .nav-link {
        padding: 14px 24px;
        /* font-size: 15px; */
    }

    .search-box {
        width: 280px;
    }

    .dropdown-menu { 
        top: 60px;
    }
}

/* Small mobile phones - iPhone SE, etc */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }
    
    .header-menu {
        /* padding: 8px 4px; */
        padding: 8px 16px;
    }
}

/* Responsive Design */
@media (max-width: 1680px) {
    .container {
        width: 100%;
        /* padding: 0 120px; */
    }

    .header-topbar .container {
        /* padding: 0 24px; */
    }

    .header-menu {
        /* padding: 0px 120px; */
        /* padding: 0px 24px;
        max-width: 1440px;
        margin: 0 auto; */
    }

    .menu-wrapper {
        width: 100%;
        max-width: 1440px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 120px;
        right: 120px;
    }
}

@media (max-width: 1440px) {
    .container {
        width: 100%;
        padding: 0 80px;
    }

    .header-topbar {
        padding: 4px 24px;
    }

    .header-menu {
        /* padding: 8px 80px; */
        padding: 8px 24px;
    }

    .menu-wrapper {
        width: 100%;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 80px;
        right: 80px;
    }
}

@media (max-width: 1366px) {

    .dropdown-menu { 
        top: 60px;
    }

}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 40px;
    }

    .header-menu {
        /* padding: 8px 40px; */
    }

    .menu-wrapper {
        width: 100%;
    }

    .nav-link {
        padding: 8px 4px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 40px;
        right: 40px;
    }

    .dropdown-menu { 
        top: 54px;
    }
}

@media (max-width: 991px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .header-menu {
        /* padding: 8px 20px; */
    }

    .menu-wrapper {
        width: 100%;
    }

    .menu-left {
        gap: 16px;
    }

    .main-nav {
        gap: 8px;
    }

    .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }

    .search-box {
        width: 250px;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 20px;
        right: 20px;
    }
}

/* Mobile Header Responsive (Bootstrap breakpoint) */
@media (max-width: 991px) {
    /* Adjust body padding for mobile fixed headers */
    body {
        padding-top: 96px; /* header-menu (56px) + mobile-location-bar (40px) */
    }

    /* Hide topbar on mobile */
    .header-topbar {
        display: none;
    }

    /* Mobile Header Menu */
    .header-menu {
        /* padding: 8px; */
        background: #FFFFFF;
        /* position: fixed; */
        position: static;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
        height: 56px;
        box-shadow: none;
    }

    .menu-wrapper {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
    }

    /* Mobile Menu Left Side */
    .menu-left {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* Hamburger Menu Button */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .menu-toggle-icon {
        width: 24px;
        height: 24px;
    }

    /* Hide desktop navigation on mobile */
    .main-nav {
        display: none;
    }

    /* Logo on mobile */
    .logo {
        display: block;
    }

    .logo-img {
        width: 108px;
        height: 36px;
    }

    /* Mobile Search Box - Menu Right */
    .menu-right {
        display: flex;
        align-items: center;
        width: 180px;
    }

    .search-box {
        width: 100%;
        background: var(--brand-blue-container);
        border: 1px solid #E7E7E7;
        border-radius: 999px;
        padding-left: 12px;
        padding-right: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 32px;
    }

    .search-input {
        flex: 1;
        border: none;
        background: transparent;
        font-size: 12px;
        line-height: 16px;
        color: var(--icon-text-secondary);
        padding: 0;
        outline: none;
    }

    .search-input::placeholder {
        color: #888888;
        content: "Tìm kiếm";
    }

    /* Override placeholder text on mobile using attribute selector trick */
    .search-input {
        /* font-size: 12px !important; */
    }

    .search-btn {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        background: none;
        border: none;
        cursor: pointer;
        height: 100%;
        width: auto;
    }

    .search-icon {
        width: 16px;
        height: 16px;
        display: block;
    }

    /* Mobile Location Bar */
    .mobile-location-bar {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 4px 16px;
        background: #FFFFFF;
        /* border-top: 1.5px solid #E7E7E7; */
        gap: 4px;
        /* position: fixed; */
        position: static;
        top: 56px;
        left: 0;
        right: 0;
        width: 100%;
        height: 40px;
        z-index: 998;
        box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
    }

    .location-item {
        display: flex;
        align-items: center;
        gap: 6px;
        cursor: pointer;
        padding: 4px 8px;
        border-radius: 6px;
        transition: background-color 0.2s ease;
    }

    .location-item:hover {
        background-color: var(--brand-blue-container);
    }

    .location-item:active {
        background-color: #DDE4FC;
    }

    .location-icon {
        width: 16px;
        height: 16px;
        filter: brightness(0) saturate(100%) invert(24%) sepia(0%) saturate(0%) hue-rotate(155deg) brightness(95%) contrast(88%);
    }

    .location-text {
        font-family: 'SF Pro', sans-serif;
        font-size: 14px;
        font-weight: 510;
        line-height: 24px;
        color: #3D3D3D;
    }

    /* Hide desktop-only elements */
    .topbar-item {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 16px;
    }

    .header-menu {
        /* padding: 8px; */
        padding: 8px 16px;
    }

    .menu-wrapper {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
    }

    .topbar-left,
    .topbar-right {
        gap: 16px;
    }

    .topbar-link,
    .topbar-item {
        font-size: 12px;
    }

    .menu-left {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }

    .menu-right {
        width: 180px;
    }

    .search-box {
        width: 100%;
    }

    .dropdown-fullwidth .dropdown-menu:not(.dropdown-simple-list) {
        left: 16px;
        right: 16px;
    }
}


/* Small mobile phones - iPhone SE, etc */
@media (max-width: 375px) {
    .header-menu {
        /* padding: 8px 4px; */
        padding: 8px 16px;
    }

    .menu-right {
        width: 150px;
    }

    .search-input {
        font-size: 11px;
    }

    .logo-img {
        width: 90px;
    }
}
