/* ==========================================================================
   PRODUCT PAGES — shared page furniture for the Products hub + all 9 family
   pages. Reuses .tech-hero/.breadcrumb (tech.css), .finder-fieldset/.btn
   (styles.css) where the pattern already exists; only genuinely new
   components are defined here.
   ========================================================================== */

/* ===== Product hero (banner + name + short description + price) ===== */
.product-hero-price { display: inline-block; margin-top: var(--space-4); font-family: var(--font-display); font-size: var(--fs-lg); color: var(--accent); }
.product-hero-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-6); }
/* .btn-outline-light is styled for light card backgrounds elsewhere on the
   site (navy border/text) — the hero here has a dark background, so it needs
   the inverse treatment, scoped to avoid touching the shared class. */
.product-hero-cta .btn-outline-light { border-color: var(--white); color: var(--white); }
.product-hero-cta .btn-outline-light:hover { border-color: var(--accent); background: var(--white); color: var(--navy-900); }

/* ===== Two-column hero variant (text left, real product photo right) —
   used where a page has one real distinct product photo to show, instead of
   the plain full-bleed faded background the other hero pages use. ===== */
.tech-hero.product-hero-split { align-items: center; }
.product-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,0.82fr); gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .product-hero-grid { grid-template-columns: 1fr; } }
.product-hero-media { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-6); display: flex; align-items: center; justify-content: center; }
.product-hero-media img { width: 100%; height: auto; max-height: 320px; object-fit: contain; display: block; }

/* ===== Short "Features" list (distinct from Unique Features grid) ===== */
.product-features-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 64ch; }
.product-features-list li { display: flex; gap: var(--space-3); font-size: var(--fs-sm); color: var(--text-on-light-muted); line-height: var(--lh-normal); }
.product-features-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; margin-top: 8px; }

/* ===== Unique Features icon grid ===== */
.unique-features-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); }
.unique-feature-item { display: flex; gap: var(--space-4); align-items: flex-start; }
.unique-feature-item svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.unique-feature-item p { font-size: var(--fs-sm); color: var(--text-on-dark); line-height: var(--lh-normal); }
@media (max-width: 900px) { .unique-features-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .unique-features-grid { grid-template-columns: 1fr; } }

/* ===== Company-owned service network block (generic, reused verbatim) ===== */
.product-service-block { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); }
.product-service-fact { background: var(--navy-800); border: 1px solid var(--border-on-dark); border-radius: var(--radius-md); padding: var(--space-5); text-align: center; }
.product-service-fact strong { display: block; font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--accent); }
.product-service-fact span { font-size: var(--fs-xs); color: var(--text-on-dark-muted); text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 700px) { .product-service-block { grid-template-columns: 1fr; } }

/* ===== Technical spec / comparison tables (Sweeper, Scrubber) ===== */
.product-spec-table { width: 100%; border-collapse: collapse; }
.product-spec-table th, .product-spec-table td { text-align: left; padding: var(--space-4) 0; border-bottom: 1px solid var(--gray-100); font-size: var(--fs-sm); vertical-align: top; }
.product-spec-table th { width: 42%; color: var(--navy-900); font-weight: 600; padding-right: var(--space-4); }
.product-spec-table td { color: var(--text-on-light-muted); }
.product-spec-table tr:last-child th, .product-spec-table tr:last-child td { border-bottom: none; }

.product-compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--card-light-shadow); border: 1px solid var(--gray-100); }
table.product-compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.product-compare th, table.product-compare td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--gray-100); font-size: var(--fs-sm); }
table.product-compare thead th { background: var(--navy-900); color: var(--white); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; font-size: var(--fs-xs); }
table.product-compare thead th:nth-child(2) { color: var(--accent); }
table.product-compare tbody tr:last-child td { border-bottom: none; }
table.product-compare tbody td:first-child { color: var(--text-on-light-muted); font-size: var(--fs-xs); }

/* ===== Product Models list (RO Plant / Sweeper / Scrubber — no configurator) ===== */
.product-models-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.product-models-list li { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-5); font-family: var(--font-display); font-size: var(--fs-sm); color: var(--navy-900); box-shadow: var(--card-light-shadow); }

/* ===== Products hub grid (mirrors homepage .product-grid, kept separate so
   hub-specific tweaks never risk the homepage) ===== */
.products-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-5); }
@media (max-width: 900px) { .products-hub-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .products-hub-grid { grid-template-columns: 1fr; } }
