:root {
    --ss-primary: #7c3aed;
    --ss-primary-dark: #5b21b6;
    --ss-accent: #f97316;
    --ss-surface: #ffffff;
    --ss-muted: #6b7280;
    --ss-bg: #f6f7fb;
    --ss-border: #e5e7eb;
}

body {
    background: radial-gradient(circle at 15% 20%, rgba(124,58,237,.06), transparent 30%),
                radial-gradient(circle at 80% 0%, rgba(249,115,22,.08), transparent 28%),
                var(--ss-bg);
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: #0f172a;
}

.cardapio-wrapper {
    padding-top: 1.25rem !important;
    padding-bottom: 2rem !important;
}

.cardapio-wrapper .row.align-items-start { row-gap: 1.5rem; }

.ss-nav {
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ss-nav .nav-link { color: rgba(255,255,255,0.82); }
.ss-nav .nav-link:hover, .ss-nav .nav-link:focus { color: #fff; }

.ss-nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
    display: grid;
    place-items: center;
    transition: all .2s ease;
}

.ss-nav-toggle:hover { transform: translateY(-1px) scale(1.02); }

.ss-logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(124,58,237,0.28);
}

.hero-cover {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(120deg, rgba(17,24,39,0.75), rgba(17,24,39,0.35)), url('../img/hero-food.svg') center/cover no-repeat;
    min-height: 320px;
    color: #fff;
}

.hero-cover .hero-content { padding-top: 2.5rem; padding-bottom: 2.5rem; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.68) 100%);
}

.hero-content { position: relative; z-index: 2; }

.restaurant-card {
    margin-top: -120px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 38px rgba(15,23,42,0.18);
    border: 1px solid rgba(255,255,255,0.6);
}

.restaurant-card .badge { font-weight: 600; }

.section-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.section-title .bar {
    width: 38px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #f97316);
    border-radius: 999px;
}

.category-chip {
    border-radius: 999px;
    border: 1px solid var(--ss-border);
    color: #0f172a;
    background: #fff;
    padding: .35rem 1rem;
    cursor: pointer;
    transition: all .2s ease;
}

.category-chip.active, .category-chip:hover { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }

.product-card {
    border: 1px solid rgba(15,23,42,0.05);
    box-shadow: 0 12px 24px rgba(15,23,42,0.06);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product-card:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(15,23,42,0.12); }

.product-card .ratio { border-bottom: 1px solid rgba(15,23,42,0.05); }

.product-card .p-3 { padding: 1rem !important; }

.product-card img { object-fit: cover; }

.price-tag { font-weight: 700; color: #0f172a; font-size: 1.05rem; }

.btn-add {
    border-radius: 999px;
    padding-inline: 1.25rem;
    font-weight: 600;
}

.cart-panel {
    position: sticky;
    top: 96px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(15,23,42,0.12);
    border: 1px solid rgba(15,23,42,0.06);
    max-width: 420px;
}

#carrinho.cart-highlight .cart-panel { box-shadow: 0 0 0 3px rgba(124,58,237,0.25); }

.cart-item { border-bottom: 1px dashed var(--ss-border); }

.cart-item:last-child { border-bottom: none; }

.cart-floating {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f172a;
    color: #fff;
    padding: .9rem 1.2rem;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    z-index: 1050;
}

.cart-floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.12);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.bottom-sheet.offcanvas-bottom {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    height: 80vh;
    max-height: 90vh;
}

.bottom-sheet .offcanvas-body {
    max-height: calc(80vh - 64px);
    overflow-y: auto;
    padding-bottom: 1.25rem;
}

.progress-soft {
    height: 8px;
    background: #ede9fe;
    border-radius: 999px;
}

.progress-soft .progress-bar {
    background: linear-gradient(90deg, #7c3aed, #22d3ee);
    border-radius: 999px;
}

.badge-open { background: #dcfce7; color: #15803d; }
.badge-closed { background: #fee2e2; color: #b91c1c; }

.hero-meta { color: rgba(255,255,255,0.82); }

.checkout-form .form-control, .checkout-form .form-select { border-radius: 12px; }

.placeholder-img {
    background: #f3f4f6;
    border: 1px dashed var(--ss-border);
}
