/**
 * Header Component Styles - Modern Dark Theme
 * Features: Glassmorphism, smooth micro-interactions, purple accent
 * Safari compatible with full cross-browser support
 */

/* ========================================
   HEADER COMPONENT
   ======================================== */

/* Main Header Container */
.header-component {
    position: relative;
    width: 100%;
    background: rgba(20, 20, 22, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 2000;
    font-family: inherit;
}

.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* Header Content */
.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Logo Section */
.header-logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.header-logo-link {
    display: block;
    text-decoration: none;
    outline: none;
    border-radius: 8px;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.header-logo-link:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.header-logo {
    height: auto;
    max-height: 36px;
    width: auto;
    max-width: 280px;
    display: block;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

.header-logo-link:hover .header-logo {
    opacity: 0.9;
}

.header-logo-placeholder {
    padding: 12px 16px;
    background: #8b5cf6;
    color: #ffffff;
    border-radius: 8px;
}

.header-site-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

/* Navigation Container */
.header-nav-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-menu-item {
    margin: 0;
    padding: 0;
}

.header-menu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    position: relative;
}

.header-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.15));
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.header-menu-link:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

.header-menu-link:hover::before {
    opacity: 1;
}

.header-menu-link:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
}

.header-menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.header-menu-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.header-menu-text {
    white-space: nowrap;
}

/* Language Switcher */
.header-menu-item--language {
    margin-left: 0;
    flex-shrink: 0;
    display: inline-flex;
    float: none;
    clear: none;
}

.language-switcher-component {
    position: relative;
}

/* Weglot Integration Styles - See enhanced version below at line ~717 */

/* Loading Spinner */
.header-spinner-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}


/* Mobile Navigation */
.header-mobile-menu-toggle {
    display: none;
    background: rgba(79, 246, 177, 0.1);
    border: 2px solid rgba(79, 246, 177, 0.3);
    border-radius: 8px;
    padding: 8px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.header-mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--event-secondary-color, #4FF6B1);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.header-mobile-menu-toggle:hover {
    background: rgba(79, 246, 177, 0.2);
    border-color: var(--event-secondary-color, #4FF6B1);
}

.header-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(3.5px, 3.5px);
}

.header-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.header-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hide mobile nav logo on desktop */
.header-nav-logo {
    display: none;
}

.header-mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: #141416;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100000;
    overflow-y: auto;
    border-right: 1px solid #333;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
}

.header-mobile-nav.open {
    transform: translateX(0);
}

.header-mobile-nav .header-nav-logo {
    display: block;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.header-mobile-nav .header-nav-logo a {
    display: inline-block;
}

.header-mobile-nav .header-nav-logo img {
    max-height: 48px;
    width: auto;
}

.header-mobile-menu {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.header-mobile-menu .header-menu-item {
    width: 100%;
}

.header-mobile-menu .header-menu-item a {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
}

.header-mobile-menu .header-menu-item.header-booking-cta {
    width: 100%;
    background: transparent !important;
    border: none !important;
}

.header-mobile-menu .header-menu-item.header-booking-cta .header-booking-label {
    font-size: 14px;
}

.header-mobile-menu .header-menu-item.header-booking-cta .header-booking-link {
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    display: inline-flex !important;
}

@media (max-width: 768px) {
    .header-mobile-nav {
        display: flex;
    }

    .header-mobile-menu .header-menu-item.header-booking-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .header-mobile-menu .header-menu-item.header-booking-cta .header-booking-divider {
        display: none;
    }

    .header-mobile-menu .header-menu-item.header-booking-cta .header-booking-link {
        margin-top: 0;
        width: 100%;
        padding: 10px 16px;
        border-radius: 16px !important;
    }
}

@media (min-width: 769px) and (max-width: 1000px) {
    .header-nav .header-menu .header-menu-item.header-booking-cta {
        padding: 5px 6px 5px 10px !important;
        gap: 6px;
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }

    .header-nav .header-booking-cta .header-booking-label {
        display: none !important;
    }

    .header-nav .header-booking-cta .header-booking-divider {
        display: none !important;
    }

    .header-booking-cta .header-booking-link {
        padding: 6px 14px !important;
        font-size: 12px !important;
    }

    .header-nav-container {
        gap: 20px !important;
        min-width: 0;
    }

    .header-nav {
        min-width: 0;
        flex-shrink: 0;
    }
}

/* Hide mobile spacer on desktop */
#header-mobile-spacer {
    display: none;
}

@media (max-width: 768px) {
    #header-mobile-spacer {
        display: block;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 10px 16px;
        gap: 12px;
    }
    
    .header-logo {
        max-height: 32px;
        max-width: 200px;
    }
    
    .header-nav-container {
        gap: 8px !important;
    }
    
    .header-mobile-menu-toggle {
        display: flex;
    }

}

/* Small Mobile */
@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }
    
    .header-logo {
        max-height: 40px;
        max-width: 160px;
    }
    
    .header-menu-link {
        font-size: 16px;
        padding: 14px 16px;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .header-menu-link {
        border: 2px solid #000000;
    }
    
    .header-menu-link:hover {
        background: #000000;
        color: #ffffff;
    }
    
    .mobile-nav-toggle {
        border: 2px solid #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .header-spinner-loader .header-menu-link,
    .header-spinner-loader .header-logo,
    .header-spinner-loader .mobile-nav-toggle {
        -webkit-transition: none;
        transition: none;
    }
}

/* Safari-Specific Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .header-component {
        -webkit-font-smoothing: antialiased;
    }
    
    .header-menu-link,
    .mobile-nav-toggle {
        -webkit-tap-highlight-color: transparent;
        -webkit-font-smoothing: antialiased;
    }
    
    .header-spinner-loader,
    body.mobile-menu-open::after {
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
}

/* Mobile menu overlay state for header */
header.header--mobile-overlay {
    position: fixed;
    z-index: 100000;
    overflow-y: visible !important;
}

body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    animation: backdropFadeIn 0.4s ease;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Enhanced Header Styles - Modern Dark Theme */
header {
    background: rgba(20, 20, 22, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 2000;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    overflow-y: visible;
    box-sizing: border-box;
}

header.scrolled {
    background: rgba(20, 20, 22, 0.95);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(139, 92, 246, 0.2);
}

header .header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

header .header-logo-container {
    flex-shrink: 0;
    min-width: 0;
    max-width: 280px;
}

header .header-logo {
    display: block;
    text-decoration: none;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

header .header-logo:hover {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    opacity: 0.95;
}

header .header-logo:active {
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}

header .header-logo img {
    height: auto;
    max-height: 36px;
    max-width: 100%;
    width: auto;
    display: block;
    filter: brightness(1) contrast(1);
    -webkit-transition: filter 0.3s ease;
    transition: filter 0.3s ease;
}

header .header-logo:hover img {
    filter: brightness(1.1) contrast(1.05);
}

header .header-nav-container {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: visible;
    flex-wrap: nowrap;
    gap: 12px;
    margin-left: auto;
}

header .header-nav {
    display: flex;
    align-items: center;
    min-width: 0;
    flex-wrap: nowrap;
    overflow: visible;
}

header .header-nav .header-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
    flex-direction: row;
    min-width: 0;
    overflow: visible;
}

header .header-nav .header-menu .header-menu-item,
.header-mobile-menu .header-menu-item {
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    float: none;
    clear: none;
}

/* Cart Widget & Booking CTA */
header .header-nav-container .header-cart-widget,
header .header-nav-container #booking-cart-widget {
    flex-shrink: 0;
    margin-left: 12px;
    display: flex !important;
    align-items: center;
}

.header-nav .header-menu .header-menu-item.header-booking-cta,
.header-mobile-menu .header-menu-item.header-booking-cta {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 5px 8px 5px 12px !important;
    background: rgba(79, 246, 177, 0.03);
    border-radius: 100px;
    border: 1px solid rgba(79, 246, 177, 0.1);
    margin: 0;
    flex-shrink: 0;
}

.header-booking-cta .header-booking-label {
    color: rgba(79, 246, 177, 0.6);
    font-size: 12px;
    font-weight: 400;
    font-family: 'Poppins', Sans-serif;
    white-space: nowrap;
}

.header-booking-cta .header-booking-divider {
    width: 1px;
    height: 16px;
    background: rgba(79, 246, 177, 0.2);
    flex-shrink: 0;
}

.header-booking-cta .header-booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000 !important;
    font-weight: 500;
    font-size: 13px;
    font-family: 'Poppins', Sans-serif;
    background: var(--event-secondary-color, #4FF6B1) !important;
    padding: 8px 20px;
    border-radius: 100px !important;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

header .header-booking-cta .header-booking-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 246, 177, 0.3);
}

header .header-booking-cta .header-booking-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 246, 177, 0.4);
}

header .header-booking-cta .header-booking-link:active {
    transform: translateY(0);
}

header .header-nav .header-menu .header-menu-item a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

header .header-menu-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(167, 139, 250, 0.15));
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

header .header-menu-item a:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.4);
    color: #ffffff;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

header .header-menu-item a:hover::before {
    opacity: 1;
}

header .header-menu-item a:active {
    -webkit-transform: translateY(0) scale(0.98);
    transform: translateY(0) scale(0.98);
}

header .header-menu-item a svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    position: relative;
    z-index: 1;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

header .header-menu-item a:hover svg {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

header .header-menu-item a span {
    position: relative;
    z-index: 1;
}

/* Language Switcher Enhanced - Modern Dark Theme */
.language-swticher {
    display: inline-flex !important;
    align-items: center;
    position: relative;
    flex-shrink: 0;
    margin: 0;
    width: auto !important;
    max-width: none !important;
}

header .language-swticher .weglot-container,
header .language-swticher .weglot-container.wg-default {
    background-color: transparent;
    border: none;
    border-radius: 0;
    width: auto !important;
    max-width: none !important;
    min-width: auto !important;
    height: auto;
    min-height: 0;
    display: inline-flex !important;
    align-items: center;
    padding: 0;
    margin: 0;
    font-family: inherit;
    flex-shrink: 0;
}

/* Override Weglot's dynamically injected styles */
header .language-swticher .weglot_switcher,
header .language-swticher aside.weglot_switcher {
    position: static !important;
    width: auto !important;
    display: inline-flex !important;
}

/* Language switcher - styled via Weglot Custom CSS */
header .language-swticher .wgcurrent,
header .language-swticher .wgcurrent.wg-flags,
.language-swticher .wgcurrent[data-weglot],
header .wg-drop.country-selector .wgcurrent {
    /* Just ensure it's visible and positioned correctly */
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Gradient overlay for hover effect - but NOT ::before to avoid outline */

header .language-swticher .wgcurrent:hover,
header .language-swticher .wgcurrent.wg-flags:hover,
.language-swticher .wgcurrent[data-weglot]:hover,
header .wg-drop.country-selector .wgcurrent:hover {
    background: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
    color: #ffffff !important;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.25);
}

/* Removed ::before hover effect to avoid outline appearance */

header .language-swticher .wgcurrent:active,
header .language-swticher .wgcurrent.wg-flags:active,
.language-swticher .wgcurrent[data-weglot]:active,
header .wg-drop.country-selector .wgcurrent:active {
    -webkit-transform: translateY(0) scale(0.98) !important;
    transform: translateY(0) scale(0.98) !important;
}

header .language-swticher .wgcurrent a,
header .language-swticher .wgcurrent.wg-flags a {
    color: inherit !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: inherit;
    line-height: inherit;
    position: relative;
    z-index: 1;
}

/* Hide any Weglot default arrows/icons and extra elements */
header .language-swticher .wgcurrent::after,
header .language-swticher .wgcurrent.wg-flags::after,
.language-swticher .wgcurrent[data-weglot]::after,
header .wg-drop.country-selector .wgcurrent::after,
header .language-swticher .wgcurrent::before,
header .language-swticher .wgcurrent.wg-flags::before,
.language-swticher .wgcurrent[data-weglot]::before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Ensure only one Weglot button is visible */
header .language-swticher .weglot-container > aside:not(:first-child),
header .language-swticher .weglot-container > .wg-drop:not(:first-child) {
    display: none !important;
}

header .language-swticher .wgcurrent > *,
header .language-swticher .wgcurrent.wg-flags > *,
.language-swticher .wgcurrent[data-weglot] > * {
    position: relative;
    z-index: 1;
}

header .language-swticher .wgcurrent img,
header .language-swticher .wgcurrent.wg-flags img {
    max-width: 16px !important;
    max-height: 16px !important;
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle !important;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    display: inline-block !important;
    margin: 0 !important;
}

header .language-swticher .weglot-dropdown,
header .language-swticher .wg-drop.country-selector,
.language-swticher .weglot-dropdown[data-weglot-dropdown] {
    margin-top: 10px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    border: none;
    background: rgba(31, 41, 55, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: absolute;
    z-index: 10001;
    width: auto;
    min-width: 150px;
}

header .language-swticher .weglot-dropdown a,
header .language-swticher .wg-drop.country-selector a,
.language-swticher .weglot-dropdown[data-weglot-dropdown] a {
    color: rgba(255, 255, 255, 0.9);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    padding: 10px 16px;
}

header .language-swticher .weglot-dropdown a:hover,
header .language-swticher .wg-drop.country-selector a:hover,
.language-swticher .weglot-dropdown[data-weglot-dropdown] a:hover {
    background: rgba(139, 92, 246, 0.15);
    color: #ffffff;
}

/* Responsive Enhancements */

/* Tablet and Medium Screens */
@media (max-width: 1024px) {
    header .header-content {
        padding: 10px 20px;
        gap: 16px;
    }
    
    header .header-logo-container {
        max-width: 240px;
    }
    
    header .header-logo img {
        max-height: 34px;
    }
    
    header .header-menu {
        gap: 8px;
        flex-wrap: nowrap;
    }
    
    header .header-menu-item {
        flex-shrink: 0;
    }
    
    header .header-menu-item a {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    header .language-swticher .wgcurrent,
    .language-swticher .wgcurrent[data-weglot] {
        padding: 8px 16px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget {
        margin-left: 8px;
    }
    
    header .header-menu .header-booking-cta {
        gap: 8px;
        padding: 4px 8px 4px 10px !important;
        flex-shrink: 0;
    }
    
    header .header-booking-cta .header-booking-label {
        font-size: 11px;
    }
    
    header .header-booking-cta .header-booking-link {
        font-size: 12px;
        padding: 5px 14px;
    }
}

/* Medium Tablets to Small Desktop */
@media (max-width: 900px) {
    header .header-logo-container { max-width: 200px; }
    header .header-nav-container { gap: 6px; }
    header .header-menu { gap: 6px; }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget {
        margin-left: 6px;
        font-size: 11px;
        padding: 6px 10px;
    }
    
    header .header-menu .header-booking-cta {
        gap: 0;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    header .header-booking-cta .header-booking-label,
    header .header-booking-cta .header-booking-divider {
        display: none;
    }
    
    header .header-booking-cta .header-booking-link {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* Mobile Landscape and Small Tablets */
@media (max-width: 768px) {
    header .header-content { padding: 8px 10px; gap: 4px; }
    header .header-logo-container { max-width: 160px; }
    header .header-logo img { max-height: 24px; }
    header .header-nav-container { gap: 4px; }
    
    header .header-nav {
        position: static !important;
        transform: none !important;
        width: auto !important;
        background: transparent !important;
        padding: 0 !important;
    }
    
    header .header-menu {
        gap: 2px;
        width: auto !important;
    }
    
    header .header-menu-item { width: auto !important; }
    
    header .header-menu-item a {
        padding: 5px 8px;
        font-size: 10px;
        border-radius: 6px;
        width: auto !important;
    }
    
    header .header-menu-item a svg { width: 11px; height: 11px; }
    
    header .language-swticher .wgcurrent,
    .language-swticher .wgcurrent[data-weglot] {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget {
        margin-left: 4px;
        font-size: 10px;
        padding: 5px 8px;
    }
    
    header .header-menu .header-booking-cta {
        gap: 0;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    header .header-booking-cta .header-booking-label,
    header .header-booking-cta .header-booking-divider {
        display: none;
    }
    
    header .header-booking-cta .header-booking-link {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* Mobile Portrait */
@media (max-width: 640px) {
    header .header-content { padding: 6px 8px; gap: 3px; }
    header .header-logo-container { max-width: 130px; }
    header .header-logo img { max-height: 22px; }
    header .header-nav-container { gap: 3px; }
    header .header-menu { gap: 2px; }
    header .header-menu-item a { padding: 4px 6px; font-size: 9px; gap: 2px; }
    header .header-menu-item a svg { width: 10px; height: 10px; }
    
    header .language-swticher .wgcurrent,
    .language-swticher .wgcurrent[data-weglot] { padding: 4px 6px; font-size: 9px; }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget {
        margin-left: 3px;
        font-size: 9px;
        padding: 4px 6px;
    }
    
    header .header-menu .header-booking-cta {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    header .header-booking-cta .header-booking-label,
    header .header-booking-cta .header-booking-divider { display: none; }
    
    header .header-booking-cta .header-booking-link { font-size: 9px; padding: 4px 8px; }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    header .header-content { padding: 5px 6px; gap: 2px; }
    header .header-logo-container { max-width: 100px; }
    header .header-logo img { max-height: 20px; }
    header .header-nav-container { gap: 4px !important; }
    header .header-menu { gap: 2px; }
    
    header .header-menu-item a {
        padding: 4px 6px;
        font-size: 8px;
        min-height: 24px;
        border-radius: 4px;
    }
    
    header .header-menu-item a svg { width: 10px; height: 10px; }
    
    header .language-swticher .wgcurrent,
    .language-swticher .wgcurrent[data-weglot] {
        padding: 4px 6px;
        font-size: 8px;
        min-height: 24px;
    }
    
    header .language-swticher .weglot-dropdown,
    .language-swticher .weglot-dropdown[data-weglot-dropdown] {
        right: 0;
        left: auto;
    }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget {
        margin-left: 2px;
        font-size: 8px;
        padding: 4px 6px;
    }
    
    header .header-menu .header-booking-cta {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
    }
    
    header .header-booking-cta .header-booking-label,
    header .header-booking-cta .header-booking-divider { display: none; }
    
    header .header-booking-cta .header-booking-link {
        font-size: 8px;
        padding: 4px 8px;
        min-height: 24px;
    }
    
    header .header-booking-cta .header-booking-link:hover {
        transform: scale(1.02);
        box-shadow: 0 2px 8px rgba(79, 246, 177, 0.25);
    }
    
    header .header-booking-cta .header-booking-link:focus {
        box-shadow: 0 0 0 2px rgba(79, 246, 177, 0.4);
    }
    
    header .header-booking-cta .header-booking-link:active {
        transform: scale(0.98);
    }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
    header .header-logo-container { max-width: 80px; }
    
    header .header-nav-container .header-cart-widget,
    header .header-nav-container #booking-cart-widget { margin-left: 2px; }
}

/* Landscape Orientation on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    header {
        position: sticky;
    }
    
    header .header-content {
        padding: 6px 12px;
    }
    
    header .header-logo img {
        max-height: 24px;
    }
    
    header .header-menu-item a {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .header-spinner-loader,
    header .header-menu,
    header .language-switcher-component {
        display: none;
    }
    
    .header-component,
    header {
        border-bottom: 2px solid #000000;
        box-shadow: none;
        position: static;
    }
    
    header .header-logo img {
        filter: grayscale(100%);
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    header,
    header .header-logo,
    header .header-menu-item a,
    header .language-swticher .wgcurrent,
    header .header-booking-cta .header-booking-link {
        transition: none;
        animation: none;
    }
    
    header .header-menu-item a:hover,
    header .header-booking-cta .header-booking-link:hover {
        transform: none;
    }
}
/* Header flex layout fix - Cache bust 1759465255 */
