/* ============================================
   HEADER — Single row desktop + bottom nav mobile
   ============================================ */

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    text-align: center;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}
.announcement-bar a {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.announcement-bar a:hover {
    opacity: 0.85;
}
/* Header offset when announcement bar is present */
.mobile-header.has-announcement {
    top: var(--announcement-h, 0px);
}

/* ===== FIXED HEADER — Glass Frosted ===== */
.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition:
        box-shadow 0.2s ease,
        background 0.2s ease;
}
.mobile-header.header-scrolled {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 2px 16px rgba(57, 73, 171, 0.1);
}

/* Spacer for fixed header */
.header-padding {
    display: block;
}

/* ===== ROW 1: Top bar (Login — Logo — CTA) ===== */
.header-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.header-top .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}
.header-top__left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.header-top__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.header-top__logo img {
    height: 36px;
    transition: opacity 0.2s;
}
.header-top__logo:hover img {
    opacity: 0.85;
}
.header-top__right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: flex-end;
    min-width: 0;
}
.header-top__login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #3949ab;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
}
.header-top__login i {
    font-size: 1.05rem;
}
.header-top__login:hover {
    background: #e8eaf6;
    color: #303f9f;
}

.header-top__lang {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e8eaf6;
    border-radius: 999px;
    padding: 2px;
    background: #fff;
}
.header-top__lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #3949ab;
    text-decoration: none;
    border-radius: 999px;
    transition:
        background 0.2s,
        color 0.2s;
    letter-spacing: 0.02em;
}
.header-top__lang-btn:hover {
    background: #e8eaf6;
    color: #303f9f;
}
.header-top__lang-btn.is-active {
    background: #fb471f;
    color: #fff;
}
.header-top__lang-btn.is-active:hover {
    background: #e03c18;
    color: #fff;
}
.header-top__lang--mobile .header-top__lang-btn {
    min-width: 28px;
    padding: 3px 8px;
    font-size: 0.72rem;
}

/* ===== Logged-in: Bell + Profile in header-top ===== */
.header-top__right #vnrBellWrap {
    margin-left: 0;
    flex: 0 0 auto;
}
.header-top__right #vnrBellBtn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    flex: 0 0 auto;
    padding: 0;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.header-top__right #vnrBellBtn:hover {
    background: #e8eaf6;
}
.header-top__right #vnrBellBtn .bi-bell-fill {
    font-size: 1rem !important;
    color: #3949ab;
}
.header-top__right .custom-btn-secondary {
    padding: 4px 12px 4px 14px !important;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 8px;
    height: 36px;
    border: 1.5px solid #e8eaf6;
    background: #f8f9ff;
    color: #3949ab;
    transition:
        background 0.2s,
        border-color 0.2s;
}
.header-top__right .custom-btn-secondary:hover {
    background: #e8eaf6;
    border-color: #c5cae9;
}
.header-top__right .custom-btn-secondary .symbol-30px img,
.header-top__right .custom-btn-secondary .symbol-md-40px img {
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    object-fit: contain;
}
.header-top__right .dropdown-menu.pdd-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    z-index: 1055;
}

.header-top__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fb471f 0%, #ff5f3a 100%);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(251, 71, 31, 0.25);
    transition:
        transform 0.15s,
        box-shadow 0.2s;
}
.header-top__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(251, 71, 31, 0.35);
    color: #fff;
}
.header-top__cta i {
    font-size: 0.85rem;
}

/* ===== ROW 2: Nav bar ===== */
.header-bar {
    height: 44px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;
}
.header-bar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.header-bar__logo img {
    height: 28px;
    transition: opacity 0.2s;
}
.header-bar__logo:hover img {
    opacity: 0.85;
}

/* ===== DESKTOP NAV (center, xl+) ===== */
.header-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.header-nav__list {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.header-nav__item {
    position: relative;
}
.header-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #5c6270;
    text-decoration: none;
    border-radius: 8px;
    transition:
        color 0.2s,
        background 0.2s;
    position: relative;
    white-space: nowrap;
}
.header-nav__link i:first-child {
    font-size: 0.95rem;
    color: #969cac;
    transition: color 0.2s;
}
.header-nav__caret {
    font-size: 0.5rem;
    margin-left: -2px;
    opacity: 0.5;
    transition: transform 0.2s;
}

/* Hover */
.header-nav__link:hover {
    color: #fb471f;
    background: rgba(251, 71, 31, 0.05);
}
.header-nav__link:hover i:first-child {
    color: #fb471f;
}
.header-nav__item--dd:hover .header-nav__caret {
    transform: rotate(180deg);
}

/* Active */
.header-nav__link.active {
    color: #fb471f;
    font-weight: 700;
}
.header-nav__link.active i:first-child {
    color: #fb471f;
}
.header-nav__link.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 0;
    height: 2.5px;
    border-radius: 2px 2px 0 0;
    background: #fb471f;
}

/* Dropdown — Glass Frosted Light */
.header-nav__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 280px;
    max-width: 440px;
    max-height: 70vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-radius: 18px;
    padding: 14px;
    box-shadow:
        0 12px 40px rgba(57, 73, 171, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s;
    z-index: 1055;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.header-nav__dropdown::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}
.header-nav__dropdown li {
    list-style: none;
}
.header-nav__item--dd:hover > .header-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Pill tags */
.header-nav__dd-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #3c4049;
    text-decoration: none;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.header-nav__dd-item i {
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color 0.2s;
}
.header-nav__dd-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Pill colors by position */
.header-nav__dropdown li:nth-child(6n + 1) .header-nav__dd-item {
    border-color: #fb8c00;
    color: #e65100;
}
.header-nav__dropdown li:nth-child(6n + 1) .header-nav__dd-item i {
    color: #fb8c00;
}
.header-nav__dropdown li:nth-child(6n + 1) .header-nav__dd-item:hover {
    background: #fff3e0;
    border-color: #fb8c00;
}

.header-nav__dropdown li:nth-child(6n + 2) .header-nav__dd-item {
    border-color: #66bb6a;
    color: #2e7d32;
}
.header-nav__dropdown li:nth-child(6n + 2) .header-nav__dd-item i {
    color: #66bb6a;
}
.header-nav__dropdown li:nth-child(6n + 2) .header-nav__dd-item:hover {
    background: #e8f5e9;
    border-color: #66bb6a;
}

.header-nav__dropdown li:nth-child(6n + 3) .header-nav__dd-item {
    border-color: #fdd835;
    color: #f57f17;
}
.header-nav__dropdown li:nth-child(6n + 3) .header-nav__dd-item i {
    color: #fbc02d;
}
.header-nav__dropdown li:nth-child(6n + 3) .header-nav__dd-item:hover {
    background: #fffde7;
    border-color: #fdd835;
}

.header-nav__dropdown li:nth-child(6n + 4) .header-nav__dd-item {
    border-color: #ab47bc;
    color: #6a1b9a;
}
.header-nav__dropdown li:nth-child(6n + 4) .header-nav__dd-item i {
    color: #ab47bc;
}
.header-nav__dropdown li:nth-child(6n + 4) .header-nav__dd-item:hover {
    background: #f3e5f5;
    border-color: #ab47bc;
}

.header-nav__dropdown li:nth-child(6n + 5) .header-nav__dd-item {
    border-color: #42a5f5;
    color: #1565c0;
}
.header-nav__dropdown li:nth-child(6n + 5) .header-nav__dd-item i {
    color: #42a5f5;
}
.header-nav__dropdown li:nth-child(6n + 5) .header-nav__dd-item:hover {
    background: #e3f2fd;
    border-color: #42a5f5;
}

.header-nav__dropdown li:nth-child(6n + 6) .header-nav__dd-item {
    border-color: #26c6da;
    color: #00838f;
}
.header-nav__dropdown li:nth-child(6n + 6) .header-nav__dd-item i {
    color: #26c6da;
}
.header-nav__dropdown li:nth-child(6n + 6) .header-nav__dd-item:hover {
    background: #e0f7fa;
    border-color: #26c6da;
}

/* ===== MEGA MENU (full-width dropdown) ===== */
.header-nav__item--mega {
    position: static;
}

.header-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 2px solid #fb471f;
    box-shadow:
        0 12px 40px rgba(57, 73, 171, 0.13),
        0 2px 8px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
        opacity 0.2s,
        transform 0.2s,
        visibility 0.2s;
    z-index: 1055;
}
.header-nav__item--mega:hover > .header-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-mega__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    gap: 0;
    align-items: flex-start;
}

/* Col 1: Categories */
.header-mega__col-cats {
    width: 200px;
    flex-shrink: 0;
    border-right: 1px solid #f0f0f7;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
}
.header-mega__cat-list {
    overflow-y: auto;
    max-height: 320px;
    scrollbar-width: thin;
    scrollbar-color: #e8eaf6 transparent;
}
.header-mega__cat-list::-webkit-scrollbar {
    width: 4px;
}
.header-mega__cat-list::-webkit-scrollbar-track {
    background: transparent;
}
.header-mega__cat-list::-webkit-scrollbar-thumb {
    background: #e8eaf6;
    border-radius: 4px;
}
.header-mega__cat-list::-webkit-scrollbar-thumb:hover {
    background: #c5cae9;
}
.header-mega__col-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    color: #b0b5c3;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.header-mega__cat-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #2d2f36;
    font-size: 0.82rem;
    font-weight: 500;
    transition:
        background 0.13s,
        color 0.13s;
    margin-bottom: 2px;
}
.header-mega__cat-item:hover,
.header-mega__cat-item.active {
    background: #ffede9;
    color: #fb471f;
}
.header-mega__cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.header-mega__cat-name {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Col 2: Featured items */
.header-mega__col-items {
    flex: 1;
    padding: 0 24px;
}
.header-mega__items-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.header-mega__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #2d2f36;
    border: 1.5px solid #f0f0f7;
    transition:
        border-color 0.15s,
        background 0.15s,
        color 0.15s;
}
.header-mega__item:hover {
    border-color: #fb471f;
    background: #fffbfa;
    color: #fb471f;
}
.header-mega__item-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef0fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    color: #3949ab;
    transition:
        background 0.15s,
        color 0.15s;
}
.header-mega__item:hover .header-mega__item-icon {
    background: #ffede9;
    color: #fb471f;
}
.header-mega__item-body {
    min-width: 0;
    flex: 1;
}
.header-mega__item-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.35;
}
.header-mega__item-meta {
    display: block;
    font-size: 0.72rem;
    color: #969cac;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-mega__item:hover .header-mega__item-meta {
    color: #fb471f;
    opacity: 0.7;
}

/* Col 3: CTA */
.header-mega__col-cta {
    width: 200px;
    flex-shrink: 0;
    border-left: 1px solid #f0f0f7;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.header-mega__cta-card {
    background: linear-gradient(135deg, #3949ab 0%, #283593 100%);
    border-radius: 12px;
    padding: 14px;
    color: #fff;
    text-decoration: none;
    display: block;
    transition:
        opacity 0.15s,
        transform 0.15s;
}
.header-mega__cta-card:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}
.header-mega__cta-card-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0.65;
    margin-bottom: 5px;
}
.header-mega__cta-card-title {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
}
.header-mega__cta-card-sub {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 4px;
    line-height: 1.4;
}
.header-mega__cta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border: 1.5px solid #e8eaf6;
    border-radius: 8px;
    text-decoration: none;
    color: #3c4049;
    font-size: 0.8rem;
    font-weight: 600;
    transition:
        border-color 0.15s,
        color 0.15s,
        background 0.15s;
}
.header-mega__cta-link:hover {
    border-color: #fb471f;
    color: #fb471f;
    background: #fffbfa;
}

/* ===== ACTIONS (right) ===== */
.header-bar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
}

/* Login link */
.header-bar__login {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #3949ab;
    text-decoration: none;
    transition:
        background 0.2s,
        color 0.2s;
}
.header-bar__login i {
    font-size: 1.05rem;
}
.header-bar__login:hover {
    background: #e8eaf6;
    color: #303f9f;
}

/* CTA button */
.header-bar__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #fb471f 0%, #ff5f3a 100%);
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(251, 71, 31, 0.25);
    transition:
        transform 0.15s,
        box-shadow 0.2s;
}
.header-bar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(251, 71, 31, 0.35);
    color: #fff;
}
.header-bar__cta:active {
    transform: translateY(0);
}
.header-bar__cta i {
    font-size: 0.85rem;
}

/* ===== PROFILE BUTTON ===== */
.header-bar__actions .custom-btn-secondary {
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    gap: 8px;
}

/* ===== PROFILE DROPDOWN ===== */
@media (min-width: 992px) {
    .header-bar .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 4px;
        z-index: 1055;
    }
    .header-bar .dropdown-menu-end {
        left: auto;
        right: 0;
    }
}
.header-bar .dropdown-menu {
    border-radius: 12px;
    padding: 8px;
    box-shadow:
        0 8px 32px rgba(57, 73, 171, 0.14),
        0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8eaf6;
}
.header-bar .dropdown-menu .dropdown-item,
.header-bar .dropdown-menu .menu-link {
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    transition:
        background-color 0.15s,
        color 0.15s;
}
.header-bar .dropdown-menu .dropdown-item:hover,
.header-bar .dropdown-menu .menu-link:hover {
    background-color: #ffede9;
    color: #e4411c;
}

/* =============================================
   MOBILE FIXED BOTTOM NAV
   ============================================= */
.mbnav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 4px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    height: 64px;
    border-top: 1px solid #e8eaf6;
    box-shadow: 0 -2px 16px rgba(57, 73, 171, 0.08);
}
.mbnav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 8px 0 6px;
    text-decoration: none;
    color: #8a8fa0;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    background: none;
    cursor: pointer;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.mbnav__item i {
    font-size: 1.3rem;
    line-height: 1;
    transition: transform 0.2s;
}
.mbnav__item span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.1;
}
.mbnav__item--active {
    color: #fb471f;
}
.mbnav__item--active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2.5px;
    border-radius: 0 0 3px 3px;
    background: #fb471f;
}
.mbnav__item:active i {
    transform: scale(0.9);
}

/* Center FAB */
.mbnav__fab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: 6px;
}
.mbnav__fab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(145deg, #fb471f 0%, #ff5f3a 100%);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 16px rgba(251, 71, 31, 0.35);
    transform: translateY(-12px);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.mbnav__fab:active .mbnav__fab-icon {
    transform: translateY(-10px) scale(0.95);
    box-shadow: 0 2px 8px rgba(251, 71, 31, 0.3);
}
.mbnav__fab-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fb471f;
    margin-top: -8px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* ===== "MORE" BOTTOM SHEET ===== */
.mbnav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(16, 17, 22, 0.45);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s,
        visibility 0.25s;
}
.mbnav-overlay.show {
    opacity: 1;
    visibility: visible;
}
.mbnav-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1070;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0));
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.mbnav-sheet.show {
    transform: translateY(0);
}
.mbnav-sheet__handle {
    display: none;
}
.mbnav-sheet__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.mbnav-sheet__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 2px 10px;
    border-radius: 14px;
    text-decoration: none;
    color: #3c4049;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.mbnav-sheet__item:active {
    background: #f4f5fb;
}
.mbnav-sheet__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.3rem;
}
.mbnav-sheet__icon--indigo {
    background: #e8eaf6;
    color: #3949ab;
}
.mbnav-sheet__icon--amber {
    background: #fff8e1;
    color: #f57f17;
}
.mbnav-sheet__icon--teal {
    background: #e0f2f1;
    color: #00897b;
}
.mbnav-sheet__icon--orange {
    background: #ffede9;
    color: #fb471f;
}

/* ===== BODY PADDING for mobile bottom nav (below lg) ===== */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 68px;
    }
}

@media (max-width: 374px) {
    .mbnav__item {
        font-size: 0.58rem;
    }
    .mbnav__fab-label {
        font-size: 0.58rem;
    }
}

/* ===== RESPONSIVE ===== */

/* Desktop (lg+): 2-row header */
@media (min-width: 992px) {
    .header-top {
        display: block;
    }
    .header-top .container-fluid {
        position: relative;
    }
    .header-bar .header-bar__logo {
        display: none;
    }
    .header-bar .container-fluid {
        flex-wrap: nowrap;
        overflow: visible;
    }
    .header-nav__list {
        flex-wrap: nowrap;
    }
    .header-nav {
        overflow: visible;
        min-width: 0;
    }
}

/* Desktop compact (992–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .header-top .container-fluid {
        height: 44px;
    }
    .header-top__logo img {
        height: 28px;
    }
    .header-top__login {
        font-size: 0.78rem;
        padding: 5px 10px;
    }
    .header-top__cta span {
        display: none;
    }
    .header-top__cta {
        padding: 6px 10px;
    }
    .header-bar {
        height: 38px;
    }
    .header-nav__list {
        gap: 2px;
    }
    .header-nav__link {
        padding: 5px 6px;
        font-size: 0.74rem;
        gap: 2px;
    }
    .header-nav__caret {
        font-size: 0.4rem;
    }
}

/* Desktop narrow (1200–1479px) */
@media (min-width: 1200px) and (max-width: 1479.98px) {
    .header-top .container-fluid {
        height: 48px;
    }
    .header-top__logo img {
        height: 32px;
    }
    .header-bar {
        height: 40px;
    }
    .header-nav__list {
        gap: 6px;
    }
    .header-nav__link {
        padding: 6px 10px;
        font-size: 0.78rem;
        gap: 3px;
    }
    .header-nav__caret {
        font-size: 0.45rem;
    }
}

/* Desktop wide (1480+) */
@media (min-width: 1480px) {
    .header-nav__link {
        padding: 8px 14px;
        font-size: 0.84rem;
    }
    .header-nav__list {
        gap: 12px;
    }
}

/* Mobile & tablet (below lg): single row with logo + actions */
@media (max-width: 991.98px) {
    .header-top {
        display: none;
    }
    .header-bar {
        height: 52px;
    }
    .header-bar .container-fluid {
        display: flex;
        align-items: center;
    }
    .header-bar__mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .header-bar__mobile-actions {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .header-bar__mobile-icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 0.95rem;
        text-decoration: none;
        transition:
            transform 0.15s,
            box-shadow 0.15s;
    }
    .header-bar__mobile-icon-btn:active {
        transform: scale(0.92);
    }
    .header-bar__mobile-icon-btn--login {
        color: #3949ab;
        background: rgba(57, 73, 171, 0.08);
        border: 1px solid rgba(57, 73, 171, 0.15);
    }
    .header-bar__mobile-icon-btn--cta {
        color: #fff;
        background: linear-gradient(135deg, #fb471f, #ff5f3a);
        box-shadow: 0 2px 8px rgba(251, 71, 31, 0.25);
    }
    .gt-custom--mobile .gt-custom__btn {
        padding: 4px 6px;
        min-width: auto;
    }
}
@media (min-width: 769px) and (max-width: 991.98px) {
    .header-bar {
        height: 56px;
    }
    .header-bar__logo img {
        height: 34px;
    }
    .header-bar__mobile-actions {
        gap: 8px;
    }
}

/* Hide mobile nav on desktop (lg+) */
@media (min-width: 992px) {
    .mbnav,
    .mbnav-overlay,
    .mbnav-sheet {
        display: none;
    }
}

/* ===== Profile Dropdown Shared Elements ===== */
@keyframes pdd-blink {
    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05);
    }
}
.pdd-avatar-wrap {
    position: relative;
    flex-shrink: 0;
    margin-right: 14px !important;
}
.pdd-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    border: 2.5px solid white;
    animation: pdd-blink 2.5s ease-in-out infinite;
}
.pdd-user-handle {
    font-size: 11px;
    color: #94a3b8;
    letter-spacing: 0.3px;
    margin-bottom: 7px;
}
.pdd-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(90deg, #ecfdf5, #d1fae5);
    border: 1px solid #6ee7b7;
    border-radius: 20px;
    padding: 2px 10px;
    width: fit-content;
}
.pdd-online-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}
.pdd-online-badge span {
    font-size: 10px;
    color: #059669;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.pdd-email-wrap {
    padding: 10px 18px 2px;
    list-style: none;
}
.pdd-email-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pdd-email-box i {
    color: #94a3b8;
    font-size: 13px;
    width: auto !important;
    min-width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
}
.pdd-email-box span {
    font-size: 11px;
    color: #64748b;
}

/* ===== User Profile Dropdown (Web/Candidate) ===== */
.pdd-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 28px !important;
    box-shadow:
        0 20px 60px rgba(57, 73, 171, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
    padding: 0 !important;
    background: rgba(255, 255, 255, 1) !important;
    min-width: 310px;
    overflow: hidden;
}

/* Header / User info */
.pdd-dropdown > .menu-item:first-child {
    padding: 0 !important;
}
.pdd-dropdown .menu-content {
    padding: 26px 22px 18px !important;
    background: linear-gradient(
        135deg,
        rgba(57, 73, 171, 0.07) 0%,
        rgba(251, 71, 31, 0.05) 100%
    );
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 14px;
}
.pdd-dropdown .menu-content .symbol {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    flex-shrink: 0;
}
.pdd-dropdown .menu-content .symbol img {
    border-radius: 50% !important;
    width: 54px !important;
    height: 54px !important;
    object-fit: cover !important;
    box-shadow: 0 4px 14px rgba(251, 71, 31, 0.3);
}
.pdd-dropdown .fw-bolder {
    color: #0f172a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: -0.4px;
}
.pdd-dropdown .menu-content p {
    color: #94a3b8 !important;
    font-size: 11px !important;
    letter-spacing: 0.3px;
}

/* Divider */
.pdd-dropdown .dropdown-divider {
    border-color: #f1f5f9 !important;
    margin: 4px 18px !important;
    opacity: 1;
}

/* Menu items */
.pdd-dropdown > .menu-item,
.pdd-dropdown > li.menu-item {
    padding: 0 10px !important;
    list-style: none;
}
.pdd-dropdown .menu-item .menu-link {
    border-radius: 14px !important;
    padding: 11px 13px !important;
    margin: 2px 0;
    transition:
        background 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease !important;
    color: #1e293b !important;
    font-weight: 500 !important;
    font-size: 13.5px !important;
    border: 1px solid transparent;
    display: flex !important;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    position: relative;
}
.pdd-dropdown .menu-item .menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    border-radius: 0 3px 3px 0;
    background: #fb471f;
    opacity: 0;
    transition: opacity 0.18s ease;
}
.pdd-dropdown .menu-item .menu-link::after {
    content: "\203A";
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 300;
    color: #cbd5e1;
    opacity: 0;
    transition:
        opacity 0.15s ease,
        color 0.15s ease;
}
.pdd-dropdown .menu-item .menu-link i {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #475569 !important;
    font-size: 17px !important;
    transition:
        background 0.18s,
        color 0.18s;
    flex-shrink: 0;
    margin-right: 0 !important;
}
.pdd-dropdown .menu-item .menu-link:hover {
    background: #ffede9 !important;
    color: #0f172a !important;
    font-weight: 600 !important;
    transform: translateX(4px);
    border-color: rgba(251, 71, 31, 0.15);
    box-shadow: 0 2px 8px rgba(251, 71, 31, 0.12);
}
.pdd-dropdown .menu-item .menu-link:hover::before {
    opacity: 1;
}
.pdd-dropdown .menu-item .menu-link:hover::after {
    opacity: 1;
    color: #fb471f;
}
.pdd-dropdown .menu-item .menu-link:hover i {
    background: rgba(251, 71, 31, 0.12);
    color: #fb471f !important;
}

/* Logout */
.pdd-dropdown .menu-item .menu-link.logout-confirmation {
    background: #fff1f2 !important;
    color: #f43f5e !important;
    font-weight: 500 !important;
}
.pdd-dropdown .menu-item .menu-link.logout-confirmation i {
    background: #ffe4e6;
    color: #f43f5e !important;
}
.pdd-dropdown .menu-item .menu-link.logout-confirmation:hover {
    background: #ffe4e6 !important;
    border-color: #fecdd3;
    color: #e11d48 !important;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12);
}
.pdd-dropdown .menu-item .menu-link.logout-confirmation:hover::before {
    background: #e11d48;
}
.pdd-dropdown .menu-item .menu-link.logout-confirmation:hover::after {
    color: #e11d48;
}
.pdd-dropdown .menu-item .menu-link.logout-confirmation:hover i {
    background: #fecdd3;
    color: #e11d48 !important;
}
