:root {
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #d3d3d3;
    --font-heading: 'Cinzel', serif;
    --font-body: var(--font-heading);
}

/* Thème sombre (par défaut) */
body {
    background: #0a0a0a;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
}

/* Thème clair */
body.theme-light {
    background: #ffffff;
}

body.woocommerce {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    position: relative;
    background: transparent !important; /* Supprime le background du body */
}

body.woocommerce.theme-light {
    background: linear-gradient(135deg, #ffffff, #f5f5f5) !important;
}

/* Modification du header pour le thème clair */
body.theme-light .shop-header-new {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.85), 
        rgba(255, 255, 255, 0.85)
    ), linear-gradient(145deg, var(--theme-primary), var(--theme-accent));
}

body.theme-light .gradient-overlay::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.95)),
        linear-gradient(145deg, transparent, var(--theme-accent));
    background-blend-mode: overlay, overlay, multiply, normal;
}

/* Ajustements texte pour le thème clair */
body.theme-light .header-title-new {
    color: #333333;
}

body.theme-light .header-features .feature-text,
body.theme-light .scroll-text,
body.theme-light .scroll-text-hover {
    color: #000000; /* Changé à noir complet pour une meilleure lisibilité */
}

/* Particles pour le thème clair */
body.theme-light .particle {
    background: rgba(0, 0, 0, 0.2);
}

.snow-trigger:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.snow-trigger.counting::before {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.snow-trigger.active {
    animation: pulse 1s infinite;
    background: rgba(255, 255, 255, 0.3);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.products-container {
    padding: 20px 30px;
    position: relative;
    z-index: 2;
    margin-top: -60px; /* Ajouté pour réduire l'espace après le header */
}

.product-card {
    display: flex;
    margin-bottom: 40px; /* Ajuster la marge pour équilibrer l'espacement */
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--product-primary-rgb), 0.2);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 400px;
    box-shadow: 0 4px 16px rgba(var(--product-primary-rgb), 0.1);
    z-index: 2;
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-card.active {
    opacity: 1;
    transform: translateY(0);
}

.product-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    max-width: 444px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.category-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--product-primary);
    margin-bottom: 10px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.product-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    margin: 0 0 15px;
    background: linear-gradient(to right, var(--product-primary), var(--product-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.product-card.memoria .product-title {
    background: linear-gradient(135deg, #9c7b4e, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(156, 123, 78, 0.5);
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 500px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

/* Styles communs pour toutes les feature cards */
.feature-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover effect pour toutes les feature cards */
.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--product-primary);
}

.feature-icon {
    font-size: 1.3rem;
    color: var(--product-primary);
    margin-bottom: 6px;
}

.feature-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 8px 12px;
    background: var(--product-primary);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.feature-card:hover .feature-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
}

.cta-button {
    width: 100% !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 30px !important;
    background: var(--product-primary) !important;
    color: #FFF !important;
    font-family: 'Josefin Sans', sans-serif !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.cta-button:hover {
    transform: translateY(-3px);
    color: var(--text-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Effets spéciaux pour chaque produit */
.product-effect {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.soutien .product-effect {
    background: radial-gradient(circle at center, var(--product-accent) 0%, transparent 70%);
}

.asteria .product-effect,
.phoenix .product-effect,
.oceane .product-effect,
.amor .product-effect {
    display: none;
}

.terra .product-effect {
    background: radial-gradient(circle at bottom, var(--product-primary) 0%, transparent 70%);
}

.product-card:hover .product-effect {
    opacity: 0.2;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(var(--product-primary-rgb), 0.15);
    border-color: rgba(var(--product-primary-rgb), 0.4);
}

.product-card:hover .product-image {
    transform: scale(1.1) rotate(2deg);
}

@media (max-width: 1024px) {
    .product-card {
        flex-direction: column !important;
        margin-bottom: 60px;
    }

    .product-content {
        padding: 20px;
    }

    .product-title {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-footer {
        flex-direction: column;
        gap: 20px;
    }

    .cta-button {
        justify-content: center;
    }

    .feature {
        justify-content: center;
    }

    .header-category {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .product-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .info-tooltip {
        width: 220px;
        font-size: 0.8rem;
        padding: 1rem;
        top: calc(100% + -20px);
        left: auto;
        right: -17px;
        transform: translateY(10px);
    }

    .info-icon-wrapper:hover .info-tooltip,
    .info-icon-wrapper:active .info-tooltip {
        transform: translateY(0);
    }

    .tooltip-arrow {
        left: auto;
        right: 8px;
    }

    .header-title-new {
        font-size: 3rem;
    }

    .header-features {
        grid-template-columns: 1fr;
    }

    .header-grid {
        gap: 3rem;
    }

    .header-right {
        display: block; /* Afficher la carte */
        height: 400px; /* Hauteur fixe pour la carte */
    }

    .floating-cards {
        width: 250px; /* Réduire légèrement la taille de la carte */
        height: 375px;
        margin: 0 auto; /* Centrer la carte */
        transform: none; /* Suppression de la rotation sur mobile */
        perspective: 1000px;
    }

    .card-3d {
        transform-origin: center center;
    }
}

/* Styles spécifiques pour chaque produit */
.product-card.soutien {
    background: linear-gradient(135deg, rgba(48, 28, 3, 0.9), rgba(10, 0, 0, 0.95));
    position: relative;
    overflow: hidden;
}

.product-card.asteria {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(0, 31, 77, 0.9), rgba(0, 0, 0, 0.95));
}

.product-card.phoenix {
    background: linear-gradient(180deg, rgba(42, 15, 2, 0.9), rgba(0, 0, 0, 0.95));
}

.product-card.oceane {
    background: linear-gradient(-45deg, rgba(0, 51, 68, 0.9), rgba(0, 0, 0, 0.95));
    overflow: hidden;
    position: relative;
}

.product-card.terra {
    background: linear-gradient(0deg, rgba(27, 94, 32, 0.9), rgba(0, 0, 0, 0.95));
    overflow: hidden;
    position: relative;
}

.product-card.amor,
.product-card.glacialis {
    position: relative;
    overflow: hidden;
}

.product-card.glacialis .product-content {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(165, 242, 243, 0.1),
        rgba(6, 38, 53, 0.3));
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card.glacialis .product-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 40%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 60%,
        transparent 70%
    );
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}

.product-card.glacialis:hover .product-content::before {
    animation: frostGlow 2s ease-in-out infinite alternate;
}

@keyframes frostGlow {
    0% {
        opacity: 0.5;
        filter: blur(3px) brightness(1);
    }
    100% {
        opacity: 0.8;
        filter: blur(2px) brightness(1.3);
    }
}

.bubble {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), rgba(127, 219, 255, 0.3) 60%, transparent);
    border-radius: 50%;
    pointer-events: none;
    animation: bubbleFloat var(--duration) ease-in-out forwards;
}

@keyframes bubbleFloat {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(0.8);
        opacity: 0;
    }
}

/* Phoenix - Effet de chaleur */
.product-card.phoenix .product-effect {
    background: radial-gradient(circle at center, 
        rgba(255, 87, 34, 0.2) 0%,
        transparent 70%
    );
    animation: emberPulse 3s ease-in-out infinite;
}

@keyframes emberPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.product-card.phoenix:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, 
        transparent 0%,
        rgba(255, 87, 34, 0.1) 50%,
        transparent 100%
    );
    animation: heatWave 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heatWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Asteria - Effet stellaire */
.product-card.asteria .product-effect {
    display: none;
}

/* Terra - Effet naturel */
.product-card.terra .product-effect {
    background: linear-gradient(135deg,
        transparent 0%,
        rgba(76, 175, 80, 0.1) 50%,
        transparent 100%
    );
    animation: growthPulse 5s ease-in-out infinite;
}

@keyframes growthPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(1deg); }
}

.product-card.terra:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(76, 175, 80, 0.1) 0%,
        transparent 70%
    );
    animation: naturalFlow 4s ease-in-out infinite;
    pointer-events: none;
}

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

/* Soutien - Effet protecteur */
.product-card.soutien .product-effect {
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(103, 58, 183, 0.1) 50%,
        transparent
    );
    animation: auraRotate 8s linear infinite;
}

@keyframes auraRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-card.soutien:hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(103, 58, 183, 0.1);
    border-radius: 30px;
    animation: shieldPulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.02); opacity: 0.8; }
}

.product-card.soutien::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at bottom, rgba(255, 69, 0, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.lava-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    background: radial-gradient(circle, var(--color1) 0%, var(--color2) 50%, transparent);
    animation: moveParticle var(--duration) ease-out forwards;
    left: var(--startX);
    top: var(--startY);
}

@keyframes moveParticle {
    0% {
        transform: translate(0, 0) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(1);
        opacity: 0;
    }
}

.leaf {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(139, 195, 74, 0.8),
        rgba(76, 175, 80, 0.6) 60%,
        transparent);
    clip-path: path('M7.5 0C5 3 0 7.5 0 7.5S5 12 7.5 15C10 12 15 7.5 15 7.5S10 3 7.5 0Z');
    pointer-events: none;
    opacity: 0;
    animation: leafFloat var(--duration) ease-in-out forwards;
}

@keyframes leafFloat {
    0% {
        transform: translate(0, -20px) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) rotate(var(--rotation)) scale(1);
        opacity: 0;
    }
}

/* Styles pour le thème Amor */

.product-card.amor::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 26, 77, 0.3), transparent 70%);
    opacity: 0.6;
}

.product-card.amor .heart {
    position: absolute;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(255, 26, 77, 0.5));
    animation: floatingHeart 3s ease-in-out infinite;
}

@keyframes floatingHeart {
    0% {
        transform: translateY(100%) scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-100%) scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-300%) scale(0.8) rotate(-10deg);
        opacity: 0;
    }
}

.product-card.amor .product-title {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 26, 77, 0.5);
    animation: titlePulse 1s infinite;
}

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

.product-card.amor .product-price {
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255, 26, 77, 0.4);
}

.product-card.asteria .stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.product-card.asteria .star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

@keyframes floatAround1 {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translate(100px, -50px) scale(1.2); opacity: 0; }
}

@keyframes floatAround2 {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translate(-80px, -70px) scale(1.2); opacity: 0; }
}

@keyframes floatAround3 {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.8; }
    100% { transform: translate(50px, -100px) scale(1.2); opacity: 0; }
}

.product-card.asteria .star.active {
    animation-duration: 6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.product-card.asteria .star.float-1 {
    animation-name: floatAround1;
}

.product-card.asteria .star.float-2 {
    animation-name: floatAround2;
}

.product-card.asteria .star.float-3 {
    animation-name: floatAround3;
}

/* Variations des titres */
.product-card.asteria .product-title {
    text-shadow: 0 0 15px rgba(0, 119, 255, 0.5);
}

/* Variations des boutons */
.product-card.asteria .cta-button {
    background: linear-gradient(135deg, var(--product-primary), var(--product-accent));
}

/* Override des styles WooCommerce par défaut */
.woocommerce img, 
.woocommerce-page img,
.product-image {
    height: 100% !important;
    max-width: none !important;
}

.product-title-wrapper {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.info-icon-wrapper {
    position: relative;
    z-index: 10;
}

.info-icon {
    color: var(--product-primary);
    font-size: 1.2rem;
    cursor: help;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 3px rgba(255, 26, 77, 0.3));
    animation: pulseIcon 2s infinite;
}

.info-icon:hover {
    color: var(--product-accent);
    transform: scale(1.1);
}

.info-tooltip {
    position: fixed; /* Changé de absolute à fixed pour mobile */
    z-index: 9999; /* Augmenté pour passer au-dessus de tout */
    width: min(300px, 80vw);
    background: linear-gradient(145deg, var(--product-secondary), var(--product-primary));
    color: white;
    border: 2px solid var(--product-primary);
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 26, 77, 0.2);
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.info-tooltip-content {
    position: relative;
    line-height: 1.5;
    text-align: left;
}

.tooltip-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff1a4d;
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tooltip-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff1a4d, transparent);
    margin: 0.5rem auto;
}

.tooltip-fact {
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
}

.tooltip-fact::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: #ff1a4d;
    font-size: 0.8em;
}

.tooltip-highlight {
    color: #ff1a4d;
    font-weight: 500;
}

.tooltip-note {
    font-size: 0.85em;
    font-style: italic;
    opacity: 0.9;
    text-align: center;
    margin-top: 0.5rem;
}

.tooltip-arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: var(--product-primary);
    z-index: 1;
}

/* Activation de l'infobulle au hover sur desktop */
@media (hover: hover) {
    .info-icon-wrapper:hover .info-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Activation de l'infobulle au clic sur mobile */
@media (hover: none) {
    .info-icon-wrapper:active .info-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }

    .feature-tooltip {
        display: none;
    }
}

/* Animation subtile de l'icône */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.product-card.memoria {
    background: linear-gradient(145deg, rgba(42, 24, 16, 0.9), rgba(0, 0, 0, 0.95));
    position: relative;
    overflow: hidden;
}

.product-card.memoria::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at center, rgba(156, 123, 78, 0.2), transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='rgba(156, 123, 78, 0.15)'%3E%3Ccircle cx='50' cy='45' r='20'/%3E%3Crect x='45' y='45' width='10' height='25' rx='2'/%3E%3Ccircle cx='50' cy='45' r='5'/%3E%3C/g%3E%3C/svg%3E") center/40% no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='rgba(156, 123, 78, 0.1)'%3E%3Ccircle cx='50' cy='50' r='35'/%3E%3Ccircle cx='50' cy='50' r='25'/%3E%3C/g%3E%3C/svg%3E") center/80% no-repeat;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.product-card.memoria:hover::before {
    opacity: 1;
}

.product-card.memoria .key-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239c7b4e' d='M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E") center/contain no-repeat;
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.3));
    animation: keyFloat var(--duration) ease-in-out forwards;
    z-index: 1;
}

@keyframes keyFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
        transform: translate(calc(var(--moveX) * 0.8), calc(var(--moveY) * 0.8)) rotate(calc(var(--rotation) * 0.8)) scale(1);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) rotate(var(--rotation));
        opacity: 0;
    }
}

.product-card.memoria .product-content {
    position: relative;
    z-index: 2;
    background: rgba(42, 24, 16, 0.3);
    border: 1px solid rgba(156, 123, 78, 0.2);
    transition: all 0.3s ease;
}

.product-card.memoria:hover .product-content {
    background: rgba(42, 24, 16, 0.5);
    border-color: rgba(156, 123, 78, 0.4);
}

.product-card.memoria .product-title {
    background: linear-gradient(135deg, #9c7b4e, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(156, 123, 78, 0.5);
}

/* Ligne néon qui trace */
.product-card.phoenix .product-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: linear-gradient(90deg, 
        transparent 0%,
        transparent 45%,
        #ff8f00 48%,
        #ffd700 50%,
        #ff8f00 52%,
        transparent 55%,
        transparent 100%
    );
    background-size: 200% 100%;
    -webkit-mask: url('../assets/images/phoenix.png') center/contain no-repeat;
    mask: url('../assets/images/phoenix.png') center/contain no-repeat;
    opacity: 1;
    z-index: 0;
    filter: drop-shadow(0 0 5px #ff8f00) drop-shadow(0 0 10px #ffd700);
    animation: phoenixTrace 20s ease-in-out infinite;
    transition: filter 0.3s ease;
}

/* Effet d'aura sur hover */
.product-card.phoenix .product-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: url('../assets/images/phoenix.png') center/contain no-repeat;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.product-card.phoenix:hover .product-content::after {
    opacity: 0.15;
    filter: drop-shadow(0 0 10px #ffd700) drop-shadow(0 0 20px #ff8f00) brightness(1.5);
}

.product-card.phoenix:hover .product-content::before {
    filter: drop-shadow(0 0 8px #ff8f00) drop-shadow(0 0 15px #ffd700);
}

/* Ajustement de la position sur desktop */
@media screen and (min-width: 768px) {
    .product-card.phoenix .product-content::before,
    .product-card.phoenix .product-content::after {
        left: 60%;
    }
}

@keyframes phoenixTrace {
    0%, 15% {
        background-position: 200% 0;
    }
    35%, 65% {
        background-position: -200% 0;
    }
    85%, 100% {
        background-position: 200% 0;
    }
}

.product-card.phoenix .product-content > * {
    position: relative;
    z-index: 2;
}

/* Effet de bris de glace */
.ice-crack {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(165,242,243,0.3));
    clip-path: polygon(50% 0%, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0% 50%, 40% 40%);
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.ice-shard {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(165,242,243,0.2));
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    transform-origin: center;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

/* Styles pour les flocons de neige */
.snowflake {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

@keyframes snowfall {
    0% {
        transform: translate(0, -10px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(var(--finalX), var(--finalY)) rotate(360deg);
        opacity: 0;
    }
}

/* Modification du conteneur pour la neige */
.product-card.glacialis .snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.8) 50%,
        rgba(0,0,0,0) 100%
    );
}

.snow-trigger {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5; /* Augmente le z-index pour être sûr qu'il reste au-dessus */
    opacity: 0.5;
    transition: opacity 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snow-trigger::before {
    content: "❄";
    font-size: 16px;
    color: white;
    text-shadow: 0 0 3px rgba(0,0,0,0.3);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.snow-trigger::after {
    content: var(--countdown);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 2px black;
}

/* Style pour l'accumulation de neige */
.snow-accumulation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.8)
    );
    transition: height 0.5s ease-out;
    border-radius: 0 0 10px 10px;
    pointer-events: none;
    z-index: 3;
}

.snow-accumulation::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0.3)
    );
}

.snow-accumulation.growing {
    animation: snowGrow 7s linear forwards;
}

@keyframes snowGrow {
    0% {
        height: 0;
        filter: blur(0px);
    }
    100% {
        height: 20px;
        filter: blur(1px);
    }
}

/* Ajustement pour que la neige disparaisse progressivement */
.snow-accumulation.melting {
    animation: snowMelt 2s ease-out forwards;
}

@keyframes snowMelt {
    0% {
        height: 20px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

/* Style pour le mode tempête */
.product-card.glacialis.blizzard .snowflake {
    animation-duration: 1s !important;
    filter: blur(2px) !important;
}

.product-card.glacialis.blizzard {
    pointer-events: none;
}

.product-card.glacialis.blizzard .snow-trigger {
    animation: blizzardPulse 0.5s infinite;
}

@keyframes blizzardPulse {
    0% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.2); filter: brightness(1.5); }
    100% { transform: scale(1); filter: brightness(1); }
}

/* Japanese Peace Symbols Animation */
.peace-symbol {
    position: absolute;
    font-family: "Noto Sans JP", sans-serif;
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
    font-size: 36px;
    z-index: 1;
    transition: all 0.5s ease-in-out;
}

.peace-symbol.highlight {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
    z-index: 1;
}

/* Top row */
.peace-symbol.pos1 { top: 10%; left: 15%; }
.peace-symbol.pos2 { top: 10%; left: 50%; transform: translateX(-50%); }
.peace-symbol.pos3 { top: 10%; right: 15%; }

/* Middle row */
.peace-symbol.pos4 { top: 50%; left: 10%; transform: translateY(-50%); }
.peace-symbol.pos5 { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.peace-symbol.pos6 { top: 50%; right: 10%; transform: translateY(-50%); }

/* Bottom row */
.peace-symbol.pos7 { bottom: 10%; left: 15%; }
.peace-symbol.pos8 { bottom: 10%; left: 50%; transform: translateX(-50%); }
.peace-symbol.pos9 { bottom: 10%; right: 15%; }

/* Highlight transforms for centered symbols */
.peace-symbol.pos2.highlight { transform: translateX(-50%) scale(1.3); }
.peace-symbol.pos4.highlight { transform: translateY(-50%) scale(1.3); }
.peace-symbol.pos5.highlight { transform: translate(-50%, -50%) scale(1.3); }
.peace-symbol.pos6.highlight { transform: translateY(-50%) scale(1.3); }
.peace-symbol.pos8.highlight { transform: translateX(-50%) scale(1.3); }

/* Thème Mysteria - Style moderne mystique */
.product-card.mysteria {
    background: linear-gradient(180deg, #000000, #1a0f2e);
    border: 1px solid rgba(138, 43, 226, 0.2);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    animation: mysticGlow 4s infinite;
}

/* Effet de brume mystique avancé */
.product-card.mysteria .mystic-fog {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(
            circle at var(--mouse-x) var(--mouse-y),
            rgba(138, 43, 226, 0.15),
            transparent 70%
        ),
        linear-gradient(
            45deg,
            rgba(75, 0, 130, 0.1),
            rgba(216, 180, 254, 0.1),
            rgba(147, 51, 234, 0.1)
        );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    filter: blur(12px);
}

/* Animations */
@keyframes mysticGlow {
    0% { box-shadow: 0 0 15px rgba(138, 43, 226, 0.2), 0 0 30px rgba(147, 51, 234, 0.1); }
    50% { box-shadow: 0 0 30px rgba(138, 43, 226, 0.4), 0 0 50px rgba(147, 51, 234, 0.2); }
    100% { box-shadow: 0 0 15px rgba(138, 43, 226, 0.2), 0 0 30px rgba(147, 51, 234, 0.1); }
}

@keyframes symbolFloat {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
        transform: translate(calc(var(--moveX) * 0.2), calc(var(--moveY) * 0.2)) rotate(calc(var(--rotation) * 0.2)) scale(1);
    }
    80% {
        opacity: var(--opacity);
        transform: translate(calc(var(--moveX) * 0.8), calc(var(--moveY) * 0.8)) rotate(calc(var(--rotation) * 0.8)) scale(1);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) rotate(var(--rotation)) scale(0.8);
        opacity: 0;
    }
}

@keyframes sparkleFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(0) rotate(180deg);
        opacity: 0;
    }
}

.product-card.mysteria:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(180deg, #000000, #2d1b4d);
}

/* Titre du produit */
.product-card.mysteria .product-title {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #c084fc, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 15px rgba(138, 43, 226, 0.3);
    position: relative;
    z-index: 3;
}

/* Symbole mystique */
.product-card.mysteria .mystic-symbol {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--size);
    color: var(--color);
    text-shadow: 0 0 15px currentColor;
    animation: symbolFloat var(--duration) ease-in-out infinite;
    z-index: 2;
    left: var(--x);
    top: var(--y);
    transform-origin: center center;
    will-change: transform;
}

/* Sparkle */
.product-card.mysteria .sparkle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    animation: sparkleFloat var(--duration) ease-in-out infinite;
    will-change: transform;
}

/* Prix */
.product-card.mysteria .price-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--product-primary);
    position: relative;
    z-index: 3;
}

.product-card.mysteria .cta-button:hover {
    transform: translateY(-3px);
    color: var(--text-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Cartes de fonctionnalités */
.product-card.mysteria .feature-card {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.product-card.mysteria .feature-card:hover {
    transform: translateY(-5px);
    background: rgba(124, 58, 237, 0.15);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

/* Container pour les effets */
.product-card.mysteria .effects-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

/* Animation pour les particules mystiques */
@keyframes particleFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: var(--opacity);
    }
    80% {
        opacity: var(--opacity);
    }
    100% {
        transform: translate(var(--moveX), var(--moveY)) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Style des particules mystiques */
.mystic-particle {
    position: absolute;
    pointer-events: none;
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle at center, var(--color) 0%, transparent 75%);
    border-radius: 50%;
    opacity: 0;
    z-index: 2;
    animation: particleFloat var(--duration) ease-in-out forwards;
    will-change: transform;
}

.product-card.mysteria::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(147, 112, 219, 0.1), transparent 60%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.product-card.mysteria:hover::before {
    opacity: 0.8;
}

.product-card.mysteria .mystic-aura {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at var(--mouse-x) var(--mouse-y),
        rgba(147, 112, 219, 0.4),
        rgba(147, 112, 219, 0.2) 25%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
    filter: blur(5px);
}

.product-card.mysteria:hover .mystic-aura {
    opacity: 1;
}

.product-card.mysteria .product-content {
    background: linear-gradient(135deg, 
        rgba(42, 27, 61, 0.95),
        rgba(26, 15, 38, 0.98)
    );
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(147, 112, 219, 0.2);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Nouveau style d'en-tête */
.shop-header-new {
    position: relative;
    padding: 2rem 1rem;
    margin-top: -120px;
    z-index: 1;
    background: transparent;
    min-height: auto; /* Retiré la hauteur minimale fixe */
}

.gradient-overlay {
    position: fixed; /* Changé de absolute à fixed */
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--theme-primary);
    transition: background-color 0.8s ease;
    min-height: 100vh;
    min-height: 100dvh; /* Utiliser dvh pour la hauteur dynamique sur mobile */
    height: 100%;
    /* Ajout d'une marge négative pour éviter la bande */
    margin-bottom: -100px;
    padding-bottom: 100px;
    /* Extension du gradient avec transform */
    transform: translateY(50px);
    /* Assurer que le gradient déborde bien */
    margin: -50px;
    padding: 50px;
}

.gradient-overlay::before {
    content: '';
    position: fixed; /* Changé de absolute à fixed */
    inset: 0;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        linear-gradient(145deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
        linear-gradient(145deg, transparent, var(--theme-accent));
    background-blend-mode: overlay, overlay, multiply, normal;
    background-attachment: fixed; /* Ajouté pour fixer le background */
    opacity: 1;
    transition: opacity 0.8s ease;
    /* Ajout d'une marge négative pour éviter la bande */
    margin-bottom: -100px;
    padding-bottom: 100px;
    /* Extension du gradient avec transform */
    transform: translateY(50px);
    /* Assurer que le gradient déborde bien */
    margin: -50px;
    padding: 50px;
}

.particle-container {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    filter: blur(1px);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: particleFloat 20s infinite linear;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation: particleFloat 25s infinite linear reverse;
}

.particle:nth-child(3) {
    top: 80%;
    left: 30%;
    animation: particleFloat 22s infinite linear;
}

.header-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem; /* Augmenter l'espace entre header-left et header-right */
    max-width: 1800px; /* Augmenter la largeur maximale */
    margin: 0 auto;
    align-items: center;
    width: 100%; /* Ajouté pour assurer la pleine largeur */
    padding: 0 2rem; /* Ajouter plus de padding sur les côtés */
}

.header-left {
    padding: 2rem;
    width: 100%; /* Assurer la pleine largeur */
    max-width: 100%; /* Empêcher le dépassement */
    overflow: hidden; /* Empêcher le débordement */
}

.header-category {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-dot {
    width: 8px;
    height: 8px;
    background: var(--theme-primary);
    border-radius: 50%;
    animation: pulseDot 2s infinite;
    transition: all 0.5s ease;
}

.category-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-primary);
    margin-bottom: 0.5rem;
    transition: all 0.5s ease;
}

.header-title-new {
    font-size: 5rem;
    line-height: 1.1;
    margin: 0 0 3rem;
    font-weight: 800;
    color: #ffffff;
}

.header-title-new .highlight {
    color: var(--theme-primary);
    transition: color 0.5s ease-in-out;
}

.header-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2; /* S'assurer que les features passent au-dessus */
}

.header-features .feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-features .feature-icon {
    font-size: 1.5rem;
    color: var(--theme-accent);
    animation: rotateIcon 6s infinite linear;
    transition: all 0.5s ease;
}

.header-features .feature-text {
    font-size: 1rem;
    color: #ffffff;
    opacity: 0.8;
}

.header-right {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cards {
    position: relative;
    width: 300px;
    height: 450px;
    perspective: 1000px;
    transform: none;
    z-index: 2;
    transform-style: preserve-3d;
}

.card-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: floatCard 10s infinite ease-in-out;
}

@keyframes floatCard {
    0% { transform: translateZ(0) rotateY(0deg); }
    25% { transform: translateZ(50px) rotateY(90deg); }
    50% { transform: translateZ(0) rotateY(180deg); }
    75% { transform: translateZ(-50px) rotateY(270deg); }
    100% { transform: translateZ(0) rotateY(360deg); }
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(123, 31, 162, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-logo {
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--text-light);
}

.card-face.front .card-logo {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-face.back .card-logo {
    opacity: 1;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%) rotateY(180deg);
}

.card-face.front {
    background: linear-gradient(145deg, var(--theme-primary), var(--theme-accent));
    transform: rotateY(0deg);
}

.card-face.back {
    background: linear-gradient(145deg, var(--theme-accent), var(--theme-primary));
    transform: rotateY(180deg);
}

.scroll-indicator {
    position: absolute;
    bottom: -2rem; /* Modifié de 2rem à -2rem pour descendre */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1; /* Réduire le z-index pour passer sous les autres éléments */
    pointer-events: none; /* Empêcher les interactions */
}

.scroll-text {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--theme-primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        opacity: 0;
    }
    50% {
        transform: scaleY(1);
        opacity: 1;
    }
    100% {
        transform: scaleY(0);
        opacity: 0;
    }
}

.layout-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.layout-toggle .toggle-button {
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, #FFD700, #FFA500);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.layout-toggle .toggle-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(123, 31, 162, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(145deg, #FFA500, #FFD700);
}

.layout-toggle .toggle-button:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.layout-toggle .toggle-button i {
    transition: all 0.3s ease;
}

.layout-toggle .toggle-button:hover i {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Supprimer toutes les règles associées au price-group */
@media (max-width: 767px) {
    .product-footer {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
    }

    .cta-button {
        width: 100% !important;
        padding: 0.6em 1em !important;
        font-size: 0.9em !important;
        white-space: nowrap !important;
    }
}

/* Ajouter le padding uniquement pour les grands écrans */
@media (min-width: 1024px) {
    .shop-header-new {
        padding-top: 140px;
        margin-bottom: 100px;
    }
}

@media (max-width: 1024px) {
    .shop-header-new {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .header-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        margin-top: 4rem;
    }

    .header-left {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 600px;
    }

    .header-title-new {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .header-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 90%;
    }

    .header-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        justify-content: center;
    }

    .feature {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .feature-icon {
        font-size: 1.8rem;
    }

    .feature-text {
        font-size: 1rem;
        line-height: 1.4;
    }

    .header-right {
        width: 100%;
        height: 350px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1rem;
    }

    .floating-cards {
        width: 220px;
        height: 330px;
    }

    .scroll-indicator {
        bottom: 1rem;
        margin-top: 2rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 1024px) {
    .shop-header-new {
        padding: 2rem 1rem;
    }

    .header-description {
        font-size: 1rem;
    }

    .header-features {
        gap: 1.2rem;
    }

    .feature-icon {
        font-size: 1.6rem;
    }

    .feature-text {
        font-size: 0.9rem;
    }

    .scroll-indicator {
        position: relative;
        margin-top: 3rem;
        padding-bottom: 1rem;
    }
}

@media (max-width: 1024px) {
    .header-grid {
        padding: 0 15px;
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .header-left {
        padding: 1rem;
        text-align: center;
    }

    .header-title-new {
        font-size: 3rem;
        word-wrap: break-word; /* Permettre la césure des mots */
        hyphens: auto; /* Activer la césure automatique */
    }
}

@media (max-width: 480px) {
    .header-grid {
        padding: 0 0px;
    }

    .header-left {
        padding: 0.5rem;
    }

    .header-title-new {
        font-size: 2.5rem;
    }

    .floating-cards {
        width: 100%; /* Pleine largeur */
        max-width: 250px; /* Limiter la largeur maximale */
        margin: 0 auto; /* Centrer */
    }
}

@media (min-width: 1424px) {
    .header-grid {
        gap: 15rem; /* Plus grand espacement pour les grands écrans */
    }
}

@media (max-width: 1423px) {
    .header-grid {
        gap: 8rem; /* Espacement normal pour les écrans plus petits */
    }
}

.category-dot,
.category-text,
.header-title-new .highlight,
.header-features .feature-icon,
.card-face,
.scroll-line {
    transition: all 0.5s ease-in-out;
}

.site-content {
    position: relative;
    z-index: 1;
    background: transparent;
    min-height: 100vh;
}

/* Styles des dividers */
.product-divider {
    margin: 40px 0; /* Ajuster la marge pour équilibrer l'espacement */
    position: relative;
    width: 100%;
}

@media (max-width: 1024px) {
    .product-divider {
        margin: 30px 0;
    }
    
    /* Ajuster l'espacement entre les cartes et le divider */
    .product-card {
        margin-bottom: 30px;
    }
    
    .product-card + .product-divider {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

.divider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.divider-line {
    height: 1px;
    width: 100px;
    max-width: 30%;
    transition: all 0.3s ease;
}

.divider-icon {
    width: 30px;
    height: 30px;
    position: relative;
    transition: all 0.3s ease;
}

/* Divider Soutien */
.soutien-divider .divider-line {
    background: linear-gradient(90deg, transparent, #ff4500, transparent);
}

.soutien-divider .divider-icon {
    background: radial-gradient(circle at center, #ff4500, transparent 70%);
}

.soutien-divider .divider-icon::before {
    content: '✧';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c6a;
    animation: rotateFire 3s infinite linear;
}

/* Divider Asteria */
.asteria-divider .divider-line {
    background: linear-gradient(90deg, transparent, #0077ff, transparent);
}

.asteria-divider .divider-icon {
    background: radial-gradient(circle at center, #0077ff, transparent 70%);
}

.asteria-divider .divider-icon::before {
    content: '★';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #80bfff;
    animation: twinkleStar 2s infinite ease-in-out;
}

/* Divider Phoenix */
.phoenix-divider .divider-line {
    background: linear-gradient(90deg, transparent, #ff6b2b, transparent);
}

.phoenix-divider .divider-icon {
    background: radial-gradient(circle at center, #ff6b2b, transparent 70%);
}

.phoenix-divider .divider-icon::before {
    content: '🔥';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: flamePulse 2s infinite;
}

/* Divider Oceane */
.oceane-divider .divider-line {
    background: linear-gradient(90deg, transparent, #00a8cc, transparent);
}

.oceane-divider .divider-icon {
    background: radial-gradient(circle at center, #00a8cc, transparent 70%);
}

.oceane-divider .divider-icon::before {
    content: '~';
    position: absolute;
    inset: 0;
    display: flex;
       align-items: center;
    justify-content: center;
    color: #7fdbff;
    animation: waveMotion 2s infinite ease-in-out;
}

/* Divider Terra */
.terra-divider .divider-line {
    background: linear-gradient(90deg, transparent, #4caf50, transparent);
}

.terra-divider .divider-icon {
       background: radial-gradient(circle at center, #4caf50, transparent 70%);
}

.terra-divider .divider-icon::before {
    content: '🌱';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: growPlant 3s infinite;
}

/* Divider Amor */
.amor-divider .divider-line {
    background: linear-gradient(90deg, transparent, #ff1a4d, transparent);
}

.amor-divider .divider-icon {
    background: radial-gradient(circle at center, #ff1a4d, transparent 70%);
}

.amor-divider .divider-icon::before {
    content: '♥';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff80ab;
    animation: heartBeat 1.5s infinite;
}

/* Divider Memoria */
.memoria-divider .divider-line {
    background: linear-gradient(90deg, transparent, #9c7b4e, transparent);
}

.memoria-divider .divider-icon {
    background: radial-gradient(circle at center, #9c7b4e, transparent 70%);
}

.memoria-divider .divider-icon::before {
    content: '⌛';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    animation: hourglassFlip 3s infinite;
}

/* Divider Glacialis */
.glacialis-divider .divider-line {
    background: linear-gradient(90deg, transparent, #a5f2f3, transparent);
}

.glacialis-divider .divider-icon {
    background: radial-gradient(circle at center, #a5f2f3, transparent 70%);
}

.glacialis-divider .divider-icon::before {
    content: '❄';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    animation: snowflakeSpin 4s infinite linear;
}

/* Divider Mysteria */
.mysteria-divider .divider-line {
    background: linear-gradient(90deg, transparent, #9370DB, transparent);
}

.mysteria-divider .divider-icon {
    background: radial-gradient(circle at center, #9370DB, transparent 70%);
}

.mysteria-divider .divider-icon::before {
    content: '✧';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E6E6FA;
    animation: mysticPulse 3s infinite;
}

/* Animations des dividers */
@keyframes rotateFire {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes twinkleStar {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes flamePulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.2); filter: brightness(1.5); }
}

@keyframes waveMotion {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes growPlant {
    0% { transform: scale(0.8) translateY(3px); }
    50% { transform: scale(1.1) translateY(-3px); }
    100% { transform: scale(0.8) translateY(3px); }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}

@keyframes hourglassFlip {
    0% { transform: rotate(0deg); }
    90% { transform: rotate(0deg); }
    100% { transform: rotate(180deg); }
}

@keyframes snowflakeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes mysticPulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}

/* Hover effects */
.product-divider:hover .divider-line {
    width: 150px;
}

.product-divider:hover .divider-icon {
    transform: scale(1.2);
}

/* Reverse layout pour les cartes alternées */
.product-card.reverse-layout {
    flex-direction: row-reverse;
}

.product-card.reverse-layout .product-image-wrapper {
    border-radius: 0 15px 15px 0;
}

.product-card.reverse-layout .product-content {
    border-radius: 15px 0 0 15px;
}

/* Styles pour le bouton de basculement */
@media (min-width: 1024px) {
    .layout-toggle {
        position: fixed;
        right: 20px;
        top: 100px;
        z-index: 1000;
    }

    .toggle-button {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        color: var(--text-light);
    }

    .toggle-button:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }
}

/* Masquer le bouton de basculement sur les petits écrans */
@media (max-width: 1023px) {
    .layout-toggle {
        display: none;
    }
}

/* Styles pour la disposition verticale */
@media (min-width: 1024px) {
    .products-container.vertical-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .products-container.vertical-layout .product-card {
        margin: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        font-size: 0.9em;
        border-radius: 12px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .products-container.vertical-layout .product-card:hover {
        transform: translateY(-5px);
    }

    .products-container.vertical-layout .product-card .product-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .products-container.vertical-layout .product-card .product-info {
        flex: 1;
        padding: 12px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 8px;
    }

    .products-container.vertical-layout .product-card .product-title {
        font-size: 2.1em;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .products-container.vertical-layout .product-card .product-description {
        font-size: 0.9em;
        line-height: 1.4;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .products-container.vertical-layout .product-card .product-price {
        font-size: 1.1em;
        font-weight: 600;
        margin-top: 8px;
    }

    .products-container.vertical-layout .product-card .product-meta {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85em;
    }

    .products-container.vertical-layout .product-card .product-features {
        display: flex;
        gap: 8px;
        margin-top: 8px;
    }

    .products-container.vertical-layout .product-card .feature-icon {
        font-size: 1em;
    }

    /* Ajuster le séparateur pour la disposition verticale */
    .products-container.vertical-layout .product-divider {
        display: none;
    }

    /* Rétrécir le bouton "Découvrir l'histoire" et le prix */
    .products-container.vertical-layout .product-card .cta-button {
        padding: 8px 15px; /* Rétrécir le padding */
        font-size: 0.8rem; /* Rétrécir la taille de la police */
    }

    .products-container.vertical-layout .product-card .price-amount {
        font-size: 1.5rem; /* Rétrécir la taille de la police */
    }

    /* Ajustements responsifs pour la disposition verticale */
    @media (min-width: 1400px) {
        .products-container.vertical-layout {
            grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        }
    }

    @media (max-width: 1200px) {
        .products-container.vertical-layout {
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 12px;
        }
    }

    @media (max-width: 768px) {
        .products-container.vertical-layout {
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
            padding: 10px;
        }
        
        .products-container.vertical-layout .product-card .product-image {
            height: 180px;
        }
        
        .products-container.vertical-layout .product-card .product-info {
            padding: 10px;
        }
    }

    @media (max-width: 480px) {
        .products-container.vertical-layout {
            grid-template-columns: repeat(1, 1fr);
        }
        
        .products-container.vertical-layout .product-card .product-image {
            height: 160px;
        }
        
        .products-container.vertical-layout .product-card .product-info {
            padding: 10px;
        }
        
        .products-container.vertical-layout .product-card .product-title {
            font-size: 1em;
        }
    }
}

/* Désactiver le mode vertical pour les petits écrans */
@media (max-width: 1023px) {
    .products-container.vertical-layout {
        display: block;
    }
}

/* Afficher deux cartes côte à côte sur les petits écrans (avant 1024px) */
@media (min-width: 700px) and (max-width: 1023px) {
    .products-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .product-card {
        margin-bottom: 20px;
        min-height: 500px; /* Ajuster la hauteur minimale pour s'assurer que tout le contenu est visible */
    }

    .product-divider {
        display: none;
    }
}

/* Style desktop */
@media (min-width: 1024px) {
    .info-tooltip {
        position: absolute; /* Retour à absolute pour desktop */
        top: calc(100% + -30px);
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .info-icon-wrapper:hover .info-tooltip {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}

/* Style mobile */
@media (max-width: 1023px) {
    .info-icon {
        cursor: pointer;
    }

    .info-tooltip {
        width: min(250px, 70vw) !important;
        top: 60% !important;  /* Modifié de 50% à 60% pour descendre légèrement */
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }

    .info-tooltip.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Style desktop */
@media (min-width: 1024px) {
    .info-tooltip {
        position: absolute; /* Retour à absolute pour desktop */
        top: calc(100% + -30px);
        left: 50%;
        transform: translateX(-50%) translateY(10px);
    }

    .info-icon-wrapper:hover .info-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

/* Style mobile */
@media (max-width: 1023px) {
    .info-icon {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent; /* Supprimer le highlight au tap */
        touch-action: manipulation; /* Optimiser pour le touch */
    }

    .info-tooltip {
        /* ...existing tooltip styles... */
        pointer-events: none; /* Empêcher les interactions avec l'info-bulle elle-même */
    }

    /* Supprimer les états hover et active qui peuvent interférer sur mobile */
    .info-icon-wrapper:hover .info-tooltip,
    .info-icon-wrapper:active .info-tooltip {
        transform: none;
    }
}

/* Style desktop en mode portrait */
@media (min-width: 1024px) {
    .products-container.vertical-layout .info-tooltip {
        left: auto;
        right: calc(100% + 15px); /* Place l'info-bulle à gauche avec un espacement */
        top: 50%;
        transform: translateY(-50%);
        margin-top: 0;
        width: 250px;
    }

    .products-container.vertical-layout .info-icon-wrapper:hover .info-tooltip {
        transform: translateY(-50%); /* Gardez la même hauteur au hover */
    }

    .products-container.vertical-layout .tooltip-arrow {
        left: auto;
        right: -8px;
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }
}

/* Ajustements pour les très grands écrans (>1800px) */
@media (min-width: 1800px) {
    .header-grid {
        gap: 12rem; /* Encore plus d'espace sur les très grands écrans */
    }

    .header-left {
        padding-left: 4rem; /* Plus d'espace à gauche */
    }

    .header-right {
        padding-right: 4rem; /* Plus d'espace à droite */
    }
}