/* Scope everything inside the wrapper to avoid breaking theme layouts */




.volaris-spotlight-wrapper .volaris-spotlight-header {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.volaris-spotlight-wrapper .volaris-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.volaris-spotlight-wrapper .volaris-logo-container {
    text-decoration: none;
    display: inline-block;
}

.volaris-spotlight-wrapper .volaris-logo {
    max-height: 40px;
    display: block;
    height: auto;
    width: auto;
}

.volaris-spotlight-wrapper .volaris-logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #E22F4A;
}

/* Language Selector styling */
.volaris-spotlight-wrapper .volaris-lang-toggle {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.03);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.volaris-spotlight-wrapper .volaris-lang-toggle .lang-btn {
    border: none;
    background: transparent;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
    color: #666;
}

.volaris-spotlight-wrapper .volaris-lang-toggle .lang-btn.active {
    background: #0b2340;
    color: #ffffff;
    /* box-shadow: 0 2px 10px rgba(226, 47, 74, 0.2); */
}

.volaris-spotlight-wrapper .volaris-lang-toggle .lang-btn:hover:not(.active) {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.05);
}

.volaris-spotlight-wrapper .volaris-page-title {
    font-family: Barlow, sans-serif;
    font-size: 82px;
    line-height: 130%;
    font-weight: 500;
    text-transform: capitalize;
    padding: 0;
    margin: 0;
    color: #464646;
}

@media (max-width: 767px) {
    .volaris-spotlight-wrapper .volaris-page-title {
        font-size: 40px;
        line-height: normal;
        margin-bottom: 10px;
    }
}

/* Inheriting your cardcolor glassmorphism rules */
.volaris-spotlight-wrapper .volaris-card.cardcolor {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    margin-top: 50px;
}


.volaris-spotlight-wrapper .volaris-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.volaris-spotlight-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.volaris-spotlight-wrapper .form-group select {
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a6a6a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
    padding-right: 40px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.volaris-spotlight-wrapper .form-group select:focus {
    outline: none;
    border-color: var(--dark-blue);
}


.volaris-spotlight-wrapper .volaris-confirm-buttons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    justify-content: center;
}


/* Modal styling */
.volaris-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.volaris-modal-overlay .volaris-modal-card.cardcolor {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    max-width: 550px;
    margin: 0;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}



.volaris-modal-overlay .modal-btn {
    /* width: 100%; */
    margin: 0 auto;
}

#volaris-notice-modal button.fancybox-button.fancybox-close-small svg {
    width: 50px;
    height: 50px;
    top: 0;
    left: -25px;
    background: transparent;
    color: hsla(213, 71%, 15%, 1);
}

#volaris-notice-modal button.fancybox-button.fancybox-close-small:hover {
    background: transparent;
}

/* Force parent wrappers to have visible overflow to allow sticky navigation */
.site-content,
.content-area,
.entry-content,
.post-content,
.gb-container,
.gb-grid-wrapper,
.volaris-spotlight-wrapper {
    overflow: visible !important;
}

/* Page 3 Nav (Sticky Anchor links) */
.volaris-spotlight-wrapper .volaris-secondary-nav {
    position: sticky;
    top: 83px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    padding: 10px 0;
}

.volaris-spotlight-wrapper .section-menu-toggle,
.volaris-spotlight-wrapper .section-menu-close {
    display: none;
}

.volaris-spotlight-wrapper .volaris-nav-inner {
    display: flex;
    gap: 20px;
    justify-content: center;
    overflow-x: auto;
    white-space: nowrap;
}

.volaris-spotlight-wrapper .volaris-nav-link {
    text-decoration: none;
    color: var(--light-gray);
    /* padding: 8px 16px; */
    border-radius: 20px;
    transition: all 0.25s ease;
    font-size: 20px;
}

@media (max-width: 767px) {
    .volaris-spotlight-wrapper .volaris-secondary-nav {
        display: flex;
        justify-content: flex-end;
        padding: 10px 20px;
        background: transparent;
        border-bottom: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        position: relative;
        top: 0 !important;
    }

    .volaris-spotlight-wrapper .section-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;

    }

    .volaris-spotlight-wrapper .volaris-nav-inner {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: #faf9f6;
        z-index: 999999;
        flex-direction: column;
        /* align-items: center;
        justify-content: center; */
        gap: 20px;
        padding: 40px;
        color: var(--light-gray);
        box-sizing: border-box;
    }

    .volaris-spotlight-wrapper .volaris-nav-inner.open {
        display: flex;
    }

    .volaris-spotlight-wrapper .section-menu-close {
        display: block;
        position: absolute;
        top: 100px;
        right: 20px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
    }

    .volaris-spotlight-wrapper .section-menu-close svg path {
        fill: #A6A6A6;
    }

    .volaris-spotlight-wrapper .volaris-nav-link {
        color: var(--light-gray) !important;
        padding: 10px 20px;
    }

    .volaris-spotlight-wrapper .volaris-nav-link:hover,
    .volaris-spotlight-wrapper .volaris-nav-link.active {
        color: #E22F4A !important;
        background: rgba(255, 255, 255, 0.1);
    }
}

.volaris-spotlight-wrapper .volaris-nav-link:hover,
.volaris-spotlight-wrapper .volaris-nav-link.active {
    color: #0b2340;
    /* background: rgba(226, 47, 74, 0.05); */
}

.volaris-spotlight-wrapper .materials-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.volaris-spotlight-wrapper .volaris-sections-container {
    display: flex;
    flex-direction: column;
    gap: 40px;

}

.volaris-spotlight-wrapper .volaris-content-section.cardcolor {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, 0.03));
}



.volaris-spotlight-wrapper .section-body {
    font-size: 1rem;
    color: #333;
}

.volaris-spotlight-wrapper .section-body p {
    margin-bottom: 16px;
}

.volaris-spotlight-wrapper .volaris-legal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin-top: 60px;
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    font-size: 13px;
    color: #666;
    margin-bottom: 50px;
}

.volaris-spotlight-wrapper .legal-section-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 12px;
}

.volaris-spotlight-wrapper .legal-section-item p {
    margin: 0;
    line-height: 1.6;
}

.volaris-spotlight-wrapper .legal-section-item.note {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {

    .volaris-spotlight-wrapper .volaris-card.cardcolor {
        padding: 24px;
    }

    .volaris-spotlight-wrapper .volaris-confirm-buttons {
        flex-direction: column;
    }
}

/* ==========================================================
   CUSTOM DROPDOWN LANGUAGE SWITCHER
   ========================================================== */
.volaris-custom-lang-selector {
    position: relative;
    display: inline-block;
    font-size: 14px;
    z-index: 1010;
    color: var(--light-gray);
}

.volaris-lang-trigger {
    display: flex;
    align-items: center;
    justify-content: center !important;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 8px 16px;
    min-height: 30px;
    min-width: 130px !important;
    cursor: pointer;
    font-weight: 500;
    color: var(--light-gray) !important;
    transition: all 0.2s ease;
    text-transform: uppercase;
    font-family: Barlow, sans-serif;
}

.volaris-lang-trigger:hover,
.volaris-custom-lang-selector:hover .volaris-lang-trigger {
    border-color: var(--dark-blue);
    color: var(--dark-blue) !important;
    background: transparent;
}

.volaris-lang-trigger:hover .arrow-icon svg path,
.volaris-custom-lang-selector:hover .volaris-lang-trigger .arrow-icon svg path {
    stroke: var(--dark-blue);
}

.volaris-lang-trigger .globe-icon {
    display: flex;
    align-items: center;
}

.volaris-custom-lang-selector img.volaris-flag-img {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin-right: 7px !important;
}

.volaris-lang-trigger .arrow-icon {
    font-size: 0;
    line-height: 0;
    margin-left: 6px;
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.volaris-lang-trigger[aria-expanded="true"] .arrow-icon,
.volaris-custom-lang-selector:hover .volaris-lang-trigger .arrow-icon {
    transform: rotate(180deg);
}

.volaris-lang-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: -25px;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    width: 160px !important;
    padding: 10px 20px !important;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpDropdown 0.2s ease;
    box-sizing: border-box;
}

.volaris-lang-dropdown.open,
.volaris-custom-lang-selector:hover .volaris-lang-dropdown {
    display: flex;
}

.volaris-lang-option {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--light-gray) !important;
    text-decoration: none;
    font-weight: 500;
    font-family: Barlow, sans-serif;
    text-transform: uppercase;
    transition: color 0.15s ease;
}

.volaris-lang-option:hover {
    color: var(--dark-blue) !important;
}

.volaris-lang-option.active {
    color: var(--dark-blue) !important;
    font-weight: 600;
}

@keyframes slideUpDropdown {
    from {
        transform: translateY(6px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.volaris-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 50%;
}

.volaris-modal-close:hover {
    color: #333333;
    background: rgba(0, 0, 0, 0.05);
}

.volaris-modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}