/* Variables globales */
:root {
    --primary-color: #dc2626;
    --gray-50: #f9fafb;
    --gray-600: #4b5563;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 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);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Style pour h1 - Titre principal de page */
h1 {
    font-size: 27px ;
    font-weight: 800 ;
    color: #C83E4D ;
    margin: 30px 0 22px 0 ;
    padding: 20px 25px ;
    background: linear-gradient(135deg, rgba(200, 62, 77, 0.05) 0%, rgba(243, 146, 0, 0.05) 100%) ;
    border-left: 6px solid #F39200 ;
    border-bottom: 2px solid #E0E0E0 ;
    text-transform: uppercase ;
    letter-spacing: 1px ;
    position: relative ;
    line-height: 1.3 ;
}

h1::before {
    content: '' ;
    position: absolute ;
    left: 0 ;
    top: 0 ;
    width: 6px ;
    height: 60% ;
    background-color: #C83E4D ;
}

h1::after {
    content: '' ;
    position: absolute ;
    bottom: -2px ;
    left: 0 ;
    width: 150px ;
    height: 2px ;
    background-color: #F39200 ;
}

/* Style pour h2 - Titres principaux */
h2 {
    font-size: 24px ;
    font-weight: 700 ;
    color: #C83E4D ;
    margin: 24px 0 20px 0 ;
    padding-bottom: 12px ;
    border-bottom: 3px solid #F39200 ;
    text-transform: uppercase ;
    letter-spacing: 0.5px ;
    position: relative ;
}

h2::after {
    content: '' ;
    position: absolute ;
    bottom: -3px ;
    left: 0 ;
    width: 80px ;
    height: 3px ;
    background-color: #C83E4D ;
}

/* Style pour h3 - Sous-titres importants */
h3 {
    font-size: 20px ;
    font-weight: 600 ;
    color: #F39200 ;
    margin: 25px 0 15px 0 ;
    padding-left: 15px ;
    border-left: 4px solid #C83E4D ;
    text-transform: uppercase ;
    letter-spacing: 0.3px ;
}

/* Style pour h4 - Sous-titres secondaires */
h4 {
    font-size: 16px ;
    font-weight: 600 ;
    color: #333333 ;
    margin: 20px 0 12px 0 ;
    padding: 10px 15px ;
    background: linear-gradient(90deg, rgba(248, 146, 0, 0.1) 0%, rgba(255, 255, 255, 0) 100%) ;
    border-left: 3px solid #F39200 ;
}

/* Variante alternative pour h2 - Style avec fond */
h2.alt-style {
    background: linear-gradient(135deg, #C83E4D 0%, #E84C5C 100%) ;
    color: white ;
    padding: 15px 25px ;
    border-bottom: none ;
    border-radius: 3px ;
    box-shadow: 0 3px 10px rgba(200, 62, 77, 0.2) ;
}

h2.alt-style::after {
    display: none ;
}

/* Variante alternative pour h3 - Style encadré */
h3.alt-style {
    background-color: #FFF5E6 ;
    padding: 12px 20px ;
    border-left: none ;
    border: 2px solid #F39200 ;
    border-radius: 3px ;
}

/* Variante alternative pour h4 - Style minimaliste */
h4.alt-style {
    background: transparent ;
    border-left: none ;
    color: #C83E4D ;
    font-weight: 700 ;
    padding: 5px 0 ;
    border-bottom: 1px solid #E0E0E0 ;
}

/* Responsive */
@media (max-width: 768px) {
    h2 {
        font-size: 26px ;
    }
    
    h3 {
        font-size: 20px ;
    }
    
    h4 {
        font-size: 16px ;
    }
}


/* Layout et Container */
.container, .product-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Espacement */
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* Marges */
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Typographie */
.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}
.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}
.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.lead {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--gray-600);
}

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.text-red-600 { color: var(--primary-color); }
.text-gray-600 { color: var(--gray-600); }

.text-right { text-align: right; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Listes */
.list-disc {
    list-style-type: disc;
    padding-left: 1.5rem;
}

/* Cards et Conteneurs */
.bg-white { background-color: #ffffff; }
.bg-gray-50 { background-color: var(--gray-50); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Images et Médias */
img {
    max-width: 100%;
}
.product-image {
    flex: 1;
    min-width: 300px;
}

.product-image img {
    width: 100%;
}

/* Vidéo */
.video-container {
    position: relative;
    width: 60%;
    margin: 30px auto;
    padding-bottom: 33.75%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Features */
.feature-item {
    display: flex;
    margin: 30px 0;
    align-items: flex-start;
}

.feature-item img {
    max-width: 300px;
    border-radius: 4px;
}

.feature-description {
    flex: 1;
}

/* Prose Styles */
.prose {
    max-width: none;
    color: #111827;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose ul {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.wizi-wrapper--slider {
    border-radius: 15px; /* Ajustez la valeur selon votre préférence */
}

.wizi-slider {
    border-radius: 15px;
    overflow: hidden; /* Pour que l'image ne dépasse pas des coins arrondis */
}

.wizi-wrapper--slider {
    border-radius: 20px 20px 20px 20px; /* haut-gauche, haut-droit, bas-droit, bas-gauche */
}

/* Utilities */
.max-w-none { max-width: none; }
.max-w-4xl { max-width: 56rem; }
.overflow-x-auto { overflow-x: auto; }

/* Payment Block */
#sc-payment-bloc[style="display: block; visibility: visible;"] {
    background: #f0f2f7;
}
.payment-bloc {
    background-color: #fff !important;
}

/* Hide Elements */
a.prod-details__brand__url {
    display: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
    }
    
    .feature-item img {
        width: 100%;
        max-width: none;
    }
    
    .video-container {
        width: 95%;
        padding-bottom: 53.4375%;
    }
    
    .product-container {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}