:root {
    --purple: #a87312;
    --purple-dark: #4b2a04;
    --pink: #d7a23b;
    --gold: #c68a12;
    --paper: #fffaf0;
    --ink: #251a0b;
}

* { letter-spacing: 0; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; }

.storefront { background: linear-gradient(180deg, #fffaf0 0, #ffffff 34%); }
.store-hero { background: white; }

/* ── Faixa do banner ── */
.hero-banner {
    width: 100%;
    height: 320px;
    position: relative;
    background:
        linear-gradient(135deg, rgba(38,24,8,.5), rgba(124,78,10,.4)),
        url("../uploads/banners/saron-capa.jpg") center/cover no-repeat;
}

/* ── Área de info abaixo do banner ── */
.hero-info {
    background: white;
    padding: 85px 0 14px;
    border-bottom: 1px solid #f0e8d8;
}
.hero-info-inner {
    padding: 0 20px;
}

/* ── Logo posicionada no fundo do banner, saindo para o hero-info ── */
.store-logo { position: absolute; bottom: -75px; left: 20px; z-index: 10; width: 150px; height: 150px; border-radius: 50%; background: white; color: var(--purple); font-weight: 900; font-size: 2rem; box-shadow: 0 4px 18px rgba(0,0,0,.15); overflow: hidden; border: none; }
.store-logo img { position: absolute; top: 53%; left: 50%; transform: translate(-50%, -50%); width: 130%; height: 130%; object-fit: contain; display: block; }

/* ── Textos ── */
.store-hero h1 { font-size: 1.75rem; font-weight: 900; color: var(--ink); line-height: 1.15; margin: 0 0 6px; letter-spacing: -.01em; }
.store-hero .lead { font-size: 1rem; color: #4b2a04; margin: 0; max-width: 100%; font-weight: 700; }
.hero-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }

/* ── Banner strip agora fica fora do hero-shell ── */
.hero-shell { display: none; }
.banner-strip { display: flex; gap: 12px; overflow-x: auto; padding: 8px 16px 4px; }
.banner-strip a { color: var(--purple-dark); text-decoration: none; background: #fff8ee; border: 1px solid #f2e4c2; border-radius: 8px; padding: 8px 14px; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; max-width: 100%; font-size: .85rem; }

/* ── Badge Aberto / Fechado ── */
.status-badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 14px; font-size: .9rem; font-weight: 800; letter-spacing: .02em; }
.status-badge .dot { width: 9px; height: 9px; border-radius: 50%; }
.status-badge.aberto { background: rgba(34,197,94,.15); color: #15803d; border: 1.5px solid rgba(34,197,94,.5); }
.status-badge.aberto .dot { background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: pulse-green 1.6s infinite; }
.status-badge.fechado { background: rgba(239,68,68,.12); color: #b91c1c; border: 1.5px solid rgba(239,68,68,.4); }
.status-badge.fechado .dot { background: #ef4444; }
@keyframes pulse-green { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.6; transform:scale(1.35); } }
.hero-horario { color: #5a4a35 !important; font-size: .9rem !important; font-weight: 700 !important; }

.btn-purple {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border-color: var(--purple-dark);
    color: white;
    font-weight: 800;
    box-shadow: 0 3px 12px rgba(168,115,18,.35);
    transition: transform .15s, box-shadow .15s;
}
.btn-purple:hover {
    background: linear-gradient(135deg, var(--purple-dark), #2a1700);
    border-color: var(--purple-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(168,115,18,.45);
}
.btn-outline-purple { border-color: var(--purple); color: var(--purple); }
.btn-outline-purple:hover { background: var(--purple); color: white; }
.btn-gold {
    background: linear-gradient(135deg, #f0a500, var(--gold), #c47a00);
    border-color: var(--gold);
    color: #1a0e00;
    font-weight: 900;
    font-size: 1.15rem;
    letter-spacing: .03em;
    box-shadow: 0 4px 18px rgba(196,122,0,.45), 0 1px 0 rgba(255,255,255,.25) inset;
    transition: transform .15s, box-shadow .15s;
}
.btn-gold:hover {
    background: linear-gradient(135deg, #ffb800, #d98e00, #b36a00);
    color: #1a0e00;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196,122,0,.55);
}
.tracking-confirm-box {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #eadcc4;
    border-radius: 8px;
    background: #fffaf0;
}
.tracking-confirm-title {
    margin: 0 0 8px;
    color: var(--purple-dark);
    font-size: .92rem;
    font-weight: 900;
    text-align: center;
}
.menu-toolbar { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); padding: 12px 0; align-items: center; border-bottom: 1px solid #f2e4c2; }
.menu-toolbar .form-control { border: 1.5px solid #e8d8b8; border-radius: 10px; background: #fffaf0; font-size: .88rem; }
.menu-toolbar .form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168,115,18,.15); }

/* ── Botões de alternância de layout ── */
.layout-toggle { display: flex; gap: 2px; background: #f0e7ff; border-radius: 10px; padding: 3px; }
.layout-btn { background: transparent; border: none; border-radius: 8px; padding: 7px 14px; display: flex; align-items: center; gap: 6px; cursor: pointer; color: var(--purple-dark); opacity: .55; transition: all .18s; font-size: .82rem; font-weight: 700; white-space: nowrap; }
.layout-btn:hover { opacity: .85; background: rgba(255,255,255,.6); }
.layout-btn.active { background: white; opacity: 1; color: var(--purple); box-shadow: 0 1px 6px rgba(124,78,10,.15); }

/* ══ LAYOUT LISTA ══ */
.product-grid.layout-lista { display: flex; flex-direction: column; gap: 0; }
.product-grid.layout-lista .product-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f2e4c2;
    box-shadow: none;
    background: white;
}
.product-grid.layout-lista .product-card:first-child { border-radius: 8px 8px 0 0; }
.product-grid.layout-lista .product-card:last-child { border-radius: 0 0 8px 8px; border-bottom: 1px solid #f2e4c2; }
.product-grid.layout-lista .product-card:only-child { border-radius: 8px; }
.product-grid.layout-lista .product-img-wrap { aspect-ratio: 1/1; width: 120px; height: 120px; border-radius: 0; }
.product-grid.layout-lista .product-body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.product-grid.layout-lista .product-body h3 { font-size: 1rem; margin-bottom: 4px; }
.product-grid.layout-lista .product-body p { min-height: unset; font-size: .85rem; margin-bottom: 8px; color: #8a7a8a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-grid.layout-lista .product-body strong { font-size: 1rem; }
.product-grid.layout-lista .product-body .btn { padding: 6px 14px; font-size: .85rem; width: auto !important; align-self: flex-start; margin-top: 6px; }
.product-grid.layout-lista .product-body .d-flex { margin-bottom: 2px; }
.product-grid.layout-lista .is-soldout::after { inset: 8px auto auto 8px; font-size: .75rem; padding: 3px 8px; }
.category-scroller { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-behavior: smooth; }
.category-pill { border: 0; border-radius: 999px; padding: 8px 16px; background: #f5ede0; color: var(--purple-dark); font-weight: 700; white-space: nowrap; font-size: .85rem; transition: all .18s; }
.category-pill.active { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: white; box-shadow: 0 3px 10px rgba(168,115,18,.3); }
.section-title {
    font-weight: 900;
    margin: 32px 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    color: var(--ink);
    padding-bottom: 12px;
    border-bottom: 2px solid #f2e4c2;
    position: relative;
}
.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--purple), var(--gold));
    border-radius: 99px;
    flex-shrink: 0;
}
.section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, rgba(168,115,18,.25), transparent);
    border-radius: 2px;
}
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

/* Destaques — header com setas */
.destaques-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.destaques-header .section-title {
    margin-bottom: 0;
    flex: 1;
}
.destaques-nav {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-bottom: 12px;
}
.dest-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #e8d8b8;
    background: white;
    color: var(--purple-dark);
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    line-height: 1;
}
.dest-arrow:hover:not(:disabled) {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
    box-shadow: 0 3px 10px rgba(168,115,18,.35);
}
.dest-arrow:disabled {
    opacity: .3;
    cursor: default;
}

/* Dots */
.destaques-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}
.dest-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e8d8b8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all .25s;
    flex-shrink: 0;
}
.dest-dot.active {
    background: var(--purple);
    width: 22px;
    border-radius: 99px;
}

/* Destaques — scroll horizontal */
.product-grid--scroll {
    display: flex;
    flex-direction: row;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    /* esconde scrollbar mas mantém funcional */
    scrollbar-width: none;
}
.product-grid--scroll::-webkit-scrollbar { display: none; }
.product-grid--scroll .product-card {
    flex: 0 0 220px;
    min-width: 220px;
    scroll-snap-align: start;
}
@media (max-width: 640px) {
    .product-grid--scroll .product-card {
        flex: 0 0 180px;
        min-width: 180px;
    }
}
.product-card { background: white; border: 1px solid #f2e4c2; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(168,115,18,.08); position: relative; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(168,115,18,.16); }
.product-img-wrap { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; cursor: pointer; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform .2s; background: #f7f2ea; }
.product-img-wrap:hover img { transform: scale(1.06); }
.product-body { padding: 10px 12px 12px; }
.product-body h3 { font-size: .9rem; font-weight: 800; margin-bottom: 4px; }
.product-body p { color: #8a7a6a; min-height: 36px; font-size: .78rem; line-height: 1.4; margin-bottom: 8px; }
.product-body strong { color: var(--purple-dark); font-size: .95rem; font-weight: 900; }
.tag { background: #fff0ca; color: #7a5500; border-radius: 999px; font-size: .75rem; padding: 4px 10px; font-weight: 800; white-space: nowrap; }
.tag-fire { background: #fff1ed; color: #c2410c; border: 1.5px solid #fed7aa; }
.tag-new  { background: #ecfdf5; color: #065f46; border: 1.5px solid #a7f3d0; }

/* Badges fixadas sobre a imagem do card */
.card-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
    pointer-events: none;
}
.card-badges .tag {
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    backdrop-filter: blur(4px);
}
.is-soldout::after { content: "Esgotado"; position: absolute; inset: 12px auto auto 12px; background: #20162f; color: white; border-radius: 999px; padding: 6px 12px; font-weight: 800; }
.is-soldout img { filter: grayscale(1); opacity: .68; }
.cart-canvas { width: min(440px, 100vw) !important; }
.coupon-box { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.checkout-form { display: grid; gap: 10px; }
.cart-item { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid #eee6f6; }
.cart-item small { display: block; color: #7a7180; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; border-top: 1px solid #eee6f6; padding-top: 14px; margin: 8px 0; }
.totals strong:last-child { color: var(--purple); font-size: 1.35rem; }
.extra-option { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1eaf7; }

.admin-body { background: #f7f4fb; min-height: 100vh; }
.admin-layout { display: grid; grid-template-columns: 185px 1fr; min-height: 100vh; }
.admin-sidebar { background: #2b1b07; color: white; padding: 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; display: flex; flex-direction: column; min-height: 0; }
.admin-brand { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 900; margin-bottom: 20px; flex-shrink: 0; }
.admin-brand img { width: 38px; height: 38px; object-fit: contain; border-radius: 50%; background: white; flex-shrink: 0; }
.admin-nav { display: grid; gap: 4px; flex: 1; align-content: start; }
.admin-nav a { color: rgba(255,255,255,.82); text-decoration: none; padding: 9px 10px; border-radius: 8px; font-weight: 600; font-size: .88rem; display: flex; align-items: center; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,.12); color: white; }
.admin-main { padding: 28px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric-card, .panel { background: white; border: 1px solid #ede3f6; border-radius: 8px; padding: 18px; box-shadow: 0 16px 38px rgba(39,11,75,.06); }
.metric-card span { color: #7b6f86; font-weight: 700; }
.metric-card strong { display: block; font-size: 1.9rem; color: var(--purple-dark); }
.status-badge { border-radius: 999px; padding: 5px 10px; font-size: .82rem; font-weight: 800; background: #efe7ff; color: var(--purple-dark); }
.table img.thumb { width: 58px; height: 44px; object-fit: cover; border-radius: 6px; }

/* Tabela de produtos compacta */
.products-table th, .products-table td { padding: 8px 10px; font-size: .875rem; }
.products-table th.th-icon { width: 64px; padding: 8px 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: #7b6f86; text-align: center; cursor: default; white-space: nowrap; }
.products-table td.text-center { padding: 6px 4px; }
.products-table .prod-thumb, .products-table .prod-thumb-placeholder { width: 46px; height: 36px; }

/* ── Topo fixo nas páginas admin ── */
.page-sticky-top {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #f7f4fb;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #ede3f6;
}

/* ── Interruptor (switch) ── */
.sw {
    display: inline-flex;
    align-items: center;
    width: 36px;
    height: 20px;
    border-radius: 99px;
    background: #d1c9e0;
    border: none;
    padding: 2px;
    cursor: pointer;
    transition: background .22s;
    flex-shrink: 0;
}
.sw__knob {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.25);
    transition: transform .22s;
    pointer-events: none;
}
/* ligado — padrão verde/roxo */
.sw.sw--on                { background: #3B6D11; }
.sw.sw--on .sw__knob      { transform: translateX(16px); }
/* cores por tipo */
.sw.sw--red.sw--on        { background: #e53e3e; }
.sw.sw--amber.sw--on      { background: #d69e2e; }
.sw.sw--orange.sw--on     { background: #dd6b20; }
.sw.sw--teal.sw--on       { background: #2b9e8e; }
/* hover sutil */
.sw:hover { filter: brightness(.93); }
.sw:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

/* Admin switches: fixed size and centered in every table */
.admin-body .sw {
    width: 38px;
    height: 21px;
    padding: 2px;
    margin: 0 auto;
    vertical-align: middle;
    background: #d7cfe4;
    border: 1px solid rgba(75,42,4,.08);
    box-shadow: inset 0 1px 2px rgba(75,42,4,.08);
}

.admin-body .sw__knob {
    width: 17px;
    height: 17px;
    box-shadow: 0 1px 4px rgba(37,26,11,.22);
}

.admin-body .sw.sw--on .sw__knob {
    transform: translateX(17px);
}

.admin-body .sw.sw--on {
    background: #3b6d11;
}

.admin-body .sw.sw--amber.sw--on,
.admin-body .sw.sw--orange.sw--on {
    background: #d7a23b;
}

.admin-body .sw.sw--red.sw--on {
    background: #b1442f;
}

.admin-body .sw.sw--teal.sw--on {
    background: #6f8f46;
}

.admin-body .admin-main .table input[type="checkbox"],
.admin-body .admin-main .form-switch .form-check-input {
    appearance: none;
    -webkit-appearance: none;
    width: 38px;
    min-width: 38px;
    height: 21px;
    margin: 0 auto;
    border: 1px solid rgba(75,42,4,.08);
    border-radius: 999px;
    background: #d7cfe4;
    box-shadow: inset 0 1px 2px rgba(75,42,4,.08);
    cursor: pointer;
    display: inline-block;
    position: relative;
    vertical-align: middle;
    transition: background .18s, border-color .18s;
}

.admin-body .admin-main .table input[type="checkbox"]::after,
.admin-body .admin-main .form-switch .form-check-input::after {
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(37,26,11,.22);
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform .18s;
}

.admin-body .admin-main .table input[type="checkbox"]:checked,
.admin-body .admin-main .form-switch .form-check-input:checked {
    background: #3b6d11;
    border-color: rgba(59,109,17,.35);
}

.admin-body .admin-main .table input[type="checkbox"]:checked::after,
.admin-body .admin-main .form-switch .form-check-input:checked::after {
    transform: translateX(17px);
}

.admin-body .admin-main .table input[type="checkbox"]:focus,
.admin-body .admin-main .form-switch .form-check-input:focus {
    outline: 2px solid rgba(168,115,18,.25);
    outline-offset: 2px;
    box-shadow: inset 0 1px 2px rgba(75,42,4,.08);
}

/* Force simple active checkboxes to match the product switches */
.admin-body .admin-main input[type="checkbox"]:not(.btn-check) {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 38px !important;
    min-width: 38px !important;
    height: 21px !important;
    margin: 0 auto !important;
    border: 1px solid rgba(75,42,4,.08) !important;
    border-radius: 999px !important;
    background-color: #d7cfe4 !important;
    background-image: radial-gradient(circle at 10.5px 50%, #fff 0 8px, transparent 8.5px) !important;
    background-repeat: no-repeat !important;
    box-shadow: inset 0 1px 2px rgba(75,42,4,.08) !important;
    cursor: pointer !important;
    display: inline-block !important;
    vertical-align: middle !important;
    transition: background-color .18s, background-image .18s !important;
}

.admin-body .admin-main input[type="checkbox"]:not(.btn-check):checked {
    background-color: #3b6d11 !important;
    background-image: radial-gradient(circle at 27.5px 50%, #fff 0 8px, transparent 8.5px) !important;
    border-color: rgba(59,109,17,.35) !important;
}

.admin-body .admin-main input[type="checkbox"]:not(.btn-check):focus {
    outline: 2px solid rgba(168,115,18,.25) !important;
    outline-offset: 2px !important;
}

/* Categories/addons/coupons use quick-btn buttons for active state */
.admin-body .admin-main .quick-btn {
    width: 38px !important;
    min-width: 38px !important;
    height: 21px !important;
    min-height: 21px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 1px solid rgba(75,42,4,.08) !important;
    border-radius: 999px !important;
    background: #d7cfe4 !important;
    box-shadow: inset 0 1px 2px rgba(75,42,4,.08) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    cursor: pointer !important;
    display: inline-block !important;
    position: relative !important;
    vertical-align: middle !important;
    overflow: hidden !important;
}

.admin-body .admin-main .quick-btn::after {
    content: "";
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(37,26,11,.22);
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform .18s;
}

.admin-body .admin-main .quick-btn.on {
    background: #3b6d11 !important;
    border-color: rgba(59,109,17,.35) !important;
}

.admin-body .admin-main .quick-btn.on::after {
    transform: translateX(17px);
}

.login-page { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple-dark), var(--purple), var(--pink)); padding: 20px; }
.login-card { width: min(420px, 100%); background: white; border-radius: 8px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.2); }

/* Admin cockpit compact style */
.admin-body {
    background: #f5f2ea;
    color: #15110a;
}

.admin-layout {
    grid-template-columns: 150px 1fr;
}

.admin-sidebar {
    background: #332006;
    padding: 10px 8px;
    border-right: 1px solid rgba(255,255,255,.08);
}

.admin-brand {
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 4px 10px;
    font-size: .88rem;
    line-height: 1.2;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-brand img {
    width: 34px;
    height: 34px;
}

.admin-nav {
    gap: 2px;
}

.admin-nav a {
    min-height: 32px;
    padding: 7px 8px;
    border-radius: 4px;
    color: rgba(255,255,255,.9);
    font-size: .78rem;
    font-weight: 800;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255,255,255,.16);
}

.admin-main {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    padding: 22px 24px;
}

.admin-main h1 {
    margin: 0 0 2px;
    color: #15110a;
    font-size: 1.85rem;
    line-height: 1.1;
    font-weight: 500;
}

.admin-main > p.text-muted,
.admin-main .text-muted {
    color: #5f5a4f !important;
}

.admin-main .d-flex.justify-content-between.align-items-center.mb-4 {
    margin-bottom: 14px !important;
    align-items: flex-start !important;
}

.admin-main .btn,
.admin-main .form-control,
.admin-main .form-select {
    border-radius: 3px;
    font-size: .78rem;
}

.admin-main .btn-purple,
.admin-main .btn-gold {
    border: 0;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(75,42,4,.18);
}

/* Admin button system: same compact rhythm as the orders screen */
.admin-body .admin-main .btn,
.admin-body .admin-main button.btn,
.admin-body .admin-main a.btn,
.admin-body .admin-main input[type="submit"].btn,
.admin-body .admin-main input[type="button"].btn {
    min-height: 30px;
    border-radius: 3px !important;
    padding: 7px 11px !important;
    border: 1px solid transparent !important;
    font-size: .72rem !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    box-shadow: none !important;
    text-decoration: none !important;
}

.admin-body .admin-main .btn-sm,
.admin-body .admin-main .btn.btn-sm {
    min-height: 26px;
    padding: 5px 9px !important;
    font-size: .68rem !important;
}

.admin-body .admin-main .btn-lg,
.admin-body .admin-main .btn.btn-lg {
    min-height: 36px;
    padding: 9px 14px !important;
    font-size: .78rem !important;
}

.admin-body .admin-main .btn-primary,
.admin-body .admin-main .btn-purple,
.admin-body .admin-main .btn-gold {
    background: linear-gradient(135deg, #a87312, #4b2a04) !important;
    border-color: #4b2a04 !important;
    color: #fffaf0 !important;
}

.admin-body .admin-main .btn-primary:hover,
.admin-body .admin-main .btn-purple:hover,
.admin-body .admin-main .btn-gold:hover {
    background: linear-gradient(135deg, #8a5a12, #332006) !important;
    color: #fffaf0 !important;
}

.admin-body .admin-main .btn-secondary,
.admin-body .admin-main .btn-outline-secondary,
.admin-body .admin-main .btn-light {
    background: #f4ead9 !important;
    border-color: #dfd2ba !important;
    color: #4b2a04 !important;
}

.admin-body .admin-main .btn-secondary:hover,
.admin-body .admin-main .btn-outline-secondary:hover,
.admin-body .admin-main .btn-light:hover {
    background: #e8d8b8 !important;
    color: #332006 !important;
}

.admin-body .admin-main .btn-success {
    background: #5f7f3a !important;
    border-color: #456a27 !important;
    color: #fffaf0 !important;
}

.admin-body .admin-main .btn-info {
    background: #8c9998 !important;
    border-color: #748382 !important;
    color: #fff !important;
}

.admin-body .admin-main .btn-warning {
    background: #d7a23b !important;
    border-color: #b78322 !important;
    color: #241606 !important;
}

.admin-body .admin-main .btn-danger,
.admin-body .admin-main .btn-outline-danger {
    background: #f8e8df !important;
    border-color: #e7c4b4 !important;
    color: #8a2f16 !important;
}

.admin-body .admin-main .btn-danger:hover,
.admin-body .admin-main .btn-outline-danger:hover {
    background: #b1442f !important;
    border-color: #8a2f16 !important;
    color: #fffaf0 !important;
}

.admin-body .admin-main .btn-outline-primary,
.admin-body .admin-main .btn-outline-purple {
    background: #fffaf4 !important;
    border-color: #a87312 !important;
    color: #4b2a04 !important;
}

.admin-body .admin-main .btn-outline-primary:hover,
.admin-body .admin-main .btn-outline-purple:hover {
    background: #a87312 !important;
    color: #fffaf0 !important;
}

.admin-body .admin-main .btn-group,
.admin-body .admin-main .d-flex.gap-2,
.admin-body .admin-main .d-flex.gap-3,
.admin-body .admin-main form.d-flex,
.admin-body .admin-main .page-actions {
    align-items: center;
    gap: 6px !important;
}

.admin-body .admin-main .table .btn,
.admin-body .admin-main td .btn {
    min-width: 30px;
}

.admin-body .admin-main .products-table th.th-icon,
.admin-body .admin-main .products-table td.text-center {
    width: 66px;
    min-width: 66px;
    text-align: center;
    vertical-align: middle;
}

.admin-body .admin-main .products-table td.text-center {
    padding-left: 6px;
    padding-right: 6px;
}

.admin-body .admin-main .products-table td.text-center .sw {
    display: inline-flex;
}

.admin-body .admin-main .products-table td:last-child {
    width: 124px;
    min-width: 124px;
    padding-left: 6px;
    padding-right: 6px;
    vertical-align: middle;
    white-space: nowrap;
    text-align: center;
}

.admin-body .admin-main .products-table td:last-child .btn,
.admin-body .admin-main .table td.actions .btn,
.admin-body .admin-main .table td .btn-action {
    width: 34px;
    min-width: 34px;
    height: 28px;
    min-height: 28px;
    padding: 0 !important;
    border-radius: 3px !important;
    font-size: .72rem !important;
    line-height: 1 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-body .admin-main .table:not(.products-table) td:last-child {
    width: 124px;
    min-width: 124px;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
}

.admin-body .admin-main .table:not(.products-table) td:last-child .btn {
    min-width: 46px;
    height: 28px;
    min-height: 28px;
    padding: 0 8px !important;
    border-radius: 3px !important;
    font-size: .7rem !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.admin-body .admin-main .table:not(.products-table) td:last-child .btn + .btn {
    margin-left: 4px;
}

.admin-body .admin-main .products-table td:last-child .btn + .btn,
.admin-body .admin-main .table td.actions .btn + .btn {
    margin-left: 4px;
}

.admin-body .admin-main .products-table td:last-child .btn:not(.btn-danger):not(.btn-outline-danger) {
    width: 46px;
    min-width: 46px;
}

.admin-body .admin-main .products-table {
    width: 100%;
    table-layout: fixed;
}

.admin-body .admin-main .products-table th:first-child,
.admin-body .admin-main .products-table td:first-child {
    width: 60px;
}

.admin-body .admin-main .products-table th:nth-child(2),
.admin-body .admin-main .products-table td:nth-child(2) {
    width: auto;
}

.admin-body .admin-main .products-table th:nth-child(3),
.admin-body .admin-main .products-table td:nth-child(3) {
    width: 120px;
}

.admin-body .admin-main .products-table th:nth-child(4),
.admin-body .admin-main .products-table td:nth-child(4) {
    width: 72px;
}

.admin-body .admin-main .products-table th:last-child,
.admin-body .admin-main .products-table td:last-child {
    width: 124px;
}

.admin-body .admin-main .products-table td:nth-child(2) {
    overflow: hidden;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.metric-card {
    min-height: 96px;
    padding: 14px 16px;
    border: 1px solid #e5d7bd;
    border-left: 3px solid var(--purple);
    border-radius: 4px;
    box-shadow: none;
}

.metric-card span {
    color: #766a5a;
    font-size: .78rem;
    font-weight: 800;
}

.metric-card strong {
    margin-top: 8px;
    color: var(--purple-dark);
    font-size: 1.55rem;
}

.metric-card small {
    color: #7a7268;
    font-size: .72rem;
}

.panel {
    border: 1px solid #dfd2ba;
    border-radius: 4px;
    box-shadow: none;
    padding: 14px;
}

.panel h2,
.panel h3,
.panel h4,
.panel h5 {
    color: #15110a;
    font-weight: 800;
}

.panel .d-flex.justify-content-between.align-items-center {
    padding-bottom: 10px;
    border-bottom: 1px solid #efe5d1;
}

.orders-empty {
    min-height: 200px;
    display: grid;
    place-items: center;
    color: #8b8173;
}

.orders-empty-icon {
    font-size: 2.4rem;
}

.status-badge {
    border-radius: 3px;
    background: #e9f8ef;
    color: #16844c;
}

.orders-kanban {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    min-height: 180px;
}

.orders-kanban__col {
    min-width: 0;
}

.orders-kanban__title {
    height: 22px;
    border: 1px solid #5b4d30;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #111;
    font-size: .72rem;
    font-weight: 900;
}

.orders-kanban__col--recebidos .orders-kanban__title {
    background: #d7a23b;
    color: #241606;
}

.orders-kanban__col--aceitos .orders-kanban__title {
    background: #8a5a12;
    color: #fffaf0;
}

.orders-kanban__col--prontos .orders-kanban__title {
    background: #5f7f3a;
    color: #fffaf0;
}

.orders-kanban__body {
    min-height: 128px;
    padding: 14px 8px;
}

.orders-kanban__empty {
    margin: 22px 0 0;
    color: #111827;
    text-align: center;
    font-size: .74rem;
}

.orders-kanban .order-card {
    margin-bottom: 8px;
    border-radius: 3px;
    box-shadow: none;
}

/* Admin orders page: Saron palette over the inline kanban colors */
.admin-body .kanban-top {
    background: #f5f2ea !important;
    border-bottom: 1px solid #dfd2ba !important;
}

.admin-body .kanban-top h1 {
    color: #15110a !important;
    font-weight: 800 !important;
}

.admin-body .kanban-wrap {
    gap: 12px !important;
}

.admin-body .kanban-col {
    background: #fffaf4 !important;
    border: 1px solid #eadcc4 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.admin-body .kanban-col__head {
    min-height: 36px !important;
    border-bottom: 1px solid rgba(75,42,4,.14) !important;
    color: #251a0b !important;
}

.admin-body .kanban-col--pendente .kanban-col__head {
    background: linear-gradient(135deg, #e0b64f, #d7a23b) !important;
    color: #241606 !important;
}

.admin-body .kanban-col--preparo .kanban-col__head {
    background: linear-gradient(135deg, #a87312, #7a4c08) !important;
    color: #fffaf0 !important;
}

.admin-body .kanban-col--entrega .kanban-col__head {
    background: linear-gradient(135deg, #6f8f46, #456a27) !important;
    color: #fffaf0 !important;
}

.admin-body .kanban-col__body {
    background: #fffaf4 !important;
}

.admin-body .kanban-col__empty {
    color: #8a7a6a !important;
}

.admin-body .kanban-card {
    border-color: #eadcc4 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.admin-body .kanban-card:hover {
    border-color: var(--purple) !important;
    box-shadow: 0 8px 22px rgba(75,42,4,.12) !important;
}

.admin-body .kanban-card__title,
.admin-body .kanban-card__total {
    color: var(--purple-dark) !important;
}

.admin-body .hist-link,
.admin-body .k-btn--imprimir {
    background: #fff4df !important;
    border-color: #e6d4b5 !important;
    color: var(--purple-dark) !important;
}

.admin-body .k-btn--avancar {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark)) !important;
    color: #fffaf0 !important;
}

.admin-body .k-btn--cancelar {
    background: #f8e8df !important;
    color: #8a2f16 !important;
}

.admin-body .saron-orders-console {
    width: 100%;
    max-width: 1180px;
    margin: -8px auto 12px !important;
    color: #15110a;
}

.admin-body .saron-console-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}

.admin-body .saron-action,
.admin-body .saron-console-buttons a,
.admin-body .saron-console-filters a,
.admin-body .saron-console-line button {
    min-height: 26px;
    border: 0;
    border-radius: 3px;
    padding: 6px 10px;
    background: #9b8f78;
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.admin-body .saron-action {
    background: #a87312;
}

.admin-body .saron-action--danger {
    background: #b1442f;
}

.admin-body .saron-action--dark {
    background: #332006;
}

.admin-body .saron-console-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
    gap: 8px;
}

.admin-body .saron-console-box {
    min-height: 62px;
    border: 1px solid #bed7d4;
    border-radius: 4px;
    background: #d9efed;
    padding: 8px;
}

.admin-body .saron-console-title {
    margin-bottom: 6px;
    color: #251a0b;
    font-size: .78rem;
    font-weight: 800;
    text-align: center;
}

.admin-body .saron-console-line,
.admin-body .saron-console-buttons {
    display: flex;
    gap: 6px;
    align-items: center;
}

.admin-body .saron-console-input,
.admin-body .saron-console-filters input {
    min-width: 0;
    height: 28px;
    border: 1px solid #cfc6b6;
    border-radius: 3px;
    background: #fff;
    padding: 0 10px;
    color: #251a0b;
    font-size: .72rem;
}

.admin-body .saron-console-line .saron-console-input {
    flex: 1;
}

.admin-body .saron-console-line button,
.admin-body .saron-console-buttons a {
    background: #8c9998;
}

.admin-body .saron-console-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 8px;
    border: 1px solid #dfd2ba;
    border-radius: 4px;
    background: #f1ece4;
}

.admin-body .saron-console-filters a {
    background: #d8c39d;
    color: #251a0b;
}

.admin-body .saron-console-filters a.is-active {
    background: #332006;
    color: #fffaf0;
}

.admin-body .saron-console-filters input {
    flex: 1 1 160px;
}

.admin-body .kanban-top + .saron-orders-console + .kanban-wrap,
.admin-body .kanban-wrap--classic {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
}

.admin-body .kanban-wrap--classic {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

.admin-body .kanban-wrap--classic .kanban-col {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.admin-body .kanban-wrap--classic .kanban-col__head {
    min-height: 34px !important;
    justify-content: center !important;
    border: 1px solid #5b4d30 !important;
    border-radius: 0 !important;
    font-size: .82rem !important;
    line-height: 1 !important;
}

.admin-body .kanban-wrap--classic .kanban-col__body {
    min-height: calc(100vh - 430px) !important;
    padding: 24px 8px !important;
    background: #fff !important;
}

.admin-body .kanban-wrap--classic .kanban-col__empty {
    margin-top: 8px !important;
    font-size: .72rem !important;
    text-align: center !important;
}

@media (max-width: 900px) {
    .admin-body .saron-console-grid,
    .admin-body .kanban-wrap--classic {
        grid-template-columns: 1fr !important;
    }

    .admin-body .saron-console-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .orders-kanban {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (min-width: 993px) {
    .admin-body::before {
        content: 'SARON GOURMET';
        position: fixed;
        top: 0;
        left: 150px;
        right: 0;
        height: 38px;
        z-index: 49;
        background: #3a332c;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .92rem;
        font-weight: 700;
        letter-spacing: .02em;
    }

    .admin-main {
        padding-top: 58px;
    }

    .admin-body:has(.kanban-wrap) .admin-main {
        max-width: none;
        padding-left: 32px;
        padding-right: 32px;
    }

    .admin-body:has(.products-table) .admin-main,
    .admin-body:has(.table) .admin-main {
        max-width: none;
        padding-left: 32px;
        padding-right: 32px;
    }

    .admin-body:has(.kanban-wrap) .kanban-top {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 992px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; }
    .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .orders-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 640px) {
    .hero-banner { height: 200px; }
    .store-logo { width: 110px; height: 110px; bottom: -55px; }
    .hero-info { padding-top: 65px; }
    .banner-strip {
        display: block;
        padding: 8px 12px 6px;
        overflow-x: visible;
    }
    .banner-strip a {
        display: block;
        width: 100%;
        padding: 8px 12px;
        font-size: .8rem;
    }
    .menu-toolbar { grid-template-columns: 1fr auto auto; }
    .product-grid { grid-template-columns: 1fr; }
    .metric-grid { grid-template-columns: 1fr; }
    .admin-main { padding: 18px; }
    .product-grid.layout-lista .product-img-wrap { width: 96px; height: 96px; }
    .product-grid.layout-lista { grid-template-columns: unset; }
    .orders-grid { grid-template-columns: 1fr; }
}

/* Controle de quantidade com botões */
.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #d1c4e9;
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    min-width: 130px;
}
.qty-btn {
    background: var(--purple);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    flex-shrink: 0;
}
.qty-btn:hover { background: var(--purple-dark); }
#modalQtyDisplay {
    flex: 1;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--purple-dark);
    min-width: 46px;
}

/* Tipo de entrega — botões toggle */
/* ── Entrega toggle (Delivery / Retirada) ── */
.section-label {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #888;
    margin: 14px 0 8px;
}
.entrega-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 2px;
}
.entrega-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 14px 8px;
    border: 2px solid #e0d7f5;
    border-radius: 14px;
    background: #faf9ff;
    color: #888;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.entrega-btn .btn-icon {
    font-size: 1.6rem;
    line-height: 1;
}
.entrega-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: #f3eeff;
}
.entrega-btn.active {
    border-color: var(--purple);
    background: var(--purple);
    color: white;
    box-shadow: 0 4px 14px rgba(124,58,237,.25);
}

/* ── Pagamento ── */
.pagamento-section { margin-top: 2px; }
.pagamento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}
.pagamento-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 14px 8px;
    border: 2px solid #e0d7f5;
    border-radius: 14px;
    background: #faf9ff;
    color: #888;
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.pagamento-btn .btn-icon {
    font-size: 1.5rem;
    line-height: 1;
}
.pagamento-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: #f3eeff;
}
.pagamento-btn.active {
    border-color: var(--purple);
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(124,58,237,.28);
}
.pagamento-btn.active .btn-icon { filter: brightness(1.3); }

/* ── Pix box ── */
.pag-info {
    background: #f8f4ff;
    border-radius: 12px;
    padding: 14px;
    margin-top: 2px;
    animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity:0; transform:translateY(-4px); } to { opacity:1; transform:translateY(0); } }
.pix-box {
    border: 2px dashed var(--purple);
    background: linear-gradient(135deg, #f8f4ff, #fff);
}
.pix-titulo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--purple);
    margin-bottom: 10px;
}
.pix-key-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1.5px solid #d1c4e9;
    border-radius: 10px;
    padding: 10px 12px;
    gap: 8px;
    margin-bottom: 8px;
}
.pix-key-row span {
    font-weight: 700;
    font-size: .95rem;
    color: var(--purple-dark);
    word-break: break-all;
}
.btn-copiar {
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-copiar:hover { background: var(--purple-dark); }
.btn-copiar.copiado {
    background: #2e7d32;
}

/* ── Troco ── */
.troco-result {
    font-weight: 700;
    color: #2e7d32;
    font-size: 1rem;
    background: #e8f5e9;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 6px;
    display: none;
}
.troco-result.visivel { display: block; }
.troco-result.erro { background: #ffebee; color: #c62828; }

/* ── Card cliente salvo ── */
.cliente-card {
    background: linear-gradient(135deg, #f8f4ff, #fff);
    border: 2px solid var(--purple);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(124,58,237,.1);
}
.cliente-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.cliente-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cliente-dados { flex: 1; }
.cliente-dados strong {
    display: block;
    color: var(--purple-dark);
    font-size: .97rem;
}
.cliente-dados span {
    font-size: .84rem;
    color: #777;
}

/* ── Endereço salvo ── */
.endereco-salvo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f4ff;
    border: 2px solid #d1c4e9;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 4px;
    gap: 8px;
}
.endereco-salvo-row .endereco-icon { font-size: 1.3rem; flex-shrink: 0; }
.endereco-salvo-row small { color: #888; font-size: .78rem; }
.endereco-salvo-row p { font-size: .93rem; margin: 0; font-weight: 600; color: #333; }

/* ═══════════════════════════════════════════════════════════════
   PAINEL DE PEDIDOS — Cards
   ═══════════════════════════════════════════════════════════════ */

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    padding: 2px 0;
}

.order-card {
    background: #fff;
    border: 1.5px solid #e8e3f5;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: box-shadow .2s, border-color .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.order-card:hover {
    border-color: var(--purple);
    box-shadow: 0 2px 10px rgba(124,58,237,.10);
}
.order-card--new {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(124,58,237,.18), 0 2px 12px rgba(124,58,237,.12);
    animation: pulse-new 2s ease-in-out 3;
}
@keyframes pulse-new {
    0%, 100% { box-shadow: 0 0 0 2px rgba(124,58,237,.18), 0 2px 12px rgba(124,58,237,.12); }
    50%       { box-shadow: 0 0 0 5px rgba(124,58,237,.28), 0 2px 16px rgba(124,58,237,.20); }
}

/* Cabeçalho do card */
.order-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.order-card__id {
    font-size: .82rem;
    font-weight: 800;
    color: var(--purple-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}
.badge-novo {
    background: var(--purple);
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 1px 6px;
    border-radius: 99px;
    animation: fadeIn .3s ease;
}
.order-card__time {
    font-size: .7rem;
    font-weight: 700;
    color: #555;
    text-align: right;
    line-height: 1.2;
}
.order-card__date {
    display: block;
    font-size: .68rem;
    color: #aaa;
    font-weight: 400;
}

/* Cliente */
.order-card__client {
    display: flex;
    align-items: center;
    gap: 7px;
}
.order-client-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    font-weight: 800;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.order-card__client strong {
    display: block;
    font-size: .73rem;
    color: #222;
}
.order-client-tel,
.order-client-addr {
    font-size: .72rem;
    color: #777;
    margin-top: 1px;
}

/* Itens */
/* Toggle de itens */
.order-items-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 3px 0;
    border-top: 1px dashed #e0d7f5;
    user-select: none;
    gap: 6px;
}
.order-items-toggle:hover .order-items-summary {
    color: var(--purple);
}
.order-items-summary {
    font-size: .68rem;
    color: #888;
    font-weight: 600;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .15s;
}
.order-items-arrow {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f3eeff;
    color: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .22s ease, background .15s;
}
.order-items-arrow svg {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    display: block;
    transition: transform .22s ease;
}
.order-card__items-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease, opacity .2s ease;
    opacity: 0;
}
.order-card__items-wrap.open {
    max-height: 400px;
    opacity: 1;
}
.order-items-toggle.open .order-items-arrow {
    background: var(--purple);
    color: #fff;
}
.order-items-toggle.open .order-items-arrow svg {
    transform: rotate(180deg);
}

.order-card__items {
    border-bottom: 1px dashed #e0d7f5;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.order-item-row {
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.order-item-qty {
    font-weight: 800;
    color: var(--purple);
    font-size: .7rem;
    min-width: 16px;
    flex-shrink: 0;
}
.order-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.order-item-name {
    font-weight: 600;
    font-size: .7rem;
    color: #222;
}
.order-item-extra {
    color: #888;
    font-size: .68rem;
}
.order-item-obs {
    color: #b97a00;
    font-size: .68rem;
}
.order-item-price {
    font-weight: 700;
    font-size: .68rem;
    color: #333;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Totais */
.order-card__totals {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.order-total-row {
    display: flex;
    justify-content: space-between;
    font-size: .75rem;
    color: #666;
}
.order-total-row--final {
    font-size: .78rem;
    color: #111;
    padding-top: 4px;
    border-top: 1px solid #eee;
    margin-top: 1px;
}
.order-total-row--final strong {
    color: var(--purple-dark);
    font-size: .82rem;
}

/* Rodapé */
.order-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: wrap;
}
.order-card__meta {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.order-pag-badge,
.order-tipo-badge {
    background: #f3eeff;
    color: var(--purple-dark);
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
    white-space: nowrap;
}

/* Select de status colorido */
.order-status-select {
    border: none;
    border-radius: 99px;
    padding: 3px 9px;
    font-size: .7rem;
    font-weight: 700;
    cursor: pointer;
    outline: none;
    transition: all .2s;
}
.status-pendente  { background: #fff3cd; color: #856404; }
.status-preparo   { background: #cff4fc; color: #0c5460; }
.status-entrega   { background: #d1e7dd; color: #0a3622; }
.status-finalizado { background: #d4edda; color: #155724; }
.status-cancelado { background: #f8d7da; color: #721c24; }

/* Observações */
.order-card__obs {
    background: #fffbe6;
    border-left: 2px solid #f0c040;
    border-radius: 0 6px 6px 0;
    padding: 4px 8px;
    font-size: .72rem;
    color: #7a5800;
}

/* Estado vazio */
.orders-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}
.orders-empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.orders-empty p    { font-size: 1.1rem; margin: 0 0 4px; font-weight: 600; }
.orders-empty small { font-size: .85rem; }

/* ── Badge de pendentes no menu ── */
.pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 99px;
    padding: 0 5px;
    margin-left: 6px;
    animation: fadeIn .3s ease;
}

/* ── Toast de novo pedido ── */
#order-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #fff;
    border: 2px solid var(--purple);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(124,58,237,.25);
    z-index: 9999;
    min-width: 240px;
    transform: translateY(120px);
    opacity: 0;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .35s ease;
    pointer-events: none;
}
#order-toast.toast--show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.toast-icon  { font-size: 2rem; flex-shrink: 0; }
.toast-body  { display: flex; flex-direction: column; flex: 1; }
.toast-body strong { color: var(--purple-dark); font-size: .95rem; }
.toast-body span   { font-size: .82rem; color: #888; }
.toast-close {
    background: none;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
    align-self: flex-start;
}
.toast-close:hover { color: #555; }

/* ── Filtros de pedidos ── */
.order-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.order-filter-btn {
    background: #f5f3ff;
    border: 2px solid #e0d7f5;
    border-radius: 99px;
    padding: 6px 14px;
    font-size: .82rem;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}
.order-filter-btn:hover {
    border-color: var(--purple);
    color: var(--purple);
}
.order-filter-btn.active {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}
.filter-count {
    background: rgba(255,255,255,.25);
    border-radius: 99px;
    padding: 1px 7px;
    font-size: .75rem;
    margin-left: 4px;
}
.order-filter-btn.active .filter-count { background: rgba(255,255,255,.3); }
.order-filter-btn:not(.active) .filter-count { background: #e0d7f5; color: var(--purple-dark); }

/* ── Indicador live ── */
.orders-live-indicator {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    color: #888;
    font-weight: 600;
}
.live-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(34,197,94,.4); }
    50%       { opacity: .8; transform: scale(1.15); box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* ═══════════════════════════════════════════════════════════════
   TELA DE CONFIRMAÇÃO DO PEDIDO
   ═══════════════════════════════════════════════════════════════ */
.confirmacao-screen {
    padding: 8px 4px 12px;
    animation: fadeIn .35s ease;
}
.confirmacao-icon {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 10px;
    animation: confirmacao-pop .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes confirmacao-pop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.confirmacao-titulo {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--purple-dark);
    margin-bottom: 4px;
}
.confirmacao-num {
    text-align: center;
    font-size: 1rem;
    color: #555;
    margin-bottom: 6px;
}
.confirmacao-num strong {
    color: var(--purple);
    font-size: 1.15rem;
}
.confirmacao-msg {
    text-align: center;
    font-size: .87rem;
    color: #777;
    margin-bottom: 18px;
    line-height: 1.5;
}
.confirmacao-pix {
    background: linear-gradient(135deg, #f8f4ff, #fff);
    border: 2px dashed var(--purple);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 6px;
}
.confirmacao-instrucao {
    font-size: .85rem;
    color: var(--purple-dark);
    font-weight: 600;
    text-align: center;
    margin: 10px 0 4px;
    background: #f3eeff;
    border-radius: 8px;
    padding: 8px 12px;
}

/* ── Botão imprimir no card ── */
.btn-imprimir {
    width: 100%;
    padding: 4px 8px;
    background: none;
    border: 1px dashed #d1c4e9;
    border-radius: 6px;
    color: #7c3aed;
    font-size: .7rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    margin-top: 1px;
}
.btn-imprimir:hover {
    background: #f3eeff;
    border-color: var(--purple);
}

/* ═══════════════════════════════════════════════════════════════
   SETTINGS — Abas
   ═══════════════════════════════════════════════════════════════ */
.settings-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid #e0d7f5;
    padding-bottom: 0;
}
.settings-tab {
    padding: 8px 20px;
    border-radius: 10px 10px 0 0;
    font-weight: 700;
    font-size: .9rem;
    color: #888;
    text-decoration: none;
    border: 2px solid transparent;
    border-bottom: none;
    transition: all .2s;
    margin-bottom: -2px;
}
.settings-tab:hover { color: var(--purple); background: #f3eeff; }
.settings-tab.active {
    color: var(--purple-dark);
    background: #fff;
    border-color: #e0d7f5;
    border-bottom-color: #fff;
}

:root {
    --rp-font-size:   13px;
    --rp-font-family: 'Arial Black', Arial, sans-serif;
    --rp-logo-size:   60px;
    --rp-line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PREVIEW DO COMPROVANTE — Variáveis ajustáveis via painel
   ═══════════════════════════════════════════════════════════════ */
.receipt-preview {
    font-family: var(--rp-font-family) !important;
    font-size:   var(--rp-font-size)   !important;
    font-weight: 900                   !important;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    box-shadow: 2px 4px 12px rgba(0,0,0,.08);
    color: #000;
    line-height: var(--rp-line-height);
}
.receipt-preview * {
    font-family: var(--rp-font-family) !important;
    font-weight: 900 !important;
}
.rp-header   { text-align: center; border-bottom: 1px dashed #000; padding-bottom: 6px; margin-bottom: 6px; }
.rp-logo     { width: var(--rp-logo-size); height: auto; display: block; margin: 0 auto 4px; }
.rp-nome     { font-size: calc(var(--rp-font-size) * 1.1); text-transform: uppercase; letter-spacing: 1px; }
.rp-info     { font-size: calc(var(--rp-font-size) * 0.85); color: #333; }
.rp-pedido   { text-align: center; font-size: calc(var(--rp-font-size) * 1.2); letter-spacing: 2px; padding: 4px 0; }
.rp-data     { text-align: center; font-size: calc(var(--rp-font-size) * 0.85); color: #444; margin-bottom: 4px; }
.rp-sep      { border-top: 1px dashed #000; margin: 5px 0; }
.rp-section  { font-size: var(--rp-font-size) !important; font-weight: 900 !important; font-family: var(--rp-font-family) !important; text-decoration: underline !important; text-transform: uppercase; letter-spacing: 1px; color: #000 !important; margin-bottom: 3px; display: block; }
.rp-row      { font-size: var(--rp-font-size); margin-bottom: 1px; }
.rp-item     { display: flex; justify-content: space-between; font-size: var(--rp-font-size); margin-bottom: 2px; gap: 4px; }
.rp-total-row { display: flex; justify-content: space-between; font-size: var(--rp-font-size); margin-bottom: 1px; }
.rp-total-final { font-size: calc(var(--rp-font-size) * 1.15); border-top: 1px solid #000; padding-top: 3px; margin-top: 2px; }
.rp-footer   { text-align: center; font-size: calc(var(--rp-font-size) * 0.85); color: #333; padding-top: 4px; }
.rp-msg      { font-size: var(--rp-font-size); color: #000; margin-bottom: 2px; }

/* ── Painel flutuante de ajustes do comprovante ── */
#painel-comprovante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
}
#painel-comp-toggle {
    background: #2b1b07;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 18px;
    font-size: .9rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
}
#painel-comp-toggle:hover { background: #4b2a04; }
#painel-comp-corpo {
    display: none;
    background: #fff;
    border: 2px solid #2b1b07;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 10px;
    box-shadow: 0 8px 36px rgba(0,0,0,.22);
    min-width: 280px;
}
#painel-comp-corpo.aberto { display: block; }
#painel-comp-corpo h3 {
    margin: 0 0 14px;
    color: #2b1b07;
    font-size: 1rem;
    font-weight: 900;
    border-bottom: 2px solid #f2e4c2;
    padding-bottom: 8px;
}
.pc-linha { margin-bottom: 12px; }
.pc-linha label { display: block; font-size: .75rem; color: #555; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pc-linha input[type=range] { width: 100%; accent-color: #4b2a04; }
.pc-linha select { width: 100%; padding: 6px 8px; border: 2px solid #e0d7f5; border-radius: 8px; font-size: .85rem; background: #faf8ff; }
.pc-valor { font-size: .82rem; color: #4b2a04; font-weight: 900; float: right; }
.pc-reset { width: 100%; margin-top: 8px; padding: 8px; background: #f3eeff; border: 2px solid #d1c4e9; border-radius: 8px; color: #4b2a04; font-size: .82rem; font-weight: 900; cursor: pointer; transition: all .2s; }
.pc-reset:hover { background: #2b1b07; color: #fff; border-color: #2b1b07; }

/* ═══════════════════════════════════════════════════════════════
   FILTROS DE PERÍODO
   ═══════════════════════════════════════════════════════════════ */
.orders-period-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.period-btn {
    padding: 6px 16px;
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 700;
    color: #666;
    text-decoration: none;
    background: #f5f3ff;
    border: 2px solid #e0d7f5;
    transition: all .2s;
    white-space: nowrap;
}
.period-btn:hover { border-color: var(--purple); color: var(--purple); }
.period-btn.active {
    background: var(--purple-dark);
    border-color: var(--purple-dark);
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   METRIC CARDS COLORIDOS
   ═══════════════════════════════════════════════════════════════ */
.metric-card small {
    display: block;
    font-size: .78rem;
    font-weight: 500;
    color: #999;
    margin-top: 4px;
}
.metric-card--purple { border-left: 4px solid var(--purple); }
.metric-card--purple strong { color: var(--purple-dark); }
.metric-card--yellow { border-left: 4px solid #f59e0b; }
.metric-card--yellow strong { color: #b45309; }
.metric-card--green  { border-left: 4px solid #22c55e; }
.metric-card--green strong  { color: #15803d; }

/* ═══════════════════════════════════════════════════════════════
   OPÇÕES DE SOM DE NOTIFICAÇÃO
   ═══════════════════════════════════════════════════════════════ */
.sound-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sound-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e0d7f5;
    border-radius: 12px;
    cursor: pointer;
    transition: all .2s;
    background: #faf8ff;
}
.sound-option:hover {
    border-color: var(--purple);
    background: #f3eeff;
}
.sound-option.active {
    border-color: var(--purple);
    background: #f3eeff;
}
.sound-icon {
    font-size: 1.6rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.sound-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sound-info strong {
    font-size: .95rem;
    color: #222;
}
.sound-info small {
    font-size: .8rem;
    color: #888;
    margin-top: 2px;
}
.sound-preview-btn {
    background: #f3eeff;
    border: 2px solid #d1c4e9;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--purple-dark);
    cursor: pointer;
    flex-shrink: 0;
    transition: all .2s;
    white-space: nowrap;
}
.sound-preview-btn:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}
.sound-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--purple);
    color: #fff;
    font-size: .8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    transition: all .2s;
}
.sound-option.active .sound-check {
    opacity: 1;
    transform: scale(1);
}

/* Loja mais compacta e proporcional */
.storefront #cardapio {
    max-width: 1120px;
    padding-top: 14px !important;
    padding-bottom: 28px !important;
}

.storefront .menu-toolbar {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 9px 0;
}

.storefront .menu-toolbar .form-control {
    min-height: 38px;
    padding: 8px 14px;
    font-size: .86rem;
}

.storefront .layout-btn {
    min-height: 32px;
    padding: 6px 11px;
    font-size: .78rem;
}

.storefront .menu-toolbar .btn {
    min-height: 38px;
    padding: 7px 13px;
    font-size: .9rem;
}

.storefront .floating-cart-btn {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: 22px !important;
    bottom: 22px !important;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto !important;
    min-height: 48px;
    min-width: 132px;
    max-width: max-content;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(75,42,4,.32);
}

.storefront .category-scroller {
    margin-top: 14px !important;
    margin-bottom: 18px !important;
}

.storefront .category-pill {
    padding: 7px 13px;
    font-size: .8rem;
}

.storefront .section-title {
    margin: 24px 0 13px;
    padding-bottom: 9px;
    gap: 9px;
    font-size: 1.02rem;
}

.storefront .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 12px;
}

.storefront .product-card {
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(168,115,18,.07);
}

.storefront .product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(168,115,18,.13);
}

.storefront .product-img-wrap {
    aspect-ratio: 5 / 4;
}

.storefront .product-body {
    padding: 9px 10px 10px;
}

.storefront .product-body h3 {
    font-size: .84rem;
    line-height: 1.22;
}

.storefront .product-body p {
    min-height: 32px;
    font-size: .74rem;
    line-height: 1.35;
    margin-bottom: 6px;
}

.storefront .product-body strong {
    font-size: .9rem;
}

.storefront .product-body .btn {
    margin-top: 9px !important;
    padding: 6px 10px;
    font-size: .84rem;
}

.storefront .product-grid--scroll .product-card {
    flex-basis: 190px;
    min-width: 190px;
}

.storefront .tag {
    padding: 3px 8px;
    font-size: .68rem;
}

.storefront .card-badges {
    top: 7px;
    left: 7px;
}

.storefront .modal-dialog {
    max-width: 320px;
}

.storefront .modal-content {
    border-radius: 9px;
}

.storefront .modal-header,
.storefront .modal-footer {
    padding: 7px 11px;
}

.storefront .modal-title {
    font-size: .9rem;
}

.storefront .modal-body {
    padding: 9px 11px;
    font-size: .8rem;
}

.storefront #modalProductImage {
    height: 90px !important;
    margin-bottom: 7px !important;
    border-radius: 6px !important;
}

.storefront #productModal #modalProductImage {
    width: 96px !important;
    height: 96px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f7f2ea !important;
}

.storefront #modalProductDesc {
    font-size: .76rem;
    line-height: 1.3;
    margin-bottom: 8px !important;
}

.storefront .modal-body .form-label {
    margin-bottom: 4px;
    font-size: .8rem;
}

.storefront .modal-body .form-label.mt-3 {
    margin-top: 8px !important;
}

.storefront .modal-body textarea.form-control {
    min-height: 44px;
    padding: 6px 8px;
    font-size: .8rem;
}

.storefront .qty-control {
    min-width: 92px;
}

.storefront .qty-btn {
    width: 29px;
    height: 29px;
    font-size: .9rem;
}

.storefront #modalQtyDisplay {
    min-width: 34px;
    font-size: .86rem;
}

.storefront .extra-option {
    gap: 7px;
    padding: 5px 0;
    font-size: .78rem;
}

.storefront #addToCart {
    padding: 6px 10px;
    font-size: .84rem;
}

@media (min-width: 1200px) {
    .storefront #cardapio {
        max-width: 1080px;
    }

    .storefront .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .storefront #cardapio {
        padding-left: 12px;
        padding-right: 12px;
    }

    .storefront .menu-toolbar {
        grid-template-columns: 1fr auto;
    }

    .storefront .menu-toolbar .layout-toggle {
        order: 3;
        grid-column: 1 / -1;
        justify-self: start;
    }

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

    .storefront .product-grid.layout-lista {
        display: flex;
    }

    .storefront .product-grid.layout-lista .product-card {
        grid-template-columns: 92px 1fr;
    }

    .storefront .product-grid.layout-lista .product-img-wrap {
        width: 92px;
        height: 92px;
    }

    .storefront .product-grid--scroll .product-card {
        flex-basis: 165px;
        min-width: 165px;
    }

    .storefront .modal-dialog {
        max-width: calc(100vw - 24px);
        margin-left: auto;
        margin-right: auto;
    }
}

/* Carrinho lateral mais compacto */
.storefront .cart-canvas {
    width: 100vw !important;
    max-width: none !important;
    border-left: 0;
}

.storefront .cart-canvas .offcanvas-header {
    min-height: 56px;
    padding: 12px max(18px, calc((100vw - 760px) / 2)) 10px;
    border-bottom: 1px solid #f2e4c2;
}

.storefront .cart-canvas .offcanvas-title {
    font-size: 1.08rem;
    font-weight: 800;
}

.storefront .cart-canvas .offcanvas-body {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 16px 18px 84px;
    overflow-y: auto;
}

.storefront .cart-canvas .offcanvas-body > p.text-muted {
    margin-bottom: 6px;
    font-size: .78rem;
}

.storefront .cart-canvas .coupon-box {
    gap: 5px;
    margin-top: 5px !important;
    margin-bottom: 6px !important;
}

.storefront .cart-canvas .form-control,
.storefront .cart-canvas .form-select {
    min-height: 30px;
    padding: 5px 8px;
    font-size: .78rem;
    border-radius: 6px;
}

.storefront .cart-canvas .coupon-box .btn,
.storefront .cart-canvas .btn-sm {
    padding: 4px 8px;
    font-size: .74rem;
}

.storefront .cart-canvas .checkout-form {
    gap: 4px;
}

.storefront .cart-canvas .cliente-card {
    border-width: 1.5px;
    border-radius: 9px;
    padding: 6px 8px;
    margin-bottom: 5px;
}

.storefront .cart-canvas .cliente-info {
    gap: 7px;
}

.storefront .cart-canvas .cliente-avatar {
    width: 28px;
    height: 28px;
    font-size: .82rem;
}

.storefront .cart-canvas .cliente-dados strong {
    font-size: .78rem;
}

.storefront .cart-canvas .cliente-dados span,
.storefront .cart-canvas .cart-item,
.storefront .cart-canvas .cart-item small {
    font-size: .8rem;
}

.storefront .cart-canvas .section-label {
    margin: 4px 0 3px;
    font-size: .6rem;
}

.storefront .cart-canvas .entrega-toggle,
.storefront .cart-canvas .pagamento-grid {
    gap: 6px;
}

.storefront .cart-canvas .pagamento-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.storefront .cart-canvas .entrega-btn,
.storefront .cart-canvas .pagamento-btn {
    min-height: 36px;
    padding: 4px 3px;
    border-width: 1.5px;
    border-radius: 8px;
    font-size: .64rem;
    gap: 1px;
}

.storefront .cart-canvas .entrega-btn .btn-icon,
.storefront .cart-canvas .pagamento-btn .btn-icon {
    font-size: .86rem;
}

.storefront .cart-canvas .pagamento-grid {
    margin-bottom: 4px;
}

.storefront .cart-canvas .pag-info {
    padding: 5px 7px;
    border-radius: 7px;
    font-size: .7rem;
}

.storefront .cart-canvas .pix-titulo {
    font-size: .7rem;
}

.storefront .cart-canvas .pix-key-row {
    gap: 7px;
}

.storefront .cart-canvas .pag-info small {
    display: none;
}

.storefront .cart-canvas .btn-copiar {
    padding: 3px 6px;
    font-size: .68rem;
}

.storefront .cart-canvas .totals {
    gap: 1px 7px;
    padding-top: 5px;
    margin: 1px 0 4px;
    font-size: .74rem;
}

.storefront .cart-canvas .totals strong:last-child {
    font-size: .92rem;
}

.storefront .cart-canvas .btn-gold.btn-lg {
    min-height: 32px;
    padding: 5px 9px;
    font-size: .78rem;
}

@media (max-width: 480px) {
    .storefront .floating-cart-btn {
        right: 14px;
        bottom: 14px;
        min-width: 118px;
        min-height: 44px;
        padding: 9px 14px;
        font-size: .86rem;
    }

    .storefront .cart-canvas {
        width: 100vw !important;
    }

    .storefront .cart-canvas .offcanvas-body {
        padding: 12px 14px 78px;
    }

    .storefront .cart-canvas .entrega-btn,
    .storefront .cart-canvas .pagamento-btn {
        min-height: 34px;
        padding: 4px 3px;
    }
}

/* Fix zoom no mobile ao focar inputs */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}

/* Mobile storefront polish */
@media (max-width: 640px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .storefront {
        background: #fffaf4;
    }

    .storefront .hero-banner {
        height: 168px;
        background:
            linear-gradient(135deg, rgba(37, 26, 11, .32), rgba(168, 115, 18, .26)),
            radial-gradient(circle at 18% 16%, rgba(255, 255, 255, .38), transparent 28%),
            linear-gradient(135deg, #8f805f 0%, #cab78f 100%);
    }

    .storefront .store-logo {
        width: 104px;
        height: 104px;
        left: 16px;
        bottom: -48px;
        box-shadow: 0 10px 26px rgba(75, 42, 4, .18);
    }

    .storefront .hero-info {
        padding: 58px 0 10px;
    }

    .storefront .hero-info-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .storefront .store-hero h1 {
        font-size: 1.52rem;
        line-height: 1.08;
        margin-bottom: 5px;
    }

    .storefront .store-hero .lead {
        font-size: .93rem;
    }

    .storefront .hero-meta {
        gap: 7px;
        margin-top: 8px;
    }

    .storefront .status-badge {
        padding: 5px 12px;
        font-size: .82rem;
    }

    .storefront .hero-horario {
        width: 100%;
        font-size: .82rem !important;
        line-height: 1.3;
    }

    .storefront .banner-strip {
        padding: 8px 12px 10px;
    }

    .storefront .banner-strip a {
        border-radius: 10px;
        padding: 9px 12px;
        font-size: .8rem;
        box-shadow: 0 6px 18px rgba(168, 115, 18, .08);
    }

    .storefront #cardapio {
        padding-top: 10px !important;
        padding-left: 12px;
        padding-right: 12px;
    }

    .storefront .menu-toolbar {
        grid-template-columns: 1fr;
        gap: 9px;
        margin: 0 -12px;
        padding: 10px 12px 11px;
        border-top: 1px solid #f2e4c2;
        box-shadow: 0 8px 22px rgba(75, 42, 4, .06);
    }

    .storefront .menu-toolbar .form-control {
        width: 100%;
        min-height: 44px;
        border-radius: 11px;
        background: #fffdf8;
    }

    .storefront .menu-toolbar .layout-toggle {
        order: 2;
        grid-column: auto;
        justify-self: start;
        background: #f4ead9;
        border: 1px solid #ead8b7;
        border-radius: 12px;
    }

    .storefront .layout-btn {
        min-height: 34px;
        padding: 7px 12px;
        color: var(--purple-dark);
        opacity: .72;
    }

    .storefront .layout-btn.active {
        color: var(--purple-dark);
    }

    .storefront .category-scroller {
        gap: 8px;
        margin: 12px -12px 14px !important;
        padding: 0 12px 2px;
        scrollbar-width: none;
    }

    .storefront .category-scroller::-webkit-scrollbar {
        display: none;
    }

    .storefront .category-pill {
        min-height: 36px;
        padding: 8px 13px;
        font-size: .78rem;
        box-shadow: 0 4px 12px rgba(75, 42, 4, .06);
    }

    .storefront .destaques-header {
        align-items: center;
        gap: 8px;
    }

    .storefront .destaques-header .section-title {
        min-width: 0;
        margin-top: 18px;
    }

    .storefront .section-title {
        font-size: 1rem;
        gap: 8px;
        margin: 18px 0 11px;
        padding-bottom: 8px;
    }

    .storefront .destaques-nav {
        gap: 6px;
        margin: 18px 0 8px;
    }

    .storefront .dest-arrow {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-width: 1px;
    }

    .storefront .product-grid--scroll {
        gap: 12px;
        margin: 0 -12px;
        padding: 0 12px 8px;
        scroll-padding-left: 12px;
    }

    .storefront .product-grid--scroll .product-card {
        flex: 0 0 min(72vw, 274px);
        min-width: min(72vw, 274px);
        scroll-snap-align: start;
    }

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

    .storefront .product-card {
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(168, 115, 18, .09);
    }

    .storefront .product-card:hover {
        transform: none;
    }

    .storefront .product-img-wrap {
        aspect-ratio: 1 / 1;
    }

    .storefront .product-grid--scroll .product-img-wrap {
        aspect-ratio: 4 / 3;
    }

    .storefront .product-body {
        padding: 9px 9px 10px;
    }

    .storefront .product-body h3 {
        min-height: 2.35em;
        font-size: .84rem;
        line-height: 1.18;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .storefront .product-body p {
        min-height: 2.65em;
        font-size: .72rem;
        line-height: 1.32;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .storefront .product-body strong {
        font-size: .92rem;
    }

    .storefront .product-body .btn {
        width: 100%;
        min-height: 34px;
        margin-top: 8px !important;
        border-radius: 9px;
        font-size: .8rem;
    }

    .storefront .tag {
        padding: 3px 7px;
        font-size: .64rem;
    }

    .storefront .card-badges {
        top: 6px;
        left: 6px;
        max-width: calc(100% - 12px);
    }

    .storefront .floating-cart-btn {
        right: 12px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        min-width: 112px;
        min-height: 42px;
        padding: 8px 13px;
        font-size: .82rem;
        box-shadow: 0 12px 28px rgba(75, 42, 4, .34);
    }
}

@media (max-width: 380px) {
    .storefront .product-grid {
        gap: 9px;
    }

    .storefront .product-body {
        padding-left: 8px;
        padding-right: 8px;
    }

    .storefront .product-body h3 {
        font-size: .8rem;
    }

    .storefront .product-body p {
        font-size: .7rem;
    }
}

/* Modal de produto no estilo delivery compacto */
.storefront #productModal .modal-dialog {
    width: min(390px, calc(100vw - 24px));
    max-width: 390px;
    margin-left: auto;
    margin-right: auto;
}

.storefront #productModal .modal-content {
    border: 0;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 46px rgba(0, 0, 0, .24);
}

.storefront #productModal .modal-header {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr) 34px;
    gap: 12px;
    align-items: center;
    min-height: 104px;
    padding: 16px;
    border-bottom: 1px solid #ececec;
    background: #fff;
}

.storefront #productModal #modalProductImage {
    width: 74px !important;
    height: 74px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    background: #f3f3f3;
}

.storefront #productModal .modal-product-info {
    min-width: 0;
}

.storefront #productModal .modal-title {
    margin: 0 0 3px;
    color: #263238;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.18;
}

.storefront #productModal #modalProductDesc {
    margin: 0 !important;
    color: #777 !important;
    font-size: .88rem !important;
    line-height: 1.25;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.storefront #productModal .btn-close {
    justify-self: end;
    align-self: start;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 0;
    opacity: .9;
    transform: scale(1.12);
}

.storefront #productModal .modal-body {
    padding: 10px 30px 14px;
    background: #fff;
}

.storefront #productModal #modalExtras {
    margin: 0 0 10px;
}

.storefront #productModal #modalExtras > p {
    display: none;
}

.storefront #productModal .extra-option {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 0;
    font-size: .86rem;
}

.storefront #productModal .form-label {
    display: none;
}

.storefront #productModal #modalNote {
    min-height: 38px;
    height: 38px;
    margin: 0 0 12px;
    padding: 8px 12px;
    border: 1px solid #222;
    border-radius: 4px;
    color: #333;
    font-size: .88rem !important;
    resize: vertical;
    box-shadow: none;
}

.storefront #productModal #modalNote:focus {
    border-color: #111;
    box-shadow: none;
}

.storefront #productModal .qty-control {
    display: grid;
    grid-template-columns: 30px 90px 30px;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: 4px auto 8px;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.storefront #productModal .qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #233444;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

.storefront #productModal .qty-btn:hover {
    background: #172532;
}

.storefront #productModal #modalQtyDisplay {
    min-width: 0;
    height: 30px;
    border: 1px solid #333;
    border-radius: 4px;
    color: #111;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 28px;
    text-align: center;
}

.storefront #productModal .modal-footer {
    display: flex;
    justify-content: center;
    padding: 0 30px 20px;
    border-top: 0;
    background: #fff;
}

.storefront #productModal #addToCart {
    width: auto !important;
    min-width: 164px;
    min-height: 40px;
    padding: 9px 20px;
    border: 0;
    border-radius: 4px;
    background: #35bd3f;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: none;
}

.storefront #productModal #addToCart:hover {
    background: #24a82f;
    transform: none;
}

.storefront #productModal #addToCart:disabled {
    background: #b7b7b7;
}

.storefront #productModal #modalEstoqueInfo {
    text-align: center;
}

@media (max-width: 640px) {
    .storefront #productModal .modal-dialog {
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .storefront #productModal .modal-content {
        border-radius: 0;
    }

    .storefront #productModal .modal-header {
        grid-template-columns: 74px minmax(0, 1fr) 34px;
        padding: 14px 16px;
    }

    .storefront #productModal .modal-body {
        padding: 10px 30px 12px;
    }

    .storefront #productModal .modal-footer {
        padding: 0 30px 18px;
    }
}

/* Mobile bigger tap targets and readability */
@media (max-width: 640px) {
    .storefront #cardapio {
        padding-left: 14px;
        padding-right: 14px;
    }

    .storefront .hero-banner {
        height: 184px;
    }

    .storefront .store-logo {
        width: 116px;
        height: 116px;
        bottom: -54px;
    }

    .storefront .hero-info {
        padding-top: 68px;
    }

    .storefront .store-hero h1 {
        font-size: 1.72rem;
    }

    .storefront .store-hero .lead {
        font-size: 1.04rem;
    }

    .storefront .status-badge {
        min-height: 34px;
        padding: 6px 14px;
        font-size: .94rem;
    }

    .storefront .hero-horario {
        font-size: .94rem !important;
    }

    .storefront .banner-strip a {
        padding: 11px 13px;
        font-size: .92rem;
    }

    .storefront .menu-toolbar {
        padding: 12px 14px 13px;
        margin-left: -14px;
        margin-right: -14px;
    }

    .storefront .menu-toolbar .form-control {
        min-height: 52px;
        padding: 11px 15px;
        font-size: 1.02rem !important;
        border-radius: 12px;
    }

    .storefront .layout-btn {
        min-height: 42px;
        padding: 9px 15px;
        gap: 8px;
        font-size: .96rem;
    }

    .storefront .layout-btn svg {
        width: 18px;
        height: 18px;
    }

    .storefront .category-scroller {
        gap: 10px;
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px;
        padding-right: 14px;
    }

    .storefront .category-pill {
        min-height: 42px;
        padding: 10px 16px;
        font-size: .92rem;
    }

    .storefront .section-title {
        font-size: 1.16rem;
        margin-top: 24px;
        padding-bottom: 10px;
    }

    .storefront .dest-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.18rem;
    }

    .storefront .product-grid {
        gap: 13px;
    }

    .storefront .product-grid--scroll {
        gap: 13px;
        margin-left: -14px;
        margin-right: -14px;
        padding-left: 14px;
        padding-right: 14px;
        scroll-padding-left: 14px;
    }

    .storefront .product-grid--scroll .product-card {
        flex-basis: min(78vw, 300px);
        min-width: min(78vw, 300px);
    }

    .storefront .product-card {
        border-radius: 13px;
    }

    .storefront .product-body {
        padding: 11px 11px 12px;
    }

    .storefront .product-body h3 {
        min-height: 2.45em;
        font-size: .98rem;
        line-height: 1.22;
    }

    .storefront .product-body p {
        min-height: 2.9em;
        font-size: .84rem;
        line-height: 1.42;
    }

    .storefront .product-body strong {
        font-size: 1.06rem;
    }

    .storefront .product-body .btn {
        min-height: 42px;
        padding: 9px 12px;
        border-radius: 10px;
        font-size: .95rem;
    }

    .storefront .tag {
        padding: 5px 9px;
        font-size: .76rem;
    }

    .storefront .card-badges {
        gap: 5px;
    }

    .storefront .floating-cart-btn {
        min-width: 130px;
        min-height: 50px;
        padding: 10px 16px;
        font-size: .98rem;
    }

    .storefront .floating-cart-btn .badge {
        font-size: .9rem;
        min-width: 26px;
        min-height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .storefront #productModal .modal-header {
        grid-template-columns: 86px minmax(0, 1fr) 40px;
        gap: 13px;
        min-height: 116px;
        padding: 16px;
    }

    .storefront #productModal #modalProductImage {
        width: 86px !important;
        height: 86px !important;
    }

    .storefront #productModal .modal-title {
        font-size: 1.25rem;
    }

    .storefront #productModal #modalProductDesc {
        font-size: .98rem !important;
        line-height: 1.3;
    }

    .storefront #productModal .btn-close {
        width: 38px;
        height: 38px;
        transform: scale(1.22);
    }

    .storefront #productModal .modal-body {
        padding: 12px 28px 15px;
    }

    .storefront #productModal #modalNote {
        min-height: 46px;
        height: 46px;
        padding: 10px 13px;
        font-size: 1rem !important;
    }

    .storefront #productModal .qty-control {
        grid-template-columns: 38px 108px 38px;
        gap: 10px;
        margin-top: 6px;
        margin-bottom: 10px;
    }

    .storefront #productModal .qty-btn {
        width: 38px;
        height: 38px;
        font-size: 1.42rem;
    }

    .storefront #productModal #modalQtyDisplay {
        height: 38px;
        font-size: 1.16rem;
        line-height: 36px;
    }

    .storefront #productModal .modal-footer {
        padding: 0 28px 22px;
    }

    .storefront #productModal #addToCart {
        min-width: 190px;
        min-height: 48px;
        padding: 11px 22px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .storefront .product-body h3 {
        font-size: .9rem;
    }

    .storefront .product-body p {
        font-size: .78rem;
    }

    .storefront .product-body .btn {
        font-size: .88rem;
    }
}

/* Mobile list image sizing */
@media (max-width: 640px) {
    .storefront .product-grid.layout-lista .product-card {
        grid-template-columns: 136px minmax(0, 1fr);
        align-items: center;
        min-height: 168px;
    }

    .storefront .product-grid.layout-lista .product-img-wrap {
        width: 124px;
        height: 124px;
        justify-self: center;
        align-self: center;
        border-radius: 10px;
    }

    .storefront .product-grid.layout-lista .product-body {
        padding: 15px 14px 15px 2px;
        align-self: center;
    }

    .storefront .product-grid.layout-lista .card-badges {
        top: 8px;
        left: 8px;
        max-width: calc(100% - 16px);
    }
}

@media (max-width: 380px) {
    .storefront .product-grid.layout-lista .product-card {
        grid-template-columns: 122px minmax(0, 1fr);
        min-height: 158px;
    }

    .storefront .product-grid.layout-lista .product-img-wrap {
        width: 112px;
        height: 112px;
    }
}

/* Cleaner product badges */
.storefront .card-badges {
    top: auto;
    bottom: 8px;
    left: 8px;
    right: auto;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 4px;
}

.storefront .card-badges .tag {
    max-width: 112px;
    padding: 3px 8px;
    border: 1px solid rgba(124, 78, 10, .16);
    background: rgba(255, 250, 240, .9);
    color: #704604;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.1;
    box-shadow: 0 4px 12px rgba(37, 26, 11, .08);
    overflow: hidden;
    text-overflow: ellipsis;
}

.storefront .card-badges .tag-fire {
    background: rgba(255, 250, 240, .92);
    color: #7a4d06;
    border-color: rgba(168, 115, 18, .2);
}

@media (max-width: 640px) {
    .storefront .card-badges {
        bottom: 7px;
        left: 7px;
        right: auto;
        gap: 4px;
    }

    .storefront .card-badges .tag {
        max-width: 104px;
        padding: 3px 8px;
        font-size: .66rem;
    }

    .storefront .product-grid.layout-lista .card-badges {
        top: auto;
        bottom: 7px;
        left: 7px;
        right: auto;
        max-width: none;
    }
}

/* Floating featured carousel arrows */
.storefront #destaques {
    position: relative;
}

.storefront #destaques .destaques-header {
    position: static;
}

.storefront #destaques .destaques-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(50% + 22px);
    z-index: 8;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    margin: 0;
}

.storefront #destaques .dest-arrow {
    pointer-events: auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: transparent;
    box-shadow: 0 10px 24px rgba(75, 42, 4, .28);
    position: relative;
    font-size: 0;
}

.storefront #destaques .dest-arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-top: 5px solid #fff;
    border-right: 5px solid #fff;
    border-radius: 2px;
}

.storefront #destaques .dest-arrow--next::before {
    transform: translate(-62%, -50%) rotate(45deg);
}

.storefront #destaques .dest-arrow--prev::before {
    transform: translate(-38%, -50%) rotate(225deg);
}

.storefront #destaques .dest-arrow--prev {
    transform: translateX(-8px);
}

.storefront #destaques .dest-arrow--next {
    transform: translateX(8px);
}

.storefront #destaques .dest-arrow:hover:not(:disabled) {
    background: linear-gradient(135deg, #c68a12, var(--purple-dark));
    box-shadow: 0 12px 28px rgba(75, 42, 4, .34);
}

@media (max-width: 640px) {
    .storefront #destaques .destaques-nav {
        left: 8px;
        right: 8px;
        top: calc(50% + 18px);
    }

    .storefront #destaques .dest-arrow {
        width: 46px;
        height: 46px;
    }
}

/* Inline order controls follow store colors */
.storefront .pedir-qty-row {
    border-color: var(--purple) !important;
}

.storefront .pedir-qty-row button,
.storefront .pedir-confirmar {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark)) !important;
    color: #fff !important;
}

.storefront .pedir-qty-row button:hover,
.storefront .pedir-confirmar:hover {
    background: var(--purple-dark) !important;
}

.storefront .pedir-qty-row .pedir-qty {
    color: var(--purple-dark) !important;
}

/* Checkout cart panel inspired by classic delivery forms */
.storefront .cart-panel-order {
    background: #fffaf4;
}

.storefront .cart-panel-order .offcanvas-header {
    min-height: 58px;
    background: #fff;
    border-bottom: 1px solid #dedede;
}

.storefront .cart-panel-order .offcanvas-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.02rem;
    font-weight: 500;
    color: #111827;
}

.storefront .cart-panel-order .cart-title-icon {
    font-size: 1rem;
}

.storefront .cart-panel-order .cart-add-items {
    margin-left: auto;
    margin-right: 12px;
    min-height: 34px;
    border: 0;
    border-radius: 3px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    padding: 7px 10px;
    font-size: .72rem;
    font-weight: 800;
}

.storefront .cart-panel-order .offcanvas-body {
    width: min(760px, 100%);
    padding: 0 3px 76px;
    background: #fffaf4;
}

.storefront .cart-panel-order #cartItems,
.storefront .cart-panel-order .coupon-box,
.storefront .cart-panel-order .checkout-form > #camposCliente,
.storefront .cart-panel-order .checkout-form > #enderecoEditBox,
.storefront .cart-panel-order .checkout-form > #bairroSelect,
.storefront .cart-panel-order .entrega-toggle,
.storefront .cart-panel-order .pagamento-section,
.storefront .cart-panel-order .totals {
    background: #fff;
}

.storefront .cart-panel-order .cart-order-form > *,
.storefront .cart-panel-order #cartItems,
.storefront .cart-panel-order .coupon-box,
.storefront .cart-panel-order .totals {
    border-left: 1px solid #f2e4c2;
    border-right: 1px solid #f2e4c2;
}

.storefront .cart-panel-order #cartItems {
    min-height: 100px;
    padding: 12px 14px 10px;
    border-top: 1px solid #f2e4c2;
    border-bottom: 1px solid #f2e4c2;
}

.storefront .cart-panel-order .cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 4px 0;
    border: 0;
}

.storefront .cart-panel-order .cart-item-line {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.storefront .cart-panel-order .cart-item-line strong {
    color: #111827;
    font-size: .84rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront .cart-panel-order .cart-item small {
    margin-left: 58px;
    color: #6b7280;
    font-size: .72rem;
}

.storefront .cart-panel-order .cart-qty-mini {
    width: 15px;
    height: 15px;
    border: 0;
    border-radius: 3px;
    background: #1f2937;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.storefront .cart-panel-order .cart-item-qty {
    color: #f21313;
    font-size: .84rem;
    white-space: nowrap;
}

.storefront .cart-panel-order .cart-item-price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: #111;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}










.storefront .cart-panel-order #freteGratisBanner,
.storefront .cart-panel-order #pedidoMinimoAlert {
    border-radius: 0 !important;
    margin: 0 !important;
}

.storefront .cart-panel-order .coupon-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
    padding: 14px 14px 8px;
}

.storefront .cart-panel-order .coupon-box .form-control {
    min-height: 36px;
    border-radius: 2px;
    font-size: .82rem !important;
}

.storefront .cart-panel-order .coupon-box .btn {
    min-height: 36px;
    border: 0;
    border-radius: 3px;
    background: #2f8f46;
    color: #fff;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 800;
}

.storefront .cart-panel-order .checkout-form {
    gap: 5px;
}

.storefront .cart-panel-order .cart-order-form {
    display: flex;
    flex-direction: column;
}

.storefront .cart-panel-order .checkout-form > #camposCliente,
.storefront .cart-panel-order .checkout-form > #enderecoEditBox,
.storefront .cart-panel-order .checkout-form > #bairroSelect {
    padding-left: 14px;
    padding-right: 14px;
}

.storefront .cart-panel-order .checkout-form .form-control,
.storefront .cart-panel-order .checkout-form .form-select {
    min-height: 38px;
    border-radius: 2px;
    font-size: .82rem !important;
}

.storefront .cart-panel-order .section-label {
    margin: 0;
    padding: 14px 14px 8px;
    background: #fff;
    color: #111827;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
}

.storefront .cart-panel-order .entrega-toggle {
    grid-template-columns: auto auto;
    justify-content: start;
    padding: 0 14px 16px;
    gap: 14px;
}

.storefront .cart-panel-order .entrega-btn {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #111827;
    display: inline-flex;
    flex-direction: row;
    gap: 5px;
    font-size: .78rem;
    font-weight: 500;
}

.storefront .cart-panel-order .entrega-btn::before,
.storefront .cart-panel-order .pagamento-btn::before {
    content: '';
    width: 11px;
    height: 11px;
    border: 1px solid #9ca3af;
    border-radius: 50%;
    margin-top: 2px;
    flex: 0 0 auto;
}

.storefront .cart-panel-order .entrega-btn.active::before,
.storefront .cart-panel-order .pagamento-btn.active::before {
    border: 3px solid #0d6efd;
}

.storefront .cart-panel-order .entrega-btn .btn-icon {
    font-size: .82rem;
}

.storefront .cart-panel-order .pagamento-section {
    padding-bottom: 14px;
}

.storefront .cart-panel-order .pagamento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 14px;
    margin: 0;
}

.storefront .cart-panel-order .pagamento-btn {
    min-height: auto;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #111827;
    padding: 0;
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    gap: 7px;
    font-size: .78rem;
    font-weight: 500;
}

.storefront .cart-panel-order .pagamento-btn .btn-icon {
    display: none;
}

.storefront .cart-panel-order .totals {
    grid-template-columns: 1fr auto;
    gap: 2px 10px;
    margin: 0;
    padding: 12px 14px;
    border-top: 1px solid #e5e7eb;
    color: #111;
    font-size: .82rem;
}

.storefront .cart-panel-order .totals span {
    font-weight: 700;
}

.storefront .cart-panel-order .totals strong,
.storefront .cart-panel-order .totals strong:last-child {
    color: #111;
    font-size: .82rem;
    font-weight: 800;
}

.storefront .cart-panel-order #btnFinalizar {
    position: fixed;
    left: max(18px, calc((100vw - 760px) / 2 + 18px));
    right: max(18px, calc((100vw - 760px) / 2 + 18px));
    bottom: 0;
    z-index: 3;
    min-height: 44px;
    border: 0;
    border-radius: 6px 6px 0 0;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    color: #fff;
    font-size: .82rem;
    font-weight: 900;
    box-shadow: none;
}

@media (min-width: 900px) {
    .storefront .cart-panel-order #btnFinalizar {
        left: 50%;
        right: auto;
        width: min(760px, calc(100vw - 36px));
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .storefront .cart-panel-order #btnFinalizar {
        left: 12px;
        right: 12px;
        width: auto;
        transform: none;
    }
}

.storefront .cart-panel-order #pedidoMinimoAlert {
    order: 99;
}

.storefront .cart-panel-order #btnFinalizar {
    order: 100;
}

@media (max-width: 640px) {
    .storefront .cart-panel-order .offcanvas-header {
        padding: 12px 14px;
    }

    .storefront .cart-panel-order .offcanvas-title {
        font-size: 1.28rem;
        font-weight: 800;
    }

    .storefront .cart-panel-order .cart-add-items {
        font-size: .66rem;
        padding: 7px 8px;
    }

    .storefront .cart-panel-order .cart-item-line strong {
        font-size: .88rem;
    }

.storefront .cart-panel-order .cart-item-price {
        font-size: .86rem;
    }
}

/* Storefront cover tuned to avoid an empty oversized top band */
.storefront .hero-banner {
    height: clamp(170px, 22vw, 245px);
    background:
        linear-gradient(135deg, rgba(38, 24, 8, .18), rgba(168, 115, 18, .10)),
        url("/assets/uploads/banners/saron-capa.jpg") center center / cover no-repeat,
        url("/uploads/banners/saron-capa.jpg") center center / cover no-repeat,
        linear-gradient(135deg, #c9bba5, #fff4dd);
}

.storefront .store-logo {
    bottom: -58px;
    width: 122px;
    height: 122px;
}

.storefront .hero-info {
    padding-top: 72px;
}

@media (max-width: 640px) {
    .storefront .hero-banner {
        height: 150px;
    }

    .storefront .store-logo {
        bottom: -48px;
        width: 96px;
        height: 96px;
    }

    .storefront .hero-info {
        padding-top: 58px;
    }
}

/* Product modal image should show the original photo without crop */
.storefront #productModal #modalProductImage {
    width: 96px !important;
    height: 96px !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #f7f2ea !important;
}

/* Imagem de fundo do topo da loja */
.store-hero,
.hero-store,
.restaurant-hero,
.profile-hero,
.banner-image,
.cover-image,
.header-cover {
    background-image: linear-gradient(rgba(60, 39, 15, .18), rgba(255, 248, 235, .25)), url('/uploads/banners/fundo-topo.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

@media (max-width: 768px) {
    .store-hero,
    .hero-store,
    .restaurant-hero,
    .profile-hero,
    .banner-image,
    .cover-image,
    .header-cover {
        min-height: 170px !important;
        background-position: center !important;
    }
}

/* Fundo personalizado do banner principal */
.storefront .hero-banner {
    background:
        linear-gradient(135deg, rgba(38, 24, 8, .16), rgba(255, 244, 221, .18)),
        url("/uploads/banners/fundo-topo.jpeg") center center / cover no-repeat !important;
}

/* Ajuste de enquadramento do banner principal */
.storefront .hero-banner {
    background:
        linear-gradient(135deg, rgba(38, 24, 8, .10), rgba(255, 244, 221, .14)),
        url("/uploads/banners/fundo-topo.jpeg") center 42% / cover no-repeat !important;
}

/* Ajuste manual do fundo do topo */
.storefront .hero-banner {
    height: 245px !important;
    background:
        linear-gradient(135deg, rgba(38,24,8,.10), rgba(255,244,221,.14)),
        url("/uploads/banners/fundo-topo.jpeg") 50% 42% / cover no-repeat !important;
}
@media (max-width:640px) {
    .storefront .hero-banner {
        height: 150px !important;
        background-position: 50% 42% !important;
    }
}

/* Botao flutuante de impressao aparece somente na tela de configuracao de impressao */
.admin-body .receipt-float,
.admin-body .receipt-settings-float,
.admin-body .print-settings-float,
.admin-body a[href*="receipt"],
.admin-body a[href*="comprovante"] {
    display: none !important;
}

.admin-body.receipt-page .receipt-float,
.admin-body.receipt-page .receipt-settings-float,
.admin-body.receipt-page .print-settings-float,
.admin-body.receipt-page a[href*="receipt"],
.admin-body.receipt-page a[href*="comprovante"] {
    display: inline-flex !important;
}

/* Corrige visibilidade da aba Comprovante nas configuracoes */
.admin-body .settings-tabs .settings-tab[href*="tab=comprovante"] {
    display: inline-flex !important;
}

/* Evita zoom acidental no celular */
.storefront,
.storefront body,
.storefront button,
.storefront input,
.storefront select,
.storefront textarea,
.storefront a {
    touch-action: manipulation;
}

.storefront input,
.storefront select,
.storefront textarea,
.storefront button {
    font-size: 16px !important;
}

/* Checkout mobile maior e mais facil de tocar */
@media (max-width: 768px) {
    .storefront #cartPanel,
    .storefront .cart-panel,
    .storefront .cart-drawer,
    .storefront .cart-panel-order {
        font-size: 18px !important;
    }

    .storefront #cartPanel h2,
    .storefront .cart-panel h2,
    .storefront .cart-title {
        font-size: 34px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
    }

    .storefront #cartPanel input,
    .storefront #cartPanel select,
    .storefront #cartPanel textarea,
    .storefront .cart-panel input,
    .storefront .cart-panel select,
    .storefront .cart-panel textarea,
    .storefront .cart-panel-order input,
    .storefront .cart-panel-order select,
    .storefront .cart-panel-order textarea {
        min-height: 58px !important;
        font-size: 22px !important;
        border-radius: 8px !important;
        padding: 0 18px !important;
        border: 2px solid #ded8d0 !important;
        background: #fff !important;
        color: #1b160f !important;
    }

    .storefront #cartPanel input::placeholder,
    .storefront .cart-panel input::placeholder,
    .storefront .cart-panel-order input::placeholder {
        color: #5f5b56 !important;
        opacity: 1 !important;
    }

    .storefront #cartPanel label,
    .storefront .cart-panel label,
    .storefront .cart-panel-order label,
    .storefront .cart-section-title,
    .storefront .checkout-section-title {
        font-size: 21px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
        color: #141923 !important;
        letter-spacing: 0 !important;
    }

    .storefront .delivery-options,
    .storefront .payment-options,
    .storefront .tipo-entrega,
    .storefront .pagamento-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 10px 0 !important;
    }

    .storefront .payment-options {
        grid-template-columns: 1fr !important;
    }

    .storefront .delivery-options label,
    .storefront .payment-options label,
    .storefront .tipo-entrega label,
    .storefront .pagamento-grid label,
    .storefront label[for*="delivery"],
    .storefront label[for*="retirada"],
    .storefront label[for*="pix"],
    .storefront label[for*="dinheiro"],
    .storefront label[for*="debito"],
    .storefront label[for*="credito"] {
        min-height: 62px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        border: 2px solid #e4d7c4 !important;
        border-radius: 10px !important;
        background: #fffdf8 !important;
        font-size: 22px !important;
        font-weight: 850 !important;
        color: #141923 !important;
    }

    .storefront input[type="radio"],
    .storefront input[type="checkbox"] {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        accent-color: #b37a10 !important;
    }

    .storefront .delivery-options label:has(input:checked),
    .storefront .payment-options label:has(input:checked),
    .storefront .tipo-entrega label:has(input:checked),
    .storefront .pagamento-grid label:has(input:checked) {
        border-color: #b37a10 !important;
        background: #fff7e6 !important;
        box-shadow: 0 8px 20px rgba(121, 69, 5, .12) !important;
    }

    .storefront .pix-box,
    .storefront .pix-key-box,
    .storefront #pixInfo,
    .storefront #pixBox {
        padding: 18px !important;
        border-radius: 12px !important;
    }

    .storefront .pix-box strong,
    .storefront .pix-key-box strong,
    .storefront #pixKeyText,
    .storefront #pixKeySomente {
        font-size: 24px !important;
        line-height: 1.2 !important;
        font-weight: 900 !important;
    }

    .storefront .order-summary,
    .storefront .cart-totals,
    .storefront .checkout-totals {
        font-size: 22px !important;
        font-weight: 800 !important;
    }

    .storefront .order-summary strong,
    .storefront .cart-totals strong,
    .storefront .checkout-totals strong {
        font-size: 24px !important;
        font-weight: 950 !important;
    }

    .storefront #sendOrder,
    .storefront .send-order,
    .storefront .btn-finalizar,
    .storefront button[type="submit"] {
        min-height: 64px !important;
        font-size: 22px !important;
        font-weight: 950 !important;
        letter-spacing: .03em !important;
    }
}

/* Carrinho mobile: campos e opcoes grandes para toque */
@media (max-width: 768px) {
    .storefront .cart-panel-order {
        font-size: 18px !important;
        touch-action: manipulation;
    }

    .storefront .cart-panel-order .checkout-form .form-control,
    .storefront .cart-panel-order .checkout-form .form-select {
        min-height: 58px !important;
        font-size: 21px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        padding: 12px 16px !important;
        border: 2px solid #ded8d0 !important;
    }

    .storefront .cart-panel-order .checkout-form .form-control::placeholder {
        color: #51483f !important;
        opacity: 1 !important;
    }

    .storefront .cart-panel-order .section-label {
        font-size: 20px !important;
        font-weight: 900 !important;
        padding: 18px 18px 12px !important;
        color: #111827 !important;
    }

    .storefront .cart-panel-order .entrega-toggle {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 0 18px 18px !important;
    }

    .storefront .cart-panel-order .pagamento-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        padding: 0 18px 18px !important;
    }

    .storefront .cart-panel-order .entrega-btn,
    .storefront .cart-panel-order .pagamento-btn {
        min-height: 64px !important;
        padding: 14px 16px !important;
        border: 2px solid #e3d4be !important;
        border-radius: 12px !important;
        background: #fffdf8 !important;
        color: #15110c !important;
        box-shadow: 0 6px 16px rgba(85, 51, 8, .08) !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        font-size: 22px !important;
        font-weight: 850 !important;
    }

    .storefront .cart-panel-order .entrega-btn::before,
    .storefront .cart-panel-order .pagamento-btn::before {
        width: 28px !important;
        height: 28px !important;
        border: 3px solid #b8ada1 !important;
        margin: 0 !important;
        background: #fff !important;
    }

    .storefront .cart-panel-order .entrega-btn.active,
    .storefront .cart-panel-order .pagamento-btn.active {
        border-color: #a76d05 !important;
        background: #fff3da !important;
    }

    .storefront .cart-panel-order .entrega-btn.active::before,
    .storefront .cart-panel-order .pagamento-btn.active::before {
        border: 8px solid #a76d05 !important;
    }

    .storefront .cart-panel-order .entrega-btn .btn-icon,
    .storefront .cart-panel-order .pagamento-btn .btn-icon {
        display: inline-flex !important;
        font-size: 28px !important;
        line-height: 1 !important;
    }

    .storefront .cart-panel-order .totals {
        font-size: 22px !important;
        padding: 18px !important;
    }

    .storefront .cart-panel-order .totals strong {
        font-size: 24px !important;
    }
}

/* Carrinho mobile: encaixe na tela sem parecer zoomado */
@media (max-width: 768px) {
    html,
    body,
    .storefront {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .storefront .cart-panel-order,
    .storefront .cart-panel-order .offcanvas,
    .storefront .cart-panel-order .offcanvas-body,
    .storefront .cart-panel-order .checkout-form,
    .storefront .cart-panel-order .cart-order-form {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .storefront .cart-panel-order .offcanvas-body {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .storefront .cart-panel-order .checkout-form .form-control,
    .storefront .cart-panel-order .checkout-form .form-select {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 54px !important;
        font-size: 18px !important;
        padding: 10px 14px !important;
        box-sizing: border-box !important;
    }

    .storefront .cart-panel-order .section-label {
        font-size: 18px !important;
        padding: 16px 12px 10px !important;
    }

    .storefront .cart-panel-order .entrega-toggle,
    .storefront .cart-panel-order .pagamento-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-sizing: border-box !important;
    }

    .storefront .cart-panel-order .entrega-toggle {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .storefront .cart-panel-order .pagamento-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .storefront .cart-panel-order .entrega-btn,
    .storefront .cart-panel-order .pagamento-btn {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 56px !important;
        padding: 10px 12px !important;
        font-size: 18px !important;
        gap: 8px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    .storefront .cart-panel-order .entrega-btn::before,
    .storefront .cart-panel-order .pagamento-btn::before {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
    }

    .storefront .cart-panel-order .entrega-btn.active::before,
    .storefront .cart-panel-order .pagamento-btn.active::before {
        border-width: 7px !important;
    }

    .storefront .cart-panel-order .entrega-btn .btn-icon,
    .storefront .cart-panel-order .pagamento-btn .btn-icon {
        font-size: 22px !important;
        min-width: 22px !important;
    }

    .storefront .cart-panel-order .pix-key-row,
    .storefront .cart-panel-order .pix-key-row span {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        font-size: 18px !important;
    }

    .storefront .cart-panel-order #btnFinalizar {
        left: 12px !important;
        right: 12px !important;
        width: auto !important;
        max-width: calc(100vw - 24px) !important;
    }
}

/* Corrige alinhamento do botao Enviar pedido no mobile */
@media (max-width: 768px) {
    .storefront .cart-panel-order #btnFinalizar,
    .storefront .cart-panel-order .btn-finalizar,
    .storefront .cart-panel-order .send-order,
    .storefront .cart-panel-order button[type="submit"] {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        bottom: env(safe-area-inset-bottom, 0px) !important;
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        margin: 0 auto !important;
        transform: none !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        min-height: 62px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        z-index: 9999 !important;
    }

    .storefront .cart-panel-order .offcanvas-body {
        padding-bottom: 92px !important;
    }
}

/* Botao Enviar pedido mobile mais bonito e compacto */
@media (max-width: 768px) {
    .storefront .cart-panel-order #btnFinalizar,
    .storefront .cart-panel-order .btn-finalizar,
    .storefront .cart-panel-order .send-order {
        left: 18px !important;
        right: 18px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 12px) !important;
        width: calc(100vw - 36px) !important;
        max-width: 440px !important;
        min-height: 54px !important;
        height: 54px !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
        border: 1px solid rgba(68, 37, 4, .35) !important;
        background: linear-gradient(135deg, #b57a12 0%, #744000 100%) !important;
        color: #fffaf0 !important;
        box-shadow: 0 12px 28px rgba(69, 37, 3, .28), 0 2px 0 rgba(255,255,255,.16) inset !important;
        font-size: 17px !important;
        font-weight: 950 !important;
        letter-spacing: .04em !important;
        text-transform: uppercase !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .storefront .cart-panel-order #btnFinalizar:active,
    .storefront .cart-panel-order .btn-finalizar:active,
    .storefront .cart-panel-order .send-order:active {
        transform: translateY(1px) !important;
        box-shadow: 0 8px 18px rgba(69, 37, 3, .24) !important;
    }

    .storefront .cart-panel-order .offcanvas-body {
        padding-bottom: 86px !important;
    }
}

/* Layout do cardapio definido somente pelo admin */
.storefront .menu-toolbar .layout-toggle {
    display: none !important;
}

/* Corrige radios/hidden da tela Layout do cardapio */
.admin-body input[type="hidden"],
.admin-body input[name="cardapio_layout"] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

.admin-body label:has(input[name="cardapio_layout"]) {
    display: block !important;
    visibility: visible !important;
}

/* Barra de busca e categorias fixa no cardapio */
.storefront .menu-toolbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1040 !important;
    background: rgba(255, 252, 246, .96) !important;
    backdrop-filter: blur(12px) !important;
    padding: 14px 0 10px !important;
    border-bottom: 1px solid #ead8b8 !important;
}

.storefront .category-scroller {
    position: sticky !important;
    top: 72px !important;
    z-index: 1039 !important;
    background: rgba(255, 252, 246, .96) !important;
    backdrop-filter: blur(12px) !important;
    margin-top: 0 !important;
    margin-bottom: 22px !important;
    padding: 10px 0 12px !important;
    border-bottom: 1px solid #ead8b8 !important;
    scroll-padding-left: 12px;
}

.storefront .category-pill {
    transition: .18s ease !important;
}

.storefront .category-pill.active {
    transform: translateY(-1px) !important;
}

.storefront .category-section {
    scroll-margin-top: 150px !important;
}

.storefront #destaques {
    scroll-margin-top: 150px !important;
}

@media (max-width: 768px) {
    .storefront .menu-toolbar {
        top: 0 !important;
        padding: 10px 0 8px !important;
    }

    .storefront .category-scroller {
        top: 62px !important;
        padding: 8px 0 10px !important;
        margin-bottom: 18px !important;
    }

    .storefront .category-section,
    .storefront #destaques {
        scroll-margin-top: 132px !important;
    }
}

/* Mobile: fixa busca + categorias no topo durante rolagem */
@media (max-width: 768px) {
    .storefront main#cardapio {
        overflow: visible !important;
    }

    .storefront .menu-toolbar {
        position: sticky !important;
        top: 0 !important;
        z-index: 5000 !important;
        display: block !important;
        width: 100% !important;
        padding: 10px 12px 8px !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        background: rgba(255, 252, 246, .98) !important;
        border-bottom: 0 !important;
        box-shadow: 0 8px 18px rgba(68, 37, 4, .08) !important;
    }

    .storefront .menu-toolbar .form-control {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }

    .storefront .category-scroller {
        position: sticky !important;
        top: 64px !important;
        z-index: 4999 !important;
        display: flex !important;
        width: calc(100% + 24px) !important;
        margin-left: -12px !important;
        margin-right: -12px !important;
        padding: 8px 12px 10px !important;
        background: rgba(255, 252, 246, .98) !important;
        border-bottom: 1px solid #ead8b8 !important;
        box-shadow: 0 8px 18px rgba(68, 37, 4, .06) !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .storefront .category-pill {
        flex: 0 0 auto !important;
        font-size: 14px !important;
        padding: 9px 14px !important;
    }

    .storefront .category-section,
    .storefront #destaques {
        scroll-margin-top: 132px !important;
    }
}

/* Mobile: barra de busca/categorias fixa sem travar a rolagem */
@media (max-width: 768px) {
    .storefront .menu-toolbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 7000 !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 10px 16px 8px !important;
        background: rgba(255,252,246,.98) !important;
        box-shadow: 0 8px 20px rgba(68, 37, 4, .10) !important;
        border-bottom: 0 !important;
    }

    .storefront .menu-toolbar .form-control {
        min-height: 44px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }

    .storefront .category-scroller {
        position: fixed !important;
        top: 62px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 6999 !important;
        width: 100vw !important;
        margin: 0 !important;
        padding: 8px 16px 10px !important;
        background: rgba(255,252,246,.98) !important;
        border-bottom: 1px solid #ead8b8 !important;
        box-shadow: 0 8px 20px rgba(68, 37, 4, .06) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .storefront .category-pill {
        flex: 0 0 auto !important;
        font-size: 14px !important;
        padding: 9px 14px !important;
    }

    .storefront main#cardapio {
        padding-top: 124px !important;
    }

    .storefront .category-section,
    .storefront #destaques {
        scroll-margin-top: 140px !important;
    }
}

/* Mobile: evita a barra fixa cobrir os Destaques */
@media (max-width: 768px) {
    .storefront main#cardapio {
        padding-top: 170px !important;
    }

    .storefront #destaques {
        padding-top: 8px !important;
        scroll-margin-top: 180px !important;
    }

    .storefront .category-section {
        scroll-margin-top: 180px !important;
    }
}

/* Mobile: reduz o espaco criado pela barra fixa */
@media (max-width: 768px) {
    .storefront main#cardapio {
        padding-top: 112px !important;
    }

    .storefront #destaques {
        padding-top: 0 !important;
        scroll-margin-top: 128px !important;
    }

    .storefront .category-section {
        scroll-margin-top: 128px !important;
    }
}

/* Mobile: compacta o espaco entre topo e destaques */
@media (max-width: 768px) {
    .storefront main#cardapio {
        padding-top: 24px !important;
    }

    .storefront #destaques {
        margin-top: 0 !important;
        padding-top: 0 !important;
        scroll-margin-top: 118px !important;
    }

    .storefront .category-section {
        scroll-margin-top: 118px !important;
    }
}

/* Mobile: barra gruda somente quando chega nela, nao por cima do topo */
@media (max-width: 768px) {
    .storefront .menu-toolbar {
        position: sticky !important;
        top: 0 !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 10px 0 8px !important;
        z-index: 5000 !important;
        background: rgba(255,252,246,.98) !important;
        box-shadow: 0 8px 20px rgba(68, 37, 4, .08) !important;
    }

    .storefront .category-scroller {
        position: sticky !important;
        top: 62px !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 18px !important;
        padding: 8px 0 10px !important;
        z-index: 4999 !important;
        background: rgba(255,252,246,.98) !important;
        border-bottom: 1px solid #ead8b8 !important;
        box-shadow: 0 8px 20px rgba(68, 37, 4, .06) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .storefront main#cardapio {
        padding-top: 16px !important;
        overflow: visible !important;
    }

    .storefront .category-section,
    .storefront #destaques {
        scroll-margin-top: 132px !important;
    }
}

/* Mobile: estado fixo controlado por JS */
@media (max-width: 768px) {
    .storefront .mobile-sticky-menu-spacer {
        display: none;
    }

    .storefront.mobile-menu-fixed .mobile-sticky-menu-spacer {
        display: block;
    }

    .storefront.mobile-menu-fixed .menu-toolbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        z-index: 7000 !important;
        margin: 0 !important;
        padding: 10px 16px 8px !important;
        background: rgba(255,252,246,.98) !important;
        box-shadow: 0 8px 20px rgba(68,37,4,.10) !important;
    }

    .storefront.mobile-menu-fixed .category-scroller {
        position: fixed !important;
        top: 62px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        z-index: 6999 !important;
        margin: 0 !important;
        padding: 8px 16px 10px !important;
        background: rgba(255,252,246,.98) !important;
        border-bottom: 1px solid #ead8b8 !important;
        box-shadow: 0 8px 20px rgba(68,37,4,.06) !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

/* Modal de produto nas cores da marca */
.storefront #productModal .modal-content {
    border: 1px solid #ead8b8 !important;
    border-radius: 14px !important;
    background: #fffaf2 !important;
    box-shadow: 0 24px 70px rgba(45, 25, 4, .32) !important;
}

.storefront #productModal .modal-header {
    background: #fffaf2 !important;
    border-bottom: 1px solid #ead8b8 !important;
}

.storefront #productModal .modal-title,
.storefront #productModal #modalProductName {
    color: #231508 !important;
    font-weight: 900 !important;
}

.storefront #productModal #modalProductDescription {
    color: #6b5b4b !important;
}

.storefront #productModal .text-success,
.storefront #productModal #estoqueInfo,
.storefront #productModal #stockInfo {
    color: #9a6200 !important;
    font-weight: 800 !important;
}

.storefront #productModal #qtyMinus,
.storefront #productModal #qtyPlus {
    background: #2f1b06 !important;
    border-color: #2f1b06 !important;
    color: #fff8ec !important;
    border-radius: 6px !important;
    font-weight: 900 !important;
}

.storefront #productModal #modalQty,
.storefront #productModal #qtyInput {
    border: 1.5px solid #9a6200 !important;
    color: #231508 !important;
    font-weight: 800 !important;
    background: #fff !important;
}

.storefront #productModal textarea,
.storefront #productModal .form-control {
    border: 1.5px solid #d9c49f !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #231508 !important;
}

.storefront #productModal textarea:focus,
.storefront #productModal .form-control:focus {
    border-color: #a86f08 !important;
    box-shadow: 0 0 0 3px rgba(168, 111, 8, .16) !important;
}

.storefront #productModal #addToCart {
    background: linear-gradient(135deg, #b57a12 0%, #744000 100%) !important;
    border: 1px solid rgba(68, 37, 4, .45) !important;
    color: #fffaf0 !important;
    border-radius: 10px !important;
    font-weight: 950 !important;
    box-shadow: 0 10px 22px rgba(69, 37, 3, .24) !important;
}

.storefront #productModal #addToCart:hover {
    filter: brightness(1.04) !important;
}

.storefront #productModal .btn-close {
    filter: none !important;
    opacity: .78 !important;
}

/* Mobile: esconde busca/categorias quando carrinho esta aberto */
@media (max-width: 768px) {
    .storefront.cart-is-open .menu-toolbar,
    .storefront.cart-is-open .category-scroller {
        display: none !important;
    }
}

/* Relatorios em menu lateral */
.admin-body .report-tabs {
    display: grid !important;
    grid-template-columns: 220px 1fr !important;
    gap: 18px !important;
    align-items: start !important;
}

.admin-body .report-tabs::before {
    content: "Relatorios";
    display: block;
    grid-column: 1;
    color: #3b260d;
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 8px;
}

.admin-body .report-tabs a {
    grid-column: 1;
    display: block !important;
    background: #fff !important;
    color: #5d5147 !important;
    border: 1px solid #ead8b8 !important;
    border-radius: 0 !important;
    padding: 10px 14px !important;
    margin: 0 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.admin-body .report-tabs a + a {
    border-top: 0 !important;
}

.admin-body .report-tabs a.active {
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fffaf0 !important;
}

.admin-body .report-section {
    grid-column: 2;
    grid-row: 1 / span 20;
}

@media (max-width: 900px) {
    .admin-body .report-tabs {
        grid-template-columns: 1fr !important;
    }

    .admin-body .report-tabs::before,
    .admin-body .report-tabs a,
    .admin-body .report-section {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
}

/* Cardapio estilo seccoes destacadas, adaptado a paleta Saron */
.storefront .banner-strip {
    max-width: 980px;
    margin: 12px auto 0;
}

.storefront .banner-strip a {
    display: block !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border-radius: 12px !important;
    padding: 13px 18px !important;
    font-weight: 850 !important;
    text-align: center !important;
    box-shadow: 0 10px 24px rgba(68, 37, 4, .14) !important;
}

.storefront .category-scroller {
    gap: 8px !important;
    padding-bottom: 10px !important;
}

.storefront .category-pill {
    background: linear-gradient(135deg, #f2dfbd, #dfbd7c) !important;
    color: #3b2207 !important;
    border: 1px solid rgba(142, 86, 5, .22) !important;
    box-shadow: 0 5px 14px rgba(68, 37, 4, .08) !important;
    text-transform: uppercase !important;
    font-size: .78rem !important;
    font-weight: 950 !important;
}

.storefront .category-pill.active {
    background: linear-gradient(135deg, #b57a12, #5b3100) !important;
    color: #fff8dc !important;
    box-shadow: 0 8px 20px rgba(68, 37, 4, .24) !important;
}

.storefront #destaques .destaques-header {
    margin-top: 14px !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    box-shadow: 0 10px 22px rgba(68, 37, 4, .16) !important;
}

.storefront #destaques .section-title {
    color: #fff8dc !important;
    font-size: 1.35rem !important;
    text-align: center !important;
    margin: 0 !important;
}

.storefront #destaques .section-title::before,
.storefront #destaques .section-title::after {
    display: none !important;
}

.storefront #destaques .section-title {
    font-weight: 950 !important;
}

.storefront #destaques .section-title::after {
    content: none !important;
}

.storefront .category-section > .section-title {
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border-radius: 10px 10px 0 0 !important;
    padding: 14px 18px !important;
    text-align: center !important;
    margin: 22px 0 0 !important;
    font-size: 1.25rem !important;
    font-weight: 950 !important;
    text-transform: uppercase !important;
    border: 0 !important;
}

.storefront .category-section > .section-title::before,
.storefront .category-section > .section-title::after {
    display: none !important;
}

.storefront .category-section > .product-grid {
    background: #fffaf2 !important;
    border: 1px solid #ead8b8 !important;
    border-top: 0 !important;
    border-radius: 0 0 12px 12px !important;
    padding: 14px !important;
}

/* Lista mais parecida com cardapio operacional */
.storefront .product-grid.layout-lista {
    gap: 10px !important;
}

.storefront .product-grid.layout-lista .product-card {
    border: 1px solid #dcc8a7 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 6px 16px rgba(68, 37, 4, .07) !important;
    overflow: hidden !important;
}

.storefront .product-grid.layout-lista .product-img-wrap {
    width: 118px !important;
    height: 118px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f7f2ea !important;
}

.storefront .product-grid.layout-lista .product-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.storefront .product-grid.layout-lista .product-body h3 {
    color: #201308 !important;
    font-size: 1rem !important;
    font-weight: 950 !important;
}

.storefront .product-grid.layout-lista .product-body p {
    color: #6f6255 !important;
    font-size: .86rem !important;
}

.storefront .product-grid.layout-lista .product-body strong {
    color: #3b2207 !important;
    font-weight: 950 !important;
}

.storefront .product-grid.layout-lista .product-body .btn,
.storefront .product-grid.layout-lista .product-body .pedir-inline {
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
}

/* Tags mais harmonicas */
.storefront .tag {
    background: #fff1c7 !important;
    color: #704200 !important;
    border: 1px solid #e1bd68 !important;
    box-shadow: 0 5px 14px rgba(68, 37, 4, .10) !important;
}

.storefront .tag-fire {
    background: #ffe6ae !important;
    color: #8a5200 !important;
}

/* Mobile */
@media (max-width: 768px) {
    .storefront .category-pill {
        font-size: .74rem !important;
        padding: 9px 13px !important;
    }

    .storefront #destaques .section-title {
        font-size: 1.2rem !important;
    }

    .storefront .category-section > .section-title {
        font-size: 1.1rem !important;
        padding: 12px 14px !important;
    }

    .storefront .category-section > .product-grid {
        padding: 10px !important;
    }

    .storefront .product-grid.layout-lista .product-img-wrap {
        width: 104px !important;
        height: 104px !important;
    }
}

/* Alinhamento dos titulos conforme layout */
.storefront #destaques .destaques-header {
    justify-content: center !important;
    text-align: center !important;
}

.storefront #destaques .section-title {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
}

.storefront .category-section > .section-title {
    text-align: center !important;
    justify-content: center !important;
}

.storefront .product-grid.layout-lista {
    text-align: left !important;
}

.storefront .product-grid.layout-lista + *,
.storefront .category-section:has(.product-grid.layout-lista) > .section-title {
    text-align: left !important;
    justify-content: flex-start !important;
}

/* Setas dos destaques posicionadas no meio do carrossel */
.storefront #destaques {
    position: relative !important;
}

.storefront #destaques .destaques-nav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-10%) !important;
    z-index: 20 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
}

.storefront #destaques .dest-arrow {
    pointer-events: auto !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border: 2px solid rgba(255, 248, 220, .65) !important;
    box-shadow: 0 10px 24px rgba(68, 37, 4, .22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.storefront #destaques .dest-arrow--prev {
    margin-left: -6px !important;
}

.storefront #destaques .dest-arrow--next {
    margin-right: -6px !important;
}

.storefront #destaques .product-grid--scroll {
    position: relative !important;
}

@media (max-width: 768px) {
    .storefront #destaques .destaques-nav {
        top: 48% !important;
        padding: 0 8px !important;
    }

    .storefront #destaques .dest-arrow {
        width: 42px !important;
        height: 42px !important;
    }
}

/* Ajuste final: setas dos Destaques no centro dos cards */
.storefront #destaques {
    position: relative !important;
}

.storefront #destaques .destaques-header {
    position: relative !important;
    z-index: 2 !important;
}

.storefront #destaques .destaques-nav {
    position: absolute !important;
    top: 56% !important;
    left: -22px !important;
    right: -22px !important;
    transform: translateY(-50%) !important;
    z-index: 30 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
}

.storefront #destaques .dest-arrow {
    pointer-events: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border: 2px solid rgba(255, 248, 220, .75) !important;
    box-shadow: 0 12px 26px rgba(68, 37, 4, .28) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    font-weight: 950 !important;
}

.storefront #destaques .dest-arrow--prev {
    transform: none !important;
}

.storefront #destaques .dest-arrow--next {
    transform: none !important;
}

@media (max-width: 768px) {
    .storefront #destaques .destaques-nav {
        top: 54% !important;
        left: 4px !important;
        right: 4px !important;
    }

    .storefront #destaques .dest-arrow {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        font-size: 22px !important;
    }
}

/* Setas dos Destaques centralizadas no meio dos cards */
.storefront #destaques .destaques-header {
    position: static !important;
}

.storefront #destaques .destaques-nav {
    position: absolute !important;
    top: calc(48px + 150px) !important;
    left: -22px !important;
    right: -22px !important;
    transform: translateY(-50%) !important;
    z-index: 40 !important;
    pointer-events: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 !important;
}

.storefront #destaques .dest-arrow {
    pointer-events: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    border: 2px solid rgba(255,248,220,.75) !important;
    box-shadow: 0 12px 26px rgba(68,37,4,.28) !important;
    font-size: 24px !important;
    font-weight: 950 !important;
}

@media (max-width: 768px) {
    .storefront #destaques .destaques-nav {
        top: calc(52px + 190px) !important;
        left: 6px !important;
        right: 6px !important;
    }

    .storefront #destaques .dest-arrow {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        font-size: 22px !important;
    }
}

/* Destaques: remove emoji/icone e linha sublinhada */
.storefront #destaques .section-title {
    font-size: 0 !important;
    border: 0 !important;
    text-decoration: none !important;
}

.storefront #destaques .section-title::before,
.storefront #destaques .section-title::after {
    content: none !important;
    display: none !important;
}

.storefront #destaques .section-title::after {
    border: 0 !important;
}

.storefront #destaques .section-title {
    color: transparent !important;
}

.storefront #destaques .section-title {
    position: relative !important;
}

.storefront #destaques .section-title::selection {
    background: transparent !important;
}

.storefront #destaques .section-title {
    line-height: 1 !important;
}

.storefront #destaques .section-title {
    overflow: hidden !important;
}

.storefront #destaques .section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.storefront #destaques .section-title {
    min-height: 24px !important;
}

.storefront #destaques .section-title {
    visibility: hidden !important;
}

.storefront #destaques .section-title::before {
    visibility: visible !important;
    content: "Destaques" !important;
    display: block !important;
    font-size: 1.1rem !important;
    font-weight: 950 !important;
    color: #fff8dc !important;
}

/* Destaques: titulo limpo e bem centralizado */
.storefront #destaques .destaques-header {
    min-height: 54px !important;
    padding: 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.storefront #destaques .section-title {
    visibility: visible !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    border: 0 !important;
    text-decoration: none !important;
}

.storefront #destaques .section-title::after {
    content: none !important;
    display: none !important;
}

.storefront #destaques .section-title::before {
    content: "Destaques" !important;
    display: block !important;
    visibility: visible !important;
    color: #fff8dc !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    text-align: center !important;
    text-shadow: 0 2px 0 rgba(60, 34, 4, .22) !important;
}

@media (max-width: 768px) {
    .storefront #destaques .destaques-header {
        min-height: 50px !important;
    }

    .storefront #destaques .section-title::before {
        font-size: 1.25rem !important;
    }
}

/* Titulo Destaques limpo, sem pseudo-elementos sobrepostos */
.storefront #destaques .section-title-clean {
    visibility: visible !important;
    color: #fff8dc !important;
    font-size: 1.45rem !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    display: block !important;
    text-shadow: 0 2px 0 rgba(60, 34, 4, .22) !important;
}

.storefront #destaques .section-title-clean::before,
.storefront #destaques .section-title-clean::after {
    content: none !important;
    display: none !important;
}

@media (max-width: 768px) {
    .storefront #destaques .section-title-clean {
        font-size: 1.25rem !important;
    }
}
.cart-canvas .cart-remove-btn {
    border: none !important;
    background: #e53935 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}
.cart-remove-btn {
    border: none !important;
    background: #e53935 !important;
    color: #fff !important;
    border-radius: 50% !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Carrinho: quantidade mais visivel e remover como X vermelho */
.storefront .cart-panel-order .cart-qty-mini,
.storefront .cart-panel-order .cart-item-qty {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.storefront .cart-panel-order .cart-qty-mini button,
.storefront .cart-panel-order .cart-item-qty button {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 8px !important;
    border: 0 !important;
    background: linear-gradient(135deg, #b57a12, #744000) !important;
    color: #fff8dc !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 5px 12px rgba(68, 37, 4, .18) !important;
}

.storefront .cart-panel-order .cart-qty-mini span,
.storefront .cart-panel-order .cart-item-qty span {
    min-width: 34px !important;
    text-align: center !important;
    color: #8a1d12 !important;
    font-size: 16px !important;
    font-weight: 950 !important;
}

.storefront .cart-panel-order .cart-remove-btn,
.storefront .cart-panel-order .remove-item,
.storefront .cart-panel-order [data-remove],
.storefront .cart-panel-order button[aria-label*="remover" i] {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 999px !important;
    border: 1.5px solid #e49b93 !important;
    background: #fff2f0 !important;
    color: #c52016 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 10px rgba(197, 32, 22, .10) !important;
}

.storefront .cart-panel-order .cart-remove-btn:hover,
.storefront .cart-panel-order .remove-item:hover,
.storefront .cart-panel-order [data-remove]:hover {
    background: #c52016 !important;
    color: #fff !important;
    border-color: #c52016 !important;
}

@media (max-width: 768px) {
    .storefront .cart-panel-order .cart-qty-mini button,
    .storefront .cart-panel-order .cart-item-qty button,
    .storefront .cart-panel-order .cart-remove-btn,
    .storefront .cart-panel-order .remove-item,
    .storefront .cart-panel-order [data-remove] {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
    }

    .storefront .cart-panel-order .cart-qty-mini span,
    .storefront .cart-panel-order .cart-item-qty span {
        font-size: 18px !important;
        min-width: 42px !important;
    }
}

/* Mobile: barra compacta do carrinho, sem atrapalhar o checkout */
@media (max-width: 768px) {
    .storefront .floating-cart-btn {
        left: 18px !important;
        right: 18px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
        width: auto !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 8px 10px 8px 12px !important;
        border-radius: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        background: linear-gradient(135deg, #b8790b, #693700) !important;
        box-shadow: 0 12px 28px rgba(63, 35, 5, .30) !important;
        border: 1px solid rgba(68, 37, 4, .35) !important;
        color: #fff !important;
        font-size: 0 !important;
        z-index: 5000 !important;
    }

    .storefront .floating-cart-btn .badge {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 999px !important;
        background: #fff8dc !important;
        color: #7a4300 !important;
        font-size: 18px !important;
        font-weight: 950 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        order: 1;
    }

    .storefront .floating-cart-btn::before {
        content: "Seu carrinho";
        order: 2;
        flex: 1;
        color: #fff8dc;
        font-size: 15px;
        line-height: 1;
        font-weight: 900;
        text-align: left;
    }

    .storefront .floating-cart-btn::after {
        content: "Ver pedido";
        order: 3;
        background: #fff8dc;
        color: #744000;
        border-radius: 14px;
        padding: 11px 13px;
        font-size: 13px;
        line-height: 1;
        font-weight: 950;
        white-space: nowrap;
    }

    .storefront.cart-is-open .floating-cart-btn {
        display: none !important;
    }

    .storefront {
        padding-bottom: 84px !important;
    }
}

/* Mobile: barra compacta do carrinho, sem atrapalhar o checkout */
@media (max-width: 768px) {
    .storefront .floating-cart-btn {
        left: 18px !important;
        right: 18px !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
        width: auto !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 8px 10px 8px 12px !important;
        border-radius: 20px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        background: linear-gradient(135deg, #b8790b, #693700) !important;
        box-shadow: 0 12px 28px rgba(63, 35, 5, .30) !important;
        border: 1px solid rgba(68, 37, 4, .35) !important;
        color: #fff !important;
        font-size: 0 !important;
        z-index: 5000 !important;
    }

    .storefront .floating-cart-btn .badge {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        border-radius: 999px !important;
        background: #fff8dc !important;
        color: #7a4300 !important;
        font-size: 18px !important;
        font-weight: 950 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        order: 1;
    }

    .storefront .floating-cart-btn::before {
        content: "Seu carrinho";
        order: 2;
        flex: 1;
        color: #fff8dc;
        font-size: 15px;
        line-height: 1;
        font-weight: 900;
        text-align: left;
    }

    .storefront .floating-cart-btn::after {
        content: "Ver pedido";
        order: 3;
        background: #fff8dc;
        color: #744000;
        border-radius: 14px;
        padding: 11px 13px;
        font-size: 13px;
        line-height: 1;
        font-weight: 950;
        white-space: nowrap;
    }

    .storefront.cart-is-open .floating-cart-btn {
        display: none !important;
    }

    .storefront {
        padding-bottom: 84px !important;
    }
}

/* Mobile: centraliza e refina barra inferior do carrinho */
@media (max-width: 768px) {
    .storefront .floating-cart-btn {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: min(92vw, 430px) !important;
        max-width: 430px !important;
        box-sizing: border-box !important;
    }

    .storefront .floating-cart-btn .mobile-cart-info {
        align-items: flex-start !important;
        justify-content: center !important;
    }

    .storefront .floating-cart-btn .mobile-cart-info strong {
        white-space: nowrap !important;
    }
}

/* Mobile: nova barra real do carrinho */
@media (max-width: 768px) {
    .storefront .floating-cart-btn {
        display: none !important;
    }

    .mobile-cart-bar {
        position: fixed;
        left: 50%;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
        transform: translateX(-50%);
        width: min(92vw, 430px);
        height: 60px;
        z-index: 6500;
        border-radius: 20px;
        border: 1px solid rgba(70, 38, 5, .35);
        background: linear-gradient(135deg, #b8790b, #693700);
        box-shadow: 0 14px 30px rgba(63, 35, 5, .32);
        color: #fff;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 9px 10px 9px 12px;
        font-family: inherit;
    }

    .mobile-cart-bar__qty {
        width: 42px;
        height: 42px;
        min-width: 42px;
        border-radius: 999px;
        background: #fff8dc;
        color: #744000;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 950;
    }

    .mobile-cart-bar__info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .mobile-cart-bar__info small {
        color: #fff8dc;
        font-size: 12px;
        line-height: 1;
        font-weight: 800;
    }

    .mobile-cart-bar__info strong {
        color: #fff;
        font-size: 18px;
        line-height: 1;
        font-weight: 950;
        white-space: nowrap;
    }

    .mobile-cart-bar__action {
        border: 0;
        border-radius: 14px;
        background: #fff8dc;
        color: #744000;
        padding: 11px 13px;
        font-size: 13px;
        line-height: 1;
        font-weight: 950;
        white-space: nowrap;
    }

    .storefront.cart-is-open .mobile-cart-bar {
        display: none !important;
    }

    .storefront {
        padding-bottom: 86px !important;
    }
}

/* Mobile: botoes flutuantes menores e centralizados */
@media (max-width: 768px) {
    .mobile-cart-bar {
        width: min(52vw, 245px) !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 7px 9px !important;
        border-radius: 17px !important;
        gap: 8px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
    }

    .mobile-cart-bar__qty {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 15px !important;
    }

    .mobile-cart-bar__info small {
        font-size: 10px !important;
    }

    .mobile-cart-bar__info strong {
        font-size: 14px !important;
    }

    .mobile-cart-bar__action {
        display: none !important;
    }

    .storefront .cart-panel-order .btn-submit-order,
    .storefront .cart-panel-order button[type="submit"],
    .storefront .cart-panel-order .send-order-btn,
    .storefront .cart-panel-order .checkout-submit {
        width: min(58vw, 270px) !important;
        max-width: 270px !important;
        height: 50px !important;
        min-height: 50px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
        border-radius: 17px !important;
        padding: 0 18px !important;
        font-size: 16px !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* Mobile: enviar pedido menor, centralizado e sem transparencia */
@media (max-width: 768px) {
    .storefront button,
    .storefront a {
        -webkit-tap-highlight-color: transparent;
    }

    .storefront .cart-panel-order button[type="submit"],
    .storefront .cart-panel-order .btn-submit-order,
    .storefront .cart-panel-order .send-order-btn,
    .storefront .cart-panel-order .checkout-submit,
    .storefront #sendOrderBtn,
    .storefront #submitOrder,
    .storefront .btn-enviar-pedido {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        bottom: calc(env(safe-area-inset-bottom, 0px) + 16px) !important;
        transform: translateX(-50%) !important;

        width: min(46vw, 220px) !important;
        max-width: 220px !important;
        height: 44px !important;
        min-height: 44px !important;

        padding: 0 14px !important;
        border-radius: 15px !important;
        border: 1px solid rgba(62, 34, 5, .45) !important;

        background: linear-gradient(135deg, #b8790b 0%, #673700 100%) !important;
        background-color: #8a5100 !important;
        opacity: 1 !important;
        filter: none !important;
        color: #fff !important;

        box-shadow: 0 10px 24px rgba(63, 35, 5, .32) !important;

        font-size: 13px !important;
        font-weight: 950 !important;
        letter-spacing: 0 !important;
        line-height: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 7600 !important;
    }

    .storefront .cart-panel-order button[type="submit"]:disabled,
    .storefront .cart-panel-order .btn-submit-order:disabled,
    .storefront .cart-panel-order .send-order-btn:disabled,
    .storefront .cart-panel-order .checkout-submit:disabled {
        opacity: .95 !important;
        background: linear-gradient(135deg, #9b6a16 0%, #5d3302 100%) !important;
        color: rgba(255,255,255,.9) !important;
    }
}

/* Mobile: botao carrinho no canto direito */
@media (max-width: 768px) {
    .mobile-cart-bar {
        left: auto !important;
        right: 18px !important;
        transform: none !important;
        width: min(52vw, 245px) !important;
    }
}
