/* Source: Views/Shared/_Header.cshtml */
.user-account-wrapper {
        position: relative;
        display: inline-block;
    }

    .login-user {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .login-user:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .user-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /* border: 1px solid #d1bb6d; */
    }

    .username {
        color: #d1bb6d;
        font-weight: 500;
    }

    .dropdown-menu {
        display: none;
        position: absolute;
        top: 110%;
        right: 0;
        width: 220px;
        background-color: #4a4a4a;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .dropdown-menu.show {
        display: block;
    }

    .menu-item {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        transition: all 0.2s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item:hover {
        background-color: #c4a661;
    }

    .icon {
        width: 24px;
        height: 24px;
        margin-right: 12px;
        display: inline-block;
    }

    .ticket-noti {
        background-color: #ff4d4d;
        color: white;
        font-size: 11px;
        font-weight: bold;
        min-width: 18px;
        height: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 2px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    /* Toggled items */
    .header__right{ display: flex; flex-direction: column; align-items: flex-end; }
    .header__right__top{ display: flex; align-items: center; justify-content: flex-end; gap: 20px; }

    /* Switch Component */
    .theme-switch-wrapper { height: 40px; }
    .theme-switch {
        display: inline-block;
        height: auto;
        position: relative;
        width: 40px;
        margin-top: 3px;
    }
    .theme-switch input { display: none; }
    .slider {
        bottom: 0;
        cursor: pointer;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        transition: .4s;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Search Component */
    .search-wrapper { display: flex; justify-content: flex-end; }
    .search-container {
        display: flex; align-items: center; background-color: rgba(115, 115, 115, 0.5);
        border-radius: 50px; height: 40px; width: 40px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden; cursor: pointer; position: relative;
    }
    .search-container.active { width: 250px; padding: 0 10px; }
    .search-input {
        background: transparent; border: none; outline: none; width: 0; height: 100%;
        font-size: 16px; color: #E5D5A1; transition: all 0.5s; opacity: 0;
    }
    .search-container.active .search-input { width: 100%; opacity: 1; padding-left: 10px; }
    .search-input::placeholder { color: #E5D5A1; opacity: 0.7; }
    .search-icon-box {
        width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    }
    .search-icon-box img { width: 24px; height: auto; }

    /* --- SUB-PAGE STYLES --- */
    .sub-page {
        background: var(--partners-bg-color);
    }

    .section__title_primary {
        color: var(--card__subtitle-color);
      }

    .sub-page .header {
        background: var(--sub-page-header-bg, #1e1e1e);
        position: static;
    }

    .sub-page__title {
        margin-top: 50px;
    }

    .sub-page .main-footer {
        border-top: 4px solid var(--primary-color);
    }
    @media (max-width:400px){
        .username{
        font-size: 14px;
        }
    }

    @media (max-width: 1200px) {
        .header__right__bottom > .user-account-wrapper {
            display: none;
        }

        .nav__auth {
            flex-direction: column;
            gap: 0 !important;
            padding: 10px 0;
            border-top: 1px solid rgba(0, 0, 0, 0.06);
        }

        .nav__auth .menu-item {
            width: 100%;
            padding: 12px 20px;
            color: var(--mobile-menu-account-color, #f39c12);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            font-weight: 600;
        }

        .nav__auth .menu-item:last-child {
            border-bottom: 0;
        }

        .nav__auth .menu-item:hover {
            color: var(--btn-booking-color, #ffffff);
            background-color: var(--primary-color);
        }

        .nav__auth .menu-item .icon {
            width: 22px;
            height: 22px;
            margin-right: 10px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .nav__auth .menu-item .icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            filter: var(--mobile-menu-icon-filter, brightness(0) saturate(0) opacity(0.75));
        }

        .nav__auth .menu-item:hover .icon img {
            filter: var(--mobile-menu-icon-hover-filter, brightness(0) invert(1));
        }

        .nav__auth:not(.nav__auth--mobile-account) {
            display: none !important;
        }
    }

/* Son Media shell — Figma section 169:639 / logo 169:644 */
.is-hidden {
    display: none;
}

.header,
.sub-page .header {
    min-height: 104px;
    padding: 0;
    border-bottom: 1px solid rgba(212, 212, 212, 0.18);
    background: #4d4d4d;
    box-shadow: none;
    font-family: "Roboto", Arial, sans-serif;
}

.header .header__wrapper {
    min-height: 104px;
    padding: 9px 31px 8px 35px;
    align-items: flex-end;
    box-sizing: border-box;
}

.header .logo {
    display: block;
    width: 204px;
    min-width: 204px;
    height: 43px;
    margin-bottom: 1px;
}

.header .header-logo {
    display: block;
    width: 204px;
    height: 43px;
    object-fit: contain;
}

.header .header__right {
    flex: 1 1 auto;
}

.header .header__right__top {
    gap: 19px;
}

.header .theme-switch-wrapper {
    display: none;
}

.header .search-container {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(115, 115, 115, 0.5);
}

.header .search-container.active {
    width: 250px;
    padding: 0 10px;
}

.header .search-icon-box {
    width: 34px;
    height: 34px;
}

.header .search-icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.header .search-input,
.header .search-input::placeholder {
    color: #d4d4d4;
}

.header .lang-switch {
    width: auto;
    margin: 0;
    gap: 19px;
}

.header .lang-switch img {
    width: 32px;
    height: 18px;
    object-fit: cover;
}

.header .header__right__bottom {
    gap: 22px;
}

.header .nav__list {
    gap: 22px;
}

.header .nav__list a,
.header .nav__auth a {
    color: #ffffff;
}

.header .nav__list a:hover,
.header .nav__auth a:hover,
.header .username {
    color: #e03c31;
}

.header .nav__auth--desktop {
    flex-direction: column;
    gap: 10px;
}

.header #btn-login-popup {
    margin-top: 8px;
    background: #e03c31;
    color: #ffffff;
}

.header #btn-login-popup:hover,
.header .menu-item:hover {
    background: #a60a00;
}

.header .dropdown-menu {
    background: #424242;
}

.header .search-results {
    background: #424242;
    border-color: #5c5c5c;
}

.header .search-empty {
    padding: 15px;
    color: #d4d4d4;
    text-align: center;
}

.main-footer,
.sub-page .main-footer {
    min-height: 0;
    padding: 34px 20px 42px;
    border-top: 0;
    background: #434343;
    color: rgba(212, 212, 212, 0.62);
    font-family: "Roboto", Arial, sans-serif;
}

.main-footer .footer-container {
    max-width: 1200px;
    align-items: flex-start;
    gap: 70px;
}

.main-footer .footer-column {
    min-width: 220px;
}

.main-footer .info-col {
    flex: 1.25;
}

.main-footer .links-col {
    flex: 0.85;
}

.main-footer .contact-col {
    flex: 1.1;
}

.main-footer .brand-header {
    display: block;
    margin: 0;
}

.main-footer .footer-logo {
    display: block;
    width: 204px;
    height: 43px;
    object-fit: contain;
}

.main-footer .column-title {
    margin: 0 0 20px;
    padding-bottom: 9px;
    color: #d4d4d4;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}

.main-footer .column-title::after {
    width: 58px;
    height: 2px;
    background: #f59e0b;
}

.main-footer .links-col .column-title,
.main-footer .links-col .footer-links {
    margin-left: 0;
}

.main-footer .footer-links li {
    margin-bottom: 10px;
}

.main-footer .footer-links li::before {
    color: #d4d4d4;
}

.main-footer .footer-links a,
.main-footer .contact-item p {
    color: rgba(212, 212, 212, 0.62);
    font-size: 16px;
    line-height: 24px;
}

.main-footer .footer-links a:hover {
    color: #ffffff;
}

.main-footer .contact-item {
    gap: 12px;
    margin-bottom: 16px;
}

.main-footer .contact-item .icon {
    width: 24px;
    height: 24px;
    margin-right: 0;
    flex: 0 0 24px;
}

.main-footer .contact-item .icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: grayscale(1) brightness(2);
}

@media (max-width: 1200px) {
    .header,
    .sub-page .header {
        min-height: 66px;
    }

    .header .header__wrapper {
        min-height: 66px;
        padding: 11px 20px;
        align-items: center;
    }

    .header .logo,
    .header .header-logo {
        width: 170px;
        min-width: 170px;
        height: 36px;
        margin: 0;
    }

    .header .menu-toggle .bar {
        background: #e03c31;
    }

    .header .nav {
        border-color: #e03c31;
        background: #424242;
    }

    .header .nav__lang,
    .header .nav__auth {
        border-color: #5c5c5c;
    }

    .header .nav__lang span,
    .header .nav__list li a,
    .header .nav__auth .menu-item {
        color: #d4d4d4;
    }

    .header .nav__list li.active,
    .header .nav__auth .menu-item:hover {
        background: #e03c31;
    }

    .header .nav__auth .menu-item:hover {
        color: #ffffff;
    }
}

@media (max-width: 1024px) {
    .main-footer .footer-container {
        display: grid;
        max-width: 440px;
        grid-template-columns: minmax(117px, 0.78fr) minmax(0, 1fr);
        column-gap: clamp(44px, 16.8vw, 74px);
        row-gap: 24px;
    }

    .main-footer .footer-column {
        min-width: 0;
    }

    .main-footer .links-col {
        grid-area: 1 / 1 / 2 / 2;
    }

    .main-footer .contact-col {
        grid-area: 1 / 2 / 2 / 3;
    }

    .main-footer .info-col {
        grid-area: 2 / 1 / 3 / 3;
    }

    .main-footer .footer-logo {
        width: 170px;
        height: 36px;
    }

    .main-footer .footer-links li,
    .main-footer .footer-links a,
    .main-footer .contact-item p {
        font-size: 16px;
        line-height: 28px;
    }
}

@media (max-width: 576px) {
    .header .header__wrapper {
        padding-right: 18px;
        padding-left: 18px;
    }

    .header .logo,
    .header .header-logo {
        width: 150px;
        min-width: 150px;
        height: 32px;
    }

    .main-footer {
        padding: 28px 22px 36px;
    }

    .main-footer .footer-container {
        display: grid;
        max-width: 440px;
        padding: 0;
        column-gap: clamp(36px, 12vw, 60px);
        row-gap: 24px;
    }

    .main-footer .info-col,
    .main-footer .links-col,
    .main-footer .contact-col {
        width: auto;
    }

    .main-footer .info-col {
        grid-area: 2 / 1 / 3 / 3;
    }

    .main-footer .links-col {
        grid-area: 1 / 1 / 2 / 2;
    }

    .main-footer .contact-col {
        grid-area: 1 / 2 / 2 / 3;
    }

    .main-footer .footer-logo {
        width: 170px;
        height: 36px;
    }
}
