/* ── PRODUCT PAGE ── */

/* Breadcrumb */
.pd-breadcrumb {
  background: #f4fbf4;
  border-bottom: 1px solid #e4ece0;
  padding: 14px 0;
  margin-top: 80px;
}
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #999;
}
.breadcrumb-nav a {
  color: var(--green-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-nav a:hover { color: var(--green-dark); }
.breadcrumb-nav span { color: #555; font-weight: 600; }

/* Product section */
.pd-section {
  padding: 52px 0 64px;
  background: #fff;
}
.pd-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Gallery */
.pd-gallery { position: sticky; top: 100px; }
.pd-main-img {
  background: #f0f9f0;
  border-radius: 20px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  margin-bottom: 16px;
  transition: background 0.3s;
  overflow: hidden;
}
.pd-main-emoji { line-height: 1; transition: transform 0.3s; }
.pd-main-img:hover .pd-main-emoji { transform: scale(1.06); }
.pd-img-badge {
  position: absolute;
  top: 18px; left: 18px;
  background: #ff6b35;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pd-thumbs {
  display: flex;
  gap: 10px;
}
.pd-thumb {
  flex: 1;
  background: #f0f9f0;
  border: 2px solid transparent;
  border-radius: 12px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pd-thumb:hover { border-color: #a8d5a8; background: #e8f5e9; }
.pd-thumb.active { border-color: var(--green-light); background: #e8f5e9; }
.pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  box-sizing: border-box;
}
.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  padding: 4px;
  box-sizing: border-box;
}

/* Product info */
.pd-info { padding-top: 8px; }
.pd-category-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-mid);
  background: rgba(46,139,62,0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}
.pd-title {
  font-family: "Antonio", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pd-stars { color: #f5a623; font-size: 1.1rem; letter-spacing: 2px; }
.pd-rating-txt { font-weight: 700; color: var(--dark); font-size: 0.9rem; }
.pd-rating-sep { color: #ccc; }
.pd-review-count { color: #888; font-size: 0.85rem; }

.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pd-mrp {
  font-size: 1rem;
  color: #bbb;
  text-decoration: line-through;
}
.pd-price {
  font-family: "Antonio", sans-serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.pd-unit {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}
.pd-discount-badge {
  background: #e8f5e9;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  align-self: center;
}
.pd-price-note {
  font-size: 0.78rem;
  color: #aaa;
  margin-bottom: 28px;
}

/* Options */
.pd-option-group { margin-bottom: 22px; }
.pd-option-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
}
.pd-option-label strong { color: var(--dark); }

.pd-color-options { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-color-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 8px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.pd-color-btn:hover { border-color: var(--green-light); background: #f4fbf4; }
.pd-color-btn.active { border-color: var(--green-light); background: #f0f9f0; color: var(--green-dark); }
.pd-color-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.pd-qty-btn {
  width: 38px; height: 38px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 1.3rem;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.pd-qty-btn:hover { background: #f0f9f0; border-color: var(--green-light); }
.pd-qty-val {
  font-family: "Antonio", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  min-width: 70px;
  text-align: center;
}
.pd-moq-note {
  font-size: 0.75rem;
  color: #aaa;
}

/* CTA */
.pd-cta-row {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.pd-btn-wa {
  flex: 1;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pd-btn-wa:hover { background: #1fb355; transform: translateY(-2px); }
.pd-btn-call {
  flex: 1;
  min-width: 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--green-dark);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.pd-btn-call:hover { background: var(--green-mid); transform: translateY(-2px); }

/* Trust badges */
.pd-trust-row {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
}
.pd-trust-item svg { flex-shrink: 0; }

/* ── TABS SECTION ── */
.pd-tabs-section {
  background: #fafcfa;
  padding: 56px 0 72px;
  border-top: 1px solid #eaeeea;
}
.pd-tab-bar {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid #e8ede8;
  margin-bottom: 40px;
  overflow-x: auto;
}
.pd-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}
.pd-tab:hover { color: var(--green-dark); }
.pd-tab.active { color: var(--green-dark); border-bottom-color: var(--green-dark); }
.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; }

/* Description panel */
.pd-desc-wrap { max-width: 860px; }
.pd-desc-text h3 {
  font-family: "Antonio", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 12px;
}
.pd-desc-text h3:first-child { margin-top: 0; }
.pd-desc-text p {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 14px;
}
.pd-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pd-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.55;
}
.pd-feature-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green-light);
}
.pd-app-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.pd-app-item {
  background: #fff;
  border: 1.5px solid #e4ece0;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* Specs panel */
.pd-specs-wrap { max-width: 720px; }
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.pd-specs-table th,
.pd-specs-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}
.pd-specs-table th {
  width: 200px;
  font-weight: 700;
  color: #444;
  background: #fafafa;
  font-family: Arial, Helvetica, sans-serif;
}
.pd-specs-table td { color: #555; }
.pd-specs-table tr:last-child th,
.pd-specs-table tr:last-child td { border-bottom: none; }
.pd-specs-table tr:hover td,
.pd-specs-table tr:hover th { background: #f4fbf4; }

/* Pricing panel */
.pd-pricing-wrap { max-width: 860px; }
.pd-pricing-note {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 20px;
  background: #fff9e6;
  border: 1px solid #f0d080;
  border-radius: 8px;
  padding: 10px 14px;
}
.pd-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.pd-price-table thead th {
  background: var(--green-dark);
  color: #fff;
  padding: 13px 18px;
  text-align: left;
  font-weight: 700;
}
.pd-price-table tbody td { padding: 14px 18px; border-bottom: 1px solid #f0f0f0; color: #444; }
.pd-price-table tbody tr:last-child td { border-bottom: none; }
.pd-price-table tbody tr:hover td { background: #f4fbf4; }
.pt-highlight td { background: #f0f9f0; }
.pt-popular {
  display: inline-block;
  background: var(--green-light);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.pt-price { font-family: "Antonio", sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.pt-save {
  background: #e8f5e9;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.pt-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--green-dark);
  color: #fff;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.pt-btn:hover { background: var(--green-mid); }

/* Shipping panel */
.pd-ship-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pd-ship-card {
  background: #fff;
  border: 1.5px solid #e4ece0;
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.pd-ship-card:hover { box-shadow: 0 6px 20px rgba(13,74,31,0.1); }
.pd-ship-icon {
  width: 56px; height: 56px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: var(--green-dark);
}
.pd-ship-card h4 {
  font-family: "Antonio", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.pd-ship-card p { font-size: 0.82rem; color: #888; line-height: 1.6; }

/* Related Products */
.pd-related { background: #fff; padding: 64px 0 80px; border-top: 1px solid #eaeeea; }
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pd-rel-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
  display: block;
}
.pd-rel-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(13,74,31,0.12); }
.pd-rel-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pd-rel-img img {
  width: auto;
  max-width: 100%;
  height: 120px;
  object-fit: contain;
  padding: 12px;
}
.pd-rel-img.green-bg { background: #f0f9f0; }
.pd-rel-img.yellow-bg { background: #fdf9ee; }
.pd-rel-img.blue-bg { background: #eef4fb; }
.pd-rel-body { padding: 14px 16px 18px; }
.pd-rel-cat { font-size: 0.72rem; color: #999; display: block; margin-bottom: 4px; }
.pd-rel-body h4 {
  font-family: "Antonio", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}
.pd-rel-stars { color: var(--green-light); font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 8px; }
.pd-rel-price {
  font-family: "Antonio", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}
.pd-rel-mrp {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  color: #bbb;
  text-decoration: line-through;
  margin-right: 4px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pd-ship-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .pd-wrap { grid-template-columns: 1fr; gap: 36px; }
  .pd-gallery { position: static; }
  .pd-main-img { height: 300px; font-size: 6rem; }
  .pd-title { font-size: 1.9rem; }
  .pd-price { font-size: 2rem; }
  .pd-specs-table th { width: 140px; }
  .pd-price-table { font-size: 0.82rem; }
}
@media (max-width: 560px) {
  .pd-ship-grid { grid-template-columns: 1fr; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-cta-row { flex-direction: column; }
  .pd-btn-wa, .pd-btn-call { flex: none; width: 100%; }
  .pd-specs-table { font-size: 0.8rem; }
  .pd-specs-table th { width: 120px; }
}

@media (max-width: 480px) {
  /* Breadcrumb */
  .pd-breadcrumb { padding: 10px 0; }
  .breadcrumb-nav { font-size: 0.76rem; gap: 4px; }

  /* Gallery */
  .pd-main-img { height: 240px; }
  .pd-thumbs { gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .pd-thumb { min-width: 60px; height: 60px; flex: 0 0 60px; }

  /* Info */
  .pd-title { font-size: 1.5rem; }
  .pd-price { font-size: 1.8rem; }
  .pd-color-options { gap: 6px; }
  .pd-color-btn { padding: 6px 10px; font-size: 0.78rem; }

  /* Tab bar — horizontal scroll */
  .pd-tab-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; gap: 0; padding-bottom: 2px; }
  .pd-tab { flex-shrink: 0; padding: 10px 12px; font-size: 0.78rem; white-space: nowrap; }

  /* Pricing table — scroll on small screens */
  .pd-pricing-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pd-price-table { min-width: 420px; }

  /* Specs table */
  .pd-specs-table th { width: 100px; font-size: 0.78rem; padding: 10px 10px; }
  .pd-specs-table td { font-size: 0.78rem; padding: 10px 10px; }

  /* Related */
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-rel-img { height: 130px; }

  /* Shipping cards */
  .pd-ship-card { padding: 18px 14px; }
  .pd-ship-icon { width: 44px; height: 44px; }

  /* Trust row */
  .pd-trust-row { gap: 12px; }
  .pd-trust-item { flex: 0 0 calc(50% - 6px); font-size: 0.72rem; }

  /* Section padding */
  .pd-section { padding: 36px 0 48px; }
  .pd-tabs-section { padding: 40px 0 56px; }
  .pd-related { padding: 48px 0 64px; }
}

@media (max-width: 360px) {
  .pd-title { font-size: 1.35rem; }
  .pd-price { font-size: 1.6rem; }
  .pd-main-img { height: 200px; }
  .pd-thumb { min-width: 52px; height: 52px; flex: 0 0 52px; }
}
