/* Extracted from Views/Shared/_ModernHeader.cshtml */
/* Modern Header Styles */
    .modern-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        transition: box-shadow 0.2s ease;
    }

    .modern-header.scrolled {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .modern-header--static {
        position: relative;
    }

    .modern-header__inner {
        max-width: 1400px;
        margin: 0 auto;
        padding: 12px 24px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 24px;
    }

    .modern-header__actions {
        margin-left: auto;
    }

    .modern-header__logo {
        flex-shrink: 1;
        min-width: 0;
    }

    .modern-header__logo img {
        height: 48px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    /* Navigation */
    .modern-nav {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .modern-nav__link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 20px;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 500;
        font-size: 15px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }

    .modern-nav__link:hover {
        background: #f8f8f8;
        color: #000000;
    }

    .modern-nav__link--outline {
        background: transparent;
        color: #1a1a1a !important;
        border: 2px solid #e5e5e5;
    }

    .modern-nav__link--outline:hover {
        border-color: #000000;
        color: #000000 !important;
        background: transparent;
    }

    .modern-nav__link--outline svg {
        width: 16px;
        height: 16px;
        margin-right: 4px;
    }

    /* Shop Dropdown */
    .modern-nav__dropdown {
        position: relative;
    }

    .modern-nav__dropdown-toggle {
        cursor: pointer;
    }

    .modern-nav__dropdown-toggle svg {
        width: 12px;
        height: 12px;
        margin-left: 4px;
        transition: transform 0.2s ease;
    }

    .modern-nav__dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 180px;
        z-index: 1001;
        padding-top: 8px;
    }

    .modern-nav__dropdown-menu-inner {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        padding: 8px 0;
        overflow: hidden;
    }

    .modern-nav__dropdown:hover .modern-nav__dropdown-menu {
        display: block;
    }

    .modern-nav__dropdown:hover .modern-nav__dropdown-toggle {
        background: #f8f8f8;
        color: #1a1a1a;
    }

    .modern-nav__dropdown:hover .modern-nav__dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .modern-nav__dropdown-item {
        display: block;
        padding: 10px 20px;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        transition: background 0.15s ease;
        background: #fff;
    }

    .modern-nav__dropdown-item:hover {
        background: #f5f5f5;
        color: #1a1a1a;
    }

    /* Right Actions */
    .modern-header__actions {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .modern-header__icon-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #1a1a1a;
        text-decoration: none;
    }

    .modern-header__icon-btn:hover {
        background: #f8f8f8;
        color: #000000;
    }

    .modern-header__icon-btn svg {
        width: 24px;
        height: 24px;
    }

    /* Mobile Toggle */
    .modern-header__mobile-toggle {
        display: none;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
    }

    .modern-header__mobile-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: #1a1a1a;
        margin: 5px 0;
        transition: all 0.2s ease;
    }

    /* Location Modal */
    .modern-location-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        background: rgba(0,0,0,0.5);
        align-items: center;
        justify-content: center;
    }

    .modern-location-modal.active {
        display: flex;
    }

    .modern-location-modal__content {
        background: #fff;
        border-radius: 16px;
        max-width: 600px;
        width: 90%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    }

    .modern-location-modal__header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px;
        border-bottom: 1px solid #e5e5e5;
    }

    .modern-location-modal__header h3 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
    }

    .modern-location-modal__close {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        color: #717171;
        line-height: 1;
    }

    .modern-location-modal__close:hover {
        color: #1a1a1a;
    }

    .modern-location-modal__body {
        padding: 24px;
    }

    .modern-location-info {
        margin-bottom: 24px;
    }

    .modern-location-info__title {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #1a1a1a;
    }

    .modern-location-info__address {
        color: #717171;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .modern-location-info__link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #000000;
        text-decoration: none;
        font-weight: 500;
    }

    .modern-location-info__link:hover {
        text-decoration: underline;
    }

    .modern-contact-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .modern-contact-item {
        display: flex;
        align-items: center;
        padding: 16px;
        background: #f8f8f8;
        border-radius: 12px;
        text-decoration: none;
        color: #1a1a1a;
        transition: all 0.2s ease;
    }

    .modern-contact-item:hover {
        background: #f0f0f0;
    }

    .modern-contact-item__icon {
        width: 40px;
        height: 40px;
        background: #000000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .modern-contact-item__icon svg {
        width: 20px;
        height: 20px;
        color: #fff;
    }

    .modern-contact-item__info {
        flex: 1;
    }

    .modern-contact-item__label {
        font-size: 14px;
        color: #717171;
        margin-bottom: 2px;
    }

    .modern-contact-item__value {
        font-size: 16px;
        font-weight: 600;
    }

    /* Map Embed */
    .modern-location-modal__map {
        width: 100%;
        height: 200px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 24px;
    }

    .modern-location-modal__map iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* Modern Mobile Menu Overrides */
    #modernMobileMenu {
        padding-bottom: 80px;
    }

    #modernMobileMenu .alt-mobile-menu__nav {
        padding: 12px 20px;
    }

    #modernMobileMenu .alt-mobile-menu__link--outline {
        display: inline-flex;
        align-items: center;
        padding: 10px 16px;
        margin-bottom: 8px;
        border-radius: 8px;
        border: 2px solid #e5e5e5 !important;
    }

    #modernMobileMenu .alt-mobile-menu__link--outline svg {
        margin-right: 8px;
    }

    #modernMobileMenu .alt-mobile-menu__link {
        padding: 12px 16px;
        border-bottom: none;
    }

    /* Mobile menu Shop sub-links */
    .alt-mobile-menu__sub-links {
        display: none;
        padding-left: 16px;
    }

    .alt-mobile-menu__sub-links.active {
        display: block;
    }

    .alt-mobile-menu__sub-link {
        display: block;
        padding: 10px 16px;
        color: #1a1a1a;
        text-decoration: none;
        font-size: 15px;
        font-weight: 400;
    }

    .alt-mobile-menu__link--expandable {
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }

    .alt-mobile-menu__link--expandable svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .alt-mobile-menu__link--expandable.active svg {
        transform: rotate(180deg);
    }

    /* Mobile Menu Icon Actions */
    .alt-mobile-menu__icon-actions {
        display: flex;
        justify-content: center;
        gap: 32px;
        padding: 16px 24px;
        border-top: 1px solid #e5e5e5;
        margin-top: auto;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
    }

    .alt-mobile-menu__icon-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 20px;
        background: transparent;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s ease;
        color: #1a1a1a;
        text-decoration: none;
    }

    .alt-mobile-menu__icon-btn:hover {
        background: #f8f8f8;
        color: #000000;
    }

    .alt-mobile-menu__icon-btn svg {
        width: 24px;
        height: 24px;
    }

    .alt-mobile-menu__icon-btn span {
        font-size: 14px;
        font-weight: 500;
    }

    /* Google Translate Dropdown */
    .modern-translate-wrapper {
        position: relative;
    }

    .modern-translate-dropdown {
        display: none;
        position: fixed;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        padding: 16px;
        z-index: 9999;
        min-width: 280px;
    }

    .modern-translate-dropdown::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-bottom: 6px solid #fff;
    }

    .modern-translate-dropdown.active {
        display: block;
    }

    .modern-translate-dropdown .goog-te-gadget {
        font-family: inherit !important;
    }

    .modern-translate-dropdown .goog-te-gadget-simple {
        border: 1px solid #e5e5e5 !important;
        background: #fff !important;
        padding: 8px 12px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
    }

    .modern-translate-dropdown .goog-te-gadget-simple:hover {
        border-color: #ccc !important;
    }

    .modern-translate-dropdown .goog-te-menu-value {
        color: #1a1a1a !important;
    }

    .modern-translate-dropdown .goog-te-menu-value span {
        color: #1a1a1a !important;
    }

    .modern-translate-dropdown .goog-te-gadget-icon {
        display: none !important;
    }

    #google_translate_element {
        min-height: 32px;
    }

    .VIpgJd-ZVi9od-ORHb-OEVmcd {
        top: unset !important;
        bottom: 0 !important;
    }

    body {
        top: 0 !important;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .modern-translate-dropdown {
            left: 12px !important;
            right: 12px !important;
            min-width: auto;
        }

        .modern-translate-dropdown::before {
            display: none;
        }
    }

    /* Responsive */
    @media (max-width: 1024px) {
        .modern-nav {
            display: none;
        }

        .modern-header__mobile-toggle {
            display: block;
        }
    }

    /* EVAP Promo Banner */
    .modern-promo-banner {
        background: var(--color-primary);
        color: #fff;
        text-align: center;
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 0.5px;
        z-index: 1001;
    }

    .modern-promo-banner a {
        display: block;
        padding: 8px 16px;
        color: #fff;
        text-decoration: none;
        transition: background 0.2s ease;
    }

    .modern-promo-banner a:hover {
        background: rgba(0, 0, 0, 0.1);
        color: #fff;
    }

    .modern-promo-banner__mobile-hide {
        display: inline;
    }

    @media (max-width: 768px) {
        .modern-promo-banner__mobile-hide {
            display: none;
        }

        .modern-header__inner {
            padding: 10px 16px;
            gap: 12px;
        }

        .modern-header__logo img {
            height: 36px;
            max-width: 180px;
        }

        .modern-header__actions {
            gap: 8px;
            flex-shrink: 0;
        }

        .modern-header__icon-btn {
            width: 40px;
            height: 40px;
        }

        .modern-header__icon-btn svg {
            width: 20px;
            height: 20px;
        }
    }

    @media (max-width: 480px) {
        .modern-header__inner {
            padding: 8px 12px;
            gap: 8px;
        }

        .modern-header__logo img {
            height: 32px;
            max-width: 140px;
        }

        .modern-header__icon-btn {
            width: 36px;
            height: 36px;
        }

        .modern-header__icon-btn svg {
            width: 18px;
            height: 18px;
        }
    }
