/* ==========================================================================
   Product detail pages (/products/<slug>)
   Scoped with a pp- prefix so nothing here can collide with styles.css.
   Inherits the existing design tokens; only layout specific to the new
   single-product template lives in this file.
   ========================================================================== */

.pp-breadcrumb {
  padding: 18px 0 4px;
  font-size: 0.85rem;
  color: #6b7566;
}
.pp-breadcrumb a {
  color: #25523e;
  text-decoration: none;
}
.pp-breadcrumb a:hover { text-decoration: underline; }
.pp-breadcrumb span { margin: 0 6px; color: #a8b0a3; }
.pp-breadcrumb span[aria-current] { color: #6b7566; margin: 0; }

.pp-wrap { padding-bottom: 72px; }

/* ---------- Hero: gallery + buy box ---------- */

.pp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding: 24px 0 56px;
}

.pp-gallery { min-width: 0; }

.pp-hero-img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #f4f2ed;
  border: 1px solid #e4e0d6;
  display: block;
}

.pp-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.pp-thumbs img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e4e0d6;
  display: block;
}

.pp-buy { min-width: 0; }

.pp-buy h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  margin: 8px 0 14px;
  color: #183a2b;
}

.pp-price {
  font-size: 2rem;
  font-weight: 700;
  color: #c87a2d;
  margin: 0 0 14px;
}

.pp-snippet {
  font-size: 1.03rem;
  line-height: 1.65;
  color: #4a5347;
  margin-bottom: 22px;
}

.pp-quickspec {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  border-top: 1px solid #e4e0d6;
}
.pp-quickspec li {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #e4e0d6;
  font-size: 0.92rem;
}
.pp-quickspec strong { color: #183a2b; font-weight: 600; }
.pp-quickspec span { color: #55604f; }

.pp-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.pp-ship {
  margin-top: 14px;
  font-size: 0.85rem;
  color: #6b7566;
}

/* ---------- Content sections ---------- */

.pp-section {
  padding: 34px 0;
  border-top: 1px solid #e8e5dc;
  max-width: 860px;
}
.pp-section h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: #183a2b;
  margin: 0 0 16px;
}
.pp-section h3 {
  font-size: 1.05rem;
  color: #25523e;
  margin: 0 0 8px;
}
.pp-section p {
  line-height: 1.75;
  color: #454e42;
  margin: 0 0 16px;
}

.pp-bullets { padding-left: 0; list-style: none; margin: 0; }
.pp-bullets li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  line-height: 1.7;
  color: #454e42;
}
.pp-bullets li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c87a2d;
}

/* ---------- Qualifying activity block ---------- */

.pp-qualify {
  background: #f7f6f1;
  border: 1px solid #e4e0d6;
  border-radius: 14px;
  padding: 30px 32px;
  margin-top: 34px;
  max-width: 860px;
}
.pp-activity-lead { margin-bottom: 10px !important; font-weight: 600; color: #183a2b; }

.activity-pills { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.activity-pill {
  background: #183a2b;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 600;
}

.seven-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 8px;
}
.seven-list li {
  padding: 9px 14px 9px 34px;
  border-radius: 8px;
  font-size: 0.88rem;
  position: relative;
  border: 1px solid #e4e0d6;
  background: #fff;
}
.seven-list li::before {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
}
.seven-hit {
  border-color: #25523e !important;
  background: #eef3ef !important;
  color: #183a2b;
  font-weight: 600;
}
.seven-hit::before { content: "\2713"; color: #25523e; }
.seven-miss { color: #8a927f; }
.seven-miss::before { content: "\2022"; color: #c2c8bc; }

.pp-disclaimer {
  font-size: 0.83rem !important;
  color: #6b7566 !important;
  border-left: 3px solid #c87a2d;
  padding-left: 14px;
  margin-bottom: 0 !important;
}

/* ---------- Spec table ---------- */

.pp-spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pp-spec-table th,
.pp-spec-table td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid #e4e0d6;
  vertical-align: top;
}
.pp-spec-table th {
  width: 210px;
  color: #183a2b;
  font-weight: 600;
  background: #f7f6f1;
}
.pp-spec-table td { color: #4a5347; }

/* ---------- FAQ ---------- */

.pp-faq-item {
  padding: 18px 0;
  border-bottom: 1px solid #e8e5dc;
}
.pp-faq-item:last-child { border-bottom: none; }
.pp-faq-item p { margin: 0; }

/* ---------- Related products ---------- */

.pp-related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.pp-related-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #e4e0d6;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pp-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(24, 58, 43, 0.1);
}
.pp-related-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #f4f2ed;
  display: block;
}
.pp-related-title {
  padding: 12px 14px 4px;
  font-size: 0.89rem;
  font-weight: 600;
  color: #183a2b;
  line-height: 1.35;
}
.pp-related-price {
  padding: 0 14px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c87a2d;
}

/* ---------- Sister-company crosslink ---------- */

.pp-crosslink {
  background: #183a2b;
  border-radius: 14px;
  padding: 30px 32px;
  margin-top: 34px;
  border-top: none;
  max-width: 860px;
}
.pp-crosslink h2 { color: #fff; }
.pp-crosslink p { color: #cfd9cf; margin-bottom: 0; }
.pp-crosslink a { color: #e8a765; font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .pp-hero { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .pp-qualify, .pp-crosslink { padding: 24px 20px; }
  .pp-quickspec li { grid-template-columns: 120px 1fr; }
  .pp-spec-table th { width: 140px; }
}

@media (max-width: 520px) {
  .pp-cta .btn { width: 100%; }
  .pp-quickspec li { grid-template-columns: 1fr; gap: 2px; }
  .pp-spec-table th, .pp-spec-table td { display: block; width: auto; }
  .pp-spec-table th { border-bottom: none; }
}
