/* ===================================
   LAB ELLA - LOGIN ULTRA-MODERNE
   Layout amélioré + Responsive parfait
   =================================== */

:root {
    --cream: #FAF9F6;
    --dark: #333333;
    --rose: #F9E4E6;
    --gold: #E8C7A7;
    --gold-dark: #D4A574;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-luxury: rgba(232, 199, 167, 0.3);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ===== CONTENEUR PRINCIPAL ULTRA-MODERNE ===== */
.lab-ella-auth-container {
    max-width: 500px;
    margin: 40px auto;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    border-radius: var(--border-radius);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.12),
        0 12px 40px rgba(232, 199, 167, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.lab-ella-auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--rose) 0%, 
        var(--gold) 25%, 
        var(--gold-dark) 50%, 
        var(--gold) 75%, 
        var(--rose) 100%);
    background-size: 300% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 300% 0; }
    50% { background-position: -300% 0; }
}

/* ===== ONGLETS ULTRA-ÉLÉGANTS ===== */
.lab-ella-auth-tabs {
    display: flex;
    background: linear-gradient(135deg, var(--cream) 0%, #f8f6f3 100%);
    border-bottom: 1px solid rgba(232, 199, 167, 0.2);
    position: relative;
}

.lab-ella-auth-tab {
    flex: 1;
    padding: 24px 20px;
    text-align: center;
    background: transparent;
    border: none;
    color: #8B7355;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    text-transform: uppercase;
}

.lab-ella-auth-tab.active {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    color: var(--dark);
    box-shadow: 
        0 -6px 25px rgba(232, 199, 167, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lab-ella-auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    right: 25%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 -3px 12px rgba(232, 199, 167, 0.5);
}

.lab-ella-auth-tab:hover:not(.active) {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(254, 254, 254, 0.8) 100%);
    color: var(--dark);
    transform: translateY(-1px);
}

/* ===== CONTENU OPTIMISÉ ===== */
.lab-ella-auth-content {
    padding: 45px 40px;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    position: relative;
}

.lab-ella-auth-panel {
    display: none;
    animation: luxuryFadeIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lab-ella-auth-panel.active {
    display: block;
}

@keyframes luxuryFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(15px) scale(0.98);
        filter: blur(1px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* ===== FORMULAIRES ULTRA-MODERNES ===== */
.lab-ella-auth-container .woocommerce-form-row {
    margin-bottom: 28px;
    position: relative;
}

.lab-ella-auth-container .woocommerce-form-row label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lab-ella-auth-container .required {
    color: #E53E3E;
    font-weight: 400;
    margin-left: 3px;
}

.lab-ella-auth-container .woocommerce-form-row input[type="text"],
.lab-ella-auth-container .woocommerce-form-row input[type="email"],
.lab-ella-auth-container .woocommerce-form-row input[type="password"] {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid rgba(232, 199, 167, 0.25);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    background: linear-gradient(145deg, #fafafa 0%, #ffffff 100%);
    box-sizing: border-box;
    box-shadow: 
        inset 0 2px 6px rgba(0, 0, 0, 0.03),
        0 1px 0 rgba(255, 255, 255, 0.9);
}

.lab-ella-auth-container .woocommerce-form-row input:focus {
    outline: none;
    border-color: var(--gold);
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    box-shadow: 
        0 0 0 5px rgba(232, 199, 167, 0.12),
        0 10px 30px rgba(232, 199, 167, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transform: translateY(-1px) scale(1.005);
}

.lab-ella-auth-container .woocommerce-form-row input::placeholder {
    color: #A8A8A8;
    font-style: italic;
    font-weight: 400;
}

/* ===== BOUTONS ULTRA-LUXUEUX ===== */
.lab-ella-auth-container .woocommerce-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 35px;
    background: linear-gradient(135deg, var(--dark) 0%, #2D3748 50%, var(--dark) 100%);
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.6px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 22px;
    box-shadow: 
        0 10px 30px rgba(51, 51, 51, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.lab-ella-auth-container .woocommerce-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    transition: left 0.7s ease;
}

.lab-ella-auth-container .woocommerce-button:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 50%, var(--gold) 100%);
    color: var(--dark);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 
        0 18px 50px rgba(232, 199, 167, 0.35),
        0 10px 30px rgba(232, 199, 167, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.lab-ella-auth-container .woocommerce-button:hover::before {
    left: 100%;
}

/* ===== CHECKBOX MODERNE ===== */
.lab-ella-auth-container .woocommerce-form__label-for-checkbox {
    display: flex !important;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    color: #6B7280;
    cursor: pointer;
    margin-bottom: 22px;
    font-weight: 500;
}

.lab-ella-auth-container .woocommerce-form__input-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--gold);
    cursor: pointer;
    border-radius: 5px;
}

/* ===== LIENS ÉLÉGANTS ===== */
.lab-ella-auth-container .lost_password a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    position: relative;
}

.lab-ella-auth-container .lost_password a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    transition: width 0.3s ease;
}

.lab-ella-auth-container .lost_password a:hover::after {
    width: 100%;
}

/* ===== CONNEXIONS SOCIALES ULTRA-MODERNES ===== */
.lab-ella-social-login {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(232, 199, 167, 0.25);
    position: relative;
}

.lab-ella-social-login::before {
    content: 'OU INSCRIVEZ-VOUS AVEC';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    padding: 0 20px;
    color: #8B7355;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.lab-ella-social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.lab-ella-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 12px;
    border: 2px solid rgba(232, 199, 167, 0.25);
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%);
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    min-height: 48px;
}

.lab-ella-social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.lab-ella-social-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.lab-ella-social-btn:hover::before {
    left: 100%;
}

.lab-ella-social-btn.facebook:hover {
    border-color: #4267B2;
    background: linear-gradient(135deg, #4267B2 0%, #365899 100%);
    color: white;
    box-shadow: 0 15px 35px rgba(66, 103, 178, 0.25);
}

.lab-ella-social-btn.apple:hover {
    border-color: #000000;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.lab-ella-social-btn.gmail:hover {
    border-color: #EA4335;
    background: linear-gradient(135deg, #EA4335 0%, #D33B2C 100%);
    color: white;
    box-shadow: 0 15px 35px rgba(234, 67, 53, 0.25);
}

/* ===== RESPONSIVE ULTRA-OPTIMISÉ ===== */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
    .lab-ella-auth-container {
        max-width: 550px;
        margin: 60px auto;
    }
    
    .lab-ella-auth-content {
        padding: 50px 45px;
    }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .lab-ella-auth-container {
        max-width: 500px;
        margin: 50px auto;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .lab-ella-auth-container {
        max-width: 480px;
        margin: 40px auto;
    }
    
    .lab-ella-auth-content {
        padding: 40px 35px;
    }
    
    .lab-ella-auth-tab {
        padding: 22px 18px;
        font-size: 14px;
    }
}

/* Tablet Portrait (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .lab-ella-auth-container {
        margin: 30px 20px;
        max-width: none;
    }
    
    .lab-ella-auth-content {
        padding: 35px 30px;
    }
    
    .lab-ella-auth-tab {
        padding: 20px 16px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }
    
    .lab-ella-social-buttons {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .lab-ella-social-btn {
        padding: 18px 20px;
        font-size: 14px;
        min-height: 52px;
    }
}

/* Mobile Large (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .lab-ella-auth-container {
        margin: 25px 15px;
    }
    
    .lab-ella-auth-content {
        padding: 30px 25px;
    }
    
    .lab-ella-auth-tab {
        padding: 18px 14px;
        font-size: 12px;
    }
    
    .lab-ella-auth-container .woocommerce-form-row input[type="text"],
    .lab-ella-auth-container .woocommerce-form-row input[type="email"],
    .lab-ella-auth-container .woocommerce-form-row input[type="password"] {
        padding: 16px 20px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .lab-ella-auth-container .woocommerce-button {
        padding: 18px 30px;
        font-size: 14px;
    }
    
    .lab-ella-social-buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .lab-ella-social-btn {
        padding: 16px 18px;
        font-size: 13px;
        min-height: 50px;
    }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
    .lab-ella-auth-container {
        margin: 20px 10px;
        border-radius: 16px;
    }
    
    .lab-ella-auth-content {
        padding: 25px 20px;
    }
    
    .lab-ella-auth-tab {
        padding: 16px 12px;
        font-size: 11px;
        letter-spacing: 0.3px;
    }
    
    .lab-ella-auth-container .woocommerce-form-row {
        margin-bottom: 24px;
    }
    
    .lab-ella-auth-container .woocommerce-form-row input[type="text"],
    .lab-ella-auth-container .woocommerce-form-row input[type="email"],
    .lab-ella-auth-container .woocommerce-form-row input[type="password"] {
        padding: 15px 18px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    .lab-ella-auth-container .woocommerce-button {
        padding: 16px 28px;
        font-size: 13px;
        border-radius: 12px;
    }
    
    .lab-ella-social-login {
        margin-top: 30px;
        padding-top: 25px;
    }
    
    .lab-ella-social-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .lab-ella-social-btn {
        padding: 14px 16px;
        font-size: 12px;
        min-height: 48px;
        border-radius: 10px;
    }
}

/* ===== DASHBOARD RESPONSIVE ===== */
.lab-ella-my-account-header {
    background: linear-gradient(135deg, var(--rose) 0%, var(--cream) 50%, #f8f6f3 100%);
    padding: 45px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-bottom: 45px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.08),
        0 12px 40px rgba(232, 199, 167, 0.12);
    position: relative;
    overflow: hidden;
}

.lab-ella-my-account-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 18px 0;
    position: relative;
    z-index: 1;
}

.lab-ella-logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, var(--dark) 0%, #2D3748 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.15);
}

.lab-ella-logout:hover {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 199, 167, 0.3);
}

/* Dashboard Responsive */
@media (max-width: 767px) {
    .lab-ella-my-account-header {
        padding: 35px 25px;
        margin-bottom: 35px;
    }
    
    .lab-ella-my-account-header h1 {
        font-size: 26px;
    }
    
    .lab-ella-logout {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 479px) {
    .lab-ella-my-account-header {
        padding: 30px 20px;
        margin-bottom: 30px;
        border-radius: 16px;
    }
    
    .lab-ella-my-account-header h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .lab-ella-logout {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 20px;
    }
}



/* ===================================
   OPTIMISATION PAGE PRODUIT RESPONSIVE
   =================================== */

/* ===== MASQUER LE PRIX PRINCIPAL (visible uniquement dans le bouton) ===== */
.glow-price-contenance-row .glow-product-price {
    display: none !important;
}

/* S'assurer que le prix dans le bouton reste visible */
.single_add_to_cart_button .glow-add-price,
.single_add_to_cart_button .price {
    display: inline !important;
}

/* ===== RESPONSIVE DESKTOP GRAND (1440px+) ===== */
@media (min-width: 1440px) {
    .glow-recipe-images,
    .glow-recipe-info {
        flex: 1;
    }
    
    .glow-image-thumbnails {
        max-width: 120px;
    }
    
    .single_add_to_cart_button {
        font-size: 18px !important;
        padding: 22px 40px !important;
    }
    
    .glow-product-title {
        font-size: 32px !important;
    }
}

/* ===== RESPONSIVE DESKTOP STANDARD (1200px - 1439px) ===== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .glow-image-thumbnails {
        max-width: 100px;
    }
    
    .single_add_to_cart_button {
        font-size: 17px !important;
        padding: 20px 35px !important;
    }
    
    .glow-product-title {
        font-size: 30px !important;
    }
}

/* ===== RESPONSIVE TABLETTE GRAND (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    .glow-recipe-main-section {
        padding: 30px 20px !important;
    }
    
    .glow-image-thumbnails {
        max-width: 90px;
    }
    
    .glow-product-title {
        font-size: 28px !important;
    }
    
    .single_add_to_cart_button {
        font-size: 16px !important;
        padding: 18px 32px !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
    }
}

/* ===== RESPONSIVE TABLETTE PETIT (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 25px 15px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 30px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        margin-top: 15px !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        padding: 10px 0 !important;
    }
    
    .glow-thumbnail {
        width: 80px !important;
        height: 80px !important;
        flex-shrink: 0 !important;
    }
    
    .glow-product-title {
        font-size: 26px !important;
        text-align: center !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
        text-align: center !important;
    }
    
    .glow-contenance-inline {
        justify-content: center !important;
        text-align: center !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }
}

/* ===== RESPONSIVE MOBILE GRAND (480px - 767px) ===== */
@media (min-width: 480px) and (max-width: 767px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 20px 15px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 25px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 12px !important;
        max-width: 100% !important;
        padding: 10px !important;
    }
    
    .glow-thumbnail {
        width: 70px !important;
        height: 70px !important;
        flex-shrink: 0 !important;
        border-radius: 10px !important;
    }
    
    .glow-product-title {
        font-size: 24px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .glow-main-description {
        font-size: 14px !important;
        text-align: center !important;
        padding: 0 10px !important;
    }
    
    .glow-main-description p {
        margin-bottom: 12px !important;
    }
    
    .glow-contenance-inline {
        justify-content: center !important;
    }
    
    /* Quantité - RÉDUITE POUR MOBILE */
    .quantity {
        margin-bottom: 8px !important;
        width: 85px !important;
        height: 36px !important;
        gap: 4px !important;
    }
    
    .quantity input {
        font-size: 13px !important;
        padding: 6px 2px !important;
        width: 35px !important;
        height: 36px !important;
    }
    
    .quantity button {
        width: 22px !important;
        height: 36px !important;
        font-size: 14px !important;
        padding: 0 !important;
    }
    
    /* Section "Complétez votre routine" */
    .glow-routine-section,
    .glow-related-section {
        padding: 0 15px !important;
    }
    
    .glow-routine-section h2,
    .glow-related-section h2 {
        font-size: 22px !important;
        text-align: center !important;
    }
}

/* ===== RESPONSIVE MOBILE PETIT (320px - 479px) ===== */
@media (max-width: 479px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 15px 10px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 20px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        margin-top: 10px !important;
        max-width: 100% !important;
        padding: 8px !important;
    }
    
    .glow-thumbnail {
        width: 60px !important;
        height: 60px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
    
    .glow-product-title {
        font-size: 20px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
        padding: 0 10px !important;
    }
    
    .glow-main-description {
        font-size: 13px !important;
        text-align: center !important;
        padding: 0 12px !important;
        line-height: 1.5 !important;
    }
    
    .glow-main-description p {
        margin-bottom: 10px !important;
    }
    
    .glow-contenance-inline {
        justify-content: center !important;
        text-align: center !important;
        font-size: 13px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
    }
    
    /* Quantité - RÉDUITE POUR MOBILE PETIT */
    .quantity {
        margin-bottom: 6px !important;
        width: 80px !important;
        height: 34px !important;
        gap: 3px !important;
    }
    
    .quantity input {
        font-size: 12px !important;
        padding: 4px 2px !important;
        width: 32px !important;
        height: 34px !important;
    }
    
    .quantity button {
        width: 20px !important;
        height: 34px !important;
        font-size: 12px !important;
        padding: 0 !important;
    }
    
    /* Règles glow-quantity-btn supprimées - centralisées dans lab-ella-styles.css */
    
    /* Section "Complétez votre routine" */
    .glow-routine-section,
    .glow-related-section {
        padding: 0 12px !important;
    }
    
    .glow-routine-section h2,
    .glow-related-section h2 {
        font-size: 20px !important;
        text-align: center !important;
        margin-bottom: 15px !important;
    }
    
    /* Accordéons */
    .glow-accordion-item {
        padding: 0 12px !important;
    }
    
    .glow-accordion-content {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}

/* ===== OPTIMISATION GALERIE D'IMAGES ===== */
.glow-main-image img,
.glow-main-image video {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--border-radius) !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(232, 199, 167, 0.15) !important;
}

.glow-thumbnail {
    border: 2px solid transparent !important;
    transition: var(--transition) !important;
    cursor: pointer !important;
}

.glow-thumbnail:hover,
.glow-thumbnail.active {
    border-color: var(--gold) !important;
    box-shadow: 0 8px 20px rgba(232, 199, 167, 0.3) !important;
    transform: scale(1.05) !important;
}

/* ===== OPTIMISATION INFO BOXES ===== */
.glow-info-box {
    background: linear-gradient(145deg, #ffffff 0%, #fefefe 100%) !important;
    border: 2px solid rgba(232, 199, 167, 0.25) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
    transition: var(--transition) !important;
}

.glow-info-box:hover {
    border-color: var(--gold) !important;
    box-shadow: 
        0 12px 35px rgba(232, 199, 167, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px) !important;
}

/* Responsive pour les info-boxes */
@media (max-width: 767px) {
    .glow-info-box {
        padding: 16px !important;
        margin-bottom: 15px !important;
        border-radius: 14px !important;
    }
}

@media (max-width: 479px) {
    .glow-info-box {
        padding: 14px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
    }
}

/* ===== OPTIMISATION SECTION "COMPLÉTEZ VOTRE ROUTINE" ===== */
.glow-routine-carousel,
.glow-related-carousel {
    display: flex !important;
    gap: 20px !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 0 !important;
}

/* Responsive pour les carrousels */
@media (max-width: 767px) {
    .glow-routine-carousel,
    .glow-related-carousel {
        gap: 15px !important;
    }
    
    .routine-card,
    .glow-related-card {
        min-width: 180px !important;
    }
}

@media (max-width: 479px) {
    .glow-routine-carousel,
    .glow-related-carousel {
        gap: 12px !important;
    }
    
    .routine-card,
    .glow-related-card {
        min-width: 160px !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow-product-title,
.glow-main-description,
.single_add_to_cart_button,
.glow-info-box {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* Délais d'animation pour effet en cascade */
.glow-product-title {
    animation-delay: 0.1s !important;
}

.glow-main-description {
    animation-delay: 0.2s !important;
}

.glow-info-box:nth-child(1) {
    animation-delay: 0.3s !important;
}

.glow-info-box:nth-child(2) {
    animation-delay: 0.4s !important;
}

.single_add_to_cart_button {
    animation-delay: 0.5s !important;
}

/* ===== ACCESSIBILITÉ ===== */
.single_add_to_cart_button:focus,
.lab-ella-floating-cart-button:focus,
.glow-quantity-btn:focus,
.quantity input:focus {
    outline: 3px solid var(--gold) !important;
    outline-offset: 2px !important;
}

/* ===== PERFORMANCE ===== */
.lab-ella-floating-cart-button,
.single_add_to_cart_button,
.glow-info-box,
.glow-thumbnail {
    will-change: transform !important;
}

/* Optimiser les images */
.glow-main-image img,
.glow-thumbnail img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}



/* ===== DESKTOP GRAND (1920px+) ===== */
@media (min-width: 1920px) {
    .glow-recipe-main-section {
        max-width: 1600px !important;
        margin: 0 auto !important;
        padding: 60px 40px !important;
    }
    
    .glow-recipe-images {
        width: 55% !important;
    }
    
    .glow-recipe-info {
        width: 45% !important;
        padding-left: 60px !important;
    }
    
    .glow-product-title {
        font-size: 36px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    .glow-main-description {
        font-size: 17px !important;
        line-height: 1.7 !important;
    }
    
    .glow-image-thumbnails {
        max-width: 130px !important;
        gap: 12px !important;
    }
    
    .glow-thumbnail {
        width: 130px !important;
        height: 130px !important;
    }
    
    .single_add_to_cart_button {
        font-size: 19px !important;
        padding: 24px 45px !important;
    }
    
    .glow-meta-compact-item {
        padding: 20px !important;
    }
}

/* ===== DESKTOP STANDARD (1440px - 1919px) ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
    .glow-recipe-main-section {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 50px 30px !important;
    }
    
    .glow-recipe-images {
        width: 55% !important;
    }
    
    .glow-recipe-info {
        width: 45% !important;
        padding-left: 50px !important;
    }
    
    .glow-product-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 18px !important;
    }
    
    .glow-main-description {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .glow-image-thumbnails {
        max-width: 120px !important;
        gap: 10px !important;
    }
    
    .glow-thumbnail {
        width: 120px !important;
        height: 120px !important;
    }
    
    .single_add_to_cart_button {
        font-size: 18px !important;
        padding: 22px 40px !important;
    }
}

/* ===== DESKTOP PETIT (1200px - 1439px) ===== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .glow-recipe-main-section {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 40px 25px !important;
    }
    
    .glow-recipe-images {
        width: 55% !important;
    }
    
    .glow-recipe-info {
        width: 45% !important;
        padding-left: 40px !important;
    }
    
    .glow-product-title {
        font-size: 28px !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }
    
    .glow-image-thumbnails {
        max-width: 100px !important;
        gap: 8px !important;
    }
    
    .glow-thumbnail {
        width: 100px !important;
        height: 100px !important;
    }
    
    .single_add_to_cart_button {
        font-size: 17px !important;
        padding: 20px 35px !important;
    }
}

/* ===== TABLETTE GRAND (992px - 1199px) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    .glow-recipe-main-section {
        padding: 35px 20px !important;
    }
    
    .glow-recipe-images {
        width: 52% !important;
    }
    
    .glow-recipe-info {
        width: 48% !important;
        padding-left: 30px !important;
    }
    
    .glow-product-title {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .glow-main-description {
        font-size: 14px !important;
        line-height: 1.6 !important;
    }
    
    .glow-image-thumbnails {
        max-width: 90px !important;
        gap: 8px !important;
    }
    
    .glow-thumbnail {
        width: 90px !important;
        height: 90px !important;
    }
    
    .single_add_to_cart_button {
        font-size: 16px !important;
        padding: 18px 30px !important;
    }
    
    .glow-meta-compact-item {
        padding: 14px !important;
        font-size: 13px !important;
    }
}

/* ===== TABLETTE PETIT (768px - 991px) ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 30px 20px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
        max-width: 700px !important;
        margin: 0 auto !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 30px !important;
    }
    
    .glow-recipe-info {
        padding-left: 0 !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin-top: 15px !important;
        gap: 10px !important;
        overflow-x: auto !important;
        padding: 10px 0 !important;
    }
    
    .glow-thumbnail {
        width: 85px !important;
        height: 85px !important;
        flex-shrink: 0 !important;
    }
    
    .glow-product-title {
        font-size: 28px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
    
    .glow-reviews-badge {
        justify-content: center !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
        text-align: center !important;
        line-height: 1.6 !important;
    }
    
    .glow-meta-horizontal {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .glow-meta-compact-item {
        width: 100% !important;
    }
    
    .glow-quantity-cart-container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
        font-size: 16px !important;
        padding: 18px 30px !important;
    }
}

/* ===== MOBILE GRAND (600px - 767px) ===== */
@media (min-width: 600px) and (max-width: 767px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 25px 20px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 25px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin-top: 12px !important;
        gap: 8px !important;
        padding: 10px !important;
    }
    
    .glow-thumbnail {
        width: 75px !important;
        height: 75px !important;
        flex-shrink: 0 !important;
        border-radius: 10px !important;
    }
    
    .glow-product-title {
        font-size: 26px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }
    
    .glow-reviews-badge {
        justify-content: center !important;
        margin-bottom: 12px !important;
    }
    
    .glow-main-description {
        font-size: 14px !important;
        text-align: center !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
    }
    
    .glow-meta-horizontal {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .glow-quantity-cart-container {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .quantity {
        margin: 0 auto !important;
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
        font-size: 15px !important;
        padding: 16px 25px !important;
    }
}

/* ===== MOBILE STANDARD (480px - 599px) ===== */
@media (min-width: 480px) and (max-width: 599px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 20px 15px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 20px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        gap: 6px !important;
        padding: 8px !important;
    }
    
    .glow-thumbnail {
        width: 65px !important;
        height: 65px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
    
    .glow-product-title {
        font-size: 22px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        padding: 0 10px !important;
    }
    
    .glow-reviews-badge {
        justify-content: center !important;
        margin-bottom: 10px !important;
        font-size: 13px !important;
    }
    
    .glow-main-description {
        font-size: 13px !important;
        text-align: center !important;
        line-height: 1.5 !important;
        padding: 0 12px !important;
    }
    
    .glow-meta-horizontal {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .glow-meta-compact-item {
        padding: 12px !important;
        font-size: 12px !important;
    }
    
    .glow-quantity-cart-container {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .quantity input {
        font-size: 16px !important; /* Évite le zoom sur iOS */
    }
    
    .single_add_to_cart_button {
        width: 100% !important;
        font-size: 14px !important;
        padding: 15px 22px !important;
    }
}

/* ===== MOBILE PETIT (320px - 479px) ===== */
@media (max-width: 479px) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 15px 12px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
    }
    
    .glow-recipe-images {
        margin-bottom: 18px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        max-width: 100% !important;
        margin-top: 8px !important;
        gap: 5px !important;
        padding: 6px !important;
    }
    
    .glow-thumbnail {
        width: 55px !important;
        height: 55px !important;
        flex-shrink: 0 !important;
        border-radius: 8px !important;
    }
    
    .glow-product-title {
        font-size: 19px !important;
        text-align: center !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        padding: 0 8px !important;
    }
    
    .glow-reviews-badge {
        justify-content: center !important;
        margin-bottom: 8px !important;
        font-size: 12px !important;
    }
    
    .glow-star {
        font-size: 14px !important;
    }
    
    .glow-main-description {
        font-size: 12px !important;
        text-align: center !important;
        line-height: 1.5 !important;
        padding: 0 10px !important;
    }
    
    .glow-meta-horizontal {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .glow-meta-compact-item {
        padding: 10px !important;
        font-size: 11px !important;
    }
    
    .glow-meta-icon {
        font-size: 16px !important;
    }
    
    .glow-quantity-cart-container {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 0 8px !important;
    }
    
    .quantity {
        margin: 0 auto !important;
    }
    
    .quantity input {
        font-size: 16px !important; /* Évite le zoom sur iOS */
        padding: 8px !important;
        width: 45px !important;
    }
    
    /* Règles glow-quantity-btn supprimées - centralisées dans lab-ella-styles.css */
    
    .single_add_to_cart_button {
        width: 100% !important;
        font-size: 13px !important;
        padding: 14px 20px !important;
    }
    
    .glow-add-price {
        font-size: 14px !important;
    }
}

/* ===== OPTIMISATIONS CARROUSEL ROUTINE ===== */
.routine-card {
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.routine-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Responsive carrousel */
@media (max-width: 991px) {
    #routine-container {
        padding: 0 45px !important;
    }
    
    #routine-prev,
    #routine-next {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 599px) {
    #routine-container {
        padding: 0 40px !important;
    }
    
    #routine-prev,
    #routine-next {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }
    
    .routine-card {
        min-width: 140px !important;
    }
}

@media (max-width: 479px) {
    #routine-container {
        padding: 0 35px !important;
    }
    
    #routine-prev,
    #routine-next {
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
        left: 4px !important;
        right: 4px !important;
    }
    
    .routine-card {
        min-width: 130px !important;
        padding: 10px !important;
    }
    
    .routine-card h4 {
        font-size: 10px !important;
        height: 24px !important;
    }
    
    .routine-card button {
        font-size: 8px !important;
        padding: 5px 10px !important;
    }
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth !important;
}

/* ===== AMÉLIORATION DES TRANSITIONS ===== */
.glow-thumbnail,
.glow-meta-compact-item,
.single_add_to_cart_button,
.glow-quantity-btn,
.routine-card {
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

/* ===== OPTIMISATION TOUCH MOBILE ===== */
@media (max-width: 991px) {
    .single_add_to_cart_button,
    .glow-quantity-btn,
    .routine-card button {
        -webkit-tap-highlight-color: transparent !important;
        touch-action: manipulation !important;
    }
}




/* ===================================
   CORRECTIONS FINALES - OCTOBRE 2025
   =================================== */

/* ===== 1. ORDRE MOBILE: REVIEWS → TITRE → IMAGES ===== */

/* Sur mobile: afficher le header mobile, masquer le desktop */
@media (max-width: 991px) {
    .glow-mobile-header {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        /* order: 1 !important; */ /* SUPPRIMÉ - Conflit avec lab-ella-single-product-mobile.css */
    }
    
    .glow-desktop-header {
        display: none !important;
    }
    
    /* SUPPRIMÉ - Conflit avec l'ordre défini plus bas (ligne 2217) */
    /* .glow-recipe-images {
        order: 2 !important;
    } */
    
    /* SUPPRIMÉ - Déjà défini plus bas (ligne 2155) */
    /* .glow-recipe-main-section {
        display: flex !important;
        flex-direction: column !important;
    } */
}

/* Sur desktop: masquer le header mobile, afficher le desktop */
@media (min-width: 992px) {
    .glow-mobile-header {
        display: none !important;
    }
    
    .glow-desktop-header {
        display: block !important;
    }
}

/* ===== 2. VIDÉOS "SEE IN ACTION" HORIZONTALES (MOBILE ET DESKTOP) ===== */

.glow-video-thumbnails {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.glow-video-thumbnail {
    width: 150px !important;
    height: 150px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid #f0f0f0 !important;
}

.glow-video-thumbnail:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    border-color: #E8C7A7 !important;
}

.glow-video-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.glow-play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    aspect-ratio: 1 !important;
    flex-shrink: 0 !important;
    background: rgba(255,255,255,0.95) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: #E8C7A7 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.glow-see-in-action {
    margin: 25px 0 !important;
}

.glow-see-in-action h4 {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin-bottom: 15px !important;
}

/* Mobile: scroll horizontal */
@media (max-width: 991px) {
    .glow-video-thumbnails {
        padding: 10px 0 !important;
    }
    
    .glow-video-thumbnail {
        width: 110px !important;
        height: 110px !important;
    }
    
    .glow-video-thumbnail img {
        aspect-ratio: 1 !important;
        object-position: center center !important;
    }
    
    .glow-see-in-action h4 {
        text-align: center !important;
        font-size: 16px !important;
    }
}

/* ===== 3. QUANTITÉ À CÔTÉ DU BOUTON (DESKTOP UNIQUEMENT) ===== */

@media (min-width: 992px) {
    .glow-quantity-cart-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .glow-quantity-cart-container .quantity {
        flex-shrink: 0 !important;
        margin: 0 !important;
        width: auto !important;
    }
    
    .glow-quantity-cart-container .single_add_to_cart_button {
        flex: 1 !important;
        margin: 0 !important;
    }
}

@media (max-width: 991px) {
    .glow-quantity-cart-container {
        display: flex !important;
        /* flex-direction: column !important; */ /* SUPPRIMÉ - Géré par lab-ella-single-product-mobile.css */
        gap: 12px !important;
        width: 100% !important;
    }
}

/* ===== 4. STYLE REVIEWS ET TITRE ===== */

.glow-reviews-badge {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.glow-stars-rating {
    display: flex !important;
    gap: 2px !important;
}

.glow-star {
    font-size: 18px !important;
    color: #ddd !important;
}

.glow-star.filled {
    color: #FFD700 !important;
}

.glow-review-count {
    font-size: 14px !important;
    color: #666 !important;
}

.glow-product-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
}

@media (max-width: 991px) {
    .glow-mobile-header .glow-reviews-badge {
        /* justify-content: center !important; */ /* SUPPRIMÉ - Aligné à gauche par lab-ella-single-product-mobile.css */
    }
    
    .glow-mobile-header .glow-product-title {
        /* text-align: center !important; */ /* SUPPRIMÉ - Aligné à gauche par lab-ella-single-product-mobile.css */
        font-size: 24px !important;
    }
}

@media (max-width: 479px) {
    .glow-mobile-header .glow-product-title {
        font-size: 20px !important;
    }
    
    .glow-star {
        font-size: 16px !important;
    }
}

/* ===== 5. BOUTON FLOTTANT MOBILE (GARDER) ===== */

.lab-ella-floating-cart {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(to top, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%) !important;
    padding: 15px 20px 20px !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1) !important;
    z-index: 9999 !important;
    display: none !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

.lab-ella-floating-cart.visible {
    display: block !important;
}

.lab-ella-floating-cart-button {
    width: 100% !important;
    background: linear-gradient(135deg, #333333 0%, #555555 50%, #333333 100%) !important;
    color: white !important;
    border: none !important;
    padding: 18px 30px !important;
    border-radius: 16px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    box-shadow: 0 12px 40px rgba(232, 199, 167, 0.3), 0 6px 20px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.lab-ella-floating-cart-button:hover,
.lab-ella-floating-cart-button:active {
    background: linear-gradient(135deg, #E8C7A7 0%, #D4A574 50%, #E8C7A7 100%) !important;
    color: #333333 !important;
    transform: translateY(-2px) scale(1.01) !important;
    box-shadow: 0 18px 50px rgba(232, 199, 167, 0.4), 0 10px 30px rgba(232, 199, 167, 0.3) !important;
}

.lab-ella-floating-cart-button .cart-icon {
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
}

.lab-ella-floating-cart-button .price {
    font-weight: 800 !important;
    font-size: 18px !important;
}

@media (max-width: 991px) {
    .lab-ella-product-page {
        padding-bottom: 100px !important;
    }
}

@media (min-width: 992px) {
    .lab-ella-floating-cart {
        display: none !important;
    }
}

@media (max-width: 479px) {
    .lab-ella-floating-cart {
        padding: 12px 15px 15px !important;
    }
    
    .lab-ella-floating-cart-button {
        padding: 16px 25px !important;
        font-size: 14px !important;
        border-radius: 14px !important;
    }
    
    .lab-ella-floating-cart-button .cart-icon {
        width: 18px !important;
        height: 18px !important;
    }
    
    .lab-ella-floating-cart-button .price {
        font-size: 16px !important;
    }
}

/* ===== 6. MASQUER LES BADGES STEP ===== */

.step-badge {
    display: none !important;
}

/* ===== 7. S'INSCRIRE ET ÉCONOMISER SUR UNE LIGNE (MOBILE) ===== */

@media (max-width: 991px) {
    .glow-subscription-option {
        white-space: nowrap !important;
    }
    
    .glow-subscription-option label {
        flex-wrap: nowrap !important;
    }
    
    .glow-option-content {
        flex-wrap: nowrap !important;
    }
    
    .glow-option-title {
        white-space: nowrap !important;
        font-size: 13px !important;
    }
    
    .glow-option-discount {
        flex-shrink: 0 !important;
    }
}

/* ===== 7. RESPONSIVE COMPLET ===== */

/* Desktop Grand */
@media (min-width: 1920px) {
    .glow-recipe-main-section {
        max-width: 1600px !important;
        margin: 0 auto !important;
        padding: 60px 40px !important;
    }
    
    .glow-product-title {
        font-size: 36px !important;
    }
}

/* Desktop Standard */
@media (min-width: 1440px) and (max-width: 1919px) {
    .glow-recipe-main-section {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 50px 30px !important;
    }
    
    .glow-product-title {
        font-size: 32px !important;
    }
}

/* Desktop Petit */
@media (min-width: 1200px) and (max-width: 1439px) {
    .glow-recipe-main-section {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 40px 25px !important;
    }
    
    .glow-product-title {
        font-size: 28px !important;
    }
}

/* Tablette */
@media (min-width: 768px) and (max-width: 991px) {
    .glow-recipe-main-section {
        padding: 30px 20px !important;
    }
    
    .glow-images-container {
        flex-direction: column-reverse !important;
    }
    
    .glow-image-thumbnails {
        flex-direction: row !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .glow-recipe-main-section {
        padding: 20px 15px !important;
    }
}

@media (max-width: 479px) {
    .glow-recipe-main-section {
        padding: 15px 12px !important;
    }
    
    .quantity input {
        font-size: 16px !important;
    }
}



/* ========================================================================
   CORRECTIONS FINALES LAB ELLA - ORDRE MOBILE + VIDÉOS + RESPONSIVE
   ======================================================================== */

/* ORDRE MOBILE EXACT */
@media (max-width: 991px) {
    /* Forcer flexbox sur la section principale */
    .lab-ella-product-page .glow-recipe-main-section {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* ============================================================================
       ORDRE MOBILE SINGLE PRODUCT
       ============================================================================
       GÉRÉ PAR: assets/css/lab-ella-single-product-mobile.css
       Ce fichier contient TOUTES les règles d'ordre mobile pour la page single product.
       Ne PAS ajouter de règles d'ordre ici pour éviter les conflits.
       ============================================================================ */
}

/* VIDÉOS "VOYEZ-LE EN ACTION" HORIZONTALES (MOBILE ET DESKTOP) */

/* Conteneur principal */
.lab-ella-product-page .glow-see-in-action {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Conteneur des vidéos */
.lab-ella-product-page .glow-video-thumbnails {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 10px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Vidéos individuelles */
.lab-ella-product-page .glow-video-thumbnail {
    flex-shrink: 0 !important;
    width: 150px !important;
    height: 150px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    position: relative !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid #f0f0f0 !important;
}

.lab-ella-product-page .glow-video-thumbnail:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    border-color: #E8C7A7 !important;
}

.lab-ella-product-page .glow-video-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 991px) {
    .lab-ella-product-page .glow-video-thumbnail {
        width: 110px !important;
        height: 110px !important;
    }
}

/* QUANTITÉ INLINE AVEC BOUTON (DESKTOP) */

@media (min-width: 992px) {
    .lab-ella-product-page .glow-quantity-cart-container {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .lab-ella-product-page .glow-quantity-cart-container .quantity {
        flex-shrink: 0 !important;
        margin: 0 !important;
        width: auto !important;
    }
    
    .lab-ella-product-page .glow-quantity-cart-container .single_add_to_cart_button {
        flex: 1 !important;
        margin: 0 !important;
    }
}

/* "S'INSCRIRE ET ÉCONOMISER" SUR UNE LIGNE (MOBILE) */

@media (max-width: 991px) {
    .lab-ella-product-page .glow-subscription-option {
        white-space: nowrap !important;
        overflow: hidden !important;
    }
    
    .lab-ella-product-page .glow-subscription-option label {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }
    
    .lab-ella-product-page .glow-option-content {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
    }
    
    .lab-ella-product-page .glow-option-title {
        white-space: nowrap !important;
        font-size: 12px !important;
    }
    
    .lab-ella-product-page .glow-option-discount {
        flex-shrink: 0 !important;
        font-size: 11px !important;
    }
}

/* MASQUER LES BADGES STEP */

.lab-ella-product-page .step-badge {
    display: none !important;
}



/* ===== OPTIMISATIONS SUPPLÉMENTAIRES POUR RESPONSIVE ===== */

/* Ultra petit écran (< 320px) */
@media (max-width: 319px) {
    .glow-recipe-main-section {
        padding: 12px 8px !important;
    }
    
    .glow-product-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .glow-main-description {
        font-size: 12px !important;
        padding: 0 8px !important;
    }
    
    .glow-image-thumbnails {
        gap: 4px !important;
        padding: 6px !important;
    }
    
    .glow-thumbnail {
        width: 50px !important;
        height: 50px !important;
    }
    
    .quantity {
        width: 70px !important;
        height: 30px !important;
    }
    
    .quantity input {
        width: 28px !important;
        height: 30px !important;
    }
}

/* Landscape mode - Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .glow-recipe-main-section {
        flex-direction: row !important;
        gap: 15px !important;
        padding: 15px 20px !important;
    }
    
    .glow-recipe-images {
        width: 45% !important;
        margin-bottom: 0 !important;
    }
    
    .glow-recipe-info {
        width: 55% !important;
    }
    
    .glow-product-title {
        font-size: 18px !important;
        margin-bottom: 8px !important;
    }
    
    .glow-main-description {
        font-size: 12px !important;
    }
    
    .glow-image-thumbnails {
        max-width: 80px !important;
        gap: 6px !important;
    }
    
    .glow-thumbnail {
        width: 60px !important;
        height: 60px !important;
    }
    
    .lab-ella-mobile-sticky-cta {
        padding: 8px 12px 12px 12px !important;
    }
    
    .lab-ella-mobile-sticky-cta .sticky-cta-content {
        gap: 6px !important;
    }
}

/* iPad Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .glow-recipe-main-section {
        flex-direction: column !important;
        padding: 35px 25px !important;
    }
    
    .glow-recipe-images,
    .glow-recipe-info {
        width: 100% !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    .glow-product-title {
        font-size: 28px !important;
        text-align: center !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
        text-align: center !important;
    }
    
    .glow-image-thumbnails {
        justify-content: center !important;
        gap: 10px !important;
    }
    
    .glow-thumbnail {
        width: 90px !important;
        height: 90px !important;
    }
}

/* iPad Landscape (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) and (orientation: landscape) {
    .glow-recipe-main-section {
        flex-direction: row !important;
        gap: 30px !important;
        padding: 40px 30px !important;
    }
    
    .glow-recipe-images {
        width: 50% !important;
    }
    
    .glow-recipe-info {
        width: 50% !important;
    }
    
    .glow-product-title {
        font-size: 26px !important;
    }
    
    .glow-main-description {
        font-size: 14px !important;
    }
    
    .glow-image-thumbnails {
        gap: 8px !important;
    }
    
    .glow-thumbnail {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Desktop petit (11" - 13") - 1024px - 1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
    .glow-recipe-main-section {
        max-width: 1000px !important;
        padding: 35px 20px !important;
    }
    
    .glow-product-title {
        font-size: 24px !important;
    }
    
    .glow-main-description {
        font-size: 14px !important;
    }
    
    .glow-image-thumbnails {
        gap: 8px !important;
    }
    
    .glow-thumbnail {
        width: 85px !important;
        height: 85px !important;
    }
}

/* Desktop moyen (13" - 15") - 1366px - 1600px */
@media (min-width: 1366px) and (max-width: 1599px) {
    .glow-recipe-main-section {
        max-width: 1300px !important;
        padding: 45px 30px !important;
    }
    
    .glow-product-title {
        font-size: 30px !important;
    }
    
    .glow-main-description {
        font-size: 15px !important;
    }
    
    .glow-image-thumbnails {
        gap: 10px !important;
    }
    
    .glow-thumbnail {
        width: 105px !important;
        height: 105px !important;
    }
}

/* Desktop grand (15" - 16") - 1600px+ */
@media (min-width: 1600px) {
    .glow-recipe-main-section {
        max-width: 1500px !important;
        padding: 50px 40px !important;
    }
    
    .glow-product-title {
        font-size: 34px !important;
    }
    
    .glow-main-description {
        font-size: 16px !important;
    }
    
    .glow-image-thumbnails {
        gap: 12px !important;
    }
    
    .glow-thumbnail {
        width: 120px !important;
        height: 120px !important;
    }
}

/* Optimisation pour écrans très larges (2K - 2560px) */
@media (min-width: 2560px) {
    .glow-recipe-main-section {
        max-width: 1800px !important;
        padding: 60px 50px !important;
    }
    
    .glow-product-title {
        font-size: 40px !important;
    }
    
    .glow-main-description {
        font-size: 18px !important;
    }
    
    .glow-thumbnail {
        width: 140px !important;
        height: 140px !important;
    }
}
