/* =========================================================
   FluxPedidos — catálogo público mobile-first
   ========================================================= */
:root {
    --brand: #FF3D00;
    --brand-dark: #c63000;
    --brand-soft: #ffe9e0;
    --bg: #f6f7fb;
    --surface: #ffffff;
    --text: #1c1f2a;
    --text-soft: #6b7280;
    --line: #ececf2;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
    --shadow-md: 0 6px 18px rgba(15,23,42,.08);
    --shadow-lg: 0 24px 48px rgba(15,23,42,.18);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --safe-bottom: env(safe-area-inset-bottom);
}

* { box-sizing: border-box; }
html, body {
    margin: 0; padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.has-cart-cta {
    padding-bottom: calc(84px + var(--safe-bottom));
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    background-size: cover;
    background-position: center var(--cover-offset, 50%);
    background-repeat: no-repeat;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55));
    pointer-events: none;
}
.hero.no-cover {
    background-image: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 60%),
                      linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.store-card {
    margin: -60px 16px 0 16px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 16px 18px 18px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    align-items: center;
}
.store-logo {
    width: 84px;
    height: 84px;
    background: var(--surface);
    border: 4px solid var(--surface);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    grid-row: span 2;
    display: grid; place-items: center;
    color: var(--brand);
    font-size: 28px;
    font-weight: 800;
}
.store-logo.circle { border-radius: 50%; }
.store-logo.square { border-radius: 16px; }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }

.store-name { font-size: 20px; font-weight: 800; margin: 0; line-height: 1.1; }
.store-meta { font-size: 13px; color: var(--text-soft); margin: 0; }
.store-status {
    grid-column: span 2;
    display: flex; align-items: center; gap: 8px;
    margin-top: 6px;
    font-size: 13px; color: var(--text-soft);
}
.status-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border-radius: 999px;
    font-weight: 600; font-size: 12px;
}
.status-pill.open    { background: #dcfce7; color: #166534; }
.status-pill.closed  { background: #fee2e2; color: #991b1b; }
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.store-actions {
    grid-column: span 2;
    display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.btn-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 12px; border-radius: 999px;
    background: #f1f3f9; color: var(--text);
    font-size: 12px; font-weight: 600;
    border: 1px solid var(--line);
}
.btn-chip svg { width: 14px; height: 14px; }

.store-desc {
    grid-column: span 2;
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.5;
}

/* ---------- Search bar sticky ---------- */
.search-wrap {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg);
    padding: 14px 16px 8px;
    backdrop-filter: blur(8px);
}
.search-box {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    display: flex; align-items: center;
}
.search-box svg { width: 18px; height: 18px; color: var(--text-soft); margin: 0 12px; flex-shrink: 0; }
.search-box input {
    border: 0; outline: 0;
    flex: 1; padding: 12px 12px 12px 0;
    background: transparent; font-size: 15px; color: var(--text);
}
.search-box .clear-btn {
    border: 0; background: transparent; color: var(--text-soft);
    padding: 0 12px; font-size: 18px; height: 100%;
    display: none;
}
.search-box.has-text .clear-btn { display: block; }

/* ---------- Category chips ---------- */
.cat-chips {
    position: sticky; top: 64px;
    z-index: 49;
    background: var(--bg);
    padding: 4px 16px 12px;
    display: flex; gap: 8px;
    overflow-x: auto; overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
    flex-shrink: 0;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px; font-weight: 600;
    color: var(--text-soft);
    transition: all .15s ease;
    white-space: nowrap;
}
.cat-chip.active {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
    box-shadow: 0 4px 12px rgba(255, 61, 0, .25);
}

/* ---------- Sections / categories ---------- */
.cat-section {
    margin: 8px 0 0;
    padding: 10px 0 4px;
    scroll-margin-top: 130px;
}
.cat-section h3 {
    margin: 0 0 10px;
    padding: 0 16px;
    font-size: 18px; font-weight: 800;
    letter-spacing: -0.01em;
}

/* ---------- Product cards ---------- */
.products {
    display: flex; flex-direction: column;
    gap: 10px;
    padding: 0 16px 8px;
}
.product {
    display: grid;
    grid-template-columns: 1fr 100px;
    gap: 12px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 14px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .15s ease;
    position: relative;
}
.product:active { transform: scale(.99); }
.product:hover { border-color: var(--line); box-shadow: var(--shadow-md); }
.product .info { min-width: 0; }
.product .name { font-size: 15px; font-weight: 700; line-height: 1.25; margin: 0 0 4px; color: var(--text); }
.product .desc {
    font-size: 13px; color: var(--text-soft);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product .price-row { display: flex; align-items: baseline; gap: 8px; }
.product .price { font-size: 16px; font-weight: 800; color: var(--brand); }
.product .price-extra { font-size: 12px; color: var(--text-soft); }
.product .img-wrap {
    width: 100px; height: 100px;
    border-radius: 12px;
    background: var(--bg);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.product .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product .add-btn {
    position: absolute;
    bottom: 6px; right: 6px;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: #fff;
    border: 3px solid var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px; font-weight: 700; line-height: 1;
    box-shadow: var(--shadow-md);
    padding: 0;
}
.featured-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--brand);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    z-index: 2;
}

/* Featured (destaque) card */
.featured {
    background: linear-gradient(135deg, var(--brand-soft), #fff);
    border: 1px solid var(--brand-soft);
}

/* ---------- Empty / not found ---------- */
.empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-soft);
}
.empty svg { width: 64px; height: 64px; opacity: .3; margin: 0 auto 12px; display: block; }

/* ---------- Bottom CTA carrinho ---------- */
.cart-cta {
    position: fixed;
    left: 16px; right: 16px;
    bottom: calc(16px + var(--safe-bottom));
    z-index: 80;
    background: var(--brand);
    color: #fff;
    border: 0;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 15px; font-weight: 700;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 18px 30px rgba(255, 61, 0, .3);
    transform: translateY(150%);
    transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.cart-cta.visible { transform: translateY(0); }
.cart-cta .qty {
    background: rgba(255,255,255,.2);
    padding: 4px 10px; border-radius: 999px;
    font-size: 13px; margin-right: 10px;
}
.cart-cta .total { font-size: 16px; }
.cart-cta .arrow { margin-left: auto; }

/* ---------- Bottom sheet (carrinho / produto) ---------- */
.sheet-mask {
    position: fixed; inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 90;
    opacity: 0; pointer-events: none;
    transition: opacity .2s ease;
    backdrop-filter: blur(2px);
}
.sheet-mask.open { opacity: 1; pointer-events: all; }

.sheet {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 91;
    background: var(--surface);
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    transform: translateY(calc(100% + 30px));
    transition: transform .3s cubic-bezier(.4,0,.2,1), visibility .3s;
    display: flex; flex-direction: column;
    box-shadow: 0 -10px 40px rgba(0,0,0,.2);
    visibility: hidden;
}
.sheet.open {
    transform: translateY(0);
    visibility: visible;
}
.sheet-grip {
    width: 40px; height: 4px; border-radius: 2px;
    background: #d4d6de; margin: 8px auto 4px;
    flex-shrink: 0;
}
.sheet-header {
    padding: 12px 18px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
}
.sheet-title { font-size: 16px; font-weight: 800; margin: 0; }
.sheet-close {
    background: transparent; border: 0;
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--text-soft);
    font-size: 22px;
}
.sheet-body {
    overflow-y: auto;
    padding: 14px 18px;
    flex: 1;
}
.sheet-footer {
    padding: 12px 18px calc(12px + var(--safe-bottom));
    border-top: 1px solid var(--line);
    background: var(--surface);
    flex-shrink: 0;
}

/* ---------- Cart items ---------- */
.cart-empty {
    text-align: center; padding: 30px 12px;
    color: var(--text-soft);
}
.cart-empty svg { width: 80px; height: 80px; opacity: .25; margin: 0 auto 12px; display: block; }

.cart-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.cart-item .name { font-size: 14px; font-weight: 700; margin: 0 0 2px; }
.cart-item .meta { font-size: 12px; color: var(--text-soft); margin: 0; }
.cart-item .price { font-size: 14px; font-weight: 800; color: var(--brand); margin-top: 2px; }
.qty-stepper {
    display: inline-flex; align-items: center; gap: 0;
    border: 1px solid var(--line); border-radius: 999px;
    overflow: hidden;
}
.qty-stepper button {
    width: 30px; height: 30px; border: 0; background: transparent;
    color: var(--text); font-size: 16px; font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.qty-stepper button:disabled { color: #c8cad2; }
.qty-stepper .val { width: 28px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-item .remove {
    background: transparent; border: 0; color: var(--danger);
    font-size: 18px; margin-top: 4px;
}

/* ---------- Form (carrinho extra) ---------- */
.field { margin: 14px 0; }
.field label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; color: var(--text-soft); }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, .field select {
    width: 100%; padding: 11px 12px;
    border: 1px solid var(--line); border-radius: 10px;
    font-size: 14px; background: var(--surface);
    color: var(--text); outline: 0; font-family: inherit;
}
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field textarea:focus { border-color: var(--brand); }
.option-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px;
    border: 1px solid var(--line); border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .15s ease;
}
.option-card.active {
    border-color: var(--brand);
    background: var(--brand-soft);
}
.option-card input[type="radio"] {
    margin: 0;
    accent-color: var(--brand);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
}
.option-card .lbl { font-size: 14px; font-weight: 600; }
.option-card .sub { font-size: 12px; color: var(--text-soft); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 16px;
    border-radius: 12px;
    border: 0;
    font-size: 15px; font-weight: 700;
    cursor: pointer;
    transition: all .15s ease;
    width: 100%;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--brand); }

/* ---------- Resumo (totais) ---------- */
.summary { padding: 8px 0; }
.summary-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; color: var(--text-soft); }
.summary-row.total { font-weight: 800; font-size: 17px; color: var(--text); margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }

/* ---------- Modal de produto (detalhe) ---------- */
.product-modal .img-cover {
    width: 100%; height: 280px;
    object-fit: cover;
    border-radius: 12px;
}
.product-modal h2 { font-size: 20px; margin: 12px 0 4px; font-weight: 800; }
.product-modal .desc { color: var(--text-soft); font-size: 14px; line-height: 1.5; }

/* ---------- Loja não encontrada / home ---------- */
.landing {
    max-width: 600px; margin: 0 auto; padding: 40px 20px;
    text-align: center;
}
.landing .logo {
    width: 96px; height: 96px;
    background: var(--brand); color: #fff;
    margin: 0 auto 16px;
    border-radius: 24px;
    display: grid; place-items: center;
    font-size: 36px; font-weight: 800;
    box-shadow: 0 10px 30px rgba(255,61,0,.25);
}
.landing h1 { font-size: 28px; font-weight: 800; margin: 0 0 8px; }
.landing p  { color: var(--text-soft); line-height: 1.5; }

/* ---------- Desktop ---------- */
@media (min-width: 720px) {
    body { background: var(--bg); }
    .hero { height: 280px; }
    .store-card { max-width: 720px; margin: -70px auto 0; }
    .search-wrap, .cat-chips, .cat-section, .cart-cta {
        max-width: 720px;
        margin-left: auto; margin-right: auto;
    }
    .cart-cta { left: 50%; right: auto; transform: translate(-50%, 150%); width: 360px; }
    .cart-cta.visible { transform: translate(-50%, 0); }

    .products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .sheet {
        max-width: 480px;
        left: 50%;
        transform: translate(-50%, calc(100% + 30px));
        border-radius: 24px;
        max-height: 88vh;
        bottom: 16px;
    }
    .sheet.open { transform: translate(-50%, 0); }
}

@media (min-width: 1024px) {
    .products { grid-template-columns: repeat(2, 1fr); }
    .store-card, .search-wrap, .cat-chips, .cat-section { max-width: 880px; }
    .cart-cta { width: 360px; }
}

/* ---------- Animations ---------- */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.cart-cta.bump { animation: pulse .3s ease; }

/* =========================================================
   FluxPedidos — Landing page (home) e 404
   ========================================================= */
.fp-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Hero ---------- */
.fp-hero {
    position: relative;
    padding: 60px 20px 80px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, #ffe9e0 0%, #f6f7fb 60%);
}
.fp-hero-bg {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255,61,0,.08) 0, transparent 30%),
        radial-gradient(circle at 90% 60%, rgba(37,99,235,.08) 0, transparent 35%);
    pointer-events: none;
}
.fp-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.fp-hero-logo {
    height: 190px; width: auto; max-width: 100%;
    margin: 0 auto 22px;
    display: block;
    filter: drop-shadow(0 8px 20px rgba(255,61,0,.18));
}
.fp-hero-title {
    font-size: 38px; font-weight: 800;
    line-height: 1.15; letter-spacing: -0.02em;
    margin: 0 0 16px; color: var(--text);
}
.fp-hero-sub {
    font-size: 17px; color: var(--text-soft);
    line-height: 1.55; margin: 0 auto 28px;
    max-width: 600px;
}
.fp-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15,23,42,.08);
    font-size: 14px; font-weight: 500;
    border: 1px solid var(--line);
}
.fp-hero-badge .badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(34,197,94,.2);
}

@media (max-width: 720px) {
    .fp-hero { padding: 40px 16px 50px; }
    .fp-hero-logo { height: 140px; }
    .fp-hero-title { font-size: 28px; }
    .fp-hero-sub { font-size: 15px; }
}

/* Features ---------- */
.fp-features { padding: 60px 0 30px; background: #fff; }
.fp-features h2 {
    text-align: center; font-size: 28px; font-weight: 800;
    margin: 0 0 36px; color: var(--text);
    letter-spacing: -0.01em;
}
.fp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.fp-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    transition: all .2s;
}
.fp-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.fp-card-ic {
    width: 48px; height: 48px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 22px;
    margin-bottom: 14px;
}
.fp-card h3 {
    margin: 0 0 6px;
    font-size: 16px; font-weight: 800;
    color: var(--text);
}
.fp-card p {
    margin: 0; font-size: 14px;
    color: var(--text-soft); line-height: 1.55;
}
@media (max-width: 900px) {
    .fp-grid { grid-template-columns: repeat(2, 1fr); }
    .fp-features h2 { font-size: 24px; }
}
@media (max-width: 600px) {
    .fp-grid { grid-template-columns: 1fr; }
}

/* Carrossel de lojas ---------- */
.fp-stores {
    padding: 60px 0;
    background: var(--bg);
}
.fp-stores h2 {
    text-align: center; font-size: 26px;
    margin: 0 0 8px; font-weight: 800;
    color: var(--text);
}
.fp-stores-sub {
    text-align: center; color: var(--text-soft);
    margin: 0 0 28px; font-size: 14px;
}
.fp-carousel {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.fp-carousel-track {
    display: flex; gap: 14px;
    animation: scrollX 40s linear infinite;
    width: max-content;
}
.fp-carousel:hover .fp-carousel-track { animation-play-state: paused; }
@keyframes scrollX {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.fp-store-pill {
    display: flex; align-items: center; gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 18px 10px 10px;
    font-size: 14px; font-weight: 600;
    color: var(--text); white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}
.fp-store-pill:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,61,0,.15);
}
.fp-store-pill img {
    width: 36px; height: 36px;
    border-radius: 50%; object-fit: cover;
    background: var(--bg);
}

/* CTA final ---------- */
.fp-cta { padding: 70px 0; background: #fff; }
.fp-cta-card {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border-radius: 24px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(255,61,0,.25);
}
.fp-cta-card h2 {
    color: #fff; font-size: 28px; font-weight: 800;
    margin: 0 0 24px;
}
.fp-steps {
    list-style: none; counter-reset: step;
    padding: 0; margin: 0 0 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto; margin-right: auto;
}
.fp-steps li {
    counter-increment: step;
    padding: 10px 0 10px 44px;
    position: relative;
    font-size: 15px; line-height: 1.5;
}
.fp-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: 8px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #fff; font-weight: 800; font-size: 14px;
    display: grid; place-items: center;
}
.fp-steps a { color: #fff; text-decoration: underline; }
.fp-btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: #fff;
    color: var(--brand);
    border-radius: 999px;
    font-weight: 800; font-size: 15px;
    text-decoration: none;
    transition: all .15s;
    border: 0; cursor: pointer;
}
.fp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,.15);
}
.fp-btn-ghost {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 700; font-size: 15px;
    text-decoration: none;
}
@media (max-width: 600px) {
    .fp-cta-card { padding: 36px 24px; }
    .fp-cta-card h2 { font-size: 22px; }
}

/* 404 — Loja não encontrada ---------- */
.fp-404 {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    text-align: center;
}
.fp-404-illustration svg { width: 200px; height: auto; margin: 0 auto 24px; display: block; }
.fp-404-title {
    font-size: 32px; font-weight: 800;
    margin: 0 0 12px; color: var(--text);
    letter-spacing: -0.01em;
}
.fp-404-sub {
    font-size: 16px; color: var(--text-soft);
    line-height: 1.5; margin: 0 0 20px;
}
.fp-404-code {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'Consolas', monospace;
    font-size: 14px;
    margin-top: 6px;
}
.fp-404-tips {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 24px;
    text-align: left;
    margin: 30px 0;
}
.fp-404-tips h3 {
    margin: 0 0 10px; font-size: 14px;
    color: var(--text); font-weight: 700;
}
.fp-404-tips ul {
    margin: 0; padding-left: 18px;
    color: var(--text-soft); font-size: 14px;
    line-height: 1.8;
}
.fp-404-actions {
    display: flex; gap: 10px;
    justify-content: center; flex-wrap: wrap;
    margin-bottom: 36px;
}
.fp-404-brand { opacity: .6; }

/* Rodapé global ---------- */
.fp-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 18px 20px calc(18px + var(--safe-bottom));
    margin-top: 40px;
}
.fp-footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 4px 10px;
    font-size: 12px; color: var(--text-soft);
    text-align: center;
}
.fp-footer-sep { color: #c8cad2; }

/* Não conflitar com cart-cta fixo no catálogo */
body.has-cart-cta .fp-footer { margin-bottom: 80px; }
