/* BQC Case — page components for category, product and landing pages */

/* HEADER ACTIVE STATE */
.nav a.is-active { color: var(--accent); }

/* LAYOUT HELPERS */
.section-tight { padding: 56px 0; }
.narrow { max-width: 820px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.stack > * + * { margin-top: 18px; }

/* BREADCRUMB */
.breadcrumb { background: var(--bg); border-bottom: 1px solid var(--line); font-size: 13px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 12px 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #c3c8cf; }
.breadcrumb a:hover { color: var(--accent); }

/* PAGE HERO */
.page-hero { background: var(--bg); padding: 40px 0 48px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 16px; max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }

/* STAT PILLS */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border: 1px solid var(--line); background: var(--white); border-radius: 999px; font-size: 13px; font-weight: 600; }
.pill span { color: var(--muted); font-weight: 400; }

/* TRUST BAR */
.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.trust-cell { background: var(--white); padding: 20px 22px; }
.trust-cell strong { display: block; font-size: 22px; letter-spacing: -0.02em; }
.trust-cell span { font-size: 12px; color: var(--muted); }

/* PRODUCT CARDS */
.bqc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bqc-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.bqc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6dae0; }
.bqc-card-media { aspect-ratio: 1 / 1; background: var(--bg); overflow: hidden; }
.bqc-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bqc-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bqc-card-body h3 { font-size: 16px; margin: 0; }
.bqc-meta { font-size: 13px; color: var(--muted); margin: 0; }
.bqc-link { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent); }

/* PRODUCT DETAIL */
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; padding: 40px 0 8px; }
.product-media { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.product-media img { width: 100%; height: auto; object-fit: contain; }
.product-info h1 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.price-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 22px 0; background: #fbfbfc; }
.price-box .price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.price-box .price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px; margin-top: 16px; }
.kv div { font-size: 13px; }
.kv dt { color: var(--muted); font-size: 12px; }
.kv dd { margin: 2px 0 0; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.cta-row .btn { flex: 1 1 auto; text-align: center; }

/* PRODUCT GALLERY */
.product-gallery { display: grid; gap: 12px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); cursor: pointer; aspect-ratio: 1 / 1; transition: border-color .15s ease, box-shadow .15s ease; }
.gallery-thumbs button:hover { border-color: #c3c8cf; }
.gallery-thumbs button.is-active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* PRODUCT VIDEO */
.product-video { display: flex; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 16px; }
.product-video video { display: block; width: auto; height: auto; max-width: 100%; max-height: 560px; background: #000; border-radius: 6px; }

/* MODEL LISTS */
.model-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 28px; }
.model-cols h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.model-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14px; }
.model-list li { padding-left: 16px; position: relative; }
.model-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: .8; }

/* TABLES */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; color: var(--muted); font-weight: 600; background: #fbfbfc; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* CHECK LIST (local, mirrors brand style) */
.bqc-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bqc-checks li { position: relative; padding-left: 26px; font-size: 14px; }
.bqc-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); opacity: .9; }

/* STEP GRID */
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--white); }
.step-card em { display: block; font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.step-card h4 { margin: 0 0 4px; font-size: 14px; }
.step-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* FAQ */
.bqc-faqs { border-top: 1px solid var(--line); }
.bqc-faq { border-bottom: 1px solid var(--line); padding: 16px 0; }
.bqc-faq summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.bqc-faq summary::-webkit-details-marker { display: none; }
.bqc-faq summary::after { content: "+"; color: var(--accent); font-weight: 700; }
.bqc-faq[open] summary::after { content: "\2212"; }
.bqc-faq p { margin: 12px 0 0; color: #4b5563; font-size: 14px; max-width: 78ch; }

/* CTA BAND */
.cta-band { background: var(--ink); color: var(--white); padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-band .lead { color: rgba(255,255,255,.72); }
.cta-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.cta-band .quote-form { background: var(--white); }

/* MEDIA STRIP */
.media-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.media-strip img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }

/* NOTE */
.note { font-size: 13px; color: var(--muted); border-left: 3px solid var(--accent); padding: 10px 0 10px 14px; margin: 20px 0; }

/* FOOTER OVERRIDES */
.footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr; }
.footer-col h4 { color: var(--white); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
.footer-col a { display: block; font-size: 13px; padding: 5px 0; color: rgba(255,255,255,.62); }
.footer-col a:hover { color: var(--accent); }
.footer-col .footer-text { margin: 6px 0 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom p { margin: 0; }

/* FORM ON LIGHT */
.bqc-form { background: var(--white); }

/* 404 */
.error-page { text-align: center; padding: 110px 0; }
.error-page h1 { font-size: clamp(40px, 8vw, 90px); margin-bottom: 8px; }

@media (max-width: 980px) {
  .page-hero-grid, .product-layout, .cta-band-grid, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .bqc-grid { grid-template-columns: repeat(2, 1fr); }
  .step-grid { grid-template-columns: repeat(2, 1fr); }
  .model-cols { grid-template-columns: 1fr; gap: 28px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .bqc-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .page-hero { padding: 28px 0 32px; }
}
