:root {
    --cream: #f8f2e8;
    --paper: #fffdf9;
    --ink: #291a14;
    --muted: #796c65;
    --brown: #6d3b24;
    --orange: #de6e34;
    --gold: #eebc66;
    --green: #3d795b;
    --red: #c9584d;
    --line: #eadfd3;
    font-family: DM Sans, sans-serif;
    color: var(--ink);
    background: var(--cream)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(145deg, #fbf6ee, #f1e3d2)
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

#store {
    width: min(100%, 720px);
    min-height: 100vh;
    margin: auto;
    padding: 18px 16px 120px
}

.store-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 190px;
    padding: 26px;
    border-radius: 28px;
    background: var(--brown);
    color: #fff;
    box-shadow: 0 18px 45px #482b1c2e
}

.store-brand span,
.menu-title span,
.checkout-head span,
.store-state>span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em
}

.store-brand h1,
.checkout-head h1,
.store-state h1 {
    margin: 5px 0 7px;
    font: 800 34px/1.05 Playfair Display, serif
}

.store-brand p {
    margin: 0;
    color: #ead8cc;
    font-size: 13px
}

.hero-cookie {
    font-size: 70px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .25));
    transform: rotate(8deg)
}

.combo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 13px 0 24px;
    padding: 13px 15px;
    border-radius: 16px;
    background: #fff0d7;
    color: #98531e
}

.combo-banner strong {
    font-size: 13px
}

.combo-banner span {
    font-size: 11px
}

.menu-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 12px
}

.menu-title h2 {
    margin: 3px 0 0;
    font: 800 24px Playfair Display, serif
}

.menu-title small {
    color: var(--green)
}

.product-list {
    display: grid;
    gap: 10px
}

.menu-product {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: var(--paper);
    box-shadow: 0 7px 25px #482b1c0d
}

.product-emoji {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: none;
    border-radius: 15px;
    background: #f6e5d7;
    font-size: 22px
}

.product-copy {
    min-width: 0;
    flex: 1
}

.product-copy h2 {
    margin: 0;
    font-size: 15px
}

.product-copy p {
    margin: 4px 0 1px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800
}

.product-copy small {
    color: var(--muted);
    font-size: 10px
}

.product-stepper {
    display: flex;
    align-items: center;
    gap: 8px
}

.product-stepper button {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 12px;
    background: var(--orange);
    color: #fff;
    font-size: 22px;
    font-weight: 800
}

.product-stepper button:first-child {
    background: #f6e5d7;
    color: var(--brown)
}

.product-stepper button:disabled {
    opacity: .35
}

.product-stepper strong {
    min-width: 18px;
    text-align: center
}

.cart-bar {
    position: fixed;
    z-index: 10;
    left: 50%;
    bottom: 14px;
    width: min(calc(100% - 28px), 692px);
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 13px 12px 16px;
    border-radius: 19px;
    background: #2c1a13;
    color: #fff;
    box-shadow: 0 18px 42px #21140f52;
    transform: translate(-50%, 140%);
    transition: .25s
}

.cart-bar.show {
    transform: translate(-50%)
}

.cart-bar>div {
    min-width: 0;
    flex: 1
}

.cart-bar span,
.cart-bar strong {
    display: block
}

.cart-bar span {
    color: #d8c5b9;
    font-size: 10px
}

.cart-bar strong {
    margin-top: 2px;
    font-size: 18px
}

.cart-bar button {
    border: 0;
    border-radius: 13px;
    padding: 12px 15px;
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800
}

.checkout-head {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 8px 0 20px
}

.checkout-head button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: var(--paper);
    color: var(--brown);
    font-size: 20px
}

.checkout-head h1 {
    font-size: 29px
}

.checkout-card,
.checkout-form {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 21px;
    background: var(--paper)
}

.checkout-items {
    display: grid;
    gap: 8px
}

.checkout-item,
.checkout-total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 12px
}

.checkout-total {
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    align-items: center
}

.checkout-total strong {
    font-size: 23px;
    color: var(--green)
}

.checkout-form {
    display: grid;
    gap: 13px;
    margin-top: 12px
}

.field label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800
}

.field label small {
    font-weight: 500
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 12px;
    background: #fff;
    color: var(--ink);
    outline: none
}

.field textarea {
    min-height: 90px;
    resize: vertical
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px #de6e341f
}

.choice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.choice-row input {
    position: absolute;
    opacity: 0
}

.choice-row span {
    display: block;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 13px;
    text-align: center;
    font-size: 12px;
    font-weight: 800
}

.choice-row input:checked+span {
    border-color: var(--orange);
    background: #fff0e6;
    color: var(--orange)
}

.place-order,
.store-state button,
.store-state a {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 14px 16px;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-decoration: none
}

.place-order:disabled {
    opacity: .55
}

.order-warning {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 10px
}

.order-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important
}

.store-state {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.store-logo {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 25px;
    background: var(--brown);
    font-size: 36px
}

.store-state h1 {
    font-size: 31px
}

.store-state p {
    max-width: 430px;
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.55
}

.store-state button,
.store-state a {
    max-width: 330px;
    margin-top: 9px
}

.success-check {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #e5f1e9;
    color: var(--green);
    font-size: 38px;
    font-weight: 900
}

.success-summary {
    width: min(100%, 330px);
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 14px;
    border-radius: 14px;
    background: var(--paper)
}

.tracking-items {
    width: min(100%, 360px);
    margin-bottom: 15px;
    padding: 16px;
    border-radius: 16px;
    background: var(--paper)
}

.tracking-items div {
    text-align: left;
    font-size: 12px
}

.tracking-items>strong {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    color: var(--green);
    font-size: 22px
}

#orderToast {
    position: fixed;
    z-index: 99;
    left: 50%;
    bottom: 24px;
    max-width: calc(100% - 30px);
    padding: 12px 17px;
    border-radius: 13px;
    background: #21140f;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
    transition: .2s;
    text-align: center;
    font-size: 12px
}

#orderToast.show {
    opacity: 1;
    transform: translate(-50%)
}

.sold-out {
    padding: 35px;
    text-align: center;
    color: var(--muted)
}

[hidden] {
    display: none !important
}

@media(max-width:430px) {
    #store {
        padding: 12px 11px 110px
    }

    .store-hero {
        min-height: 165px;
        padding: 21px
    }

    .store-brand h1 {
        font-size: 29px
    }

    .hero-cookie {
        font-size: 55px
    }

    .menu-title h2 {
        font-size: 21px
    }

    .combo-banner {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px
    }

    .product-emoji {
        width: 43px;
        height: 43px
    }

    .product-stepper {
        gap: 5px
    }

    .product-stepper button {
        width: 33px;
        height: 33px
    }

    .checkout-card,
    .checkout-form {
        padding: 15px
    }
}

.recent-customer-orders {
    margin: 0 0 24px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--paper);
    box-shadow: 0 7px 25px #482b1c0d
}

.recent-customer-orders>div:first-child span {
    color: var(--orange);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em
}

.recent-customer-orders h2 {
    margin: 4px 0 12px;
    font: 800 21px Playfair Display, serif
}

.recent-customer-order-list {
    display: grid;
    gap: 8px
}

.recent-customer-order-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px;
    border-radius: 13px;
    background: #f8eee3;
    color: var(--brown);
    font-size: 12px;
    text-decoration: none
}

.recent-customer-order-list b {
    color: var(--orange);
    white-space: nowrap
}

.store-state .tracking-share {
    background: var(--brown)
}

.whatsapp-opt-in {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px solid #b9dfc8;
    border-radius: 14px;
    background: #eef9f2;
    color: #245d3f;
    cursor: pointer
}

.whatsapp-opt-in input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #2a9d5b
}

.whatsapp-opt-in span,
.whatsapp-opt-in small {
    display: block
}

.whatsapp-opt-in strong {
    font-size: 12px
}

.whatsapp-opt-in small {
    margin-top: 3px;
    color: #527160;
    font-size: 10px;
    line-height: 1.35
}

.payment-demo {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 22px;
    border: 1px solid #d8e3ed;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px #18344c24
}

.payment-demo-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e7edf2
}

.payment-demo-head div {
    display: grid;
    gap: 2px
}

.payment-demo-head span {
    color: #4d6b80;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em
}

.payment-demo-head strong {
    font-size: 18px
}

.payment-demo-head b {
    color: #1683df;
    font-size: 12px
}

.payment-demo-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 17px 0;
    padding: 14px;
    border-radius: 14px;
    background: #f3f8fc
}

.payment-demo-total span {
    font-size: 11px;
    color: #5c6d78
}

.payment-demo-total strong {
    font-size: 24px;
    color: #1b5277
}

.payment-demo-alert {
    margin: 0 0 15px;
    padding: 10px 12px;
    border-radius: 11px;
    background: #fff4cf;
    color: #805e00;
    font-size: 10px;
    line-height: 1.4
}

.demo-pix {
    display: grid;
    justify-items: center;
    gap: 11px;
    text-align: center
}

.demo-pix h2,
.demo-card h2 {
    margin: 0;
    font-size: 20px
}

.demo-pix p,
.demo-card p {
    margin: 0;
    color: #687985;
    font-size: 11px
}

.demo-qr {
    width: 174px;
    height: 174px;
    display: grid;
    place-items: center;
    margin: 5px 0;
    border: 10px solid #fff;
    border-radius: 9px;
    background: repeating-conic-gradient(#132631 0 25%, #fff 0 50%) 0/18px 18px;
    box-shadow: 0 0 0 1px #dfe7ec
}

.demo-qr span {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border: 7px solid #fff;
    border-radius: 8px;
    background: #1683df;
    color: #fff;
    font-weight: 900
}

.demo-pix-code {
    width: 100%;
    overflow: hidden;
    padding: 10px;
    border-radius: 10px;
    background: #f2f5f7;
    color: #52646f;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 9px
}

.demo-payment-secondary,
.demo-payment-primary {
    width: 100%;
    border: 0;
    border-radius: 13px;
    padding: 13px;
    font-weight: 800
}

.demo-payment-secondary {
    background: #eaf3fa;
    color: #176ca8
}

.demo-payment-primary {
    margin-top: 8px;
    background: #1683df;
    color: #fff
}

.demo-payment-primary:disabled {
    opacity: .55
}

.demo-card {
    display: grid;
    gap: 13px
}

.demo-card-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px
}

.demo-card-fields .wide {
    grid-column: 1/-1
}

.demo-card label {
    display: grid;
    gap: 5px;
    color: #61727e;
    font-size: 10px;
    font-weight: 700
}

.demo-card input {
    width: 100%;
    border: 1px solid #dbe5eb;
    border-radius: 11px;
    padding: 11px;
    background: #fafcfd;
    color: #263943
}

.payment-demo-back {
    display: block;
    margin: 14px auto 0;
    border: 0;
    background: transparent;
    color: #647985;
    font-size: 11px;
    text-decoration: underline
}

@media(max-width:430px) {
    .payment-demo {
        padding: 17px
    }

    .demo-qr {
        width: 150px;
        height: 150px
    }

    .demo-card-fields {
        grid-template-columns: 1fr
    }
}

.pix-payment {
    width: min(560px, 100%);
    margin: 0 auto;
    padding: 34px 24px 44px;
    text-align: center
}

.pix-payment header span {
    font-size: 12px;
    letter-spacing: .14em;
    font-weight: 800;
    color: var(--orange)
}

.pix-payment header h1 {
    font-family: Playfair Display, serif;
    font-size: 36px;
    margin: 6px 0
}

.pix-payment header p {
    color: var(--muted);
    line-height: 1.5
}

.pix-payment-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #e4f3eb;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 22px 0
}

.pix-payment-total strong {
    font-size: 25px;
    color: var(--green)
}

.pix-payment img {
    width: min(300px, 78vw);
    height: auto;
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 10px 30px #51271518
}

.pix-copy-code {
    margin: 16px 0 10px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.35;
    max-height: 72px;
    overflow: auto
}

.pix-recipient {
    font-size: 13px;
    color: var(--muted);
    margin: 12px 0 18px
}

.pix-payment>a {
    display: block;
    color: var(--brown);
    font-weight: 700;
    margin-top: 16px
}