/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
div#user_info a:hover {
    color: #777;
}
#header .header-nav a:hover,
.form-footer button:hover {
    color: #000;
}
.products-grid .product-miniature-layout-1 .product-description {
    padding: 20px !important;
}
#products .product-description, .featured-products .product-description, .product-accessories .product-description, .product-miniature .product-description {
    height: 170px!important;
}


/* theme pour fiche produit */

/* ========================================================= */
/* ====== STYLES FICHE PRODUIT : PROTÉINE DE RIZ BRUN ====== */
/* ========================================================= */

/* ===== STYLES FICHE PRODUIT VEGIE ===== */
.vegie-fiche {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
.vegie-fiche h1,
.vegie-fiche h2,
.vegie-fiche h3 {
  color: #222;
  margin-bottom: 15px;
}

/* ===== HERO ===== */
.vegie-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 30px;
}
.vegie-hero-text {
  flex: 1;
  padding: 20px;
  min-width: 300px;
}
.vegie-hero-accent {
  color: #93bd2e;
  font-weight: bold;
  font-size: 1.1em;
}
.vegie-hero-img {
  flex: 0 0 400px;
  max-width: 400px;
  text-align: center;
}
.vegie-hero-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* ===== AVANTAGES ===== */
.vegie-advantages {
  background: #f5f5f5;
  padding: 40px;
}
.vegie-advantages h2 {
  margin-bottom: 30px;
  text-align: center;
}
.vegie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.vegie-advantage {
  text-align: center;
  padding: 20px;
}
.vegie-advantage img {
  width: 60px;
  margin-bottom: 15px;
}
.vegie-advantage h3 {
  color: #93bd2e;
  margin-bottom: 10px;
}
.vegie-advantage p {
  margin: 0;
}

/* ===== MUSCULATION & CONSOMMATION ===== */
/* Fallback inline-block si PrestaShop supprime les <section> */
.rte-content .vegie-section-img,
.rte-content .vegie-section-text {
  display: inline-block;
  vertical-align: middle;
  width: 48%;
  box-sizing: border-box;
  padding: 15px;
}
.rte-content .vegie-section-img img {
  width: 70%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

/* ===== ACCORDEON ===== */
.vegie-nutrition-accordeon {
  padding: 40px;
  background: #fafafa;
  border-radius: 8px;
}
.vegie-nutrition-accordeon h2 {
  text-align: center;
  margin-bottom: 20px;
}
.vegie-accordion-item {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}
.vegie-accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px;
  font-weight: bold;
  background: #eee;
  cursor: pointer;
  border: none;
  outline: none;
  transition: 0.3s;
}
.vegie-accordion-header:hover {
  background: #ddd;
}
.vegie-accordion-header.active {
  background: #93bd2e;
  color: #fff;
}
.vegie-accordion-content {
  display: none;
  padding: 15px;
  background: #fff;
  border-top: 1px solid #ddd;
}
.vegie-accordion-content table {
  width: 100%;
  border-collapse: collapse;
}
.vegie-accordion-content th,
.vegie-accordion-content td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}
.vegie-accordion-content th {
  background: #93bd2e;
  color: #fff;
}
.vegie-accordion-content tr:nth-child(even) {
  background: #f9f9f9;
}

/* ===== ARTICLES ===== */
.vegie-articles {
  padding: 40px;
  text-align: center;
}
.vegie-articles .vegie-grid {
  gap: 30px;
}
.vegie-articles a {
  display: block;
  text-decoration: none;
  color: #333;
}
.vegie-articles img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.vegie-articles span {
  display: block;
  font-weight: bold;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .vegie-hero {
    flex-direction: column;
    text-align: center;
  }
  .vegie-hero-img {
    flex: unset;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .rte-content .vegie-section-img,
  .rte-content .vegie-section-text {
    display: block;
    width: 100%;
    text-align: center;
  }
}
