/* ── Breadcrumb ─────────────────────────────────────────────── */
.pd-breadcrumb {
  padding: 12px 32px;
  background: #fff;
  border-bottom: 1px solid #e8ede9;
}
.pd-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
  list-style: none;
  letter-spacing: 0.01em;
}
.pd-breadcrumb a {
  color: #2e7d52;
  text-decoration: none;
  transition: color 0.15s;
}
.pd-breadcrumb a:hover { color: #1b5436; }
.pd-breadcrumb .sep    { color: #b0bdb3; font-size: 0.7rem; }
.pd-breadcrumb .active { color: #6b7b70; }

/* ── Shared container ────────────────────────────────────────── */
.pd-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Main Product Section ────────────────────────────────────── */
.pd-main {
  padding: 40px 0 52px;
  background: #fff;
}

.pd-main > .pd-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 52px;
  align-items: start;
}

/* ── Image Gallery ───────────────────────────────────────────── */
.pd-gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.pd-gallery__main {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eaf3ec;
  border: 1px solid #e4ebe6;
}

.pd-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ec;
}
.pd-gallery__placeholder .material-icons {
  font-size: 5rem;
  color: #5a9e74;
  opacity: 0.15;
}

/* ── Product Info ────────────────────────────────────────────── */
.pd-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tags */
.pd-info__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #c8dece;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2e7d52;
  text-decoration: none;
  letter-spacing: 0.06em;
  background: #edf5ef;
  transition: background 0.15s, color 0.15s;
}
.pd-tag:hover {
  background: #1b5436;
  border-color: #1b5436;
  color: #fff;
}

/* Title */
.pd-info__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #1b3a26;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.03em;
}

/* Pricing block */
.pd-info__pricing {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #f5f7f5;
  border: 1px solid #e4ebe6;
  border-radius: 6px;
}

.pd-price {
  font-size: 2rem;
  font-weight: 500;
  color: #1b5436;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pd-mrp {
  font-size: 1rem;
  color: #89908c;
  text-decoration: line-through;
}

.pd-discount {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* Description */
.pd-info__desc {
  font-size: 0.9rem;
  color: #6b7b70;
  line-height: 1.8;
  border-top: 1px solid #e8ede9;
  padding-top: 16px;
  margin: 0;
}
.pd-info__desc p { margin: 0; }

/* ── Action Buttons ──────────────────────────────────────────── */
.pd-info__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  border: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pd-btn .material-icons { font-size: 1rem; }

.pd-btn--whatsapp {
  background: #25d366;
  color: #fff;
}
.pd-btn--whatsapp:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-1px);
}

.pd-btn--call {
  background: #1b5436;
  color: #fff;
}
.pd-btn--call:hover {
  background: #2e7d52;
  color: #fff;
  transform: translateY(-1px);
}

.pd-btn--enquire {
  background: #fff;
  color: #1b5436;
  border: 1.5px solid #1b5436;
}
.pd-btn--enquire:hover {
  background: #1b5436;
  color: #fff;
  transform: translateY(-1px);
}

/* ── Specifications ──────────────────────────────────────────── */
.pd-specs {
  border: 1px solid #ccc;
  border-radius: 0;
  overflow: hidden;
}

.pd-specs__title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #111;
  background: #f0f0f0;
  padding: 10px 16px;
  margin: 0;
  border-bottom: 1px solid #ccc;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.pd-specs__table tr { border-bottom: 1px solid #e0e0e0; }
.pd-specs__table tr:last-child { border-bottom: none; }
.pd-specs__table tr:nth-child(even) { background: #f8f8f8; }
.pd-specs__table th {
  padding: 10px 16px;
  text-align: left;
  font-weight: 700;
  color: #222;
  width: 40%;
  border-right: 1px solid #e0e0e0;
  font-size: 0.81rem;
  background: transparent;
}
.pd-specs__table td {
  padding: 10px 16px;
  color: #555;
  font-size: 0.84rem;
}

/* ── Related Products ────────────────────────────────────────── */
.pd-related {
  padding: 44px 0 60px;
  background: #f5f7f5;
  border-top: 1px solid #e8ede9;
}

.pd-related__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b3a26;
  margin: 0 0 24px;
  letter-spacing: -0.03em;
}

.pd-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.pd-rel-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e4ebe6;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.pd-rel-card:hover {
  transform: translateY(-4px);
  border-color: #a8cdb5;
}

.pd-rel-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  background: #eaf3ec;
}
.pd-rel-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pd-rel-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eaf3ec;
}
.pd-rel-card__placeholder .material-icons { font-size: 2rem; color: #5a9e74; opacity: 0.25; }

.pd-rel-card__body { padding: 10px 12px 13px; }
.pd-rel-card__body h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b3a26;
  margin: 0 0 5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pd-rel-card:hover .pd-rel-card__body h5 { color: #2e7d52; }
.pd-rel-card__body span {
  font-size: 0.88rem;
  font-weight: 800;
  color: #1b5436;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .pd-main > .pd-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pd-gallery { position: static; }
  .pd-container { padding: 0 16px; }
  .pd-breadcrumb { padding: 12px 16px; }
}

@media (max-width: 640px) {
  .pd-info__actions { flex-direction: column; }
  .pd-btn { justify-content: center; }
  .pd-price { font-size: 1.6rem; }
  .pd-related__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

@media (max-width: 380px) {
  .pd-related__grid { grid-template-columns: 1fr 1fr; }
}