/* =====================================================
   product.css - styles for individual product pages
   ===================================================== */

/* Breadcrumb */
.breadcrumb {
  padding: calc(var(--nav-h) + 16px) 0 16px;
  background: var(--beige);
  font-size: .82rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--olive);
  font-weight: 500;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--olive-dark); }
.breadcrumb span { color: var(--text-light); }
.breadcrumb a::after { content: ' '; }

/* Product Hero */
.product-hero {
  background: var(--beige);
  padding: 40px 0 80px;
}
.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 768px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: 32px; }
}
.product-hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-md);
}
.product-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-hero-image:hover img { transform: scale(1.04); }
.product-badge-lg {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 6px 16px;
  border-radius: 999px;
}
.product-hero-info { display: flex; flex-direction: column; gap: 16px; }
.product-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
}
.product-hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}
.product-hero-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}
.product-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: .875rem;
  font-weight: 600;
}
.highlight-icon { font-size: 1.2rem; }
.product-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product-weight {
  font-size: .85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.product-note {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

/* Product Details */
.product-details { background: var(--white); }
.product-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .product-details-grid { grid-template-columns: 1fr; }
}
.detail-card {
  background: var(--beige);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}
.detail-card h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--text);
}
.detail-card p {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 8px;
}
.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.detail-list li {
  font-size: .9rem;
  color: var(--text-light);
}
.detail-note {
  font-size: .78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}

/* Other Products */
.other-products { background: var(--beige); }
.other-products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
}
.other-product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}
.other-product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.other-product-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.other-product-card span:first-of-type {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}
.other-price {
  font-size: .85rem;
  font-weight: 700;
  color: var(--olive);
}
