:root {
    color-scheme: light;
    --sg3-green: #198754;
    --sg3-green-dark: #146c43;
    --sg3-green-soft: #dff3e9;
    --sg3-sidebar: #edf5f0;
    --sg3-bg: #f4f7f5;
    --sg3-panel: #ffffff;
    --sg3-line: #d7e2db;
    --sg3-text: #21332a;
    --sg3-muted: #607466;
    --sg3-shadow: 0 16px 40px rgba(18, 52, 35, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    background: var(--sg3-bg);
    color: var(--sg3-text);
}

a {
    color: inherit;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.app-sidebar {
    background: var(--sg3-sidebar);
    border-right: 1px solid var(--sg3-line);
    padding: 20px 16px;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    text-decoration: none;
}

.app-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.app-brand span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sg3-green-dark);
}

.sidebar-group-title {
    margin: 20px 10px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--sg3-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sidebar-nav {
    display: grid;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--sg3-text);
    transition: 0.2s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background: #ffffff;
    box-shadow: var(--sg3-shadow);
}

.sidebar-badge {
    margin-left: auto;
    min-width: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--sg3-green-soft);
    color: var(--sg3-green-dark);
    font-size: 0.78rem;
    text-align: center;
}

.app-main {
    min-width: 0;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 18px 28px;
    background: var(--sg3-green);
    color: #fff;
}

.app-header h1 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.app-header p {
    margin: 4px 0 0;
    font-size: 0.92rem;
    opacity: 0.84;
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.2);
}

.header-user strong {
    display: block;
    font-size: 0.95rem;
}

.header-user span {
    font-size: 0.82rem;
    opacity: 0.82;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.btn-primary {
    background: var(--sg3-green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--sg3-green-dark);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-light {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.2);
}

.content {
    padding: 28px;
}

.flash-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
}

.flash-sucesso {
    background: #e4f5eb;
    color: #12623e;
}

.flash-erro {
    background: #fde7e6;
    color: #a12f2c;
}

.grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.card {
    background: var(--sg3-panel);
    border: 1px solid var(--sg3-line);
    border-radius: 18px;
    box-shadow: var(--sg3-shadow);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--sg3-line);
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-size: 1rem;
}

.card-body {
    padding: 22px;
}

.page-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 18px;
}

.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--sg3-line);
    text-align: left;
}

.admin-table th {
    color: var(--sg3-muted);
    font-size: 0.9rem;
}

.btn-inline {
    padding: 8px 12px;
}

.admin-form .card-body + .card-body {
    border-top: 1px solid var(--sg3-line);
}

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

.form-group-full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.check-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
}

.hero-title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.hero-text {
    margin: 0 0 22px;
    max-width: 680px;
    color: var(--sg3-muted);
    font-size: 1rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat {
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbf9, #eef5f1);
    border: 1px solid var(--sg3-line);
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--sg3-green-dark);
}

.stat span {
    font-size: 0.88rem;
    color: var(--sg3-muted);
}

.list-clean {
    margin: 0;
    padding-left: 18px;
    color: var(--sg3-muted);
}

.list-clean li + li {
    margin-top: 10px;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(340px, 0.85fr);
    background:
        linear-gradient(135deg, rgba(25, 135, 84, 0.96), rgba(19, 104, 65, 0.92)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 28%);
}

.login-showcase {
    padding: 56px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.3rem;
    font-weight: 700;
}

.login-brand img {
    width: 52px;
    height: 52px;
}

.login-copy h1 {
    margin: 0 0 16px;
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.95;
}

.login-copy p {
    margin: 0;
    max-width: 540px;
    font-size: 1.05rem;
    opacity: 0.88;
}

.login-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.login-point {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
}

.login-panel {
    display: grid;
    place-items: center;
    padding: 32px;
    background:
        radial-gradient(circle at top right, rgba(25, 135, 84, 0.12), transparent 20%),
        #eef4ef;
}

.login-card {
    width: min(100%, 430px);
    background: #fff;
    border: 1px solid var(--sg3-line);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(20, 54, 36, 0.14);
    padding: 34px;
}

.login-card h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
}

.login-card p {
    margin: 0 0 22px;
    color: var(--sg3-muted);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #c9d8ce;
    border-radius: 12px;
    outline: 0;
}

.form-group input:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.form-error,
.hint-box {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.form-error {
    background: #fde7e6;
    color: #a12f2c;
}

.hint-box {
    margin-top: 18px;
    background: #f1f8f4;
    color: var(--sg3-muted);
}

.empty-state {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f9fcfa, #eef5f1);
    border: 1px solid var(--sg3-line);
}

@media (max-width: 980px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        display: none;
    }

    .grid,
    .login-page,
    .login-points,
    .stats,
    .form-columns {
        grid-template-columns: 1fr;
    }

    .login-showcase,
    .login-panel,
    .content {
        padding: 24px;
    }

    .app-header {
        padding: 18px 20px;
        align-items: flex-start;
        flex-direction: column;
    }
}

.public-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(25, 135, 84, 0.16), transparent 32%),
        linear-gradient(180deg, #f4f7f5 0%, #edf5f0 100%);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.public-hero {
    padding: 22px 4px 18px;
}

.public-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--sg3-green-soft);
    color: var(--sg3-green-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.public-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(2rem, 7vw, 3.5rem);
    line-height: 1;
}

.public-hero p {
    margin: 0;
    max-width: 720px;
    color: var(--sg3-muted);
    font-size: 1.02rem;
}

.public-card {
    background: var(--sg3-panel);
    border: 1px solid var(--sg3-line);
    border-radius: 24px;
    box-shadow: var(--sg3-shadow);
    padding: 22px;
}

.public-status {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.public-status-ativo {
    background: #e4f5eb;
    color: #12623e;
}

.public-status-fechado {
    background: #fff4d6;
    color: #8a6500;
}

.public-status-inativo,
.public-status-erro {
    background: #fff0e8;
    color: #a34d22;
}

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

.public-item {
    padding: 16px;
    border: 1px solid var(--sg3-line);
    border-radius: 18px;
    background: #fbfdfb;
}

.public-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--sg3-muted);
    font-size: 0.86rem;
}

.public-item strong {
    font-size: 1rem;
}

.public-note {
    margin-top: 20px;
    padding: 16px 18px;
    border-left: 4px solid var(--sg3-green);
    background: #f7fbf8;
    border-radius: 14px;
}

.catalog-section {
    margin-top: 28px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.catalog-header,
.category-head,
.product-card,
.product-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.catalog-header {
    margin-bottom: 18px;
}

.catalog-search {
    width: min(100%, 320px);
}

.catalog-search input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #c9d8ce;
    border-radius: 14px;
    outline: 0;
    font: inherit;
    background: #fff;
}

.catalog-search input:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.catalog-header h2,
.category-head h3,
.product-topline h4 {
    margin: 0;
}

.catalog-header span,
.category-head span {
    color: var(--sg3-muted);
    font-size: 0.9rem;
}

.category-block + .category-block {
    margin-top: 24px;
}

.category-head {
    margin-bottom: 14px;
}

.product-list {
    display: grid;
    gap: 14px;
}

.product-card {
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--sg3-line);
    border-radius: 18px;
    background: #fbfdfb;
}

.product-copy {
    min-width: 0;
}

.product-copy p {
    margin: 8px 0 0;
    color: var(--sg3-muted);
}

.product-side {
    min-width: 120px;
    text-align: right;
}

.product-side strong {
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.cart-add-button {
    width: 100%;
}

.cart-add-button.is-added {
    background: #0f5d39;
}

.product-badge,
.product-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-badge {
    background: #fff4d6;
    color: #8a6500;
}

.product-flag.is-available {
    background: #e4f5eb;
    color: #12623e;
}

.product-flag.is-unavailable {
    background: #fde7e6;
    color: #a12f2c;
}

.cart-panel {
    position: sticky;
    top: 18px;
    padding: 20px;
    border: 1px solid var(--sg3-line);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #f6faf7);
    box-shadow: var(--sg3-shadow);
}

.cart-header,
.cart-item-top,
.cart-item-middle,
.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-header {
    margin-bottom: 18px;
}

.cart-header h2 {
    margin: 4px 0 0;
}

.cart-kicker {
    color: var(--sg3-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cart-count-badge {
    min-width: 84px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--sg3-green-soft);
    color: var(--sg3-green-dark);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
}

.cart-items {
    display: grid;
    gap: 14px;
}

.cart-item {
    padding: 16px;
    border: 1px solid var(--sg3-line);
    border-radius: 18px;
    background: #fbfdfb;
}

.cart-item-top span {
    display: block;
    margin-top: 4px;
    color: var(--sg3-muted);
    font-size: 0.84rem;
}

.cart-item-middle {
    margin: 14px 0;
}

.cart-remove-button,
.qty-control button {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
}

.cart-remove-button {
    padding: 8px 10px;
    background: #fde7e6;
    color: #a12f2c;
    font-weight: 700;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.qty-control button {
    width: 32px;
    height: 32px;
    background: #edf5f0;
    color: var(--sg3-green-dark);
    font-size: 1rem;
    font-weight: 700;
}

.qty-control span {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}

.cart-note-label {
    display: block;
}

.cart-note-label span {
    display: block;
    margin-bottom: 8px;
    color: var(--sg3-muted);
    font-size: 0.86rem;
}

.cart-note-label textarea {
    width: 100%;
    resize: vertical;
    min-height: 72px;
    padding: 12px 14px;
    border: 1px solid #c9d8ce;
    border-radius: 12px;
    outline: 0;
    font: inherit;
}

.cart-note-label textarea:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.cart-summary {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--sg3-line);
}

.cart-summary-row + .cart-summary-row {
    margin-top: 10px;
}

.checkout-form {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--sg3-line);
}

.checkout-head h3 {
    margin: 0 0 6px;
}

.checkout-head p {
    margin: 0 0 18px;
    color: var(--sg3-muted);
}

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

.checkout-form select,
.checkout-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #c9d8ce;
    border-radius: 12px;
    outline: 0;
    font: inherit;
    background: #fff;
}

.checkout-form select:focus,
.checkout-form textarea:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.checkout-address.is-disabled {
    opacity: 0.62;
}

.checkout-preview {
    margin-top: 10px;
    padding: 16px;
    border: 1px solid var(--sg3-line);
    border-radius: 16px;
    background: #fbfdfb;
}

.checkout-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.checkout-secondary-button {
    background: #edf5f0;
    color: var(--sg3-green-dark);
    border-color: var(--sg3-line);
}

.checkout-secondary-button:hover {
    background: #e4efe8;
}

.cart-floating-button {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--sg3-green-dark);
    color: #fff;
    box-shadow: 0 16px 40px rgba(18, 52, 35, 0.2);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cart-floating-button span {
    min-width: 28px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    text-align: center;
}

@media (max-width: 900px) {
    .public-grid,
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-header,
    .category-head,
    .product-card,
    .product-topline {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-search {
        width: 100%;
    }

    .product-side {
        min-width: 0;
        text-align: left;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        grid-template-columns: 1fr;
    }

    .cart-panel {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        top: auto;
        z-index: 30;
        border-radius: 24px 24px 0 0;
        transform: translateY(calc(100% - 88px));
        transition: transform 0.25s ease;
        max-height: 75vh;
        overflow: auto;
    }

    .cart-panel.is-open {
        transform: translateY(0);
    }

    .cart-floating-button {
        display: inline-flex;
    }

    .public-shell {
        padding-bottom: 132px;
    }
}

.public-menu-page {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #0e0e12 0%, #17181d 100%);
}

.menu-shell {
    position: relative;
    padding-top: 42px;
    padding-bottom: 120px;
}

.menu-surface {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #ededee;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.menu-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: linear-gradient(180deg, var(--sg3-green), color-mix(in srgb, var(--sg3-green) 82%, #111 18%));
    color: #fff;
}

.menu-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.menu-brand-badge {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    overflow: hidden;
}

.menu-brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-brand-copy {
    min-width: 0;
}

.menu-brand-copy h1 {
    margin: 0 0 4px;
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.05;
}

.menu-brand-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.menu-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 700;
}

.menu-meta-pill-ativo {
    background: rgba(89, 200, 111, 0.24);
}

.menu-meta-pill-fechado,
.menu-meta-pill-pausado,
.menu-meta-pill-inativo {
    background: rgba(255, 205, 85, 0.2);
}

.menu-cart-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    font: inherit;
}

.menu-cart-icon {
    font-size: 1.25rem;
}

.menu-cart-pill {
    font-weight: 700;
}

.menu-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #d6d7db;
    background: #f4f4f6;
}

.menu-tabs {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 2px;
}

.menu-tab {
    flex: 0 0 auto;
    padding: 10px 18px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #d3d4d9;
    color: #2b2f38;
    text-decoration: none;
    font-weight: 800;
}

.menu-tab.is-active,
.menu-tab:hover {
    background: linear-gradient(180deg, var(--sg3-green), color-mix(in srgb, var(--sg3-green) 82%, #111 18%));
    border-color: transparent;
    color: #fff;
}

.menu-toolbar-right {
    width: min(100%, 280px);
}

.menu-search-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d0d4d8;
    border-radius: 12px;
    outline: 0;
    font: inherit;
    background: #fff;
}

.menu-search-input:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.12);
}

.menu-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 18px;
    border-bottom: 1px solid #d6d7db;
    color: #3d4048;
    background: #f8f8f9;
}

.promo-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 18px;
    margin: 18px;
    padding: 22px;
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(255, 180, 80, 0.22), transparent 28%),
        linear-gradient(135deg, #5c120c 0%, var(--sg3-green) 16%, #9d150f 58%, #54110d 100%);
    color: #fff;
    overflow: hidden;
}

.promo-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.promo-label {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.promo-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 0.95;
}

.promo-copy p {
    margin: 0;
    max-width: 420px;
    font-size: 1.08rem;
}

.promo-copy strong {
    font-size: 2rem;
    color: #ffd15c;
}

.promo-button {
    background: #f7c64f;
    color: #40250f;
    font-size: 1.25rem;
    font-weight: 800;
}

.promo-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.promo-bubble {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.15);
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    transform: rotate(-8deg);
}

.promo-bubble-main {
    width: 140px;
    height: 140px;
    font-size: 4rem;
    transform: rotate(6deg);
}

.menu-section-header {
    padding: 0 18px 8px;
}

.menu-section-header h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.menu-section-header p {
    margin: 4px 0 0;
    color: #6c727d;
}

.menu-category-section {
    padding: 0 18px 18px;
}

.menu-category-head {
    margin-bottom: 14px;
}

.menu-category-head h3 {
    font-size: 1.45rem;
}

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

.menu-product-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dcdde1;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.menu-product-media {
    width: 112px;
    height: 112px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.4), transparent 28%),
        linear-gradient(135deg, color-mix(in srgb, var(--sg3-green) 72%, #ffffff 28%), #f0f2f4);
    display: grid;
    place-items: center;
    overflow: hidden;
}

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

.menu-product-media span {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
}

.menu-product-main {
    min-width: 0;
}

.menu-product-topline {
    align-items: flex-start;
}

.menu-product-topline h4 {
    font-size: 1.8rem;
}

.menu-product-main p {
    margin: 6px 0 0;
    color: #666c76;
    font-size: 1rem;
}

.menu-product-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
}

.menu-qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d5d7db;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.menu-qty-btn {
    width: 42px;
    height: 42px;
    border: 0;
    background: #f5f6f7;
    color: #2d323a;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
}

.menu-qty-control span {
    min-width: 46px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
}

.menu-price-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-price-cta strong {
    color: #d93218;
    font-size: 1.9rem;
}

.menu-add-button {
    min-width: 136px;
    border-radius: 12px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sg3-green) 92%, #fff 8%), color-mix(in srgb, var(--sg3-green) 74%, #123 26%));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.menu-cart-drawer {
    position: fixed;
    top: 22px;
    right: max(22px, calc((100vw - 1080px) / 2 + 18px));
    width: min(420px, calc(100vw - 24px));
    max-height: calc(100vh - 44px);
    overflow: auto;
    z-index: 30;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.25s ease;
}

.menu-cart-drawer.is-open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 13, 18, 0.48);
    z-index: 25;
}

.menu-drawer-header {
    position: sticky;
    top: 0;
    padding-top: 0;
    background: linear-gradient(180deg, #ffffff 84%, rgba(255, 255, 255, 0.92));
    z-index: 2;
}

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

.menu-drawer-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #f1f2f4;
    color: #2d333a;
    font-size: 1rem;
    cursor: pointer;
}

.menu-summary-card {
    background: #f9faf9;
}

.menu-cart-summary-bar {
    position: fixed;
    right: max(22px, calc((100vw - 1080px) / 2 + 18px));
    bottom: 22px;
    left: max(22px, calc((100vw - 1080px) / 2 + 18px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #eef7ed, #dfeade);
    border: 1px solid #c7d8c4;
    box-shadow: 0 18px 40px rgba(13, 18, 28, 0.14);
    z-index: 22;
}

.menu-cart-summary-info {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 1rem;
}

.menu-cart-summary-button {
    min-width: 220px;
    border-radius: 12px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--sg3-green) 92%, #fff 8%), color-mix(in srgb, var(--sg3-green) 74%, #123 26%));
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
}

.mobile-cart-fab {
    display: none;
}

@media (max-width: 980px) {
    .menu-shell {
        padding-top: 16px;
        padding-bottom: 128px;
    }

    .menu-surface {
        border-radius: 22px;
    }

    .menu-topbar,
    .menu-toolbar,
    .menu-contact-strip,
    .promo-banner,
    .menu-product-card,
    .menu-product-actions,
    .menu-cart-summary-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .menu-topbar {
        padding: 16px;
    }

    .menu-brand {
        align-items: flex-start;
    }

    .menu-toolbar-right,
    .catalog-search {
        width: 100%;
    }

    .menu-contact-strip {
        gap: 6px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
        padding: 18px;
        margin: 14px;
    }

    .promo-copy h2 {
        font-size: 2.4rem;
    }

    .promo-bubble {
        width: 74px;
        height: 74px;
        font-size: 2rem;
    }

    .promo-bubble-main {
        width: 96px;
        height: 96px;
        font-size: 2.8rem;
    }

    .menu-section-header,
    .menu-category-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .menu-product-grid {
        grid-template-columns: 1fr;
    }

    .menu-product-card {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .menu-product-media {
        width: 88px;
        height: 88px;
        border-radius: 16px;
    }

    .menu-product-topline h4 {
        font-size: 1.45rem;
    }

    .menu-product-actions {
        margin-top: 12px;
    }

    .menu-price-cta {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-price-cta strong {
        font-size: 1.5rem;
    }

    .menu-add-button {
        flex: 1 1 auto;
        min-width: 128px;
    }

    .menu-cart-trigger {
        display: none;
    }

    .mobile-cart-fab {
        position: fixed;
        right: 16px;
        bottom: 96px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(180deg, color-mix(in srgb, var(--sg3-green) 92%, #fff 8%), color-mix(in srgb, var(--sg3-green) 74%, #123 26%));
        color: #fff;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
        z-index: 26;
        font: inherit;
    }

    .menu-cart-drawer {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 84vh;
        border-radius: 24px 24px 0 0;
        transform: translateY(calc(100% - 88px));
    }

    .menu-cart-drawer.is-open {
        transform: translateY(0);
    }

    .menu-cart-summary-bar {
        right: 12px;
        left: 12px;
        bottom: 12px;
        gap: 10px;
        padding: 12px;
    }

    .menu-cart-summary-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        font-size: 0.92rem;
    }

    .menu-cart-summary-button {
        min-width: 0;
        width: 100%;
        font-size: 1.2rem;
    }
}
