.product-page {
  padding: var(--sp-12) 0 var(--sp-20);
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: start;
  margin-bottom: var(--sp-16);
}

/* Gallery */
.product-gallery {}
.product-main-image {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  position: relative;
}
.product-main-image img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: var(--t-slow);
}
.product-main-image:hover img { transform: scale(1.04); }
.product-zoom-hint {
  position: absolute;
  bottom: var(--sp-4); right: var(--sp-4);
  background: rgba(0,0,0,0.5);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--r);
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--t-fast);
}
.product-main-image:hover .product-zoom-hint { opacity: 1; }

/* Info */
.product-info {}
.product-info-category {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: var(--sp-3);
}
.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: var(--sp-4);
  line-height: 1.2;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.product-rating .stars { font-size: 1rem; }
.product-rating span { font-size: 0.875rem; color: var(--text-muted); }

.product-pricing {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  padding: var(--sp-5);
  background: var(--cream);
  border-radius: var(--r-lg);
}
.product-current-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-primary);
}
.product-old-price {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
}
.product-discount {
  background: #ff4757;
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-short-desc {
  line-height: 1.75;
  margin-bottom: var(--sp-6);
  font-size: 0.95rem;
}

/* Stock */
.product-stock {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.stock-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #28a745;
  box-shadow: 0 0 0 3px rgba(40,167,69,0.2);
  animation: pulse 2s ease infinite;
}
.stock-dot.low { background: #ffc107; box-shadow: 0 0 0 3px rgba(255,193,7,0.2); }
.stock-dot.out { background: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,0.2); }
.stock-text { font-size: 0.875rem; font-weight: 600; }

/* Quantity + add to cart */
.product-purchase {
  display: flex;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.qty-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.qty-btn {
  width: 44px; height: 54px;
  background: var(--cream);
  font-size: 1.2rem;
  color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
  transition: var(--t-fast);
}
.qty-btn:hover { background: var(--green-pale); color: var(--green-primary); }
.qty-input {
  width: 56px; height: 54px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  outline: none;
  background: var(--white);
  color: var(--text-dark);
}
.product-add-cart {
  flex: 1;
  height: 54px;
  border-radius: var(--r);
  font-size: 1rem;
}

/* Secondary actions */
.product-secondary-actions {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.product-secondary-actions .btn {
  flex: 1;
  height: 46px;
  font-size: 0.875rem;
}

/* Meta */
.product-meta {
  padding: var(--sp-6);
  background: var(--cream);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.product-meta-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
}
.product-meta-item strong { color: var(--text-dark); min-width: 100px; }
.product-meta-item span { color: var(--text-mid); }

/* Tabs */
.product-tabs { margin-bottom: var(--sp-12); }
.tab-header {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--border);
  margin-bottom: var(--sp-8);
}
.tab-btn {
  padding: var(--sp-4) var(--sp-6);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--t-fast);
}
.tab-btn.active { color: var(--green-primary); border-bottom-color: var(--green-primary); }
.tab-btn:hover  { color: var(--green-primary); }
.tab-content    { display: none; }
.tab-content.active { display: block; }
.tab-content p  { line-height: 1.8; margin-bottom: var(--sp-4); }
.tab-content ul { padding-left: var(--sp-5); }
.tab-content ul li { margin-bottom: var(--sp-2); color: var(--text-mid); font-size: 0.95rem; }

/* Video section */
.product-video {
  margin-top: var(--sp-8);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--green-darkest);
}
.product-video iframe {
  width: 100%; height: 100%;
  border: none;
}

/* Gallery thumbnails */
.product-thumbs {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  padding: var(--sp-1);
}
.product-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--r);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--t-fast);
  background: var(--cream);
  flex-shrink: 0;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
  transition: var(--t-fast);
}
.product-thumb:hover { border-color: var(--green-mid); }
.product-thumb.active {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 2px rgba(27,95,173,0.25);
}
.product-main-image img {
  transition: opacity 0.15s ease, transform var(--t-slow);
}

/* Gallery prev/next nav buttons */
.product-gallery-nav {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  display: flex;
  gap: var(--sp-2);
}
.pgn-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r);
  background: rgba(0,0,0,0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: var(--t-fast);
}
.pgn-btn:hover { background: var(--green-primary); }

/* Related products */
.related-section {}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
