/* ---------------- Fond et bannière ---------------- */
body {
    margin: 0;
    background-image: url("images/fond-noel.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
}

/* Bannière */
.banniere {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Bloc contenant le titre + sous-titre */
.texte-banniere {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 0 15px black;
}

/* Titre principal */
.texte-banniere h1 {
    color: white;
    font-size: 55px;
    font-family: "Brush Script MT", cursive;
    margin: 0;
}

/* Sous-titre */
.texte-banniere h3 {
    color: white;
    font-size: 25px;
    margin-top: 10px;
    font-weight: normal;
}
/* message-panier */
.message-panier {
    color: green;
    font-size: 14px;
    margin-top: 6px;
    font-weight: bold;
}

/* ---------------- Sections ---------------- */
.articles {
    background: rgba(255, 255, 255, 0.7);
    margin: 40px;
    padding: 20px;
    border-radius: 15px;
}

/* Titre de la section */
.articles h2 {
    text-align: center;
    font-size: 30px;
    color: darkred;
}
/* Bouton Acheter */
.btn-acheter {
    margin-top: 10px;
    width: 100%;
    padding: 10px 0;

    background: linear-gradient(45deg, #d60b0b, #ff4444);
    color: white;
    border: none;

    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 3px 8px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}


/* ---------------- Carrousels ---------------- */
.carrousel {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.fenetre {
    overflow: hidden;
    width: 100%;
}

.track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
}

/* Une carte = image + prix */
.carte {
    position: relative;
    min-width: 200px;
}

/* Style des images */
.carte img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid red;
    box-shadow: 0 0 10px black;
}

/* Style du prix sur l’image */
.prix {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 18px;
}

/* Flèches */
.fleche {
    font-size: 35px;
    border: none;
    background: white;
    padding: 5px 15px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 10;
}

/* ---------------- Étoiles qui tombent ---------------- */
.etoiles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 500;
}

.etoiles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: tomber linear infinite;
}

/* Animation aléatoire */
@keyframes tomber {
    0% { transform: translateY(-10px); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateY(110vh); opacity: 0; }
}

/* Bouton Acheter */
.btn-acheter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    width: 80%;
    margin: 15px auto 0;
    padding: 10px;

    background: linear-gradient(45deg, #d40000, #ff5c5c);
    color: white;
    border: none;

    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: center;
}

.btn-acheter:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #ff2020, #ff8080);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
/* Menu fixe festif */
.menu-fixe {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.3);
    z-index: 10000;
    padding: 10px 0;
    font-family: 'Arial', sans-serif;
}

/* Liste du menu */
.menu-fixe ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

/* Liens */
.menu-fixe ul li a {
    text-decoration: none;
    color: #b22222; /* rouge Noël */
    font-weight: bold;
    font-size: 18px;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Survol lumineux avec effet de glow */
.menu-fixe ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #ffff00, #ff0000);
    border-radius: 4px;
    opacity: 0;
    transition: all 0.3s ease;
}

.menu-fixe ul li a:hover {
    color: white;
    background-color: #b22222;
    transform: scale(1.1);
}

.menu-fixe ul li a:hover::after {
    opacity: 1;
}

/* Décalage du contenu pour ne pas cacher le menu */
body {
    padding-top: 70px; /* Ajuster selon la hauteur du menu */
}

.tableau-produits {
    width: 90%;
    margin: 20px auto;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
}

.tableau-produits th,
.tableau-produits td {
    padding: 10px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.tableau-produits th {
    background-color: darkred;
    color: white;
    font-size: 18px;
}

.tableau-produits td img {
    width: 80px;         /* image proportionnée */
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #999;
}

.btn-acheter {
    padding: 5px 10px;
    font-size: 14px;
    background: linear-gradient(45deg, #d40000, #ff5c5c);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-acheter:hover {
    transform: translateY(-2px);
    background: linear-gradient(45deg, #ff2020, #ff8080);
}