/* product-detail.css - Additional styles for Product Detail page */

.detail-grid {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.product-gallery {
  flex: 1 1 400px;
}

.product-gallery img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.thumb-list {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s;
}

.thumb.active,
.thumb:hover {
  border-color: #e74c3c;
}

.product-info {
  flex: 1 1 400px;
}

.product-info h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.cas {
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 20px;
}

.specs {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.specs li {
  margin-bottom: 8px;
  color: #555;
}

.actions {
  display: flex;
  gap: 15px;
}

/* Tabs */
.detail-tabs {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding-top: 30px;
}

.detail-tabs input[type="radio"] {
  display: none;
}

.detail-tabs label {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 5px;
  background: #f5f7fa;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  font-weight: 600;
  color: #2c3e50;
}

.detail-tabs input:checked + label {
  background: #e74c3c;
  color: white;
}

.tab-content {
  display: none;
  padding: 25px 0;
  border-top: 2px solid #e74c3c;
}

#tab-desc:checked ~ #content-desc,
#tab-app:checked ~ #content-app,
#tab-ref:checked ~ #content-ref,
#tab-pack:checked ~ #content-pack {
  display: block;
}

@media (max-width: 768px) {
  .detail-grid {
    flex-direction: column;
  }
}