/* 
   DESIGN SYSTEM - Clean & Minimal
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --bg-color: #ffffff;
    --surface-color: #f9fafb;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --primary: #000000;
    --accent: #d97706; /* Jaune Orange Foncé */
    --radius-sm: 2px;
    --radius-md: 4px;
    --radius-lg: 6px;
    --radius-xl: 8px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

[x-cloak] { display: none !important; }

html { scroll-behavior: smooth; }

body.shop-theme {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    margin: 0;
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.shop-theme main {
    flex: 1;
}

/* --- HEADER --- */
.shop-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.shop-logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.shop-logo span { color: var(--accent); }

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.desktop-nav a:hover { color: var(--text-main); }

.btn-shop-nav {
    background: var(--text-main);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: background 0.2s;
}

.btn-shop-nav:hover { background: #374151; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 6rem 1.5rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f9fafb);
    border-bottom: 1px solid var(--border-color);
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #eef2ff;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin: 0 auto 2.5rem;
    max-width: 600px;
}

.btn-shop {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn-shop:hover {
    background: #b45309; /* Plus foncé au survol */
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --- CATALOGUE --- */
.catalogue-section {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.section-meta {
    color: var(--text-muted);
    font-size: 1rem;
}

.ebook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2.5rem;
}

.ebook-card {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s;
}

.ebook-card:hover { transform: translateY(-4px); }

.ebook-cover-wrapper {
    aspect-ratio: 1/1;
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.ebook-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ebook-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

.ebook-details { text-align: left; }
.ebook-title { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--text-main); line-height: 1.3; }
.price-current { font-size: 1.25rem; font-weight: 700; color: var(--text-main); }
.price-old { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; margin-right: 0.5rem; }

/* --- PRODUCT PAGE V2 --- */
.product-show-container {
    max-width: 1000px;
    margin: 3rem auto 6rem;
    padding: 0 1.5rem;
}

.product-banner-wrapper {
    margin-bottom: 3rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-banner-img {
    width: 100%;
    aspect-ratio: 702/260;
    object-fit: cover;
    display: block;
}

.product-banner-placeholder {
    width: 100%;
    aspect-ratio: 702/260;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.25rem;
    font-weight: 600;
}

.product-content-wrapper {
    max-width: 750px;
    margin: 0 auto;
}

.product-header-top {
    text-align: left;
    margin-bottom: 2rem;
}

.product-title-top {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--text-main);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
}

.product-meta-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: #9ca3af; /* Gris clair */
    font-weight: 400; /* Police très fine */
}

.product-meta-top .meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-meta-top .meta-item i {
    color: #9ca3af; /* Icônes en gris */
}

.product-meta-top .meta-dot {
    color: #d1d5db;
}

.product-digital-badge-top {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: #fff8f1;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 9999px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

/* --- PROMO URGENCY TIMER --- */
.promo-urgency-box {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    background: #ffc10799;
    border: 1px solid #ffbf00;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    color: #b45309;
}

.urgency-title {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.urgency-countdown {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1;
}

.time-block {
    display: flex;
    align-items: baseline;
    background: white;
    padding: 0.25rem 0.4rem;
    border-radius: 4px;
    min-width: 35px;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.time-block small {
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 2px;
    color: #d97706;
}

.time-colon {
    font-weight: 700;
    color: #d97706;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.5; }
}

.promo-expired-text {
    font-size: 0.95rem;
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background: #fef2f2;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.product-price-center {
    text-align: center;
    margin-bottom: 3rem;
}

.product-price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-buy-now-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-buy-now-wrapper .btn-purchase-now {
    margin: 0 auto;
    max-width: 320px;
}

.payment-methods-mini {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-methods-mini span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-icons-row {
    display: flex;
    gap: 0.5rem;
}

.pay-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.price-old-large {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current-large {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.price-current-large.discount { color: #ef4444; }

.product-sample-link { margin-top: 2rem; }
.product-sample-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}
.product-sample-link a:hover { background: #e5e7eb; }

.product-description-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 4rem;
}

.product-description-content p { margin-bottom: 1.5rem; }
.product-description-content h1, .product-description-content h2, .product-description-content h3 {
    color: var(--text-main);
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

/* Fix pour les images ajoutées dans l'éditeur de texte */
.product-description-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md);
    margin: 1.5rem auto;
    display: block;
    box-shadow: var(--shadow-sm);
}

.product-description-content iframe {
    max-width: 100%;
    border-radius: var(--radius-md);
}

.product-purchase-box {
    background: linear-gradient(145deg, #ffffff, #fffbeb);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid rgba(217, 119, 6, 0.15);
    margin-bottom: 4rem;
    box-shadow: 0 10px 30px -10px rgba(217, 119, 6, 0.1);
}
/* .btn-sticky-buy */
.btn-purchase-now {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFEB3B, #FFEB3B);
    color: #1b0909;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(217, 119, 6, 0.3);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.btn-purchase-now:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 25px -5px rgba(217, 119, 6, 0.6); 
}

.btn-purchase-now:active {
    transform: translateY(1px);
}

@keyframes cta-pulse {
    0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}

.pulse-animation {
    animation: cta-pulse 2s infinite;
}

.secure-checkout-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* --- PDF MODAL --- */
.pdf-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(4px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.pdf-modal-content {
    background: white;
    width: 100%;
    max-width: 900px;
    height: 85vh;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    background: #f9fafb;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pdf-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: #f3f4f6;
    color: #4b5563;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
}

.pdf-modal-close:hover { background: #e5e7eb; color: #111827; }

.pdf-iframe {
    width: 100%;
    flex: 1;
    border: none;
    background: #e5e7eb;
}

.product-faq-section {
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.faq-section-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* --- FAQ --- */
.faq-global-section {
    padding: 5rem 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.faq-container { max-width: 700px; margin: 0 auto; }
.faq-title { font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 3rem; }

.faq-row {
    border-bottom: 1px solid var(--border-color);
}

.faq-trigger {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
}

.faq-content {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- FOOTER  .mobile-overlay --- */
.shop-footer {
    padding: 2rem 1.5rem;
    background: var(--surface-color);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo { font-size: 1.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-main); }
.footer-message { color: var(--text-muted); max-width: 500px; margin: 0 auto 1rem; font-size: 0.95rem; }
.footer-copyright { color: #9ca3af; font-size: 0.85rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-container { padding: 0.8rem 1rem; }
    .mobile-toggle { display: block; }
    .desktop-nav { display: none; }
    
    .hero-section { padding: 2.5rem 1rem; }
    .hero-title { font-size: 1.75rem; margin-bottom: 1rem; }
    .hero-subtitle { font-size: 0.95rem; margin-bottom: 1.5rem; }
    .btn-shop { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    
    .catalogue-section { padding: 2rem 1rem; }
    .section-title { font-size: 1.5rem; }
    .section-header { margin-bottom: 2rem; }
    .ebook-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .ebook-title { font-size: 0.9rem; }
    .price-current { font-size: 1.1rem; }
    
    .product-show-container { margin: 1.5rem auto 3rem; padding: 0 1rem; }
    
    .product-header-top { margin-bottom: 1.5rem; }
    .product-title-top { font-size: 14px; margin-bottom: 0.5rem; }
    .product-meta-top {font-size: 12px;}
    .product-description-content {font-size: 16px;}
    
    .product-banner-wrapper { margin-bottom: 2rem; border-radius: 4px; }
    
    .product-price-center { margin-bottom: 2rem; }
    .price-old-large { font-size: 1rem; }
    .price-current-large { font-size: 1.2rem; }
    .shop-logo{font-size: 16px;}
    .footer-logo{font-size: 16px;}
    
    .product-description-content { font-size: 1.05rem; margin-bottom: 2.5rem; }
    .product-description-content h1, .product-description-content h2, .product-description-content h3 { font-size: 1rem; margin-top: 1.5rem; }
    
    .product-purchase-box { padding: 1.5rem 1rem; margin-bottom: 3rem; border-radius: var(--radius-md); }
    .btn-purchase-now { font-size: 0.95rem; padding: 0.75rem 1.25rem; max-width: 280px; text-transform: none; border-radius: 6px; }
    .secure-checkout-note { font-size: 0.8rem; margin-top: 1rem; }
    
    .product-price-center { text-align: center; margin-bottom: 2.5rem; }
    .product-price-row { justify-content: center; gap: 1rem; }
    .product-buy-now-wrapper .btn-purchase-now { max-width: 280px; width: 100%; margin: 0 auto; }
    /* .header-container */
    .promo-urgency-box { 
        padding: 0.4rem 0.6rem; 
        gap: 0.4rem; 
        justify-content: center;
        width: fit-content;
    }
    .urgency-title { font-size: 0.75rem; white-space: nowrap; }
    .urgency-countdown { gap: 0.2rem; }
    .time-block { min-width: 28px; padding: 0.2rem 0.3rem; }
    .time-block span { font-size: 0.9rem; }
    .time-block small { font-size: 0.6rem; }
    
    .faq-section-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
    
    .faq-global-section { padding: 2.5rem 1rem; }
    .faq-title { font-size: 1.5rem; margin-bottom: 1.5rem; }
    .faq-trigger { padding: 1rem 0; font-size: 0.95rem; }
    
    .shop-footer { padding: 2.5rem 1rem 1.5rem; }
}

/* Sidebar Fixes */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff !important;
    backdrop-filter: none !important;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.mobile-overlay { position: fixed; inset: 0; z-index: 10000; }
.sidebar-header { padding: 1.25rem; border-bottom: 1px solid var(--border-color); display: flex; justify-content: flex-end; }
.sidebar-content { padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-content a { color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 1.1rem; }

/* --- STICKY PURCHASE BAR  .product-title-top--- */
.sticky-purchase-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border-color);
}

.sticky-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-info {
    display: flex;
    flex-direction: column;
}

.sticky-product-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    display: block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sticky-price-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sticky-price-now {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ef4444;
}

.sticky-price-old {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
/* .price-current-large */
.btn-sticky-buy {
    background: linear-gradient(135deg, #FFEB3B, #FFEB3B);
    color: #230707;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.2);
}

@media (max-width: 768px) {
    .sticky-product-name { display: none; }
    .sticky-bar-container { padding: 0 1rem; }
    .btn-sticky-buy { padding: 0.5rem 1rem; font-size: 0.85rem; }
}
/* --- PAYMENT MODAL CLEAN & COMPACT --- */
.payment-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* Plus clair */
    backdrop-filter: blur(4px); /* Moins de flou */
    z-index: 100005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.payment-modal-card {
    background: white;
    width: 100%;
    max-width: 400px; /* Plus compact */
    border-radius: 12px; /* Radius plus sobre */
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.payment-modal-header {
    background: white;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-modal-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.payment-modal-body {
    padding: 1.5rem;
}

.btn-back-icon {
    background: #f1f5f9;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-back-icon:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.payment-product-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 1.25rem;
    border-bottom: 1px dashed #e2e8f0;
}

.payment-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.payment-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.payment-form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.payment-input-group {
    position: relative;
    margin-bottom: 1.25rem;
}

.payment-input-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
}

.payment-input-field {
    width: 100%;
    padding: 0.65rem 0.75rem 0.65rem 2.25rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #1e293b;
    transition: border-color 0.2s;
}

.payment-input-field:focus {
    border-color: var(--accent);
    outline: none;
}
/* .btn-purchase-now pour */
.payment-trust-footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.payment-success-content, .payment-processing-content {
    text-align: center;
    padding: 1rem 0;
}

.payment-success-icon {
    font-size: 2.5rem;
    margin: 0 auto 1.5rem auto;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-spinner {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Force le bouton dans le modal à être full-width et centré */
.payment-modal-body .btn-purchase-now {
    max-width: 100% !important;
    width: 100% !important;
    margin: 1rem 0 0 0 !important;
}

@media (max-width: 480px) {
    .payment-modal-card {
        max-width: 100%;
        border-radius: 0;
        position: fixed;
        bottom: 0;
    }
}
