:root {
    --hdr-primary: #ad7c46;
    --hdr-primary-hover: #966938;
    --hdr-primary-light: rgba(173, 124, 70, 0.08);
    --hdr-bg: rgba(255, 255, 255, 0.95);
    --hdr-text: #111827;
    --hdr-text-muted: #6b7280;
    --hdr-border: rgba(0, 0, 0, 0.06);
    --hdr-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --hdr-radius-lg: 25px;
    --hdr-radius-md: 25px;
    --hdr-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    padding-top: 80px;
}

.main-header.v2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--hdr-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--hdr-border);
    box-shadow: var(--hdr-shadow);
    transition: var(--hdr-transition);
}

.main-header.v2 .inner-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: 80px;
    padding: 0 1.5rem;
    position: relative;
}

.hdr-left-group {
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 0;
}

.hdr-right-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.nav-outer-v2 {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.nav-search-box-v2 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: var(--hdr-transition);
    z-index: 1001;
    border-radius: var(--hdr-radius-md);
    padding: 0 16px;
    height: 72px;
}

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

.nav-search-box-v2 input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    font-size: 11px;
    color: var(--hdr-text);
    background: transparent;
    width: 100%;
}

.nav-search-box-v2 .search-close-btn {
    background: #f3f4f6;
    border: none;
    color: var(--hdr-text);
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    transition: var(--hdr-transition);
    font-size: 13px;
    line-height: 1;
    flex-shrink: 0;
    position: relative;
    z-index: 1010;
}

.nav-search-box-v2 .search-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

#mainNav {
    transition: var(--hdr-transition);
}

.navigation {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 6px;
}

.navigation > li > a:not(.btn-offer-v2) {
    font-weight: 500 !important;
    color: var(--hdr-text) !important;
    font-size: 12px !important;
    padding: 30px 8px !important;
    transition: var(--hdr-transition);
}

.navigation > li:hover > a:not(.btn-offer-v2) {
    color: var(--hdr-primary) !important;
}

.navigation > li .btn-offer-v2 {
    background: var(--hdr-primary);
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600;
    padding: 8px 16px !important;
    height: 36px !important;
    border-radius: 20px !important;
    border: none;
    transition: var(--hdr-transition);
    box-shadow: 0 3px 3px rgba(173, 124, 70, 0.2);
    text-align: center;
    text-decoration: none;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    margin: 0 4px !important;
}

.navigation > li .btn-offer-v2:hover {
    background: var(--hdr-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(173, 124, 70, 0.3);
    text-decoration: none !important;
}

.btn-offer {
    font-weight: 500 !important;
    color: white !important;
    font-size: 10px !important;
    background: var(--hdr-primary);
    padding: 10px 20px !important;
    transition: var(--hdr-transition);
    border-radius: 25px !important;
}

.btn-offer:hover {
    background: var(--hdr-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(173, 124, 70, 0.3);
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.03);
    padding: 3px 5px;
    border-radius: 20px;
    border: 1px solid var(--hdr-border);
}

.lang-link {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--hdr-text-muted);
    padding: 3px 6px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--hdr-transition);
}

.lang-link:hover, .lang-link.active {
    color: var(--hdr-primary);
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.btn-user-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    height: 38px;
    border-radius: 30px;
    border: 1px solid var(--hdr-border);
    background: #ffffff;
    color: var(--hdr-text);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--hdr-transition);
}

.btn-user-trigger:hover, .btn-user-trigger[aria-expanded="true"] {
    border-color: var(--hdr-primary);
    background: var(--hdr-primary-light);
    color: var(--hdr-primary);
}

.premium-dropdown {
    display: none;
    position: absolute;
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 12px) !important;
    width: 280px !important;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: var(--hdr-border);
    border-radius: var(--hdr-radius-lg);
    box-shadow: var(--hdr-shadow);
    padding: 8px;
    transform-origin: top right;
}

.premium-dropdown.show {
    display: block !important;
    animation: dropdownShow 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.premium-dropdown__group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.premium-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px !important;
    background: transparent;
    border: none;
    border-radius: var(--hdr-radius-md);
    color: var(--hdr-text);
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: var(--hdr-transition);
    box-sizing: border-box;
}

.premium-dropdown__item:hover {
    color: var(--hdr-primary);
    background: var(--hdr-primary-light);
}

.premium-dropdown__item--danger {
    color: #e11d48;
}

.premium-dropdown__item--danger:hover {
    color: #be123c;
    background: rgba(225, 29, 72, 0.06);
}

.premium-dropdown__divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.06);
    margin: 6px 0;
}

@media (max-width: 991px) {
    body {
        padding-top: 80px;
    }

    .main-header.v2 .inner-header {
        height: 50px;
        padding: 0 .1rem;
        position: relative !important;
        justify-content: space-between !important;
    }

    .hdr-left-group {
        display: flex !important;
        align-items: center !important;
    }

    .main-header.v2 .logo-box {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 5 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .main-header.v2 .logo-box img {
        display: block !important;
        max-height: 36px !important;
        width: auto !important;
    }

    .hdr-burger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 25px;
        color: var(--hdr-text);
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: var(--hdr-transition);
    }

    .hdr-right-group {
        position: relative;
        z-index: 10;
        margin-left: 0 !important;
    }

    .nav-search-box-v2 {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 75px;
        padding: 0 1rem;
        border-radius: 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        z-index: 1100;
    }

    .hdr-burger-btn:hover {
        background: var(--hdr-primary-light);
        color: var(--hdr-primary);
    }
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999 !important;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s ease, opacity 0.3s ease;
}

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

.mobile-menu .menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-menu .menu-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 320px;
    max-width: 85vw;
    height: 100%;
    background: #ffffff !important;
    box-shadow: 12px 0 35px rgba(0, 0, 0, 0.2);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    z-index: 2;
    overflow: hidden;
}

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

.mobile-menu-header {
    position: relative !important;
    padding: 0 16px !important;
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid var(--hdr-border);
    background: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.drawer-close-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    background: #f1f5f9 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #0f172a !important;
    transition: var(--hdr-transition);
    border: 1px solid rgba(0,0,0,0.08) !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.drawer-close-btn:hover,
.drawer-close-btn:active {
    background: #fee2e2 !important;
    color: #ef4444 !important;
    border-color: #fca5a5 !important;
}

.mobile-menu-body {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobi-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobi-nav-item {
    border-radius: var(--hdr-radius-md);
    overflow: hidden;
    font-size: 18px !important;
}

.mobi-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--hdr-radius-md);
    transition: var(--hdr-transition);
}

.mobi-nav-row:hover,
.mobi-nav-item.open .mobi-nav-row {
    background: var(--hdr-primary-light);
}

.mobi-nav-title {
    flex: 1;
    padding: 12px 14px;
    color: var(--hdr-text);
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: var(--hdr-transition);
}

.mobi-nav-title:hover {
    color: var(--hdr-primary);
}

.mobi-arrow-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--hdr-text-muted);
    transition: var(--hdr-transition);
}

.mobi-arrow-trigger:hover {
    color: var(--hdr-primary);
}

.mobi-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.mobi-nav-item.open .mobi-arrow {
    transform: rotate(180deg);
}

.mobi-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #f9fafb;
    border-radius: var(--hdr-radius-md);
    padding: 0 12px;
}

.mobi-nav-item.open .mobi-submenu {
    max-height: 1000px;
    padding: 8px 12px;
    margin-top: 4px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.mobi-submenu-link {
    display: block;
    padding: 8px 10px;
    color: var(--hdr-text-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 20px;
    transition: var(--hdr-transition);
}

.mobi-submenu-link:hover {
    color: var(--hdr-primary);
    background: #ffffff;
}

.mobi-user-card {
    background: #f9fafb;
    border: 1px solid var(--hdr-border);
    border-radius: var(--hdr-radius-lg);
    padding: 14px;
}

.mobi-user-card .user-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--hdr-text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.mobi-user-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobi-user-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: var(--hdr-text);
    font-size: 13px !important;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--hdr-radius-md);
    transition: var(--hdr-transition);
}

.mobi-user-link:hover {
    background: var(--hdr-primary-light);
    color: var(--hdr-primary);
}

.mobi-lang-switcher {
    display: flex;
    background: #f3f4f6;
    padding: 4px;
    border-radius: 20px;
    gap: 4px;
}

.mobi-lang-btn {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--hdr-text-muted);
    text-decoration: none;
    border-radius: 25px;
    transition: var(--hdr-transition);
}

.mobi-lang-btn.active {
    background: #ffffff;
    color: var(--hdr-primary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

@keyframes dropdownShow {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-6px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.btn-login, .btn-reg{
    font-size: 12px;
    border-radius: 25px;
}

    :root {
        --brand-color: #ad7c46;
        --brand-color-hover: #966938;
        --brand-color-shadow: rgba(173, 124, 70, 0.25);
        --brand-color-focus: rgba(173, 124, 70, 0.15);
    }
    .brand-link {
        color: var(--brand-color);
        transition: color 0.2s ease;
    }
    .brand-link:hover {
        color: var(--brand-color-hover);
    }
    .auth-modal-content {
        background: #ffffff;
    }
    .auth-toggle-wrapper {
        max-width: 310px;
        background-color: #f3f4f6 !important;
        border: 1px solid #e5e7eb;
    }
    .auth-toggle-btn {
        color: #6b7280;
        border: none;
        background: transparent;
        font-size: 0.875rem;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .auth-toggle-btn.active {
        background-color: #ffffff !important;
        color: var(--brand-color) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .input-icon-wrapper {
        position: relative;
    }
    .input-icon {
        position: absolute;
        top: 50%;
        left: 16px;
        transform: translateY(-50%);
        color: #9ca3af;
        z-index: 5;
        transition: color 0.2s ease;
    }
    .custom-input {
        padding: 0.7rem 1rem 0.7rem 2.8rem !important;
        font-size: 0.925rem;
        border: 1.5px solid #e5e7eb;
        background-color: #f9fafb;
        transition: all 0.2s ease;
    }
    .custom-input:focus {
        background-color: #ffffff;
        border-color: var(--brand-color);
        box-shadow: 0 0 0 4px var(--brand-color-focus) !important;
    }
    .input-icon-wrapper:focus-within .input-icon {
        color: var(--brand-color);
    }
    .intl-phone-container {
        width: 100%;
    }
    .iti {
    width: 100%;
    }

    #authModal .iti {
        z-index: 99999999 !important;
    }
    .iti__dropdown-content {
        border-radius: 20px !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
        border: 1px solid #e5e7eb !important;
    }
    .iti--allow-dropdown .iti__flag-container, 
    .iti--separate-dial-code .iti__flag-container {
        padding-left: 8px;
    }
    .iti__country-list {
        border-radius: 16px;
        max-height: 200px;
    }
    #register_phone {
        padding-left: 96px !important;
        padding-bottom: 12px !important;
    }
    .auth-submit-btn {
        background-color: var(--brand-color);
        border: none;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        transition: all 0.2s ease;
    }
    .auth-submit-btn:hover {
        background-color: var(--brand-color-hover);
        transform: translateY(-1px);
        box-shadow: 0 6px 15px var(--brand-color-shadow) !important;
    }
    .google-btn {
        border: 1.5px solid #e5e7eb;
        color: #374151;
        background: #ffffff;
        transition: all 0.2s ease;
    }
    .google-btn:hover {
        background: #f9fafb;
        border-color: #d1d5db;
        color: #111827;
    }
    .divider-wrapper {
        position: relative;
    }
    .divider-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-weight: 500;
    }
    .custom-checkbox {
        border-radius: 6px;
        border: 1.5px solid #d1d5db;
        cursor: pointer;
    }
    .custom-checkbox:checked {
        background-color: var(--brand-color);
        border-color: var(--brand-color);
    }
    #authModal{
        top: 40px !important;
    }
    @media (max-width: 576px) {
        #authModal .modal-dialog {
            margin: 0.5rem auto;
            max-height: calc(70vh - 1rem);
            display: flex;
            align-items: center;
        }

        #authModal .modal-content {
            max-height: calc(70vh - 1rem);
            display: flex;
            flex-direction: column;
            margin: 15px;
        }

        #authModal .modal-body {
            max-height: 60vh;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            padding: 1.25rem 1rem;
        }
        .btn-login, 
        .btn-reg,
        #authModal + div button {
            font-size: 0.45rem !important;
            padding-top: 0.5rem !important;
            padding-bottom: 0.5rem !important;
        }
    }
    .input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .custom-input.password-input {
    padding-right: 45px !important; 
}

.toggle-password-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    outline: none;
}
.toggle-password-btn:hover {
    color: #333;
}
.btn-offer-v2::after,
.btn-offer-v2::before {
    display: none !important;
}
.mobi-nav-title {
    font-size: 18px !important;
}
.btn-offer{
    font-size: 14px !important;
}