/* =====================================================================================
   BarMenu.Pro - site stylesheet
   =====================================================================================

   THE DESIGN IS DELIBERATELY PLAIN.

   The visitor is a venue owner deciding whether to trust us with a card, usually on a
   phone, usually in the ten minutes between two other jobs. What helps them is a short
   page with a readable price on it - not gradients, not scroll animations, not a second
   colour. So: one accent, one shadow, one radius, and a page that reads top to bottom.

   Rhythm: .section on the page background alternates with .section-alt on the warm one.
   Anything full-bleed sets its own background and keeps .wrap for the column.

   The last block is the CSS mock-ups (cfginc/mock.php) - the "screenshots" are drawn,
   not photographed, so they never go out of date with the product.
   ===================================================================================== */

:root {
    --bg:          #faf8f4;
    --bg-warm:     #f3eee4;
    --surface:     #ffffff;
    --surface-2:   #fbf9f5;

    --ink:         #14181a;
    --ink-2:       #35443d;
    --muted:       #6b7a72;

    --line:        #e6e0d5;
    --line-soft:   #efeae1;

    --accent:      #1f6f4a;
    --accent-hi:   #17583a;
    --accent-soft: #e7f1ea;
    --accent-ink:  #ffffff;

    --amber:       #b4741f;
    --amber-soft:  #fbf1de;
    --red:         #a5342a;
    --red-soft:    #fbeae8;

    --radius:      14px;
    --radius-sm:   9px;
    --shadow:      0 1px 2px rgba(20, 24, 26, .04), 0 6px 18px rgba(20, 24, 26, .05);
    /* Only the CSS mock-ups use this one - a "screenshot" has to lift off the page to read
       as a device rather than as another card. Nothing in the page chrome may use it. */
    --shadow-lg:   0 2px 4px rgba(20, 24, 26, .05), 0 20px 50px rgba(20, 24, 26, .12);

    --head:        'Fraunces', Georgia, 'Times New Roman', serif;
    --body:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--head);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    color: var(--ink);
}

h1 { font-size: clamp(2.05rem, 4.4vw, 3rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); letter-spacing: -.02em; }
h3 { font-size: 1.12rem; }
h4 { font-size: 1rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; }

ul { margin: 0; padding: 0; list-style: none; }
b, strong { font-weight: 600; color: var(--ink); }
img { max-width: 100%; height: auto; }

.small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/*
 * ICON SAFETY NET. cfginc/icons.php emits <svg> with no width/height, so an icon dropped
 * into prose with no rule of its own inflates to the 300x150 replaced-element default and
 * eats the box it is in. Components still deserve their own sizing rule.
 */
p > svg, li > svg, span > svg, td > svg, h3 > svg, h4 > svg { width: 1em; height: 1em; vertical-align: -.125em; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------------------------------------------------------- layout */

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-warm); }
.section-tight { padding: 48px 0; }

.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .sub { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent); margin: 0 0 12px;
}
.eyebrow svg { width: 15px; height: 15px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font: inherit; font-weight: 600; line-height: 1;
    padding: 13px 20px; border-radius: var(--radius-sm);
    border: 1px solid transparent; cursor: pointer; text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { text-decoration: none; }
.btn svg { width: 17px; height: 17px; }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hi); color: #fff; }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); border-color: var(--muted); color: var(--ink); }

.btn-quiet { background: transparent; color: var(--muted); padding: 10px 4px; }
.btn-quiet:hover { color: var(--ink); background: transparent; }

.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(250, 248, 244, .94);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 66px; }

.brand-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-logo:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); flex: none; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.14rem; letter-spacing: -.02em; }
.brand-dot { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--ink-2); font-size: .95rem; font-weight: 500; white-space: nowrap; }
.main-nav a:hover { color: var(--accent); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 40px; height: 40px; padding: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 9px;
    color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.mobile-nav { display: none; background: var(--surface); border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav .wrap { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: 18px; }
.mobile-nav a { padding: 11px 0; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 12px; }

/* ------------------------------------------------------------------ hero */

.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.12rem; color: var(--ink-2); max-width: 32em; }

.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .93rem; color: var(--ink-2); }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

.hero-art { display: flex; justify-content: center; }

/* ---------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 6px; }
.step-n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent);
    font-size: .86rem; font-weight: 700; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------------------------------------------------------------- cards */

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 24px;
}
.card h3 { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.card h3 svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 22px; }
.ticks li { display: flex; align-items: flex-start; gap: 9px; font-size: .95rem; color: var(--ink-2); }
.ticks svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }

/* -------------------------------------------------------------- pricing */

.price-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }

.price-card {
    background: var(--surface); border: 2px solid var(--accent);
    border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.price-free {
    background: var(--accent-soft); border-radius: var(--radius-sm);
    padding: 14px 16px; margin-bottom: 22px; text-align: center;
}
.pf-n { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; color: var(--accent-hi); }
.pf-l { display: block; font-size: .86rem; color: var(--accent-hi); }

.price-then { display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.pt-label { font-size: .9rem; color: var(--muted); }
.pt-amount { font-family: var(--head); font-size: 3.4rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.pt-unit { font-size: .88rem; color: var(--muted); line-height: 1.25; text-align: left; }

.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.price-cta { margin-top: 22px; text-align: center; }

.price-included h3 { margin-bottom: 6px; }
.not-included {
    margin-top: 22px; padding: 16px 18px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.not-included h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: .95rem; }
.not-included h4 svg { width: 16px; height: 16px; color: var(--muted); }
.not-included p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ----------------------------------------------------------- calculator */

.calc {
    margin-top: 34px; background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px;
}
.calc h3 { margin-bottom: 4px; }
.calc-row { display: flex; align-items: center; gap: 16px; margin: 20px 0 18px; }
.calc-label { font-size: .9rem; color: var(--muted); }
.calc-row input[type=range] { flex: 1; accent-color: var(--accent); height: 26px; }
.calc-row output {
    min-width: 52px; text-align: center;
    font-family: var(--head); font-size: 1.4rem; font-weight: 700;
}
.calc-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.co-cell {
    background: var(--surface-2); border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm); padding: 14px; text-align: center;
}
.co-total { background: var(--accent-soft); border-color: transparent; }
.co-n { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.co-l { display: block; font-size: .78rem; color: var(--muted); margin-top: 3px; }

/* ------------------------------------------------------------------ faq */

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 4px 0;
}
.faq summary {
    cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
    font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    font-size: 1.3rem; font-weight: 400; color: var(--muted); line-height: 1;
}
.faq details[open] summary::after { content: '\2212'; }
.faq p { color: var(--muted); font-size: .97rem; padding: 0 30px 18px 0; margin: 0; }

/* ------------------------------------------------------------- cta band */

.cta-band { background: var(--ink); color: #fff; padding: 62px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c4bd; max-width: 44em; margin: 0 auto 26px; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; color: #fff; }

/* ================================================================= shop pages
   signup.php and checkout.php. They are forms, and a form on a page somebody is about
   to pay on has one job: be boring and legible.
   ============================================================================= */

.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.page-head p { color: var(--muted); margin: 0; }

.shop-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 32px; align-items: start; }

.panel {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 26px 28px; margin-bottom: 22px;
}
.panel > h2 { font-size: 1.25rem; margin-bottom: 4px; }
.panel > h3 { margin-bottom: 14px; }
.panel-sticky { position: sticky; top: 86px; }

.steps-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.steps-bar span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .86rem; color: var(--muted);
    padding: 7px 13px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface);
}
.steps-bar .on { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-weight: 600; }
.steps-bar .done { color: var(--accent); border-color: var(--accent); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }

.field input[type=text], .field input[type=email], .field input[type=password],
.field input[type=number], .field input[type=tel], .field select, .field textarea {
    width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 11px 13px;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 18px; }

.form-err, .form-ok, .form-info {
    border-radius: var(--radius-sm); padding: 13px 16px; margin-bottom: 20px; font-size: .94rem;
}
.form-err  { background: var(--red-soft);    color: var(--red);    border: 1px solid #f0cfca; }
.form-ok   { background: var(--accent-soft); color: var(--accent-hi); border: 1px solid #c9e0d3; }
.form-info { background: var(--amber-soft);  color: var(--amber);  border: 1px solid #f0dfbf; }

.sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .95rem; }
.sum-row.total {
    border-top: 1px solid var(--line); margin-top: 8px; padding-top: 13px;
    font-family: var(--head); font-size: 1.3rem; font-weight: 700;
}
.sum-row.save { color: var(--accent); }

.review-list li {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem;
}
.review-list li:last-child { border-bottom: none; }
.review-list .q { color: var(--muted); }

.ref-code {
    font-family: var(--head); font-size: 1.6rem; font-weight: 700; letter-spacing: .06em;
    text-align: center; margin: 10px 0 18px;
}

.assure { margin-top: 18px; display: grid; gap: 6px; }
.assure li { display: flex; align-items: flex-start; gap: 8px; font-size: .84rem; color: var(--muted); }
.assure svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }

/* The plan picker: a radio you can hit with a thumb. */
.plan-list { display: grid; gap: 10px; margin-bottom: 20px; }
.plan-opt {
    display: flex; align-items: center; gap: 13px; cursor: pointer;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px 16px; background: var(--surface);
}
.plan-opt:hover { border-color: var(--muted); }
.plan-opt input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.plan-opt.on { border-color: var(--accent); background: var(--accent-soft); }
.plan-opt b { display: block; }
.plan-opt .plan-price { margin-left: auto; text-align: right; white-space: nowrap; font-weight: 600; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand { margin-bottom: 12px; }
.site-footer h5 { font-family: var(--body); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer li a { color: var(--ink-2); font-size: .93rem; }
.site-footer li a:hover { color: var(--accent); }

.footer-bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line-soft);
    font-size: .84rem; color: var(--muted);
}

.to-top {
    position: fixed; right: 20px; bottom: 20px; z-index: 90;
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--ink); color: #fff; border: none; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transform: translateY(8px);
    transition: opacity .18s, transform .18s;
}
.to-top svg { width: 19px; height: 19px; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
/* =====================================================================================
   MOCK-UPS - the screenshots, drawn in CSS (see cfginc/mock.php)
   ===================================================================================== */

/* --------------------------------------------------------- guest's phone */

.mock-phone {
    position: relative;
    width: 300px; max-width: 100%;
    background: #1b201d;
    border-radius: 38px;
    padding: 11px;
    box-shadow: var(--shadow-lg);
}
.mock-phone-hero { transform: rotate(-2.2deg); }

.mp-screen {
    background: var(--surface);
    border-radius: 28px;
    overflow: hidden;
    display: flex; flex-direction: column;
    min-height: 545px;
}

.mp-top {
    background: var(--accent); color: #fff;
    padding: 16px 15px 13px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mp-venue { display: flex; flex-direction: column; line-height: 1.25; }
.mp-venue-name { font-family: var(--head); font-weight: 700; font-size: 1.02rem; }
.mp-table { font-size: .72rem; opacity: .85; }
.mp-top-actions { display: flex; align-items: center; gap: 8px; }
.mp-lang {
    font-size: .68rem; font-weight: 700; letter-spacing: .06em;
    border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; padding: 3px 8px;
}
.mp-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 27px; height: 27px; border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}
.mp-icon svg { width: 15px; height: 15px; }

.mp-body { padding: 13px; flex: 1; }

.mp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mp-tile {
    position: relative;
    height: 74px; border-radius: 12px;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 8px 9px;
    color: #fff; overflow: hidden;
}
.mp-tile::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05));
}
.mp-tile-name, .mp-tile-hours { position: relative; z-index: 1; }
.mp-tile-name { font-size: .8rem; font-weight: 600; }
.mp-tile-hours { display: flex; align-items: center; gap: 4px; font-size: .64rem; opacity: .95; margin-top: 2px; }
.mp-tile-hours svg { width: 11px; height: 11px; }

/* Stand-in photography: warm gradients, so the tiles read as pictures without shipping any. */
.mp-tile-a { background: linear-gradient(135deg, #8a5a33, #c58f57); }
.mp-tile-b { background: linear-gradient(135deg, #a8781a, #e0b24e); }
.mp-tile-c { background: linear-gradient(135deg, #7d3550, #c96b7e); }
.mp-tile-d { background: linear-gradient(135deg, #35543f, #6d9068); }

/*
 * A CLOSED CATEGORY is greyed on its own children, never on the tile: a filter on the parent
 * drains the colour out of the hours line too - the one thing a guest needs to read while it is
 * shut. Same rule as the real menu screen.
 */
.mp-tile-closed .mp-tile-name { opacity: .55; }
.mp-tile-closed::after { background: rgba(255, 255, 255, .55); }
.mp-tile-closed .mp-tile-hours { color: #fff; background: rgba(20, 24, 26, .78); border-radius: 999px; padding: 2px 7px; opacity: 1; }

.mp-list { margin-top: 12px; display: grid; gap: 8px; }
.mp-item {
    display: grid; grid-template-columns: 34px 1fr auto; gap: 9px; align-items: center;
    background: var(--surface-2); border: 1px solid var(--line-soft);
    border-radius: 10px; padding: 7px 9px;
}
.mp-thumb { width: 34px; height: 34px; border-radius: 8px; display: block; }
.mp-thumb-a { background: linear-gradient(135deg, #6f4629, #a97c4e); }
.mp-thumb-b { background: linear-gradient(135deg, #a8781a, #e6c163); }
.mp-thumb-c { background: linear-gradient(135deg, #7d3550, #c96b7e); }
.mp-thumb-d { background: linear-gradient(135deg, #35543f, #6d9068); }
.mp-item-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.mp-item-text b { font-size: .78rem; }
.mp-item-text i { font-style: normal; font-size: .66rem; color: var(--muted); }
.mp-price { font-size: .8rem; font-weight: 700; color: var(--accent); }

.mp-cart {
    display: flex; align-items: center; gap: 9px;
    background: var(--ink); color: #fff;
    padding: 12px 14px;
}
.mp-cart-count {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%;
    background: var(--amber); color: #fff; font-size: .72rem; font-weight: 700;
}
.mp-cart-total { font-size: .84rem; font-weight: 600; }
.mp-cart-send {
    margin-left: auto;
    background: var(--accent); border-radius: 999px;
    padding: 6px 14px; font-size: .78rem; font-weight: 600;
}

.mock-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-soft); border-radius: 999px;
    padding: 9px 15px; font-size: .82rem; font-weight: 600;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
}
.mock-chip svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.mock-chip-1 { top: 26px; right: -88px; }
.mock-chip-2 { bottom: 88px; left: -74px; }

/* ------------------------------------------------------------ bar tablet */

.mock-bar {
    width: 100%; max-width: 460px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 18px; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.mb-top {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    background: var(--ink); color: #fff; padding: 13px 16px;
}
.mb-title { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .93rem; }
.mb-title svg { width: 17px; height: 17px; }
.mb-sound { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; opacity: .8; }
.mb-sound svg { width: 13px; height: 13px; }

.mb-row {
    display: grid; grid-template-columns: 44px 1fr auto; gap: 13px; align-items: center;
    padding: 14px 16px; border-bottom: 1px solid var(--line-soft);
}
.mb-row:last-child { border-bottom: 0; }
.mb-table {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--accent-soft); color: var(--accent-hi);
    font-family: var(--head); font-size: 1.35rem; font-weight: 700;
}
.mb-what { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mb-what b { font-size: .88rem; }
.mb-what i { font-style: normal; font-size: .77rem; color: var(--muted); }
.mb-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .74rem; color: var(--muted); }
.mb-badge {
    font-size: .64rem; font-weight: 700; letter-spacing: .07em;
    background: var(--accent); color: #fff; border-radius: 999px; padding: 2px 8px;
}
.mb-badge-call { background: var(--amber); }
.mb-badge-bill { background: #3d5a8f; }

.mb-new { background: var(--accent-soft); }
.mb-call { background: var(--amber-soft); }
.mb-done { opacity: .5; }

/* ----------------------------------------------------------- table card */

.mock-card {
    width: 260px; max-width: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 22px 20px 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: rotate(1.6deg);
}
.mc-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.mc-venue { font-family: var(--head); font-weight: 700; font-size: 1.05rem; }
.mc-zone { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.mc-qr {
    position: relative;
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px;
    width: 148px; margin: 0 auto;
    padding: 10px; background: var(--surface-2); border-radius: 10px;
}
.mc-px { aspect-ratio: 1; border-radius: 2px; background: transparent; }
.mc-px.on { background: var(--ink); }
.mc-finder {
    position: absolute; width: 34px; height: 34px;
    border: 5px solid var(--ink); border-radius: 6px;
    background: var(--surface-2);
}
.mc-finder::after {
    content: ''; position: absolute; inset: 6px;
    background: var(--ink); border-radius: 2px;
}
.mc-finder-tl { top: 8px; left: 8px; }
.mc-finder-tr { top: 8px; right: 8px; }
.mc-finder-bl { bottom: 8px; left: 8px; }

.mc-foot { margin-top: 16px; }
.mc-number { display: block; font-family: var(--head); font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
.mc-hint { display: block; font-size: .74rem; color: var(--muted); margin-top: 2px; }


/* =====================================================================================
   RESPONSIVE

   The header row is logo + nav + CTA and the nav cannot shrink (nowrap labels), so the
   burger has to take over at 980px: below that it is the CTA - the only thing this page
   is for - that gets pushed off the right edge.
   ===================================================================================== */

@media (max-width: 1080px) {
    .hero-grid { gap: 36px; }
    .mock-chip-1 { right: -40px; }
    .mock-chip-2 { left: -36px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .main-nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-actions .btn { display: none; }

    .hero { padding: 46px 0 56px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-art { order: -1; }
    .mock-phone-hero { transform: none; }
    .mock-chip { display: none; }

    .price-wrap, .shop-grid { grid-template-columns: 1fr; gap: 26px; }
    .panel-sticky { position: static; }

    .section { padding: 60px 0; }
    .steps { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .wrap { padding: 0 18px; }

    .grid-2, .grid-3, .grid-4, .steps, .ticks, .row, .row-3 { grid-template-columns: 1fr; }
    .calc-out { grid-template-columns: 1fr 1fr; }
    .calc, .price-card, .panel { padding: 22px 18px; }
    .pt-amount { font-size: 2.9rem; }

    .cta-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
