/* ============================
   MOOKA UI — APP.CSS (organizado)
   - Mantém seu visual
   - Agrupa por seções
   - Remove duplicações e corrige pequenos conflitos
============================ */

/* ============================
   FONT
============================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ============================
   TOKENS / THEME
============================ */
:root {
    /* Paleta MOOKA */
    --bg: #F3F5CE;
    /* creme */
    --ink: #050501;
    /* preto */
    --olive: #3E3E2F;
    /* oliva escuro */
    --muted: #868673;
    /* cinza oliva */
    --border: #B8B9A2;
    /* claro */

    /* Superfícies */
    --card: #FFFDF1;
    /* branco quente */
    --glass: rgba(255, 253, 241, .92);

    /* UI */
    --radius: 14px;
    --radius-lg: 18px;
    --shadow: 0 10px 28px rgba(5, 5, 1, .10);
    --shadow-soft: 0 6px 18px rgba(5, 5, 1, .08);
}

/* ============================
   RESET / BASE
============================ */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: Poppins, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--ink);
}

/* ============================
   LAYOUT
============================ */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px;
}

/* App shell (espaço para bottom bar) */
body.app-shell main.container {
    padding-bottom: 96px;
}

/* Esconde conteúdo enquanto overlay está ativo */
body.loading main.container {
    opacity: 0;
    transform: translateY(8px);
}

/* ============================
   TOPBAR (vira BOTTOM BAR)
============================ */
.topbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 50;

    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-top: 1px solid rgba(184, 185, 162, .85);
    box-shadow: 0 -10px 30px rgba(5, 5, 1, .08);
    color: var(--ink);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
}

/* Brand */
.brand {
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Nav */
.nav {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--olive);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;

    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: .15s ease;

    display: flex;
    flex-direction: column;
    /* ícone em cima, texto embaixo (desktop) */
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav a i {
    font-size: 18px;
}

.nav a:hover {
    background: rgba(184, 185, 162, .35);
    border-color: rgba(184, 185, 162, .9);
}

/* ============================
   HERO / GRID / CARDS
============================ */
.hero {
    background: var(--card);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(184, 185, 162, .85);
    box-shadow: var(--shadow);
}

/* Grid (unificado) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.card {
    background: var(--card);
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(184, 185, 162, .85);
    box-shadow: var(--shadow-soft);
}

/* Textos */
.price {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

small,
.muted {
    color: var(--muted);
}

/* ============================
   PAGE TRANSITION (overlay)
============================ */
main.container {
    transition: opacity .25s ease, transform .25s ease;
}

.page-transition.is-done~main.container {
    opacity: 1;
    transform: translateY(0);
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;

    display: grid;
    place-items: center;

    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(6px);

    opacity: 0;
    visibility: hidden;
}

/* círculo central */
.page-transition .pt-circle {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    display: grid;
    place-items: center;

    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
}

.page-transition .pt-circle i {
    font-size: 34px;
    color: #fff;
}

/* estados */
.page-transition.is-solid {
    opacity: 1;
    visibility: visible;
    clip-path: circle(140% at 50% 110%);
}

/* ao carregar: abre (revela) */
.page-transition.is-reveal {
    opacity: 1;
    visibility: visible;
    clip-path: circle(140% at 50% 110%);
    animation: ptExit 1.05s cubic-bezier(.2, .9, .2, 1) forwards;
}

/* ao clicar: fecha (cobre) */
.page-transition.is-cover {
    opacity: 1;
    visibility: visible;
    clip-path: circle(0% at 50% 110%);
    animation: ptEnter .65s cubic-bezier(.2, .9, .2, 1) forwards;
}

/* desaparecer overlay (extra) */
.page-transition.hide {
    animation: fadeOut .45s ease forwards;
}

/* finaliza */
.page-transition.is-done {
    opacity: 0;
    visibility: hidden;
}

/* keyframes */
@keyframes ptExit {
    0% {
        clip-path: circle(140% at 50% 110%);
    }

    100% {
        clip-path: circle(0% at 50% 110%);
    }
}

@keyframes ptEnter {
    0% {
        clip-path: circle(0% at 50% 110%);
    }

    100% {
        clip-path: circle(140% at 50% 110%);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes iconPop {
    0% {
        transform: scale(.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ============================
   BUTTONS
============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    cursor: pointer;
    text-decoration: none;
    font-weight: 800;
    margin-bottom: 6px;
    transition: .15s ease;
}

.btn i {
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(5, 5, 1, .12);
}

.btn.secondary {
    background: transparent;
    color: var(--olive);
    border: 1px solid rgba(184, 185, 162, .9);
}

.btn.secondary:hover {
    background: rgba(184, 185, 162, .35);
    box-shadow: none;
    transform: translateY(0);
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
}

.btn-sm {
    padding: 8px 10px;
    font-size: 12px;
}

.btn.is-loading {
    opacity: .85;
    pointer-events: none;
}

/* ===== Botão "Adicionado" ===== */
.btn-added {
    background: #0f7a3b;
    color: #fff;
    border: 0;
    box-shadow: 0 12px 24px rgba(15, 122, 59, .18);
}

.btn-added:hover {
    transform: none;
    box-shadow: 0 12px 24px rgba(15, 122, 59, .18);
}

/* ============================
   FORMS
============================ */
input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    margin: 6px 0 6px;
    border-radius: 12px;
    border: 1px solid rgba(184, 185, 162, .95);
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: .15s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(62, 62, 47, .9);
    box-shadow: 0 0 0 4px rgba(184, 185, 162, .35);
}

label {
    display: block;
    font-weight: 700;
    margin-top: 8px;
    color: var(--olive);
}

.card form {
    margin: 0;
}

/* ============================
   BADGE (Carrinho)
============================ */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    padding: 2px 7px;
    border-radius: 999px;

    background: var(--ink);
    color: var(--bg);
    font-size: 12px;
    font-weight: 800;
    margin-left: 6px;
}

/* ============================
   FOOTER
============================ */
.footer {
    padding: 20px 0 110px;
    /* espaço pra barra inferior */
    color: var(--muted);
}

/* ============================
   UI HELPERS (padrão)
============================ */
.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin: 6px 0 14px;
}

.page-title {
    margin: 0;
    font-size: 22px;
    letter-spacing: .2px;
}

.page-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.stack {
    display: grid;
    gap: 12px;
}

.divider {
    height: 1px;
    background: rgba(184, 185, 162, .75);
    margin: 12px 0;
    border: 0;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.card-head h3 {
    margin: 0;
    font-size: 16px;
}

.card-head h3 i {
    margin-right: 8px;
    color: var(--olive);
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .9);
    background: rgba(184, 185, 162, .25);
    color: var(--olive);
    font-weight: 700;
    font-size: 12px;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 15px;
}

/* List */
.list {
    display: grid;
    gap: 10px;
}

.list-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(184, 185, 162, .65);
}

.list-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.list-main {
    min-width: 0;
}

.list-side {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

/* Checkout layout */
.checkout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 12px;
    align-items: start;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.form-grid .col-2 {
    grid-column: span 2;
}

/* Empty */
.empty {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 0;
}

.empty i {
    font-size: 28px;
    color: var(--olive);
}

/* Status */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .9);
    background: rgba(184, 185, 162, .25);
    font-weight: 800;
}

/* Timeline */
.timeline {
    display: grid;
    gap: 10px;
}

.timeline-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.timeline-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--ink);
    margin-top: 6px;
}

.timeline-body {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(184, 185, 162, .65);
    width: 100%;
}

.timeline-row:last-child .timeline-body {
    border-bottom: 0;
    padding-bottom: 0;
}

/* ============================
   HERO (home)
============================ */
.hero--home {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 14px;
    align-items: center;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .9);
    background: rgba(184, 185, 162, .25);
    color: var(--olive);
    font-weight: 700;
    font-size: 12px;
}

.hero__title {
    margin: 10px 0 6px;
    font-size: 28px;
}

.hero__subtitle {
    margin: 0 0 14px;
    color: var(--muted);
}

.accent {
    color: var(--olive);
}

.hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero__art {
    display: flex;
    justify-content: flex-end;
}

.hero__card {
    width: min(360px, 100%);
    background: rgba(255, 253, 241, .85);
    border: 1px solid rgba(184, 185, 162, .85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 14px;
}

.hero__row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid rgba(184, 185, 162, .65);
}

.hero__row:last-child {
    border-bottom: 0;
}

.hero__row i {
    font-size: 18px;
    color: var(--olive);
}

/* ============================
   PRODUCTS / MENU CARDS
============================ */
.grid--menu {
    gap: 12px;
}

.product {
    padding: 0;
    overflow: hidden;
    max-width: 300px;
    /* mantém seu limite original */
}

.product__media {
    width: 100%;
    aspect-ratio: 16/10;
    background: rgba(184, 185, 162, .25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product__media--placeholder i {
    font-size: 22px;
    color: var(--olive);
}

.product__body {
    padding: 14px;
}

.product__title {
    margin: 8px 0 6px;
    font-size: 16px;
}

.product__desc {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
}

.product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* ============================
   TOAST
============================ */
.toast-host {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: min(520px, calc(100% - 24px));
    display: grid;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: 24px 1fr 34px;
    gap: 10px;
    align-items: center;

    background: var(--card);
    border: 1px solid rgba(184, 185, 162, .9);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(5, 5, 1, .18);

    animation: toastIn .18s ease-out;
}

.toast__icon {
    display: grid;
    place-items: center;
    color: var(--olive);
    font-size: 18px;
}

.toast__msg {
    font-weight: 700;
    color: var(--ink);
    font-size: 13px;
}

.toast__close {
    border: 1px solid rgba(184, 185, 162, .9);
    background: rgba(184, 185, 162, .20);
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.toast.is-leaving {
    animation: toastOut .18s ease-in forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

/* Mobile notch */
@media (max-width:640px) {
    .toast-host {
        top: 10px;
    }
}

/* ============================
   ADMIN HELPERS
============================ */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 12px;
    align-items: start;
}

@media (max-width:900px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

.form {
    margin: 0;
}

.form-actions {
    margin-top: 6px;
    display: flex;
    justify-content: flex-end;
}

.checkline {
    display: flex;
    align-items: flex-end;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(184, 185, 162, .18);
    border-radius: 12px;
    user-select: none;
}

.check input {
    width: auto;
    margin: 0;
}

/* Table (grid) */
.table {
    display: grid;
    gap: 0;
    border: 1px solid rgba(184, 185, 162, .85);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 253, 241, .6);
}

.table__head,
.table__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 10px;
    padding: 12px;
    align-items: center;
}

.table__head {
    background: rgba(184, 185, 162, .22);
    font-weight: 800;
    color: var(--olive);
}

.table__row {
    background: transparent;
    border-top: 1px solid rgba(184, 185, 162, .55);
}

.table__right {
    display: flex;
    justify-content: flex-end;
}

.table--compact .table__head,
.table--compact .table__row {
    grid-template-columns: 1.4fr 1.4fr 1fr 1fr;
}

.table__head--orders,
.table__row--orders {
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
}

@media (max-width:900px) {
    .table__head--orders {
        display: none;
    }

    .table__row--orders {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .table__right {
        justify-content: flex-start;
    }
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .9);
    font-weight: 800;
    font-size: 12px;
    color: var(--olive);
    background: rgba(184, 185, 162, .20);
}

.chip--ok {
    background: rgba(15, 122, 59, .14);
    border-color: rgba(15, 122, 59, .35);
    color: #0f7a3b;
}

.chip--bad {
    background: rgba(185, 40, 40, .14);
    border-color: rgba(185, 40, 40, .35);
    color: #b92828;
}

.chip--wait {
    background: rgba(62, 62, 47, .12);
    border-color: rgba(62, 62, 47, .25);
    color: var(--olive);
}

.chip--off {
    background: rgba(134, 134, 115, .15);
    border-color: rgba(134, 134, 115, .35);
    color: var(--muted);
}

/* Filters / Search */
.filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 6px 0 12px;
}

.chiplink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .9);
    background: rgba(255, 253, 241, .75);
    color: var(--olive);
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
}

.chiplink.is-active {
    background: var(--ink);
    color: var(--bg);
    border-color: rgba(5, 5, 1, .35);
}

.searchbar {
    padding: 14px;
}

.searchbar__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}

.searchbar__field label {
    margin-top: 0;
}

@media (max-width:700px) {
    .searchbar__row {
        grid-template-columns: 1fr;
    }
}

/* Row actions */
.row-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.row-actions select {
    width: auto;
    min-width: 160px;
    margin: 0;
}

/* KPI */
.kpi {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.kpi__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(184, 185, 162, .18);
    color: var(--olive);
    flex: 0 0 auto;
}

.kpi__value {
    font-size: 22px;
    font-weight: 900;
    margin-top: 2px;
}

.kpi__chev {
    opacity: .7;
}

.shortcut {
    text-decoration: none;
    color: inherit;
}

.shortcut h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.shortcut h3 i {
    color: var(--olive);
    margin-right: 8px;
}

/* Auth */
.auth {
    display: grid;
    justify-items: center;
    margin-top: 10px;
}

.auth__card {
    width: min(520px, 100%);
}

/* Alerts */
.alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(185, 40, 40, .35);
    background: rgba(185, 40, 40, .10);
    color: #b92828;
    margin-bottom: 12px;
}

.alert--ok {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border: 1px solid rgba(15, 122, 59, .35);
    background: rgba(15, 122, 59, .10);
    color: #0f7a3b;
}

/* ============================
   CRM
============================ */
/* CRM table */
.crm-table .table__head,
.crm-table .table__row {
    grid-template-columns: 2fr 1.5fr .7fr;
}

@media (max-width:900px) {
    .crm-table .table__head {
        display: none;
    }

    .crm-table .table__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .crm-table .table__right {
        justify-content: flex-start;
    }
}

.crm-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crm-top {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}

@media (max-width:900px) {
    .crm-top {
        grid-template-columns: 1fr;
    }
}

.crm-top__actions {
    margin: 0;
}

.crm-filters {
    padding: 14px;
}

.crm-hint {
    margin: 10px 0 0;
    font-size: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Kanban board: não vaza, rola na horizontal */
.crm-board-wrap {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.crm-board-wrap::-webkit-scrollbar {
    height: 10px;
}

.crm-board-wrap::-webkit-scrollbar-thumb {
    background: rgba(184, 185, 162, .55);
    border-radius: 999px;
}

.crm-board-wrap::-webkit-scrollbar-track {
    background: rgba(184, 185, 162, .18);
    border-radius: 999px;
}

.crm-board {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    min-width: max-content;
    /* garante o scroll */
}

/* cada coluna com largura estável */
.crm-col {
    flex: 0 0 280px;
    /* largura da coluna */
    border: 1px solid rgba(184, 185, 162, .85);
    border-radius: 16px;
    background: rgba(255, 253, 241, .70);
    padding: 10px;
    min-height: 180px;
    box-shadow: var(--shadow-soft);
}

@media (min-width:1300px) {
    .crm-col {
        flex-basis: 300px;
    }
}

.crm-col__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.crm-col__head h3 {
    margin: 0;
    font-size: 14px;
    color: var(--olive);
}

.crm-count {
    font-size: 12px;
    background: rgba(184, 185, 162, .28);
    border: 1px solid rgba(184, 185, 162, .85);
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 800;
    color: var(--olive);
}

.crm-list {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.crm-card {
    border: 1px solid rgba(184, 185, 162, .75);
    border-radius: 16px;
    padding: 10px;
    background: rgba(255, 253, 241, .95);
    cursor: grab;
}

.crm-card:active {
    cursor: grabbing;
}

.crm-name {
    font-weight: 900;
    color: var(--ink);
}

.crm-small {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
}

.crm-actions {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Saving toast */
.saving {
    display: none;
    position: fixed;
    bottom: 14px;
    right: 14px;
    background: var(--ink);
    color: var(--bg);
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
    opacity: .95;
    box-shadow: 0 18px 40px rgba(5, 5, 1, .25);
    gap: 8px;
    align-items: center;
}

/* CRM profile */
.crm-profile {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 12px;
}

.profile__meta {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.profile__chips {
    margin-top: 10px;
}

.profile__actions {
    margin-top: 12px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.metric {
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(184, 185, 162, .18);
    border-radius: 14px;
    padding: 10px;
}

.section-title {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--olive);
}

.section-title i {
    margin-right: 8px;
}

.rows {
    display: grid;
    gap: 0;
}

.row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(184, 185, 162, .55);
}

.row:last-child {
    border-bottom: 0;
}

.row--block {
    align-items: flex-start;
}

/* CRM orders table */
.crm-orders .table__head,
.crm-orders .table__row {
    grid-template-columns: 2fr 1fr 1fr 1fr;
}

@media (max-width:900px) {
    .crm-orders .table__head {
        display: none;
    }

    .crm-orders .table__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .crm-orders .table__right {
        justify-content: flex-start;
    }
}

/* ============================
   PRODUCTS (admin)
============================ */
.products-table .table__head,
.products-table .table__row {
    grid-template-columns: 2fr 1.2fr .8fr .9fr 2fr;
}

@media (max-width:900px) {
    .products-table .table__head {
        display: none;
    }

    .products-table .table__row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .products-table .table__right {
        justify-content: flex-start;
    }
}

.prod-cell {
    display: flex;
    gap: 12px;
    align-items: center;
}

.prod-thumb {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid rgba(184, 185, 162, .75);
    background: rgba(184, 185, 162, .16);
    flex: 0 0 auto;
}

.prod-thumb--empty {
    display: grid;
    place-items: center;
    color: var(--muted);
}

/* Photo upload area */
.photo-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 12px;
}

@media (max-width:900px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}

.photo-box {
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(255, 253, 241, .70);
    border-radius: 16px;
    padding: 12px;
}

.photo-preview {
    margin-top: 10px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 185, 162, .75);
    background: rgba(184, 185, 162, .18);
    min-height: 220px;
    display: grid;
    place-items: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 380px;
    display: block;
}

.photo-minihead {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.photo-mini {
    width: 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(184, 185, 162, .75);
    background: rgba(184, 185, 162, .18);
    display: grid;
    place-items: center;
    margin-bottom: 10px;
}

.photo-mini img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    display: block;
}

.photo-current {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(184, 185, 162, .75);
}

/* Sales table */
.prod-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.prod-hero {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(184, 185, 162, .75);
    background: rgba(184, 185, 162, .16);
}

.prod-hero--empty {
    display: grid;
    place-items: center;
    color: var(--muted);
}

.prod-title {
    margin: 0;
}

.sales-table .table__head,
.sales-table .table__row {
    grid-template-columns: 1.2fr 1.4fr .8fr .9fr .9fr;
}

@media (max-width:900px) {
    .sales-table .table__head {
        display: none;
    }

    .sales-table .table__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sales-table .table__right {
        justify-content: flex-start;
    }
}

/* Users table */
.users-table .table__head,
.users-table .table__row {
    grid-template-columns: 1.2fr 1.6fr .8fr 1fr .8fr;
}

@media (max-width:900px) {
    .users-table .table__head {
        display: none;
    }

    .users-table .table__row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .users-table .table__right {
        justify-content: flex-start;
    }
}

/* ============================
   RESPONSIVE (geral)
============================ */
@media (max-width:900px) {
    .checkout {
        grid-template-columns: 1fr;
    }

    .hero--home {
        grid-template-columns: 1fr;
    }

    .hero__art {
        justify-content: flex-start;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .col-2 {
        grid-column: auto;
    }
}

/* MOBILE FIX: NÃO EMPILHAR, só ícones */
@media (max-width:640px) {
    .topbar .container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .brand {
        display: none;
    }

    .nav {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0;
    }

    .nav a {
        flex: 1;
        padding: 10px 0;
    }

    .nav a span,
    .btn-sair {
        display: none;
    }

    .nav a i {
        font-size: 22px;
    }
}

/* ============================
   ADMIN / DASHBOARD — CSS COMPLETO (área admin)
   - KPIs responsivos
   - Ações rápidas (botões)
   - Atalhos com cara de botão
   - Gráfico (barras verticais com número SEMPRE visível)
============================ */

/* ============================
   GRID KPIs (mobile-first)
============================ */
.grid--kpis {
    grid-template-columns: 1fr;
}

@media (min-width: 680px) {
    .grid--kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .grid--kpis {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================
   KPI CARD
============================ */
.kpi {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 48px 1fr 18px;
    align-items: center;
    gap: 12px;
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transform: translateY(0);
    transition: .18s ease;
    cursor: pointer;
}

/* faixa superior */
.kpi::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: rgba(62, 62, 47, .35);
}

.kpi:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(5, 5, 1, .12);
}

.kpi__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(184, 185, 162, .20);
    color: var(--olive);
}

.kpi__meta {
    min-width: 0;
}

.kpi__meta .muted {
    font-weight: 700;
}

.kpi__value {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
    margin-top: 2px;
}

.kpi__chev {
    opacity: .65;
}

/* variações */
.kpi--ok::before {
    background: rgba(15, 122, 59, .55);
}

.kpi--ok .kpi__icon {
    border-color: rgba(15, 122, 59, .35);
    background: rgba(15, 122, 59, .12);
    color: #0f7a3b;
}

.kpi--wait::before {
    background: rgba(62, 62, 47, .55);
}

.kpi--bad::before {
    background: rgba(185, 40, 40, .55);
}

.kpi--bad .kpi__icon {
    border-color: rgba(185, 40, 40, .35);
    background: rgba(185, 40, 40, .10);
    color: #b92828;
}

/* mini sparkline */
.kpi__spark {
    margin-top: 8px;
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 22px;
}

.kpi__spark span {
    width: 6px;
    border-radius: 999px;
    background: rgba(62, 62, 47, .22);
    border: 1px solid rgba(184, 185, 162, .65);
}

.kpi--ok .kpi__spark span {
    background: rgba(15, 122, 59, .18);
    border-color: rgba(15, 122, 59, .25);
}

.kpi--bad .kpi__spark span {
    background: rgba(185, 40, 40, .16);
    border-color: rgba(185, 40, 40, .22);
}

/* ============================
   LAYOUT PRINCIPAL DO DASHBOARD
============================ */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
}

@media (min-width: 980px) {
    .dashboard-grid {
        grid-template-columns: 1.2fr .8fr;
    }
}

/* ============================
   AÇÕES RÁPIDAS (botões)
============================ */
.quick-actions {
    display: grid;
    gap: 10px;
}

.qbtn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(255, 253, 241, .75);
    text-decoration: none;
    color: inherit;
    font-weight: 900;
    transition: .18s ease;
}

.qbtn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(5, 5, 1, .10);
}

.qbtn .muted {
    font-weight: 700;
    font-size: 12px;
}

.qbtn__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.qbtn__ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(184, 185, 162, .18);
    color: var(--olive);
    flex: 0 0 auto;
}

/* ============================
   SHORTCUTS (cards com cara de botão)
============================ */
.grid--shortcuts {
    grid-template-columns: 1fr;
}

@media (min-width: 680px) {
    .grid--shortcuts {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shortcut {
    position: relative;
    padding: 16px;
    transition: .18s ease;
    cursor: pointer;
}

.shortcut:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(5, 5, 1, .12);
}

.shortcut::after {
    content: "\f054";
    /* fa-chevron-right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 16px;
    opacity: .55;
}

.shortcut h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================
   GRÁFICO (barras verticais) — número SEMPRE visível
============================ */
.chart {
    display: grid;
    gap: 12px;
}

.chart-bars {
    display: flex;
    gap: 10px;
    align-items: stretch;
    height: 180px;
    padding: 8px 4px;
}

.chart-bars .bar {
    flex: 1;
    min-width: 28px;
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(255, 253, 241, .65);
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* preenchimento da barra */
.chart-bars .bar::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--h, 0%);
    background: rgba(62, 62, 47, .32);
}

/* número dentro (não some) */
.chart-bars .bar i {
    position: relative;
    z-index: 2;

    font-style: normal;
    font-size: 12px;
    font-weight: 900;
    color: var(--olive);

    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(184, 185, 162, .85);
    background: rgba(255, 253, 241, .92);

    margin-bottom: 10px;
}

.chart-legend {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

/* ============================
   STATUS (pills) — mobile friendly
============================ */
.status-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 700px) {
    .status-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.status-pill {
    gap: 8px;
    font-size: 13px;
}

/* ============================
   BANNER REUSO DE PEDIDO
============================ */

.reuse-banner {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;
    margin-bottom: 14px;

    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);

    background: linear-gradient(180deg, #ffffff, #fafafa);

    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);

    animation: fadeSlide .35s ease;
}

.reuse-banner i {
    font-size: 20px;
    color: var(--accent, #ff6b00);
    margin-top: 2px;
}

.reuse-banner strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.reuse-banner .muted {
    font-size: 13px;
}

.reuse-banner-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* botão pequeno */
.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* animação */
@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* mobile */
@media (max-width: 640px) {

    .reuse-banner {
        flex-direction: column;
        gap: 10px;
    }

    .reuse-banner-actions {
        width: 100%;
    }

    .reuse-banner-actions .btn {
        flex: 1;
        justify-content: center;
    }

}

/* ============================
   HOME - REPETIR ÚLTIMO PEDIDO
============================ */

.repeat-wrap {
    margin-top: 14px;
}

.repeat-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;

    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, .08);

    background: linear-gradient(180deg, #ffffff, #fafafa);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.repeat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 107, 0, .10);
    border: 1px solid rgba(255, 107, 0, .18);
}

.repeat-icon i {
    font-size: 18px;
    color: var(--accent, #ff6b00);
}

.repeat-content {
    flex: 1;
    min-width: 0;
}

.repeat-title {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.repeat-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.repeat-hint {
    margin-top: 10px;
    font-size: 12px;
}

.repeat-in {
    animation: fadeUp .35s ease;
}

.btn.is-loading {
    opacity: .85;
    pointer-events: none;
    position: relative;
}

.btn.is-loading:after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .6);
    border-top-color: rgba(255, 255, 255, 1);
    display: inline-block;
    margin-left: 10px;
    vertical-align: -2px;
    animation: spin .8s linear infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .repeat-card {
        flex-direction: column;
    }

    .repeat-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ============================
   MODAL PRODUTO (IFOOD)
============================ */

.product--clickable {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product--clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

/* Modal base */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1000;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    animation: overlayIn .18s ease;
}

@keyframes overlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    overflow: hidden;

    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);

    animation: panelIn .22s cubic-bezier(.22, 1, .36, 1);
}

@keyframes panelIn {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(.98);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(255, 255, 255, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Media */
.pm__media {
    height: 220px;
    background: #f2f2f2;
}

.pm__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm__placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, .35);
    font-size: 26px;
}

/* Body */
.pm__body {
    padding: 14px 14px 16px 14px;
    overflow: auto;
    max-height: calc(100vh - 24px - 220px);
}

.pm__cat {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .05);
    border: 1px solid rgba(0, 0, 0, .08);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pm__title {
    font-size: 20px;
    margin: 0;
}

.pm__desc {
    margin-top: 6px;
    line-height: 1.35;
}

.pm__section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.pm__addons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.addon {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(0, 0, 0, .02);
    cursor: pointer;
}

.addon input {
    width: 18px;
    height: 18px;
}

.addon__name {
    flex: 1;
    font-weight: 700;
}

.addon__price {
    font-weight: 800;
}

/* Bottom */
.pm__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 55%);
    padding-top: 10px;
}

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: rgba(0, 0, 0, .02);
}

.qty__btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: #fff;
    cursor: pointer;
}

.qty__num {
    width: 26px;
    text-align: center;
    font-weight: 900;
}

.pm__add {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pm__add strong {
    font-size: 14px;
}


/* ============================
   MODAL PRODUTO (IFOOD)
============================ */

.product--clickable {
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}

.product--clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

/* modal base */
#productModal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

#productModal.is-open {
    display: block;
}

/* overlay */
#productModal .modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
}

/* painel */
#productModal .modal__panel {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, calc(100vw - 24px));
    height: min(86vh, 760px);

    background: #fff;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);

    display: flex;
    flex-direction: column;
}

/* mobile fullscreen */
@media(max-width:560px) {
    #productModal .modal__panel {
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        border-radius: 16px;
    }
}

/* botão fechar */
#productModal .modal__close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 3;

    width: 40px;
    height: 40px;

    border-radius: 12px;
    border: 0;

    background: rgba(255, 255, 255, .92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12);

    cursor: pointer;

    display: grid;
    place-items: center;
}

/* imagem topo */
#productModal .pm__media {
    height: 240px;
    background: #f3f4f6;
    flex: 0 0 auto;
}

#productModal .pm__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#productModal .pm__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #9ca3af;
    font-size: 26px;
}

/* corpo */
#productModal .pm__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* área scroll */
#productModal .pm__scroll {
    flex: 1;
    overflow: auto;
    min-height: 0;
}

/* seções */
#productModal .pm__top,
#productModal .pm__section {
    padding: 14px 16px;
}

#productModal .pm__title {
    margin: 0;
    font-size: 22px;
}

#productModal .pm__desc {
    margin-top: 6px;
    color: #6b7280;
}

/* addons */
#productModal .pm__addons {
    display: grid;
    gap: 10px;
}

#productModal .addon {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 10px;

    align-items: center;

    padding: 12px;

    border: 1px solid #e5e7eb;
    border-radius: 14px;

    background: #fff;
    cursor: pointer;
}

#productModal .addon input {
    width: 18px;
    height: 18px;
}

#productModal .addon__name {
    font-weight: 600;
}

#productModal .addon__price {
    font-weight: 700;
}

/* textarea */
#productModal textarea {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
    resize: none;
}

#productModal textarea:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

/* barra inferior */
#productModal .pm__bottom {
    flex: 0 0 auto;

    display: flex;
    gap: 12px;
    align-items: center;

    padding: 12px 16px;

    border-top: 1px solid #e5e7eb;
    background: #fff;
}

/* quantidade */
#productModal .qty {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 8px 10px;

    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

#productModal .qty__btn {
    width: 36px;
    height: 36px;

    border-radius: 12px;
    border: 0;

    background: #f3f4f6;

    cursor: pointer;

    display: grid;
    place-items: center;
}

#productModal .qty__num {
    min-width: 18px;
    text-align: center;
    font-weight: 800;
}

/* botão adicionar */
#productModal .pm__add {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 14px;

    border-radius: 14px;
}

#productModal .pm__add strong {
    font-weight: 900;
}

/* trava scroll */
body.modal-open {
    overflow: hidden !important;
}