:root {
    --ink: #201f1c;
    --ink-2: #34312c;
    --paper: #f5f1e8;
    --white: #fffdf8;
    --line: #ded7c9;
    --muted: #746f65;
    --orange: #e55d2d;
    --orange-dark: #bb3d16;
    --yellow: #f4c95d;
    --green: #177a54;
    --shadow: 0 24px 60px rgba(35, 28, 19, .12);
    --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 15px/1.5 "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.view { min-height: 100vh; }
.eyebrow { margin: 0 0 8px; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--dark { color: var(--orange-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Fraunces", serif; line-height: 1.04; letter-spacing: -.025em; }

.topline {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: max(20px, calc((100vw - 1180px) / 2));
    background: var(--ink);
    color: #eee8da;
    font-size: 11px;
    letter-spacing: .04em;
}
.topline > span { display: flex; align-items: center; gap: 7px; }
.topline i { width: 6px; height: 6px; border-radius: 50%; background: #50ca8e; box-shadow: 0 0 0 4px rgba(80, 202, 142, .13); }
.topline a { color: #fff; text-decoration: none; font-weight: 700; }
.topline__actions { display: flex; align-items: center; gap: 20px; }
.visitor-location { display: inline-flex; align-items: center; gap: 7px; max-width: 280px; padding: 0; border: 0; background: transparent; color: #eee8da; cursor: pointer; font-size: 11px; }
.visitor-location b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--yellow); font-size: 13px; }
.visitor-location span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.visitor-location:hover span { color: #fff; text-decoration: underline; }
.hero { position: relative; height: clamp(380px, 53vw, 600px); background: #28221c center 43% / cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -4% -35% auto; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23, 20, 16, .93) 0%, rgba(23, 20, 16, .66) 40%, rgba(23, 20, 16, .14) 74%), linear-gradient(0deg, rgba(18,16,13,.6), transparent 45%); }
.hero__content { position: relative; height: 100%; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(55px, 8vw, 92px); color: var(--white); }
.brand-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; font: 800 17px/1 "Fraunces", serif; letter-spacing: -.08em; }
.hero h1 { margin: 0; font-size: clamp(58px, 9vw, 114px); text-transform: uppercase; letter-spacing: -.065em; }
.hero__content > p:last-child { max-width: 520px; margin: 12px 0 0; color: rgba(255,255,255,.82); font-size: clamp(16px, 2vw, 21px); }
.store-strip { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); min-height: 94px; margin-top: -35px; padding: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.store-strip > div { display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 18px 27px; border-right: 1px solid var(--line); }
.store-strip > div:last-child { border: 0; }
.store-strip small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.store-strip strong { font-size: 14px; }
.store-strip__status { flex-direction: row !important; align-items: center; justify-content: flex-start !important; gap: 11px !important; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: #39ad75; box-shadow: 0 0 0 6px rgba(57,173,117,.13); }
.status-dot.is-closed { background: #b04c3b; box-shadow: 0 0 0 6px rgba(176,76,59,.12); }
.menu-shell { padding-top: 72px; padding-bottom: 150px; }
.intro-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.intro-row h2 { margin: 0; max-width: 620px; font-size: clamp(39px, 5vw, 62px); }
.search-box { display: flex; align-items: center; width: 330px; height: 52px; padding: 0 17px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; }
.search-box span { color: var(--orange); font-size: 26px; transform: rotate(-18deg); }
.search-box input { width: 100%; border: 0; outline: 0; padding: 0 10px; background: transparent; color: var(--ink); }
.category-nav { position: sticky; top: 0; z-index: 10; display: flex; gap: 8px; margin: 44px 0 28px; padding: 12px 0; background: rgba(245,241,232,.94); backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; }
.category-nav::-webkit-scrollbar { display: none; }
.category-nav button { flex: 0 0 auto; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; }
.category-nav button:hover, .category-nav button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; display: flex; flex-direction: column; min-height: 460px; background: var(--white); border: 1px solid rgba(202,193,177,.75); border-radius: var(--radius); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(49,39,28,.11); }
.product-card__image { position: relative; height: 235px; background: #ded8cd center / cover no-repeat; overflow: hidden; }
.product-card__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,15,10,.17), transparent 45%); }
.product-card__badge { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 7px 10px; background: var(--orange); color: #fff; border-radius: 7px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.product-card__category { margin: 0 0 7px; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin-bottom: 8px; font-size: 24px; }
.product-card__description { flex: 1; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.price-wrap { display: flex; flex-direction: column; }
.old-price { min-height: 16px; color: #9c978d; font-size: 11px; text-decoration: line-through; }
.price { font: 800 21px/1.2 "Fraunces", serif; }
.add-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; font-size: 24px; transition: background .2s, transform .2s; }
.add-button:hover { background: var(--orange); transform: rotate(8deg) scale(1.04); }
.loading-card { height: 460px; border-radius: var(--radius); background: linear-gradient(90deg, #eee8de 25%, #fbf8f1 50%, #eee8de 75%); background-size: 200% 100%; animation: loading 1.35s infinite; }
@keyframes loading { to { background-position: -200% 0; } }
.empty-state { padding: 70px 20px; text-align: center; color: var(--muted); }
.empty-state span { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; }
.empty-state h3 { margin: 18px 0 6px; color: var(--ink); }
.cart-bar { position: fixed; z-index: 30; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; width: min(560px, calc(100% - 28px)); min-height: 64px; padding: 9px 19px 9px 10px; border: 0; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 18px 40px rgba(165,57,22,.3); cursor: pointer; font-weight: 700; }
.cart-bar__count { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); }
.cart-bar > span:nth-child(2) { text-align: left; }

.flow-view { background: #ebe5da; padding-bottom: 80px; }
.flow-header { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 18px; padding-block: 34px 27px; border-bottom: 1px solid #d6cfc3; }
.flow-header p { margin: 0 0 3px; color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.flow-header h1 { margin: 0; font-size: clamp(31px, 4vw, 48px); }
.back-button { width: 48px; height: 48px; border: 1px solid #ccc4b7; border-radius: 50%; background: transparent; cursor: pointer; font-size: 22px; }
.back-button:hover { background: var(--ink); color: #fff; }
.flow-step { color: rgba(35,31,26,.14); font: 800 64px/1 "Fraunces", serif; }
.flow-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 28px; padding-top: 34px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 105px minmax(0,1fr) auto; gap: 19px; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--white); }
.cart-item__image { width: 105px; height: 105px; border-radius: 11px; object-fit: cover; }
.cart-item h3 { margin: 2px 0 5px; font: 700 18px/1.2 "DM Sans", sans-serif; }
.cart-item__price { color: var(--orange-dark); font-weight: 700; }
.cart-item__notes { display: block; width: 100%; margin-top: 12px; padding: 9px 11px; border: 1px solid #e0d9cd; border-radius: 8px; background: #faf7f1; outline: none; font-size: 12px; }
.cart-item__notes:focus { border-color: var(--orange); }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.quantity button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; }
.quantity strong { width: 25px; text-align: center; font-size: 13px; }
.remove-button { border: 0; background: none; color: #968f83; cursor: pointer; font-size: 11px; text-decoration: underline; }
.text-button { margin-top: 19px; padding: 10px 0; border: 0; background: none; color: var(--orange-dark); cursor: pointer; font-weight: 700; }
.summary-card { position: sticky; top: 22px; padding: 27px; background: var(--ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.summary-card > div { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 12px; color: #d5cec2; }
.summary-card > div strong { color: #fff; }
.summary-card__total { margin-top: 20px !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.17); align-items: baseline; }
.summary-card__total strong { font: 800 28px/1 "Fraunces", serif; }
.summary-card small { display: block; margin-top: 13px; color: #a9a298; text-align: center; font-size: 10px; }
.primary-button, .secondary-button { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 20px; border: 0; border-radius: 8px; cursor: pointer; font-weight: 700; transition: background .2s, transform .2s; }
.primary-button { width: 100%; background: var(--orange); color: #fff; }
.primary-button:hover { background: var(--orange-dark); transform: translateY(-1px); }
.primary-button:disabled { opacity: .55; cursor: wait; transform: none; }
.primary-button--small { width: auto; min-height: 42px; padding-inline: 17px; font-size: 13px; }
.secondary-button { border: 1px solid var(--line); background: var(--white); }
.summary-card .primary-button { margin-top: 24px; }
.form-card { padding: clamp(24px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.form-section-title { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 26px; }
.form-section-title--spaced { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.form-section-title > span { display: grid; flex: 0 0 auto; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--orange); color: #fff; font-size: 11px; font-weight: 700; }
.form-section-title h2 { margin: 0 0 3px; font-size: 26px; }
.form-section-title p { margin: 0; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #524d45; font-size: 12px; font-weight: 700; }
.field em { color: #9c9589; font-size: 10px; font-style: normal; font-weight: 500; }
.field--wide { grid-column: 1 / -1; }
.field input, .field textarea, .field select, .admin-filter-row input { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #d8d0c4; border-radius: 8px; background: #fbf8f2; color: var(--ink); outline: none; font-weight: 500; }
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(229,93,45,.1); }
.field input.is-invalid { border-color: #b83d2c; background: #fff7f5; }
.secure-note { align-items: flex-start; justify-content: flex-start !important; margin-top: 20px; padding: 13px; background: rgba(255,255,255,.06); border-radius: 9px; font-size: 11px; }
.secure-note span { color: #62d49e; }
.secure-note p { margin: 0; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(24,21,17,.72); backdrop-filter: blur(8px); }
.modal__card { position: relative; z-index: 1; width: min(490px, 100%); padding: clamp(28px, 5vw, 45px); border-radius: 20px; background: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.modal__card--wide { width: min(720px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; }
.modal__card h2 { margin-bottom: 13px; font-size: 34px; }
.modal__card > p:not(.eyebrow) { color: var(--muted); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #efe9df; cursor: pointer; font-size: 23px; }
.modal__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 23px; border-radius: 50%; background: #fff0e8; color: var(--orange); font-size: 30px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.modal-actions .primary-button, .modal-actions .secondary-button { width: auto; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; padding-top: 34px; align-items: start; }
.pix-card { padding: clamp(25px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pix-card__head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.pix-card__head h2 { margin: 0; font-size: 34px; }
.pix-logo { padding: 8px 12px; border: 1px solid #58bca7; border-radius: 7px; color: #168c76; font-weight: 800; letter-spacing: .12em; }
.pix-content { display: grid; grid-template-columns: 300px 1fr; gap: 35px; align-items: center; padding-top: 30px; }
.qr-frame { padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 15px 30px rgba(32,31,28,.08); }
.qr-frame img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pix-instructions ol { margin: 0 0 24px; padding-left: 20px; color: var(--muted); }
.pix-instructions li { margin: 8px 0; }
.pix-instructions label { display: block; color: #5a554c; font-size: 11px; font-weight: 700; }
.pix-instructions textarea { display: block; width: 100%; height: 75px; margin: 7px 0 10px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #f6f2eb; resize: none; font: 10px/1.35 monospace; }
.payment-status-card { padding: 29px 23px; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: center; }
.payment-status-card p { margin: 16px 0 4px; color: #d2cbc0; font-size: 12px; }
.payment-status-card strong { display: block; font: 800 31px/1.2 "Fraunces", serif; }
.payment-status-card small { display: block; margin-top: 10px; color: #999288; font-size: 10px; }
.pulse { display: block; width: 15px; height: 15px; margin: 0 auto; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(244,201,93,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 13px rgba(244,201,93,0); } 100% { box-shadow: 0 0 0 0 rgba(244,201,93,0); } }
.demo-button { width: 100%; margin-top: 20px; padding: 10px; border: 1px dashed rgba(255,255,255,.35); border-radius: 7px; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; font-size: 11px; }
.success-view { display: grid; place-items: center; min-height: 100vh; padding: 35px 20px; background: radial-gradient(circle at 50% 20%, #fffaf0, #ece4d7 68%); }
.success-card { width: min(600px, 100%); text-align: center; }
.success-mark { display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 27px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 11px rgba(23,122,84,.1); font-size: 34px; }
.success-card h1 { margin-bottom: 19px; font-size: clamp(48px, 8vw, 76px); }
.success-card > p:not(.eyebrow) { max-width: 500px; margin-inline: auto; color: var(--muted); }
.eta-card { display: flex; justify-content: space-between; align-items: center; margin: 31px 0 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); text-align: left; }
.eta-card span { color: var(--muted); font-size: 12px; }
.eta-card strong { font: 800 25px/1 "Fraunces", serif; }
.success-card .primary-button { width: auto; margin: auto; }
.toast { position: fixed; z-index: 300; top: 18px; left: 50%; transform: translate(-50%, -130%); width: min(460px, calc(100% - 30px)); padding: 13px 17px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow); text-align: center; font-size: 13px; font-weight: 600; opacity: 0; transition: .28s ease; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { background: #a83d2b; }

/* Admin */
.admin-body { min-height: 100vh; background: #ebe6dc; }
.login-page { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 100vh; }
.login-visual { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(30px, 6vw, 75px); color: #fff; background: linear-gradient(0deg, rgba(21,18,15,.76), rgba(21,18,15,.35)), url("images/hero-burger.jpg") center/cover; }
.admin-brand { display: flex; align-items: center; gap: 12px; color: inherit; font-weight: 800; letter-spacing: .08em; text-decoration: none; }
.admin-brand > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid currentColor; border-radius: 50%; font: 800 13px/1 "Fraunces", serif; }
.login-visual h1 { margin: 0 0 18px; font-size: clamp(55px, 7vw, 90px); }
.login-visual > div > p:last-child { max-width: 450px; color: rgba(255,255,255,.75); font-size: 17px; }
.login-panel { display: grid; place-items: center; padding: 30px; background: var(--paper); }
.login-form { width: min(410px, 100%); }
.login-form h2 { margin-bottom: 10px; font-size: 40px; }
.login-form > p:not(.eyebrow) { margin-bottom: 27px; color: var(--muted); }
.login-form .field { margin-bottom: 14px; }
.login-form > a { display: block; margin-top: 23px; color: var(--muted); text-align: center; font-size: 12px; }
.admin-app { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 248px; padding: 28px 20px; background: var(--ink); color: #fff; }
.admin-sidebar .admin-brand { padding: 0 10px 27px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-sidebar nav { display: grid; gap: 6px; margin-top: 28px; }
.admin-nav__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 13px; border: 0; border-radius: 8px; background: transparent; color: #aaa49a; cursor: pointer; text-align: left; font-size: 13px; }
.admin-nav__item span { width: 20px; text-align: center; }
.admin-nav__item:hover, .admin-nav__item.is-active { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav__item.is-active::after { content: ""; width: 5px; height: 5px; margin-left: auto; border-radius: 50%; background: var(--orange); }
.admin-sidebar__footer { display: grid; gap: 10px; margin-top: auto; padding: 22px 10px 0; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar__footer a, .admin-sidebar__footer button { padding: 0; border: 0; background: none; color: #aaa49a; cursor: pointer; text-align: left; text-decoration: none; font-size: 12px; }
.admin-main { min-height: 100vh; margin-left: 248px; padding: 0 clamp(24px, 4vw, 58px) 60px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 120px; border-bottom: 1px solid #d3ccbf; }
.admin-topbar p { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.admin-topbar h1 { margin: 0; font-size: 38px; }
.admin-loading { padding: 70px 0; color: var(--muted); text-align: center; }
.admin-panel { padding-top: 30px; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.metric-card { display: flex; flex-direction: column; min-height: 170px; padding: 25px; border: 1px solid #d7d0c4; border-radius: 14px; background: var(--white); }
.metric-card--accent { background: var(--orange); color: #fff; border-color: var(--orange); }
.metric-card > span { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.metric-card--accent > span, .metric-card--accent small { color: rgba(255,255,255,.75); }
.metric-card strong { margin-top: auto; font: 800 48px/1 "Fraunces", serif; }
.metric-card small { margin-top: 5px; color: var(--muted); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 17px; }
.dashboard-card, .admin-form-card { padding: 27px; border: 1px solid #d7d0c4; border-radius: 14px; background: var(--white); }
.dashboard-card__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.dashboard-card__head h2 { margin: 0; font-size: 27px; }
.quick-actions { display: grid; }
.quick-actions button, .quick-actions a { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 12px; padding: 15px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; text-decoration: none; }
.quick-actions > *:last-child { border-bottom: 0; }
.quick-actions > * > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: #f3ede4; color: var(--orange-dark); font-size: 18px; }
.quick-actions strong { display: block; font-size: 13px; }
.quick-actions small { color: var(--muted); }
.quick-actions b { color: var(--orange); }
.recent-orders { display: grid; gap: 12px; }
.recent-order { display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.recent-order:last-child { border: 0; padding: 0; }
.recent-order strong { font-size: 12px; }
.recent-order span { color: var(--muted); font-size: 11px; }
.recent-order b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--orange-dark); }
.admin-form-card { max-width: 900px; }
.switch-field { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.switch-field > input { position: absolute; opacity: 0; pointer-events: none; }
.switch-field > span { position: relative; flex: 0 0 auto; width: 43px; height: 24px; border-radius: 999px; background: #c8c1b6; cursor: pointer; transition: .2s; }
.switch-field > span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.switch-field > input:checked + span { background: var(--green); }
.switch-field > input:checked + span::after { transform: translateX(19px); }
.switch-field strong, .switch-field small { display: block; }
.switch-field small { color: var(--muted); font-weight: 400; }
.admin-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.admin-filter-row input { width: min(360px, 100%); min-height: 42px; }
.admin-filter-row span { color: var(--muted); font-size: 11px; }
.admin-product-list { display: grid; }
.admin-product { display: grid; grid-template-columns: 68px minmax(0, 1fr) 120px 80px 98px; align-items: center; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.admin-product img { width: 68px; height: 60px; border-radius: 8px; object-fit: cover; }
.admin-product h3 { margin: 0 0 4px; font: 700 13px/1.2 "DM Sans", sans-serif; }
.admin-product p { margin: 0; color: var(--muted); font-size: 10px; }
.admin-product__price { font-weight: 700; }
.status-pill { display: inline-flex; justify-content: center; padding: 5px 8px; border-radius: 999px; background: #e7f4ed; color: #247151; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.status-pill.is-off { background: #ece9e4; color: #847f76; }
.admin-product__actions { display: flex; gap: 5px; }
.admin-product__actions button { padding: 7px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; font-size: 10px; }
.admin-orders-table { overflow-x: auto; }
.orders-row { display: grid; grid-template-columns: 110px 1fr 120px 130px 100px; gap: 14px; min-width: 700px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 12px; }
.orders-row--head { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.orders-row strong { font-size: 11px; }

@media (max-width: 980px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .flow-layout { grid-template-columns: 1fr 320px; }
    .pix-content { grid-template-columns: 240px 1fr; }
    .admin-sidebar { width: 205px; }
    .admin-main { margin-left: 205px; }
    .admin-brand b { font-size: 11px; }
    .admin-two-col { grid-template-columns: 1fr; }
    .admin-product { grid-template-columns: 58px minmax(0,1fr) 90px 90px; }
    .admin-product__status { display: none; }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 28px, 600px); }
    .topline { padding-inline: 14px; }
    .topline a { display: none; }
    .topline > span { display: none; }
    .topline__actions { width: 100%; justify-content: center; }
    .visitor-location { max-width: calc(100vw - 35px); }
    .hero { height: 420px; }
    .hero__scrim { background: linear-gradient(0deg, rgba(21,18,14,.92), rgba(21,18,14,.15) 80%); }
    .hero__content { padding-bottom: 70px; }
    .hero h1 { font-size: 58px; }
    .store-strip { grid-template-columns: repeat(3, 1fr); margin-top: -45px; min-height: 100px; }
    .store-strip__status { grid-column: 1 / -1; min-height: 47px; padding-block: 9px !important; border-right: 0 !important; border-bottom: 1px solid var(--line); }
    .store-strip > div { padding: 13px 10px; text-align: center; }
    .store-strip strong { font-size: 12px; }
    .menu-shell { padding-top: 52px; }
    .intro-row { display: block; }
    .intro-row h2 { font-size: 42px; }
    .search-box { width: 100%; margin-top: 24px; }
    .category-nav { margin-top: 26px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 0; display: grid; grid-template-columns: 125px 1fr; }
    .product-card__image { height: 100%; min-height: 190px; }
    .product-card__badge { font-size: 8px; left: 8px; top: 8px; }
    .product-card__body { padding: 16px; }
    .product-card h3 { font-size: 20px; }
    .product-card__description { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 3; -webkit-box-orient: vertical; font-size: 11px; }
    .flow-header { grid-template-columns: 48px 1fr; padding-top: 24px; }
    .flow-step { display: none; }
    .flow-layout, .payment-layout { grid-template-columns: 1fr; padding-top: 20px; }
    .summary-card { position: static; }
    .cart-item { grid-template-columns: 74px minmax(0,1fr); gap: 12px; }
    .cart-item__image { width: 74px; height: 74px; }
    .cart-item__side { grid-column: 1 / -1; flex-direction: row-reverse; align-items: center; }
    .form-grid { grid-template-columns: 1fr; }
    .field--wide { grid-column: auto; }
    .pix-content { grid-template-columns: 1fr; }
    .qr-frame { width: min(290px, 100%); margin: auto; }
    .login-page { grid-template-columns: 1fr; }
    .login-visual { min-height: 42vh; }
    .login-visual h1 { font-size: 52px; }
    .admin-sidebar { position: static; width: 100%; padding: 13px 14px; flex-direction: row; align-items: center; overflow-x: auto; }
    .admin-sidebar .admin-brand { padding: 0 12px 0 0; border: 0; }
    .admin-sidebar .admin-brand b { display: none; }
    .admin-sidebar .admin-brand > span { width: 36px; height: 36px; }
    .admin-sidebar nav { display: flex; margin: 0; }
    .admin-nav__item { white-space: nowrap; padding: 9px 11px; }
    .admin-nav__item span { display: none; }
    .admin-sidebar__footer { display: none; }
    .admin-main { margin: 0; padding: 0 14px 40px; }
    .admin-topbar { min-height: 94px; }
    .admin-topbar h1 { font-size: 29px; }
    .admin-topbar .primary-button { display: none; }
    .metric-grid { grid-template-columns: 1fr; }
    .metric-card { min-height: 125px; }
    .admin-two-col { grid-template-columns: 1fr; }
    .dashboard-card, .admin-form-card { padding: 19px; }
    .admin-product { grid-template-columns: 54px minmax(0,1fr) auto; gap: 10px; }
    .admin-product img { width: 54px; height: 54px; }
    .admin-product__price { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
