
/*---Header----*/
.main-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 20px;
   background: #DCC7FF;
   color: #030303;
}

.logo {
 font-size: 24px;
 font-weight: bold;
}

.logo span {
    color: #830c1f;
}

.nav-links a {
  margin: 0 15px;
  color: rgb(11, 10, 10);
  text-decoration: none;
  font-size: 18px;
}

.nav-links a:hover {
    opacity: 0.8;
}

/*MENU BOUTON CSS*/

.menu-btn {
   display: none;
   font-size: 28px;
   cursor: pointer;

}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #DCC7FF;
    position: absolute;
    top: 70px;
    right: 15px;
    width: 75%;
    max-width: 280px;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0px 6px 15px rgba(0,0,0,0.15);
    animation: slideDown 0.25s ease;
    z-index: 9999;
}

/* Animation ouverture */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LIENS DU MENU */
.mobile-menu a {
    padding: 14px 20px;
    font-size: 17px;
    color: #000; 
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.15);
    transition: 0.2s ease;
}

/* Supprimer la bordure sur le dernier */
.mobile-menu a:last-child {
    border-bottom: none;
}

/* Effet au survol */
.mobile-menu a:hover {
    background: rgba(255,255,255,0.4);
    color: #4c306b; /* violet foncé élégant */
}

/* BOUTON MENU BURGER */
.menu-btn {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #000;
}

/* VERSION MOBILE */
@media (max-width: 768px) {

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu.open {
        display: flex;
    }
}

/*HERO*/

.hero {
    background: url('images/image.aceuil.png') center/cover;
    padding: 120px 20px;
    text-align: center;
    color:  #030303;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: bold;
}

.hero-content p {
  font-size: 20px;
  margin: 10px 0 20px;
}

.btn-hero {
   background: #A698C7;
   color: #fff;
   padding: 12px 25px;
   border-radius: 40px;
   text-decoration: none;
   font-weight: bold;
}

.btn-hero:hover {
  opacity: 0.8;
}

/*PRODUITS POPULAIRE*/
.products-section {
  padding: 50px 20px;
  text-align: center;
}

.products-session h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #A698C7;
}

.products-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin: 10px 0;
}

/*TUTORIEL RECENT*/
.tuto-section {
  padding: 50px 20px;
  background: #fff7f8;
  text-align: center;
}

.tutos-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #A698C7;
}

.tutos-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tuto-card {
  width: 260px;
  background: white;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #eee;
}

.tuto-card img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.tuto-card h3 {
  font-size: 18px;
  margin: 12px 0;
}

.tuto-btn {
  display: inline-block;
  background: #A698C7;
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
}

.tuto-btn:hover {
  opacity: 0.85;
}

@media (max-width: 768px) {
    .tuto-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto 20px auto; 
    }
}


/*POURQUOI NOUS CHOISIR*/
.pourquoi-nous {
  padding: 60px 20px;
  text-align: center;
  background: #ffeef1;
}

.pourquoi-nous h2 {
  font-size: 28px;
  color: #f00910;
  margin-bottom: 40px;
}

.pourquoi-grid {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.pourquoi-card {
  width: 220px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pourquoi-card img {
  width: 60px;
  margin-bottom: 15px;
}

.pourquoi-card h3 {
  font-size: 18px;
  color: #A698C7;
  margin-bottom: 10px;
}

.pourquoi-card p {
  font-size: 14px;
  color: #444;
}

/*PIED DE PAGE*/
.footer {
  background: #DCC7FF;
  color: #030303;
  padding: 40px 20px 20px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #030303;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.8;
}

/*PAGE BOUTIQUE*/
.boutique-intro {
  background: url("images/imgpageboutique.png") center/cover;
  text-align: center;
  padding: 60px 20px;
  
}

.boutique-intro h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.products-container {
  padding: 40px 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 15px;
  padding: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.product-card img {
  margin: 12px 0 5px;
}

.prix {
  font-weight: bold;
  font-size: 18px;
  color: #030303;
  margin-bottom: 10px;
}

.product-card button {
  width: 100%;
  padding: 12px;
  background: #A698C7;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.product-card button:hover {
  background: #494358;
}

/*PAGE TUTORIEL*/
.tuto-hero {
  text-align: center;
  padding: 80px 20px;
  background: url("images/imgtutoriel.png") center/cover;
}

.tuto-hero h1 {
  font-size: 40px;
  color: #030303;
}

.tuto-hero p {
  font-size: 18px;
  margin-top: 10px;
}

/*GRILLE DES TUTO*/
.tuto-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 40px 5%;
}

.tuto-item {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  text-align: center;
}

.tuto-img {
  width: 100%;
  border: 10px;
}

.tuto-item h3 {
  margin: 15px 0;
}

.tuto-item a {
  display: inline-block;
  padding: 10px 20px;
  background: #A698C7;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.tuto-item a:hover {
  background: #494358;
}

/*---PAGE A PROPOS ---*/
.apropos-hero {
  background: url("images/imgapropos.png") center/cover;
  padding: 80px 20px;
  text-align: center;
}

.apropos-hero h1 {
  font-size: 42px;
  color: #030303;
}

.apropos-hero p {
  font-size: 18px;
  color: #030303;
  margin-top: 10px;
}

/*CONTENU PRINCIPAL*/
.apropos-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 10%;
  flex-wrap: wrap;
}

.apropos-left {
  flex: 1;
  min-width: 300px;
}

.apropos-left h2 {
  font-size: 30px;
  color: #7862c6;
  margin-bottom: 15px;
}

.apropos-left p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.apropos-right img {
  width: 350px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

/*PARTIE SESSION*/
.apropos-passion {
  background: #fff7f6;
  padding: 60px 20px;
  text-align: center;
}

.apropos-passion h2 {
  font-size: 32px;
  color: #280872;
  margin-bottom: 40px;
}

.passion-gird {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px 5%;
}

.passion-box {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.passion-box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.passion-box h3 {
  color: #7862c6;
  margin: 15px 0 8px;
}

.passion-box p {
  color: #555;
  font-size: 15px;
}

/*CONTACT */

.contact-hero {
  background: url("images/contactshop.png") center/cover;
  padding: 80px 20px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 40px;
  color: #030303;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 5%;
  flex-wrap: wrap;
}

.contact-info {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 280px;
}

.contact-info h2 {
  color: #A698C7;
  margin-bottom: 15px;
}

.contact-form {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  min-width: 320px;
  flex: 1;
}

.contact-form h2 {
  color: #A698C7;
  margin-bottom: 15px;
}

.contact-form label{
  display: block;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contact-form textarea {
  height: 120px;
}

.contact-form button {
  margin-top: 15px;
  width: 100%;
  padding: 12px;
  background: #A698C7;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #494358;
}

/*PAGE PANIER */

.cart-container {
  padding: 40px 5%;
}

.cart-container h1 {
  font-size: 30px0;
  color: #4eb120;
  margin-bottom: 20px;
}

#cart-items {
  margin-top: 20px;
}

/*LIGNE DE PRODUIT*/

.cart-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff1ee;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.cart-item p {
  font-size: 16px;
  font-weight: bold;
}

/*SUPPRIMER*/

.cart-item button {
  background: #81170b;
  border: none;
  padding: 6px 12px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

/*TOTAL*/

#cart-total {
  font-size: bold;
  color: #69da07;
}

/*VIDER LE PANIER*/

#clear-cart {
  margin-top: 20px;
  padding: 12px 25px;
  background: #81170b;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#clear-cart:hover {
  background: #a9554d;
}

/*ANIMATION PANIER*/

.vibrate {
  animation: vibrate 1s ease;
}

#cart-link {
  display: inline-block;
}

@keyframes vibrate {

  0% { transform: translateX(0);}
  20% {transform: translateX(-3px);}
  40% { transform: translateX(3px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(3px); }
  100% { transform: translateX(0); }

} 


/*page panier infomation*/

.cart-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    background: white;
    border-radius: 10px;
    padding: 15px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-item img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
}

.cart-info h3 {
    margin: 0;
    font-size: 18px;
}

.cart-info p {
    margin: 5px 0;
}

.btn-danger {
    background: #d66;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}


.checkout-form {
    margin-top: 20px;
    background: white;
    padding: 25px;
    width: 50%;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-form label {
    font-weight: bold;
}

.checkout-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.btn-primary {
    background: #d97f80;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
}

.checkout-form {
    margin-left: auto;
    margin-right: auto;
}

.client-section {
    text-align: center;
    margin-top: 40px;
}

.checkout-form {
    margin: 0 auto;
    width: 50%;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left; /* Pour que information du client  restent alignés */
}


/* NOUVEAU CSS DU BOUTON PASSEZ LA COMMANDE */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background: white;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.checkmark {
    color: #4CAF50;
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 10px;
    animation: pop 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pop {
    0% { transform: scale(0); }
    80% { transform: scale(1.2); }
    100% { transform: scale(1); }
}


.btn-primary {
    background-color: #4eb120;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    transition: 0.3s ease;
    display: block;
    margin-top: 10px;
}

/* Animation au survol */
.btn-primary:hover {
    background-color: #313e35;
    transform: scale(1.05);
}

/* Animation lorsqu’on clique */
.btn-primary:active {
    transform: scale(0.97);
}


/* panier FLOTANT mobile */
#floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 9999;
}

#floating-cart img {
    width: 30px;
}

#floating-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: red;
    color: white;
    font-size: 13px;
    padding: 3px 6px;
    border-radius: 50%;
}

/* Afficher seulement sur mobile */
@media (min-width: 769px) {
    #floating-cart {
        display: none;
    }
}


/*animation*/
#floating-cart.animate {
    transform: scale(1.2);
}

/*pied de page allignement*/

/*/.footer {
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}



/* POPUP DE CONFIRMATION CONTACT */
#contact-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #17de71;
    color: white;
    padding: 18px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

/* Quand le popup est visible */
#contact-popup.show {
    opacity: 1;
    transform: translateY(0);
}


/*TAILLE DES IMAGES*/
.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}


/*MEME CHOSE POUR LES PRODUITS*/
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*ALIGNRMENT DES PRODUIT ET IMAGES*/
.products-container {
    padding: 20px 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
}


/*TITRE ALLIGNEMENT*//

.product-card h3 {
    font-size: 16px;
    text-align: center;
    line-height: 1.3;
}

/*VIDEO TUTORIEL*/

.video-container {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    padding: 10px;
    text-align: center;
}

video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-btn {
    font-size: 18px;
    text-decoration: none;
    background: #030303;
    padding: 10px 15px;
    border-radius: 8px;
    color: white;
}

/*AJOUT DE BOUTON CROIX MENU MOBIL*/

.menu-btn {
    font-size: 32px;
    cursor: pointer;
    transition: 0.3s ease;
}

.menu-btn.active #menu-icon {
    transform: rotate(90deg);
    font-weight: bold;
}



/* VERSION MOBILE : afficher 2 tutoriels côte à côte */
@media (max-width: 768px) {
    .tuto-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
        padding: 20px;
    }

    .tuto-item {
        padding: 10px;
    }

    .tuto-item img {
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
    }

    .tuto-btn {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Correction affichage tutoriels sur mobile */
@media (max-width: 768px) {

    .tuto-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px 15px;
        width: 100%;
        box-sizing: border-box;
    }

    .tuto-item {
        background: white;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        text-align: center;
    }

    .tuto-item img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
    }

    .tuto-item h3 {
        font-size: 14px;
        margin: 8px 0;
    }

    .tuto-btn {
        font-size: 12px;
        padding: 8px 10px;
        border-radius: 6px;
    }
}

/* POPUP VIDEO */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup.show {
    display: flex;
}

.video-popup-content {
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    position: relative;
    width: 500px;
    max-width: 90%;
    z-index: 10000; /* AU DESSUS DU POPUP */
}

.close-video {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #ff3b3b;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001; /* AU-DESSUS DE LA VIDEO */
}

.popup-video-player {
    width: 100%;
    border-radius: 10px;
}



/* SECTION PRODUITS POPULAIRES */
.products-section {
    padding: 40px 5%;
    text-align: center;
}

.products-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

/* GRILLE DES PRODUITS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* CARTE PRODUIT */
.products-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

/* IMAGE DU PRODUIT */
.products-card img {
    width: 100%;
    height: 180px;         /* taille uniforme */
    object-fit: cover;    /* évite les déformations */
    border-radius: 10px;
    display: block;
}

/* TITRE ET PRIX */
.products-card h3 {
    margin-top: 12px;
    font-size: 18px;
    color: #444;
}

.products-card p {
    margin-top: 6px;
    font-weight: bold;
    color: #A698C7; /* couleur du site */
}


/* POPUP IMAGE */
.popup-img-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup-img-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 45px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 100000;
}

/*DECOUVRIR LA BOUTIQUE */
#decouvrir-container {
    text-align: center;
    margin: 20px 0 40px 0;
}

#decouvrir-btn {
    display: inline-block;
    background: #A698C7;  /* Violet doux du site */
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 17px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
}

#decouvrir-btn:hover {
    background: #6e5fa6; /* Violet foncé au survol */
    transform: scale(1.05);
}

/* === GLOBAL IMAGE FIX FOR PC (769px and up) === */
@media (min-width: 769px) {

    /* TUTORIELS */
    .tuto-img,
    .tuto-card img,
    .tuto-item img {

        height: 260px;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
        display: block;
    }

    /* A PROPOS */
    .apropos-right img,
    .passion-box img {

        height: 260px;
        width: 100%;
        object-fit: cover;
        border-radius: 12px;
    }

    /* BOUTIQUE (grande page) */
    .product-card img {
        height: 260px !important;
        object-fit: cover;
        width: 100%;
        border-radius: 10px;
    }

    /* PRODUITS POPULAIRES (page d'accueil) */
    .products-card img {
        height: 220px !important;
        width: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
}


/* === IMAGES  RECADRAGE PAGE ACCUIL ET A PROPOS === */


@media (min-width: 769px) {

    /* ----- PRODUITS POPULAIRES (ACCUEIL) ----- */
    .products-card img {
        width: 100%;
        height: 220px;     /* Taille uniforme sur PC */
        object-fit: cover; /* Pas d'étirement */
        border-radius: 10px;
        display: block;
    }

    /* ----- MON ATELIER & MA PASSION (A PROPOS) ----- */
    .passion-box img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

    /* GRID MAL ECRIS CORRECTION */
    .passion-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}




/* === BOUTON EBOOK (a) === */
.product-card a.add-to-cart {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;              /* même hauteur partout */
    background-color: #A698C7;
    color: white !important;

    font-size: 16px;
    font-weight: 500;
    text-decoration: none;

    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-top: 12px;

    text-align: center;
    line-height: 1.2;
}


.product-card a.add-to-cart:hover {
    background: #494358;
}





