/* =========================================================================
   StoreMaster POS — public marketing site
   Self-contained: no external fonts, no CDNs. Brand navy + green throughout.
   ========================================================================= */

:root {
    --navy: #1b2f6f;
    --navy-2: #16357a;
    --navy-deep: #12224f;
    --green: #4caf50;
    --green-2: #5cb85c;
    --amber: #f5a623;
    --info: #2a7fd4;
    --ink: #16203a;
    --body: #475569;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #f6f8fc;
    --radius: 16px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
    --shadow: 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 24px 60px rgba(16, 24, 40, .14);
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--body);
    background: #fff;
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 800; letter-spacing: -.022em; line-height: 1.18; }
a { text-decoration: none; }
img, svg { max-width: 100%; }

.text-navy  { color: var(--navy) !important; }
.text-green { color: var(--green) !important; }
.bg-surface { background: var(--surface); }

/* ---------------- Buttons ---------------- */
.btn { font-weight: 650; border-radius: 10px; padding: .62rem 1.25rem; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }

.btn-brand {
    background: linear-gradient(135deg, var(--navy), var(--green));
    border: none; color: #fff; box-shadow: 0 6px 18px rgba(27, 47, 111, .28);
}
.btn-brand:hover, .btn-brand:focus { color: #fff; filter: brightness(1.08); box-shadow: 0 10px 26px rgba(27, 47, 111, .34); }

.btn-outline-navy { border: 1.5px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

.btn-ghost-light { border: 1.5px solid rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------------- Top strip ---------------- */
.site-strip {
    background: var(--navy-deep); color: #c3d0ec;
    font-size: .82rem; padding: .45rem 0;
}
.site-strip a { color: #c3d0ec; }
.site-strip a:hover { color: #fff; }

/* ---------------- Navbar ---------------- */
.site-nav {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    padding: .6rem 0;
    z-index: 1030;
}
.site-nav.scrolled { box-shadow: var(--shadow-sm); }

.navbar-brand, .footer-brand { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
    width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
    display: grid; place-items: center; font-size: 1.25rem; color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--green));
}
.logo-text { font-size: 1.22rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.logo-text span { color: var(--green); }
.logo-text small { display: block; font-size: .62rem; letter-spacing: .22em; color: var(--muted); font-weight: 700; }

.site-nav .nav-link { color: var(--ink); font-weight: 600; padding: .55rem .85rem; border-radius: 8px; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--navy); background: rgba(27, 47, 111, .06); }
.navbar-toggler { border: 1px solid var(--line); font-size: 1.4rem; color: var(--navy); padding: .25rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

.dropdown-menu {
    border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
    padding: .5rem; margin-top: .5rem;
}
.dropdown-item { border-radius: 10px; padding: .55rem .7rem; display: flex; gap: .7rem; align-items: flex-start; white-space: normal; }
.dropdown-item:hover { background: var(--surface); }
.dropdown-item i { color: var(--green); font-size: 1.05rem; margin-top: .15rem; }
.dropdown-item strong { display: block; color: var(--ink); font-size: .93rem; }
.dropdown-item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.dropdown-menu-wide { min-width: 400px; }

/* Two columns, but ONLY once Bootstrap has opened the menu.
   `display:grid` on .dropdown-menu itself beats Bootstrap's `display:none`,
   which left the whole list — icons and all — permanently on screen. */
.dropdown-menu-cols { min-width: 460px; }
.dropdown-menu-cols.show { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .25rem; }
.dropdown-menu-cols .dropdown-item { font-size: .88rem; padding: .45rem .6rem; }

@media (max-width: 991.98px) {
    .dropdown-menu-wide, .dropdown-menu-cols { min-width: 0; }
    .dropdown-menu-cols.show { grid-template-columns: 1fr; }
    .site-nav .navbar-collapse { max-height: 78vh; overflow-y: auto; padding-bottom: .75rem; }
}

/* ---------------- Sections ---------------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
@media (max-width: 767.98px) { .section { padding: 3.25rem 0; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    background: rgba(76, 175, 80, .12); color: #2f7d34;
    font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
    padding: .38rem .85rem; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow.on-dark { background: rgba(255, 255, 255, .14); color: #a8f0ad; }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .75rem; }
.section-lead { font-size: 1.06rem; color: var(--muted); max-width: 640px; }
.section-lead.mx-auto { margin-inline: auto; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    padding: 5rem 0 6rem;
    background:
        radial-gradient(900px 520px at 12% 18%, rgba(76, 175, 80, .34), transparent 62%),
        radial-gradient(700px 460px at 92% 8%, rgba(42, 127, 212, .28), transparent 60%),
        linear-gradient(155deg, var(--navy-2) 0%, var(--navy) 52%, var(--navy-deep) 100%);
}
.hero::after {
    content: ''; position: absolute; right: -160px; bottom: -200px;
    width: 460px; height: 460px; border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 175, 80, .32), transparent 66%);
}
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 1.1rem; }
.hero p.lead { color: #cbd8f2; font-size: 1.12rem; max-width: 560px; }
.hero .container { position: relative; z-index: 2; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 1.35rem; margin-top: 2rem; }
.hero-badges span { display: flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: #dce6fa; }
.hero-badges i { color: #8ce894; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 2.25rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-stats b { display: block; font-size: 1.75rem; color: #fff; line-height: 1.1; }
.hero-stats small { color: #a9bce4; font-size: .84rem; }

/* Device mock-up drawn in CSS — no image asset to load. */
.mock {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
    overflow: hidden; color: var(--ink);
}
.mock__bar { display: flex; gap: .35rem; padding: .7rem .9rem; background: #f1f5f9; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.mock__bar i:first-child { background: #f87171; }
.mock__bar i:nth-child(2) { background: #fbbf24; }
.mock__bar i:nth-child(3) { background: #34d399; }
.mock__body { padding: 1rem; display: grid; grid-template-columns: 1.35fr 1fr; gap: .85rem; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mock__tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .55rem .4rem; text-align: center; }
.mock__tile b { display: block; font-size: .62rem; color: var(--ink); }
.mock__tile span { font-size: .58rem; color: var(--green); font-weight: 700; }
.mock__tile em { display: block; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #dbe4f7, #e8f3e9); margin-bottom: .3rem; }
.mock__cart { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; }
.mock__row { display: flex; justify-content: space-between; font-size: .63rem; padding: .22rem 0; border-bottom: 1px dashed var(--line); }
.mock__total { display: flex; justify-content: space-between; font-weight: 800; font-size: .78rem; color: var(--navy); margin-top: .45rem; }
.mock__pay { margin-top: .5rem; background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff; border-radius: 8px; text-align: center; padding: .4rem; font-size: .68rem; font-weight: 700; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; padding: 0 1rem 1rem; }
.mock__kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: .45rem; }
.mock__kpi b { display: block; font-size: .72rem; color: var(--navy); }
.mock__kpi small { font-size: .55rem; color: var(--muted); }

/* Floating callouts on the mock-up */
.mock-note {
    position: absolute; background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    padding: .55rem .8rem; display: flex; align-items: center; gap: .5rem;
    font-size: .78rem; font-weight: 700; color: var(--ink);
}
.mock-note i { font-size: 1rem; }
.mock-note--a { left: -18px; top: 28%; }
.mock-note--b { right: -14px; bottom: 16%; }
@media (max-width: 991.98px) { .mock-note { display: none; } }

/* ---------------- Marquee of trust logos ---------------- */
.logo-strip { border-block: 1px solid var(--line); background: #fff; padding: 1.5rem 0; }
.logo-strip__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; align-items: center; }
.logo-strip span { color: var(--muted); font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: .45rem; }
.logo-strip i { color: var(--green); }

/* ---------------- Feature cards ---------------- */
.feature-card {
    height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.feature-card p { font-size: .93rem; margin: 0; color: var(--muted); }
.feature-icon {
    width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
    font-size: 1.35rem; color: var(--navy); background: linear-gradient(135deg, rgba(27, 47, 111, .1), rgba(76, 175, 80, .14));
    margin-bottom: 1rem;
}

/* ---------------- Stat band ---------------- */
.stat-band { background: var(--navy); color: #fff; }
.stat-band .stat { text-align: center; padding: 1rem 0; }
.stat-band b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); color: #fff; line-height: 1.1; }
.stat-band small { color: #a9bce4; font-size: .88rem; }

/* ---------------- Business type pills ---------------- */
.biz-card {
    display: flex; align-items: center; gap: .8rem; height: 100%;
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: .95rem 1.1rem; color: var(--ink); font-weight: 650;
    transition: all .18s ease;
}
.biz-card:hover { border-color: var(--green); background: rgba(76, 175, 80, .05); color: var(--navy); transform: translateY(-2px); }
.biz-card i { font-size: 1.3rem; color: var(--green); flex: 0 0 auto; }
.biz-card small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; line-height: 1.4; }

/* ---------------- Steps ---------------- */
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num {
    width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.5rem; color: #fff;
    background: linear-gradient(135deg, var(--navy), var(--green));
    box-shadow: 0 8px 20px rgba(27, 47, 111, .25);
}
.step h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
.step::after {
    content: ''; position: absolute; top: 31px; left: calc(50% + 44px); right: calc(-50% + 44px);
    border-top: 2px dashed #cbd5e1;
}
.step:last-child::after { display: none; }
@media (max-width: 767.98px) { .step::after { display: none; } }

/* ---------------- Split feature rows ---------------- */
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; padding: .38rem 0; font-size: .96rem; }
.checklist i { color: var(--green); margin-top: .28rem; flex: 0 0 auto; }

/* ---------------- Testimonials ---------------- */
.quote-card {
    height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote-card .stars { color: var(--amber); margin-bottom: .75rem; }
.quote-card p { font-size: .97rem; color: var(--ink); flex: 1; }
.quote-who { display: flex; align-items: center; gap: .7rem; margin-top: 1rem; }
.quote-avatar {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff; font-weight: 800; font-size: .9rem;
}
.quote-who b { display: block; color: var(--ink); font-size: .92rem; }
.quote-who small { color: var(--muted); font-size: .8rem; }

/* ---------------- Pricing ---------------- */
.price-card {
    height: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: 18px;
    padding: 2rem 1.6rem; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.price-card .ribbon {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff;
    font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    padding: .3rem .95rem; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.price-card .best { color: var(--muted); font-size: .86rem; }
.price-amount { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 1rem 0 .1rem; }
.price-amount small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.price-period { color: var(--muted); font-size: .86rem; margin-bottom: 1.25rem; }
.price-card .checklist { flex: 1; margin-top: 0; }
.price-card .checklist li { font-size: .9rem; }

/* ---------------- FAQ ---------------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: .7rem; overflow: hidden; }
.faq .accordion-button { font-weight: 700; color: var(--ink); background: #fff; padding: 1.05rem 1.2rem; }
.faq .accordion-button:not(.collapsed) { color: var(--navy); background: rgba(27, 47, 111, .04); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; border-color: var(--line); }
.faq .accordion-body { color: var(--muted); padding-top: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
    color: #fff; border-radius: 22px; padding: 3rem 2.5rem; position: relative; overflow: hidden;
    background:
        radial-gradient(600px 300px at 10% 20%, rgba(76, 175, 80, .35), transparent 62%),
        linear-gradient(135deg, var(--navy-2), var(--navy-deep));
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { color: #cbd8f2; margin-bottom: 0; }

/* ---------------- Forms ---------------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem; box-shadow: var(--shadow); }
.lead-form .form-label { font-weight: 650; font-size: .88rem; color: var(--ink); margin-bottom: .3rem; }
.lead-form .form-control, .lead-form .form-select { border-radius: 10px; padding: .68rem .85rem; border-color: var(--line); }
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(76, 175, 80, .15); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------- Page hero (inner pages) ---------------- */
.page-hero {
    color: #fff; padding: 3.75rem 0; position: relative; overflow: hidden;
    background:
        radial-gradient(700px 380px at 15% 25%, rgba(76, 175, 80, .3), transparent 62%),
        linear-gradient(140deg, var(--navy-2), var(--navy-deep));
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero p { color: #cbd8f2; max-width: 640px; margin: .6rem auto 0; }
.page-hero .breadcrumb { justify-content: center; --bs-breadcrumb-divider-color: #8ea4d4; margin: 0 0 .5rem; }
.page-hero .breadcrumb a { color: #a9bce4; }
.page-hero .breadcrumb-item.active { color: #fff; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-deep); color: #a9bce4; padding: 3.5rem 0 0; font-size: .92rem; }
.site-footer h6 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: .01em; }
.site-footer .logo-text { color: #fff; }
.site-footer .logo-text small { color: #8ea4d4; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #a9bce4; }
.footer-links a:hover { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .5rem; align-items: flex-start; }
.footer-contact i { color: var(--green-2); margin-top: .25rem; }
.footer-contact a { color: #a9bce4; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: #cbd8f2; font-size: 1.05rem;
}
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-bottom {
    margin-top: 2.75rem; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; font-size: .85rem;
}

/* ---------------- WhatsApp float ---------------- */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 1040;
    display: flex; align-items: center; gap: .5rem;
    background: #25d366; color: #fff; font-weight: 700; font-size: .92rem;
    padding: .7rem 1.1rem; border-radius: 999px; box-shadow: 0 10px 26px rgba(37, 211, 102, .4);
}
.wa-float:hover { color: #fff; filter: brightness(1.06); }
.wa-float i { font-size: 1.3rem; }
@media (max-width: 575.98px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* ---------------- Reveal on scroll ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================================
   Custom feature icons (site/_icon.php)
   Duotone: navy body, green accent, so a whole grid reads as one set.
   ========================================================================= */
.sm-icon .s-soft        { fill: rgba(27, 47, 111, .13); }
.sm-icon .s-line        { stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.sm-icon .s-line-fill   { fill: var(--navy); }
.sm-icon .s-accent      { stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.sm-icon .s-accent-fill { fill: var(--green); }
.sm-icon .s-white       { stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }

.feature-icon .sm-icon { width: 30px; height: 30px; }
.feature-card:hover .sm-icon .s-soft { fill: rgba(27, 47, 111, .2); }

/* =========================================================================
   Ghana coverage map (site/_ghana_map.php)
   ========================================================================= */
.gh-map svg { width: 100%; height: auto; max-height: 560px; display: block; }

.gh-region polygon {
    fill: #e4eaf6; stroke: #fff; stroke-width: 2.5;
    transition: fill .18s ease;
}
.gh-region text {
    font-size: 13px; font-weight: 800; fill: #64748b; pointer-events: none;
    transition: fill .18s ease;
}
.gh-region:hover polygon,
.gh-region:focus polygon,
.gh-region.is-active polygon { fill: var(--navy); }
.gh-region:hover text,
.gh-region:focus text,
.gh-region.is-active text { fill: #fff; }
.gh-region:focus { outline: none; }
.gh-region:focus-visible polygon { stroke: var(--amber); stroke-width: 3.5; }

.gh-pin circle { fill: var(--green); }
.gh-pin text { font-size: 15px; font-weight: 800; fill: var(--navy); }
.gh-pin__pulse {
    fill: var(--green); opacity: .28; transform-origin: 352px 560px;
    animation: ghPulse 2.4s ease-out infinite;
}
@keyframes ghPulse {
    0%   { transform: scale(.6);  opacity: .45; }
    70%  { transform: scale(1.7); opacity: 0; }
    100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .gh-pin__pulse { animation: none; } }

.gh-legend { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.5rem; }
.gh-legend__item {
    display: inline-flex; align-items: center; gap: .4rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .3rem .75rem; font-size: .82rem; font-weight: 600; color: var(--body);
    cursor: default; transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.gh-legend__item b {
    background: var(--navy); color: #fff; border-radius: 5px;
    font-size: .64rem; padding: .1rem .3rem; letter-spacing: .04em;
}
.gh-legend__item:hover, .gh-legend__item.is-active {
    border-color: var(--green); background: rgba(76, 175, 80, .08); color: var(--navy);
}

/* =========================================================================
   Product imagery (site/_screenshot.php)
   Drawn rather than photographed: sharp at any size, no external host, and
   it never goes stale when the real UI changes.
   ========================================================================= */
.shot {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.shot__chrome {
    display: flex; align-items: center; gap: .35rem;
    padding: .6rem .85rem; background: #f1f5f9; border-bottom: 1px solid var(--line);
}
.shot__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.shot__chrome i:first-child  { background: #f87171; }
.shot__chrome i:nth-child(2) { background: #fbbf24; }
.shot__chrome i:nth-child(3) { background: #34d399; }
.shot__chrome span { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--muted); }

.shot__body { padding: .9rem; }

/* --- Point of sale --- */
.shot__body--pos { display: grid; grid-template-columns: 1.5fr 1fr; gap: .8rem; }
.shot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.shot__prod {
    background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
    padding: .45rem .35rem; text-align: center;
}
.shot__prod b  { display: block; font-size: .58rem; color: var(--ink); line-height: 1.25; }
.shot__prod em { font-style: normal; font-size: .58rem; font-weight: 800; color: var(--green); }
.shot__thumb   { display: block; height: 26px; border-radius: 6px; margin-bottom: .3rem; background: linear-gradient(135deg, #dbe4f7, #e8f3e9); }
.shot__prod--b .shot__thumb { background: linear-gradient(135deg, #e8f3e9, #dbe4f7); }
.shot__prod--c .shot__thumb { background: linear-gradient(135deg, #fdf0d9, #e8f3e9); }
.shot__prod--d .shot__thumb { background: linear-gradient(135deg, #dbe4f7, #fdf0d9); }
.shot__prod--e .shot__thumb { background: linear-gradient(135deg, #e6eefb, #dfeee1); }
.shot__prod--f .shot__thumb { background: linear-gradient(135deg, #efe6fb, #dbe4f7); }

.shot__panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .6rem; }
.shot__panel-head { display: flex; justify-content: space-between; font-size: .62rem; font-weight: 800; color: var(--ink); margin-bottom: .4rem; }
.shot__panel-head span { color: var(--muted); font-weight: 600; }
.shot__line  { display: flex; justify-content: space-between; font-size: .6rem; padding: .2rem 0; border-bottom: 1px dashed var(--line); color: var(--body); }
.shot__sum   { display: flex; justify-content: space-between; font-size: .6rem; padding: .18rem 0; color: var(--muted); }
.shot__grand { display: flex; justify-content: space-between; font-size: .78rem; font-weight: 800; color: var(--navy); padding: .3rem 0; border-top: 1px solid var(--line); }
.shot__cta {
    margin-top: .35rem; background: linear-gradient(135deg, var(--navy), var(--green)); color: #fff;
    border-radius: 8px; text-align: center; padding: .38rem; font-size: .64rem; font-weight: 800;
}
.shot__cta--ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }

/* --- Dashboard --- */
.shot__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .7rem; }
.shot__kpi  { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: .5rem; }
.shot__kpi small { display: block; font-size: .55rem; color: var(--muted); }
.shot__kpi b     { display: block; font-size: .82rem; color: var(--navy); }
.shot__kpi em    { font-style: normal; font-size: .55rem; color: var(--green); font-weight: 700; }
.shot__charts { display: grid; grid-template-columns: 1.7fr 1fr; gap: .6rem; }
.shot__chart  { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: .55rem; }
.shot__chart-head { font-size: .6rem; font-weight: 800; color: var(--ink); margin-bottom: .35rem; }
.shot__chart svg { width: 100%; height: 88px; display: block; }
.shot__chart--donut { display: flex; flex-direction: column; align-items: center; }
.shot__chart--donut svg { height: 74px; }
.shot__legend { list-style: none; padding: 0; margin: .4rem 0 0; font-size: .55rem; color: var(--muted); width: 100%; }
.shot__legend li { display: flex; align-items: center; gap: .3rem; }
.shot__legend i  { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }

/* --- Tables --- */
.shot__toolbar { display: flex; gap: .4rem; align-items: center; margin-bottom: .55rem; }
.shot__search  { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; padding: .3rem .55rem; font-size: .6rem; color: var(--muted); }
.shot__chip    { font-size: .55rem; font-weight: 800; border-radius: 999px; padding: .2rem .5rem; }
.shot__chip--red   { background: #fee2e2; color: #b91c1c; }
.shot__chip--amber { background: #fef3c7; color: #92400e; }
.shot__body--table table { width: 100%; border-collapse: collapse; font-size: .6rem; }
.shot__body--table th {
    text-align: left; color: var(--muted); font-weight: 700; padding: .3rem .35rem;
    border-bottom: 1px solid var(--line); font-size: .55rem; text-transform: uppercase; letter-spacing: .05em;
}
.shot__body--table td   { padding: .38rem .35rem; border-bottom: 1px solid #f1f5f9; color: var(--body); }
.shot__body--table td b { color: var(--ink); }
.shot__badge { font-size: .52rem; font-weight: 800; border-radius: 999px; padding: .15rem .45rem; white-space: nowrap; }
.shot__badge--ok  { background: #dcfce7; color: #166534; }
.shot__badge--low { background: #fef3c7; color: #92400e; }
.shot__badge--out { background: #fee2e2; color: #b91c1c; }
.shot__badge--exp { background: #e0e7ff; color: #3730a3; }

/* --- Phone --- */
.shot__body--phone { display: grid; place-items: center; background: var(--surface); padding: 1.25rem; }
.shot__phone { width: 190px; background: #0f172a; border-radius: 22px; padding: 7px; box-shadow: var(--shadow); }
.shot__phone-top { display: grid; place-items: center; padding: 3px 0 6px; }
.shot__phone-top span { width: 44px; height: 4px; border-radius: 999px; background: #334155; display: block; }
.shot__phone-screen { background: #fff; border-radius: 16px; padding: .65rem; }
.shot__phone-head { font-size: .55rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.shot__phone-big  { font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.shot__phone-sub  { font-size: .55rem; color: var(--muted); margin-bottom: .5rem; }
.shot__phone-row  { display: flex; justify-content: space-between; font-size: .56rem; padding: .24rem 0; border-bottom: 1px solid #f1f5f9; color: var(--body); }
.shot__phone-row b.in  { color: var(--green); }
.shot__phone-row b.out { color: #dc2626; }
.shot__phone-alert { margin-top: .5rem; background: #fef3c7; color: #92400e; border-radius: 7px; padding: .32rem .45rem; font-size: .52rem; font-weight: 700; }

@media (max-width: 575.98px) {
    .shot__body--pos { grid-template-columns: 1fr; }
    .shot__charts    { grid-template-columns: 1fr; }
    .shot__kpis      { grid-template-columns: repeat(2, 1fr); }
}
