/* ==========================================================
   v3 — product page styles (shared + per-variant)
   Linked alongside style.css on individual machine pages.
   ========================================================== */

/* breadcrumb */
.crumbs { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }
.crumbs span { color: var(--brass); }

/* image placeholder (drop real dealer photo in to replace) */
.imgph {
  position: relative; width: 100%; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(201,164,92,.05) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.imgph .cap {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint);
  padding: 14px; max-width: 32ch; line-height: 1.6;
}
.imgph.r-4x3 { aspect-ratio: 4 / 3; }
.imgph.r-1x1 { aspect-ratio: 1 / 1; }
.imgph.r-16x9 { aspect-ratio: 16 / 9; }
.imgph.r-3x4 { aspect-ratio: 3 / 4; }

/* shared product bits */
.pd-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.pd-badges .b {
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass);
  border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px;
}
.pd-brandline { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 8px; }
.pd-price .from { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.pd-price .amt { font-family: var(--font-display); font-size: clamp(40px, 5vw, 58px); color: var(--brass); line-height: 1; }
.pd-pricenote { font-size: 12.5px; color: var(--ink-faint); max-width: 46ch; }
.pd-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- VARIANT A: editorial / story-led ---------- */
.pd-hero-ed { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(34px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .pd-hero-ed { grid-template-columns: 1fr; } }
.pd-hero-ed .media .imgph { box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 80px); align-items: center; margin-top: clamp(60px, 8vw, 120px); }
.story-row:nth-child(even) .media { order: 2; }
@media (max-width: 880px) { .story-row { grid-template-columns: 1fr; } .story-row:nth-child(even) .media { order: 0; } }
.story-row h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; margin-bottom: 18px; }
.story-row p { color: var(--ink-dim); font-size: clamp(16px, 1.4vw, 19px); }
.gallery-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
@media (max-width: 700px) { .gallery-strip { grid-template-columns: 1fr 1fr; } }

/* ---------- VARIANT B: spec-forward / configurator ---------- */
.pd-hero-cfg { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 4vw, 64px); align-items: start; }
@media (max-width: 900px) { .pd-hero-cfg { grid-template-columns: 1fr; } }
.pd-gallery .main { margin-bottom: 14px; }
.pd-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pd-gallery .thumbs .imgph { aspect-ratio: 1/1; cursor: pointer; transition: border-color .25s; }
.pd-gallery .thumbs .imgph:hover { border-color: var(--brass); }
.at-glance { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin: 24px 0; }
@media (max-width: 480px) { .at-glance { grid-template-columns: 1fr; } }
.at-glance li { border-top: 1px solid rgba(201,164,92,.14); padding-top: 10px; }
.at-glance .k { display: block; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.at-glance .v { font-size: 15px; color: var(--ink); }
.config { margin: 26px 0; }
.config .lbl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.config-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.config-chips .chip2 {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 22px; cursor: pointer;
  background: var(--bg-3); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, background .2s;
}
.config-chips .chip2:hover { border-color: var(--brass); }
.config-chips .chip2[aria-pressed="true"] { border-color: var(--brass); background: rgba(201,164,92,.13); color: var(--brass-bright); }
.spec-full { margin-top: 14px; }

/* ==========================================================
   WordPress theme — article / page / archive content
   ========================================================== */
.eec-article .article-meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin: 6px 0 30px; }
.eec-article .article-hero { margin: 0 0 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.eec-article .article-hero img { width: 100%; height: auto; display: block; }

/* rich text from the WP editor */
.post-content { max-width: 100%; }
.post-content > * { margin-bottom: 1.3em; }
.post-content p { color: var(--ink-dim); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.75; }
.post-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.12; margin: 1.6em 0 .5em; color: var(--ink); }
.post-content h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 2.2vw, 28px); margin: 1.4em 0 .4em; color: var(--ink); }
.post-content h4 { font-size: 18px; font-weight: 500; margin: 1.2em 0 .3em; color: var(--ink); }
.post-content a { color: var(--brass-bright); text-decoration: underline; text-underline-offset: 3px; }
.post-content a:hover { color: var(--brass); }
.post-content ul, .post-content ol { padding-left: 1.3em; color: var(--ink-dim); font-size: clamp(16px,1.4vw,18px); }
.post-content li { margin-bottom: .5em; line-height: 1.7; }
.post-content ul li::marker { color: var(--brass); }
.post-content strong, .post-content b { color: var(--ink); font-weight: 500; }
.post-content blockquote {
  border-left: 2px solid var(--brass); padding: 6px 0 6px 22px; margin: 1.6em 0;
  font-family: var(--font-display); font-size: clamp(20px,2.2vw,26px); line-height: 1.4; color: var(--ink);
}
.post-content img { border-radius: 12px; border: 1px solid var(--line); height: auto; }
.post-content figure { margin: 1.6em 0; }
.post-content figcaption { font-size: 13px; color: var(--ink-faint); margin-top: 8px; text-align: center; }
.post-content table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.4em 0; }
.post-content th, .post-content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(201,164,92,.14); }
.post-content th { color: var(--brass); font-weight: 500; }

/* article closing CTA */
.article-cta { margin-top: 56px; padding-top: 34px; border-top: 1px solid var(--line); }
.article-cta .lead-line { font-family: var(--font-display); font-size: clamp(22px,2.4vw,30px); color: var(--ink); margin-bottom: 22px; }
.article-cta .hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* pagination */
.eec-pagination { margin-top: 50px; }
.eec-pagination .page-numbers { display: inline-block; padding: 10px 16px; margin: 0 4px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-dim); text-decoration: none; font-size: 14px; }
.eec-pagination .page-numbers.current { background: var(--brass); color: var(--bg); border-color: var(--brass); }
.eec-pagination a.page-numbers:hover { border-color: var(--brass); color: var(--brass); }

/* clear the fixed header on text pages */
.eec-article, .eec-page, .eec-archive { padding-top: clamp(120px, 14vw, 170px); }
