/**
 * Gloria Balensi - Account Popup CSS
 * Style Etam pour le popup de connexion/inscription
 */

/* ========== VARIABLES ========== */
:root {
    --gb-primary: #f5b12d;
    --gb-primary-dark: #e09800;
    --gb-text: #333;
    --gb-text-light: #666;
    --gb-text-muted: #999;
    --gb-border: #ddd;
    --gb-border-light: #eee;
    --gb-background: #fff;
    --gb-background-light: #f8f8f8;
    --gb-error: #cc0000;
    --gb-error-bg: #fff5f5;
    --gb-success: #22c55e;
    --gb-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== UTILITAIRES ========== */
.gb-hidden {
    display: none !important;
}

.gb-show {
    display: block !important;
}

/* ========== POSITIONNEMENT HEADER ========== */
/* Positionner le bouton compte AVANT le panier dans le header */

/* S'assurer que le parent utilise flexbox avec wrap */
#header .header-nav .row,
#header .header-top .row,
.header-nav .right-nav {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
}

/* Style du wrapper de notre bouton */
.gb-nav-account-btn-wrapper {
    order: 10 !important;
    display: flex;
    align-items: center;
}

/* Le panier doit être après notre bouton */
#_desktop_cart,
.blockcart,
#header .blockcart {
    order: 20 !important;
}

/* Sélecteur de langue - avant tout */
#_desktop_language_selector,
.language-selector {
    order: 1 !important;
}

/* Sélecteur de devise - après langue */
#_desktop_currency_selector,
.currency-selector {
    order: 2 !important;
}

/* ========== BOUTON MOBILE ========== */
/* Le bouton mobile est un clone du bouton desktop */

/* Masquer le clone sur desktop */
.gb-nav-account-btn-mobile {
    display: none !important;
}

@media (max-width: 991px) {
    /* Masquer le bouton original sur mobile (il est dans hidden-sm-down) */
    /* Le clone prend le relais */
    
    /* Afficher le clone sur mobile */
    .gb-nav-account-btn-mobile {
        display: block !important;
    }
    
    .gb-nav-account-btn-mobile .gb-nav-account-btn {
        background: none;
        border: none;
        padding: 0 5px;
        height: 50px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    
    .gb-nav-account-btn-mobile .gb-nav-account-btn svg {
        width: 26px;
        height: 26px;
        color: #7a7a7a;
        stroke: #7a7a7a;
    }
    
    .gb-nav-account-btn-mobile .gb-nav-account-btn:hover svg {
        color: #232323;
        stroke: #232323;
    }
    
    /* Masquer le prénom sur mobile */
    .gb-nav-account-btn-mobile .gb-nav-account-name {
        display: none;
    }
}

/* ========== OVERLAY ========== */
.gb-account-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 99999 !important;
    display: none;
    justify-content: flex-end !important;
    align-items: stretch !important;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gb-account-popup-overlay.gb-show {
    display: flex !important;
    opacity: 1;
}

/* ========== POPUP PRINCIPAL ========== */
.gb-account-popup {
    width: 480px;
    max-width: 100%;
    height: 100%;
    background: var(--gb-background);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    position: relative;
    margin-left: auto !important;
    margin-right: 0 !important;
}

.gb-account-popup-overlay.gb-show .gb-account-popup {
    transform: translateX(0);
}

/* ========== HEADER POPUP ========== */
.gb-account-popup-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 25px;
    position: sticky;
    top: 0;
    background: var(--gb-background);
    z-index: 10;
}

.gb-account-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gb-text);
    padding: 5px;
    line-height: 1;
    transition: color 0.2s ease;
}

.gb-account-popup-close:hover {
    color: var(--gb-primary);
}

/* ========== ONGLETS ========== */
.gb-account-tabs {
    display: flex;
    border-bottom: 1px solid var(--gb-border-light);
    margin: 0 25px;
}

.gb-account-tab {
    flex: 1;
    padding: 15px 20px;
    font-family: var(--gb-font);
    font-size: 15px;
    font-weight: 500;
    color: var(--gb-text-muted);
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.gb-account-tab:hover {
    color: var(--gb-text);
}

.gb-account-tab.active {
    color: var(--gb-text);
    font-weight: 600;
}

.gb-account-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gb-text);
}

/* ========== CONTENU ONGLETS ========== */
.gb-account-tab-content {
    display: none;
    padding: 25px;
}

.gb-account-tab-content.active {
    display: block;
}

/* ========== TITRE SECTION ========== */
.gb-account-section-title {
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gb-text);
    margin-bottom: 15px;
}

/* ========== BANNIÈRE PROMO ========== */
.gb-account-promo-banner {
    background: var(--gb-error-bg);
    border-radius: 0;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.gb-promo-icon {
    font-size: 20px;
}

.gb-promo-text {
    font-family: var(--gb-font);
    font-size: 14px;
}

.gb-promo-text strong {
    color: var(--gb-primary);
    display: block;
}

.gb-promo-text span {
    color: var(--gb-text-light);
    font-size: 13px;
}

/* ========== MESSAGE D'ERREUR ========== */
.gb-account-error {
    background: var(--gb-error-bg);
    border: 1px solid #ffcccc;
    color: var(--gb-error);
    padding: 12px 15px;
    border-radius: 0;
    font-family: var(--gb-font);
    font-size: 13px;
    margin-bottom: 15px;
    display: none;
}

.gb-account-error.gb-show {
    display: block;
}

/* ========== FORMULAIRE ========== */
.gb-account-form-group {
    margin-bottom: 20px;
}

.gb-account-form-group label {
    display: block;
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text);
    margin-bottom: 8px;
}

.gb-required {
    color: var(--gb-primary);
}

.gb-account-form-group input[type="text"],
.gb-account-form-group input[type="email"],
.gb-account-form-group input[type="password"],
.gb-account-form-group input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gb-border);
    border-radius: 0;
    font-family: var(--gb-font);
    font-size: 14px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.gb-account-form-group input:focus {
    outline: none;
    border-color: var(--gb-primary);
}

.gb-account-form-group input::placeholder {
    color: #aaa;
}

.gb-form-hint {
    font-family: var(--gb-font);
    font-size: 11px;
    color: var(--gb-text-muted);
    margin-top: 5px;
    display: block;
}

/* ========== CHAMP MOT DE PASSE ========== */
.gb-password-input-wrapper {
    position: relative;
}

.gb-password-input-wrapper input {
    padding-right: 45px;
}

.gb-password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gb-text-muted);
    padding: 0;
}

.gb-password-toggle:hover {
    color: var(--gb-text);
}

/* ========== CIVILITÉ ========== */
.gb-civilite-options {
    display: flex;
    gap: 20px;
}

.gb-civilite-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gb-civilite-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gb-primary);
}

.gb-civilite-option label {
    margin-bottom: 0;
    cursor: pointer;
}

/* ========== CHECKBOX ========== */
.gb-account-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.gb-account-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--gb-primary);
}

.gb-account-checkbox label {
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text-light);
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.gb-account-checkbox label a {
    color: var(--gb-text);
    text-decoration: underline;
}

.gb-account-checkbox label a:hover {
    color: var(--gb-primary);
}

/* ========== LIEN MOT DE PASSE OUBLIÉ ========== */
.gb-forgot-password {
    display: block;
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text);
    text-decoration: underline;
    margin-bottom: 25px;
}

.gb-forgot-password:hover {
    color: var(--gb-primary);
}

/* ========== BOUTON SUBMIT ========== */
.gb-account-submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--gb-text);
    color: var(--gb-background);
    border: none;
    border-radius: 0;
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gb-account-submit-btn:hover {
    background: var(--gb-primary);
}

.gb-account-submit-btn:disabled {
    background: var(--gb-border);
    cursor: not-allowed;
}

/* ========== LOADER BOUTON ========== */
.gb-spinner {
    animation: gb-spin 1s linear infinite;
}

@keyframes gb-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========== SÉPARATEUR ========== */
.gb-account-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.gb-account-divider::before,
.gb-account-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gb-border-light);
}

.gb-account-divider span {
    padding: 0 15px;
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text-muted);
}

/* ========== BOUTONS SOCIAUX ========== */
.gb-social-desc {
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text-light);
    margin-bottom: 15px;
}

.gb-social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.gb-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid var(--gb-border);
    border-radius: 0;
    background: var(--gb-background);
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-social-btn:hover {
    border-color: var(--gb-text);
    background: #fafafa;
}

.gb-social-btn img,
.gb-social-btn svg {
    width: 20px;
    height: 20px;
}

/* ========== ZONE CONNECTÉ ========== */
.gb-account-logged-in {
    display: none;
}

.gb-account-logged-in.gb-show {
    display: block;
}

/* ========== BIENVENUE ========== */
.gb-account-welcome {
    padding: 0 25px 20px;
}

.gb-account-welcome h2 {
    font-family: var(--gb-font);
    font-size: 22px;
    font-weight: 600;
    color: var(--gb-text);
    margin: 0;
}

/* ========== CARTE PROMO CONNECTÉ ========== */
.gb-account-promo-card {
    margin: 0 25px 20px;
    background: linear-gradient(135deg, var(--gb-primary) 0%, var(--gb-primary-dark) 100%);
    border-radius: 0;
    padding: 25px;
    color: var(--gb-background);
}

.gb-promo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.gb-promo-emoji {
    font-size: 32px;
}

.gb-promo-value {
    font-family: var(--gb-font);
    font-size: 24px;
    font-weight: 700;
}

.gb-promo-label {
    font-family: var(--gb-font);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gb-promo-desc {
    font-family: var(--gb-font);
    font-size: 13px;
    margin-bottom: 15px;
}

.gb-promo-code-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 12px;
    text-align: center;
    font-family: var(--gb-font);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ========== MENU COMPTE ========== */
.gb-account-menu-simple {
    list-style: none;
    padding: 0;
    margin: 0 25px 25px;
    background: var(--gb-background);
    border: 1px solid var(--gb-border-light);
    border-radius: 0;
    overflow: hidden;
}

.gb-account-menu-simple li {
    border-bottom: 1px solid var(--gb-border-light);
}

.gb-account-menu-simple li:last-child {
    border-bottom: none;
}

.gb-account-menu-simple li a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    font-family: var(--gb-font);
    font-size: 14px;
    color: var(--gb-text);
    text-decoration: none;
    transition: background 0.2s ease;
}

.gb-account-menu-simple li a:hover {
    background: var(--gb-background-light);
}

.gb-account-menu-simple li a svg {
    width: 20px;
    height: 20px;
    stroke: var(--gb-text-light);
    fill: none;
    margin-right: 12px;
    flex-shrink: 0;
}

.gb-account-menu-simple li a .gb-menu-badge {
    margin-left: auto;
    background: var(--gb-primary);
    color: var(--gb-background);
    padding: 2px 8px;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
}

/* ========== BOUTON DÉCONNEXION ========== */
.gb-account-logout-btn {
    display: block;
    width: calc(100% - 50px);
    margin: 0 25px 25px;
    padding: 14px;
    background: var(--gb-background);
    border: 1px solid var(--gb-border);
    border-radius: 0;
    font-family: var(--gb-font);
    font-size: 14px;
    color: var(--gb-text-light);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gb-account-logout-btn:hover {
    border-color: var(--gb-text);
    color: var(--gb-text);
}

/* ========== TOAST SUCCÈS ========== */
.gb-account-success-toast {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gb-background);
    border-radius: 0 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
    z-index: 100001;
    transition: bottom 0.3s ease;
    width: 100%;
    max-width: 480px;
    display: none;
}

.gb-account-success-toast.gb-show {
    display: block;
    bottom: 0;
}

.gb-success-icon {
    width: 50px;
    height: 50px;
    background: var(--gb-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.gb-success-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--gb-background);
    fill: none;
}

.gb-account-success-toast p {
    font-family: var(--gb-font);
    font-size: 16px;
    font-weight: 500;
    color: var(--gb-text);
    margin: 0 0 20px;
}

.gb-success-btn {
    background: var(--gb-text);
    color: var(--gb-background);
    border: none;
    border-radius: 0;
    padding: 14px 30px;
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gb-success-btn:hover {
    background: var(--gb-primary);
}

/* ========== ENCART RAPPEL PROFIL ========== */
.gb-profile-reminder {
    border: 2px solid #f5d77e;
    border-radius: 0;
    padding: 20px;
    margin-bottom: 20px;
    background: #fffbeb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gb-profile-reminder.gb-hidden {
    display: none !important;
}

.gb-profile-reminder-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.gb-profile-reminder-text {
    flex: 1;
    line-height: 1.4;
}

.gb-profile-reminder-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gb-profile-reminder-text span {
    font-size: 13px;
    color: #666;
}

.gb-profile-reminder-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    flex-shrink: 0;
    border-radius: 0;
    transition: all 0.2s ease;
}

.gb-profile-reminder-close:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.gb-profile-reminder-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gb-profile-reminder-field {
    display: block;
}

.gb-profile-reminder-field.gb-hidden {
    display: none !important;
}

.gb-profile-reminder-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: left;
}

.gb-profile-reminder-field .gb-form-hint {
    display: block;
    font-size: 11px;
    margin-top: 6px;
    font-style: italic;
    color: #888;
}

.gb-profile-reminder .gb-birthday-selects {
    display: flex;
    gap: 6px;
}

.gb-profile-reminder .gb-birthday-selects .gb-select {
    flex: 1;
    padding: 10px 6px;
    font-size: 13px;
    border: 2px solid #ccc;
    border-radius: 0;
    background: #fff;
    color: #333 !important;
    cursor: pointer;
    transition: border-color 0.2s ease;
    font-weight: 500;
    min-width: 0;
}

/* Jour = petit, Mois = large, Année = moyen */
.gb-profile-reminder .gb-birthday-selects .gb-select:nth-child(1) { flex: 0.8; }
.gb-profile-reminder .gb-birthday-selects .gb-select:nth-child(2) { flex: 1.4; }
.gb-profile-reminder .gb-birthday-selects .gb-select:nth-child(3) { flex: 1; }

.gb-profile-reminder .gb-birthday-selects .gb-select option {
    color: #333 !important;
}

.gb-profile-reminder .gb-birthday-selects .gb-select:focus {
    outline: none;
    border-color: #f5b12d;
}

.gb-input-small {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    font-family: var(--gb-font);
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.gb-input-small:focus {
    outline: none;
    border-color: #f5b12d;
}

.gb-input-small::placeholder {
    color: #999;
}

.gb-profile-reminder-btn {
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
}

.gb-profile-reminder-btn:hover {
    opacity: 0.9;
}

.gb-profile-reminder-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

/* ========== BOUTON NAVIGATION ========== */
.gb-nav-account-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gb-text);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.gb-nav-account-btn:hover {
    color: var(--gb-primary);
}

.gb-nav-account-btn svg {
    width: 20px;
    height: 20px;
}

.gb-nav-account-name {
    font-family: var(--gb-font);
    font-size: 13px;
    font-weight: 500;
}

/* ========== RESPONSIVE MOBILE ========== */
@media (max-width: 768px) {
    .gb-account-popup {
        width: 100%;
    }
    
    .gb-account-popup-header {
        padding: 15px 20px;
    }
    
    .gb-account-popup-header::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 40px;
        height: 4px;
        background: var(--gb-border);
        border-radius: 2px;
    }
    
    .gb-account-popup-close {
        font-size: 24px;
    }
    
    .gb-account-tabs {
        margin: 0 15px;
    }
    
    .gb-account-tab {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .gb-account-tab-content {
        padding: 20px 15px;
    }
    
    .gb-social-buttons {
        flex-direction: column;
    }
    
    .gb-account-form-group input {
        padding: 12px 14px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .gb-account-submit-btn {
        padding: 14px;
    }
    
    .gb-account-welcome {
        padding: 0 15px 15px;
    }
    
    .gb-account-promo-card {
        margin: 0 15px 15px;
        padding: 20px;
    }
    
    .gb-account-menu-simple {
        margin: 0 15px 15px;
    }
    
    .gb-account-logout-btn {
        width: calc(100% - 30px);
        margin: 0 15px 15px;
    }
}

/* ========== COMPATIBILITÉ PRESTAHERO SOCIAL LOGIN ========== */
.gb-social-buttons .ph-sociallogin-btn,
.gb-social-buttons [class*="sociallogin"] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid var(--gb-border);
    border-radius: 0 !important;
    background: var(--gb-background);
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-social-buttons .ph-sociallogin-btn:hover,
.gb-social-buttons [class*="sociallogin"]:hover {
    border-color: var(--gb-text);
    background: #fafafa;
}

/* ========== ANIMATIONS ========== */
@keyframes gb-slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes gb-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========== DATE DE NAISSANCE ========== */
.gb-birthday-selects {
    display: flex;
    gap: 10px;
}

.gb-birthday-selects .gb-select {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--gb-border);
    border-radius: 0;
    font-family: var(--gb-font);
    font-size: 14px;
    color: #333 !important;
    background: var(--gb-background);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.gb-birthday-selects .gb-select:focus {
    outline: none;
    border-color: var(--gb-primary);
}

.gb-birthday-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gb-primary);
    margin-top: 8px;
}

.gb-birthday-hint svg {
    stroke: var(--gb-primary);
}

.gb-optional {
    color: var(--gb-text-muted);
    font-weight: 400;
    font-size: 12px;
}

/* ========== MODAL COMPLÉTION PROFIL ========== */
.gb-profile-complete-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 480px;
    max-width: 100%;
    height: 100%;
    background: var(--gb-background);
    z-index: 10002;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    animation: gb-slideInRight 0.3s ease;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.gb-profile-complete-modal.gb-show {
    display: flex;
}

.gb-profile-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--gb-border);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gb-text-muted);
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gb-profile-modal-close:hover {
    background: var(--gb-background-light);
    color: var(--gb-text);
}

.gb-profile-complete-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding-top: 20px;
}

.gb-profile-complete-header {
    text-align: center;
    padding: 40px 30px 30px;
    background: linear-gradient(135deg, #fef9e7 0%, #fdeaa8 100%);
    border-bottom: 1px solid rgba(245, 177, 45, 0.2);
    margin-top: 40px;
}

.gb-profile-emoji {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
    animation: gb-bounce 0.6s ease;
}

@keyframes gb-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gb-profile-complete-header h3 {
    font-family: var(--gb-font);
    font-size: 24px;
    font-weight: 600;
    color: var(--gb-text);
    margin: 0 0 10px;
}

.gb-profile-complete-header p {
    font-family: var(--gb-font);
    font-size: 15px;
    color: var(--gb-text-light);
    margin: 0;
}

.gb-profile-complete-body {
    padding: 30px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gb-profile-subtitle {
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    margin: 0 0 20px;
    text-align: center;
}

.gb-profile-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid var(--gb-border);
    border-radius: 12px;
}

.gb-profile-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--gb-font);
    font-size: 14px;
    color: var(--gb-text);
}

.gb-benefit-icon {
    font-size: 22px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gb-profile-complete-body .gb-account-form-group {
    margin-bottom: 0;
}

.gb-profile-complete-body .gb-account-form-group label {
    font-weight: 500;
    margin-bottom: 8px;
}

.gb-profile-complete-body .gb-account-form-group input {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 8px;
}

.gb-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 25px;
}

.gb-profile-actions .gb-account-submit-btn {
    border-radius: 8px;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
}

.gb-profile-skip-btn {
    background: none;
    border: none;
    font-family: var(--gb-font);
    font-size: 14px;
    color: var(--gb-text-muted);
    cursor: pointer;
    padding: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
    text-align: center;
}

.gb-profile-skip-btn:hover {
    color: var(--gb-text);
    text-decoration: underline;
}

/* ========== RESPONSIVE MODAL ========== */
@media (max-width: 768px) {
    .gb-profile-complete-modal {
        width: 100%;
    }
    
    .gb-profile-complete-content {
        padding-top: 15px;
    }
    
    .gb-profile-complete-header {
        padding: 30px 20px 25px;
        margin-top: 35px;
    }
    
    .gb-profile-emoji {
        font-size: 48px;
    }
    
    .gb-profile-complete-header h3 {
        font-size: 22px;
    }
    
    .gb-profile-complete-body {
        padding: 25px 20px;
    }
    
    .gb-profile-benefits {
        padding: 16px 20px;
    }
    
    .gb-birthday-selects {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    
    .gb-birthday-selects .gb-select {
        min-width: 0;
        padding: 12px 8px;
        padding-right: 28px;
        font-size: 13px;
        color: #333 !important;
        background-position: right 6px center;
    }
}

/* ========== SOCIAL LOGIN BUTTONS ========== */
.gb-social-section {
    margin-bottom: 10px;
}

.gb-social-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.gb-social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border: 1px solid var(--gb-border);
    background: var(--gb-background);
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gb-social-btn:hover {
    background: var(--gb-background-light);
    text-decoration: none;
    color: var(--gb-text);
}

.gb-social-btn svg {
    flex-shrink: 0;
}

/* Google button */
.gb-social-btn.gb-social-google {
    background: #fff;
    border-color: #dadce0;
}

.gb-social-btn.gb-social-google:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

/* Apple button */
.gb-social-btn.gb-social-apple {
    background: #000;
    color: #fff;
    border-color: #000;
}

.gb-social-btn.gb-social-apple:hover {
    background: #333;
    color: #fff;
}

.gb-social-desc {
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text-muted);
    margin: 0 0 15px;
}

/* Responsive social buttons */
@media (max-width: 480px) {
    .gb-social-buttons {
        flex-direction: column;
    }
    
    .gb-social-btn {
        width: 100%;
    }
}

/* ========== SELECTEURS LANGUE / DEVISE ========== */
.gb-account-popup-overlay .gb-locale-selectors {
    display: flex !important;
    gap: 15px !important;
    margin: 20px 25px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--gb-border-light) !important;
    flex-direction: row !important;
}

.gb-account-popup-overlay .gb-locale-selectors.gb-locale-guest {
    margin-top: 25px !important;
    padding-top: 25px !important;
}

.gb-account-popup-overlay .gb-locale-selector {
    flex: 1 !important;
    min-width: 0 !important;
}

.gb-account-popup-overlay .gb-locale-selector label {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-family: var(--gb-font) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--gb-text-muted) !important;
    margin-bottom: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
}

.gb-account-popup-overlay .gb-locale-selector label svg {
    width: 14px !important;
    height: 14px !important;
    stroke: var(--gb-text-muted) !important;
    fill: none !important;
    flex-shrink: 0 !important;
}

.gb-account-popup-overlay .gb-locale-selector select {
    width: 100% !important;
    padding: 10px 30px 10px 12px !important;
    font-family: var(--gb-font) !important;
    font-size: 14px !important;
    color: var(--gb-text) !important;
    background-color: var(--gb-background) !important;
    border: 1px solid var(--gb-border) !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    transition: border-color 0.2s ease !important;
    height: auto !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.gb-account-popup-overlay .gb-locale-selector select:hover {
    border-color: var(--gb-primary) !important;
}

.gb-account-popup-overlay .gb-locale-selector select:focus {
    outline: none !important;
    border-color: var(--gb-primary) !important;
}

/* Responsive */
@media (max-width: 400px) {
    .gb-account-popup-overlay .gb-locale-selectors {
        flex-direction: column !important;
        gap: 15px !important;
    }
}

/* ========== ENCARTS AVANTAGES ========== */
.gb-advantages-section {
    margin: 20px 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gb-border-light);
}

.gb-advantages-header {
    margin-bottom: 15px;
}

.gb-advantages-title {
    font-family: var(--gb-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--gb-text);
    margin: 0 0 5px;
}

.gb-advantages-subtitle {
    font-family: var(--gb-font);
    font-size: 13px;
    color: var(--gb-text-muted);
    margin: 0;
}

.gb-advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gb-advantage-card {
    background: var(--gb-background);
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gb-advantage-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.gb-advantage-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.gb-advantage-image {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.gb-advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gb-advantage-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--badge-bg, #d4a039);
    color: var(--badge-text, #ffffff);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 0;
}

.gb-advantage-content {
    padding: 10px;
}

.gb-advantage-card-title {
    font-family: var(--gb-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--gb-text);
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-advantage-desc {
    font-family: var(--gb-font);
    font-size: 11px;
    color: var(--gb-text-muted);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gb-advantages-cta {
    display: block;
    margin-top: 15px;
    padding: 12px;
    text-align: center;
    background: var(--gb-background);
    border: 1px solid var(--gb-border);
    border-radius: 4px;
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--gb-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.gb-advantages-cta:hover {
    background: var(--gb-background-light);
    border-color: var(--gb-primary);
    color: var(--gb-primary);
}

/* Responsive avantages */
@media (max-width: 400px) {
    .gb-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .gb-advantage-image {
        height: 120px;
    }
}

/* ========== RAPPEL PANIER ========== */
.gb-cart-reminder {
    --cart-bg: #fef9f3;
    --cart-border: #f0e6d8;
    --cart-btn-bg: #d4a039;
    --cart-btn-text: #ffffff;
    margin: 20px 25px;
    padding: 15px;
    background: var(--cart-bg);
    border: 1px solid var(--cart-border);
}

.gb-cart-reminder-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.gb-cart-icon {
    width: 28px;
    height: 28px;
    stroke: var(--cart-btn-bg);
    fill: none;
    flex-shrink: 0;
}

.gb-cart-reminder-info {
    flex: 1;
}

.gb-cart-title {
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--gb-text);
    margin: 0 0 2px;
}

.gb-cart-count {
    font-family: var(--gb-font);
    font-size: 12px;
    color: var(--gb-text-muted);
}

.gb-cart-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.gb-cart-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--gb-background);
}

.gb-cart-product-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    flex-shrink: 0;
}

.gb-cart-product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.gb-cart-product-placeholder svg {
    width: 24px;
    height: 24px;
    stroke: #ccc;
    fill: none;
}

.gb-cart-product-info {
    flex: 1;
    min-width: 0;
}

.gb-cart-product-name {
    display: block;
    font-family: var(--gb-font);
    font-size: 12px;
    font-weight: 500;
    color: var(--gb-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gb-cart-product-price {
    font-family: var(--gb-font);
    font-size: 11px;
    color: var(--gb-text-muted);
}

.gb-cart-more {
    font-family: var(--gb-font);
    font-size: 12px;
    color: var(--gb-text-muted);
    text-align: center;
    padding: 5px;
    font-style: italic;
}

.gb-cart-cta {
    display: block;
    padding: 12px;
    text-align: center;
    background: var(--cart-btn-bg);
    color: var(--cart-btn-text);
    font-family: var(--gb-font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.gb-cart-cta:hover {
    opacity: 0.9;
    color: var(--cart-btn-text);
}
