/* ── 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: 36px 0;
  background: #fff;
}

.pd-main > .pd-container {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: start;
}

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

.pd-gallery__main {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
  width: min(100%, 420px);
  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: 16px;
}

/* 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: var(--text-3xl);
  font-weight: 800;
  color: #1b3a26;
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0;
}

/* Description */
.pd-info__desc {
  font-size: var(--text-base);
  color: #6b7b70;
  line-height: 1.48;
  border-top: 1px solid #e8ede9;
  padding-top: 14px;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
}
.pd-info__desc p { margin: 0; }

.pd-price-options {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.pd-price-options__title {
  margin: 0;
  padding: 0 0 10px;
  background: transparent;
  color: #0f2f1d;
  font-size: var(--text-sm);
  font-weight: 800;
}

.pd-price-options__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 10px;
}

.pd-price-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 76px;
  padding: 12px 10px;
  border: 1px solid #cfe4d5;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  text-align: center;
  transition: background 0.16s, border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}

.pd-price-option:hover,
.pd-price-option.is-active {
  background: #eef8f1;
  border-color: #176b3a;
  box-shadow: 0 12px 26px rgba(19, 74, 39, 0.12);
  transform: translateY(-1px);
}

.pd-price-option__qty {
  min-width: 0;
  color: #31483a;
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.pd-price-option__price {
  color: #176b3a;
  font-size: 1rem;
  font-weight: 900;
  white-space: nowrap;
}

/* ── 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 #dfeae3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(19, 74, 39, 0.08);
}

.pd-specs__title {
  font-size: var(--text-sm);
  font-weight: 800;
  color: #0f2f1d;
  background: #e8f6ec;
  padding: 13px 16px;
  margin: 0;
  border-bottom: 1px solid #dfeae3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pd-specs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.pd-specs__table tr { border-bottom: 1px solid #e6f0e9; }
.pd-specs__table tr:last-child { border-bottom: none; }
.pd-specs__table tr:nth-child(even) { background: #f8fbf9; }
.pd-specs__table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #173421;
  width: 40%;
  border-right: 1px solid #e6f0e9;
  font-size: 0.81rem;
  background: transparent;
}
.pd-specs__table td {
  padding: 12px 16px;
  color: #617267;
  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: var(--text-3xl);
  font-weight: 800;
  color: #0f2f1d;
  margin: 0 0 24px;
  letter-spacing: 0;
}

.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: var(--text-sm);
  font-weight: 800;
  color: #102818;
  margin: 0 0 5px;
  line-height: 1.28;
  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: var(--text-sm);
  font-weight: 800;
  color: #185c35;
}

/* ── 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-related__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

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

/* Site refresh overrides */
.pd-breadcrumb {
  background: #f8fbf9;
}

.pd-main {
  background: linear-gradient(180deg, #f4faf6 0%, #ffffff 100%);
}

.pd-main > .pd-container {
  padding-top: 0;
}

.pd-gallery__main,
.pd-rel-card {
  border-radius: 8px;
  border-color: #dfeae3;
  box-shadow: 0 18px 48px rgba(19, 74, 39, 0.12);
}

.pd-tag {
  border-radius: 8px;
  background: #e8f6ec;
  border-color: #cfe4d5;
  color: #176b3a;
}

.pd-info__title {
  color: #102818;
  font-size: var(--text-3xl);
  letter-spacing: 0;
}

.pd-info__desc {
  color: #53675a;
}

.pd-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
}

.pd-btn--call,
.pd-btn--enquire:hover {
  background: #176b3a;
}

.pd-btn--enquire {
  border-color: #176b3a;
  color: #176b3a;
}
