:root {
    --m: #4a0f14;
    --m2: #2a0709;
    --g: #d9a560;
    --g2: #f1d08a;
    --g3: #b8843c;
    --w: #fff;
    --cream: #fbf6ef;
    --ink: #2a0709;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px)
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px
}

*,
*:before,
*:after {
    box-sizing: inherit
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 16px/1.6 "DM Sans", system-ui, sans-serif
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    margin: 0;
    line-height: 1.1
}

.script {
    font-family: "Pinyon Script", "Snell Roundhand", cursive;
    font-weight: 400
}

.gold {
    background: linear-gradient(180deg, var(--g2), var(--g3));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

button {
    font: inherit;
    cursor: pointer
}

:focus-visible {
    outline: 3px solid var(--g);
    outline-offset: 2px
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--m2);
    color: var(--w);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 5vw;
    border-bottom: 2px solid var(--g)
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--g2);
    font: 600 1.4rem "Cormorant Garamond", serif
}

.brand img {
    width: 46px;
    height: 46px;
    border-radius: 50%
}

nav {
    display: flex;
    gap: 22px;
    align-items: center
}

nav a {
    text-decoration: none;
    font-weight: 500;
    color: var(--w)
}

nav a:hover {
    color: var(--g2)
}

.cartbtn {
    background: var(--g);
    color: var(--m2);
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 700
}

.hero {
    background: radial-gradient(circle at 70% 40%, var(--m), var(--m2) 70%);
    color: var(--w);
    padding: 64px 5vw 72px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.hero small {
    color: var(--g2);
    letter-spacing: .12em;
    font-size: .95rem
}

.hero h1 {
    font-size: clamp(3.4rem, 9vw, 6.4rem);
    margin: 6px 0 4px
}

.hero p {
    max-width: 44ch;
    font-size: 1.1rem;
    color: #ecd6d0;
    margin: 10px 0 26px
}

.btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--g2), var(--g));
    color: var(--m2);
    font-weight: 700;
    border: 0;
    border-radius: 6px;
    padding: 14px 26px;
    text-decoration: none
}

.btn:hover {
    filter: brightness(1.06)
}

.btn.out {
    background: transparent;
    color: var(--g2);
    border: 2px solid var(--g);
    margin-left: 10px
}

.hero img {
    width: min(360px, 80%);
    border-radius: 50%;
    display: block;
    margin: auto;
    box-shadow: 0 0 0 4px var(--g3), 0 30px 60px rgba(0, 0, 0, .5)
}

section {
    padding: 64px 5vw
}

.wrap {
    max-width: 1050px;
    margin: auto
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--m)
}

.sub {
    color: #6b4a4c;
    margin: 8px 0 30px;
    max-width: 60ch
}

.menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center
}

.menu img {
    width: 100%;
    border-radius: 16px;
    border: 3px solid var(--g);
    box-shadow: 0 18px 40px rgba(42, 7, 9, .25)
}

.tag {
    display: inline-block;
    background: var(--m);
    color: var(--g2);
    border-radius: 999px;
    padding: 4px 14px;
    font-weight: 700;
    margin-bottom: 14px
}

.fl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px dotted var(--g3)
}

.fl strong {
    font: 600 1.35rem "Cormorant Garamond", serif;
    color: var(--m)
}

.price {
    font-weight: 700;
    color: var(--m);
    white-space: nowrap;
    margin-right: 10px
}

.add {
    background: var(--m);
    color: var(--g2);
    border: 0;
    border-radius: 6px;
    padding: 8px 14px;
    font-weight: 700
}

.add:hover {
    background: var(--m2)
}

.enc {
    background: var(--m2);
    color: var(--w)
}

.enc h2 {
    color: var(--g2)
}

.enc .sub {
    color: #e6cdc8
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 760px
}

label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 500;
    font-size: .95rem
}

.full {
    grid-column: 1/-1
}

input,
select,
textarea {
    font: inherit;
    padding: 11px 12px;
    border-radius: 6px;
    border: 2px solid transparent;
    background: var(--w);
    color: var(--ink)
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--g);
    outline: none
}

footer {
    background: var(--m2);
    color: #e6cdc8;
    text-align: center;
    padding: 32px 5vw;
    border-top: 3px solid var(--g)
}

footer a {
    color: var(--g2);
    font-weight: 700
}

#ov {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    z-index: 30
}

#ov.on {
    display: block
}

#dr {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(400px, 100%);
    background: var(--w);
    z-index: 31;
    transform: translateX(100%);
    transition: transform .25s;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px))
}

#dr.on {
    transform: none
}

#dr h2 {
    font-size: 1.9rem
}

#items {
    flex: 1;
    overflow: auto;
    margin: 14px 0
}

.it {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #ecdcc6
}

.qty {
    display: flex;
    align-items: center;
    gap: 8px
}

.qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--m);
    background: var(--w);
    color: var(--m);
    font-weight: 700;
    line-height: 1
}

.empty {
    color: #6b4a4c
}

#dr input {
    border: 2px solid #ecdcc6;
    width: 100%;
    margin-bottom: 8px
}

.tot {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.15rem;
    margin: 8px 0 12px;
    color: var(--m)
}

.close {
    background: none;
    border: 0;
    font-size: 1.8rem;
    color: var(--m)
}

@media(max-width:780px) {

    .hero,
    .menu {
        grid-template-columns: 1fr
    }

    .hero {
        padding-top: 40px
    }

    nav .hide {
        display: none
    }

    form {
        grid-template-columns: 1fr
    }

    .btn.out {
        margin: 10px 0 0
    }

    .brand span {
        font-size: 1.2rem
    }
}

@media(prefers-reduced-motion:reduce) {
    #dr {
        transition: none
    }

    html {
        scroll-behavior: auto
    }
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px
}

.card {
    background: var(--w);
    border: 1px solid #ecdcc6;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(42, 7, 9, .08)
}

.card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    border-bottom: 3px solid var(--g)
}

.cb {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1
}

.card h3 {
    font-size: 1.6rem;
    color: var(--m)
}

.card p {
    margin: 0;
    font-size: .93rem;
    color: #6b4a4c;
    flex: 1
}

.card select {
    border: 2px solid #ecdcc6;
    margin-top: 6px;
    width: 100%
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px
}

.card .price {
    font-size: 1.2rem;
    margin: 0
}

#dr {
    overflow-y: auto
}

#items {
    min-height: 110px
}

#dr select {
    width: 100%;
    margin-bottom: 8px;
    border: 2px solid #ecdcc6
}

fieldset#eprods {
    border: 2px solid var(--g3);
    border-radius: 10px;
    padding: 14px 16px;
    margin: 0
}

#eprods legend {
    color: var(--g2);
    font-weight: 700;
    padding: 0 8px
}

#elist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px
}

#elist label {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-weight: 400
}

#elist input {
    width: 76px;
    padding: 7px 8px;
    text-align: center
}

#eaddr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

@media(max-width:780px) {

    #elist,
    #eaddr {
        grid-template-columns: 1fr
    }
}

.natal {
    background: linear-gradient(180deg, var(--m2), var(--m));
    color: var(--w);
    border-top: 3px solid var(--g);
    border-bottom: 3px solid var(--g)
}

.natal h2 {
    font-size: clamp(3rem, 8vw, 5rem);
    color: transparent
}

.natal .sub {
    color: #ecd6d0
}

.natal .tag {
    background: var(--g);
    color: var(--m2)
}

.cat {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--g3);
    font-weight: 700
}

#nf {
    margin-top: 44px;
    max-width: 760px
}

#nf h3 {
    color: var(--g2);
    font-size: 1.9rem
}

#naddr {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.nit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dotted var(--g3)
}

.ntot {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--g2)
}

@media(max-width:780px) {
    #naddr {
        grid-template-columns: 1fr
    }
}

.aviso {
    background: rgba(217, 165, 96, .15);
    border: 1px solid var(--g);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 0 0 28px;
    max-width: 760px;
    color: var(--w)
}

.aviso strong {
    color: var(--g2)
}

.mdl {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.mbox {
    background: var(--w);
    border-radius: 14px;
    padding: 24px;
    max-width: 420px;
    border-top: 5px solid var(--g);
    color: var(--ink)
}

.mbox h3 {
    color: var(--m);
    font-size: 1.7rem;
    margin-bottom: 8px
}

.mbtn {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap
}

.mbtn .out {
    color: var(--m);
    border-color: var(--m);
    margin: 0
}

/* sacola em tela cheia no celular, com rodapé fixo */
#dr {
    padding: 0;
    overflow: hidden;
    height: 100%;
    height: 100dvh
}

.dh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    padding-top: calc(14px + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid #ecdcc6
}

.dbody {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 20px
}

.dfoot {
    padding: 12px 20px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid var(--g);
    background: var(--w);
    box-shadow: 0 -6px 16px rgba(0, 0, 0, .06)
}

#items {
    flex: none;
    overflow: visible;
    min-height: 0;
    margin: 0 0 12px
}

.lb {
    display: block;
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: 8px
}

.lb select,
.lb input {
    margin-top: 4px;
    margin-bottom: 0
}

#dr .tot span:last-child {
    white-space: nowrap
}

#dr textarea {
    font: inherit;
    padding: 11px 12px;
    border-radius: 6px;
    border: 2px solid #ecdcc6;
    width: 100%;
    resize: vertical;
    color: var(--ink)
}

#dr select,
#dr input {
    min-height: 46px
}

#encf {
    display: none
}

#notice {
    display: none;
    background: #fbf3e4;
    color: var(--ink);
    border-color: var(--g3);
    margin: 8px 0 12px;
    font-size: .92rem
}

#notice strong {
    color: var(--m)
}

#entrow {
    display: none;
    margin-top: 0
}

#dr .tot {
    margin: 0 0 4px
}

.note {
    display: block;
    color: #6b4a4c;
    margin: -4px 0 8px
}

.bdg {
    display: inline-block;
    background: var(--m);
    color: var(--g2);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 1px 8px;
    border-radius: 999px;
    vertical-align: middle
}

#err {
    color: #b3261e;
    font-weight: 700;
    min-height: 1.3em;
    font-size: .92rem
}

.fab {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: 25;
    background: linear-gradient(180deg, var(--g2), var(--g));
    color: var(--m2);
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    max-width: calc(100% - 28px);
    white-space: nowrap
}

.fab.on {
    display: block
}

/* responsivo */
.qty button {
    width: 36px;
    height: 36px
}

.add,
.btn,
.cartbtn {
    min-height: 44px
}

.add {
    padding: 10px 16px
}

@media(max-width:780px) {
    header {
        padding: 6px 4vw
    }

    section {
        padding: 44px 5vw
    }

    .hero {
        padding: 36px 5vw 44px;
        gap: 26px;
        text-align: center
    }

    .hero p {
        margin-left: auto;
        margin-right: auto
    }

    .hero .btn {
        display: block;
        margin: 10px auto 0;
        max-width: 320px
    }

    .hero img {
        width: min(240px, 70%)
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .card img {
        aspect-ratio: 4/3
    }

    footer {
        padding-bottom: 90px
    }
}

@media(max-width:380px) {
    .brand span {
        font-size: 1.05rem
    }

    .cartbtn {
        padding: 8px 12px
    }
}

@media(min-width:781px) {
    .fab {
        display: none !important
    }
}

.lbt {
    display: block;
    font-weight: 500;
    font-size: .9rem;
    margin-bottom: 4px
}

.dbtn {
    width: 100%;
    min-height: 46px;
    text-align: left;
    font: inherit;
    padding: 10px 12px;
    border-radius: 6px;
    border: 2px solid #ecdcc6;
    background: var(--w);
    color: var(--ink)
}

.dbtn[aria-expanded=true] {
    border-color: var(--g)
}

.cal {
    border: 2px solid #ecdcc6;
    border-radius: 12px;
    padding: 10px;
    margin-top: 8px;
    background: var(--w)
}

.cal[hidden] {
    display: none
}

.cal-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--m);
    margin-bottom: 6px
}

.cal-h button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--m);
    background: var(--w);
    color: var(--m);
    font-size: 1.3rem;
    line-height: 1
}

.cal-h button:disabled {
    opacity: .25
}

.cal-g {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center
}

.cal-w {
    color: #6b4a4c;
    font-weight: 700;
    padding: 4px 0
}

.cal-d {
    min-height: 42px;
    border: 0;
    border-radius: 8px;
    background: #fbf6ef;
    color: var(--ink);
    font: inherit;
    font-weight: 500
}

.cal-d:disabled {
    opacity: .3;
    background: transparent
}

.cal-d.sel {
    background: var(--m);
    color: var(--g2);
    font-weight: 700
}