@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #f4f7fb;
    --panel: #ffffff;
    --panel-soft: #f8fafc;
    --text: #101828;
    --muted: #667085;
    --line: #e5eaf2;
    --primary: #0b63f6;
    --primary-dark: #054bbf;
    --accent: #20c997;
    --success: #079455;
    --warning: #f79009;
    --danger: #d92d20;
    --shadow: 0 22px 60px rgba(15, 23, 42, .09);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 0%, rgba(11, 99, 246, .12), transparent 30%),
        radial-gradient(circle at 90% 20%, rgba(32, 201, 151, .12), transparent 28%),
        var(--bg);
    font-weight: 400;
    letter-spacing: -0.015em;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }

.public-shell {
    width: min(100% - 32px, 1300px);
    margin: 0 auto;
}

.public-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(244, 247, 251, .82);
    border-bottom: 1px solid rgba(229, 234, 242, .78);
}

.public-topbar-inner {
    width: min(100% - 32px, 1300px);
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.public-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 900;
    letter-spacing: -.05em;
    box-shadow: 0 14px 30px rgba(11, 99, 246, .22);
}

.public-brand strong,
.restaurant-title h1,
.section-title h2,
.product-info h3 {
    letter-spacing: -0.045em;
}

.public-brand strong {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.public-brand span {
    display: block;
    margin-top: 1px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

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

.btn {
    border: 0;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 30px rgba(11, 99, 246, .18);
}
.btn-light {
    color: #1f2937;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.btn-whatsapp {
    color: #fff;
    background: linear-gradient(135deg, #12b76a, #079455);
    box-shadow: 0 14px 30px rgba(18, 183, 106, .20);
}

.hero {
    margin-top: 24px;
    border-radius: 34px;
    overflow: hidden;
    background: #0b1b38;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-cover {
    min-height: 310px;
    background:
        linear-gradient(135deg, rgba(7, 19, 41, .82), rgba(7, 19, 41, .35)),
        linear-gradient(135deg, #0b63f6, #20c997);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 32px;
}

.hero-content {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    color: #fff;
}

.restaurant-logo {
    width: 98px;
    height: 98px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.60);
    box-shadow: 0 18px 45px rgba(0,0,0,.20);
    color: var(--primary);
    font-size: 38px;
}

.restaurant-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-title h1 {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.02;
    font-weight: 900;
    text-shadow: 0 2px 18px rgba(0,0,0,.20);
}

.restaurant-title p {
    margin: 10px 0 0;
    max-width: 680px;
    color: rgba(255,255,255,.88);
    line-height: 1.6;
    font-size: 15px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.20);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(12px);
}

.hero-cta {
    display: grid;
    gap: 10px;
    min-width: 180px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
}

.info-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #eef4ff;
    font-size: 20px;
}

.info-card strong,
.info-card span {
    display: block;
}
.info-card strong { font-size: 14px; font-weight: 800; }
.info-card span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.layout-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 70px;
}

.categories-panel,
.menu-panel,
.empty-panel,
.not-found-card {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.categories-panel {
    position: sticky;
    top: 96px;
    padding: 16px;
}

.categories-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 900;
}

.category-list {
    display: grid;
    gap: 8px;
}

.category-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 15px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    font-weight: 700;
    font-size: 13px;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.category-pill:hover,
.category-pill.active {
    transform: translateX(2px);
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.category-pill em {
    font-style: normal;
    font-size: 11px;
    opacity: .75;
}

.menu-panel {
    padding: 22px;
}

.section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.product-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--panel-soft);
    border-radius: 22px;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .10);
    background: #fff;
}

.product-image {
    width: 132px;
    height: 132px;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef4ff, #e8fff8);
    color: var(--primary);
    font-size: 35px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.22;
    font-weight: 850;
}

.product-info p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.product-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #edf2f7;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.product-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
}

.price strong {
    display: block;
    color: var(--primary-dark);
    font-size: 20px;
    font-weight: 900;
}

.price del {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.product-order {
    min-height: 36px;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 12px;
}

.category-section {
    scroll-margin-top: 105px;
    margin-bottom: 28px;
}

.category-section:last-child { margin-bottom: 0; }
.category-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
}
.category-heading::before {
    content: "";
    width: 9px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.empty-panel,
.not-found-card {
    text-align: center;
    padding: 48px 22px;
}

.empty-panel strong,
.not-found-card strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.empty-panel p,
.not-found-card p {
    margin: 9px auto 0;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.6;
}

.not-found-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.footer {
    padding: 26px 0 34px;
    color: var(--muted);
    text-align: center;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .layout-grid { grid-template-columns: 1fr; }
    .categories-panel { position: static; }
    .category-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .public-shell,
    .public-topbar-inner { width: min(100% - 20px, 1300px); }
    .public-topbar-inner { min-height: auto; padding: 12px 0; }
    .topbar-actions .btn-light { display: none; }
    .hero { border-radius: 24px; margin-top: 14px; }
    .hero-cover { min-height: 360px; padding: 22px; }
    .hero-content { grid-template-columns: 1fr; align-items: start; }
    .restaurant-logo { width: 82px; height: 82px; border-radius: 24px; }
    .hero-cta { min-width: 0; }
    .hero-cta .btn { width: 100%; }
    .info-grid { grid-template-columns: 1fr; gap: 10px; }
    .menu-panel { padding: 16px; border-radius: 22px; }
    .section-title { align-items: flex-start; flex-direction: column; }
    .section-title h2 { font-size: 24px; }
    .products-grid { grid-template-columns: 1fr; }
    .product-card { grid-template-columns: 104px minmax(0, 1fr); }
    .product-image { width: 104px; height: 104px; border-radius: 16px; }
    .product-info h3 { font-size: 15px; }
    .product-info p { display: none; }
    .product-bottom { align-items: flex-start; flex-direction: column; }
    .product-order { width: 100%; }
    .category-list { grid-template-columns: 1fr; }
}

@media (max-width: 460px) {
    .public-brand span { display: none; }
    .public-brand strong { font-size: 18px; }
    .brand-mark { width: 42px; height: 42px; border-radius: 15px; }
    .hero-cover { min-height: 330px; }
    .restaurant-title h1 { font-size: 32px; }
    .product-card { grid-template-columns: 1fr; }
    .product-image { width: 100%; height: 170px; }
}
