/* ==========================================
   1. STYLES DE BASE ET LAYOUT GLOBAL
   ========================================== */
:root {
    --brand: #BF284B;
    --brand-dark: #8f1c39;
    --brand-light: #ff5577;
    --ink: #1a1a1a;
    --muted: #6b7280;
    --surface: #ffffff;
    --bg: #f6f3f4;
    --radius-lg: 16px;
    --radius-md: 10px;
    --shadow-soft: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 24px rgba(191, 40, 75, 0.16);
}

html, body {
    min-height: 100vh; /* Permet le scroll automatique si le contenu dépasse */
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Outfit', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    background-image:
            radial-gradient(circle at 15% 0%, rgba(191, 40, 75, 0.06), transparent 40%),
            radial-gradient(circle at 85% 20%, rgba(191, 40, 75, 0.05), transparent 35%);
    background-attachment: fixed;
}
@font-face {
    font-family: 'Sekuya';
    src: url('Sekuya-Regular.ttf') format('truetype'); /* Remplace par le nom exact de ton fichier */
    font-weight: normal;
    font-style: normal;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(191, 40, 75, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Contrainte stricte sur l'image du logo */
header img {
    width: 80px;        /* Largeur fixe et propre pour le logo */
    max-width: 100%;
    height: auto;       /* Conserve les proportions */
    object-fit: contain;
}

header h2 {
    margin: 0;
    font-family: 'Sekuya', sans-serif;
    font-size: 1.9rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

header a {
    text-decoration: none;
    color: white;
    font-family: 'Sekuya', sans-serif;
}

/* ==========================================
   1bis. BARRE DE RECHERCHE ET FILTRES
   ========================================== */
.search-section {
    max-width: 900px;
    margin: 28px auto 8px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.search-bar-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 2px solid #ecdfe2;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: var(--shadow-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar-wrapper:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(191, 40, 75, 0.12);
}

.search-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--brand);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    color: var(--ink);
    min-width: 0;
}

.search-input::placeholder {
    color: #b3a6a9;
}

.search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: #f1e6e8;
    color: var(--brand-dark);
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.search-clear:hover {
    background: #e6d3d7;
}

.category-chips {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 4px 2px 10px;
    scrollbar-width: thin;
}

.category-chips::-webkit-scrollbar {
    height: 5px;
}

.category-chips::-webkit-scrollbar-thumb {
    background: #e0cdd1;
    border-radius: 10px;
}

.chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 50px;
    border: 2px solid #ecdfe2;
    background: var(--surface);
    color: var(--ink);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.chip:hover {
    border-color: var(--brand-light);
    transform: translateY(-1px);
}

.chip.active {
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(191, 40, 75, 0.28);
}

.search-results-count {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    color: var(--muted);
    height: 0;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.search-results-count.visible {
    height: auto;
    opacity: 1;
}

/* ==========================================
   2. CATALOGUE ET GRILLE DE PRODUITS
   ========================================== */
.category-heading {
    max-width: 1400px;
    margin: 40px auto 18px;
    padding: 0 30px 0 34px !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    scroll-margin-top: 90px;
}

.category-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 5px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--brand), var(--brand-light));
}

.catalogue {
    display: grid;
    /* Adapte automatiquement le nombre de cartes par ligne selon l'écran */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

.produits {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid #eee2e4;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    animation: fadeInUp 0.4s ease both;
}

.produits:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: #f3d3da;
}

.produits img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.08));
}

.center {
    font-family: "Space Mono", monospace;
    text-align: center;
    margin: 5px 0;
    padding: 0;
    color: var(--ink);
    font-size: 15px;
    letter-spacing: 0.3px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

p {
    font-family: "Outfit", sans-serif;
    text-align: center;
    padding: 5px;
    margin: 0;
}

/* Boutons d'achat du catalogue */
button.commander {
    width: 100%;
    padding: 11px 20px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.3px;
    cursor: pointer;
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
    color: white;
    border: none;
    border-radius: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 12px;
    box-shadow: 0 4px 10px rgba(191, 40, 75, 0.25);
}

button.commander:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(191, 40, 75, 0.35);
}

button.commander:active {
    transform: translateY(0);
}

/* ==========================================
   3. MODALE / POP-UP (dialog)
   ========================================== */
dialog.product-modal {
    border: none;
    border-radius: 16px;
    padding: 25px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh; /* Empêche la modale de dépasser de l'écran */
    overflow-y: auto;  /* Ajoute un scroll interne si besoin */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
}

dialog.product-modal::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content h2 {
    margin: 0;
    font-size: 22px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-details-wrapper {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
}

.modal-content img {
    width: 120px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.specs-grid p {
    margin: 0;
    font-size: 15px;
    color: #555;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.specs-grid p strong {
    color: #1a1a1a;
}

.specs-grid p .highlight-price {
    color: #800020;
    font-size: 18px;
    font-weight: bold;
}

/* ==========================================
   4. FORMULAIRE ET PAIEMENT DANS LA MODALE
   ========================================== */
.payment-section {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #eee;
}

.payment-section h3 {
    margin: 0 0 10px 0;
    font-size: 13.5px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--brand, #BF284B), var(--brand-dark, #8f1c39));
    color: white;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 7px;
    vertical-align: middle;
}

.payment-select-wrapper {
    position: relative;
    width: 100%;
}

.payment-select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
}

.payment-select:hover {
    border-color: #b0b0b0;
    background-color: #fafafa;
}

.payment-select:focus {
    border-color: #800020;
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.payment-select-wrapper::after {
    content: "▼";
    font-size: 10px;
    color: #888;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.whatsapp-input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.whatsapp-prefix {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    font-weight: bold;
    color: #555;
    user-select: none;
    white-space: nowrap;
}

.whatsapp-input-group .whatsapp-input {
    border-radius: 0 6px 6px 0;
    flex: 1;
    min-width: 0;
}

.whatsapp-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.whatsapp-input:focus {
    border-color: #25D366;
    box-shadow: 0 0 5px rgba(37, 211, 102, 0.2);
}

.upload-container {
    margin-top: 10px;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background-color: #fff;
    border: 2px dashed #007bff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
}

.upload-label:hover {
    background-color: #f0f7ff;
    border-color: #0056b3;
    color: #0056b3;
}

.terms-container {
    background-color: #fff8f8;
    padding: 10px;
    border-left: 3px solid #800020;
    border-radius: 4px;
}

.terms-label strong {
    color: #800020;
}

/* ==========================================
   5. BOUTONS D'ACTION EN BAS DE LA MODALE
   ========================================== */
.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.close-btn {
    flex: 1;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.close-btn:hover {
    background-color: #5a6268;
}

.confirm-payment-btn, .confirm-btn {
    flex: 2;
    padding: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.confirm-payment-btn:hover, .confirm-btn:hover {
    background-color: #218838;
}


@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empile le logo et le titre sur très petit écran */
        text-align: center;
        gap: 8px;
    }

    header img {
        width: 60px; /* Logo légèrement réduit sur mobile */
    }

    header h2 {
        font-size: 1.4rem;
    }

    /* Sur mobile, on réduit le padding des titres de section */
    .category-heading {
        padding-left: 18px !important;
        font-size: 1.15rem;
    }

    .search-section {
        margin-top: 18px;
    }

    .search-bar-wrapper {
        padding: 10px 16px;
    }
}

/* ==========================================
   4bis. SECTION AVIS CLIENTS
   ========================================== */
.reviews-section {
    max-width: 1300px;
    margin: 20px auto 50px;
    padding: 0 30px;
}

.reviews-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 26px;
    text-align: center;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--surface);
    border: 1px solid #eee2e4;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    box-shadow: var(--shadow-soft);
}

.reviews-score {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--brand);
}

.reviews-summary-details p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--muted);
    text-align: left;
    padding: 0;
}

.stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 2px;
}

.reviews-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.reviews-track::-webkit-scrollbar {
    height: 6px;
}

.reviews-track::-webkit-scrollbar-thumb {
    background: #e0cdd1;
    border-radius: 10px;
}

.review-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--surface);
    border: 1px solid #eee2e4;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.review-name {
    margin: 0 0 2px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    text-align: left;
    padding: 0;
}

.review-text {
    font-family: 'Outfit', sans-serif;
    font-size: 13.5px;
    color: #444;
    text-align: left;
    line-height: 1.5;
    padding: 0;
    margin: 0 0 14px;
}

.review-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--brand-dark);
    background: #fbeaee;
    border-radius: 50px;
    padding: 4px 12px;
}

@media (max-width: 768px) {
    .review-card {
        flex-basis: 240px;
    }

    .reviews-header {
        flex-direction: column;
        gap: 12px;
    }
}

footer {
    width: 100%;
    text-align: center;
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #9e1f3d;
    padding-bottom: 12px;
    color: white;
    gap: 12px;
}

footer a {
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
}

footer a:hover {
    text-decoration: 3px white;

}

.payment-methods {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.payment-method-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 8px;
    border: 2px solid #ced4da;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.payment-method-btn:hover {
    background: #eef1f4;
}
.payment-method-btn.selected {
    border-color: #28a745;
    background: #eaf7ee;
}
.payment-icon-wrap {
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.whatsapp-float-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 999;
    transition: transform 0.15s ease;
}
.whatsapp-float-btn:hover {
    transform: scale(1.08);
}
.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
}
.trust-section {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 24px 20px;
    margin-bottom: 10px;
}
.trust-card {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.09);
}
.trust-card .trust-icon {
    font-size: 28px;
    margin-bottom: 8px;
}
.trust-card h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #222;
}
.trust-card p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}
.trust-card.promo {
    background: #fff5f5;
    border-color: #a5142a;
}
.trust-card.promo strong {
    color: #a5142a;
}
.payment-number-display {
    margin: 0 0 8px 0;
    padding: 8px 10px;
    background: #eaf7ee;
    border: 1px solid #28a745;
    border-radius: 6px;
    font-size: 13px;
    font-weight: bold;
    color: #1e7e34;
    text-align: center;
}

/* ==========================================
   6. AMÉLIORATIONS DE LA MODALE DE PAIEMENT
   ========================================== */
.copy-number-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin: 0 0 15px 0;
    padding: 8px 10px;
    background: #fff;
    border: 1px dashed #bcbcbc;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    transition: all 0.15s ease;
}

.copy-number-btn:hover {
    border-color: var(--brand, #BF284B);
    color: var(--brand, #BF284B);
    background: #fff5f7;
}

.whatsapp-container label {
    display: flex;
    align-items: center;
    gap: 6px;
}

.upload-label .upload-text {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.remove-screenshot-btn {
    margin-left: 10px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #a5142a;
    background: #fff0f2;
    border: 1px solid #f3c6cd;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.remove-screenshot-btn:hover {
    background: #fddde2;
}

.preview-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.modal-status {
    display: none;
    margin: 4px 0 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

.modal-status.visible {
    display: block;
}

.modal-status.error {
    background: #fdecee;
    color: #a5142a;
    border: 1px solid #f3c6cd;
}

.modal-status.success {
    background: #eaf7ee;
    color: #1e7e34;
    border: 1px solid #b7e3c3;
}

.confirm-payment-btn .btn-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    animation: spin 0.7s linear infinite;
}

.confirm-payment-btn.loading {
    cursor: not-allowed;
    opacity: 0.85;
}

.confirm-payment-btn.loading .btn-spinner {
    display: inline-block;
}

.confirm-payment-btn.loading .btn-text::after {
    content: "...";
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================
   Sélecteur du pays de la carte (Espagne / France)
   ========================================== */
.country-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    padding: 6px 32px 6px 12px;
    border: 1.5px solid #ccc;
    border-radius: var(--radius-md);
    background-color: var(--surface);
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    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='%236b7280' stroke-width='2.5' 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 8px center;
    background-size: 15px;
}

.country-select:hover {
    border-color: var(--brand-light);
}

.country-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(191, 40, 75, 0.15);
}

/* Tant qu'aucun pays n'est choisi, le texte reste discret pour bien
   montrer que c'est un champ à remplir (comme un placeholder) */
.country-select:invalid {
    color: var(--muted);
    border-color: var(--brand-light);
}

.country-select option {
    color: var(--ink);
    font-weight: 600;
}

.country-select option[value=""] {
    color: var(--muted);
}