/* === Bookings marketing pages — unique styles ===
   Shared base + components come from functionPages.css + Industries.css.
   This file adds the booking-page mockup, the free/paid table, the embed
   code block and the "free" badge used across /nz/bookings and its sub-pages.
*/

:root { --bkm-accent: #2563eb; }
.bkm-accent-pink   { --bkm-accent: #db2777; }
.bkm-accent-green  { --bkm-accent: #16a34a; }
.bkm-accent-purple { --bkm-accent: #7c3aed; }
.bkm-accent-amber  { --bkm-accent: #d97706; }
.bkm-accent-teal   { --bkm-accent: #0e7490; }

/* ── Free badge in the hero ─────────────────────────────── */
.bkm-free-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0;
    border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; margin-bottom: 18px;
}
.bkm-free-pill svg { width: 14px; height: 14px; fill: currentColor; }
.hero-note { margin: 12px 0 0; font-size: .86rem; color: var(--text-muted, #64748b); }

/* ── Booking page mockup ────────────────────────────────── */
.bkm-mock {
    width: 100%; max-width: 480px;
    background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0);
    border-radius: var(--radius-xl, 18px); box-shadow: var(--shadow-xl, 0 24px 60px rgba(15, 23, 42, .18));
    overflow: hidden; font-size: 13px; color: #0f172a; text-align: left;
}
.bkm-mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.bkm-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.bkm-mock-bar span { margin-left: 8px; flex: 1; font-size: 11px; color: #64748b; background: #fff; border-radius: 6px; padding: 4px 10px; border: 1px solid #e2e8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkm-mock-body { padding: 16px 18px 18px; background: #f8fafc; }
.bkm-mock-name { font-size: 1.15rem; font-weight: 700; margin: 0 0 2px; letter-spacing: -.01em; }
.bkm-mock-intro { color: #64748b; font-size: 12px; margin: 0 0 14px; }
.bkm-mock-label { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #64748b; margin: 12px 0 6px; }
.bkm-mock-label:first-of-type { margin-top: 0; }
.bkm-svc { background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid var(--bkm-accent); border-radius: 10px; padding: 9px 12px; margin-bottom: 7px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bkm-svc.sel { outline: 2px solid var(--bkm-accent); outline-offset: -2px; }
.bkm-svc b { font-weight: 600; font-size: 13px; display: block; }
.bkm-svc small { color: #64748b; font-size: 11px; }
.bkm-svc em { font-style: normal; font-weight: 600; font-size: 12px; white-space: nowrap; }
.bkm-two { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.bkm-cal { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; }
.bkm-cal-head { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 12px; margin-bottom: 6px; }
.bkm-cal-head span:last-child { color: #94a3b8; letter-spacing: 2px; }
.bkm-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bkm-cal-grid i { font-style: normal; font-size: 9px; color: #94a3b8; text-align: center; text-transform: uppercase; }
.bkm-cal-grid b { font-weight: 500; font-size: 11px; height: 24px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: #94a3b8; }
.bkm-cal-grid b.has { color: #0f172a; background: color-mix(in srgb, var(--bkm-accent) 10%, #fff); font-weight: 600; }
.bkm-cal-grid b.sel { background: var(--bkm-accent); color: #fff; }
.bkm-times { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.bkm-time { border: 1px solid #e2e8f0; background: #fff; border-radius: 7px; padding: 6px 9px; font-size: 11px; }
.bkm-time.sel { background: var(--bkm-accent); border-color: var(--bkm-accent); color: #fff; font-weight: 600; }
.bkm-btn { margin-top: 12px; background: var(--bkm-accent); color: #fff; border-radius: 8px; text-align: center; padding: 9px; font-weight: 600; font-size: 12px; }
.bkm-credit { text-align: center; font-size: 10px; color: #94a3b8; margin-top: 12px; }

/* "What's on" variant of the mock */
.bkm-ev { background: #fff; border: 1px solid #e2e8f0; border-left: 4px solid var(--bkm-ev, var(--bkm-accent)); border-radius: 10px; padding: 9px 12px; margin-bottom: 7px; }
.bkm-ev b { display: block; font-size: 13px; font-weight: 600; }
.bkm-ev small { color: #64748b; font-size: 11px; }

/* Widget-in-a-website variant: the mock sits inside a fake customer site */
.bkm-site { width: 100%; max-width: 520px; background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius-xl, 18px); box-shadow: var(--shadow-xl, 0 24px 60px rgba(15, 23, 42, .18)); overflow: hidden; }
.bkm-site-nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid #e2e8f0; font-size: 12px; color: #475569; }
.bkm-site-nav b { color: #0f172a; font-size: 14px; margin-right: auto; }
.bkm-site-nav span.on { color: var(--bkm-accent); font-weight: 600; }
.bkm-site-hero { padding: 18px 18px 6px; }
.bkm-site-hero h4 { margin: 0 0 4px; font-size: 1.05rem; }
.bkm-site-hero p { margin: 0; color: #64748b; font-size: 12px; }
.bkm-site .bkm-mock { max-width: none; box-shadow: none; border: 1px dashed color-mix(in srgb, var(--bkm-accent) 45%, transparent); margin: 12px 18px 18px; border-radius: 12px; }
.bkm-site .bkm-mock-bar { display: none; }
.bkm-site-tag { position: relative; }
.bkm-site-tag::after { content: "your paste-in widget"; position: absolute; right: 26px; top: -9px; font-size: 10px; font-weight: 700; color: var(--bkm-accent); background: #fff; padding: 0 6px; }

/* ── Embed code block ───────────────────────────────────── */
.bkm-code { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 16px 18px; font: .82rem/1.55 ui-monospace, "Cascadia Mono", Consolas, monospace; overflow-x: auto; white-space: pre; margin: 16px 0; }
.bkm-code .c { color: #94a3b8; }
.bkm-code .t { color: #7dd3fc; }
.bkm-code .a { color: #fde68a; }

/* ── Free vs paid table ─────────────────────────────────── */
.bkm-plan-wrap { max-width: 820px; margin: 0 auto; overflow-x: auto; }
.bkm-plan { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 14px; overflow: hidden; }
.bkm-plan th, .bkm-plan td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border, #e2e8f0); }
.bkm-plan th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #64748b; background: #f8fafc; }
.bkm-plan th.free { color: #047857; }
.bkm-plan td:nth-child(2), .bkm-plan td:nth-child(3), .bkm-plan th:nth-child(2), .bkm-plan th:nth-child(3) { text-align: center; white-space: nowrap; }
.bkm-plan tr:last-child td { border-bottom: 0; }
.bkm-plan .yes { color: #047857; font-weight: 600; }
.bkm-plan .no { color: #94a3b8; }
.bkm-plan-note { max-width: 820px; margin: 14px auto 0; color: #64748b; font-size: .9rem; text-align: center; }

/* ── Inline "who it's for" list ─────────────────────────── */
.bkm-for { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 980px; margin: 0 auto; }
.bkm-for a { display: block; background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.bkm-for a:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.bkm-for b { display: block; font-size: 1rem; margin-bottom: 4px; }
.bkm-for span { color: #64748b; font-size: .88rem; line-height: 1.5; }

@media (max-width: 560px) {
    .bkm-two { grid-template-columns: 1fr; }
    .bkm-mock-body { padding: 14px; }
}

/* ── Why is it free? ────────────────────────────────────── */
.bkm-why { max-width: 1040px; margin: 0 auto; }
.bkm-why-lead { font-size: 1.08rem; line-height: 1.7; color: var(--text-muted, #475569); max-width: 820px; margin: 0 auto 32px; text-align: center; }
.bkm-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.bkm-why-card { background: var(--surface, #fff); border: 1px solid var(--border, #e2e8f0); border-radius: 16px; padding: 24px 22px; display: flex; flex-direction: column; }
.bkm-why-icon { width: 42px; height: 42px; border-radius: 10px; background: color-mix(in srgb, var(--bkm-accent) 12%, #fff); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.bkm-why-icon svg { width: 22px; height: 22px; fill: var(--bkm-accent); }
.bkm-why-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.bkm-why-card p { color: var(--text-muted, #475569); font-size: .94rem; line-height: 1.6; margin: 0 0 14px; flex: 1; }
.bkm-why-card a { color: var(--bkm-accent); font-weight: 600; text-decoration: none; font-size: .92rem; }
.bkm-why-card a:hover { text-decoration: underline; }
.bkm-why-close { max-width: 820px; margin: 28px auto 0; text-align: center; color: var(--text-muted, #475569); line-height: 1.65; font-size: .98rem; }
@media (max-width: 860px) { .bkm-why-grid { grid-template-columns: 1fr; } }
