:root {
    --brown-900: #3B2818;
    --brown-800: #593D28;
    --brown-700: #6E5138;
    --brown-650: #7C5D40;
    --cream: #EDE5D9;
    --cream-2: #F6F1E8;
    --caramel: #B9854F;
    --caramel-dark: #96693B;
    --blush: #CE9C86;
    --sage: #7A8B6F;
    --line: rgba(237, 229, 217, 0.22);
    --line-dark: rgba(59, 40, 24, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: linear-gradient(180deg, #faf7f1 0, var(--cream-2) 460px);
    color: var(--brown-900);
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    color: inherit;
    margin: 0;
}

p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

::selection {
    background: var(--caramel);
    color: var(--cream);
}

/* ---------- NAV ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--brown-800);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brandmark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brandmark img {
    height: 34px;
    width: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.brandmark span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: var(--cream);
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--cream);
    font-size: .92rem;
    opacity: .85;
    transition: opacity .15s;
}

.nav-links a:hover {
    opacity: 1;
}

.cart-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: .85rem;
    transition: border-color .15s, background .15s;
}

.cart-pill:hover {
    border-color: var(--caramel);
    background: rgba(185, 133, 79, .12);
}

.cart-count {
    background: var(--caramel);
    color: var(--brown-900);
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 600;
    padding: 0 4px;
}

/* ---------- PROFILE HEADER (capa + avatar, estilo cardápio de delivery) ---------- */
.profile {
    background: var(--cream-2);
}

.cover {
    position: relative;
    z-index: 1;
    height: 120px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 30%, rgba(185, 133, 79, .35) 0%, transparent 55%),
        radial-gradient(circle at 82% 70%, rgba(206, 156, 134, .25) 0%, transparent 55%),
        var(--brown-800);
}

.cover-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 40, 24, 0) 40%, var(--cream-2) 100%);
}

.profile-body {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 28px;
    text-align: center;
}

.avatar {
    position: relative;
    z-index: 3;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--cream-2);
    margin: -52px auto 14px;
    box-shadow: 0 4px 14px rgba(59, 40, 24, .25);
}

.profile-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.profile-top h1 {
    font-size: clamp(2rem, 4vw, 2.45rem);
}

.status-pill {
    font-size: .72rem;
    letter-spacing: .04em;
    padding: 5px 12px;
    border-radius: 100px;
    border: 1px solid var(--line-dark);
}

.status-pill.open {
    background: rgba(122, 139, 111, .15);
    color: var(--sage);
    border-color: rgba(122, 139, 111, .4);
}

.status-pill.closed {
    background: rgba(59, 40, 24, .08);
    color: var(--brown-700);
}

.tagline {
    margin-top: 10px;
    font-size: 1.05rem;
    color: var(--brown-800);
}

.info-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.info-chip {
    padding: 7px 13px;
    border-radius: 100px;
    background: rgba(59, 40, 24, .055);
    font-size: .86rem;
    color: var(--brown-700);
    white-space: nowrap;
}

.promo-banner {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.promo-chip {
    font-size: .78rem;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(185, 133, 79, .15);
    color: var(--caramel-dark);
    border: 1px solid rgba(185, 133, 79, .35);
}

.promo-countdown {
    font-weight: 600;
    color: #b23b3b;
}

.promo-countdown-popup {
    text-align: center;
    font-size: .78rem;
    margin-top: 2px;
    margin-bottom: 4px;
}

.order-benefits {
    margin-top: 8px;
}

.profile-actions {
    margin-top: 22px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-block;
    background: var(--caramel);
    color: var(--cream-2);
    padding: 13px 28px;
    border-radius: 100px;
    font-size: .92rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: background .15s, transform .15s;
}

.hero-cta:hover {
    background: var(--caramel-dark);
    transform: translateY(-1px);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    border-radius: 100px;
    border: 1px solid var(--brown-800);
    font-size: .92rem;
    color: var(--brown-800);
    transition: background .15s, color .15s;
}

.whatsapp-link:hover {
    background: var(--brown-800);
    color: var(--cream);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-area-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--cream);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: .85rem;
    transition: border-color .15s, background .15s;
    white-space: nowrap;
}

.client-area-btn:hover {
    border-color: var(--caramel);
    background: rgba(185, 133, 79, .12);
}

@media (max-width:640px) {
    .client-area-btn span {
        display: none;
    }
}

/* ---------- ÁREA DO CLIENTE ---------- */
.cliente-error {
    display: none;
    font-size: .8rem;
    color: #b23b3b;
    margin-top: 10px;
    text-align: center;
}

.cliente-note {
    display: none;
    font-size: .82rem;
    color: var(--sage);
    margin-top: 10px;
    text-align: center;
}

.cliente-register-btn {
    width: 100%;
    margin-top: 10px;
    padding: 11px 14px;
    border: 1px solid var(--caramel-dark);
    border-radius: 100px;
    color: var(--caramel-dark);
    font-size: .88rem;
    transition: background .15s, color .15s;
}

.cliente-register-btn:hover:not(:disabled) {
    background: rgba(185, 133, 79, .12);
}

.cliente-register-btn:disabled {
    cursor: not-allowed;
    opacity: .55;
}

/* ---------- POP-UP DE PROMOÇÕES ---------- */
.promo-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(59, 40, 24, .58);
    backdrop-filter: blur(4px);
}

.promo-popup-overlay.open {
    display: flex;
}

.promo-popup-card {
    position: relative;
    width: min(410px, 100%);
    padding: 36px 30px 30px;
    border: 1px solid rgba(185, 133, 79, .45);
    border-radius: 20px;
    background: var(--cream-2);
    text-align: center;
    box-shadow: 0 20px 60px rgba(30, 18, 9, .34);
}

.promo-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--brown-700);
    font-size: 1.45rem;
    line-height: 1;
}

.promo-popup-close:hover {
    background: rgba(59, 40, 24, .08);
}

.promo-popup-eyebrow {
    color: var(--caramel-dark);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.promo-popup-card h2 {
    margin: 7px 0 20px;
    font-size: 2rem;
}

.promo-popup-list {
    display: grid;
    gap: 9px;
    margin-bottom: 22px;
}

.promo-popup-item {
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(185, 133, 79, .13);
    color: var(--brown-800);
    font-size: .94rem;
    line-height: 1.4;
    text-align: left;
}

.promo-popup-item-title {
    text-align: center;
}

.promo-popup-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.promo-popup-product {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 10px;
    background: var(--cream-2);
    border: 1px solid rgba(185, 133, 79, .3);
    text-align: left;
    transition: border-color .15s, transform .1s;
}

.promo-popup-product:hover {
    border-color: var(--caramel);
}

.promo-popup-product.added {
    border-color: var(--caramel-dark);
    transform: scale(.98);
}

.promo-popup-product-photo {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--brown-650);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-popup-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-popup-product-info {
    flex: 1;
    min-width: 0;
}

.promo-popup-product-name {
    display: block;
    font-size: .86rem;
    font-weight: 500;
    color: var(--brown-900);
}

.promo-popup-product-info .item-price {
    font-size: .84rem;
    margin-top: 2px;
}

.promo-popup-product-info .item-badge {
    display: inline-block;
    margin-top: 4px;
}

.promo-popup-product-add {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--caramel-dark);
    background: var(--caramel);
    color: var(--cream-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.promo-popup-action {
    width: 100%;
    padding: 13px 18px;
    border-radius: 100px;
    background: var(--caramel);
    color: var(--cream-2);
    font-size: .9rem;
    font-weight: 500;
}

.promo-popup-action:hover {
    background: var(--caramel-dark);
}

.coupon-popup-block {
    background: rgba(140, 163, 122, .14);
}

.coupon-popup-item + .coupon-popup-item {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(59, 40, 24, .18);
}

.coupon-popup-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.coupon-popup-code {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--brown-900);
}

.coupon-popup-value {
    font-size: .85rem;
    color: var(--caramel-dark);
    font-weight: 500;
}

.coupon-popup-desc,
.coupon-popup-min {
    font-size: .82rem;
    color: var(--brown-700);
    margin-top: 3px;
}

.coupon-popup-use-btn {
    margin-top: 8px;
    width: 100%;
    padding: 9px 14px;
    border-radius: 100px;
    border: 1px solid var(--sage);
    color: var(--sage);
    font-size: .82rem;
    font-weight: 500;
    transition: background .15s, color .15s;
}

.coupon-popup-use-btn:hover {
    background: var(--sage);
    color: #fff;
}

.cliente-greeting {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1rem;
}

.cashback-card {
    background: rgba(185, 133, 79, .12);
    border: 1px solid rgba(185, 133, 79, .35);
    border-radius: 14px;
    padding: 18px;
    text-align: center;
    margin-bottom: 22px;
}

.cashback-card .amount {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    color: var(--caramel-dark);
    line-height: 1.2;
}

.cashback-card .label {
    font-size: .82rem;
    color: var(--brown-700);
}

.cashback-card .expiry {
    font-size: .78rem;
    color: var(--brown-700);
    margin-top: 6px;
}

.cliente-order {
    border-bottom: 1px solid var(--line-dark);
    padding: 14px 0;
}

.cliente-order:last-child {
    border-bottom: none;
}

.cliente-order .date {
    font-size: .78rem;
    color: var(--brown-700);
}

.cliente-order .status-tag {
    display: inline-block;
    font-size: .68rem;
    padding: 2px 10px;
    border-radius: 100px;
    background: var(--line-dark);
    color: var(--brown-800);
    margin-left: 8px;
    text-transform: capitalize;
}

.cliente-order .items {
    font-size: .88rem;
    margin: 6px 0;
    color: var(--brown-900);
}

.cliente-order .total {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.no-orders {
    text-align: center;
    color: var(--brown-700);
    font-size: .9rem;
    padding: 30px 0;
    line-height: 1.6;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: .82rem;
    color: var(--caramel-dark);
    text-decoration: underline;
    cursor: pointer;
}

/* ---------- CATEGORY CHIPS ---------- */
.chips-bar {
    position: sticky;
    top: 63px;
    z-index: 30;
    background: rgba(246, 241, 232, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-dark);
    display: flex;
    align-items: center;
    padding: 0 6px;
}

.chips-bar[hidden] {
    display: none;
}

.chips-inner {
    flex: 1;
    min-width: 0;
    margin: 0 auto;
    padding: 12px 6px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    justify-content: center;
    justify-content: safe center;
}

.chips-inner::-webkit-scrollbar {
    display: none;
}

.chip-arrow {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    color: var(--brown-800);
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}

.chip-arrow:hover {
    background: var(--brown-800);
    color: var(--cream);
}

@media (max-width:640px) {
    .chip-arrow {
        display: none;
    }

    .chips-bar {
        padding: 0;
    }
}

.chip {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: .82rem;
    padding: 8px 16px;
    border-radius: 100px;
    border: 1px solid rgba(59, 40, 24, .11);
    background: rgba(255, 255, 255, .48);
    color: var(--brown-800);
    transition: background .15s, color .15s, border-color .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.chip-icon {
    font-size: 1em;
    line-height: 1;
}

.chip:hover {
    background: var(--brown-800);
    color: var(--cream);
    border-color: var(--brown-800);
}

/* ---------- SECTION SHELL ---------- */
section {
    padding: 56px 24px;
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.section-head {
    margin-bottom: 36px;
}

.section-head .eyebrow {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--caramel-dark);
    display: block;
    margin-bottom: 4px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

/* ---------- CARDAPIO ---------- */
.category {
    margin-bottom: 40px;
    scroll-margin-top: 130px;
}

.category-title {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--caramel-dark);
    border-bottom: 0;
    padding-bottom: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title .chip-icon {
    font-style: normal;
    font-size: .92em;
}

.item-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    padding: 16px;
    border: 1px solid rgba(59, 40, 24, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .48);
    box-shadow: 0 2px 10px rgba(59, 40, 24, .035);
    transition: transform .15s, box-shadow .15s, border-color .15s;
}

.item-row:hover {
    transform: translateY(-1px);
    border-color: rgba(185, 133, 79, .38);
    box-shadow: 0 7px 18px rgba(59, 40, 24, .08);
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.item-name {
    font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.item-badge {
    font-size: .66rem;
    letter-spacing: .03em;
    background: var(--blush);
    color: var(--brown-900);
    padding: 2px 9px;
    border-radius: 100px;
}

.item-badge.promo {
    background: var(--caramel);
    color: var(--cream-2);
}

.item-badge.soldout {
    background: var(--line-dark);
    color: var(--brown-700);
}

.item-badge.lowstock {
    background: rgba(178, 59, 59, .15);
    color: #b23b3b;
}

.price-old {
    text-decoration: line-through;
    color: var(--brown-700);
    font-size: .86rem;
    margin-right: 4px;
}

.price-promo {
    color: var(--caramel-dark);
    font-weight: 600;
}

.item-row.sold-out {
    opacity: .55;
}

.item-desc {
    font-size: .84rem;
    color: var(--brown-700);
    margin-top: 3px;
    line-height: 1.4;
}

.item-price {
    font-size: .98rem;
    color: var(--brown-900);
    margin-top: 6px;
}

.item-photo {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--brown-650);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--cream);
    opacity: .75;
}

.item-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--caramel-dark);
    background: var(--caramel);
    color: var(--cream-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: background .15s, color .15s;
}

.item-add:hover {
    background: var(--caramel-dark);
    color: var(--cream);
}

.item-stepper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border: 1px solid var(--brown-800);
    border-radius: 100px;
    padding: 2px;
}

.item-stepper button {
    width: 28px;
    height: 28px;
    font-size: 1rem;
}

.item-stepper span {
    min-width: 16px;
    text-align: center;
    font-size: .9rem;
}

/* ---------- COMO FUNCIONA ---------- */
.how {
    background: var(--brown-800);
    color: var(--cream);
}

.how .section-head .eyebrow {
    color: var(--blush);
}

.steps {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.step {
    flex: 1 1 200px;
    max-width: 240px;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.6rem;
    color: var(--caramel);
    line-height: 1;
    margin-bottom: 10px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}

.step p {
    font-size: .88rem;
    color: var(--cream);
    opacity: .8;
    line-height: 1.5;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--brown-900);
    color: var(--cream);
    padding: 50px 24px 30px;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-inner h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.footer-inner .value {
    font-size: .9rem;
    opacity: .78;
    line-height: 1.7;
}

.footer-inner .value a {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .15s;
}

.footer-inner .value a:hover {
    opacity: .7;
}

.footer-bottom {
    max-width: 800px;
    margin: 36px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(237, 229, 217, .14);
    font-size: .75rem;
    opacity: .55;
    text-align: center;
    line-height: 1.8;
}

.dev-credit {
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .15s;
}

.dev-credit:hover {
    opacity: .75;
}

/* ---------- FLOATING CART BUTTON ---------- */
.cart-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    background: var(--caramel);
    color: var(--brown-900);
    padding: 14px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(59, 40, 24, .35);
    transition: transform .15s;
}

.cart-fab:hover {
    transform: translateY(-2px);
}

.cart-fab .cart-count {
    background: var(--brown-900);
    color: var(--cream);
}

.cart-fab.hidden {
    display: none;
}

.hidden {
    display: none;
}

/* ---------- DRAWER ---------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(59, 40, 24, .5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 60;
}

.overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(420px, 100%);
    background: var(--cream-2);
    z-index: 70;
    transform: translateX(100%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
}

.drawer.open {
    transform: translateX(0);
}

.drawer-head {
    padding: 22px 24px;
    border-bottom: 1px solid var(--line-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-head h3 {
    font-size: 1.4rem;
}

.drawer-close {
    font-size: 1.3rem;
    line-height: 1;
    padding: 4px;
}

.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.empty-msg {
    color: var(--brown-700);
    font-size: .9rem;
    padding: 30px 0;
    text-align: center;
}

.cart-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
}

.cart-line-photo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--brown-650);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-line-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-line-photo .photo-placeholder {
    font-size: .82rem;
}

.cart-line-info {
    flex: 1;
    min-width: 0;
}

.cart-line-info .name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.05rem;
}

.cart-line-info .unit {
    font-size: .78rem;
    color: var(--brown-700);
}

.cart-line-remove {
    font-size: .75rem;
    color: var(--caramel-dark);
    text-decoration: underline;
    margin-top: 3px;
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--brown-700);
    margin-bottom: 6px;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: var(--cream-2);
    font-family: inherit;
    font-size: .92rem;
    color: var(--brown-900);
}

.field-hint {
    display: block;
    font-size: .74rem;
    color: var(--sage);
    margin-top: 5px;
}

.field textarea {
    resize: vertical;
    min-height: 60px;
}

.field-sub-label {
    margin-top: 12px;
}

.fixed-location {
    padding: 10px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: rgba(59, 40, 24, .05);
    color: var(--brown-700);
    font-size: .9rem;
}

.fulfillment {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.fulfillment button {
    flex: 1;
    border: 1px solid var(--brown-800);
    border-radius: 8px;
    padding: 10px;
    font-size: .85rem;
    transition: background .15s, color .15s;
}

.fulfillment button.active {
    background: var(--brown-800);
    color: var(--cream);
}

#address-field {
    display: none;
}

.pix-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pix-key-row span {
    flex: 1;
    min-width: 0;
    word-break: break-all;
    padding: 10px 12px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: #fff;
    font-size: .88rem;
    color: var(--brown-900);
}

.pix-copy-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--brown-800);
    color: var(--brown-800);
    font-size: .82rem;
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.pix-copy-btn:hover {
    background: var(--brown-800);
    color: var(--cream);
}

.pix-copy-btn.copied {
    background: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

.coupon-input-row {
    display: flex;
    gap: 8px;
}

.coupon-input-row input {
    flex: 1;
    text-transform: uppercase;
}

.coupon-input-row input:disabled {
    background: rgba(140, 163, 122, .14);
    color: var(--brown-800);
    border-color: var(--sage);
}

.coupon-apply-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 8px;
    border: 1px solid var(--brown-800);
    color: var(--brown-800);
    font-size: .82rem;
    white-space: nowrap;
    transition: background .15s, color .15s;
}

.coupon-apply-btn:hover {
    background: var(--brown-800);
    color: var(--cream);
}

#coupon-message {
    color: var(--sage);
}

#coupon-message.coupon-error {
    color: #b3413c;
}

.drawer-footer {
    border-top: 1px solid var(--line-dark);
    padding: 18px 24px 26px;
}

.min-order-note {
    font-size: .78rem;
    color: var(--caramel-dark);
    margin-bottom: 12px;
    text-align: center;
}

.min-order-progress {
    height: 7px;
    border-radius: 100px;
    background: var(--line-dark);
    overflow: hidden;
    margin: -4px 0 14px;
}

.min-order-progress-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--blush), var(--caramel));
    transition: width .35s ease;
}

.cashback-applied-row {
    display: flex;
    justify-content: space-between;
    font-size: .86rem;
    color: var(--sage);
    margin-bottom: 10px;
}

.coupon-applied-row {
    display: flex;
    justify-content: space-between;
    font-size: .86rem;
    color: var(--sage);
    margin-bottom: 10px;
}

.coupon-applied-row.hidden {
    display: none;
}

.shipping-fee-row {
    display: flex;
    justify-content: space-between;
    font-size: .86rem;
    color: var(--brown-700);
    margin-bottom: 10px;
}

.shipping-fee-row.hidden {
    display: none;
}

.subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    margin-bottom: 14px;
}

.subtotal-row strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
}

.whatsapp-btn {
    width: 100%;
    background: var(--caramel);
    color: var(--brown-900);
    padding: 14px;
    border-radius: 100px;
    font-size: .95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .15s;
}

.whatsapp-btn:hover {
    background: #cf9a5f;
}

.whatsapp-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.payment-note {
    font-size: .75rem;
    color: var(--brown-700);
    margin-top: 10px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width:640px) {
    .nav-links {
        display: none;
    }

    .nav-inner {
        padding: 12px 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 24px;
    }

    .chips-bar {
        top: 57px;
    }

    section {
        padding: 40px 16px;
    }

    .profile-body {
        padding: 0 16px 24px;
    }

    .avatar {
        width: 80px;
        height: 80px;
        margin: -40px auto 12px;
    }

    .cover {
        height: 96px;
    }

    .profile-top h1 {
        font-size: 1.6rem;
    }

    .profile-top {
        gap: 8px;
    }

    .tagline {
        font-size: .92rem;
    }

    .info-line {
        gap: 6px;
    }

    .info-chip {
        font-size: .8rem;
        padding: 6px 12px;
    }

    .profile-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta,
    .whatsapp-link {
        text-align: center;
        padding: 12px 20px;
    }

    .item-row {
        gap: 12px;
        padding: 13px;
    }

    .item-photo {
        width: 60px;
        height: 60px;
    }

    .item-name {
        font-size: 1rem;
    }

    .steps {
        gap: 28px;
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 320px;
    }

    .cart-fab {
        right: 14px;
        bottom: 14px;
        left: 14px;
        justify-content: center;
        padding: 14px 16px;
    }

    .drawer {
        width: 100%;
    }

    .drawer-body {
        padding: 16px;
    }

    .drawer-footer {
        padding: 14px 16px 20px;
    }
}

@media (max-width:400px) {
    .profile-top {
        flex-direction: column;
    }

    .info-line {
        flex-direction: column;
        align-items: center;
    }

    .info-chip {
        width: fit-content;
    }

    .item-photo {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    .item-name {
        font-size: .95rem;
    }

    .item-desc {
        font-size: .8rem;
    }
}
