/* A' Niche Solutions: product detail page. Builds on home.css and solution.css. */

.pd-top { padding: 28px 0 48px; background: #fff; }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--hp-muted); margin-bottom: 24px; }
.pd-crumbs a { color: var(--hp-blue); }
.pd-crumbs span[aria-current] { color: var(--hp-ink); }

.pd-image { background: var(--hp-cream); border: 1px solid var(--hp-line); border-radius: 16px; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 28px; position: sticky; top: 150px; }
.pd-image img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-tag { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 20px; background: rgba(18, 93, 143, .1); color: var(--hp-blue); }
.pd-tag--brand { background: var(--hp-cream); color: var(--hp-gold-dark); border: 1px solid rgba(229, 187, 25, .45); }
.pd-info h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 800; color: var(--hp-ink); line-height: 1.15; margin-bottom: 14px; }
.pd-price { font-size: 1.6rem; font-weight: 700; color: var(--hp-ink); margin-bottom: 14px !important; }
.pd-price span { font-size: .85rem; font-weight: 600; color: var(--hp-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }

.pd-desc { color: #33434f; margin-bottom: 22px; }
.pd-desc p { margin-bottom: 8px !important; }
.pd-desc ul { padding-left: 0; margin-bottom: 12px; }
.pd-desc li { position: relative; padding-left: 22px; margin-bottom: 6px; list-style: none; }
.pd-desc li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--hp-gold); }
.pd-desc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .93rem; }
.pd-desc td, .pd-desc th { border: 1px solid var(--hp-line); padding: 8px 10px; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--hp-line); }
.pd-btn-wa { background: #25d366; color: #fff; }
.pd-btn-wa:hover { background: #1eb457; color: #fff; }

.pd-assure { display: grid; gap: 8px; border-top: 1px solid var(--hp-line); padding-top: 18px; margin-top: 8px; }
.pd-assure li { display: flex; gap: 10px; align-items: baseline; color: var(--hp-muted); font-size: .95rem; }
.pd-assure i { color: var(--hp-blue); width: 18px; text-align: center; }
.pd-assure a { color: var(--hp-blue); }

.pd-call { margin-top: 18px; color: var(--hp-muted); }
.pd-call a { color: var(--hp-blue); font-weight: 600; }

.pd-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pd-related__img { aspect-ratio: 4 / 3; }

@media (max-width: 991.98px) {
    .pd-image { position: static; aspect-ratio: 4 / 3; }
    .pd-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .pd-related { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pd-actions .hp-btn { flex: 1 1 100%; }
}

/* Category listing header, guide and cards */
.pc-head { background: var(--hp-alt); padding: 28px 0 36px; border-bottom: 1px solid var(--hp-line); }
.pc-head__row { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.pc-head h1 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); font-weight: 800; color: var(--hp-ink); margin-bottom: 12px; }
.pc-head__text p { color: #33434f; max-width: 820px; margin-bottom: 10px; }
.pc-head__cta { background: #fff; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 20px; display: grid; gap: 10px; box-shadow: var(--hp-shadow); }
.pc-head__cta p { color: var(--hp-muted); font-size: .95rem; margin: 0 0 4px; }
.pc-head__cta strong { color: var(--hp-ink); display: block; margin-bottom: 2px; }
.pc-guide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pc-card__name { font-size: 1rem !important; font-weight: 600; line-height: 1.35; }
@media (max-width: 991.98px) {
    .pc-head__row { grid-template-columns: 1fr; }
    .pc-guide { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) { .pc-guide { grid-template-columns: 1fr; } }

/* Contact page */
.ct-lead { color: #33434f; font-size: 1.1rem; max-width: 760px; margin: 0; }
.ct-card { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 24px; background: #fff; margin-bottom: 20px; box-shadow: var(--hp-shadow); }
.ct-card--alt { background: var(--hp-alt); box-shadow: none; }
.ct-card h2 { font-size: 1.25rem; margin-bottom: 16px; }
.ct-list { display: grid; gap: 14px; margin-bottom: 20px; }
.ct-list li { display: flex; gap: 14px; align-items: flex-start; color: #33434f; }
.ct-list i { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 50%; background: var(--hp-cream); color: var(--hp-gold-dark); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(229, 187, 25, .45); }
.ct-list a { color: var(--hp-ink); font-weight: 600; }
.ct-list a:hover { color: var(--hp-blue); }
.ct-links li { border-top: 1px solid var(--hp-line); }
.ct-links li:first-child { border-top: 0; }
.ct-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; color: var(--hp-blue); font-weight: 500; }
.ct-map iframe { display: block; }
.ct-map { line-height: 0; }
.pc-head h1 + .ct-lead { margin-top: -2px; }

/* "Shop by brand" links above the product grid (category and brand pages) */
.pc-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 22px; }
.pc-brands__label { font-weight: 700; color: #1d2b36; margin-right: 4px; }
.pc-brands a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 20px; border: 1px solid #e2e8ee; background: #fff; color: #33434f; font-weight: 600; font-size: .9rem; text-decoration: none; }
.pc-brands a span { font-size: .76rem; color: #6b7a86; }
.pc-brands a:hover { border-color: #125d8f; color: #125d8f; }
.pc-brands a.is-active { background: #125d8f; border-color: #125d8f; color: #fff; }
.pc-brands a.is-active span { color: rgba(255, 255, 255, .8); }

/* Product page: About, Best For and Key Specifications (resources/content/products.php) */
.pd-about h2 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; color: var(--hp-ink); margin-bottom: 16px; }
.pd-about h3 { font-size: 1.1rem; font-weight: 700; color: var(--hp-ink); margin: 22px 0 12px; }
.pd-about p { color: #45545f; line-height: 1.75; margin-bottom: 14px; }
.pd-bestfor { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.pd-bestfor li { display: flex; gap: 10px; align-items: flex-start; color: #33434f; }
.pd-bestfor i { color: var(--hp-blue); margin-top: 4px; }
.pd-consumables { margin-top: 22px; padding: 14px 18px; border-radius: 12px; background: var(--hp-alt, #f3f7fa); }
.pd-consumables i { color: var(--hp-blue); margin-right: 6px; }
.pd-specs { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--hp-line); border-radius: 14px; overflow: hidden; }
.pd-specs th, .pd-specs td { padding: 12px 16px; border-bottom: 1px solid var(--hp-line); vertical-align: top; font-size: .95rem; }
.pd-specs tr:last-child th, .pd-specs tr:last-child td { border-bottom: 0; }
.pd-specs th { width: 42%; font-weight: 600; color: var(--hp-ink); background: #f8fafc; }
.pd-specs td { color: #45545f; }
@media (max-width: 575.98px) { .pd-bestfor { grid-template-columns: 1fr; } }

/* Brand pages: which model for which job */
.pc-models { overflow-x: auto; border: 1px solid var(--hp-line); border-radius: var(--hp-radius); background: #fff; }
.pc-models table { width: 100%; border-collapse: collapse; min-width: 520px; }
.pc-models th, .pc-models td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hp-line); font-size: .97rem; }
.pc-models thead th { background: var(--hp-alt); color: var(--hp-muted); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pc-models tbody tr:last-child th, .pc-models tbody tr:last-child td { border-bottom: 0; }
.pc-models tbody th { width: 34%; font-weight: 700; }
.pc-models tbody th a { color: var(--hp-blue); text-decoration: none; }
.pc-models tbody th a:hover { text-decoration: underline; }
.pc-models td { color: #33434f; }
.pc-models small { display: block; margin-top: 3px; color: var(--hp-muted); font-weight: 400; font-size: .82rem; }
.pc-models__status a { font-weight: 600; }

/* Quote section on category and brand pages */
.pc-quote__list { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.pc-quote__title { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.1rem); margin-bottom: 12px; }
.pc-quote__lead { color: #33434f; font-size: 1.03rem; margin-bottom: 20px; }
.pc-quote__list li { position: relative; padding-left: 28px; color: #33434f; }
.pc-quote__list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--hp-blue); }
.pc-quote__more { color: var(--hp-muted); font-size: .95rem; margin: 0; }
.pc-quote__more a { color: var(--hp-blue); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pc-quote__more a:hover { text-decoration: underline; }

/* Solution links in the closing band (fix-log 135) */
.pd-band-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pd-band-link:hover { color: var(--hp-gold); }
.pc-quote__guides { color: var(--hp-muted, #56687a); font-size: .95rem; margin: 0 0 12px; }
.pc-quote__guides strong { color: var(--hp-ink, #14212b); }
.pc-quote__guides a { color: var(--hp-blue, #125d8f); text-decoration: none; }
.pc-quote__guides a:hover { text-decoration: underline; }
