/* ============================================================
   HDPC Product Template CSS — v1.1
   All classes prefixed with hdpc- to avoid theme conflicts.
   Loaded only on single product pages.
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
.hdpc-wrap {
  --hdpc-red:        #D42B2B;
  --hdpc-red-dark:   #A81F1F;
  --hdpc-red-glow:   rgba(212,43,43,0.12);
  --hdpc-charcoal:   #1A1A1A;
  --hdpc-dark:       #111111;
  --hdpc-panel:      #1F1F1F;
  --hdpc-panel2:     #252525;
  --hdpc-border:     #2E2E2E;
  --hdpc-border-lt:  #3A3A3A;
  --hdpc-text:       #F0F0F0;
  --hdpc-muted:      #9A9A9A;
  --hdpc-dim:        #555555;
  --hdpc-gold:       #C8962A;
  --hdpc-green:      #2D7A47;
  --hdpc-green-lt:   #3A9A5A;
  --hdpc-fh:         'Barlow Condensed', sans-serif;
  --hdpc-fb:         'Barlow', sans-serif;
}

/* ── Full page dark bg ─────────────────────────────────────── */
body.hdpc-product-page {
  background: #111 !important;
}
body.hdpc-product-page .site-content,
body.hdpc-product-page .content-area,
body.hdpc-product-page main,
body.hdpc-product-page #primary {
  background: transparent !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  width: 100% !important;
}
body.hdpc-product-page #secondary { display: none !important; }

.hdpc-wrap {
  font-family: var(--hdpc-fb);
  color: var(--hdpc-text);
  font-size: 15px;
  line-height: 1.65;
  background: var(--hdpc-dark);
  -webkit-font-smoothing: antialiased;
}
.hdpc-wrap *, .hdpc-wrap *::before, .hdpc-wrap *::after { box-sizing: border-box; }
.hdpc-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Ticker ────────────────────────────────────────────────── */
.hdpc-ticker {
  background: var(--hdpc-charcoal);
  border-bottom: 1px solid var(--hdpc-border);
  padding: 9px 0;
  overflow: hidden;
}
.hdpc-ticker-track {
  display: flex;
  gap: 32px;
  width: max-content;
  animation: hdpcTicker 28s linear infinite;
}
.hdpc-ticker-track:hover { animation-play-state: paused; }
.hdpc-ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--hdpc-muted);
  white-space: nowrap;
  font-family: var(--hdpc-fb);
}
.hdpc-tdot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--hdpc-red);
  flex-shrink: 0;
}
@keyframes hdpcTicker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Breadcrumb ────────────────────────────────────────────── */
.hdpc-crumb {
  background: var(--hdpc-charcoal);
  border-bottom: 1px solid var(--hdpc-border);
  padding: 10px 0;
}
.hdpc-crumb .woocommerce-breadcrumb,
.hdpc-crumb nav {
  font-size: 12px;
  color: var(--hdpc-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.hdpc-crumb a { color: var(--hdpc-muted); text-decoration: none; }
.hdpc-crumb a:hover { color: var(--hdpc-red); }
.hdpc-sep { color: var(--hdpc-dim); }

/* ── Hero ──────────────────────────────────────────────────── */
.hdpc-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 800px) {
  .hdpc-hero { grid-template-columns: 1fr; gap: 28px; }
}

/* ── Gallery ───────────────────────────────────────────────── */
.hdpc-gallery-col { position: sticky; top: 20px; }
.hdpc-gallery-main {
  background: var(--hdpc-panel);
  border: 1px solid var(--hdpc-border);
  border-radius: 4px;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}
.hdpc-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.hdpc-gallery-main:hover .hdpc-main-img { transform: scale(1.04); }
.hdpc-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--hdpc-dim); padding: 20px; text-align: center;
}
.hdpc-badge-cond {
  position: absolute; top: 14px; left: 14px;
  background: var(--hdpc-green);
  color: #fff;
  font-family: var(--hdpc-fh);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.hdpc-badge-stock {
  position: absolute; top: 14px; right: 14px;
  background: rgba(45,122,71,0.15);
  border: 1px solid var(--hdpc-green);
  color: #5DBE7E;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 2px;
  display: flex; align-items: center; gap: 5px;
}
.hdpc-badge-stock.hdpc-out { background: rgba(200,40,40,0.1); border-color: var(--hdpc-red); color: #E07070; }
.hdpc-sdot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5DBE7E;
  animation: hdpcPulse 2s infinite;
}
@keyframes hdpcPulse { 0%,100%{opacity:1} 50%{opacity:0.25} }
.hdpc-thumbs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-top: 10px;
}
.hdpc-thumb {
  background: var(--hdpc-panel);
  border: 1px solid var(--hdpc-border);
  border-radius: 3px;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: border-color 0.15s;
}
.hdpc-thumb:hover, .hdpc-thumb.active { border-color: var(--hdpc-red); }

/* ── Summary column ────────────────────────────────────────── */
.hdpc-sku {
  font-size: 11px; color: var(--hdpc-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px;
}
.hdpc-sku span { color: var(--hdpc-muted); }

.hdpc-title {
  font-family: var(--hdpc-fh) !important;
  font-size: 42px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  color: #fff !important;
  letter-spacing: -0.5px !important;
  margin: 0 0 8px !important;
}

.hdpc-subtitle {
  font-size: 14px; color: var(--hdpc-muted);
  margin-bottom: 18px; font-weight: 300;
  line-height: 1.5;
}

.hdpc-rating {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
}
.hdpc-stars .star-rating { color: var(--hdpc-gold) !important; }
.hdpc-rating-link { font-size: 13px; color: var(--hdpc-red); text-decoration: none; }
.hdpc-rating-link:hover { text-decoration: underline; }

/* ── Price ─────────────────────────────────────────────────── */
.hdpc-price-wrap { margin-bottom: 20px; }
.hdpc-price-label { font-size: 11px; color: var(--hdpc-dim); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hdpc-price-row {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
}
.hdpc-price-row .price,
.hdpc-price-row .woocommerce-Price-amount {
  font-family: var(--hdpc-fh) !important;
  font-size: 48px !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1 !important;
}
.hdpc-ship-pill {
  font-size: 12px;
  background: var(--hdpc-panel);
  border: 1px solid var(--hdpc-border);
  color: var(--hdpc-muted);
  padding: 4px 10px; border-radius: 3px;
}
.hdpc-core-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(45,122,71,0.08);
  border: 1px solid rgba(45,122,71,0.25);
  border-radius: 3px;
  padding: 9px 12px;
  font-size: 12px; color: #5DBE7E;
  margin-top: 10px; line-height: 1.5;
}
.hdpc-core-note a { color: var(--hdpc-red); text-decoration: none; }

/* ── Cart + Add-ons ────────────────────────────────────────── */
.hdpc-cart-wrap { margin-bottom: 14px; }
.hdpc-cart-wrap .single_add_to_cart_button,
.hdpc-cart-wrap button[type="submit"] {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: var(--hdpc-red) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 16px 24px !important;
  font-family: var(--hdpc-fh) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.1s !important;
}
.hdpc-cart-wrap .single_add_to_cart_button:hover { background: var(--hdpc-red-dark) !important; transform: translateY(-1px) !important; }
/* Product Add-ons plugin container */
.hdpc-cart-wrap .woocommerce-product-addons { margin-bottom: 16px; }
.hdpc-cart-wrap .woocommerce-product-addons__group { border: 1px solid var(--hdpc-border); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.hdpc-cart-wrap .woocommerce-product-addons__group-label { font-family: var(--hdpc-fh); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hdpc-muted); padding: 10px 14px 6px; background: var(--hdpc-panel); border-bottom: 1px solid var(--hdpc-border); }
.hdpc-cart-wrap .woocommerce-product-addons__option { padding: 10px 14px; border-bottom: 1px solid var(--hdpc-border); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hdpc-text); transition: background 0.15s; }
.hdpc-cart-wrap .woocommerce-product-addons__option:last-child { border-bottom: none; }
.hdpc-cart-wrap .woocommerce-product-addons__option:hover { background: var(--hdpc-panel2); }
.hdpc-cart-wrap .woocommerce-product-addons__option input[type="checkbox"] { accent-color: var(--hdpc-red); width: 16px; height: 16px; }
.hdpc-cart-wrap .woocommerce-product-addons__price { color: var(--hdpc-muted); margin-left: auto; font-family: var(--hdpc-fh); font-size: 15px; font-weight: 600; }

.hdpc-call-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--hdpc-border-lt);
  border-radius: 4px;
  color: var(--hdpc-text);
  padding: 12px 24px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: all 0.2s;
}
.hdpc-call-btn:hover { border-color: var(--hdpc-muted); background: var(--hdpc-panel); color: var(--hdpc-text); }
.hdpc-call-btn svg { flex-shrink: 0; }

/* ── Trust strip ───────────────────────────────────────────── */
.hdpc-trust {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; margin-bottom: 20px;
}
.hdpc-trust-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--hdpc-panel);
  border: 1px solid var(--hdpc-border);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 12px; color: var(--hdpc-muted);
  line-height: 1.4;
}
.hdpc-ti-icon { font-size: 16px; flex-shrink: 0; }
.hdpc-trust-item strong { display: block; color: var(--hdpc-text); font-size: 13px; font-weight: 600; }
.hdpc-trust-item a { color: var(--hdpc-red); text-decoration: none; }

/* ── Policy links ──────────────────────────────────────────── */
.hdpc-policies {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 12px;
  border-top: 1px solid var(--hdpc-border);
  padding-top: 14px;
}
.hdpc-policies a { color: var(--hdpc-muted); text-decoration: none; }
.hdpc-policies a:hover { color: var(--hdpc-red); }

/* ── Description content area ──────────────────────────────── */
.hdpc-description-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Tab nav (generated in description HTML) ───────────────── */
.hdpc-tab-nav {
  display: flex; gap: 0;
  border-bottom: 1px solid var(--hdpc-border);
  margin: 48px 0 28px;
  overflow-x: auto;
}
.hdpc-tab-btn {
  background: none; border: none;
  border-bottom: 2px solid transparent;
  color: var(--hdpc-muted);
  font-family: var(--hdpc-fh);
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer; white-space: nowrap;
  margin-bottom: -1px;
  transition: all 0.2s;
}
.hdpc-tab-btn:hover { color: var(--hdpc-text); }
.hdpc-tab-btn.active { color: var(--hdpc-red); border-bottom-color: var(--hdpc-red); }
.hdpc-tab-panel { display: none; }
.hdpc-tab-panel.active { display: block; }

/* ── Fitment table ─────────────────────────────────────────── */
.hdpc-fitment-intro { font-size: 14px; color: var(--hdpc-muted); margin-bottom: 18px; line-height: 1.7; }
.hdpc-fitment-intro a { color: var(--hdpc-red); text-decoration: none; }
.hdpc-fitment-filter { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.hdpc-filter-btn {
  background: var(--hdpc-panel); border: 1px solid var(--hdpc-border);
  border-radius: 3px; color: var(--hdpc-muted); font-size: 12px;
  padding: 6px 14px; cursor: pointer; transition: all 0.15s;
}
.hdpc-filter-btn:hover, .hdpc-filter-btn.active {
  background: var(--hdpc-red-glow); border-color: var(--hdpc-red); color: #fff;
}
.hdpc-fitment-table-wrap { overflow-x: auto; }
.hdpc-fitment-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hdpc-fitment-table thead tr { background: var(--hdpc-charcoal); border-bottom: 2px solid var(--hdpc-red); }
.hdpc-fitment-table th { text-align: left; padding: 10px 14px; font-family: var(--hdpc-fh); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hdpc-muted); }
.hdpc-fitment-table td { padding: 10px 14px; border-bottom: 1px solid var(--hdpc-border); color: var(--hdpc-text); }
.hdpc-fitment-table tbody tr:hover { background: var(--hdpc-panel); }
.hdpc-engine-tag { display: inline-block; background: var(--hdpc-panel2); border: 1px solid var(--hdpc-border-lt); border-radius: 2px; font-family: monospace; font-size: 11px; padding: 2px 7px; color: var(--hdpc-muted); }
.hdpc-fitment-note { font-size: 12px; color: var(--hdpc-gold); margin-top: 14px; display: flex; align-items: flex-start; gap: 6px; line-height: 1.5; }
.hdpc-fitment-note a { color: var(--hdpc-red); text-decoration: none; }

/* ── Specs ─────────────────────────────────────────────────── */
.hdpc-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
@media (max-width: 600px) { .hdpc-specs-grid { grid-template-columns: 1fr; } }
.hdpc-specs-group-title { font-family: var(--hdpc-fh); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hdpc-red); border-bottom: 1px solid var(--hdpc-border); padding-bottom: 8px; margin-bottom: 10px; }
.hdpc-spec-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--hdpc-border); font-size: 13px; }
.hdpc-spec-row:last-child { border-bottom: none; }
.hdpc-spec-name { color: var(--hdpc-muted); }
.hdpc-spec-val { color: var(--hdpc-text); font-weight: 500; text-align: right; }
.hdpc-spec-val.green { color: var(--hdpc-green-lt); }

/* ── Quick specs strip (in description) ────────────────────── */
.hdpc-qspecs {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--hdpc-border);
  border: 1px solid var(--hdpc-border); border-radius: 4px;
  overflow: hidden; margin-bottom: 24px;
}
.hdpc-qcell { background: var(--hdpc-panel); padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.hdpc-qcell-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--hdpc-dim); font-weight: 600; }
.hdpc-qcell-val { font-size: 15px; font-weight: 600; color: var(--hdpc-text); }
.hdpc-qcell-val.green { color: var(--hdpc-green-lt); }

/* ── Part numbers ──────────────────────────────────────────── */
.hdpc-pn-wrap { background: var(--hdpc-panel); border: 1px solid var(--hdpc-border); border-radius: 4px; padding: 14px 16px; margin-bottom: 20px; }
.hdpc-pn-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--hdpc-dim); margin-bottom: 8px; font-weight: 600; }
.hdpc-pn-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hdpc-pn { background: var(--hdpc-panel2); border: 1px solid var(--hdpc-border-lt); border-radius: 2px; padding: 3px 10px; font-family: monospace; font-size: 12px; color: var(--hdpc-text); }

/* ── What's included ───────────────────────────────────────── */
.hdpc-inc-subhead { font-family: var(--hdpc-fh); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hdpc-muted); margin: 20px 0 10px; }
.hdpc-inc-subhead.dim { color: var(--hdpc-dim); }
.hdpc-included-list { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 8px; margin-bottom: 8px; }
.hdpc-inc-item { display: flex; align-items: center; gap: 10px; background: var(--hdpc-panel); border: 1px solid var(--hdpc-border); border-radius: 4px; padding: 11px 14px; font-size: 13px; color: var(--hdpc-text); }
.hdpc-inc-item.no { opacity: 0.5; }
.hdpc-inc-check { font-size: 15px; flex-shrink: 0; color: var(--hdpc-green-lt); }
.hdpc-inc-item.no .hdpc-inc-check { color: var(--hdpc-dim); }

/* ── Process callout ───────────────────────────────────────── */
.hdpc-process-box {
  background: linear-gradient(135deg,rgba(212,43,43,0.07) 0%,rgba(212,43,43,0.02) 100%);
  border: 1px solid rgba(212,43,43,0.22);
  border-left: 3px solid var(--hdpc-red);
  border-radius: 4px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.hdpc-process-box-title { font-family: var(--hdpc-fh); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hdpc-red); margin-bottom: 12px; }
.hdpc-process-points { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 10px; margin-top: 14px; }
.hdpc-pp { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--hdpc-muted); }
.hdpc-pp-arrow { color: var(--hdpc-red); flex-shrink: 0; margin-top: 1px; }
.hdpc-pp strong { color: var(--hdpc-text); }

/* ── Install cards ─────────────────────────────────────────── */
.hdpc-install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
@media (max-width: 600px) { .hdpc-install-grid { grid-template-columns: 1fr; } }
.hdpc-install-card { background: var(--hdpc-panel); border: 1px solid var(--hdpc-border); border-radius: 4px; padding: 16px 18px; }
.hdpc-install-card-title { font-family: var(--hdpc-fh); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--hdpc-text); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.hdpc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hdpc-dot-red   { background: var(--hdpc-red); }
.hdpc-dot-gold  { background: var(--hdpc-gold); }
.hdpc-dot-green { background: var(--hdpc-green-lt); }
.hdpc-dot-blue  { background: #4A90D9; }
.hdpc-install-card ul { list-style: none; display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--hdpc-muted); line-height: 1.5; }
.hdpc-install-card li::before { content: "→ "; color: var(--hdpc-dim); }

/* ── Warn box ──────────────────────────────────────────────── */
.hdpc-warn { background: rgba(200,150,42,0.07); border: 1px solid rgba(200,150,42,0.28); border-left: 3px solid var(--hdpc-gold); border-radius: 4px; padding: 14px 16px; font-size: 13px; color: var(--hdpc-muted); margin-bottom: 20px; line-height: 1.6; }
.hdpc-warn strong { color: var(--hdpc-gold); }

/* ── FAQ ───────────────────────────────────────────────────── */
.hdpc-faq-item { border-bottom: 1px solid var(--hdpc-border); }
.hdpc-faq-q { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--hdpc-text); gap: 16px; user-select: none; }
.hdpc-faq-q:hover { color: var(--hdpc-red); }
.hdpc-faq-icon { flex-shrink: 0; font-size: 22px; color: var(--hdpc-dim); transition: transform 0.2s; line-height: 1; }
.hdpc-faq-item.open .hdpc-faq-icon { transform: rotate(45deg); color: var(--hdpc-red); }
.hdpc-faq-a { display: none; padding-bottom: 16px; font-size: 14px; color: var(--hdpc-muted); line-height: 1.7; }
.hdpc-faq-item.open .hdpc-faq-a { display: block; }
.hdpc-faq-a a { color: var(--hdpc-red); text-decoration: none; }

/* ── Related products ──────────────────────────────────────── */
.hdpc-related { max-width: 1200px; margin: 0 auto; padding: 0 24px 48px; }
.hdpc-related-heading { font-family: var(--hdpc-fh); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--hdpc-red); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hdpc-related-heading::after { content: ''; flex: 1; height: 1px; background: var(--hdpc-border); }
.hdpc-related-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(190px,1fr)); gap: 12px; }
.hdpc-related-card { background: var(--hdpc-panel); border: 1px solid var(--hdpc-border); border-radius: 4px; overflow: hidden; text-decoration: none; color: inherit; display: block; transition: border-color 0.2s; }
.hdpc-related-card:hover { border-color: var(--hdpc-red); }
.hdpc-related-img { aspect-ratio: 4/3; background: var(--hdpc-panel2); border-bottom: 1px solid var(--hdpc-border); overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--hdpc-dim); }
.hdpc-related-img img { width: 100%; height: 100%; object-fit: cover; }
.hdpc-related-body { padding: 12px 14px; }
.hdpc-related-name { font-size: 13px; font-weight: 500; color: var(--hdpc-text); margin-bottom: 4px; line-height: 1.3; }
.hdpc-related-price { font-family: var(--hdpc-fh); font-size: 18px; font-weight: 700; color: var(--hdpc-red); }
.hdpc-related-fits { font-size: 11px; color: var(--hdpc-dim); margin-top: 2px; }

/* ── Reviews wrapper ───────────────────────────────────────── */
.hdpc-reviews-wrap {
  max-width: 1200px; margin: 0 auto; padding: 40px 24px;
  border-top: 1px solid var(--hdpc-border);
}
.hdpc-reviews-wrap #reviews h2,
.hdpc-reviews-wrap .woocommerce-Reviews-title { font-family: var(--hdpc-fh); font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 20px; }
.hdpc-reviews-wrap .comment-text { background: var(--hdpc-panel); border: 1px solid var(--hdpc-border); border-radius: 4px; padding: 16px 18px; margin-bottom: 12px; }
.hdpc-reviews-wrap .star-rating { color: var(--hdpc-gold) !important; }

/* ── Why Us strip ──────────────────────────────────────────── */
.hdpc-why-strip {
  background: var(--hdpc-charcoal);
  border-top: 1px solid var(--hdpc-border);
  border-bottom: 1px solid var(--hdpc-border);
  padding: 48px 24px;
  margin-top: 24px;
}
.hdpc-why-label { font-family: var(--hdpc-fh); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--hdpc-red); text-align: center; margin-bottom: 32px; }
.hdpc-why-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 24px; max-width: 1200px; margin: 0 auto; }
.hdpc-why-card { text-align: center; padding: 16px 10px; }
.hdpc-wi { font-size: 30px; display: block; margin-bottom: 10px; }
.hdpc-wh { font-family: var(--hdpc-fh); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.2; }
.hdpc-wb { font-size: 13px; color: var(--hdpc-muted); line-height: 1.5; }
.hdpc-wb a { color: var(--hdpc-red); text-decoration: none; }

/* ── Bottom CTA ────────────────────────────────────────────── */
.hdpc-bottom-cta {
  background: linear-gradient(135deg,#1A0606 0%,#2A0A0A 60%,#1A0606 100%);
  border-top: 2px solid var(--hdpc-red);
  padding: 52px 24px;
  text-align: center;
}
.hdpc-bcta-title { font-family: var(--hdpc-fh); font-size: 36px; font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 10px; }
.hdpc-bcta-sub { font-size: 15px; color: var(--hdpc-muted); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }
.hdpc-bcta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hdpc-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--hdpc-red); color: #fff;
  border: none; border-radius: 4px;
  padding: 14px 28px;
  font-family: var(--hdpc-fh); font-size: 18px; font-weight: 700;
  letter-spacing: 0.03em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.hdpc-btn-primary:hover { background: var(--hdpc-red-dark); transform: translateY(-1px); color: #fff; }
.hdpc-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--hdpc-text);
  border: 1px solid var(--hdpc-border-lt); border-radius: 4px;
  padding: 14px 24px; font-size: 15px; font-weight: 500;
  text-decoration: none; transition: all 0.2s;
}
.hdpc-btn-outline:hover { border-color: var(--hdpc-muted); background: var(--hdpc-panel); color: var(--hdpc-text); }

/* ── Divi overrides ─────────────────────────────────────────── */
body.hdpc-product-page #page-container,
body.hdpc-product-page #main-content,
body.hdpc-product-page .container,
body.hdpc-product-page #content,
body.hdpc-product-page .entry-content,
body.hdpc-product-page #left-area,
body.hdpc-product-page .et_pb_section,
body.hdpc-product-page .et-l {
  background: transparent !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}
body.hdpc-product-page #et-main-area {
  background: #111 !important;
}
body.hdpc-product-page #sidebar,
body.hdpc-product-page #et-secondary-nav {
  display: none !important;
}
body.hdpc-product-page .woocommerce {
  max-width: 100% !important;
  padding: 0 !important;
}
