/* CSS Produit E-commerce Otaku - Version Optimisée */

:root {
    --otaku-primary: #1e40af;
    --otaku-secondary: #3b82f6;
    --otaku-accent: #f59e0b;
    --otaku-dark: #1e293b;
    --otaku-light: #f8fafc;
    --otaku-gradient: linear-gradient(135deg, var(--otaku-primary), var(--otaku-secondary));
    --otaku-shadow: 0 10px 30px rgba(30, 64, 175, 0.1);
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow-x: hidden;
}

/* Hero Section avec Timeline */
.product-hero {
    background: var(--otaku-gradient);
    padding: 100px 0 80px;
    position: relative;
    color: white;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%);
    border-radius: 2px;
}

.timeline-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 33%;
    background: var(--otaku-accent);
    border-radius: 2px;
    animation: timelineProgress 3s ease-out;
}

.timeline-point {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.timeline-point:nth-child(2) { left: 20%; }
.timeline-point:nth-child(3) { left: 50%; }
.timeline-point:nth-child(4) { left: 80%; }

.point-number {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.timeline-point.active .point-number,
.timeline-point:hover .point-number {
    background: var(--otaku-accent);
    border-color: var(--otaku-accent);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.point-content {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.timeline-point.active .point-content,
.timeline-point:hover .point-content {
    opacity: 1;
    transform: translateY(0);
}

.point-content h3 {
    font-size: 16px;
    margin: 0 0 5px;
    font-weight: 600;
}

.point-content p {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.product-title {
    font-size: clamp(2.5em, 5vw, 4em);
    font-weight: 800;
    margin: 0 0 30px;
    line-height: 1.2;
}

.product-title .highlight {
    background: linear-gradient(45deg, var(--otaku-accent), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: shimmer 2s ease-in-out infinite;
}

.product-title small {
    display: block;
    font-size: 0.4em;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 10px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1;
    color: var(--otaku-accent);
}

.stat-label {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Animations */
@keyframes timelineProgress {
    from { width: 0; }
    to { width: 33%; }
}

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

.fade-in {
    animation: fadeInUp 1s ease-out;
}

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

/* Section Principale */
.product-main {
    padding: 80px 0;
    background: white;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Galerie Photos */
.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image-container {
    position: relative;
    background: var(--otaku-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--otaku-shadow);
}

.main-product-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.main-image-container:hover .main-product-image {
    transform: scale(1.05);
}

.zoom-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    opacity: 0;
}

.main-image-container:hover .zoom-btn {
    opacity: 1;
}

.zoom-btn:hover {
    background: var(--otaku-primary);
    transform: scale(1.1);
}

.image-badges {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.exclusive {
    background: var(--otaku-accent);
    color: white;
}

.badge.quality {
    background: var(--otaku-primary);
    color: white;
}

.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--otaku-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Informations Produit */
.product-info {
    padding: 40px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--otaku-shadow);
    position: relative;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.product-category {
    background: linear-gradient(45deg, var(--otaku-primary), var(--otaku-secondary));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: var(--otaku-accent);
    font-size: 18px;
    letter-spacing: 2px;
}

.rating-text {
    color: #6b7280;
    font-size: 14px;
}

.product-name {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--otaku-dark);
    margin: 0 0 10px;
    line-height: 1.2;
}

.product-subtitle {
    font-size: 1.2em;
    color: #6b7280;
    margin: 0 0 40px;
}

/* Pricing */
.pricing-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 40px;
    position: relative;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.current-price {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--otaku-dark);
}

.original-price {
    font-size: 1.5em;
    color: #6b7280;
    text-decoration: line-through;
}

.discount-badge {
    background: #dc2626;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.savings-calculator {
    color: var(--otaku-dark);
}

.savings-text {
    display: block;
    margin-bottom: 5px;
}

/* Variantes Produit */
.product-variants {
    margin-bottom: 40px;
}

.variant-group {
    margin-bottom: 30px;
}

.variant-label {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--otaku-dark);
    margin-bottom: 15px;
}

.size-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.size-input {
    display: none;
}

.size-option {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    background: white;
    color: var(--otaku-dark);
}

.size-input:checked + .size-option,
.size-option:hover {
    border-color: var(--otaku-primary);
    background: var(--otaku-primary);
    color: white;
    transform: translateY(-2px);
}

.size-guide-btn {
    background: none;
    border: none;
    color: var(--otaku-primary);
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.color-selector {
    display: flex;
    gap: 15px;
}

.color-input {
    display: none;
}

.color-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #e5e7eb;
    transition: var(--transition);
    position: relative;
}

.color-option.black { background: #1f2937; }
.color-option.gray { background: #6b7280; }
.color-option.navy { background: #1e40af; }
.color-option.red { background: #dc2626; }
.color-option.blue { background: #2563eb; }

.color-input:checked + .color-option {
    border-color: var(--otaku-primary);
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.3);
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn,
.qty-input {
    border: none;
    background: white;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
}

.qty-btn {
    background: var(--otaku-light);
    color: var(--otaku-primary);
    cursor: pointer;
    transition: var(--transition);
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: var(--otaku-primary);
    color: white;
}

.qty-input {
    text-align: center;
    width: 80px;
}

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #059669;
    font-weight: 500;
}

/* Boutons d'Achat */
.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.btn-add-cart,
.btn-buy-now {
    padding: 18px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-add-cart {
    background: white;
    border: 2px solid var(--otaku-primary);
    color: var(--otaku-primary);
}

.btn-add-cart:hover {
    background: var(--otaku-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.btn-buy-now {
    background: linear-gradient(135deg, var(--otaku-accent), #fbbf24);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.4);
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--otaku-light);
    border-radius: 12px;
    border-left: 4px solid var(--otaku-primary);
}

.trust-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.trust-content strong {
    display: block;
    color: var(--otaku-dark);
    font-weight: 600;
    margin-bottom: 2px;
}

.trust-content small {
    color: #6b7280;
    font-size: 13px;
}

/* Section Détails avec Accordéon */
.product-details {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.details-header {
    text-align: center;
    margin-bottom: 60px;
}

.details-header h2 {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--otaku-dark);
    margin-bottom: 15px;
}

.details-header p {
    font-size: 1.2em;
    color: #6b7280;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

/* === ACCORDÉON UNIFIÉ === */
.accordion-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--otaku-shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #e0e0e0;
}

.accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.accordion-item.active {
    border-color: var(--otaku-primary);
}

.accordion-header {
    padding: 30px;
    background: var(--otaku-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    user-select: none;
    color:white!important;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-item.active .accordion-header {
    background: var(--otaku-primary);
    color: white;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.3em;
    font-weight: 600;
}

.accordion-icon {
    font-size: 24px;
    font-weight: bold;
    transition: transform 0.3s ease;
    width: 30px;
    text-align: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    padding: 30px;
}

.content-preview {
    line-height: 1.6;
}

.content-preview p {
    color: var(--otaku-dark);
    margin-bottom: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    padding: 20px;
    background: var(--otaku-light);
    border-radius: 12px;
    border-left: 4px solid var(--otaku-primary);
}

.feature-item strong {
    display: block;
    color: var(--otaku-dark);
    margin-bottom: 8px;
}

/* Tableau Responsive */
.specs-table {
    overflow-x: auto;
    margin: 20px 0;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.responsive-table th,
.responsive-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.responsive-table th {
    background: var(--otaku-gradient);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.responsive-table tr:hover {
    background: var(--otaku-light);
}

/* Timeline Livraison */
.shipping-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 50px;
    width: 2px;
    height: 40px;
    background: var(--otaku-primary);
    opacity: 0.3;
}

.timeline-number {
    width: 44px;
    height: 44px;
    background: var(--otaku-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h4 {
    margin: 0 0 5px;
    color: var(--otaku-dark);
    font-weight: 600;
}

.timeline-content p {
    margin: 0 0 5px;
    color: #6b7280;
}

.timeline-content small {
    color: var(--otaku-primary);
    font-weight: 500;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.guarantee-item {
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    border-left: 4px solid var(--otaku-accent);
}

/* Produits Similaires */
.related-products {
    padding: 80px 0;
    background: white;
}

.related-products h2 {
    text-align: center;
    font-size: 2.5em;
    font-weight: 800;
    color: var(--otaku-dark);
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--otaku-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    padding: 20px 20px 10px;
    margin: 0;
    font-size: 1.2em;
    color: var(--otaku-dark);
}

.product-card .price {
    padding: 0 20px;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--otaku-primary);
}

.btn-quick-add {
    width: 100%;
    padding: 15px;
    background: var(--otaku-gradient);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-quick-add:hover {
    background: var(--otaku-dark);
    color: white;
}

/* Modal Zoom */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.zoom-modal.active {
    display: flex;
}

.close-zoom {
    position: absolute;
    top: 30px;
    right: 50px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.close-zoom:hover {
    opacity: 0.7;
}

#zoomedImage {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Notification */
.cart-notification {
    position: fixed;
    top: 100px;
    right: -400px;
    background: var(--otaku-gradient);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 250px;
}

.cart-notification.show {
    right: 20px;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .hero-timeline {
        display: none;
    }
    
    .hero-stats {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 60px 0 40px;
    }
    
    .product-main {
        padding: 40px 0;
    }
    
    .product-details {
        padding: 40px 0;
    }
    
    .related-products {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .purchase-actions {
        position: sticky;
        bottom: 20px;
        background: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
        margin: 20px -20px -20px;
    }
    
    .accordion-header {
        padding: 20px;
    }
    
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .accordion-icon {
        font-size: 20px;
    }
    
    .accordion-content {
        padding: 0 20px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 20px;
    }
    
    .responsive-table {
        font-size: 14px;
    }
    
    .responsive-table th,
    .responsive-table td {
        padding: 12px 8px;
    }
    
    .responsive-table thead {
        display: none;
    }
    
    .responsive-table td {
        display: block;
        border: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 12px 20px;
        text-align: right;
        position: relative;
    }
    
    .responsive-table td[data-label]:before {
       content: attr(data-label) ": ";
       font-weight: bold;
       float: left;
       text-transform: uppercase;
       font-size: 12px;
       color: var(--otaku-primary);
   }
   
   .responsive-table tr {
       border: 1px solid #e5e7eb;
       border-radius: 8px;
       margin-bottom: 10px;
       display: block;
       padding: 0;
       background: white;
   }
}

@media (max-width: 480px) {
   .hero-stats {
       flex-direction: column;
       gap: 15px;
   }
   
   .size-selector {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 8px;
   }
   
   .size-option {
       width: 100%;
       height: 45px;
   }
   
   .feature-grid {
       grid-template-columns: 1fr;
   }
   
   .guarantees-grid {
       grid-template-columns: 1fr;
   }
   
   .products-grid {
       grid-template-columns: 1fr;
   }
}

/* Optimisations Performance */
.main-product-image,
.thumbnail,
.product-card img {
   will-change: transform;
}

.accordion-content {
   will-change: max-height;
}

.timeline-point {
   will-change: transform;
}

/* Amélioration Accessibilité */
.btn-add-cart:focus,
.btn-buy-now:focus,
.size-option:focus,
.color-option:focus {
   outline: 3px solid var(--otaku-accent);
   outline-offset: 2px;
}

.accordion-header:focus {
   outline: 3px solid rgba(255,255,255,0.5);
   outline-offset: -3px;
}

/* Réduction des animations pour les utilisateurs sensibles */
@media (prefers-reduced-motion: reduce) {
   * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
}

/* Animations personnalisées */
@keyframes ripple {
   to {
       transform: scale(2);
       opacity: 0;
   }
}

.size-option.selected {
   animation: selectedPulse 0.3s ease;
}

@keyframes selectedPulse {
   0% { transform: scale(1); }
   50% { transform: scale(1.05); }
   100% { transform: scale(1); }
}

/* Tooltips personnalisés */
.custom-tooltip {
   font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
   position: absolute;
   background: #1e293b;
   color: white;
   padding: 8px 12px;
   border-radius: 6px;
   font-size: 12px;
   z-index: 1000;
   pointer-events: none;
   opacity: 0;
   transition: opacity 0.3s ease;
}

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
   :root {
       --otaku-dark: #f8fafc;
       --otaku-light: #1e293b;
   }
   
   .product-container {
       background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
   }
   
   .product-main {
       background: #1e293b;
   }
   
   .product-info {
       background: #334155;
       color: white;
   }
   
   .accordion-item {
       background: #334155;
       border-color: #475569;
   }
   
   .accordion-header {
       background: #475569;
       color: white;
   }
   
   .accordion-header:hover {
       background: #64748b;
   }
}
