/* Import police technique */
@import url("https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@400;600;700&display=swap");


/* Palette sombre et accents tech */
:root {
    --primary: #00eaff;
    --primary-dark: #0097a7;
    --background: #181c22;
    --surface: #23272e;
    --surface-alt: #23272e99;
    --text: #e0e6ed;
    --text-light: #7f8fa6;
    --border: #2c313c;
    --success: #4caf50;
    --danger: #e53935;
    --glow: #00eaff;
}

/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
    canvas {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
     	pointer-events: none; 
    }
    
    @media (max-width: 768px) {
        canvas {
            display: none;
        }
    }

     @media (max-width: 568px) {
        canvas {
            display: none;
        }
    }

/* Fond général */
body {
    font-family: 'Alumni Sans', 'Segoe UI', 'Arial', sans-serif;
    background: var(--background) url('images/bg.jpg') center repeat;

    background-attachment: fixed;
    z-index: 12;
    color: var(--text);
    min-height: 100vh;
    text-transform: uppercase;
    /* Overlay sombre pour lisibilité */
    position: relative;
    padding-top: 70px; /* Ajustez selon la hauteur du header */

}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(24,28,34,0.85);
    z-index: 0;
    pointer-events: none;
}

/* Header */
header {
    /*background: var(--surface-alt);*/
    box-shadow: 0 2px 16px #00eaff22;
    position: sticky;
    font-size: 1.5em;
    padding: 24px 0 12px 0;
    margin-bottom: 100px;
    width: 100%;
    z-index: 1000;
}

header.fixed {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 16px #00eaff22;
}

header nav {
    position: relative;
}

header nav ul.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 32px;
    transition: all 0.3s ease-in-out;
}

header nav ul li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1em;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 8px 0 #00eaff33;
    display: block;
}

header nav ul li a:hover {
    color: #181c22;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: absolute;
    right: 20px;
    top: -15px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    header nav ul.nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    header nav ul.nav-menu.active {
        right: 0;
    }

    header nav ul li {
        margin: 10px 0;
    }

    header nav ul li a {
        font-size: 1.3em;
    }
}

/* Titres principaux effet néon */
h1, .text-shadow {
    font-family: 'Alumni Sans', 'Segoe UI', 'Arial', sans-serif;
    font-style: italic;
    text-transform: uppercase;
    color: var(--primary);
    text-shadow:
        0 0 8px var(--glow),
        0 0 16px var(--glow),
        0 0 32px #00eaff88,
        2px 2px 10px #000;
    text-align: center;
    letter-spacing: 0.2em;
    font-size: 3.5em;
    margin-bottom: 18px;
    font-weight: 700;
   /* border-bottom: 0px solid var(--primary-dark);*/
    padding-bottom: 8px;
   /* background: linear-gradient(90deg, #00eaff22 0%, #23272e 100%);*/
    border-radius: 8px;
    animation: flicker 1.2s infinite alternate;
}
h1:hover, .text-shadow:hover {
    color: #fff;
    text-shadow:
        0 0 16px #fff,
        0 0 32px #00eaff,
        0 0 64px #00eaff;
}
@media (max-width: 768px) {
    h1, .text-shadow {
        font-size: 2em;
    }
}

/* Paragraphes */
p {
    text-align: center;
    margin: 0 auto 18px auto;
    color: var(--text-light);
    font-size: 1.5em;
    font-weight: 500;
    width: 80%;
    background: rgba(38, 43, 51, 0.096);
    border-radius: 6px;
    padding: 8px 0;
    box-shadow: 0 1px 8px #00eaff11;
    /* display: none; Pour l'effet typewriter JS - commenté pour la page contact */
    
}
main p {
    /* display: none; Commenté pour que le texte de la page contact soit visible */
}

/* Section principale */
main {
    
    text-align: center;
    position: relative;
    margin: -1 auto;
    z-index: 12;
}

/* Sous-titres */
h2 {
    color: var(--primary);
    font-size: 2em;
    margin-bottom: 12px;
    text-shadow: 0 0 8px #00eaff77;
    font-weight: 600;
    margin-top: 20px; /* Ajout d'un peu d'espace au-dessus des H2 */
}

/* Boutons */
button, .admin-section table button, .search-bar button, .categories li a {
    background: var(--primary);
    color: #181c22;
    border: none;
    padding: 10px 22px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, box-shadow 0.2s, color 0.2s;
    box-shadow: 0 0 8px #00eaff44;
}
button:hover, .admin-section table button:hover, .search-bar button:hover, .categories li a:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 0 16px #00eaff;
}
button:active {
    background: #003c47;
}

/* Cards, sections, modales */
.admin-section, .modal-content, .animated-section, section {
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 2px 16px #00eaff11;
    padding: 24px 18px;
    margin: 18px auto;
    max-width: 700px;
    position: relative;
    z-index: 1;
}
.admin-section h2 {
    color: var(--primary);
    margin-bottom: 18px;
    font-weight: 600;
    text-shadow: 0 0 8px #00eaff77;
}

/* Table admin */
.admin-section table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: var(--surface);
}
.admin-section table th, .admin-section table td {
    border: 1px solid var(--border);
    padding: 12px 8px;
    text-align: left;
    font-size: 1em;
    color: var(--text);
}
.admin-section table th {
    background: #23272e;
    color: var(--primary);
    font-weight: 600;
}
.admin-section table tr:nth-child(even) {
    background: #23272e;
}
.admin-section table tr:nth-child(odd) {
    background: #181c22;
}

/* Flat style pour la barre de recherche */
.search-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 100%;
    max-width: 400px;
}
.search-bar input[type="text"] {
    width: 260px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px 0 0 4px;
    font-size: 1em;
    background: #23272e;
    color: var(--text);
    outline: none;
    transition: border 0.2s;
    flex: 1;
}
.search-bar input[type="text"]:focus {
    border: 1.5px solid var(--primary);
    background: #181c22;
}
.search-bar button {
    border-radius: 0 4px 4px 0;
    margin-left: -1px;
    flex-shrink: 0;
}

/* Flat style pour les catégories */
.categories {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
}
.categories li a {
    background: var(--primary);
    color: #181c22;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.categories li a:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* Produits et créations */
.produit, .creation {
    display: flex;
    flex-direction: column; /* Empile l'image et le contenu textuel verticalement */
    align-items: center; /* Centre les éléments enfants comme l'image et le bouton */
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px;
    box-sizing: border-box;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px #00eaff11;
    flex: 0 1 300px; /* Comportement flex : ne grandit pas, peut rétrécir, base de 300px. Ajustez si besoin. */
}
.produit:hover, .creation:hover {
    box-shadow: 0 4px 16px #00eaff33;
    transform: translateY(-2px) scale(1.01);
}
.produit img, .creation img {
    width: 220px; /* Taille de l'image, ajustez selon vos préférences */
    height: 220px;
    object-fit: contain;
    /* margin-right: 18px; (Supprimé) */
    margin-bottom: 15px; /* Espace entre l'image et le contenu textuel en dessous */
    border-radius: 6px;
    background: #23272e;
    border: 1px solid var(--border);
}
.produit div, .creation div { /* Conteneur pour les éléments textuels */
    /* flex: 1; (Supprimé) */
    width: 100%; /* Le conteneur de texte prend toute la largeur de la carte */
    display: flex; /* Utilise flex pour ses propres enfants */
    flex-direction: column; /* Empile verticalement titre, description, prix, bouton */
    align-items: center; /* Centre le titre, le prix et le bouton */
    z-index: 12;
}
.produit h2, .creation h2 {
    font-size: 1.2em;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
    text-shadow: 0 0 8px #00eaff77;
    text-align: center; /* Centre le texte du titre */
}
.produit p, .creation p { 
    text-align: center;/* Style pour la description */
    margin: 4px 0 8px 0; /* Ajustement des marges */
    color: var(--text-light);
    width: 100%; /* La description prend toute la largeur de son conteneur */
    
    font-size: 1em; /* Taille de police pour la description, ajustez si besoin */
}
.produit p.price, .creation p.price {
    font-size: 1.1em;
    color: var(--primary-dark);
    margin-top: 8px;
    margin-bottom: 12px; /* Marge en dessous du prix */
    font-weight: 600;
    text-align: center; /* Centre le texte du prix */
}
.produit button, .creation button {
    margin-top: 10px;
    /* align-self: center; est déjà géré par align-items: center sur le parent .produit div */
}

/* Nouveau conteneur pour la grille de produits */
.product-grid-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centre les produits sur la ligne, surtout si la dernière ligne est incomplète */
    gap: 20px; /* Espace entre les cartes de produits */
    /* Le padding est hérité de la règle 'section', max-width est défini ci-dessous pour outrepasser la règle 'section' */
    max-width: 1000px; /* Ajustez pour 3 produits: (3 * largeur_produit) + (2 * gap). Ex: (3*300px) + (2*20px) = 940px. 1000px donne un peu de marge. */
    /* margin: 18px auto; est hérité de la règle 'section' et centre ce conteneur */
}

/* Modale Flat */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(24,28,34,0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: var(--surface);
    padding: 28px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 2px 16px #00eaff33;
}
.modal-content .close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
    background: none;
    border: none;
}

/* Galerie photo */
#photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.gallery-photo {
    max-width: 180px;
    max-height: 180px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: #23272e;
    cursor: pointer;
    box-shadow: 0 0 8px #00eaff22;
}

/* Overlay effet porte des étoiles */
.stargate-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 2000;
    pointer-events: none;
    display: none;
    justify-content: center;
    align-items: center;
    background: transparent;
}
.stargate-overlay.active {
    display: flex;
    animation: stargate-fadein 0.2s linear;
}
.stargate-vortex {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #fff 0%, #00eaff 40%, #181c22 100%);
    box-shadow: 0 0 80px 40px #00eaffaa, 0 0 0 9999px rgba(24,28,34,0.15);
    animation: stargate-vortex-spin 1s cubic-bezier(.7,0,.3,1) forwards, stargate-vortex-rotate 1s linear infinite;
    opacity: 0.95;
    position: relative;
    overflow: hidden;
}
.stargate-vortex::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #00eaff 0deg 20deg, transparent 20deg 40deg);
    opacity: 0.25;
    mix-blend-mode: lighten;
    animation: stargate-distort 1s linear infinite;
    pointer-events: none;
}
@keyframes stargate-vortex-spin {
    0% { transform: scale(0.2) rotate(0deg); opacity: 0.2; filter: blur(8px);}
    60% { transform: scale(1.1) rotate(360deg); opacity: 1; filter: blur(0px);}
    100% { transform: scale(1.5) rotate(720deg); opacity: 0; filter: blur(12px);}
}
@keyframes stargate-vortex-rotate {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
@keyframes stargate-distort {
    0% { filter: blur(2px) brightness(1.1) hue-rotate(0deg); transform: scale(1) rotate(0deg);}
    50% { filter: blur(6px) brightness(1.2) hue-rotate(30deg); transform: scale(1.08) rotate(10deg);}
    100% { filter: blur(2px) brightness(1.1) hue-rotate(0deg); transform: scale(1) rotate(0deg);}
}
.stargate-distort-page {
    animation: stargate-page-zoom-rotate 1s cubic-bezier(.77,0,.18,1) forwards;
    will-change: transform;
    pointer-events: none;
    overflow: hidden;
}
@keyframes stargate-page-zoom-rotate {
    0% { transform: none;}
    60% { transform: scale(1.04) rotate(180deg);}
    100% { transform: scale(1.06) rotate(360deg);}
}

/* Flicker animation pour titres */
@keyframes flicker {
    0% { opacity: 0.7; text-shadow: 0 0 8px #00eaff, 0 0 16px #00eaff77;}
    100% { opacity: 1; text-shadow: 0 0 32px #00eaff, 0 0 64px #00eaff;}
}

/* ===== FOOTER ===== */
footer {
    width: 100%;
    background: var(--surface);
    color: var(--primary);
    text-align: center;
    padding: 22px 0 16px 0;
    font-size: 1.15em;
    font-family: 'Alumni Sans', 'Segoe UI', 'Arial', sans-serif;
    letter-spacing: 0.08em;
    box-shadow: 0 -2px 16px #00eaff22;
    border-top: 1.5px solid var(--primary-dark);
    position: relative;
    z-index: 2;
    text-shadow:
        0 0 8px var(--glow),
        0 0 16px #00eaff55;
    margin-top: 40px;
    user-select: none;
    transition: background 0.2s;
}
footer:hover {
    background: #23272e;
    color: #fff;
    text-shadow:
        0 0 16px #fff,
        0 0 32px #00eaff;
}
footer .footer-link-cgv {
    color: var(--text-light);
    font-size: 0.98em;
    text-decoration: none;
    margin-top: 6px;
    display: inline-block;
    transition: color 0.2s;
    letter-spacing: 0.04em;
}
footer .footer-link-cgv:hover {
    color: var(--primary);
    text-decoration: underline;
}
@media (max-width: 700px) {
    footer {
        font-size: 1em;
        padding: 14px 0 10px 0;
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .admin-section {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .admin-container {
        flex-direction: column;
        gap: 0;
    }
    .produit, .creation {
        max-width: 100%;
        float: none;
        margin: 15px auto;
    }
}
@media (max-width: 700px) {
    main {
        padding: 10px;
    }
    .admin-section {
        padding: 12px 4px;
    }
    .produit img, .creation img {
        width: 80px;
        height: 80px;
    }
}

/* Styles pour la page de contact */
.contact-info-section, .map-section { /* Style commun pour les sections de la page contact */
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 2px 16px #00eaff11;
    padding: 24px 18px;
    margin: 30px auto; /* Augmentation de la marge pour séparer les sections */
    max-width: 800px; /* Cohérence avec .contact-info */
    position: relative;
    z-index: 1;
}

.contact-info-section h2, .map-section h2 { /* Style pour les titres des sections contact et carte */
    text-align: center;
    font-size: 2.2em;
    margin-top: 0; /* Le H2 est le premier élément, pas besoin de marge sup. */
    margin-bottom: 25px;
    color: var(--primary);
    text-shadow: 0 0 8px #00eaff77;
}

.contact-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px; /* Espace entre les items */
    margin-bottom: 10px; /* Réduction de la marge car les items ont leur propre marge */
}

.contact-item {
    flex-basis: calc(33.333% - 20px); /* Pour 3 items par ligne, ajuster si moins/plus */
    min-width: 250px; /* Largeur minimale avant de passer en dessous */
    background: var(--surface-alt);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px #00eaff1a;
    color: var(--text); /* Couleur de base pour le texte "Adresse:", "Téléphone:", etc. */
    font-size: 1.6em;
    line-height: 1.6;
    text-align: left; /* Aligner le texte à l'intérieur de l'icitem à gauche */
}

.contact-item i {
    margin-right: 12px;
    color: var(--primary-dark);
    font-size: 1.6em; /* Rendre l'icône un peu plus grande */
    vertical-align: middle; /* Mieux aligner l'icône avec le texte */
}

.contact-item a.contact-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
    display: block; /* Pour que le lien prenne la largeur et permette un meilleur clic */
    margin-top: 5px; /* Petit espace au-dessus du lien */
}

.contact-item a.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Styles pour la carte Google Maps */
.map-container {
    position: relative;
    padding-bottom: 75%; /* Ratio 4:3, ajuste 56.25% pour 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px; /* Bordures arrondies pour le conteneur de la carte */
    box-shadow: 0 2px 8px #00eaff1a;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* S'assurer qu'il n'y a pas de bordure par défaut */
}


/* Les styles pour .contact-address, .contact-phone et leurs enfants <p> et <strong> spécifiques ont été remplacés par .contact-item */
/* Les styles pour .horaires et les classes .a0x ont été retirés car la section HTML correspondante n'existe plus. */

/* Divers */
.success-message {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 12px 20px;
    border-radius: 4px;
    margin: 20px 0;
    font-size: 1.1em;
    border: 1px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}
.success-message i {
    margin-right: 8px;
    font-size: 1.3em;
}

/* Champs de formulaire plus grands et bien ordonnés */
form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    margin: 0 auto 24px auto;
    max-width: 500px;
}

form label {
    align-self: flex-start;
    font-size: 1.2em;
    color: var(--primary-dark);
    margin-bottom: 4px;
    margin-top: 8px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="number"],
form input[type="file"],
form select,
form textarea {
    width: 100%;
    min-width: 260px;
    max-width: 100%;
    font-size: 1.15em;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: #23272e;
    color: var(--text);
    margin-bottom: 6px;
    margin-top: 0;
    box-sizing: border-box;
    transition: border 0.2s, box-shadow 0.2s;
}

form input[type="file"] {
    padding: 8px 0;
    background: none;
    color: var(--text-light);
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="number"]:focus,
form select:focus,
form textarea:focus {
    border: 1.5px solid var(--primary);
    outline: none;
    box-shadow: 0 0 8px #00eaff33;
}

form textarea {
    min-height: 120px;
    resize: vertical;
    font-size: 1.1em;
    line-height: 1.5;
}

form button[type="submit"], form button {
    width: 60%;
    margin: 18px auto 0 auto;
    font-size: 1.15em;
    padding: 12px 0;
    border-radius: 6px;
}

@media (max-width: 600px) {
    form {
        max-width: 98vw;
        padding: 0 2vw;
    }
    form input, form textarea, form select {
        min-width: 0;
        width: 100%;
    }
}

/* Effet zoom sur les images produit/création au survol */
.produit img,
.creation img,
.admin-section table img {
    transition: transform 0.25s cubic-bezier(.4,2,.6,1), box-shadow 0.2s;
    cursor: pointer;
}

.produit img:hover,
.creation img:hover,
.admin-section table img:hover {
    transform: scale(2.5);
    z-index: 10;
    box-shadow: 0 8px 64px #00eaffcc, 0 0 0 4px #00eaff88;
    position: relative;
}

/* ===== STYLES POUR LA PAGE DÉTAIL PRODUIT ===== */
.product-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-image-container {
    margin: 30px 0;
}

.product-detail-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 16px #00eaff33;
    transition: transform 0.3s ease;
}

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

.product-description, .product-specifications, .product-price-section {
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 2px 16px #00eaff11;
    padding: 25px;
    margin: 25px 0;
}

.product-description h2, .product-specifications h2, .product-price-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.product-description p {
    text-align: left;
    font-size: 1.3em;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.specs-grid {
    display: grid;
    gap: 15px;
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
    padding: 20px;
    background: var(--surface-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    transition: background 0.2s, transform 0.2s;
}

.spec-row:hover {
    background: #2c313c;
    transform: translateX(5px);
}

.spec-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.3em;
    display: flex;
    align-items: center;
}

.spec-value {
    color: var(--text);
    font-size: 1.3em;
    display: flex;
    align-items: center;
    word-break: break-word;
}

.product-price-section {
    text-align: center;
}

.price-display {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 12px #00eaff77;
    margin: 10px 0;
    padding: 20px;
    background: var(--surface-alt);
    border-radius: 12px;
    border: 2px solid var(--primary-dark);
}

.back-button-container {
    text-align: center;
    margin: 40px 0 20px 0;
}

.back-button {
    font-size: 1.2em;
    padding: 15px 30px;
    background: var(--primary);
    color: #181c22;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px #00eaff44;
}

.back-button:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: 0 6px 20px #00eaff;
    transform: translateY(-2px);
}

.error-message {
    text-align: center;
    background: var(--surface);
    border-radius: 10px;
    box-shadow: 0 2px 16px #00eaff11;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
}

.error-message h1 {
    color: var(--danger);
    margin-bottom: 20px;
}

.error-message p {
    color: var(--text-light);
    font-size: 1.3em;
}

/* Responsive pour la page détail */
@media (max-width: 768px) {
    .product-detail-container {
        padding: 10px;
    }
    
    .spec-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }
    
    .spec-label {
        font-weight: 700;
        color: var(--primary);
        border-bottom: 1px solid var(--border);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    
    .product-detail-image {
        max-width: 200px;
    }
    
    .price-display {
        font-size: 2em;
        padding: 15px;
    }
    
    .product-description, .product-specifications, .product-price-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
}
