:root {
  --color-brand: #7c2635;
  --color-brand-strong: #5f1d29;
  --color-accent: #d66832;
  --color-surface: #fffdf9;
  --color-surface-warm: #f6efe4;
  --color-surface-raised: #ffffff;
  --color-text: #241f1b;
  --color-text-muted: #6e665e;
  --color-border: #dfd6ca;
  --color-success: #315a38;
  --color-warning: #99621f;
  --color-danger: #a13d34;
  --color-whatsapp: #237a48;
  --font-display: Georgia, "Times New Roman", serif;
  --font-interface: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-subtle: 0 1px 2px rgba(48, 32, 22, .06);
  --shadow-elevated: 0 18px 48px rgba(48, 32, 22, .16);
  --motion-fast: 120ms ease;
  --motion-normal: 200ms ease;
  --motion-emphasis: 420ms cubic-bezier(.2, .8, .2, 1);
  --focus-ring: 0 0 0 3px rgba(124, 38, 53, .24);
  --content-wide: 1200px;
  --content-narrow: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--color-surface); color: var(--color-text); font: 15px/1.55 var(--font-interface); -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
.hidden { display: none !important; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.site-header { position: sticky; top: 0; z-index: 40; min-height: 76px; padding: var(--space-2) max(24px, calc((100vw - var(--content-wide)) / 2)); display: flex; align-items: center; gap: var(--space-6); background: rgba(255, 253, 249, .96); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(14px); }
.operational-banner { padding: var(--space-3) max(24px, calc((100vw - var(--content-wide)) / 2)); background: #efe2c4; color: #5f4215; border-bottom: 1px solid #ddc99e; }
.operational-banner > div { display: flex; align-items: baseline; justify-content: center; gap: var(--space-2); text-align: center; }
.operational-banner strong { font-size: 12px; }
.operational-banner span { font-size: 11px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo-surface { padding: 4px 8px; border-radius: var(--radius-sm); background: #fff8ed; }
.brand-logo-surface img { width: 190px; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.desktop-nav a { color: var(--color-text-muted); font-size: 13px; font-weight: 650; }
.desktop-nav a:hover { color: var(--color-brand); }
.global-address { max-width: 270px; min-width: 220px; padding: var(--space-2) var(--space-3); display: grid; grid-template-columns: 22px minmax(0, 1fr) 18px; align-items: center; gap: var(--space-2); border: 1px solid transparent; border-radius: var(--radius-md); background: var(--color-surface-warm); text-align: left; }
.global-address:hover { border-color: var(--color-border); }
.global-address > span { min-width: 0; }
.global-address small, .global-address b, .global-address em { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.global-address small { color: var(--color-text-muted); font-size: 10px; line-height: 1.2; }
.global-address b { font-size: 12px; line-height: 1.35; }
.global-address em { margin-top: 1px; color: var(--color-success); font-size: 10px; font-style: normal; }
.cart-trigger { min-height: 44px; padding: 0 var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); border: 0; border-radius: var(--radius-md); background: var(--color-brand); color: #fff; }
.cart-trigger:hover { background: var(--color-brand-strong); }
.cart-trigger b { font-size: 12px; }
.cart-trigger i { min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: var(--radius-pill); background: #fff; color: var(--color-brand); font-size: 10px; font-style: normal; font-weight: 800; }

.hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(520px, 1.12fr); background: var(--color-surface-warm); overflow: hidden; }
.hero-copy { align-self: center; padding: var(--space-8) clamp(32px, 6vw, 88px) var(--space-8) max(24px, calc((100vw - var(--content-wide)) / 2)); }
.hero h1 { max-width: 650px; margin: 0; font: 500 clamp(46px, 5.6vw, 78px)/.98 var(--font-display); letter-spacing: -.045em; }
.hero h1 em { color: var(--color-brand); font-weight: 500; }
.hero-copy > p { max-width: 520px; margin: var(--space-5) 0 0; color: var(--color-text-muted); font-size: 18px; }
.hero-actions { margin-top: var(--space-6); display: flex; gap: var(--space-3); }
.hero-image { min-height: 650px; background: url('/images/hero-donna-miss.jpg') center/cover no-repeat; }
.btn { min-height: 46px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 1px solid transparent; border-radius: var(--radius-sm); background: transparent; font-size: 13px; font-weight: 750; line-height: 1.2; transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast), transform var(--motion-fast); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--color-brand); color: #fff; }
.btn.primary:hover { background: var(--color-brand-strong); }
.btn.secondary, .btn.outline { border-color: var(--color-border); background: var(--color-surface-raised); color: var(--color-brand); }
.btn.secondary:hover, .btn.outline:hover { border-color: var(--color-brand); }
.btn.tertiary { color: var(--color-brand); }
.btn.destructive { color: var(--color-danger); border-color: rgba(161, 61, 52, .35); }
.btn.wide { width: 100%; }
.whatsapp-button { border-color: transparent; background: var(--color-whatsapp); color: #fff; }
.whatsapp-button:hover { background: #1b633a; }
.text-link, .text-action, .manual-link, .back-link { border: 0; background: transparent; color: var(--color-brand); font-size: 13px; font-weight: 700; }
.back-link { padding: var(--space-2) 0; display: inline-flex; align-items: center; gap: var(--space-1); }

.section { width: min(100%, var(--content-wide)); margin: 0 auto; padding: var(--space-8) var(--space-5); }
.section-head { margin-bottom: var(--space-5); display: flex; align-items: end; justify-content: space-between; gap: var(--space-4); }
.section-head h2, .burger-feature h2 { margin: 0; font: 500 clamp(30px, 3.4vw, 44px)/1.08 var(--font-display); letter-spacing: -.025em; }
.section-head > a { color: var(--color-brand); font-size: 13px; font-weight: 700; }
.subsection-title { margin: 0 0 var(--space-3); font: 600 20px/1.2 var(--font-display); }
.kicker, .product-body > small { color: var(--color-accent); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.burger-feature { width: min(calc(100% - 48px), var(--content-wide)); margin: var(--space-8) auto 0; display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; border-radius: var(--radius-lg); background: #20372a; color: #fff; }
.burger-feature-copy { align-self: center; padding: clamp(32px, 6vw, 72px); }
.burger-feature-copy p { max-width: 470px; margin: var(--space-4) 0 0; color: #d7ded8; }
.burger-actions { margin-top: var(--space-5); }
.burger-actions .secondary { border-color: rgba(255,255,255,.25); background: transparent; color: #fff; }
.burger-feature-photo { min-height: 460px; background: url('/images/burger-real-hero.jpg') 68% center/cover no-repeat; }
.recurring-home { padding-bottom: 0; }
.recurring-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-5); }
.reorder-card { padding: var(--space-5); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: var(--space-2); border-radius: var(--radius-md); background: var(--color-success); color: #fff; }
.reorder-card h3, .reorder-card p { grid-column: 1/-1; }
.reorder-card h3 { margin: 0; font: 600 24px/1.2 var(--font-display); }
.reorder-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 12px; }
.reorder-card strong { font: 600 19px var(--font-display); }
.favorite-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.favorite-mini-grid > button { min-width: 0; padding: var(--space-2); display: flex; align-items: center; gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); text-align: left; }
.favorite-mini-grid .mini-photo { width: 54px; height: 54px; flex: 0 0 auto; border-radius: var(--radius-sm); }
.favorite-mini-grid b, .favorite-mini-grid small { display: block; }
.favorite-mini-grid b { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.favorite-mini-grid small { margin-top: 2px; color: var(--color-brand); font-size: 10px; }
.empty-copy { color: var(--color-text-muted); font-size: 13px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.product-card { position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); box-shadow: var(--shadow-subtle); transition: border-color var(--motion-normal), box-shadow var(--motion-normal), transform var(--motion-normal); }
.product-card:hover { border-color: #cbbdaf; box-shadow: 0 10px 28px rgba(48, 32, 22, .1); transform: translateY(-2px); }
.product-card.in-cart { border-color: rgba(49, 90, 56, .6); }
.product-card.sold-out { opacity: .72; }
.product-card.sold-out .product-photo { filter: saturate(.55); }
.availability-label { position: absolute; top: var(--space-2); left: var(--space-2); z-index: 2; padding: 5px 8px; border-radius: 999px; background: #efe2c4; color: #5f4215; font-size: 9px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.product-add:disabled, .btn:disabled, .item-controls button:disabled { cursor: not-allowed; opacity: .55; }
.product-photo, .modal-photo, .mini-photo { border: 0; background-image: url('/images/cardapio-principais.jpg'); background-position: center; background-size: cover; background-repeat: no-repeat; }
.product-photo { width: 100%; aspect-ratio: 1.42; }
.product-body { flex: 1; padding: var(--space-4); display: flex; flex-direction: column; }
.product-body h3 { margin: var(--space-1) 0 var(--space-2); font: 600 20px/1.2 var(--font-display); }
.product-body p { min-height: 44px; margin: 0 0 var(--space-4); display: -webkit-box; overflow: hidden; color: var(--color-text-muted); font-size: 12px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.product-bottom > strong, .modal-price, .summary-lines .total b, .order-price { color: var(--color-brand); font: 700 19px/1.2 var(--font-display); }
.product-add, .product-edit-control { min-height: 38px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); color: var(--color-brand); font-size: 11px; font-weight: 750; }
.product-add:hover, .product-edit-control:hover { border-color: var(--color-brand); }
.product-edit-control small, .product-edit-control b { display: block; }
.product-edit-control small { font-size: 9px; font-weight: 500; }
.product-stepper { height: 38px; display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); }
.product-stepper button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--color-brand); }
.product-stepper output { min-width: 24px; text-align: center; font-size: 12px; font-weight: 800; }
.favorite-btn { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 3; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 1px solid rgba(36,31,27,.1); border-radius: var(--radius-pill); background: rgba(255,253,249,.94); color: var(--color-brand); box-shadow: var(--shadow-subtle); }
.favorite-btn.active .icon, .modal-favorite.active .icon { fill: currentColor; }
.product-card.cart-bump { animation: product-bump var(--motion-emphasis); }
@keyframes product-bump { 50% { transform: scale(1.012); border-color: var(--color-success); } }

.page-hero { padding: var(--space-7) var(--space-5) var(--space-6); text-align: center; background: var(--color-surface-warm); }
.page-hero h1, .checkout-head h1, .confirmation h1, .account-head h1, .payment-card h1, .admin-main h1 { margin: 0; font: 500 clamp(38px, 5vw, 58px)/1 var(--font-display); letter-spacing: -.035em; }
.page-hero p, .checkout-head p, .account-head p, .admin-main > header p { margin: var(--space-3) 0 0; color: var(--color-text-muted); }
.menu-toolbar { position: sticky; top: 76px; z-index: 20; padding: var(--space-3) max(24px, calc((100vw - var(--content-wide)) / 2)); display: flex; align-items: center; gap: var(--space-3); border-bottom: 1px solid var(--color-border); background: rgba(255,253,249,.96); backdrop-filter: blur(14px); }
.search { width: min(330px, 100%); min-height: 44px; padding: 0 var(--space-3); display: flex; align-items: center; gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); color: var(--color-text-muted); }
.search:focus-within { border-color: var(--color-brand); box-shadow: var(--focus-ring); }
.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--color-text); }
.category-list, .admin-tabs { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; }
.category-list::-webkit-scrollbar, .admin-tabs::-webkit-scrollbar { display: none; }
.category-list button, .admin-tabs button { min-height: 38px; padding: 0 var(--space-3); flex: 0 0 auto; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); font-size: 11px; font-weight: 700; }
.category-list button.active, .admin-tabs button.active { border-color: var(--color-brand); background: var(--color-brand); color: #fff; }
.menu-content { padding-top: var(--space-6); }
.menu-result-head { margin-bottom: var(--space-4); display: flex; align-items: baseline; justify-content: space-between; }
.menu-result-head strong { font-size: 17px; }
.menu-result-head span { color: var(--color-text-muted); font-size: 12px; }
.empty-state, .cart-empty, .empty-account { padding: var(--space-8) var(--space-5); text-align: center; }
.empty-state h3, .cart-empty h3, .empty-account h2 { margin: 0; font: 600 25px/1.2 var(--font-display); }
.empty-state p, .cart-empty p, .empty-account p { margin: var(--space-2) 0 var(--space-5); color: var(--color-text-muted); font-size: 13px; }

.narrow { width: min(100%, var(--content-narrow)); }
.checkout-v2 { padding-top: var(--space-6); }
.checkout-head { margin: var(--space-4) 0 var(--space-6); }
.checkout-head h1 { font-size: clamp(40px, 5vw, 54px); }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .72fr); gap: var(--space-5); align-items: start; }
.form-panel { display: grid; gap: var(--space-4); }
.form-panel fieldset { min-width: 0; margin: 0; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.form-panel legend, .order-summary h2 { padding: 0 var(--space-2); font: 600 23px/1.2 var(--font-display); }
.choice-row, .payment-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.choice, .payment-list label { position: relative; cursor: pointer; }
.choice input, .payment-list input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice > span, .payment-list label > span { min-height: 76px; padding: var(--space-3); display: grid; grid-template-columns: 24px 1fr; align-content: center; column-gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface); }
.choice b, .payment-list b { font-size: 13px; }
.choice small, .payment-list small { grid-column: 2; color: var(--color-text-muted); font-size: 10px; }
.choice input:checked + span, .payment-list input:checked + span { border-color: var(--color-brand); background: rgba(124,38,53,.035); box-shadow: inset 0 0 0 1px var(--color-brand); color: var(--color-brand); }
.choice input:focus-visible + span, .payment-list input:focus-visible + span { box-shadow: var(--focus-ring); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field-grid .full { grid-column: 1/-1; }
.field-grid label, .modal-item-note label, .optional-note label, .checkout-notes label { color: var(--color-text-muted); font-size: 11px; font-weight: 700; }
.field-grid input, .field-grid select, textarea { width: 100%; margin-top: var(--space-1); padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); outline: 0; background: var(--color-surface-raised); color: var(--color-text); }
.field-grid input, .field-grid select { min-height: 46px; }
textarea { min-height: 72px; padding-top: var(--space-2); resize: vertical; }
.field-grid input:focus, .field-grid select:focus, textarea:focus { border-color: var(--color-brand); box-shadow: var(--focus-ring); }
.address-experience { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }
.location-start, .confirmed-address, .pickup-card, .known-customer { padding: var(--space-4); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-warm); }
.location-start > div, .confirmed-address { display: flex; align-items: center; }
.location-start > div { gap: var(--space-2); }
.location-start b, .location-start small, .confirmed-address small, .confirmed-address strong, .confirmed-address span, .pickup-card b, .pickup-card span, .pickup-card small, .known-customer small, .known-customer b, .known-customer span { display: block; }
.location-start small, .confirmed-address span, .pickup-card span, .pickup-card small, .known-customer span { color: var(--color-text-muted); font-size: 11px; }
.confirmed-address { display: grid; grid-template-columns: 22px 1fr auto; }
.confirmed-address button, .known-customer button { border: 0; background: transparent; color: var(--color-brand); font-size: 12px; font-weight: 750; }
.customer-edit-actions { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.customer-edit-actions .btn { flex: 1 1 140px; }
.pickup-card { justify-content: flex-start; margin-top: var(--space-3); }
.delivery-result { margin-top: var(--space-3); padding: var(--space-3); display: flex; align-items: flex-start; gap: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.delivery-result > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: var(--radius-pill); }
.delivery-result b, .delivery-result small { display: block; }
.delivery-result small { margin-top: 2px; color: var(--color-text-muted); font-size: 11px; }
.delivery-result.available { border-color: rgba(49,90,56,.25); background: rgba(49,90,56,.06); }
.delivery-result.available > span { background: var(--color-success); color: #fff; }
.delivery-result.loading { background: var(--color-surface-warm); }
.delivery-result.error, .delivery-result.unavailable { border-color: rgba(153,98,31,.28); background: rgba(153,98,31,.06); }
.delivery-result-actions { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.delivery-result-actions button { padding: 0; border: 0; background: transparent; color: var(--color-brand); font-size: 11px; font-weight: 750; }
.mini-loader { width: 18px; height: 18px; display: inline-block; border: 2px solid var(--color-border); border-top-color: var(--color-brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
.location-status, .checkout-feedback { margin-top: var(--space-3); color: var(--color-text-muted); font-size: 12px; }
.checkout-feedback { padding: var(--space-3); border-radius: var(--radius-sm); background: #f5ead2; color: #624816; }
.location-status.error, .checkout-feedback.error { color: var(--color-danger); }
.payment-explainer, .secure { color: var(--color-text-muted); font-size: 11px; }
.payment-explainer { margin: var(--space-3) 0 0; }
.order-summary { position: sticky; top: 100px; padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-warm); }
.order-summary h2 { margin: 0 0 var(--space-4); padding: 0; }
.checkout-order-link { width: 100%; padding: var(--space-3) 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); border: 0; border-block: 1px solid var(--color-border); background: transparent; text-align: left; }
.checkout-order-link b, .checkout-order-link small { display: block; }
.checkout-order-link small { max-width: 190px; overflow: hidden; color: var(--color-text-muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.checkout-order-link strong { display: inline-flex; align-items: center; color: var(--color-brand); font-size: 11px; }
.checkout-notes { border-bottom: 1px solid var(--color-border); }
.checkout-notes > button, .optional-note > button { width: 100%; padding: var(--space-3) 0; border: 0; background: transparent; color: var(--color-brand); text-align: left; font-size: 11px; font-weight: 750; }
.checkout-notes textarea { margin-bottom: var(--space-3); }
.summary-lines { padding: var(--space-3) 0; }
.summary-lines p { margin: var(--space-2) 0; display: flex; justify-content: space-between; gap: var(--space-3); font-size: 12px; }
.summary-lines .total { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); font-size: 17px; font-weight: 750; }
.secure { display: block; margin-top: var(--space-3); text-align: center; }

.payment-stage { min-height: calc(100vh - 76px); padding-top: var(--space-6); }
.payment-card { width: min(100%, 560px); margin: var(--space-5) auto 0; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-raised); text-align: center; box-shadow: var(--shadow-subtle); }
.handoff-logo { width: max-content; margin: 0 auto var(--space-6); padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm); background: #fff8ed; }
.handoff-logo img { width: 180px; height: auto; }
.payment-card h1 { font-size: clamp(34px, 5vw, 48px); }
.handoff-intro { margin: var(--space-3) 0 var(--space-4); color: var(--color-text-muted); }
.handoff-order { margin: 0 0 var(--space-4); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); text-align: left; }
.handoff-order > div:first-child { padding-bottom: var(--space-3); display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid var(--color-border); }
.handoff-order small { color: var(--color-text-muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.handoff-order strong { color: var(--color-brand); font: 700 22px var(--font-display); }
.handoff-order-summary { padding-top: var(--space-3); display: grid; gap: var(--space-2); }
.handoff-order-summary p { margin: 0; display: flex; justify-content: space-between; gap: var(--space-3); font-size: 12px; }
.handoff-order-summary p span { color: var(--color-text-muted); }
.handoff-order-summary p b { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.handoff-order-summary .handoff-total { padding-top: var(--space-2); border-top: 1px solid var(--color-border); font-size: 15px; }
.whatsapp-steps { margin: var(--space-4) 0 var(--space-5); padding: var(--space-4) var(--space-4) var(--space-4) 38px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-warm); color: var(--color-text-muted); text-align: left; font-size: 12px; line-height: 1.5; }
.whatsapp-steps li + li { margin-top: var(--space-2); }
.handoff-fallback { margin-top: var(--space-5); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2); color: var(--color-text-muted); font-size: 11px; }
.handoff-fallback button { padding: 0; border: 0; background: transparent; color: var(--color-brand); font-weight: 750; }
.handoff-fallback b { width: 100%; }
.confirmation { width: min(100%, 680px); min-height: 70vh; margin: 0 auto; padding: var(--space-9) var(--space-5); text-align: center; }
.success-mark { width: 72px; height: 72px; margin: 0 auto var(--space-5); display: grid; place-items: center; border-radius: 50%; background: var(--color-success); color: #fff; box-shadow: 0 0 0 9px rgba(49,90,56,.09); }
.success-mark .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.confirmation > p { margin: var(--space-3) auto var(--space-6); color: var(--color-text-muted); }
.confirmation-card { padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); text-align: left; }
.confirmation-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-3); }
.confirmation-order-head small, .confirmation-order-head strong { display: block; }
.confirmation-order-head strong { color: var(--color-brand); font: 700 24px var(--font-display); }
.status-pill { width: max-content; padding: 5px 9px; display: inline-flex; align-items: center; border-radius: var(--radius-pill); background: rgba(49,90,56,.09); color: var(--color-success); font-size: 10px; font-weight: 750; }
.confirmation-meta { margin-top: var(--space-4); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.confirmation-meta > div { min-width: 0; padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.confirmation-meta small, .confirmation-meta b, .confirmation-meta span { display: block; }
.confirmation-meta small, .confirmation-meta span { color: var(--color-text-muted); font-size: 10px; }
.confirmation-meta b { margin-top: 2px; font-size: 12px; }
.confirmation-actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.confirmation-actions .confirmation-retry { width: 100%; margin: 0 0 var(--space-2); color: var(--color-text-muted); font-size: 12px; }
.confirmation-actions .text-action { width: 100%; padding: var(--space-2); }

.account-view { width: min(100%, 900px); min-height: 70vh; }
.account-head { margin-bottom: var(--space-6); }
.account-head .back-link { margin-bottom: var(--space-4); }
.profile-content { width: min(100%, 640px); }
.profile-identity { padding: var(--space-4); display: flex; align-items: center; gap: var(--space-3); border-radius: var(--radius-md); background: var(--color-surface-warm); }
.profile-identity > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--color-brand); color: #fff; font: 600 22px var(--font-display); }
.profile-identity h2 { margin: 0; font: 600 21px var(--font-display); }
.profile-identity p { margin: 2px 0 0; color: var(--color-text-muted); font-size: 11px; }
.profile-links { margin-top: var(--space-3); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.profile-links button { width: 100%; min-height: 68px; padding: var(--space-3) var(--space-4); display: grid; grid-template-columns: 24px 1fr 18px; align-items: center; gap: var(--space-3); border: 0; border-bottom: 1px solid var(--color-border); background: transparent; text-align: left; }
.profile-links button:last-child { border-bottom: 0; }
.profile-links b, .profile-links small { display: block; }
.profile-links b { font-size: 13px; }
.profile-links small { margin-top: 2px; color: var(--color-text-muted); font-size: 10px; }
.privacy-note { display: block; margin-top: var(--space-3); color: var(--color-text-muted); font-size: 10px; text-align: center; }
.customer-orders { display: grid; gap: var(--space-3); }
.customer-order { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.customer-order header, .customer-order > div { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); }
.customer-order header small, .customer-order header b { display: block; }
.customer-order header small, .customer-order p { color: var(--color-text-muted); font-size: 11px; }
.customer-order p { margin: var(--space-3) 0; }
.customer-order > div { flex-wrap: wrap; justify-content: flex-start; }
.customer-order > div > strong { margin-right: auto; color: var(--color-brand); font: 700 18px var(--font-display); }
.customer-order .btn { min-height: 38px; }
.customer-order .text-link { padding: var(--space-2); }

.site-footer { padding: var(--space-7) max(24px, calc((100vw - var(--content-wide)) / 2)) var(--space-5); display: grid; grid-template-columns: 1.35fr 1fr 1.2fr 1fr; gap: var(--space-6); background: #243129; color: #cbd2cd; font-size: 11px; }
.site-footer > div { min-width: 0; display: flex; flex-direction: column; gap: var(--space-1); }
.site-footer b { margin-bottom: var(--space-1); color: #fff; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer a:hover { color: #fff; }
.site-footer > small { grid-column: 1/-1; padding-top: var(--space-4); border-top: 1px solid rgba(255,255,255,.12); color: #939f97; }
.site-footer .brand-logo-surface img { width: 175px; }

.admin-page { min-height: 100vh; overflow-x: clip; background: #f4f0ea; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.admin-login { min-height: 100vh; padding: var(--space-5); display: grid; place-items: center; }
.admin-login-card { width: min(440px, 100%); padding: var(--space-7); display: grid; gap: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-surface-raised); box-shadow: var(--shadow-elevated); }
.admin-login-card > img { width: 190px; height: auto; }
.admin-login-card h1 { margin: 0 0 var(--space-1); font: 600 36px/1 var(--font-display); }
.admin-login-card p { margin: 0; color: var(--color-text-muted); font-size: 12px; }
.admin-login-card label { display: grid; gap: var(--space-1); font-size: 11px; font-weight: 750; }
.admin-login-card input { min-height: 48px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font: inherit; }
.admin-login-feedback { color: var(--color-danger) !important; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; padding: var(--space-5); background: #213128; color: #fff; }
.admin-sidebar .brand { background: #fff8ed; }
.admin-sidebar .brand img { width: 54px; }
.admin-sidebar nav { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.admin-sidebar nav button, .admin-sidebar nav a { min-height: 44px; padding: 0 var(--space-3); display: flex; align-items: center; gap: var(--space-2); border: 0; border-radius: var(--radius-sm); background: transparent; color: #c1ccc4; text-align: left; font-size: 12px; }
.admin-sidebar nav .active { background: rgba(255,255,255,.1); color: #fff; }
.admin-sidebar nav a:last-child { margin-top: var(--space-6); }
.admin-logout { position: absolute; bottom: var(--space-5); left: var(--space-5); padding: 0; border: 0; background: transparent; color: #c1ccc4; font-size: 11px; text-decoration: underline; }
.admin-main { width: 100%; max-width: 1460px; padding: var(--space-7); }
.admin-main h1 { font-size: 46px; }
.admin-main > header { display: flex; align-items: flex-start; justify-content: space-between; }
.admin-store-control { margin: var(--space-5) 0 var(--space-8); padding: var(--space-5); display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(230px, .8fr) auto; align-items: end; gap: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.admin-store-control small, .admin-section-head small { color: var(--color-brand); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.admin-store-control h2, .admin-section-head h2 { margin: var(--space-1) 0; font: 600 28px/1.1 var(--font-display); }
.admin-store-control p { margin: 0; color: var(--color-text-muted); font-size: 11px; }
.admin-store-control label { display: grid; gap: var(--space-1); font-size: 10px; font-weight: 700; }
.admin-store-control input { min-height: 42px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); font: inherit; }
.store-switch { min-height: 42px; padding: 0 var(--space-3); display: flex; align-items: center; gap: var(--space-2); border: 1px solid rgba(49,90,56,.35); border-radius: 999px; background: #e4eee3; color: var(--color-success); }
.store-switch span { width: 30px; height: 18px; padding: 2px; display: block; border-radius: 999px; background: var(--color-success); }
.store-switch span::after { content: ''; width: 14px; height: 14px; display: block; border-radius: 50%; background: #fff; transform: translateX(12px); transition: transform var(--motion-normal); }
.store-switch[aria-checked="false"] { border-color: #ddc99e; background: #f5ead2; color: #624816; }
.store-switch[aria-checked="false"] span { background: #947143; }
.store-switch[aria-checked="false"] span::after { transform: none; }
.store-switch:disabled { cursor: wait; opacity: .72; }
.admin-schedule { margin: calc(var(--space-5) * -1) 0 var(--space-8); padding: var(--space-5); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.admin-schedule .admin-section-head { align-items: center; }
.admin-schedule .admin-section-head p { margin: var(--space-1) 0 0; color: var(--color-text-muted); font-size: 11px; }
.schedule-enable { min-height: 42px; padding: 0 var(--space-3); display: flex; align-items: center; gap: var(--space-2); border-radius: var(--radius-pill); background: var(--color-surface-warm); font-size: 11px; font-weight: 750; }
.schedule-enable input, .schedule-day input[type="checkbox"] { accent-color: var(--color-brand); }
.schedule-days { display: grid; gap: var(--space-2); }
.schedule-day { min-height: 52px; padding: var(--space-2) var(--space-3); display: grid; grid-template-columns: minmax(120px,1fr) 120px auto 120px; align-items: center; gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.schedule-day > label { display: flex; align-items: center; gap: var(--space-2); font-size: 12px; font-weight: 750; }
.schedule-day input[type="time"] { min-height: 38px; padding: 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.schedule-day em { display: none; color: var(--color-text-muted); font-size: 11px; font-style: normal; }
.schedule-day.closed { grid-template-columns: minmax(120px,1fr) 1fr; background: #faf8f4; }
.schedule-day.closed input[type="time"], .schedule-day.closed > span { display: none; }
.schedule-day.closed em { display: block; }
.schedule-actions { margin-top: var(--space-3); display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3); }
.schedule-actions > span { margin-right: auto; color: var(--color-text-muted); font-size: 11px; }
.admin-section-head { margin-bottom: var(--space-4); display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-3); }
.admin-stats { margin: var(--space-5) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.admin-stats article { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.admin-stats span { display: block; color: var(--color-text-muted); font-size: 11px; }
.admin-stats strong { display: block; margin-top: var(--space-1); font: 600 27px var(--font-display); }
.admin-toolbar { margin-bottom: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.refresh-btn { min-height: 38px; padding: 0 var(--space-2); display: inline-flex; align-items: center; gap: var(--space-1); border: 0; background: transparent; color: var(--color-brand); font-size: 11px; font-weight: 750; }
.orders-list { display: grid; gap: var(--space-2); }
details.order-row { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.order-summary { position: static; padding: var(--space-3) var(--space-4); display: grid; grid-template-columns: 105px minmax(150px, 1.1fr) minmax(180px, 1.3fr) 100px minmax(150px, .8fr) 20px; align-items: center; gap: var(--space-3); border: 0; border-radius: 0; background: transparent; list-style: none; cursor: pointer; }
.order-summary::-webkit-details-marker { display: none; }
.order-summary strong, .order-summary small { display: block; }
.order-summary small { overflow: hidden; color: var(--color-text-muted); font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }
.order-id strong { color: var(--color-brand); }
.status-select { width: 100%; min-height: 38px; padding: 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; font-size: 10px; font-weight: 650; }
.order-expand { display: grid; place-items: center; transition: transform var(--motion-normal); }
details[open] .order-expand { transform: rotate(180deg); }
.order-details { padding: var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface); }
.admin-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
.admin-detail { min-width: 0; }
.admin-detail small, .admin-detail strong { display: block; }
.admin-detail small { color: var(--color-text-muted); font-size: 10px; }
.admin-detail strong { overflow-wrap: anywhere; font-size: 12px; }
.admin-detail-section { margin: var(--space-5) 0; }
.admin-detail-section h4 { margin: 0 0 var(--space-2); font-size: 12px; }
.admin-items { margin: 0; padding: 0; list-style: none; border-block: 1px solid var(--color-border); }
.admin-items li { padding: var(--space-2) 0; display: flex; justify-content: space-between; gap: var(--space-3); border-bottom: 1px solid var(--color-border); font-size: 11px; }
.admin-items li:last-child { border-bottom: 0; }
.admin-items small { display: block; color: var(--color-text-muted); }
.admin-values { padding: var(--space-4); border-radius: var(--radius-sm); background: var(--color-surface-warm); }
.admin-detail-actions { margin-top: var(--space-5); display: flex; gap: var(--space-2); }
.admin-detail-actions .btn { min-height: 40px; }
.admin-products { margin-top: var(--space-8); }
.admin-products .section-head { margin-bottom: var(--space-4); }
.admin-products .section-head h2 { font-size: 32px; }
#admin-products-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
.admin-product-toolbar { margin-bottom: var(--space-4); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.admin-product-toolbar .search { min-width: 260px; }
.admin-product-toolbar > select { min-height: 42px; padding: 0 var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; }
.admin-product { min-width: 0; padding: var(--space-3); display: grid; grid-template-columns: 56px minmax(120px, 1fr) minmax(140px, .9fr); align-items: center; gap: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-raised); }
.admin-product[data-status="sold_out"] { border-color: #ddc99e; }
.admin-product[data-status="hidden"] { opacity: .68; }
.admin-product .mini-photo { width: 48px; height: 48px; flex: 0 0 auto; border-radius: var(--radius-sm); }
.admin-product strong, .admin-product small { display: block; }
.admin-product strong { overflow: hidden; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.admin-product small { color: var(--color-text-muted); font-size: 9px; }
.admin-product-actions { display: grid; gap: var(--space-2); }
.admin-product-actions select, .admin-price input { width: 100%; min-height: 38px; padding: 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; font-size: 10px; }
.admin-price { display: grid; grid-template-columns: 1fr auto; gap: var(--space-1); }
.admin-price button { min-height: 38px; padding: 0 var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-warm); color: var(--color-brand); font-size: 10px; font-weight: 750; }
.admin-product { cursor: pointer; }
.admin-product-actions { cursor: default; }
.admin-product-actions .edit-product { min-height: 38px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-warm); color: var(--color-brand); font-weight: 750; }
.admin-metrics { grid-template-columns: repeat(4, 1fr); }
.admin-profile form { max-width: 680px; padding: var(--space-5); display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.admin-profile label, .admin-fields label { display: grid; gap: var(--space-1); color: var(--color-text-muted); font-size: 11px; font-weight: 700; }
.admin-profile input, .admin-fields input, .admin-fields textarea, .admin-fields select { width: 100%; min-height: 44px; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; font: inherit; }
.admin-profile form > div, .admin-profile form > p { grid-column: 1/-1; }
.admin-product-dialog { width: min(840px,calc(100% - 24px)); }
.admin-product-dialog[open] { display: block; }
.admin-product-dialog form > header, .admin-product-dialog form > footer { padding: var(--space-4) var(--space-5); display: flex; align-items: center; gap: var(--space-2); border-bottom: 1px solid var(--color-border); }
.admin-product-dialog form > header { justify-content: space-between; }
.admin-product-dialog form > header h2 { margin: 0; font: 600 30px var(--font-display); }
.admin-product-dialog form > header button { width: 40px; height: 40px; border: 0; border-radius: 50%; font-size: 24px; }
.admin-product-dialog form > footer { justify-content: flex-end; border-top: 1px solid var(--color-border); border-bottom: 0; }
.admin-product-dialog form > footer span { flex: 1; }
.admin-product-form-body { padding: var(--space-5); display: grid; grid-template-columns: 220px 1fr; gap: var(--space-5); }
.admin-image-editor { display: flex; flex-direction: column; gap: var(--space-3); }
.admin-image-editor input[type=file] { display: none; }
.admin-image-preview { width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-md); background: var(--color-surface-warm); background-size: cover; background-position: center; color: var(--color-text-muted); }
.admin-fields { display: grid; gap: var(--space-3); }
.admin-fields textarea { resize: vertical; }
.btn.danger { color: var(--color-danger); border: 1px solid currentColor; background: transparent; }
.cart-item.unavailable { opacity: .72; }
.cart-item-status { color: #6d4b13 !important; font-weight: 750; }

.mobile-nav, .mobile-cart-bar { display: none; }
.backdrop { position: fixed; inset: 0; z-index: 80; visibility: hidden; opacity: 0; background: rgba(24,18,15,.56); transition: opacity var(--motion-normal), visibility var(--motion-normal); }
.backdrop.open { visibility: visible; opacity: 1; }
.cart-drawer { position: fixed; inset: 0 0 0 auto; z-index: 90; width: min(440px, 100%); height: 100dvh; display: flex; flex-direction: column; background: var(--color-surface); box-shadow: var(--shadow-elevated); transform: translateX(100%); transition: transform var(--motion-emphasis); }
.cart-drawer.open { transform: none; }
.cart-drawer > header { min-height: 74px; padding: var(--space-4) var(--space-5); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-border); }
.cart-drawer h2 { margin: 0; font: 600 28px var(--font-display); }
.cart-drawer header button, .modal-close { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--color-surface-warm); }
.cart-items { flex: 1; overflow-y: auto; padding: 0 var(--space-5); }
.cart-item { padding: var(--space-4) 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--space-3); border-bottom: 1px solid var(--color-border); }
.cart-item .mini-photo { width: 64px; height: 64px; border-radius: var(--radius-sm); }
.cart-item-name { padding: 0; border: 0; background: transparent; text-align: left; }
.cart-item b, .cart-item small { display: block; }
.cart-item b { font-size: 12px; }
.cart-item small { color: var(--color-text-muted); font-size: 10px; }
.cart-item > strong { color: var(--color-brand); font: 700 14px var(--font-display); }
.item-controls { margin-top: var(--space-2); display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-1); }
.item-controls button { min-width: 30px; height: 30px; padding: 0 var(--space-2); display: inline-grid; place-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); font-size: 10px; }
.item-controls .edit-item { margin-left: var(--space-1); color: var(--color-brand); }
.item-controls .remove-item { border-color: transparent; background: transparent; color: var(--color-danger); }
.cart-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface-warm); }

dialog { width: min(820px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden auto; border: 0; border-radius: var(--radius-lg); background: var(--color-surface-raised); box-shadow: var(--shadow-elevated); }
dialog::backdrop { background: rgba(24,18,15,.62); backdrop-filter: blur(2px); }
dialog[open] { display: grid; grid-template-columns: 1.02fr 1fr; }
.modal-photo { min-height: 520px; }
.modal-close { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 2; }
.modal-content { min-width: 0; padding: var(--space-7) var(--space-6) var(--space-5); display: flex; flex-direction: column; }
.modal-content h2 { margin: var(--space-1) 0 var(--space-2); font: 600 34px/1.08 var(--font-display); }
.modal-content > p { margin: 0; color: var(--color-text-muted); font-size: 13px; }
.modal-price { margin-top: var(--space-3); font-size: 24px; }
.modal-favorite { align-self: flex-start; margin-bottom: var(--space-2); padding: 0; display: inline-flex; align-items: center; gap: var(--space-1); border: 0; background: transparent; color: var(--color-brand); font-size: 11px; font-weight: 750; }
.modal-options { margin-top: var(--space-5); }
.modal-options > span { display: block; margin-bottom: var(--space-1); font-size: 11px; font-weight: 750; }
.modal-options label { padding: var(--space-2) 0; display: flex; align-items: center; gap: var(--space-2); border-bottom: 1px solid var(--color-border); font-size: 12px; }
.modal-item-note { margin-top: var(--space-3); }
.modal-item-note > button { padding: var(--space-2) 0; border: 0; background: transparent; color: var(--color-brand); font-size: 11px; font-weight: 750; }
.modal-action { margin-top: auto; padding-top: var(--space-5); display: flex; gap: var(--space-2); }
.modal-action .btn { flex: 1; }
.qty-control { min-height: 46px; display: flex; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.qty-control button { width: 38px; height: 44px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; color: var(--color-brand); }
.qty-control b { min-width: 24px; text-align: center; }
.bottom-sheet { width: min(560px, calc(100% - 32px)); }
.bottom-sheet[open] { display: block; }
.sheet-content { padding: var(--space-7) var(--space-6) var(--space-6); }
.sheet-content h2 { margin: 0; font: 600 34px/1.1 var(--font-display); }
.sheet-content > p { margin: var(--space-2) 0 var(--space-5); color: var(--color-text-muted); font-size: 12px; }
.sheet-content .manual-link { display: block; margin: var(--space-4) auto; padding: var(--space-2); }
.sheet-address-form { margin-top: var(--space-3); }
.sheet-label { display: block; margin: var(--space-5) 0 var(--space-2); color: var(--color-text-muted); font-size: 10px; font-weight: 750; }
.recent-addresses > button { width: 100%; padding: var(--space-3); display: grid; grid-template-columns: 1fr 18px; align-items: center; gap: var(--space-2); border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-raised); text-align: left; }
.recent-addresses b, .recent-addresses span { display: block; }
.recent-addresses b { font-size: 12px; }
.recent-addresses span { color: var(--color-text-muted); font-size: 10px; }
.no-recent { margin-top: var(--space-4); padding: var(--space-3); border-radius: var(--radius-sm); background: var(--color-surface-warm); color: var(--color-text-muted); font-size: 10px; }
.map-attribution { display: block; margin-top: var(--space-5); color: var(--color-text-muted); font-size: 9px; text-align: center; }
.toast { position: fixed; left: 50%; bottom: var(--space-5); z-index: 120; min-width: min(330px, calc(100% - 32px)); padding: var(--space-3) var(--space-4); display: flex; align-items: center; gap: var(--space-2); border-radius: var(--radius-md); background: #26332b; color: #fff; box-shadow: var(--shadow-elevated); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity var(--motion-normal), transform var(--motion-normal); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); }
.toast-icon .icon { width: 18px; height: 18px; }
.toast.error .toast-icon { background: var(--color-danger); }
.toast b, .toast small { display: block; font-size: 11px; }
.toast small { color: #c3cbc5; }
.toast small:empty { display: none; }
.order-now-bar { position: fixed; left: 50%; bottom: var(--space-5); z-index: 65; width: min(calc(100% - 32px), 520px); padding: 6px; display: flex; align-items: stretch; gap: 6px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: #253e2d; color: #fff; box-shadow: 0 16px 42px rgba(25,39,29,.28); transform: translateX(-50%); }
.order-now-open { min-width: 0; flex: 1; padding: 8px; display: grid; grid-template-columns: 38px minmax(0,1fr) 18px; align-items: center; gap: 10px; border: 0; background: transparent; color: inherit; text-align: left; }
.order-now-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.13); }
.order-now-icon .icon { width: 20px; height: 20px; }
.order-now-open small, .order-now-open b, .order-now-open em { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.order-now-open small { color: rgba(255,255,255,.68); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.order-now-open b { font-size: 13px; }
.order-now-open em { color: rgba(255,255,255,.72); font-size: 10px; font-style: normal; }
.order-now-arrow { opacity: .7; }
.order-now-notify { margin: 5px; padding: 0 12px; border: 0; border-radius: 11px; background: #fff; color: var(--color-success); font-size: 10px; font-weight: 800; white-space: nowrap; }

.photo-1 { background-position: 0 0; background-size: 300% 200%; }
.photo-2 { background-position: 50% 0; background-size: 300% 200%; }
.photo-3 { background-position: 100% 0; background-size: 300% 200%; }
.photo-4 { background-position: 0 100%; background-size: 300% 200%; }
.photo-5 { background-position: 50% 100%; background-size: 300% 200%; }
.photo-6 { background-position: 100% 100%; background-size: 300% 200%; }
.photo-7 { background-image: url('/images/burger-real-hero.jpg') !important; background-position: 68% center !important; background-size: cover !important; }
.photo-estrogonofe { background-image: url('/images/estrogonofe-frango-real.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-arroz { background-image: url('/images/arroz-branco.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-feijao { background-image: url('/images/feijao-caseiro.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-pure { background-image: url('/images/pure-batata.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-farofa { background-image: url('/images/farofa-casa.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-pudim { background-image: url('/images/pudim-leite.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-mousse { background-image: url('/images/mousse-maracuja.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-suco { background-image: url('/images/suco-natural.jpg') !important; background-position: center !important; background-size: cover !important; }
.photo-refrigerante { background-image: url('/images/refrigerante-lata.jpg') !important; background-position: center !important; background-size: cover !important; }

@media (max-width: 1100px) {
  .site-header { gap: var(--space-4); }
  .brand-logo-surface img { width: 165px; }
  .global-address { min-width: 200px; }
  .desktop-nav { gap: var(--space-4); }
  .hero { grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); }
  .admin-main { padding: var(--space-6); }
  .order-summary { grid-template-columns: 95px 1fr 1fr 90px minmax(140px, .8fr) 18px; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .global-address { margin-left: auto; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: var(--space-7) var(--space-5); }
  .hero-image { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; padding: var(--space-3) var(--space-5); display: flex; align-items: center; gap: var(--space-5); }
  .admin-sidebar .brand img { width: 44px; }
  .admin-sidebar nav { margin: 0; flex: 1; flex-direction: row; }
  .admin-sidebar nav a { margin: 0 0 0 auto; }
  .admin-logout { position: static; margin-left: auto; }
  .admin-store-control { grid-template-columns: 1fr auto; }
  .admin-store-control label { grid-column: 1; }
  .order-summary { grid-template-columns: 90px minmax(130px, 1fr) 90px minmax(135px, .9fr) 18px; }
  .order-summary .order-items { display: none; }
  .admin-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #admin-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-profile form { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { padding-bottom: 68px; }
  body.admin-active { padding-bottom: 0; }
  .admin-main { padding: var(--space-5) var(--space-4); }
  .admin-sidebar { overflow-x: auto; padding: var(--space-2); gap: var(--space-2); }
  .admin-sidebar .brand { display: none; }
  .admin-sidebar nav { min-width: max-content; }
  .admin-sidebar nav a { padding: 0 var(--space-2); }
  .admin-store-control { grid-template-columns: 1fr; align-items: stretch; }
  .admin-store-control label { grid-column: auto; }
  .admin-product-toolbar { align-items: stretch; flex-direction: column; }
  .admin-product-toolbar .search { min-width: 0; }
  #admin-products-grid { grid-template-columns: 1fr; }
  .admin-metrics { grid-template-columns: repeat(2,1fr); }
  .admin-product-form-body { grid-template-columns: 1fr; padding: var(--space-4); }
  .admin-image-editor { align-items: center; }
  .admin-image-preview { width: min(220px,100%); }
  .admin-product-dialog form > footer { position: sticky; bottom: 0; flex-wrap: wrap; background: #fff; }
  .admin-product-dialog form > footer span { display: none; }
  .admin-schedule { margin-top: calc(var(--space-3) * -1); padding: var(--space-4); }
  .admin-schedule .admin-section-head { align-items: stretch; flex-direction: column; }
  .schedule-day { grid-template-columns: 1fr 92px auto 92px; }
  .schedule-day.closed { grid-template-columns: 1fr auto; }
  .schedule-actions { align-items: stretch; flex-direction: column; }
  .schedule-actions .btn { width: 100%; }
  .site-header { min-height: 118px; padding: var(--space-2) var(--space-4); display: grid; grid-template-columns: 1fr auto; gap: var(--space-2); }
  .brand-logo-surface img { width: 145px; }
  .global-address { grid-row: 2; grid-column: 1/-1; max-width: none; width: 100%; min-width: 0; }
  .cart-trigger b { display: none; }
  .cart-trigger { min-width: 44px; padding: 0 var(--space-3); }
  .hero { display: flex; flex-direction: column; }
  .hero-image { order: -1; min-height: 42vh; max-height: 380px; background-position: 55% center; }
  .hero-copy { padding: var(--space-6) var(--space-4) var(--space-7); }
  .hero h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-copy > p { margin-top: var(--space-3); font-size: 15px; }
  .hero-actions { margin-top: var(--space-5); }
  .burger-feature { width: calc(100% - 32px); margin-top: var(--space-5); grid-template-columns: 1fr; }
  .burger-feature-copy { padding: var(--space-6) var(--space-5); }
  .burger-feature-photo { order: -1; min-height: 300px; }
  .section { padding: var(--space-7) var(--space-4); }
  .recurring-grid { grid-template-columns: 1fr; }
  .menu-toolbar { top: 118px; padding: var(--space-3) var(--space-4); flex-direction: column; align-items: stretch; }
  .search { width: 100%; }
  .category-list { margin-inline: -16px; padding-inline: 16px; }
  .mobile-nav { position: fixed; inset: auto 0 0; z-index: 70; height: calc(64px + env(safe-area-inset-bottom)); padding: var(--space-1) var(--space-4) env(safe-area-inset-bottom); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--color-border); background: rgba(255,253,249,.98); backdrop-filter: blur(14px); }
  .mobile-nav a { min-height: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--color-text-muted); font-size: 10px; }
  .mobile-nav a .icon { width: 21px; height: 21px; }
  .mobile-nav a.active { color: var(--color-brand); font-weight: 750; }
  .order-now-bar { left: var(--space-3); right: var(--space-3); bottom: calc(72px + env(safe-area-inset-bottom)); width: auto; transform: none; }
  body.has-live-order { padding-bottom: 144px; }
  body.has-live-order .mobile-cart-bar { bottom: calc(144px + env(safe-area-inset-bottom)); }
  .mobile-cart-bar { position: fixed; left: var(--space-3); right: var(--space-3); bottom: calc(72px + env(safe-area-inset-bottom)); z-index: 65; min-height: 56px; padding: 0 var(--space-4); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); border: 0; border-radius: var(--radius-md); background: var(--color-brand); color: #fff; box-shadow: var(--shadow-elevated); }
  .mobile-cart-bar b, .mobile-cart-bar small { display: block; text-align: left; }
  .mobile-cart-bar b { font-size: 12px; }
  .mobile-cart-bar small { color: rgba(255,255,255,.75); font-size: 10px; }
  .mobile-cart-bar strong { display: flex; align-items: center; font-size: 12px; }
  .mobile-cart-bar.bump { animation: cart-bump var(--motion-emphasis); }
  @keyframes cart-bump { 50% { transform: scale(1.02); } }
  .site-footer { padding-bottom: calc(var(--space-7) + 64px); }
}
@media (max-width: 600px) {
  .page-hero { padding: var(--space-6) var(--space-4) var(--space-5); }
  .page-hero h1 { font-size: 42px; }
  .menu-content { padding-top: var(--space-5); }
  .product-grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .product-card { min-height: 146px; display: grid; grid-template-columns: 132px minmax(0, 1fr); }
  .product-photo { height: 100%; min-height: 146px; aspect-ratio: auto; }
  .product-body { min-width: 0; padding: var(--space-3); }
  .product-body > small { font-size: 8px; letter-spacing: .06em; }
  .product-body h3 { margin-top: 2px; font-size: 17px; }
  .product-body p { min-height: 0; margin-bottom: var(--space-2); font-size: 10px; -webkit-line-clamp: 2; }
  .product-bottom > strong { font-size: 17px; }
  .product-add, .product-edit-control { min-height: 34px; padding-inline: var(--space-2); }
  .product-stepper { height: 34px; }
  .product-stepper button { width: 32px; height: 32px; }
  .favorite-btn { top: var(--space-2); left: var(--space-2); right: auto; width: 36px; height: 36px; }
  .favorite-btn .icon { width: 19px; height: 19px; }
  .section-head { align-items: center; }
  .section-head h2 { font-size: 31px; }
  .section-head > a { white-space: nowrap; }
  .favorite-mini-grid { grid-template-columns: 1fr; }
  .checkout-v2 { padding-top: var(--space-4); }
  .checkout-head { margin: var(--space-3) 0 var(--space-5); }
  .checkout-head h1 { font-size: 42px; }
  .checkout-layout, .form-panel { gap: var(--space-3); }
  .form-panel fieldset { padding: var(--space-4); }
  .form-panel legend { font-size: 20px; }
  .choice-row, .payment-list { gap: var(--space-2); }
  .choice > span, .payment-list label > span { min-height: 72px; padding: var(--space-2); }
  .choice small, .payment-list small { font-size: 9px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid .full { grid-column: auto; }
  .location-start, .confirmed-address { align-items: flex-start; }
  .location-start { flex-direction: column; }
  .location-start .btn { width: 100%; }
  .confirmed-address { grid-template-columns: 22px 1fr; }
  .confirmed-address button { grid-column: 2; justify-self: start; padding: var(--space-2) 0 0; }
  .order-summary { padding: var(--space-4); }
  .confirmation { padding: var(--space-8) var(--space-4); }
  .confirmation-meta { grid-template-columns: 1fr; }
  .confirmation-order-head { flex-direction: column; }
  .confirmation-actions .btn { width: 100%; }
  .account-head h1 { font-size: 42px; }
  .customer-order header, .customer-order > div { align-items: flex-start; }
  .customer-order > div { flex-direction: column; }
  .customer-order > div > strong { margin-right: 0; }
  .customer-order .btn { width: 100%; }
  .customer-order .text-link { padding-left: 0; }
  .site-footer { grid-template-columns: 1fr; gap: var(--space-5); }
  .admin-sidebar { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
  .admin-sidebar nav { overflow-x: auto; }
  .admin-sidebar nav button, .admin-sidebar nav a { padding: 0 var(--space-2); white-space: nowrap; }
  .admin-sidebar nav a { margin-left: 0; }
  .admin-sidebar nav .icon { display: none; }
  .admin-login { padding: var(--space-3); }
  .admin-login-card { padding: var(--space-5); }
  .admin-main { padding: var(--space-5) var(--space-4); }
  .admin-main h1 { font-size: 40px; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .admin-stats article:last-child { grid-column: 1/-1; }
  .admin-toolbar { align-items: flex-end; }
  .admin-store-control { padding: var(--space-4); grid-template-columns: 1fr; align-items: stretch; }
  .admin-store-control label { grid-column: auto; }
  .admin-store-control .btn { width: 100%; }
  .admin-product-toolbar { align-items: stretch; flex-direction: column; }
  .admin-product-toolbar .search { min-width: 0; }
  .admin-tabs { margin-left: -16px; padding-left: 16px; }
  .order-summary { padding: var(--space-3); grid-template-columns: 86px 1fr 18px; gap: var(--space-2); }
  .order-summary .order-price { grid-column: 1; }
  .order-summary .status-select { grid-column: 2; }
  .order-summary .order-expand { grid-column: 3; grid-row: 1/3; }
  .order-summary .order-items { display: none; }
  .admin-detail-grid { grid-template-columns: 1fr; }
  .admin-detail-actions { flex-direction: column; }
  #admin-products-grid { grid-template-columns: 1fr; }
  .admin-product { grid-template-columns: 52px minmax(0, 1fr); }
  .admin-product-actions { grid-column: 1/-1; }
  .cart-drawer { top: auto; width: 100%; height: min(88dvh, 760px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; transform: translateY(100%); }
  .cart-drawer.open { transform: none; }
  .cart-items { padding-inline: var(--space-4); }
  .cart-footer { padding: var(--space-4); }
  dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); border-radius: var(--radius-lg); }
  dialog[open] { display: block; }
  .modal-photo { min-height: 270px; aspect-ratio: 1.5; }
  .modal-content { padding: var(--space-5) var(--space-4); }
  .modal-content h2 { font-size: 29px; }
  .modal-action { position: sticky; bottom: 0; padding-bottom: var(--space-1); background: var(--color-surface-raised); }
  .bottom-sheet { width: 100%; max-width: none; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .sheet-content { padding: var(--space-7) var(--space-4) var(--space-5); }
  .sheet-content h2 { font-size: 30px; }
  .toast { bottom: calc(78px + env(safe-area-inset-bottom)); }
}
@media (max-width: 390px) {
  .product-card { grid-template-columns: 118px minmax(0, 1fr); }
  .product-body h3 { font-size: 16px; }
  .product-body p { -webkit-line-clamp: 1; }
  .product-bottom { align-items: flex-end; }
  .product-add { padding-inline: 7px; font-size: 10px; }
  .choice > span, .payment-list label > span { grid-template-columns: 20px 1fr; }
  .choice > span .icon, .payment-list label > span .icon { width: 20px; height: 20px; }
  .admin-stats strong { font-size: 23px; }
  .cart-item { grid-template-columns: 56px minmax(0, 1fr); }
  .cart-item .mini-photo { width: 56px; height: 56px; }
  .cart-item > strong { grid-column: 2; }
}

/* Checkout unificado: a sacola inteira funciona como uma única superfície. */
.checkout-route-host { min-height: 100vh; background: var(--color-surface-warm); }
.checkout-sheet.cart-drawer { inset: 20px; width: min(560px, calc(100% - 40px)); height: calc(100dvh - 40px); margin: auto; overflow: hidden; visibility: hidden; pointer-events: none; border: 1px solid var(--color-border); border-radius: var(--radius-lg); opacity: 0; transform: translateY(20px) scale(.985); }
.checkout-sheet.cart-drawer.open { visibility: visible; pointer-events: auto; opacity: 1; transform: none; }
.checkout-sheet > header { min-height: 72px; flex: 0 0 auto; padding: var(--space-3) var(--space-5); background: rgba(255,253,249,.97); }
.checkout-sheet > header small { display: block; margin-bottom: 1px; color: var(--color-brand); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.checkout-sheet > header h2 { font-size: 27px; }
.checkout-sheet-form { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.checkout-sheet-body { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; padding: 0 var(--space-5) var(--space-3); }
.checkout-block { padding: var(--space-4) 0; border-bottom: 1px solid var(--color-border); transition: background-color var(--motion-normal), box-shadow var(--motion-normal); }
.checkout-block-head { margin-bottom: var(--space-3); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.checkout-block-head h3 { margin: 0; color: var(--color-text-muted); font: 800 10px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase; }
.checkout-block-head > span { color: var(--color-text-muted); font-size: 10px; }
.checkout-change { min-width: 44px; min-height: 36px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-brand); font-size: 11px; font-weight: 800; }
.checkout-change:hover { background: rgba(124,38,53,.05); }
.checkout-items-block { padding-bottom: 0; }
.checkout-items-block .checkout-block-head { margin: var(--space-4) 0 0; }
.checkout-sheet .cart-items { padding: 0; overflow: visible; }
.checkout-sheet .cart-item { padding: var(--space-3) 0; grid-template-columns: 58px minmax(0, 1fr) auto; }
.checkout-sheet .cart-item .mini-photo { width: 58px; height: 58px; }
.checkout-sheet .cart-item:last-child { border-bottom: 0; }
.checkout-sheet .item-controls { margin-top: var(--space-2); }
.checkout-sheet .item-controls button { min-width: 34px; min-height: 34px; }
.checkout-sheet .optional-note { padding-block: var(--space-2); }
.checkout-sheet .optional-note > button { min-height: 44px; padding: 0; display: flex; align-items: center; justify-content: space-between; color: var(--color-brand); }
.checkout-sheet .checkout-editor { padding: 0 0 var(--space-3); }
.checkout-sheet textarea { min-height: 82px; resize: vertical; }
.checkout-sheet .choice-row, .checkout-sheet .payment-list { gap: var(--space-2); }
.checkout-sheet .choice > span, .checkout-sheet .payment-list label > span { min-height: 66px; }
.checkout-sheet .address-experience { margin-top: var(--space-3); padding-top: var(--space-3); }
.checkout-sheet .location-start, .checkout-sheet .confirmed-address, .checkout-sheet .pickup-card, .checkout-sheet .known-customer { padding: var(--space-3); border: 0; background: var(--color-surface-warm); }
.checkout-sheet .confirmed-address { grid-template-columns: 20px minmax(0, 1fr) auto; }
.checkout-sheet .confirmed-address strong { overflow-wrap: anywhere; }
.checkout-sheet .delivery-result { margin-top: var(--space-2); }
.checkout-sheet .customer-grid { grid-template-columns: 1fr 1fr; }
.checkout-sheet .customer-edit-actions { margin-top: var(--space-3); display: flex; gap: var(--space-2); }
.checkout-sheet .customer-edit-actions .btn { min-height: 40px; flex: 1; }
.checkout-compact-summary { min-height: 54px; padding: var(--space-2) var(--space-3); display: flex; align-items: center; gap: var(--space-3); border-radius: var(--radius-sm); background: var(--color-surface-warm); }
.checkout-compact-summary .icon { color: var(--color-brand); }
.checkout-compact-summary strong, .checkout-compact-summary span { display: block; }
.checkout-compact-summary strong { font-size: 12px; }
.checkout-compact-summary span { color: var(--color-text-muted); font-size: 10px; }
.checkout-sheet .payment-list { margin-top: var(--space-2); }
.checkout-sheet .payment-explainer { margin: var(--space-2) 0 0; color: var(--color-text-muted); font-size: 10px; line-height: 1.45; }
.checkout-sheet .checkout-feedback { margin: var(--space-3) 0 0; }
.checkout-block.needs-attention { margin-inline: calc(var(--space-2) * -1); padding-inline: var(--space-2); border-radius: var(--radius-sm); background: #fbf1dc; box-shadow: inset 3px 0 0 #b57a24; }
.checkout-totals { border-bottom: 0; }
.checkout-totals .summary-lines { gap: var(--space-2); }
.checkout-totals .summary-lines .total { margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--color-border-strong); font-size: 16px; }
.checkout-totals .summary-lines .total b { color: var(--color-brand); font: 700 22px var(--font-display); }
.mirror-total { display: none !important; }
.checkout-sheet-footer.cart-footer { flex: 0 0 auto; padding: var(--space-3) var(--space-5) calc(var(--space-3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--color-border); background: rgba(250,245,237,.98); box-shadow: 0 -8px 24px rgba(45,31,23,.06); }
.checkout-sheet-footer > small { display: block; margin-top: var(--space-2); color: var(--color-text-muted); font-size: 9px; text-align: center; }
.checkout-sheet-footer .btn { min-height: 50px; }

@media (max-width: 600px) {
  .checkout-sheet.cart-drawer { inset: 0; width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; transform: translateY(100%); }
  .checkout-sheet.cart-drawer.open { transform: none; }
  .checkout-sheet > header { min-height: calc(68px + env(safe-area-inset-top)); padding: calc(var(--space-2) + env(safe-area-inset-top)) var(--space-4) var(--space-2); }
  .checkout-sheet-body { padding-inline: var(--space-4); scrollbar-gutter: auto; }
  .checkout-sheet .customer-grid { grid-template-columns: 1fr; }
  .checkout-sheet .confirmed-address { grid-template-columns: 20px minmax(0, 1fr); }
  .checkout-sheet .confirmed-address button { grid-column: 2; justify-self: start; }
  .checkout-sheet-footer.cart-footer { padding-inline: var(--space-4); }
  body:has(.checkout-sheet.open) { padding-bottom: 0; }
}

@media (max-width: 390px) {
  .checkout-sheet .cart-item { grid-template-columns: 52px minmax(0, 1fr); }
  .checkout-sheet .cart-item .mini-photo { width: 52px; height: 52px; }
  .checkout-sheet .cart-item > strong { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
