/* ============================================================
   LA VRAC ATTITUDE — Styles pages produits
   ============================================================ */

/* ── Carrousel ──────────────────────────────────────────── */
.carousel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 4/3;
  max-width: 560px;
}
.carousel__track {
  display: flex;
  height: 100%;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  transition: all var(--tr);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.carousel__btn:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
}
.carousel__btn--prev { left: 10px; }
.carousel__btn--next { right: 10px; }
.carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 1.5px solid rgba(255,255,255,.8);
  cursor: pointer;
  transition: all var(--tr);
}
.carousel__dot.active {
  background: #fff;
  transform: scale(1.2);
}
.carousel__counter {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #fff;
  background: rgba(0,0,0,.4);
  padding: 3px 8px;
  border-radius: var(--r-pill);
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* ── Layout page produit ────────────────────────────────── */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
  padding: var(--sp-2xl) 0;
}
.product-info {}
.product-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-sm);
}
.product-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.product-eyebrow-text {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.product-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: var(--sp-md);
}
.product-intro {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

/* ── Fiche technique ────────────────────────────────────── */
.specs-table {
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: var(--sp-lg) 0;
}
.specs-table caption {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  text-align: left;
  padding: 12px 16px 8px;
  background: var(--green-light);
  border-bottom: 1px solid var(--border);
}
.specs-table tr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 10px 16px;
  font-size: var(--text-sm);
  line-height: 1.4;
}
.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,.015);
}
.specs-table td:last-child {
  color: var(--text);
  font-weight: 400;
}

/* ── Features liste ─────────────────────────────────────── */
.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin: var(--sp-lg) 0;
}
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--tr);
}
.feature-item:hover { border-color: var(--green); }
.feature-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.feature-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.feature-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── CTA produit ────────────────────────────────────────── */
.product-cta {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-top: var(--sp-xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--border);
}

/* ── Section avantages cards ────────────────────────────── */
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
  transition: box-shadow var(--tr), transform var(--tr);
}
.advantage-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.advantage-icon {
  width: 44px; height: 44px;
  background: var(--green-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: var(--sp-md);
}
.advantage-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--green);
  margin-bottom: var(--sp-sm);
}
.advantage-text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Avis clients ───────────────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
}
.review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: var(--sp-sm);
}
.review-text {
  font-size: var(--text-sm);
  color: var(--text);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: var(--sp-md);
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text);
}
.review-shop {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-md) 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-muted); transition: color var(--tr); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--border); }

/* ── Responsive produit ─────────────────────────────────── */
@media (max-width: 860px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .carousel { max-width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .product-title { font-size: var(--text-xl); }
}
