:root {
    /* Sagrada Familia Color Palette */
    --primary-dark: #1a1a1a;
    --secondary-dark: #2d2d2d;
    --accent-color: #dc0526;      /* Rouge officiel Sagrada Familia */
    --secondary-color: #1e4d7a;   /* Bleu profond (inspiré du hero 2026) */
    --light-bg: #f8f9fa;
    --tertiary-color: #c9a227;    /* Or/doré (lumière vitraux) */
}

body {
    font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navbar */
.navbar-dark {
    background: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.navbar-brand-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.nav-link {
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.navbar-dark .nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-nav-cta {
    background: var(--accent-color);
    color: white !important;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-cta:hover {
    background: #b00420;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(220, 5, 38, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/sagradafamilia/sagradafamilia-01.jpg') center/cover no-repeat;
    filter: saturate(0.3) brightness(0.4) contrast(1.15);
    z-index: -2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(26, 26, 26, 0.5) 60%,
        rgba(26, 26, 26, 0.3) 100%
    );
    z-index: -1;
}

.hero-badge {
    background: #ff8c42;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero-badge:hover {
    background: #ff8c42;
    color: white;
}

/* Wrapper pour bouton avec badge ribbon promo */
.btn-with-ribbon {
    position: relative;
    display: inline-block;
}

/* Badge promo ribbon - TOUJOURS ROUGE */
.promo-ribbon {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transform: rotate(15deg);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
    border-radius: 3px;
    z-index: 10;
    white-space: nowrap;
    animation: ribbon-bounce 2s ease-in-out infinite;
}

@keyframes ribbon-bounce {
    0%, 100% { transform: rotate(15deg) scale(1); }
    50% { transform: rotate(15deg) scale(1.1); }
}

.promo-ribbon i {
    font-size: 0.7rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Hero Widget Wrapper - 100% width only on LG+ for horizontal widget display */
@media (min-width: 992px) {
    .hero-widget-wrapper {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
}

.btn-primary-cta {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-cta:hover {
    background: #b00420;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 5, 38, 0.4);
}

.btn-outline-light-custom {
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-light-custom:hover {
    background: white;
    color: var(--primary-dark);
}

.btn-generic-options {
    border-radius: 8px;
}

.btn-generic-options i,
.info-card .btn-generic-options i {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    color: white !important;
}

/* === Navbar Light Theme === */
.navbar-light {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-light .navbar-brand {
    color: #1a1a1a;
}

.navbar-light .navbar-nav .nav-link {
    color: #1a1a1a;
    font-weight: 500;
    padding-bottom: 0.5rem;
    margin: 0 0.5rem;
    border-bottom: 3px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:not(.btn):hover {
    color: #1a1a1a;
    border-bottom-color: var(--accent-color);
}

.navbar-light .btn-nav-cta {
    border: none;
    border-bottom: none;
    padding: 0.5rem 1.5rem;
}

.navbar-light .navbar-toggler {
    border-color: #1a1a1a;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 26, 26, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Alert Banner - 2 columns layout with flexbox */
.alert-banner {
    background: linear-gradient(135deg, #dc3545 0%, #c92a3a 100%);
    color: white;
    padding: 1.5rem 0;
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
}

.alert-icon-col {
    flex-shrink: 0;
}

.alert-icon-col i {
    font-size: 3rem;
    color: white;
}

.alert-text-col {
    text-align: left;
}

.alert-title {
    font-size: 1.25rem;
}

.alert-message {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* SM: adjust spacing */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 140px;
    }

    .hero-widget-wrapper {
        margin-bottom: 4rem;
    }

    .alert-content {
        gap: 1rem;
        padding-top: 0.5rem;
    }

    .alert-icon-col i {
        font-size: 2.5rem;
    }

    .alert-title {
        font-size: 1.15rem;
    }

    .alert-message {
        font-size: 1rem;
    }
}

/* XS: stack vertically */
@media (max-width: 575px) {
    .alert-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .alert-text-col {
        text-align: center;
    }
}

/* Why Book Section */
.why-book-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.reason-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.reason-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b00420 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.reason-icon i {
    font-size: 1.8rem;
    color: white;
}

.reason-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.reason-card p {
    color: #666;
    line-height: 1.8;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: white;
}

.gallery-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.gallery-image:hover {
    transform: scale(1.02);
}

.gallery-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: zoom-in;
}

.gallery-image:hover img {
    transform: scale(1.1);
}

.gallery-image.tall img {
    height: 648px; /* 2 × 300px + 24px gap (g-4) + 24px margin-bottom */
}

/* Collection Section (Stats intégrées) */
.collection-section-inline {
    background: var(--primary-dark);
    border-radius: 20px;
    padding: 3rem;
    color: white;
}

.collection-stat {
    text-align: center;
    padding: 2rem;
}

.collection-stat h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.collection-stat p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.artist-badge {
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-color);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 3px;
    margin: 5px;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: default;
    display: inline-block;
    transition: none;
}

.artist-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: none;
}

/* Booking Section */
.booking-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #143a5c 100%);
    color: white;
}

/* GetYourGuide Widget Container */
.gyg-widget-container {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    min-height: 400px;
}

/* Widget Card */
.widget-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
}

/* Center GetYourGuide and Tiqets widgets */
.widget-sticky > div[data-gyg-href],
.widget-sticky > div[data-tiqets-widget] {
    max-width: 100%;
    margin: 0 auto;
}

/* GetYourGuide widget - mobile margin and center */
.widget-sticky > div[data-gyg-href] {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.why-book-section div[data-gyg-href] {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Tiqets widget - mobile margin and center */
.widget-sticky > div[data-tiqets-widget] {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.why-book-section div[data-tiqets-widget] {
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Desktop - larger margin */
@media (min-width: 992px) {
    .widget-sticky > div[data-gyg-href] {
        margin-top: 8rem;
    }

    .why-book-section div[data-gyg-href] {
        margin-top: 8rem;
    }

    .widget-sticky > div[data-tiqets-widget] {
        margin-top: 6rem;
    }

    .why-book-section div[data-tiqets-widget] {
        margin-top: 6rem;
    }
}

/* Ensure Tiqets iframe content is centered */
.widget-sticky iframe {
    margin: 0 auto;
    display: block;
}

.widget-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 560px;
}

.widget-card h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.widget-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.widget-container {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1rem;
    min-height: 380px;
}

/* Info Section */
.info-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.info-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-stars {
    margin-bottom: 1rem;
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-dark);
}

.testimonial-location {
    color: #888;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--light-bg);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-weight: 600;
    padding: 1.5rem 2rem;
    background: white;
    color: var(--primary-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--accent-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1.5rem 2rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding-top: 120px;
    }

    .hero-widget-wrapper {
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .widget-card {
        max-width: 100%;
    }

    .widget-sticky {
        position: relative;
        top: 0;
    }

    .gallery-image.tall img {
        height: 300px;
    }

    /* Force 2x2 grid for stats on MD */
    .collection-section-inline .row .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Discovery Section */
.discovery-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #f0f4f8 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* === Nearby Section (À proximité) === */
.nearby-section {
    background: white;
}

.nearby-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.nearby-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.nearby-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.nearby-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.25rem;
}

.nearby-distance {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.nearby-card p:last-child {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* === Hébergement Section (Stay22) === */
.hebergement-section {
    background: var(--light-bg);
}

.hebergement-section iframe {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 140px;
    }

    .hero-widget-wrapper {
        margin-bottom: 4rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .collection-stat h3 {
        font-size: 2.5rem;
    }

    .details-content {
        padding: 1rem 0;
        font-size: 0.9rem;
    }

    .details-content h4 {
        font-size: 1.1rem;
    }
}

/* === Mobile Tickets Info === */
.mobile-tickets-info {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.mobile-tickets-info i {
    color: var(--accent-color);
    font-size: 1rem;
}

.hero-section .mobile-tickets-info {
    color: rgba(255, 255, 255, 0.85);
}

.whats-included-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.whats-included-info i {
    color: var(--accent-color);
    font-size: 0.7rem;
    opacity: 0.8;
}

/* === Details/Summary (SEO Content) === */
.details-seo {
    max-width: 900px;
    margin: 2rem auto 0;
}

.details-seo summary {
    cursor: pointer;
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    user-select: none;
    padding: 0.5rem 0;
}

.details-seo summary::-webkit-details-marker {
    display: none;
}

.details-seo summary i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.details-seo[open] summary i {
    transform: rotate(180deg);
}

.details-seo summary:hover {
    color: var(--primary-dark);
}

/* === WCAG 2.2 Contrast Compliance for Dark Sections ===
   Minimum 4.5:1 ratio for normal text on dark backgrounds
   Reference: https://www.w3.org/WAI/WCAG22/Understanding/contrast-minimum.html
*/
.collection-section-inline .details-seo summary {
    color: rgba(255, 255, 255, 0.7); /* ~7:1 ratio on #1a1a1a */
}

.collection-section-inline .details-seo summary:hover {
    color: #ffffff; /* 15.6:1 ratio on #1a1a1a */
}

.collection-section-inline .details-seo summary i {
    color: var(--accent-color);
}

.collection-section-inline .details-content {
    color: rgba(255, 255, 255, 0.85); /* ~11:1 ratio on #1a1a1a */
}

.collection-section-inline .details-content h4 {
    color: #ffffff;
    border-bottom-color: var(--accent-color);
}

.collection-section-inline .details-content strong {
    color: #ffffff;
}

.details-content {
    padding: 1.5rem 0;
    color: #333;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.details-content .lead {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.collection-section .details-content .lead,
.collection-section-inline .details-content .lead {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.details-content h4 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
    text-align: left;
}

.details-content h4:first-child {
    margin-top: 0;
}

.details-content p {
    margin-bottom: 1.2rem;
    text-align: left;
}

.details-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.details-content ul {
    text-align: left;
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.details-content ul li {
    margin-bottom: 0.8rem;
    text-align: left;
}

.details-content ul li strong {
    color: var(--accent-color);
}

/* Scroll animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image Modal/Lightbox */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.image-modal-content {
    position: relative;
    max-width: 800px;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.image-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.image-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    color: #333;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-weight: bold;
    line-height: 1;
}

.image-modal-close:hover {
    background: var(--accent-color);
    color: white;
    transform: rotate(90deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
    }

    .image-modal-close {
        top: 10px;
        right: 10px;
    }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.lang-selector {
    padding: 0.4rem 0.6rem;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-selector:hover {
    background: rgba(0,0,0,0.05);
}

.lang-selector .fi {
    width: 22px;
    height: 22px;
    background-size: cover;
    flex-shrink: 0;
}

.dropdown-item .fi {
    width: 20px;
    height: 20px;
    background-size: cover;
}

.fi.rounded-circle {
    border-radius: 50% !important;
    overflow: hidden;
    display: inline-block;
}

/* Mobile: add spacing between Billetterie button and language selector */
@media (max-width: 991.98px) {
    .lang-dropdown {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lang-dropdown .lang-selector {
        margin-top: 0.75rem;
    }

    /* Center dropdown menu under button */
    .lang-dropdown .dropdown {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lang-dropdown .dropdown-menu.show {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        margin-top: 0.25rem;
    }
}

.lang-dropdown .dropdown-menu {
    min-width: 150px;
}

.lang-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.lang-dropdown .dropdown-item:hover {
    background: var(--light-bg);
}

.lang-dropdown .dropdown-item.active {
    background: var(--accent-color);
    color: white;
}

/* Caret for dropdown */
.lang-selector::after {
    display: inline-block;
    margin-left: 0.3rem;
    vertical-align: 0.15em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}
