/* Product Details Page Styles */
.product-details-page {
  padding: 20px 0;
}

.breadcrumb-section {
  margin-bottom: 30px;
}

.breadcrumb {
  background: none;
  padding: 0;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #666;
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #333;
  font-weight: 600;
}

/* Loading State */
.loading-container {
  text-align: center;
  padding: 60px 0;
}

.loading-container .spinner-border {
  width: 3rem;
  height: 3rem;
  margin-bottom: 20px;
}

/* Product Image Section */
.product-image-section {
  text-align: center;
  margin-bottom: 30px;
}

.product-main-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Product Info Section */
.product-info-section {
  padding-left: 30px;
}

.product-category {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.product-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.product-brand {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
}

/* Rating */
.product-rating {
  margin-bottom: 20px;
}

.rating-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  font-size: 18px;
  color: #f6ad03;
}

/* Price Section */
.price-section {
  margin-bottom: 20px;
}

.price-strike {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 5px;
}

.current-price {
  font-size: 28px;
  font-weight: 700;
  color: #28a745;
}

/* Special Offers */
.special-offers-section {
  margin-bottom: 20px;
}

.special-tag {
  background: #28a745;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
}

/* Cart Section */
.cart-section {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.quantity-selector {
  margin-bottom: 15px;
}

.quantity-selector label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
}

.cart-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.add-to-cart-btn {
  background: #28a745;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

/* Product Specs */
.product-specs {
  margin-bottom: 30px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 15px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.spec-value {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.disclaimer {
  font-size: 12px;
  color: #666;
  font-style: italic;
  margin-top: 15px;
}

/* Product Description */
.product-description {
  margin-bottom: 30px;
}

.product-description h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

/* Special Offers Detail */
.special-offers-detail {
  margin-top: 40px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.special-offers-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

.special-icon {
  width: 24px;
  height: 24px;
}

.special-offer-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.special-offer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.special-offer-description {
  color: #666;
  margin-bottom: 15px;
}

.special-offer-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.special-offer-button:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
}

/* Error State */
.error-container {
  text-align: center;
  padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-info-section {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .product-title {
    font-size: 24px;
  }
  
  .current-price {
    font-size: 24px;
  }
  
  .cart-buttons {
    flex-direction: column;
  }
  
  .add-to-cart-btn {
    width: 100%;
    justify-content: center;
  }
  
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
