/**
 * Custom Product Page Styles
 * Description et détails en pleine largeur
 */

/* Section description/détails en pleine largeur */
.product-full-width-details {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e5e5e5;
}

.product-full-width-details .tabs {
  width: 100%;
}

/* Améliorer les onglets */
.product-full-width-details .nav-tabs {
  border-bottom: 2px solid #e5e5e5;
  margin-bottom: 30px;
}

.product-full-width-details .nav-tabs .nav-link {
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  color: #7a7a7a;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.product-full-width-details .nav-tabs .nav-link:hover {
  color: #232323;
  border-bottom-color: #e5e5e5;
}

.product-full-width-details .nav-tabs .nav-link.active {
  color: #232323;
  border-bottom-color: #2fb5d2;
  background: transparent;
}

/* Contenu des onglets */
.product-full-width-details .tab-content {
  padding: 30px 20px;
  min-height: 200px;
  background: #fff;
}

/* Description */
.product-full-width-details .product-description {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  max-width: 100%;
}

.product-full-width-details .product-description h2,
.product-full-width-details .product-description h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  color: #232323;
}

.product-full-width-details .product-description p {
  margin-bottom: 15px;
}

.product-full-width-details .product-description ul,
.product-full-width-details .product-description ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.product-full-width-details .product-description li {
  margin-bottom: 8px;
}

/* Détails produit */
.product-full-width-details .product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  padding: 0;
}

.product-full-width-details .data-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.product-full-width-details .data-sheet dt {
  font-weight: 600;
  color: #232323;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 4px 4px 0 0;
}

.product-full-width-details .data-sheet dd {
  padding: 12px 15px;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-radius: 0 0 4px 4px;
  margin-bottom: 0;
  color: #555;
}

/* Label classe énergétique */
.product-full-width-details .energy-label {
  margin-top: 30px;
  text-align: center;
}

.product-full-width-details .energy-label img {
  max-width: 300px;
  height: auto;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Responsive */
@media (max-width: 991px) {
  .product-full-width-details {
    margin-top: 30px;
  }
  
  .product-full-width-details .nav-tabs .nav-link {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .product-full-width-details .product-features,
  .product-full-width-details .data-sheet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .product-full-width-details .nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .product-full-width-details .nav-tabs .nav-link {
    white-space: nowrap;
    padding: 10px 15px;
  }
  
  .product-full-width-details .tab-content {
    padding: 20px 10px;
  }
}

/* Animation des onglets */
.product-full-width-details .tab-pane {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.product-full-width-details .tab-pane.active {
  opacity: 1;
}
