/* ===== Product Page Styles ===== */

.product-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}

/* Breadcrumbs */
.product-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #666;
}

.product-breadcrumbs a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.product-breadcrumbs a:hover {
  color: #e94560;
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #999;
}

.breadcrumb-current {
  color: #333;
}

/* Layout */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
}

/* Gallery */
.product-gallery {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.product-main-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-image-placeholder {
  flex-direction: column;
  gap: 15px;
  color: #ccc;
}

.product-image-placeholder svg {
  width: 80px;
  height: 80px;
}

.product-image-placeholder p {
  font-size: 14px;
  color: #999;
}

/* Product Details */
.product-details {
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 24px;
  color: #1a1a2e;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.product-brand {
  font-size: 14px;
  color: #666;
  margin: 0 0 20px 0;
}

/* Price Block */
.product-price-block {
  margin-bottom: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.price-current-large {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a2e;
}

/* Stock */
.product-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}

.product-stock svg {
  width: 18px;
  height: 18px;
}

.in-stock {
  color: #28a745;
}

.out-of-stock {
  color: #dc3545;
}

/* Quick Specs */
.product-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 25px;
  padding: 15px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
}

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

.quick-spec-label {
  font-size: 11px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quick-spec-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* Actions */
.product-actions {
  margin-bottom: 30px;
}

.product-btn {
  width: 100%;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  background: #e94560;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.product-btn:hover {
  background: #d63a52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

/* Full Specs */
.product-specs-full {
  margin-top: auto;
}

.product-specs-full h3 {
  font-size: 18px;
  color: #1a1a2e;
  margin: 0 0 15px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid #e94560;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.specs-table tr {
  border-bottom: 1px solid #f0f0f0;
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-label {
  padding: 12px 15px;
  color: #666;
  width: 45%;
  background: #fafafa;
  border-radius: 6px 0 0 6px;
}

.specs-value {
  padding: 12px 15px;
  color: #333;
  font-weight: 500;
}

.specs-value.price-value {
  color: #e94560;
  font-weight: 600;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .product-gallery {
    position: static;
  }
}

@media (max-width: 768px) {
  .product-container {
    padding: 15px;
  }
  
  .product-layout {
    padding: 20px;
  }
  
  .product-title {
    font-size: 20px;
  }
  
  .price-current-large {
    font-size: 24px;
  }
  
  .product-quick-specs {
    grid-template-columns: 1fr;
  }
  
  .specs-label,
  .specs-value {
    padding: 10px;
    font-size: 13px;
  }
}
