/**
 * Blocs [product_infos] sur fiche produit
 */

.product-infos-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.product-infos-section {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(108, 150, 105, 0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

.product-infos-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #334d33;
  margin: 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f8f9fa, #eef3ee);
  border-bottom: 1px solid #e9ecef;
}

.section-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon-svg {
  width: 20px !important;
  height: 20px !important;
  object-fit: contain;
}

.product-infos-content {
  padding: 20px 22px 22px;
}

.product-description .product-infos-content {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  max-width: 72ch;
}

.product-details-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #49714b;
}

.detail-label {
  font-weight: 600;
  color: #334d33;
}

.detail-value {
  color: #495057;
  text-align: right;
}

.reviews-compact {
  margin-bottom: 12px;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.stars-rating-compact {
  display: flex;
  gap: 1px;
}

.stars-rating-compact .star {
  color: #ddd;
}

.stars-rating-compact .star.filled {
  color: #ffc107;
}

.review-item-compact {
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 2px solid #49714b;
}

.no-reviews-ultra-compact,
.review-login-notice-ultra-compact {
  font-size: 0.9rem;
  color: #6c757d;
}

.review-login-notice-ultra-compact {
  padding: 10px;
  background: #fff8e6;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
}

.vendor-info-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e9ecef;
}

.vendor-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.vendor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef3ee;
  flex-shrink: 0;
}

.vendor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vendor-name {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.vendor-name a {
  color: #334d33;
  text-decoration: none;
}

.vendor-name a:hover {
  color: #49714b;
}

.vendor-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c757d;
  font-size: 0.9rem;
}

.more-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.more-product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(108, 150, 105, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.more-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 150, 105, 0.12);
}

.more-product-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.more-product-image {
  height: 140px;
  overflow: hidden;
  background: #f1f6ef;
}

.more-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.more-product-content {
  padding: 14px 16px 16px;
}

.more-product-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.35;
  color: #334d33;
}

.more-product-price {
  font-weight: 700;
  color: #49714b;
  font-size: 0.95rem;
}

.product-same-vendor,
.product-similar {
  border-left: 4px solid #49714b;
}

@media (max-width: 768px) {
  .more-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vendor-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .more-products-grid {
    grid-template-columns: 1fr;
  }
}
