/* ==========================================================================
   PREMIUM GLOBAL HEADER V2
   ========================================================================== */

/* Top Authority Bar V2 */
.header-authority-v2 {
    background-color: var(--luxury-dark);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.authority-flex-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.authority-trust-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.authority-badge-v2 {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.authority-badge-v2 i {
    color: var(--luxury-secondary);
    margin-right: 5px;
}

.authority-sep-v2 {
    content: "|";
    color: rgba(255,255,255,0.3);
    margin: 0 15px;
}

.authority-support-v2 a {
    color: #fff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.authority-support-v2 a i {
    margin-right: 5px;
}

.authority-support-v2 a:hover {
    color: var(--luxury-secondary);
}

/* Main Header V2 */
.header-main-v2 {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--luxury-border);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.sticky-header-v2.is-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: var(--luxury-shadow);
    animation: fadeInDown 0.5s ease-out;
}

.header-row-v2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation V2 */
.header-nav-left-v2, .header-nav-right-v2 {
    flex: 1;
}

.header-nav-left-v2 ul, .header-nav-right-v2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.header-nav-left-v2 ul {
    justify-content: flex-end;
}

.header-nav-right-v2 ul {
    justify-content: flex-start;
}

.header-nav-left-v2 li, .header-nav-right-v2 li {
    margin: 0 20px;
}

.header-nav-left-v2 a, .header-nav-right-v2 a {
    color: var(--luxury-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.header-nav-left-v2 a::after, .header-nav-right-v2 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--luxury-secondary);
    transition: width 0.3s ease;
}

.header-nav-left-v2 a:hover::after, .header-nav-right-v2 a:hover::after {
    width: 100%;
}

.header-nav-left-v2 a:hover {
    color: var(--luxury-secondary);
}

/* Logo V2 */
.header-logo-v2 {
    flex: 0 0 auto;
    padding: 0 40px;
    text-align: center;
}

.header-logo-v2 img {
    max-height: 50px; /* Adjust based on client logo */
    width: auto;
}

.text-logo-v2 a {
    font-family: var(--font-heading);
    color: var(--luxury-primary);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
}

/* Header Utilities V2 */
.header-right-actions-v2 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-utility-v2 {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-left: 30px;
}

.header-icon-v2 {
    position: relative;
    cursor: pointer;
}

.header-icon-v2 i {
    font-size: 1.3rem;
    color: var(--luxury-primary);
    transition: color 0.3s ease;
}

.header-icon-v2:hover i {
    color: var(--luxury-secondary);
}

/* Cart Specific Styling */
.header-cart-v2 a {
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.cart-count-v2 {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--luxury-secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .desktop-only {
        display: none !important;
    }
    .tablet-only {
        display: block !important;
    }
    .header-utility-v2 {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .authority-flex-v2 {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .authority-support-v2 {
        display: none; /* Hide support on top bar mobile to save space */
    }
    .authority-sep-v2 {
        display: none;
    }
    .authority-trust-v2 {
        flex-direction: column;
        gap: 5px;
    }
    .header-logo-v2 {
        padding: 0;
    }
}
