:root {
    --tomato: #D82500;
    --tomato-dark: #a81d00;
    --tomato-soft: rgba(216, 37, 0, 0.08);
    --cream: #FBF4EB;
    --cream-soft: #F1E4D2;
    --paper: #FFFDF9;
    --ink: #241A14;
    --ink-soft: #726255;
    --line: rgba(36, 26, 20, 0.14);
    --ok: #3E7D5C;
    --shadow: 0 14px 34px rgba(36, 26, 20, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Archivo', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden !important;
}

h1,
h2,
h3,
h4,
.display {
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin: 0;
    font-weight: 400;
}

.logo_fundo img {
    position: fixed;
    top: 50%;
    left: calc(50% - 75px);
    max-width: 150px;
    width: 100%;
    height: auto;
    opacity: 0.05;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: 'Archivo', sans-serif;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.mono {
    font-variant-numeric: tabular-nums;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    border: none;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    font-family: 'Archivo', sans-serif;
}

.btn:active {
    transform: scale(.96);
}

.btn-primary {
    background: var(--tomato);
    color: #fff;
    box-shadow: 0 8px 20px rgba(216, 37, 0, .28);
}

.btn-primary:hover {
    background: var(--tomato-dark);
}

.btn-primary:disabled {
    background: #c9bcae;
    box-shadow: none;
    cursor: not-allowed;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--cream);
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 13px;
}

/* ---- NAV ---- */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 244, 235, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}

nav.scrolled {
    box-shadow: 0 6px 18px rgba(36, 26, 20, .08);
}

.navrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 200px;
}

.logo a {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 200px;
}

.logo .badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tomato);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Ranchers', cursive;
    font-size: 15px;
}

.logo .wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo .wordmark b {
    font-family: 'Ranchers', cursive;
    font-size: 19px;
    letter-spacing: .03em;
}

.logo .wordmark span {
    font-size: 9.5px;
    letter-spacing: .08em;
    color: var(--tomato);
    font-weight: 700;
    text-transform: uppercase;
}

.navcta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    flex-shrink: 0;
}

.nav-cart-btn:hover {
    background: var(--ink);
    color: var(--cream);
}

.nav-cart-btn:active {
    transform: scale(.9);
}

.nav-cart-btn .nb-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    background: var(--tomato);
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.nav-cart-btn .nb-badge.show {
    transform: scale(1);
}

/* ---- HERO ---- */
.hero {
    padding: 56px 24px 44px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0%, var(--tomato-soft) 0%, transparent 60%), var(--cream);
}

.hero .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--tomato);
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 7vw, 66px);
    color: var(--ink);
    line-height: .98;
}

.hero h1 em {
    font-style: normal;
    color: var(--tomato);
}

.hero p {
    margin: 16px auto 0;
    max-width: 480px;
    color: var(--ink-soft);
    font-size: 15.5px;
    font-family: 'Archivo', sans-serif;
}

/* ---- EXTRA SECTIONS INJECTED LATER ---- */
section {
    padding: 88px 24px;
    position: relative;

}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tomato-dark);
    margin-bottom: 12px;
}

.eyebrow .ring {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tomato);
}

.sec-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--tomato);
    max-width: 640px;
    line-height: 1.1;
}

.sec-sub {
    margin-top: 14px;
    color: var(--ink-soft);
    max-width: 560px;
    font-size: 15.5px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-visual {
    aspect-ratio: 1;
    border-radius: 24px;
    background: var(--fantasy-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed var(--tomato);
}

.about-visual .ring-big {
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--tomato);
    padding: 10px;
}

.about-visual .ring-big-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

@media(max-width: 760px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.features {
    background: #FFF;
    border-top: 2px solid var(--line);
    border-bottom: 2px solid var(--line);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.feat-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 26px 20px;
    border: 1px solid var(--cream-soft);
    transition: transform 0.2s;
}

.feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.feat-card .ico {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--tomato);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
}

.ico svg {
    width: 24px;
    height: 27px;
}

.pay-pill .ico {
    height: 27px;
}

.feat-card h3 {
    font-size: 22px;
    color: var(--tomato);
    line-height: 1.1;
    margin-bottom: 8px;
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.feat-card p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

@media(max-width: 900px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 520px) {
    .feat-grid {
        grid-template-columns: 1fr;
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 44px;
}

.step {
    position: relative;
    padding-left: 56px;
}

.step .num {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tomato);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 16px;
}

.step h3 {
    font-size: 24px;
    color: var(--tomato);
    margin-bottom: 6px;
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.step p {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}

@media(max-width: 760px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

.testi {
    background: #FFF;
    color: var(--cream);
}

.testi .sec-title,
.testi .eyebrow {
    color: var(--tomato);
}

.testi .eyebrow .ring {
    background: var(--tomato);
}

.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.testi-card {
    background: var(--cream);
    border: 1px solid rgba(251, 244, 235, 0.1);
    border-radius: 16px;
    padding: 28px;
}

.testi-card p {
    font-size: 15px;
    color: var(--ink-soft);
    margin: 0;
    font-style: italic;
}

.testi-card .who {
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--tomato);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media(max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    background: var(--cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.contact-card {
    background: #fff;
    border: 2px solid var(--tomato);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 8px 8px 0px var(--cream-soft);
}

.contact-card .row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}

.contact-card .row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-card .row-ico {
    font-size: 24px;
    line-height: 1;
}

.contact-card a {
    font-weight: 700;
    color: var(--tomato);
    transition: color 0.2s;
}

.contact-card a:hover {
    color: var(--tomato-dark);
    text-decoration: underline;
}

@media(max-width: 760px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- MENU ---- */
.menu-section {
    padding: 16px 24px 90px;
}

.menu-head {
    padding: 26px 0 8px;
}

.eyebrow-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tomato);
    margin-bottom: 8px;
}

.eyebrow-menu .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tomato);
}

.menu-head h2 {
    font-size: clamp(26px, 4vw, 38px);
    color: var(--ink);
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 28px;
}

#como-funciona {
    border-top: 4px solid var(--tomato);
}

@media(max-width:820px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}

.p-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    transition: transform .2s ease, box-shadow .2s ease;
}

.p-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

@media(max-width:560px) {
    .p-card {
        flex-direction: column;
    }
}

.p-visual {
    width: 38%;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(160deg, var(--cream-soft), var(--paper));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
}

@media(max-width:560px) {
    .p-visual {
        width: 100%;
        aspect-ratio: 16/9;
        font-size: 60px;
    }
}

.p-visual .portion-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--ink);
    color: var(--cream);
    font-size: 10.5px;
    font-weight: 700;
    padding: 6px 11px;
    border-radius: 999px;
    letter-spacing: .02em;
}

.p-info {
    flex: 1;
    padding: 20px 20px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.p-info h3 {
    font-size: 19px;
    color: var(--ink);
    letter-spacing: .02em;
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.p-info p.desc {
    font-family: 'Archivo', sans-serif;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 8px 0 0;
    flex: 1;
}

.p-info .p-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    gap: 10px;
}

.p-price {
    font-size: 19px;
    font-weight: 800;
    color: var(--tomato);
    font-family: 'Archivo', sans-serif;
}

.p-price .from {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.quick-stepper {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--cream-soft);
    border-radius: 999px;
    padding: 4px;
    flex-shrink: 0;
}

.quick-stepper button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    color: var(--cream);
    font-size: 15px;
    cursor: pointer;
    transition: transform .12s ease;
}

.quick-stepper button.plus {
    background: var(--tomato);
}

.quick-stepper button:active {
    transform: scale(.85);
}

.quick-stepper .qty {
    width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
}

/* ---- SHARED MODAL SCAFFOLD ---- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(36, 26, 20, .5);
    backdrop-filter: blur(2px);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}

.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -46%) scale(.96);
    width: min(520px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--paper);
    border-radius: 24px;
    z-index: 110;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.modal-head {
    position: sticky;
    top: 0;
    background: var(--paper);
    padding: 22px 24px 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    z-index: 2;
}

.modal-head h3 {
    font-size: 22px;
    color: var(--ink);
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.modal-head p {
    margin: 6px 0 0;
    font-size: 12.5px;
    color: var(--ink-soft);
    font-family: 'Archivo', sans-serif;
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--cream-soft);
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, transform .25s ease;
}

.modal-close:hover {
    background: var(--ink);
    color: var(--cream);
    transform: rotate(90deg);
}

.modal-body {
    padding: 18px 24px 6px;
}

.modal-foot {
    position: sticky;
    bottom: 0;
    background: var(--paper);
    padding: 16px 24px 22px;
    border-top: 1px solid var(--line);
}

/* ---- OPTION GROUPS (modal de personalização) ---- */
.opt-group {
    margin-bottom: 22px;
}

.opt-group-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.opt-group-label h4 {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink);
    font-family: 'Archivo', sans-serif;
}

.opt-group-label .req-tag {
    font-size: 10px;
    font-weight: 700;
    color: var(--tomato);
    background: var(--tomato-soft);
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.opt-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.opt-pill {
    position: relative;
}

.opt-pill input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.opt-pill label {
    display: block;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    background: var(--cream);
}

.opt-pill input:checked+label {
    background: var(--tomato);
    border-color: var(--tomato);
    color: #fff;
}

.opt-pill input:focus-visible+label {
    outline: 2px solid var(--tomato);
    outline-offset: 2px;
}

.qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    margin-top: 6px;
}

.qty-row h4 {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: 'Archivo', sans-serif;
}

.modal-note {
    width: 100%;
    resize: none;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 14px;
    font-family: 'Archivo', sans-serif;
    font-size: 13.5px;
    background: var(--cream);
    transition: border-color .15s ease;
}

.modal-note:focus {
    outline: none;
    border-color: var(--tomato);
}

.field-label {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink);
    margin-bottom: 8px;
    display: block;
}

.modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.modal-price-row b {
    font-size: 22px;
    color: var(--tomato);
    font-family: 'Archivo', sans-serif;
}

/* ---- FORM (pré-cadastro) ---- */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width:480px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-field {
    margin-bottom: 16px;
}

.form-field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin-bottom: 7px;
}

.form-field input,
.form-field select {
    width: 100%;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: 'Archivo', sans-serif;
    font-size: 14.5px;
    background: var(--cream);
    transition: border-color .15s ease, background .15s ease;
    color: var(--ink);
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--tomato);
    background: var(--paper);
}

.form-field.error input {
    border-color: var(--tomato);
    background: rgba(216, 37, 0, .05);
    animation: shake .32s ease;
}

.form-field .err-msg {
    display: none;
    font-size: 11.5px;
    color: var(--tomato);
    margin-top: 6px;
    font-weight: 600;
}

.form-field.error .err-msg {
    display: block;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.toggle-group {
    display: flex;
    background: var(--cream-soft);
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 18px;
}

.toggle-group button {
    flex: 1;
    padding: 11px;
    border: none;
    background: transparent;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    color: var(--ink-soft);
}

.toggle-group button.active {
    background: var(--tomato);
    color: #fff;
    box-shadow: 0 4px 10px rgba(216, 37, 0, .25);
}

.pay-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 6px;
}

@media(max-width:480px) {
    .pay-grid {
        grid-template-columns: 1fr;
    }
}

.pay-pill {
    position: relative;
}

.pay-pill input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
}

.pay-pill label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-radius: 14px;
    border: 1.5px solid var(--line);
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all .15s ease;
    background: var(--cream);
}

.pay-pill .ico {
    font-size: 18px;
}

.pay-pill input:checked+label {
    background: var(--tomato);
    border-color: var(--tomato);
    color: #fff;
}

.address-fields {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.address-fields.open {
    max-height: 600px;
}

.change-field {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.change-field.open {
    max-height: 120px;
    margin-top: 10px;
}

/* ---- CART FAB + DRAWER ---- */
.cart-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--tomato);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(216, 37, 0, .4);
    transition: transform .2s ease, background .15s ease;
}

.cart-fab:hover {
    background: var(--tomato-dark);
    transform: scale(1.06);
}

.cart-fab:active {
    transform: scale(.92);
}

.cart-fab.bump {
    animation: fabBump .38s ease;
}

.cart-fab .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 24px;
    height: 24px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--cream);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
    border: 2px solid var(--cream);
}

.cart-fab .badge.show {
    transform: scale(1);
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(440px, 94vw);
    background: var(--cream);
    z-index: 120;
    box-shadow: -18px 0 44px rgba(0, 0, 0, .2);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-head {
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: var(--paper);
}

.cart-head h3 {
    font-size: 20px;
    color: var(--ink);
    font-family: 'Ranchers', cursive;
    text-transform: uppercase;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 6px 22px;
}

.cart-line {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    margin: 14px 0;
    animation: slideFade .3s ease;
}

.cart-line .cl-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.cart-line h4 {
    font-size: 14.5px;
    font-weight: 800;
    font-family: 'Archivo', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.cart-line .cl-remove {
    background: none;
    border: none;
    color: var(--ink-soft);
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color .15s ease;
}

.cart-line .cl-remove svg:hover {
    color: var(--tomato);
}

.cart-line .cl-remove:hover {
    color: var(--tomato);
}

.cart-line .cl-opts {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--ink-soft);
}

.cart-line .cl-opts div {
    padding: 1px 0;
}

.cart-line .cl-note {
    font-size: 11.5px;
    font-style: italic;
    color: var(--ink-soft);
    margin-top: 4px;
}

.cart-line .cl-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.cl-stepper {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--cream-soft);
    border-radius: 999px;
    padding: 3px;
}

.cl-stepper button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: var(--ink);
    color: var(--cream);
    cursor: pointer;
    font-size: 13px;
    transition: transform .12s ease;
}

.cl-stepper button.plus {
    background: var(--tomato);
}

.cl-stepper button:active {
    transform: scale(.85);
}

.cl-stepper .qty {
    width: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
}

.cl-sub {
    font-size: 14px;
    font-weight: 800;
    color: var(--tomato);
}

.cart-empty {
    padding: 70px 12px;
    text-align: center;
    color: var(--ink-soft);
}

.cart-empty .em-ico {
    font-size: 44px;
    margin-bottom: 14px;
}

.cart-empty p {
    font-size: 13.5px;
    max-width: 230px;
    margin: 0 auto;
    font-family: 'Archivo', sans-serif;
}

.cart-empty .btn {
    margin-top: 18px;
}

.cart-foot {
    border-top: 1px solid var(--line);
    padding: 16px 22px 22px;
    background: var(--paper);
    flex-shrink: 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.summary-row.total {
    font-size: 15px;
    color: var(--ink);
    font-weight: 800;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--line);
}

.summary-row.total b {
    font-size: 23px;
    color: var(--tomato);
    transition: transform .2s ease;
}

.summary-row.total b.pulse {
    animation: pulseNum .32s ease;
}

.customer-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cream-soft);
    border-radius: 14px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 12.5px;
}

.customer-chip .cc-edit {
    background: none;
    border: none;
    color: var(--tomato);
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

/* ---- TOAST ---- */
.toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translate(-50%, 16px);
    background: var(--ink);
    color: var(--cream);
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

@media(max-width:520px) {
    .toast {
        font-size: 12.5px;
        padding: 10px 16px;
        white-space: normal;
        text-align: center;
    }
}

footer {
    border-top: 4px solid var(--tomato);
    color: var(--ink-soft);
    padding: 36px 24px;
    text-align: center;
    font-size: 13px;
    font-family: 'Archivo', sans-serif;
}

footer .wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

footer .wrap .logo_footer {
       display: flex;
    align-items: center;
    width: 100%;
    max-width: 200px;
    margin-bottom: 20px;
}

footer a:hover {
    color: var(--tomato);
}


/* ---- BACKGROUND ELEMENTS ---- */
.bg-element {
    position: absolute;
    z-index: 0;
    opacity: 1;
    /* Suave para não atrapalhar a leitura */
    pointer-events: none;
    user-select: none;
    max-width: 250px;
}

@media (min-width: 768px) {
    .bg-element {
        max-width: 400px;
    }
}

/* Posições relativas a cada seção */
.bg-el-1 {
    top: -30px;
    left: -80px;
    transform: rotate(-15deg);
}

.bg-el-2 {
    top: 15%;
    right: -120px;
    transform: rotate(15deg);
}

.bg-el-3 {
    top: 40%;
    left: -100px;
    transform: rotate(-20deg);
}

.bg-el-4 {
    bottom: 60px;
    right: -80px;
    transform: rotate(10deg);
}

@media(max-width: 600px) {

    section {
        padding: 60px 16px;
        position: relative;
    }

    .wrap {
        padding: 0px;
    }

    .menu-section {
        padding: 40px 16px;
    }

    .menu-grid {
        gap: 40px;
    }

    .contact-grid {
        gap: 40px;
    }

    .logo a {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 140px;
    }

    /* ---- BACKGROUND ELEMENTS ---- */
    .bg-element {
        position: absolute;
        z-index: 0;
        opacity: 0.2;
        /* Suave para não atrapalhar a leitura */
        pointer-events: none;
        user-select: none;
        max-width: 180px;

    }

    /* Posições relativas a cada seção */
    .bg-el-1 {
        top: -30px;
        left: 0px;
        transform: rotate(-15deg);
    }

    .bg-el-2 {
        top: 15%;
        right: 240px;
        transform: rotate(15deg);
    }

    .bg-el-3 {
        top: 40%;
        left: 0px;
        transform: rotate(-20deg);
    }

    .bg-el-4 {
        bottom: -20px;
        right: 40px;
        transform: rotate(10deg);
    }
}