:root {
    color-scheme: dark;
    --brand-primary: #063E2E;
    --brand-primary-hover: #042D21;
    --brand-accent: #FF6B1A;
    --brand-accent-hover: #E85A0C;
    --brand-highlight: #FFB338;
    --sg3-green: #063E2E;
    --sg3-green-dark: #042D21;
    --sg3-green-soft: rgba(6, 62, 46, 0.22);
    --sg3-sidebar: rgba(18, 10, 25, 0.9);
    --sg3-bg: #130914;
    --sg3-panel: rgba(32, 16, 34, 0.9);
    --sg3-line: rgba(255, 255, 255, 0.11);
    --sg3-text: #fff7f2;
    --sg3-muted: #c6b5be;
    --sg3-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
    --sg3-panel-soft: rgba(255, 255, 255, 0.03);
    --sg3-fire: #ffb400;
    --sg3-violet: #261326;
    --sg3-hot: #ff8243;
    --sg3-ember: #ffcf7a;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Source Sans 3", Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 72, 0, 0.22), transparent 18%),
        radial-gradient(circle at 88% 0%, rgba(255, 128, 0, 0.24), transparent 22%),
        radial-gradient(circle at 84% 82%, rgba(255, 54, 0, 0.12), transparent 18%),
        linear-gradient(180deg, #220811 0%, #120815 38%, #09070d 100%);
    color: var(--sg3-text);
    position: relative;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.app-ambient {
    position: fixed;
    width: 38vw;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.app-ambient-top {
    top: -14vw;
    right: -8vw;
    background: radial-gradient(circle, rgba(255, 96, 0, 0.42), transparent 68%);
}

.app-ambient-bottom {
    bottom: -18vw;
    left: -10vw;
    background: radial-gradient(circle, rgba(255, 68, 0, 0.24), transparent 72%);
}

.app-ambient-core {
    top: 32vh;
    right: 12vw;
    width: 28vw;
    background: radial-gradient(circle, rgba(255, 188, 82, 0.18), transparent 70%);
}

.app-orbit {
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.app-orbit-left {
    top: 110px;
    left: 34px;
    width: 150px;
    height: 22px;
    border: 2px solid rgba(255, 113, 0, 0.95);
    border-top-color: transparent;
    border-left-color: transparent;
    transform: rotate(-18deg);
    filter: blur(0.6px) drop-shadow(0 0 12px rgba(255, 106, 0, 0.5));
}

.app-orbit-right {
    right: 120px;
    bottom: 90px;
    width: 120px;
    height: 120px;
    border: 2px dotted rgba(255, 87, 0, 0.45);
    border-left-color: transparent;
    border-top-color: transparent;
}

.app-grid-glow {
    position: fixed;
    top: 48px;
    right: 52px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(circle, rgba(255, 92, 0, 0.9) 1.4px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle, #000 38%, transparent 78%);
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
    position: relative;
    z-index: 1;
}

.app-sidebar {
    background:
        linear-gradient(180deg, rgba(41, 14, 29, 0.96), rgba(15, 10, 21, 0.98)),
        var(--sg3-sidebar);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 18px;
    backdrop-filter: blur(18px);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.04);
}

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

.app-brand img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(255, 102, 0, 0.36));
}

.app-brand-text {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.5rem;
    line-height: 1;
}

.app-brand-text strong {
    color: #fff7f2;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.app-brand-text em {
    color: var(--sg3-green);
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.06em;
    text-shadow: 0 0 26px rgba(255, 116, 0, 0.28);
}

.sidebar-group-title {
    margin: 22px 12px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: rgba(255, 246, 239, 0.84);
    border: 1px solid transparent;
    transition: 0.22s ease;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    background:
        linear-gradient(180deg, rgba(255, 120, 0, 0.24), rgba(255, 57, 0, 0.24)),
        rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 132, 0, 0.34);
    color: #fff;
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 130, 49, 0.08);
}

.sidebar-badge {
    margin-left: auto;
    min-width: 26px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 122, 0, 0.2);
    color: #ffd5b0;
    font-size: 0.78rem;
    text-align: center;
}

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

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 24px 30px 16px;
    background: transparent;
    color: #fff;
}

.app-header h1 {
    margin: 0;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.app-header p {
    margin: 7px 0 0;
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.72);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px 8px 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 16px;
}

.work-company-form {
    display: grid;
    gap: 6px;
}

.work-company-form label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
}

.work-company-form select {
    min-width: 240px;
    min-height: 46px;
    padding: 10px 42px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(47, 24, 40, 0.98), rgba(28, 18, 32, 0.98));
    color: #fff4eb;
    -webkit-text-fill-color: #fff4eb;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.92) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.work-company-form select:focus {
    outline: 0;
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.09);
}

.work-company-form option {
    color: #fff4eb;
    background-color: #241d36;
    -webkit-text-fill-color: #fff4eb;
}

.work-company-form option:checked,
.work-company-form option:hover {
    color: #fff;
    background-color: #ff6a00;
    -webkit-text-fill-color: #fff;
}

.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: 11px 18px;
    border: 1px solid transparent;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8b17, var(--sg3-green), var(--sg3-green-dark));
    color: #fff;
    box-shadow: 0 18px 34px rgba(255, 92, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff9c28, #ff6a00, #ff4215);
    transform: translateY(-1px);
}

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

.btn-light {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff4ed;
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.app-header .btn-light,
.header-user .btn-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

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

.content {
    padding: 8px 30px 32px;
}

.hero-title,
.card-header h2,
.card-header h3 {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.26);
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.hero-copy {
    display: grid;
    gap: 12px;
}

.hero-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 153, 61, 0.32);
    background: rgba(255, 113, 0, 0.1);
    color: #ffd5ac;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title {
    font-family: "Sora", "Source Sans 3", sans-serif;
    letter-spacing: -0.05em;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-badge-panel {
    display: flex;
    justify-content: flex-end;
}

.hero-badge-card {
    min-width: 220px;
    padding: 18px 18px 20px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 119, 0, 0.18), rgba(255, 67, 0, 0.08)),
        rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 153, 61, 0.22);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.hero-badge-card span,
.hero-badge-card small {
    display: block;
}

.hero-badge-card span {
    color: #ffd3af;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-badge-card strong {
    display: block;
    margin: 10px 0 8px;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.25rem;
}

.hero-badge-card small {
    color: rgba(255, 244, 238, 0.72);
    font-size: 0.92rem;
}

.hero-text a,
.list-clean a {
    color: #ffd8ba;
    text-decoration: none;
}

.hero-text a:hover,
.list-clean a:hover {
    color: #fff;
}

.flash-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    border: 1px solid var(--sg3-line);
    backdrop-filter: blur(14px);
}

.flash-sucesso {
    background: rgba(30, 110, 76, 0.24);
    color: #d9fff1;
}

.flash-erro {
    background: rgba(146, 42, 31, 0.28);
    color: #ffe0dc;
}

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

.card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(43, 18, 34, 0.94), rgba(18, 12, 24, 0.96)),
        var(--sg3-panel);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: var(--sg3-shadow);
    backdrop-filter: blur(20px);
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 194, 117, 0.75), transparent);
}

.card::after {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 116, 0, 0.14), transparent 70%);
    pointer-events: none;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 0;
}

.card-header h2,
.card-header h3 {
    margin: 0;
    font-family: "Sora", "Source Sans 3", sans-serif;
    letter-spacing: -0.03em;
}

.card-body {
    padding: 20px 24px 24px;
}

.card-header + .card-body {
    padding-top: 18px;
}

.order-board {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.order-board-section {
    display: grid;
    gap: 14px;
}

.order-board-heading h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
}

.order-board-heading p {
    margin: 0;
}

.order-board-grid {
    display: grid;
    gap: 18px;
}

.order-board-grid-primary {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
}

.order-board-grid-secondary {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
}

.order-lane {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(37, 28, 55, 0.9), rgba(22, 17, 33, 0.95));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.order-lane.is-active-drop {
    border-color: rgba(255, 122, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.order-lane-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--sg3-line);
}

.order-lane-header strong {
    display: block;
    font-size: 1rem;
}

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

.order-lane-body {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 16px;
}

.order-lane-empty {
    padding: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    color: var(--sg3-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.order-card {
    display: grid;
    gap: 14px;
    padding: 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    cursor: grab;
}

.order-card.is-dragging {
    opacity: 0.55;
}

.order-card.is-updating {
    opacity: 0.7;
    pointer-events: none;
}

.order-card-top,
.order-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-card-top strong,
.order-card-main h3 {
    margin: 0;
}

.order-card-top span,
.order-card-main p {
    color: var(--sg3-muted);
    font-size: 0.9rem;
}

.order-card-main {
    display: grid;
    gap: 6px;
}

.order-card-main p {
    margin: 0;
}

.order-card-actions {
    flex-wrap: wrap;
}

.order-pdv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.08);
    color: #fff5ef;
}

.order-pdv-badge.is-pendente {
    background: rgba(255, 183, 0, 0.16);
    color: #ffd36b;
}

.order-pdv-badge.is-enviado,
.order-pdv-badge.is-integrado {
    background: rgba(255, 122, 0, 0.16);
    color: #ffd6b6;
}

.order-pdv-badge.is-erro {
    background: rgba(170, 56, 41, 0.26);
    color: #ffd8d1;
}

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

.report-card {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.report-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.report-card-head strong {
    font-size: 1rem;
}

.report-card-head span {
    font-size: 0.82rem;
    color: var(--sg3-muted);
}

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

.report-card-metrics strong {
    display: block;
    font-size: 1.15rem;
    color: #fff7f0;
}

.report-card-metrics span {
    font-size: 0.84rem;
    color: var(--sg3-muted);
}

.report-status-list {
    display: grid;
    gap: 12px;
}

.report-status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.report-status-item strong {
    text-transform: capitalize;
}

@media (max-width: 1200px) {
    .order-board-grid-primary {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
    }

    .order-board-grid-secondary {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

@media (max-width: 860px) {
    .order-board-grid-primary,
    .order-board-grid-secondary {
        grid-template-columns: repeat(1, minmax(280px, 1fr));
    }

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

    .order-lane {
        min-height: 0;
    }
}

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

.timeline-item {
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.timeline-item-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.timeline-item p {
    margin: 0 0 8px;
}

.manual-order-shell form[data-manual-order-app] {
    display: contents;
}

.manual-order-shell {
    display: grid;
    gap: 16px;
}

.manual-order-shell.is-pos {
    gap: 12px;
}

.manual-order-top {
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    background: rgba(10, 11, 14, 0.92);
}

.manual-order-top-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.manual-order-top-main h2 {
    margin: 0;
    font-size: 1.2rem;
}

.manual-order-top-main p {
    margin: 2px 0 0;
    color: #a3a3a3;
    font-size: 0.88rem;
}

.manual-order-top-fields {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.manual-order-top-fields .form-group {
    margin: 0;
}

.manual-order-top-fields label {
    margin-bottom: 4px;
    font-size: 0.78rem;
}

.manual-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.85fr);
    gap: 12px;
    align-items: start;
}

.manual-order-quick {
    display: flex;
    align-items: end;
    gap: 10px;
    flex-wrap: wrap;
}

.manual-order-mesa-field {
    width: 96px;
    margin: 0;
}

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

.manual-order-quick label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.78rem;
    color: #a3a3a3;
}

.manual-order-shell.is-pos .menu-search-input,
.manual-order-shell.is-pos .manual-order-top input,
.manual-order-shell.is-pos .manual-order-top select,
.manual-order-shell.is-pos .manual-cart-note {
    background: #111418;
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    caret-color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.manual-order-shell.is-pos .menu-search-input::placeholder,
.manual-order-shell.is-pos .manual-order-top input::placeholder,
.manual-order-shell.is-pos .manual-cart-note::placeholder {
    color: #94a3b8;
    -webkit-text-fill-color: #94a3b8;
    opacity: 1;
}

.manual-order-shell.is-pos .menu-search-input:focus,
.manual-order-shell.is-pos .manual-order-top input:focus,
.manual-order-shell.is-pos .manual-order-top select:focus {
    border-color: rgba(52, 211, 153, 0.65);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
    outline: 0;
}

.manual-order-catalog .card-body {
    padding-top: 10px;
}

.manual-order-category + .manual-order-category {
    margin-top: 14px;
}

.manual-order-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    padding: 0 2px;
}

.manual-order-category-head strong {
    font-size: 0.92rem;
}

.manual-order-category-head span {
    color: #a3a3a3;
    font-size: 0.8rem;
}

.manual-order-grid {
    display: grid;
    gap: 6px;
}

.manual-order-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
}

.manual-order-row:hover {
    border-color: rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.06);
}

.manual-order-row-main {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.manual-order-row-main strong {
    font-size: 0.98rem;
    line-height: 1.25;
}

.manual-order-row-main span {
    color: #94a3b8;
    font-size: 0.75rem;
}

.manual-order-row-price {
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.manual-order-row-qty {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.manual-order-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    cursor: pointer;
}

.manual-order-row-qty span {
    min-width: 1.2rem;
    text-align: center;
    font-weight: 600;
}

.manual-order-add-btn {
    min-width: 64px;
}

.manual-order-cart {
    position: sticky;
    top: 16px;
}

.manual-order-cart-body {
    max-height: min(52vh, 520px);
    overflow: auto;
}

.manual-order-cart-totals {
    display: grid;
    gap: 8px;
}

.manual-order-total-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.manual-order-total-line.is-total {
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.manual-order-total-line.is-muted {
    color: #94a3b8;
}

.manual-order-cart-actions {
    display: flex;
    gap: 8px;
}

.manual-order-cart-actions .btn-primary {
    flex: 1;
}

.manual-order-shell.is-pos .manual-order-cart {
    background: #0a0b0e;
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    backdrop-filter: none;
}

.manual-order-shell.is-pos .manual-order-cart .card-header h3,
.manual-order-shell.is-pos .manual-order-cart .empty-state,
.manual-order-shell.is-pos .manual-order-cart .cart-item,
.manual-order-shell.is-pos .manual-order-cart .cart-item strong,
.manual-order-shell.is-pos .manual-order-cart .cart-item span,
.manual-order-shell.is-pos .manual-order-cart .manual-order-total-line,
.manual-order-shell.is-pos .manual-order-cart .manual-order-total-line strong,
.manual-order-shell.is-pos .manual-order-cart .cart-item-composition-line {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
}

.manual-order-shell.is-pos .manual-order-cart .cart-item {
    background: #151820;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.manual-order-shell.is-pos .manual-order-cart .cart-count-badge {
    background: #34d399;
    color: #06281c;
    -webkit-text-fill-color: #06281c;
}

.manual-order-shell.is-pos .manual-order-cart .empty-state,
.manual-order-shell.is-pos .manual-order-cart .cart-item-extras-group strong,
.manual-order-shell.is-pos .manual-order-cart .manual-order-total-line.is-muted,
.manual-order-shell.is-pos .manual-order-cart .manual-order-total-line.is-muted strong {
    color: #a3a3a3;
    -webkit-text-fill-color: #a3a3a3;
}

.manual-order-shell.is-pos .manual-order-cart .qty-control button,
.manual-order-shell.is-pos .manual-order-cart .cart-remove-button {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #111418;
}

.manual-order-shell.is-pos .manual-order-cart .qty-control span {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    min-width: 1.4rem;
    text-align: center;
    display: inline-block;
}

.manual-order-shell.is-pos .btn-primary,
.manual-order-shell.is-pos .manual-order-add-btn,
.manual-order-shell.is-pos .manual-order-dock-save {
    background: #34d399;
    border-color: #34d399;
    color: #06281c;
    -webkit-text-fill-color: #06281c;
    box-shadow: none;
}

.manual-order-shell.is-pos .btn-primary:hover,
.manual-order-shell.is-pos .manual-order-add-btn:hover,
.manual-order-shell.is-pos .manual-order-dock-save:hover {
    background: #6ee7b7;
    border-color: #6ee7b7;
    color: #06281c;
    -webkit-text-fill-color: #06281c;
}

.manual-order-shell.is-pos .btn-light {
    background: #1a1d24;
    border-color: rgba(255, 255, 255, 0.22);
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
}

.manual-order-shell.is-pos .manual-order-qty-btn {
    background: #1a1d24;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
}

.manual-cart-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.manual-cart-item .cart-item-top {
    align-items: flex-start;
}

.manual-cart-item .cart-item-extras-group {
    margin-top: 4px;
}

.manual-cart-note {
    width: 100%;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #111418;
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
}

.manual-order-hidden-inputs {
    display: none;
}

.manual-order-extras-dialog .extras-modal-header h3 {
    margin: 0;
}

.page-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.page-actions select {
    min-width: 220px;
    min-height: 44px;
    padding: 10px 38px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--sg3-text);
    font: inherit;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--sg3-muted) 50%),
        linear-gradient(135deg, var(--sg3-muted) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-actions select:focus {
    outline: 0;
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.1);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--sg3-green-soft);
    color: var(--sg3-green-dark);
    font-weight: 700;
}

.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;
}

.form-group small {
    display: block;
    margin-top: 6px;
    color: var(--sg3-muted);
}

.color-theme-field {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
}

.color-theme-picker {
    width: 58px;
    min-width: 58px;
    height: 48px;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.color-theme-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-theme-picker::-webkit-color-swatch {
    border: 0;
    border-radius: 10px;
}

.color-theme-picker::-moz-color-swatch {
    border: 0;
    border-radius: 10px;
}

.color-theme-preview {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--theme-preview, #ff6a00);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

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

.check-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.extras-option {
    margin-bottom: 10px;
}

.mount-selector-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.mount-search-input,
.mount-selector-bar select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 10px 42px 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(36, 17, 31, 0.92);
    color: var(--sg3-text);
    -webkit-text-fill-color: var(--sg3-text);
    background-image:
        linear-gradient(45deg, transparent 50%, #ffb56c 50%),
        linear-gradient(135deg, #ffb56c 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.mount-search-input {
    margin: 10px 0 12px;
    padding-right: 14px;
    background-image: none;
}

.mount-selector-bar select option {
    background: #24111f;
    color: var(--sg3-text);
}

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

.mount-selected-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mount-selected-item span {
    color: var(--sg3-text);
    font-weight: 600;
}

.cart-item-extras {
    display: grid;
    gap: 10px;
    margin: 10px 0 0;
    color: var(--sg3-muted);
    font-size: 0.92rem;
}

.cart-item-extras-group {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-extras-group strong {
    color: var(--sg3-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cart-item-extras-group span {
    display: block;
    line-height: 1.4;
}

.cart-item-composition-line {
    font-weight: 700;
    color: #111111;
}

.extras-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.extras-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 6, 16, 0.72);
}

.extras-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100% - 24px, 520px);
    margin: 8vh auto 0;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(35, 27, 51, 0.98), rgba(20, 16, 31, 0.98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.extras-modal-header,
.extras-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px;
}

.extras-modal-header {
    border-bottom: 1px solid var(--sg3-line);
}

.extras-modal-footer {
    border-top: 1px solid var(--sg3-line);
}

.extras-modal-body {
    max-height: 52vh;
    overflow-y: auto;
    padding: 18px 22px 22px;
}

.extras-list {
    margin-top: 18px;
}

.extras-subtotal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.extras-subtotal-card span {
    color: var(--sg3-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.extras-subtotal-card strong {
    color: var(--sg3-text);
    font-size: 1.05rem;
}

.montagem-copy-panel {
    align-items: end;
}

.montagem-copy-actions {
    display: flex;
    align-items: end;
}

.montagem-options-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 14px;
    flex-wrap: wrap;
}

.montagem-options-counter {
    color: var(--sg3-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.montagem-options-summary {
    display: grid;
    gap: 12px;
}

.montagem-options-empty {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    color: var(--sg3-muted);
}

.montagem-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.montagem-summary-main {
    min-width: 0;
}

.montagem-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.montagem-summary-header strong {
    color: var(--sg3-text);
    font-size: 1rem;
}

.montagem-summary-header span {
    color: #ffd6b5;
    font-weight: 700;
}

.montagem-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    color: var(--sg3-muted);
    font-size: 0.88rem;
}

.montagem-summary-main p {
    margin: 10px 0 0;
    color: rgba(255, 247, 242, 0.84);
    line-height: 1.45;
}

.montagem-summary-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.montagem-option-storage-item {
    display: none;
}

.montagem-options-storage {
    display: none;
}

.product-image-preview {
    margin-top: 12px;
    width: 140px;
    height: 140px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.image-remove-row {
    margin-top: 12px;
}

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

.cover-image-preview {
    margin-top: 12px;
    width: min(100%, 340px);
    aspect-ratio: 16 / 7;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

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

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

.hero-text {
    margin: 0 0 22px;
    max-width: 680px;
    color: rgba(255, 243, 235, 0.82);
    font-size: 1.02rem;
}

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

.stat {
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
    display: block;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.8rem;
    color: #fff8f2;
}

.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;
}

.landing-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(255, 110, 0, 0.24), transparent 24%),
        radial-gradient(circle at 10% 20%, rgba(255, 62, 0, 0.18), transparent 20%),
        linear-gradient(180deg, #220811 0%, #120815 42%, #08060b 100%);
    color: #fff7f2;
}

.landing-ambient {
    position: fixed;
    width: 34vw;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.landing-ambient-top {
    top: -12vw;
    right: -8vw;
    background: radial-gradient(circle, rgba(255, 111, 0, 0.34), transparent 68%);
}

.landing-ambient-bottom {
    left: -12vw;
    bottom: -14vw;
    background: radial-gradient(circle, rgba(255, 70, 0, 0.2), transparent 70%);
}

.landing-header,
.landing-main {
    position: relative;
    z-index: 1;
}

.landing-header {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.landing-nav-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.landing-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.landing-brand img {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(255, 99, 0, 0.34));
}

.landing-brand span {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.landing-brand strong {
    letter-spacing: -0.06em;
}

.landing-brand em {
    color: var(--sg3-green);
    font-style: normal;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.landing-nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 120, 0, 0.16), rgba(255, 54, 0, 0.12)),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    padding: 0;
}

.landing-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #fff4eb;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.landing-nav-checkbox:checked + .landing-header-bar .landing-nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.landing-nav-checkbox:checked + .landing-header-bar .landing-nav-toggle span:nth-child(2) {
    opacity: 0;
}

.landing-nav-checkbox:checked + .landing-header-bar .landing-nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.landing-nav a {
    text-decoration: none;
    color: rgba(255, 246, 239, 0.84);
}

.landing-main {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 64px;
    display: grid;
    gap: 42px;
}

.landing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
    gap: 28px;
    align-items: center;
}

.landing-hero-copy {
    display: grid;
    gap: 18px;
}

.landing-hero-copy h1,
.landing-section-head h2,
.landing-highlight-copy h2,
.landing-cta h2 {
    margin: 0;
    font-family: "Sora", "Source Sans 3", sans-serif;
    letter-spacing: -0.05em;
    line-height: 1;
}

.landing-hero-copy h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
    max-width: 760px;
}

.landing-hero-copy p,
.landing-section-head p,
.landing-highlight-copy p,
.landing-cta p {
    margin: 0;
    color: rgba(255, 243, 235, 0.76);
    font-size: 1.05rem;
    line-height: 1.6;
}

.landing-hero-actions,
.landing-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

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

.landing-metric,
.landing-feature-card,
.landing-module-card,
.landing-highlight,
.landing-cta {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(47, 21, 36, 0.94), rgba(20, 14, 25, 0.98));
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
}

.landing-metric {
    padding: 18px;
    border-radius: 22px;
}

.landing-metric strong {
    display: block;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 2rem;
    margin-bottom: 4px;
}

.landing-metric span {
    color: var(--sg3-muted);
}

.landing-hero-visual {
    position: relative;
    min-height: 560px;
}

.landing-hero-banner,
.landing-hero-mobile,
.landing-highlight-art img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.landing-hero-banner {
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 56px rgba(0, 0, 0, 0.3);
}

.landing-hero-mobile {
    position: absolute;
    right: -18px;
    bottom: -26px;
    width: min(240px, 34%);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 54px rgba(0, 0, 0, 0.34);
}

.landing-section {
    display: grid;
    gap: 22px;
}

.landing-section-head {
    display: grid;
    gap: 12px;
    max-width: 840px;
}

.landing-feature-grid,
.landing-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.landing-feature-card,
.landing-module-card {
    padding: 22px;
    border-radius: 28px;
}

.landing-feature-card strong,
.landing-module-card span {
    display: block;
    margin-bottom: 10px;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.1rem;
}

.landing-feature-card p,
.landing-module-card p {
    margin: 0;
    color: var(--sg3-muted);
    line-height: 1.55;
}

.landing-module-card span {
    color: #ffd7b1;
    letter-spacing: 0.04em;
}

.landing-highlight {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.6fr);
    gap: 24px;
    padding: 28px;
    border-radius: 34px;
}

.landing-highlight-copy {
    display: grid;
    gap: 14px;
    align-content: center;
}

.landing-list {
    margin: 0;
    padding-left: 20px;
    color: #ffd9bc;
    line-height: 1.8;
}

.landing-highlight-art {
    display: flex;
    align-items: center;
    justify-content: center;
}

.landing-highlight-art img {
    max-width: 280px;
    border-radius: 28px;
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.34);
}

.landing-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 32px;
    border-radius: 34px;
}

.catalog-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.catalog-company-card {
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(47, 21, 36, 0.94), rgba(20, 14, 25, 0.98));
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
}

.catalog-company-cover {
    position: relative;
    display: block;
    min-height: 190px;
    background:
        linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(255, 74, 0, 0.26)),
        linear-gradient(180deg, #4b202d, #1b111d);
    background-size: cover;
    background-position: center;
}

.catalog-company-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 8, 16, 0.04), rgba(15, 8, 16, 0.36));
}

.catalog-company-body {
    display: grid;
    gap: 16px;
    padding: 22px;
}

.catalog-company-top {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.catalog-company-logo {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, #ff9f2c, #ff5b00);
    box-shadow: 0 16px 28px rgba(255, 94, 0, 0.24);
}

.catalog-company-logo img,
.catalog-company-logo span {
    width: 100%;
    height: 100%;
}

.catalog-company-logo img {
    object-fit: cover;
}

.catalog-company-logo span {
    display: grid;
    place-items: center;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.catalog-company-top h3 {
    margin: 0 0 4px;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.35rem;
}

.catalog-company-top p,
.catalog-company-hours {
    margin: 0;
    color: rgba(255, 243, 235, 0.72);
}

.catalog-company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.catalog-company-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffe3cf;
    font-size: 0.9rem;
}

.catalog-company-button {
    width: 100%;
}

.launcher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.launcher-card {
    display: grid;
    gap: 10px;
    padding: 20px;
    min-height: 170px;
    border-radius: 28px;
    text-decoration: none;
    background:
        radial-gradient(circle at top right, rgba(255, 116, 0, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(45, 24, 41, 0.96), rgba(23, 15, 29, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.launcher-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 141, 43, 0.3);
    box-shadow: 0 24px 38px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 128, 0, 0.06);
}

.launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ff971f, #ff5b00);
    color: #fff;
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: 0 16px 28px rgba(255, 94, 0, 0.32);
}

.launcher-card strong {
    font-family: "Sora", "Source Sans 3", sans-serif;
    font-size: 1.15rem;
}

.launcher-card small {
    color: var(--sg3-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(340px, 0.85fr);
    background:
        linear-gradient(135deg, rgba(30, 22, 48, 0.98), rgba(15, 12, 24, 0.98)),
        radial-gradient(circle at top left, rgba(255, 122, 0, 0.18), 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(255, 122, 0, 0.12), transparent 20%),
        #1a1628;
}

.login-card {
    width: min(100%, 430px);
    background: linear-gradient(180deg, rgba(33, 25, 49, 0.98), rgba(20, 16, 31, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    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,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    outline: 0;
    background: rgba(255, 255, 255, 0.06);
    color: var(--sg3-text);
    -webkit-text-fill-color: var(--sg3-text);
    caret-color: var(--sg3-text);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-group input[type="file"] {
    padding: 12px;
    border-style: dashed;
    background: rgba(255, 255, 255, 0.04);
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--sg3-green);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.form-group select {
    appearance: none;
    background-color: rgba(36, 17, 31, 0.92);
    background-image:
        linear-gradient(45deg, transparent 50%, #ffb56c 50%),
        linear-gradient(135deg, #ffb56c 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 38px;
    cursor: pointer;
}

.form-group select option {
    background: #24111f;
    color: var(--sg3-text);
    -webkit-text-fill-color: var(--sg3-text);
}

.form-group select option:checked,
.form-group select option:hover {
    background: var(--sg3-green);
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8aa092;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--sg3-green);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
    background: rgba(255, 255, 255, 0.1);
    color: var(--sg3-text);
    -webkit-text-fill-color: var(--sg3-text);
}

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

.form-error {
    background: rgba(146, 42, 31, 0.28);
    color: #ffd9d4;
}

.hint-box {
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--sg3-muted);
}

.empty-state {
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

    .app-sidebar {
        display: none;
    }

    .grid,
    .login-page,
    .login-points,
    .stats,
    .form-columns,
    .launcher-grid,
    .catalog-directory-grid,
    .hero-shell,
    .landing-hero,
    .landing-feature-grid,
    .landing-module-grid,
    .landing-highlight,
    .landing-metrics {
        grid-template-columns: 1fr;
    }

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

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

    .header-tools {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .work-company-form select {
        min-width: 0;
        width: 100%;
    }

    .header-user {
        width: 100%;
    }

    .hero-badge-panel {
        justify-content: flex-start;
    }

    .landing-header,
    .landing-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .landing-header {
        width: min(100%, calc(100% - 24px));
        gap: 12px;
    }

    .landing-header-bar {
        width: 100%;
    }

    .landing-nav-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .landing-nav {
        display: none;
        width: 100%;
        padding: 14px;
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        background:
            linear-gradient(180deg, rgba(47, 21, 36, 0.96), rgba(20, 14, 25, 0.98));
        box-shadow: 0 24px 44px rgba(0, 0, 0, 0.24);
        gap: 10px;
    }

    .landing-nav-checkbox:checked ~ .landing-nav {
        display: grid;
    }

    .landing-nav a {
        width: 100%;
    }

    .landing-nav .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .landing-hero-visual {
        min-height: 0;
    }

    .landing-hero-mobile {
        position: static;
        width: min(100%, 320px);
        margin-top: 18px;
    }
}

.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-secondary {
    background: #eef5f1;
    color: var(--sg3-green-dark);
}

.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 {
    padding: 18px 22px 10px;
    background: #ededee;
    color: var(--sg3-text);
}

.menu-hero-card {
    min-width: 0;
}

.menu-hero-cover {
    position: relative;
    min-height: 252px;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(22, 29, 22, 0.38), rgba(22, 29, 22, 0.12)),
        linear-gradient(135deg, #f0b25f, #d75f37);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.menu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.06), rgba(17, 17, 17, 0.16) 42%, rgba(17, 17, 17, 0.28) 100%);
}

.menu-hero-topline {
    position: relative;
    z-index: 1;
}

.menu-hero-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

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

.menu-hero-title {
    padding: 18px 18px 10px;
    text-align: center;
    background: #f4f4f4;
    border-radius: 0 0 24px 24px;
}

.menu-hero-title h1 {
    margin: 0;
    font-size: clamp(1.45rem, 4vw, 2.2rem);
    line-height: 1.1;
    color: #2f4152;
}

.menu-brand-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    color: #5e6f7d;
    font-size: 0.95rem;
}

.menu-cart-trigger-hero {
    background: rgba(255, 255, 255, 0.78);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(8px);
}

.menu-cart-trigger-hero .menu-cart-pill,
.menu-cart-trigger-hero .menu-cart-icon {
    color: #fff;
}

.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: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.menu-qty-control {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: max-content;
    border: 1px solid #d5d7db;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.menu-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    background: #f5f6f7;
    color: #2d323a;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.menu-qty-control span {
    min-width: 46px;
    padding: 0 10px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #27323d;
}

.menu-price-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 220px;
    justify-content: space-between;
    flex-wrap: wrap;
    min-width: 0;
}

.menu-price-cta strong {
    white-space: nowrap;
}

.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: 1100px) {
    .manual-order-top-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .manual-order-obs {
        grid-column: 1 / -1;
    }
}

.manual-order-dock,
.manual-order-cart-backdrop,
.manual-cart-sheet-top .manual-cart-sheet-close {
    display: none;
}

@media (max-width: 980px) {
    .manual-order-shell.is-pos {
        padding-bottom: calc(110px + env(safe-area-inset-bottom));
    }

    .manual-order-top {
        position: sticky;
        top: 0;
        z-index: 8;
        gap: 10px;
        padding: 12px;
    }

    body.admin-page .manual-order-top {
        top: 0;
    }

    .manual-order-catalog {
        padding-bottom: 24px;
    }

    .manual-order-top-main {
        align-items: stretch;
    }

    .manual-order-top-main h2 {
        font-size: 1.05rem;
    }

    .manual-order-quick {
        width: 100%;
    }

    .manual-order-mesa-field {
        width: 84px;
        flex: 0 0 84px;
    }

    .manual-order-search-wrap {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
    }

    .manual-order-top-fields {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .manual-order-layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .manual-order-catalog {
        order: 1;
    }

    /* Sheet do carrinho: so aparece ao abrir; nao cobre a lista */
    .manual-order-cart {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 220;
        margin: 0;
        width: 100%;
        height: min(78vh, 720px);
        max-height: min(78vh, 720px);
        border-radius: 20px 20px 0 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
        display: flex !important;
        flex-direction: column;
        overflow: hidden;
        transform: translateY(110%);
        transition: transform 0.22s ease;
        pointer-events: none;
        visibility: hidden;
    }

    .manual-order-cart.is-open {
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
    }

    .manual-cart-sheet-top {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
        padding: 10px 12px 0;
    }

    .manual-cart-sheet-top .card-header {
        flex: 1;
        padding: 4px 0;
        border: 0;
    }

    .manual-cart-sheet-top .manual-cart-sheet-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.22);
        background: #1a1d24;
        color: #f4f4f5;
        -webkit-text-fill-color: #f4f4f5;
        font-size: 1.15rem;
        cursor: pointer;
    }

    .manual-order-cart-body {
        flex: 1 1 auto;
        min-height: 160px;
        max-height: none;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 8px 14px 12px;
        background: #0a0b0e;
    }

    .manual-order-cart-body .cart-items {
        display: grid;
        gap: 10px;
        min-height: 0;
    }

    .manual-order-cart-totals,
    .manual-order-cart-actions {
        flex: 0 0 auto;
        padding-top: 8px;
        padding-bottom: 10px;
        background: #0a0b0e;
    }

    .manual-order-cart-actions {
        flex-direction: row !important;
        align-items: stretch;
        gap: 8px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .manual-order-cart-actions .btn {
        width: auto !important;
    }

    .manual-order-cart-actions .btn-primary {
        flex: 1 1 auto;
    }

    body.manual-cart-sheet-open .manual-order-dock {
        display: none !important;
    }

    .manual-order-cart-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 210;
        background: rgba(0, 0, 0, 0.62);
    }

    .manual-order-cart-backdrop[hidden] {
        display: none !important;
    }

    .manual-order-dock {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
        background: #0a0b0e;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
    }

    .manual-order-dock-cart {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        min-height: 52px;
        padding: 10px 14px;
        border-radius: 14px;
        border: 1px solid rgba(52, 211, 153, 0.55);
        background: #111418;
        color: #f4f4f5;
        -webkit-text-fill-color: #f4f4f5;
        text-align: left;
        cursor: pointer;
    }

    .manual-order-dock-cart.has-items {
        background: #34d399;
        border-color: #34d399;
        color: #06281c;
        -webkit-text-fill-color: #06281c;
    }

    .manual-order-dock-count {
        display: inline-grid;
        place-items: center;
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        border-radius: 999px;
        background: #34d399;
        color: #06281c;
        -webkit-text-fill-color: #06281c;
        font-weight: 800;
    }

    .manual-order-dock-cart.has-items .manual-order-dock-count {
        background: #06281c;
        color: #6ee7b7;
        -webkit-text-fill-color: #6ee7b7;
    }

    .manual-order-dock-copy {
        display: grid;
        gap: 2px;
        min-width: 0;
    }

    .manual-order-dock-copy small {
        color: #a3a3a3;
        -webkit-text-fill-color: #a3a3a3;
        font-size: 0.72rem;
        line-height: 1;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .manual-order-dock-cart.has-items .manual-order-dock-copy small {
        color: #064e3b;
        -webkit-text-fill-color: #064e3b;
    }

    .manual-order-dock-copy strong {
        font-size: 1.05rem;
        line-height: 1.1;
        white-space: nowrap;
        color: inherit;
        -webkit-text-fill-color: inherit;
    }

    .manual-order-dock-save {
        min-width: 112px;
        min-height: 52px;
        font-weight: 800;
    }

    body.manual-cart-sheet-open {
        overflow: hidden;
    }

    .manual-order-row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "main price"
            "qty add";
        gap: 8px;
        min-height: 64px;
        padding: 12px;
    }

    .manual-order-qty-btn {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
    }

    .manual-order-add-btn {
        min-width: 72px;
        min-height: 40px;
    }

    .manual-order-row-main { grid-area: main; }
    .manual-order-row-price { grid-area: price; }
    .manual-order-row-qty { grid-area: qty; }
    .manual-order-add-btn { grid-area: add; justify-self: end; }

    .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: 14px 14px 8px;
    }

    .menu-hero-cover {
        min-height: 196px;
        border-radius: 18px 18px 0 0;
        padding: 12px;
    }

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

    .menu-hero-title {
        padding-top: 16px;
        border-radius: 0 0 18px 18px;
    }

    .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;
    }
}
