/* ============ PAGE D'ACCUEIL ============ */

/* HERO */
.hero { background: url('/assets/images/imagebgcaro.jpg') center/cover no-repeat; padding: 120px 20px; text-align: center; color: #a75d67; position: relative; min-height: 60vh; display: flex; align-items: center; justify-content: center; }
.hero::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.5); }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: auto; }
.hero-content h1 { font-size: 4.5rem; margin-bottom: 1rem; text-shadow: 1px 1px 5px rgba(0,0,0,0.1); }
.hero-content p { font-family: 'Poppins', sans-serif; font-size: 1.2rem; margin-bottom: 2.5rem; }

/* SECTIONS */
.section { padding: 80px 20px; text-align: center; }
.section.light { background-color: #fffafc; }
.section h2 { font-size: 2.8rem; color: #a75d67; margin-bottom: 1.5rem; }

/* GRILLE PRODUITS */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 40px auto 0; }
.product { background: #fff; border-radius: 15px; box-shadow: 0 5px 20px rgba(167, 93, 103, 0.08); padding: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; text-align: center; }
.product:hover { transform: translateY(-10px); box-shadow: 0 12px 30px rgba(167, 93, 103, 0.15); }
.product a.product-link { text-decoration: none; color: inherit; }
.product .product-image-wrapper { overflow: hidden; border-radius: 10px; margin-bottom: 1.5rem; aspect-ratio: 1 / 1; }
.product img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.product:hover img { transform: scale(1.05); }
.product h3 { font-size: 1.5rem; color: #a75d67; margin: 0 0 0.5rem; }
.product p { font-weight: 600; font-size: 1.2rem; color: #4c3a4c; margin-bottom: 1.5rem; }
.out-of-stock-badge { background-color: #c62828; color: white; padding: 3px 10px; border-radius: 12px; font-size: 0.8rem; display: inline-block; margin-bottom: 1rem; }

/* --- STYLES CORRIGÉS POUR LES BOUTONS --- */
.product-actions { margin-top: auto; display: flex; gap: 0.75rem; align-items: stretch; }
.product-actions .add-to-cart-form { flex-grow: 1; display: flex; }
.btn-action { font-family: 'Poppins', sans-serif; padding: 12px 15px; font-size: 0.9rem; font-weight: 600; border-radius: 50px; cursor: pointer; border: none; transition: all 0.3s ease; width: 100%; display: flex; align-items: center; justify-content: center; height: 46px; box-sizing: border-box; }
.btn-add { background: #d46a92; color: white; }
.btn-add:hover { background: #a75d67; }
.btn-precommander { background: #ff9800; color: white; }
.btn-precommander:hover { background: #f57c00; }
.btn-like { flex-shrink: 0; width: 46px; padding: 0; border: 2px solid #d46a92; background: white; color: #d46a92; font-size: 1.2rem; }
.btn-like.liked, .btn-like:hover { background: #d46a92; color: white; }

/* SECTION TÉMOIGNAGES */
.carousel-container { position: relative; max-width: 600px; margin: 40px auto 0; overflow: hidden; }
/* ... (autres styles pour le carousel) ... */
.carousel-slide { display: flex; transition: transform 0.5s ease-in-out; }
.testimonial-card { min-width: 100%; box-sizing: border-box; background: #ffffff; box-shadow: 0 5px 20px rgba(167, 93, 103, 0.07); text-align: center; border-radius: 15px; overflow: hidden; }
.testimonial-image-container { width: 100%; height: 350px; }
.testimonial-image-container img { width: 100%; height: 100%; object-fit: contain; }
.testimonial-content { padding: 2rem; }
.testimonial-stars { font-size: 1.3rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; font-size: 1.1rem; line-height: 1.7; color: #4c3a4c; margin: 0 0 1rem; }
.testimonial-author { font-size: 1.5rem; color: #a75d67; margin: 0; }
.prev-btn, .next-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.7); color: #a75d67; border: none; border-radius: 50%; width: 45px; height: 45px; font-size: 1.5rem; cursor: pointer; transition: all 0.3s ease; z-index: 10; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.prev-btn:hover, .next-btn:hover { background-color: #fff; color: #d46a92; }
.prev-btn { left: 15px; }
.next-btn { right: 15px; }