:root {
    --posp-sf-primary: #2563eb;
    --posp-sf-accent: #f59e0b;
    --posp-sf-bg: #f4f1ea;
    --posp-sf-surface: #ffffff;
    --posp-sf-text: #16181d;
    --posp-sf-muted: #6b7280;
    --posp-sf-line: rgba(22, 24, 29, 0.08);
    --posp-sf-radius: 22px;
    --posp-sf-shadow: 0 12px 40px rgba(22, 24, 29, 0.08);
    --posp-sf-safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html {
    margin: 0 !important;
    margin-top: 0 !important;
    background: var(--posp-sf-bg);
}
html, body.posp-storefront-page {
    margin: 0;
    min-height: 100%;
    min-height: 100dvh;
    background: var(--posp-sf-bg);
    color: var(--posp-sf-text);
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}
body.posp-storefront-page #wpadminbar,
body.posp-storefront-page .wp-block-template-part,
body.posp-storefront-page header.wp-block-template-part,
body.posp-storefront-page footer.wp-block-template-part,
body.posp-storefront-page .site-header,
body.posp-storefront-page .site-footer { display: none !important; }
body.posp-storefront-page,
body.posp-storefront-page.admin-bar {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
}

.posp-storefront-preset-food { --posp-sf-bg: #f7efe6; --posp-sf-primary: #c2410c; --posp-sf-accent: #f59e0b; }
.posp-storefront-preset-retail { --posp-sf-bg: #eef3f8; --posp-sf-primary: #0f766e; --posp-sf-accent: #f59e0b; }
.posp-storefront-preset-catalog { --posp-sf-bg: #f3f4f6; --posp-sf-primary: #1d4ed8; --posp-sf-accent: #111827; }

body.posp-sf-theme-dark {
    --posp-sf-bg: #0f1419;
    --posp-sf-surface: #1a2332;
    --posp-sf-text: #f1f5f9;
    --posp-sf-muted: #94a3b8;
    --posp-sf-line: rgba(148, 163, 184, 0.18);
    --posp-sf-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
body.posp-sf-theme-grey {
    --posp-sf-bg: #2a2f36;
    --posp-sf-surface: #3a414b;
    --posp-sf-text: #f3f4f6;
    --posp-sf-muted: #c4c9d1;
    --posp-sf-line: rgba(255, 255, 255, 0.1);
    --posp-sf-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
body.posp-sf-theme-dark .posp-sf-field input,
body.posp-sf-theme-dark .posp-sf-field textarea,
body.posp-sf-theme-dark .posp-sf-field select,
body.posp-sf-theme-grey .posp-sf-field input,
body.posp-sf-theme-grey .posp-sf-field textarea,
body.posp-sf-theme-grey .posp-sf-field select,
body.posp-sf-theme-dark .posp-sf-search,
body.posp-sf-theme-grey .posp-sf-search,
body.posp-sf-theme-dark .posp-sf-line,
body.posp-sf-theme-grey .posp-sf-line {
    background: color-mix(in srgb, var(--posp-sf-surface) 88%, #000);
    color: var(--posp-sf-text);
    border-color: var(--posp-sf-line);
}
body.posp-sf-theme-dark .posp-sf-nav,
body.posp-sf-theme-grey .posp-sf-nav {
    background: color-mix(in srgb, var(--posp-sf-surface) 94%, transparent);
}

.posp-storefront-app {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(88px + var(--posp-sf-safe-bottom));
    background: var(--posp-sf-bg);
}

.posp-sf-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
    background: var(--posp-sf-bg);
    border-bottom: 1px solid var(--posp-sf-line);
}
.posp-sf-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.posp-sf-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    gap: 1px;
}
.posp-sf-logo,
.posp-sf-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.posp-sf-logo {
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--posp-sf-primary), color-mix(in srgb, var(--posp-sf-accent) 55%, var(--posp-sf-primary)));
}
.posp-sf-brand strong {
    display: block;
    font-size: 16px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.posp-sf-brand span {
    display: block;
    font-size: 11px;
    line-height: 1.2;
    color: var(--posp-sf-muted);
}
.posp-sf-topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.posp-sf-icon-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--posp-sf-surface);
    color: var(--posp-sf-text);
    cursor: pointer;
    box-shadow: none;
    border: 1px solid var(--posp-sf-line);
    position: relative;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.posp-sf-cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    background: var(--posp-sf-accent);
    color: #111;
    font-size: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    padding: 0 4px;
    line-height: 1;
}

.posp-sf-offline, .posp-sf-install {
    display: none; margin: 0 16px 10px; padding: 12px 14px; border-radius: 16px;
    background: var(--posp-sf-surface); box-shadow: var(--posp-sf-shadow); font-size: 13px;
    color: var(--posp-sf-text);
}
.posp-sf-install-copy { color: var(--posp-sf-text); font-weight: 600; }
.posp-sf-offline.is-on { display: block; background: #fef3c7; color: #92400e; }
.posp-sf-install.is-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.posp-sf-install-copy { flex: 1 1 140px; }
.posp-sf-install-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.posp-sf-install-actions .posp-sf-btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
.posp-sf-install-actions .posp-sf-btn[hidden] { display: none !important; }
.posp-sf-line { position: relative; }
.posp-sf-cart-remove {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, #ef4444 45%, transparent);
    background: color-mix(in srgb, #ef4444 12%, var(--posp-sf-surface));
    color: #b91c1c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
body.posp-sf-theme-dark .posp-sf-cart-remove,
body.posp-sf-theme-grey .posp-sf-cart-remove {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.45);
    background: rgba(127, 29, 29, 0.35);
}

.posp-sf-header-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--posp-sf-primary) 55%, transparent);
    background: color-mix(in srgb, var(--posp-sf-primary) 18%, var(--posp-sf-surface));
    color: var(--posp-sf-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.posp-sf-header-install[hidden] { display: none !important; }
.posp-sf-header-install.is-ready {
    border-color: color-mix(in srgb, var(--posp-sf-primary) 70%, #fff);
    background: var(--posp-sf-primary);
    color: #fff;
}

.posp-sf-main { flex: 1; padding: 6px 14px 20px; max-width: 980px; width: 100%; margin: 0 auto; }
.posp-store-loading, .posp-sf-empty { text-align: center; padding: 48px 18px; color: var(--posp-sf-muted); }
.posp-sf-empty-card {
    background: var(--posp-sf-surface); border-radius: 22px; padding: 32px 18px;
    box-shadow: var(--posp-sf-shadow);
}
.posp-sf-empty-card h2 { margin: 0 0 8px; }
.posp-sf-empty-emoji { font-size: 42px; margin-bottom: 8px; }

.posp-sf-hero {
    position: relative; overflow: hidden; border-radius: 24px; min-height: 200px;
    padding: 22px 18px 20px;
    background:
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--posp-sf-accent) 28%, transparent), transparent 38%),
        linear-gradient(160deg, color-mix(in srgb, var(--posp-sf-primary) 16%, #fff), #fff 62%);
    box-shadow: var(--posp-sf-shadow);
    margin-bottom: 18px;
}
body.posp-sf-theme-dark .posp-sf-hero,
body.posp-sf-theme-grey .posp-sf-hero {
    background:
        radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--posp-sf-accent) 22%, transparent), transparent 40%),
        linear-gradient(160deg, color-mix(in srgb, var(--posp-sf-primary) 28%, var(--posp-sf-surface)), var(--posp-sf-surface));
    color: var(--posp-sf-text);
}
body.posp-sf-theme-dark .posp-sf-hero p,
body.posp-sf-theme-grey .posp-sf-hero p { color: var(--posp-sf-muted); }
body.posp-sf-theme-dark .posp-sf-hero-chip,
body.posp-sf-theme-grey .posp-sf-hero-chip {
    background: color-mix(in srgb, var(--posp-sf-bg) 70%, transparent);
}
.posp-sf-hero.has-banner { background-size: cover; background-position: center; color: #fff; }
.posp-sf-hero.has-banner::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.62));
}
.posp-sf-hero > * { position: relative; }
.posp-sf-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--posp-sf-primary); margin: 0 0 8px; }
.posp-sf-hero.has-banner .posp-sf-kicker { color: #fde68a; }
.posp-sf-hero h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.04em; }
.posp-sf-hero p { margin: 0 0 18px; max-width: 28em; color: var(--posp-sf-muted); }
.posp-sf-hero.has-banner p { color: #f3f4f6; }
.posp-sf-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.posp-sf-hero-chip {
    background: color-mix(in srgb, var(--posp-sf-surface) 80%, transparent);
    border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 600;
}

.posp-sf-btn {
    appearance: none; border: 0; border-radius: 999px; padding: 11px 16px;
    background: var(--posp-sf-primary); color: #fff; font-weight: 800; cursor: pointer;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--posp-sf-primary) 28%, transparent);
}
.posp-sf-btn.secondary { background: var(--posp-sf-accent); color: #111; box-shadow: none; }
.posp-sf-btn.ghost { background: var(--posp-sf-surface); color: var(--posp-sf-text); box-shadow: none; border: 1px solid var(--posp-sf-line); }
.posp-sf-btn:disabled { opacity: .55; cursor: not-allowed; }
.posp-sf-btn-row { display: flex; flex-wrap: wrap; gap: 8px; }
.posp-sf-btn.wide { width: 100%; }

.posp-sf-section { margin: 24px 0; }
.posp-sf-section h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }

.posp-sf-cats, .posp-sf-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.posp-storefront-preset-food .posp-sf-grid { grid-template-columns: 1fr; }

.posp-sf-cat, .posp-sf-card, .posp-sf-panel {
    background: var(--posp-sf-surface); border-radius: var(--posp-sf-radius);
    box-shadow: var(--posp-sf-shadow); overflow: hidden;
}
.posp-sf-cat { padding: 18px 16px; min-height: 92px; text-align: left; border: 0; cursor: pointer; color: inherit; }
.posp-sf-cat small { display: block; margin-top: 6px; color: var(--posp-sf-muted); }
.posp-sf-card {
    cursor: pointer; position: relative; display: flex; flex-direction: column;
    min-height: 0; color: var(--posp-sf-text);
}
.posp-sf-media, .posp-sf-card img.posp-sf-thumb, .posp-sf-product-media img {
    width: 100%; height: 140px; object-fit: cover; display: block; flex: none;
    background: linear-gradient(135deg, color-mix(in srgb, var(--posp-sf-primary) 18%, var(--posp-sf-surface)), var(--posp-sf-line));
}
.posp-sf-media { display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--posp-sf-primary); letter-spacing: 0.02em; }
.posp-storefront-preset-food .posp-sf-card {
    flex-direction: row; align-items: stretch; min-height: 118px;
}
.posp-storefront-preset-food .posp-sf-card img.posp-sf-thumb,
.posp-storefront-preset-food .posp-sf-media {
    width: 118px; height: auto; min-height: 118px; align-self: stretch; flex: 0 0 118px;
}
.posp-sf-card-body {
    padding: 13px 48px 14px 14px; flex: 1; min-width: 0; position: relative;
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.posp-sf-card-body h3 {
    margin: 0; font-size: 16px; color: var(--posp-sf-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.posp-sf-price { color: var(--posp-sf-primary); font-weight: 800; font-size: 18px; }
.posp-sf-meta { color: var(--posp-sf-muted); font-size: 12px; }
.posp-sf-add {
    position: absolute; right: 10px; bottom: 10px; z-index: 2;
    width: 36px; height: 36px; border: 0; border-radius: 12px;
    background: var(--posp-sf-primary); color: #fff; font-size: 22px; line-height: 1;
    cursor: pointer; display: grid; place-items: center;
}

.posp-sf-search {
    width: 100%; border: 0; border-radius: 18px; padding: 14px 16px; font-size: 16px;
    box-shadow: var(--posp-sf-shadow); margin-bottom: 14px;
    background: var(--posp-sf-surface); color: var(--posp-sf-text);
}
.posp-sf-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }
.posp-sf-chip {
    border: 0; background: var(--posp-sf-surface); color: var(--posp-sf-text); border-radius: 999px;
    padding: 9px 13px; white-space: nowrap; cursor: pointer; box-shadow: var(--posp-sf-shadow);
}
.posp-sf-chip.is-on { background: var(--posp-sf-primary); color: #fff; }

.posp-sf-qty { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.posp-sf-qty button { width: 36px; height: 36px; border: 0; border-radius: 12px; background: var(--posp-sf-bg); cursor: pointer; }
.posp-sf-field { display: block; margin-bottom: 14px; }
.posp-sf-field span { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.posp-sf-field input, .posp-sf-field textarea, .posp-sf-field select {
    width: 100%; border: 1px solid var(--posp-sf-line); border-radius: 16px; padding: 13px 14px; font: inherit;
    background: var(--posp-sf-surface); color: var(--posp-sf-text);
}
.posp-sf-hp { position: absolute; left: -9999px; }
.posp-sf-check { display: flex; align-items: center; gap: 8px; font-size: 14px; }

.posp-sf-panel { padding: 16px; margin: 16px 0; }
.posp-sf-totals div { display: flex; justify-content: space-between; margin: 8px 0; }
.posp-sf-line {
    display: flex; gap: 12px; align-items: center;
    background: var(--posp-sf-surface); border-radius: 18px; padding: 12px; margin-bottom: 10px;
    box-shadow: var(--posp-sf-shadow); color: var(--posp-sf-text);
}
.posp-sf-line img, .posp-sf-line .posp-sf-media { width: 64px; height: 64px; border-radius: 14px; flex: none; }

.posp-sf-status { display: grid; gap: 8px; margin: 16px 0; }
.posp-sf-status-step {
    padding: 12px 14px; border-radius: 16px;
    background: var(--posp-sf-surface); color: var(--posp-sf-muted);
}
.posp-sf-status-step.is-done {
    background: color-mix(in srgb, var(--posp-sf-primary) 18%, var(--posp-sf-surface));
    color: var(--posp-sf-text); font-weight: 700;
}

.posp-sf-theme-btn {
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
    border: 1px solid var(--posp-sf-line);
    border-radius: 999px;
    background: var(--posp-sf-surface);
    color: var(--posp-sf-text);
    cursor: pointer;
    box-shadow: none;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.posp-sf-nav {
    position: fixed; left: 12px; right: 12px; bottom: calc(8px + var(--posp-sf-safe-bottom)); z-index: 30;
    display: grid; grid-template-columns: repeat(5, 1fr);
    background: color-mix(in srgb, var(--posp-sf-surface) 94%, transparent); border: 1px solid var(--posp-sf-line);
    border-radius: 24px; padding: 8px 4px; box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.posp-sf-nav button {
    border: 0; background: transparent; color: var(--posp-sf-muted); font-size: 10px; font-weight: 700;
    padding: 6px 2px; cursor: pointer;
}
.posp-sf-nav button.is-on { color: var(--posp-sf-primary); }
.posp-sf-nav svg { display: block; margin: 0 auto 3px; width: 22px; height: 22px; }

/* Desktop top nav — hidden on mobile/tablet, visible ≥1024px */
.posp-sf-desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
}
.posp-sf-desktop-nav button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--posp-sf-muted);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.posp-sf-desktop-nav button.is-on {
    background: var(--posp-sf-primary);
    color: #fff;
}
.posp-sf-desktop-nav button:hover { color: var(--posp-sf-text); }
.posp-sf-desktop-nav button.is-on:hover { color: #fff; }
.posp-sf-desktop-nav svg { width: 18px; height: 18px; flex-shrink: 0; }

.posp-sf-toast {
    position: fixed; left: 16px; right: 16px; bottom: calc(102px + var(--posp-sf-safe-bottom));
    background: #111827; color: #fff; padding: 12px 14px; border-radius: 16px; display: none; z-index: 40;
}
.posp-sf-toast.is-on { display: block; }

.posp-sf-gallery {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px;
}
.posp-sf-gallery img {
    width: 100%; height: 120px; object-fit: cover; border-radius: 16px; display: block;
    box-shadow: var(--posp-sf-shadow);
}
.posp-sf-socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.posp-sf-social {
    display: inline-flex; padding: 8px 12px; border-radius: 999px;
    background: color-mix(in srgb, var(--posp-sf-primary) 14%, var(--posp-sf-surface));
    color: var(--posp-sf-text); text-decoration: none; font-size: 12px; font-weight: 700;
}

.posp-sf-sticky-cta {
    position: sticky; bottom: calc(86px + var(--posp-sf-safe-bottom));
    background: color-mix(in srgb, var(--posp-sf-bg) 80%, transparent);
    padding-top: 8px;
}

@media (min-width: 760px) {
    .posp-sf-cats, .posp-sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .posp-storefront-preset-food .posp-sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .posp-storefront-preset-food .posp-sf-card { flex-direction: row; }
    .posp-storefront-preset-retail .posp-sf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .posp-sf-nav { max-width: 480px; left: 50%; right: auto; transform: translateX(-50%); width: calc(100% - 32px); }
    .posp-sf-hero h1 { font-size: 36px; }
    .posp-sf-topbar { padding-left: 18px; padding-right: 18px; }
}

/* ≥1024px: bottom pill → top header nav (keep mobile/tablet bottom as-is) */
@media (min-width: 1024px) {
    .posp-storefront-app {
        padding-bottom: 0;
    }
    .posp-sf-topbar {
        gap: 16px;
        min-height: 60px;
        padding: 10px 20px;
        flex-wrap: nowrap;
    }
    .posp-sf-brand { flex: 0 0 auto; }
    .posp-sf-desktop-nav {
        display: flex;
        flex: 1;
        justify-content: center;
    }
    .posp-sf-nav {
        display: none !important;
    }
    .posp-sf-toast {
        bottom: calc(24px + var(--posp-sf-safe-bottom));
    }
    .posp-sf-sticky-cta {
        bottom: 12px;
    }
}

@media (max-width: 420px) {
    .posp-sf-topbar { gap: 8px; padding-left: 10px; padding-right: 10px; }
    .posp-sf-brand strong { font-size: 15px; }
    .posp-sf-theme-btn { padding: 0 10px; font-size: 10px; }
    .posp-sf-logo, .posp-sf-brand img, .posp-sf-icon-btn, .posp-sf-theme-btn {
        width: 36px; height: 36px;
    }
    .posp-sf-theme-btn { width: auto; min-width: 36px; }
}

/* WP emoji conversion injects <img.emoji> inside .posp-sf-media — keep it icon-sized */
.posp-sf-media img.emoji,
.posp-sf-card .posp-sf-media img {
    width: 42px !important;
    height: 42px !important;
    min-height: 0 !important;
    object-fit: contain;
    background: transparent;
    margin: auto;
}
.posp-storefront-preset-food .posp-sf-media {
    display: grid;
    place-items: center;
    flex: 0 0 118px;
    width: 118px;
    min-height: 118px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--posp-sf-primary) 18%, var(--posp-sf-surface)), var(--posp-sf-line));
}

.posp-sf-staff-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.posp-sf-staff-link {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--posp-sf-line);
    background: var(--posp-sf-surface);
    color: var(--posp-sf-text);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.posp-sf-staff-link:hover { border-color: var(--posp-sf-primary); color: var(--posp-sf-primary); }

.posp-sf-auth-card {
    background: var(--posp-sf-surface);
    border: 1px solid var(--posp-sf-line);
    border-radius: var(--posp-sf-radius);
    box-shadow: var(--posp-sf-shadow);
    padding: 28px 22px;
    text-align: center;
}
.posp-sf-auth-card h2 { margin: 10px 0 6px; font-size: 24px; }
.posp-sf-auth-card-logged { text-align: left; }
.posp-sf-auth-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 18px;
}
.posp-sf-auth-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 8px;
    background: linear-gradient(145deg, color-mix(in srgb, var(--posp-sf-primary) 28%, var(--posp-sf-surface)), var(--posp-sf-surface));
    color: var(--posp-sf-primary);
    font-weight: 700;
    font-size: 20px;
}
.posp-sf-auth-card-logged .posp-sf-auth-avatar { margin: 0; }
.posp-sf-auth-hint { margin-top: 14px; }
.posp-sf-staff-panel {
    margin: 8px 0 18px;
    padding: 14px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--posp-sf-primary) 10%, var(--posp-sf-surface));
    border: 1px solid color-mix(in srgb, var(--posp-sf-primary) 22%, transparent);
}
.posp-sf-staff-panel h3,
.posp-sf-section-title {
    margin: 0 0 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--posp-sf-muted);
}
.posp-sf-btn.wide { width: 100%; justify-content: center; }
.posp-sf-logout { margin-top: 18px; }
.posp-sf-feedback {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--posp-sf-line);
    background: var(--posp-sf-surface);
}
.posp-sf-feedback h3 { margin: 0 0 12px; font-size: 16px; }
.posp-sf-order-line {
    margin-bottom: 8px;
}
.posp-sf-account-feedback {
    margin-top: 8px;
    margin-bottom: 16px;
}
.posp-sf-feedback-done {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: color-mix(in srgb, #16a34a 12%, var(--posp-sf-surface));
}

.posp-sf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.posp-sf-booking-avail { margin: 10px 0; font-size: 13px; color: var(--posp-sf-muted); min-height: 1.4em; }
.posp-sf-nav.has-book { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 420px) {
    .posp-sf-nav.has-book { font-size: 9px; }
    .posp-sf-split { grid-template-columns: 1fr; }
}
