/* =================================
   DESIGN "APP" (Simple & Propre)
   ================================= */

/* --- Polices (Requis) --- */
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Cormorant', serif; 
    font-weight: 700; 
    text-transform: uppercase;
}
body, p, a, span, button, li, .btn-discover, .slide-button, input, label { 
    font-family: 'Inter', sans-serif; 
    font-weight: 400; 
}

/* --- Structure de Base "App" --- */
html {
    scroll-behavior: smooth;
}
body.app-background {
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
    background: #ffffff; /* Fond blanc minimaliste */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    overscroll-behavior-y: contain; /* Prevent overscroll bounce */
}

/* Fix scrolling on product page */
@media (max-width: 1024px) {
    body.app-background {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: auto;
    }
    
    main.app-page-container {
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Ensure product gallery doesn't interfere with scroll */
    .product-gallery {
        touch-action: pan-y pinch-zoom;
    }
    
    .main-image-wrapper {
        touch-action: pan-y pinch-zoom;
    }
}
main.app-page-container {
    width: 100%;
    margin-top: 60px; /* Espace pour le Header one line (60px) */
    max-width: 100%;
    padding-top: 0;
}

/* --- App Header "Merged" - One Line --- */
.app-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 100 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #000000 !important;
    border-bottom: none !important;
    height: 60px !important;
    padding: 0 !important;
}

/* Ensure old promo-banner is completely hidden */
.promo-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    height: 0 !important;
    overflow: hidden !important;
}

.promo-banner-inline {
    height: 60px;
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 0 20px;
    order: 2;
}

@media (min-width: 1024px) {
    .promo-banner-inline {
        order: 3;
        margin-left: 40px;
    }
}

.promo-banner-inline .promo-track {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideVertical 12s cubic-bezier(0.65, 0, 0.35, 1) infinite;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 1000px;
    -webkit-perspective: 1000px;
}

.promo-banner-inline .promo-message {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

@keyframes slideVertical {
    0%, 45% { transform: translate3d(0, 0, 0); }
    50%, 95% { transform: translate3d(0, -60px, 0); }
    100% { transform: translate3d(0, -120px, 0); }
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background-color: #000000;
    height: 60px;
    flex-shrink: 0;
    order: 1;
    position: relative;
}

.header-logo {
    display: none;
}

.header-logo-inline {
    position: absolute;
    right: 40px;
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
}

.header-link {
    position: relative;
    z-index: 2;
}

.header-link:first-child {
    margin-right: 30px;
}

.header-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.2s ease;
}

.header-link:hover {
    opacity: 0.7;
}


.app-header a {
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.app-header a:hover {
    opacity: 0.7;
}

.app-header .app-logo-link img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.header-nav .header-logo-inline img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.app-header a svg {
    stroke-width: 2;
    width: 20px;
    height: 20px;
}

/* --- Desktop: Side-by-Side Layout --- */
@media (min-width: 1024px) {
    main.app-page-container {
        margin-top: 60px;
        padding: 0;
    }
    
    .app-header {
        flex-direction: row;
    }
    
    .header-nav {
        justify-content: flex-start;
        gap: 30px;
        flex: 0 0 auto;
        order: 1;
    }
    
    .header-logo-inline {
        order: 1;
        margin: 0;
        position: static;
    }
    
    .header-link:first-of-type {
        order: 2;
    }
    
    .header-link:last-of-type {
        order: 3;
    }
    
    .promo-banner-inline {
        order: 2;
        flex: 1;
        margin-left: 40px;
    }
    
    .header-nav {
        order: 1;
        gap: 30px;
    }
    
    .header-logo-inline {
        order: 1;
    }
    
    .header-link:first-of-type {
        order: 2;
    }
    
    .header-link:last-of-type {
        order: 3;
    }
    
    /* Container for gallery and info side-by-side */
    .product-layout-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        min-height: calc(100vh - 60px);
        max-width: 100%;
        margin: 0;
    }
    
    /* --- Partie 1 : La Galerie (Left Side) --- */
    .app-gallery {
        background: #ffffff;
        padding: 30px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-right: none;
    }
    
    .main-image-wrapper {
        width: 100%;
        max-width: 500px;
        overflow: hidden;
        margin-bottom: 12px;
        position: relative;
    }
    
    .main-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 3 / 4;
        cursor: zoom-in;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block;
    }
    
    .main-image-wrapper img:hover {
        transform: scale(1.02);
    }
    
    .thumbnail-list {
        display: flex;
        gap: 8px;
        justify-content: center;
        overflow-x: auto;
        width: 100%;
        max-width: 500px;
        padding: 0;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
        cursor: pointer;
        border: 1px solid transparent;
        border-radius: 2px;
        transition: all 0.3s ease;
        flex-shrink: 0;
        overflow: hidden;
    }
    
    .thumbnail-item.active { 
        border-color: #000; 
    }
    
    .thumbnail-item:hover {
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .thumbnail-item img { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
    }
    
    /* --- Partie 2 : Le Formulaire (Right Side) --- */
    .app-info-form {
        padding: 30px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #ffffff;
    }
    
    .product-info {
        width: 100%;
        max-width: 450px;
        margin: 0;
    }
}

/* --- Mobile Layout --- */
@media (max-width: 1023px) {
    .app-gallery {
        background: #fff;
        border-radius: 0;
        padding: 12px 12px 16px 12px;
    }
    .main-image-wrapper {
        width: 100%;
        overflow: hidden;
        border-radius: 0;
        margin-bottom: 10px;
    }
    .main-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 1 / 1.3;
        cursor: zoom-in;
    }
    .thumbnail-list {
        display: flex;
        gap: 8px;
        padding-top: 10px;
        overflow-x: auto; 
    }
    .thumbnail-item {
        width: 60px;
        height: 60px;
        cursor: pointer;
        border: 1px solid #eee;
        border-radius: 2px;
        transition: border-color 0.3s ease;
        flex-shrink: 0;
        overflow: hidden;
    }
    .thumbnail-item.active { border-color: #000; }
    .thumbnail-item img { width: 100%; height: 100%; object-fit: cover; }
}

/* --- Partie 2 : Le Formulaire --- */
.app-info-form {
    padding: 16px 15px;
}
.product-info {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}
.product-info .brand-name { 
    font-size: 0.7rem; 
    color: #666; 
    text-transform: uppercase; 
    letter-spacing: 0.1em;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}
.product-info h1 { 
    font-size: 2rem; 
    margin: 0 0 6px 0; 
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.product-info .price { 
    font-size: 1.25rem; 
    font-weight: 600; 
    margin-bottom: 16px;
    color: #000;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.product-info .price::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000, transparent);
    transition: width 0.4s ease;
}

.product-info .price.updating::after {
    width: 100%;
}
.product-info .description { 
    font-size: 0.9rem; 
    line-height: 1.6; 
    color: #666;
    margin-bottom: 20px;
}
.variant-group { margin-top: 16px; }
.variant-group label { 
    font-weight: 600; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px; 
    display: block; 
    color: #000;
}
.size-variants { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 8px; 
}
.size-variants input[type="radio"] { display: none; }
.size-variants label { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 48px; 
    height: 48px; 
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.2s ease;
    font-size: 0.9rem;
}
.size-variants input[type="radio"]:checked + label { 
    background: #000; 
    color: #fff; 
    border-color: #000; 
}
.size-variants label:hover { 
    border-color: #000; 
}

.form-group { 
    margin-top: 12px; 
}
.form-group label { 
    display: block; 
    font-weight: 600; 
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    color: #000;
}
.form-group input[type="text"], 
.form-group input[type="tel"] {
    width: 100%; 
    padding: 12px 0; 
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 0.95rem; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease;
    background: transparent;
    font-family: 'Inter', sans-serif;
    color: #000 !important; /* Ensure text is black and visible */
}
.form-group input[type="text"]:focus, 
.form-group input[type="tel"]:focus {
    border-color: #000; 
    outline: none; 
}
.form-group input[type="text"]::placeholder,
.form-group input[type="tel"]::placeholder {
    color: #999;
    font-weight: 400;
}

/* Force black text color for all form inputs - override any white color */
.form-group input[type="text"],
.form-group input[type="tel"] {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}

/* Ensure form inputs have black text color */
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
}
.cta-button {
    width: 100%; 
    padding: 14px; 
    background: #000; 
    color: #fff; 
    border: none;
    font-weight: 600; 
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer; 
    margin-top: 20px;
    border-radius: 0;
    transition: all 0.3s ease;
}
.cta-button:hover {
    opacity: 0.85;
}

/* Desktop-specific form styling */
@media (min-width: 1024px) {
    .product-info .brand-name { 
        font-size: 0.65rem; 
        margin-bottom: 2px;
    }
    .product-info h1 { 
        font-size: 2.5rem; 
        margin: 0 0 8px 0;
        line-height: 1.1;
    }
    .product-info .price { 
        font-size: 1.5rem; 
        margin-bottom: 16px;
    }
    .product-info .description { 
        font-size: 0.95rem; 
        line-height: 1.7;
        margin-bottom: 20px;
    }
    .variant-group { margin-top: 18px; }
    .size-variants label { 
        width: 48px; 
        height: 48px;
    }
    .form-group { 
        margin-top: 14px; 
    }
    .form-group input[type="text"], 
    .form-group input[type="tel"] {
        padding: 12px 0;
    }
    .cta-button {
        margin-top: 20px;
        padding: 16px;
    }
}

/* --- Partie 3 : Les Témoignages --- */
.app-testimonials {
    padding: 30px 0;
    box-sizing: border-box;
    max-width: 1400px;
    margin: 0 auto;
}
.app-testimonials h2 {
    font-size: 1.75rem;
    padding: 0 40px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .app-testimonials {
        padding: 40px 40px;
    }
    .app-testimonials h2 {
        font-size: 2rem;
        padding: 0;
        margin-bottom: 24px;
    }
}
.testimonial-swiper {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding-bottom: 20px; /* Espace pour le "scroll" */
}
.testimonial-swiper {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    padding-bottom: 20px;
    gap: 20px;
    padding-left: 20px;
}

.testimonial-card { 
    flex: 0 0 85vw; 
    max-width: 400px; 
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 24px;
    border-radius: 0;
    scroll-snap-align: start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.testimonial-card img { 
    width: 100%; 
    height: 350px; 
    object-fit: cover; 
    margin-bottom: 20px; 
    border-radius: 0;
}

.testimonial-card blockquote { 
    font-size: 0.95rem; 
    line-height: 1.7; 
    color: #333; 
    font-style: italic; 
    border-left: 2px solid #000; 
    padding-left: 16px; 
    margin: 0;
}

.testimonial-card cite { 
    display: block; 
    font-weight: 600; 
    font-style: normal; 
    font-size: 0.85rem; 
    text-align: right; 
    margin-top: 16px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .testimonial-swiper {
        padding-left: 0;
        justify-content: center;
        gap: 30px;
    }
    .testimonial-card {
        flex: 0 0 380px;
    }
}

/* --- Partie 4 : Produits Similaires --- */
.app-related {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.app-related h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .app-related {
        padding: 40px 40px;
    }
    .app-related h2 {
        font-size: 2rem;
        margin-bottom: 24px;
    }
}
.related-link {
    text-decoration: none;
    width: 100%;
    height: 50vh;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.related-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.related-image {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75); 
    transition: filter 0.5s ease, transform 0.5s ease;
}

.related-link:hover .related-image {
    filter: brightness(0.65);
    transform: scale(1.05);
}

.related-text {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
}

.related-text h2 { 
    font-size: 1.5rem; 
    margin-bottom: 10px; 
    font-weight: 700;
    letter-spacing: 0.05em;
}

.related-text h3 { 
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* --- NOUVEAU : CSS POUR LE ZOOM "MODERNE" (LIGHTBOX) --- */
.image-lightbox {
    position: fixed; /* Passe par-dessus tout */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); /* Fond noir "moderne" */
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 9999; /* Au-dessus de tout (même du menu) */
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.image-lightbox.is-visible {
    opacity: 1;
    visibility: visible;
}
.image-lightbox img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Garde les proportions */
    border-radius: 5px; 
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff; /* Couleur blanche */
    cursor: pointer;
}
.lightbox-close i {
    width: 32px;
    height: 32px;
    stroke-width: 2.5px;
}
/* === PRELOADER STYLES === */
#arise-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* White background for clean look */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loader-content {
    text-align: center;
    width: 120px;
}

.loader-logo {
    width: 100%;
    display: block;
    margin-bottom: 15px;
    animation: breathe 2s infinite ease-in-out;
}

.loader-line-mask {
    width: 100%;
    height: 2px;
    background: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.loader-line {
    width: 100%;
    height: 100%;
    background: #000000; /* Black line */
    position: absolute;
    left: -100%;
    animation: loadLine 1.5s infinite ease-in-out;
}

@keyframes breathe {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.98); }
}

@keyframes loadLine {
    0% { left: -100%; }
    50% { left: 0; }
    100% { left: 100%; }
}

/* Class to hide loader via JS */
.preloader-hidden {
    opacity: 0;
    visibility: hidden;
}
/* === SUCCESS OVERLAY STYLE === */
.success-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #ffffff;
    z-index: 99999; /* Au-dessus de tout */
    display: none; /* Hidden by default, shown via JS */
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

.success-overlay[style*="flex"],
.success-overlay.active {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1001;
    animation: slideUp 0.5s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.success-icon {
    width: 80px; height: 80px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto;
}
.success-icon svg { width: 40px; height: 40px; }

.success-overlay h1 { font-size: 2rem; margin-bottom: 10px; }
.success-message { color: #666; margin-bottom: 30px; line-height: 1.5; }

/* Boite Code Commande */
.order-code-box {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 1px dashed #ccc;
}
.order-code-box .label { font-size: 10px; text-transform: uppercase; color: #888; font-weight: 700; display: block; margin-bottom: 5px; }
.code-row { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 10px; border-radius: 10px; }
.the-code { font-family: 'Inter', monospace; font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; }
.copy-button {
    background: none; border: none; cursor: pointer;
    display: flex; align-items: center; gap: 5px;
    font-size: 0.8rem; font-weight: 600; color: #000;
}
.copy-button:hover { opacity: 0.7; }

/* CORRECTION TEXTE WHATSAPP */
.whatsapp-note {
    font-size: 0.95rem;
    color: #25D366; /* Vert WhatsApp */
    margin-top: 20px;
    margin-bottom: 30px;
    
    /* On enlève le flexbox pour que le texte coule naturellement */
    display: block; 
    text-align: center;
    line-height: 1.5;
}

/* On ajuste l'icône pour qu'elle s'aligne bien avec le texte */
.whatsapp-note svg.feather {
    width: 18px;
    height: 18px;
    vertical-align: middle; /* Centre verticalement par rapport au texte */
    margin-right: 6px;
    position: relative;
    top: -2px; /* Petit ajustement optique */
}

.whatsapp-note strong {
    font-weight: 700;
}

/* Email Status Box */
.email-status-box {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #000;
    transition: all 0.3s ease;
}

.email-status-box.email-success-box {
    background: #f0f9f4;
    border-left-color: #25D366;
}

.email-status-box.email-warning-box {
    background: #fff8e1;
    border-left-color: #ff9800;
}

.email-status-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.email-status-icon svg {
    width: 20px;
    height: 20px;
}

.email-success-box .email-status-icon svg {
    stroke: #25D366;
}

.email-warning-box .email-status-icon svg {
    stroke: #ff9800;
}

.email-status-text {
    flex: 1;
    text-align: left;
    line-height: 1.5;
}

.email-status-text .email-success {
    color: #25D366;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.email-status-text .email-warning {
    color: #ff9800;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
}

.email-status-text .email-subtext {
    color: #666;
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* Confirmation Message */
.confirmation-message {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    margin: 0;
    text-align: left;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.confirmation-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.confirmation-title svg {
    width: 24px;
    height: 24px;
    stroke: #25D366;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.confirmation-text {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.confirmation-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #25D366;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.confirmation-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.confirmation-note strong {
    font-weight: 600;
    color: #000;
}
/* === QUANTITY SELECTOR === */
.quantity-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.quantity-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 140px;
    height: 52px;
    min-height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    overflow: visible;
    background: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    visibility: visible !important;
    opacity: 1 !important;
}

.quantity-promo {
    font-size: 0.85rem;
    color: #000;
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%);
    border-left: 2px solid #000;
    transition: all 0.3s ease;
    animation: slideInPromo 0.8s ease-out;
    white-space: nowrap;
}

.quantity-promo:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.02) 100%);
    transform: translateX(4px);
}

.quantity-promo strong {
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-block;
    animation: pulseHighlight 2s ease-in-out infinite;
}

.quantity-promo strong::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #000, transparent);
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes slideInPromo {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes pulseHighlight {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes underlineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

.qty-btn {
    width: 44px;
    height: 100%;
    min-width: 44px;
    min-height: 44px;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    background: #ffffff !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    color: #000 !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 10;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    touch-action: manipulation;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
}

.qty-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Force black color for all quantity button icons - comprehensive override */
.qty-btn svg,
.qty-btn i svg,
.qty-btn [data-feather] svg,
.qty-btn * svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #000000 !important;
    stroke-width: 2.5 !important;
    color: #000000 !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Force black color for all quantity button elements */
.qty-btn *,
.qty-btn i,
.qty-btn i[data-feather],
.qty-btn [data-feather] {
    color: #000000 !important;
    stroke: #000000 !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Additional comprehensive override for all quantity button elements */
.qty-btn [data-feather],
.qty-btn [data-feather] svg,
.qty-btn [data-feather] svg *,
.qty-btn [data-feather] svg path,
.qty-btn [data-feather] svg line,
.qty-btn [data-feather] svg circle {
    stroke: #000000 !important;
    color: #000000 !important;
    fill: none !important;
    opacity: 1 !important;
}

/* L'input au milieu */
.quantity-wrapper input {
    width: calc(100% - 88px);
    border: none;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    background: transparent;
    -moz-appearance: textfield;
}

/* Enlève les flèches natives Chrome/Safari */
.quantity-wrapper input::-webkit-outer-spin-button,
.quantity-wrapper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .quantity-section {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        flex-wrap: wrap;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .quantity-wrapper {
        display: flex !important;
        width: 160px;
        height: 50px;
        min-height: 50px;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
        background: #fff !important;
    }
    
    .qty-btn {
        display: flex !important;
        width: 50px;
        min-width: 50px;
        height: 100%;
        min-height: 50px;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
    
    .qty-btn svg,
    .qty-btn i svg,
    .qty-btn [data-feather] svg,
    .qty-btn i,
    .qty-btn [data-feather] {
        width: 20px !important;
        height: 20px !important;
        stroke: #000000 !important;
        stroke-width: 3 !important;
        color: #000000 !important;
        fill: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .quantity-wrapper input {
        display: block !important;
        width: calc(100% - 100px);
        min-width: 60px;
        font-size: 1.1rem;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        background: transparent !important;
    }
    
    .quantity-promo {
        width: 100%;
        white-space: normal;
        padding: 10px 12px;
        font-size: 0.8rem;
        margin-top: 0;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .quantity-promo strong {
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .quantity-section {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .quantity-wrapper {
        display: flex !important;
        width: 150px;
        height: 48px;
        min-height: 48px;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
        background: #fff !important;
    }
    
    .qty-btn {
        display: flex !important;
        width: 48px;
        min-width: 48px;
        height: 100%;
        min-height: 48px;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        touch-action: manipulation;
    }
    
    .qty-btn svg,
    .qty-btn i svg,
    .qty-btn [data-feather] svg,
    .qty-btn i,
    .qty-btn [data-feather] {
        width: 18px !important;
        height: 18px !important;
        stroke: #000000 !important;
        stroke-width: 3 !important;
        color: #000000 !important;
        fill: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    .quantity-wrapper input {
        display: block !important;
        width: calc(100% - 96px);
        min-width: 54px;
        font-size: 1rem;
        visibility: visible !important;
        opacity: 1 !important;
        color: #000 !important;
        background: transparent !important;
    }
}

/* Very small phones */
@media (max-width: 375px) {
    .quantity-wrapper {
        width: 140px;
        height: 46px;
        min-height: 46px;
    }
    
    .qty-btn {
        width: 46px;
        min-width: 46px;
        min-height: 46px;
    }
    
    .qty-btn svg,
    .qty-btn i svg,
    .qty-btn [data-feather] svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .quantity-wrapper input {
        width: calc(100% - 92px);
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .quantity-section {
        gap: 24px;
        flex-wrap: nowrap;
    }
    .quantity-wrapper {
        width: 150px;
        height: 56px;
    }
    .qty-btn {
        width: 48px;
    }
    .quantity-wrapper input {
        width: calc(100% - 96px);
        font-size: 1.1rem;
    }
    .quantity-promo {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    .quantity-promo strong {
        font-size: 1rem;
    }
}
.close-btn {
    background: #000; color: #fff; width: 100%; padding: 15px;
    border: none; border-radius: 15px; font-weight: 600; cursor: pointer; text-transform: uppercase;
}
/* Ensure old promo-banner is completely hidden */
.promo-banner {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
}

/* Ensure app-header is at top: 0 (no offset) */
.app-header {
    top: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .app-header {
        flex-direction: column !important;
        height: auto !important;
        min-height: 96px !important;
    }
    
    .promo-banner-inline {
        height: 36px;
        padding: 0 15px;
        width: 100%;
        flex: none;
        order: 2;
    }
    
    .promo-banner-inline .promo-message {
        height: 36px;
        font-size: 10px;
    }
    
    .promo-banner-inline .promo-track {
        animation: slideVerticalMobile 25s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        will-change: transform;
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        perspective: 1000px;
        -webkit-perspective: 1000px;
        transform-style: preserve-3d;
        -webkit-transform-style: preserve-3d;
    }
    
    .promo-banner-inline .promo-message {
        transform: translate3d(0, 0, 0);
        -webkit-transform: translate3d(0, 0, 0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        will-change: auto;
    }
    
    @keyframes slideVerticalMobile {
        0%, 49% { 
            transform: translate3d(0, 0, 0);
            -webkit-transform: translate3d(0, 0, 0);
        }
        50%, 99% { 
            transform: translate3d(0, -36px, 0);
            -webkit-transform: translate3d(0, -36px, 0);
        }
        100% { 
            transform: translate3d(0, -72px, 0);
            -webkit-transform: translate3d(0, -72px, 0);
        }
    }
    
    .header-nav {
        padding: 12px 20px;
        height: 50px;
        width: 100%;
        order: 1;
        justify-content: space-between;
        position: relative;
        gap: 0;
    }
    
    .header-logo-inline {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .header-link:first-child {
        margin-right: auto;
    }
    
    .header-link:last-of-type {
        margin-left: auto;
    }
    
    .header-link {
        font-size: 0.7rem;
    }
    
    main.app-page-container {
        margin-top: 96px !important; /* 36px promo + 50px nav + 10px spacing */
    }
}

@media (max-width: 400px) {
    .promo-banner-inline .promo-message { 
        font-size: 10px; 
        letter-spacing: 0.5px; 
    }
}

