/* ── Pacharika Product Detail Page (PDP) — Amazon-style layout ── */

/* Breadcrumb */
.pdp-breadcrumb { background: #fff8f0; border-bottom: 1px solid rgba(201,146,42,0.15); padding: 10px 0; }
.pdp-breadcrumb .container { font-size: 0.82rem; color: #9a7a5a; }
.pdp-breadcrumb a { color: #c9922a; text-decoration: none; }
.pdp-breadcrumb a:hover { text-decoration: underline; }
.pdp-breadcrumb span { margin: 0 5px; color: #c9922a; }

/* Main wrapper */
.pdp-main { background: #fff8f0; }

/* Two-column layout */
.pdp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 6vw, 72px);
}

/* ── LEFT: Gallery ── */
.pdp-gallery {
  display: flex;
  gap: 12px;
  position: sticky;
  top: 76px;
}
.pdp-thumbstrip {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 70px;
  flex-shrink: 0;
}
.pdp-thumb {
  width: 70px;
  height: 70px;
  border: 2px solid rgba(201,146,42,0.25);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #fff;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: #c9922a; }
.pdp-main-wrap {
  flex: 1;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(201,146,42,0.2);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 20px;
  box-sizing: border-box;
  transition: opacity 0.18s ease;
}

/* ── RIGHT: Info panel ── */
.pdp-panel { min-width: 0; }

.pdp-name {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 600 !important;
  color: #3a0808 !important;
  line-height: 1.2;
  margin: 4px 0 2px;
}
.pdp-name em {
  font-size: 0.52em;
  color: #9a7a5a;
  font-style: italic;
  display: block;
  margin-top: 3px;
  font-family: 'Cormorant Garamond', serif;
}
.pdp-brand-line { font-size: 0.82rem; color: #5a4535; margin-bottom: 6px; }
.pdp-brand-line strong { color: #c9922a; }

.pdp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.pdp-stars { color: #c47f0c; font-size: 0.95rem; letter-spacing: 1px; }
.pdp-rating-count { font-size: 0.83rem; color: #c9922a; text-decoration: none; }

.pdp-rule-thin { border: none; border-top: 1px solid rgba(201,146,42,0.22); margin: 10px 0 12px; }

/* Price */
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.pdp-discount-badge {
  background: #b12704; color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 3px 8px; border-radius: 2px; font-family: Lato, sans-serif;
}
.pdp-price { font-size: 2rem; font-weight: 700; color: #b12704; font-family: Lato, sans-serif; line-height: 1; }
.pdp-mrp { font-size: 0.86rem; color: #5a4535; }
.pdp-tax-note { font-size: 0.8rem; color: #5a4535; margin: 0 0 16px; }

/* Pack selector */
.pdp-pack-section { margin-bottom: 14px; }
.pdp-pack-label { font-size: 0.8rem; color: #5a4535; margin: 0 0 8px; font-weight: 600; }
.pdp-pack-options { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-pack {
  border: 2px solid rgba(201,146,42,0.35);
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: Lato, sans-serif;
  color: #3a0808;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 85px;
  line-height: 1.4;
}
.pdp-pack span { font-weight: 700; font-size: 0.92rem; color: #b12704; display: block; }
.pdp-pack s { font-size: 0.7rem; color: #888; display: block; }
.pdp-pack.active { border-color: #c9922a; background: #fff8ec; box-shadow: 0 0 0 1px #c9922a; }
.pdp-pack:hover:not(.active) { border-color: #c9922a; }

/* Quality badges */
.pdp-qual-badges { display: flex; gap: 7px; flex-wrap: wrap; margin: 10px 0 12px; }
.pdp-qual-badges span {
  background: rgba(201,146,42,0.1);
  border: 1px solid rgba(201,146,42,0.35);
  border-radius: 100px;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a4f00;
  padding: 4px 11px;
}

/* Short description */
.pdp-short-desc { font-size: 0.9rem; color: #5a3a28; line-height: 1.75; margin: 0 0 14px; }

/* Delivery */
.pdp-delivery {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.86rem; color: #3a0808; margin-bottom: 4px;
}
.pdp-in-stock { font-size: 0.88rem; font-weight: 700; color: #007600; margin-bottom: 14px; }

/* ── CTA Buttons ── */
.pdp-btn-amazon {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 20px;
  background: linear-gradient(180deg, #f7ca00 0%, #f0a500 100%);
  color: #111;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  border-radius: 6px; border: 1px solid #c8a000;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 2px 8px rgba(200,160,0,0.25);
  transition: background 0.2s, transform 0.15s;
  margin-bottom: 10px; box-sizing: border-box;
}
.pdp-btn-amazon:hover {
  background: linear-gradient(180deg, #f0c000 0%, #e09500 100%);
  transform: translateY(-1px);
  color: #111;
}

.pdp-direct-row { display: flex; gap: 10px; margin-bottom: 10px; align-items: stretch; }
.pdp-direct-row .sig-stepper {
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid rgba(201,146,42,0.45);
  border-radius: 6px;
  padding: 6px 12px;
  gap: 8px;
}
.pdp-btn-direct {
  flex: 1;
  padding: 12px 14px;
  background: linear-gradient(180deg, #6e1010 0%, #5c0a0a 100%);
  color: #fff3e0;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  border: 1px solid #5c0a0a;
  border-radius: 6px; cursor: pointer;
  transition: background 0.25s, transform 0.15s;
}
.pdp-btn-direct:hover { background: #c9922a; border-color: #c9922a; color: #2a1200; transform: translateY(-1px); }

/* Cert strip */
.pdp-cert-strip {
  display: flex; border: 1px solid rgba(201,146,42,0.22);
  border-radius: 4px; overflow: hidden; margin-bottom: 18px;
}
.pdp-cert {
  flex: 1; text-align: center; padding: 9px 4px;
  font-size: 0.68rem; color: #5a4535; line-height: 1.4;
  border-right: 1px solid rgba(201,146,42,0.2);
}
.pdp-cert:last-child { border-right: none; }
.pdp-cert span { display: block; font-size: 1rem; margin-bottom: 2px; }

/* Collapsible details */
.pdp-details-block { border-top: 1px solid rgba(201,146,42,0.2); }
.pdp-details-block:last-of-type { border-bottom: 1px solid rgba(201,146,42,0.2); }
.pdp-details-block summary {
  padding: 12px 0;
  font-family: 'Cinzel', serif;
  font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: #3a0808; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none; outline: none;
}
.pdp-details-block summary::-webkit-details-marker { display: none; }
.pdp-details-block summary::after { content: '+'; font-size: 1.1rem; color: #c9922a; font-family: Lato, sans-serif; }
.pdp-details-block[open] summary::after { content: '−'; }
.pdp-details-block p { font-size: 0.87rem; color: #5a3a28; line-height: 1.7; margin: 0 0 12px; }
.pdp-details-block ul { font-size: 0.87rem; color: #5a3a28; line-height: 1.7; margin: 0 0 12px; padding-left: 18px; }
.pdp-details-block li { margin-bottom: 4px; }

/* ── Below fold ── */
.pdp-below { background: #fff8f0; }

.pdp-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}
.pdp-why-card {
  background: #fff; border: 1px solid rgba(201,146,42,0.2);
  border-top: 3px solid #c9922a; border-radius: 4px; padding: 22px;
}
.pdp-why-card h3 { color: #3a0808 !important; font-size: 1rem !important; margin-top: 0; }
.pdp-label-img { width: 100%; border-radius: 4px; object-fit: cover; max-height: 220px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .pdp-layout { grid-template-columns: 1fr; gap: 28px; }
  .pdp-gallery { position: static; }
  .pdp-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .pdp-thumbstrip { flex-direction: row; width: 100%; }
  .pdp-thumb { width: 60px; height: 60px; }
  .pdp-gallery { flex-direction: column; }
  .pdp-why-grid { grid-template-columns: 1fr; }
  .pdp-direct-row { flex-direction: column; }
  .pdp-direct-row .sig-stepper { justify-content: center; }
  .pdp-cert-strip { flex-wrap: wrap; }
  .pdp-cert { min-width: 50%; }
}

/* ── Hide direct-order paths (Amazon-only for now) ── */
.pdp-direct-row,
.sig-buy-now-btn,
.sig-stepper { display: none !important; }

/* ── Customer Reviews ── */
.pdp-reviews {
  border-top: 1px solid rgba(201,146,42,0.22);
  padding: clamp(32px, 4vw, 48px) 0;
  margin-top: 20px;
}
.pdp-reviews-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.pdp-reviews-header h2 {
  font-family: 'Cormorant Garamond', serif !important;
  color: #3a0808 !important;
  font-size: clamp(1.6rem, 2.4vw, 2rem) !important;
  margin: 0 !important;
}
.pdp-reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Lato', sans-serif;
  color: #5a4a3a;
  font-size: 0.95rem;
}
.pdp-reviews-summary .stars-big { color: #f0a500; font-size: 1.3rem; letter-spacing: 1px; }
.pdp-reviews-summary strong { color: #3a0808; font-size: 1.05rem; }

.pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.pdp-review-card {
  background: #fffdf9;
  border: 1px solid rgba(201,146,42,0.22);
  border-radius: 10px;
  padding: 22px 20px;
  box-shadow: 0 4px 12px rgba(139,26,26,0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pdp-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdp-review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9922a, #6e1010);
  color: #fff8f0;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pdp-review-meta { display: flex; flex-direction: column; gap: 2px; }
.pdp-review-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #3a0808;
}
.pdp-review-verified {
  font-size: 0.72rem;
  color: #007600;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.pdp-review-stars { color: #f0a500; letter-spacing: 1px; font-size: 0.95rem; }
.pdp-review-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #3a0808;
  margin: 4px 0 0;
  line-height: 1.3;
}
.pdp-review-body {
  color: #5a4a3a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.pdp-review-date {
  color: #9a7a5a;
  font-size: 0.78rem;
  margin-top: 4px;
}
