/* airco-behuizing.nl — custom UI overrides loaded AFTER the Vite bundle.
   Used by tools/airc-inject-ui.php (header / footer / trust-badges / sticky CTA / urgency strip).
   Keep this file small — it's loaded on every page. */

:root {
  --airc-brand-primary: #00a070;
  --airc-brand-primary-hover: #00805a;
  --airc-brand-accent: #ff7a00;
  --airc-text: #1c1917;
  --airc-text-muted: #5a6a6c;
  --airc-bg-soft: #f5f6f6;
  --airc-border: #e3e6e6;
}

/* ── Trust-badges row (Sprint 6) ───────────────────── */
.airc-trust-row {
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: center;
  background: #fff; padding: 14px 16px;
  border-bottom: 1px solid var(--airc-border);
  font: 13px/1.4 -apple-system, system-ui, sans-serif; color: var(--airc-text-muted);
}
.airc-trust-row > span { display: inline-flex; align-items: center; gap: 6px; }
.airc-trust-row svg { flex-shrink: 0; color: var(--airc-brand-primary); }

/* ── Urgency strip (Sprint 9) ──────────────────────── */
.airc-urgency-strip {
  background: linear-gradient(90deg, #00a070 0%, #00d18f 100%);
  color: #fff; padding: 8px 16px; text-align: center;
  font: 600 14px/1.4 -apple-system, system-ui, sans-serif; letter-spacing: .01em;
}
.airc-urgency-strip a { color: #fff; text-decoration: underline; }

/* ── Sticky mobile CTA (Sprint 6 / 8) ───────────────── */
.airc-sticky-mobile-cta {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 9990;
  display: none; gap: 8px; background: rgba(28,25,23,.96); color: #fff;
  padding: 10px 12px; border-radius: 12px; align-items: center; justify-content: space-between;
  box-shadow: 0 6px 24px rgba(0,0,0,.2); font: 14px/1.3 -apple-system, system-ui, sans-serif;
}
@media (max-width: 720px) { .airc-sticky-mobile-cta { display: flex; } }
.airc-sticky-mobile-cta a { background: var(--airc-brand-primary); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; }
.airc-sticky-mobile-cta a.alt { background: transparent; border: 1px solid #555; }

/* ── Floating WhatsApp button (Sprint 6) ─────────────── */
.airc-whatsapp-fab {
  position: fixed; right: 16px; bottom: 84px; z-index: 9988;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.2); color: #fff;
}
.airc-whatsapp-fab:hover { background: #1ebe57; }
@media (max-width: 720px) { .airc-whatsapp-fab { bottom: 76px; right: 12px; width: 48px; height: 48px; } }

/* ── Custom footer (Sprint 7) ──────────────────────── */
.airc-footer {
  background: #0f1a1f; color: #c0cbcb; padding: 48px 16px 24px;
  font: 14px/1.6 -apple-system, system-ui, sans-serif;
}
.airc-footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px;
}
.airc-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.airc-footer ul { list-style: none; padding: 0; margin: 0; }
.airc-footer li { margin: 6px 0; }
.airc-footer a { color: #c0cbcb; text-decoration: none; }
.airc-footer a:hover { color: #fff; text-decoration: underline; }
.airc-footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 16px;
  border-top: 1px solid #2a3a40; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: #7a8c8e;
}
.airc-payment-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.airc-payment-row img, .airc-payment-row svg { height: 24px; opacity: .9; }
.airc-newsletter { display: flex; gap: 8px; max-width: 360px; }
.airc-newsletter input { flex: 1; padding: 10px 14px; border: 1px solid #2a3a40; background: #0a1316; color: #fff; border-radius: 6px; font: inherit; }
.airc-newsletter button { padding: 10px 16px; background: var(--airc-brand-primary); color: #fff; border: 0; border-radius: 6px; font: 600 14px/1 -apple-system, system-ui, sans-serif; cursor: pointer; }

/* ── Social proof ticker (Sprint 9) ────────────────── */
.airc-social-ticker {
  position: fixed; left: 16px; bottom: 16px; z-index: 9985;
  background: #fff; color: var(--airc-text); padding: 10px 14px;
  border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,.15); font-size: 13px; line-height: 1.4;
  max-width: 280px; display: none;
}
.airc-social-ticker.show { display: block; }
.airc-social-ticker strong { color: var(--airc-brand-primary); }

/* ── Exit-intent popup (Sprint 9) ──────────────────── */
.airc-exit-popup { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 10000; display: none; align-items: center; justify-content: center; padding: 16px; }
.airc-exit-popup.show { display: flex; }
.airc-exit-popup .acb-card { background: #fff; max-width: 440px; width: 100%; border-radius: 12px; padding: 28px; text-align: center; position: relative; }
.airc-exit-popup .acb-close { position: absolute; top: 12px; right: 12px; background: transparent; border: 0; font-size: 22px; cursor: pointer; color: #888; }
.airc-exit-popup h3 { margin: 0 0 12px; font-size: 22px; }
.airc-exit-popup input { width: 100%; padding: 12px; border: 1px solid var(--airc-border); border-radius: 6px; font: inherit; margin: 12px 0; box-sizing: border-box; }
.airc-exit-popup button[type=submit] { background: var(--airc-brand-accent); color: #fff; border: 0; padding: 12px 28px; border-radius: 6px; font: 700 15px/1 -apple-system; cursor: pointer; width: 100%; }

/* ── Sticky header (Sprint 6) — adds backdrop-blur when scrolled ── */
html.airc-scrolled header { backdrop-filter: blur(12px); background: rgba(255,255,255,.92) !important; box-shadow: 0 2px 12px rgba(0,0,0,.08); }

/* ── Live stock counter / delivery countdown (Sprint 12) ── */
.airc-stock-row { display: flex; gap: 12px; align-items: center; margin: 12px 0; font-size: 14px; color: var(--airc-text-muted); }
.airc-stock-pill { background: #e8f7ef; color: #047857; padding: 4px 10px; border-radius: 99px; font-weight: 600; font-size: 12px; }
.airc-delivery-pill { background: #fff3e0; color: #c2410c; padding: 4px 10px; border-radius: 99px; font-weight: 600; font-size: 12px; }

/* ── Specs table (Sprint 8) ────────────────────────── */
.airc-specs { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.airc-specs th, .airc-specs td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--airc-border); }
.airc-specs th { width: 38%; color: var(--airc-text-muted); font-weight: 500; background: var(--airc-bg-soft); }

/* ── Print styles ──────────────────────────────────── */
@media print {
  .airc-sticky-mobile-cta, .airc-whatsapp-fab, .airc-social-ticker, .airc-exit-popup,
  .airc-urgency-strip, #airco-cookie-bar { display: none !important; }
  body { background: #fff; }
}
