:root {
  color-scheme: light;
  --bg: #faf9f7;
  --surface: #fff;
  --text: #252525;
  --muted: #72716e;
  --line: #e8e5df;
  --brand: #c72249;
  --brand-dark: #a7193b;
  --ok: #267458;
  --error: #b42332;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { position: relative; isolation: isolate; margin: 0; background: var(--bg); color: var(--text); font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.background-art { position: absolute; z-index: -1; top: 76px; left: 0; width: 100%; height: 1300px; overflow: hidden; pointer-events: none; color: #c72249; opacity: .10; }
.background-art svg { width: 100%; height: 100%; }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a, button, input, textarea, summary { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.container { width: min(1080px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--brand); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-grid { display: flex; align-items: center; gap: 20px; min-height: 104px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; }
.brand-name { display: grid; line-height: 1.4; }
.brand-name strong { font-size: 20px; font-weight: 700; letter-spacing: -.03em; }
.brand-name > span { font-size: 12px; color: var(--muted); }
.header-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: 12px; font-weight: 500; }
.header-nav > a:first-child { color: var(--muted); }
.header-nav a:hover, .site-footer a:hover { color: var(--brand); }
.header-nav .nav-order { border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; background: var(--surface); }
.header-menu { position: relative; }
.menu-button { display: grid; place-items: center; width: 36px; height: 40px; list-style: none; font-size: 21px; color: var(--muted); }
.menu-button::-webkit-details-marker { display: none; }
.menu-dropdown { position: absolute; top: calc(100% + 8px); right: 0; z-index: 10; width: 210px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 10px 35px #28251e0d; }
.menu-dropdown a { display: block; padding: 10px 12px; border-radius: 7px; font-size: 12px; }
.menu-dropdown a:hover { background: var(--bg); }
.campaign-hero { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 52px; align-items: center; padding-block: 64px 62px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--brand); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-line { width: 24px; height: 1px; background: var(--brand); }
.hero-copy h1 { margin: 19px 0 22px; font-size: clamp(48px, 5.3vw, 70px); font-weight: 600; letter-spacing: -.065em; line-height: 1.05; }
.hero-copy h1 > span { color: var(--brand); }
.hero-copy > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.hero-signature { display: inline-block; margin-top: 20px; font-size: 11px; font-weight: 500; color: #77716b; }
.event-summary { padding: 6px 0 6px 32px; border-left: 1px solid var(--line); }
.price-caption { color: var(--muted); font-size: 12px; }
.hero-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 10px; font-size: 64px; font-weight: 500; letter-spacing: -.065em; line-height: 1.2; }
.hero-price > span:first-child { align-self: flex-start; margin-top: 12px; font-size: 18px; letter-spacing: -.03em; }
.hero-price > span:last-child { font-size: 32px; letter-spacing: -.05em; margin-left: -3px; }
.free-delivery { display: inline-flex; align-items: center; gap: 24px; font-size: 11px; font-weight: 500; color: var(--ok); }
.event-date { display: flex; gap: 12px; align-items: center; margin-top: 28px; padding-top: 23px; border-top: 1px solid var(--line); }
.event-date svg { width: 25px; height: 25px; flex-shrink: 0; color: var(--brand); }
.event-date > span { display: grid; gap: 3px; }
.event-date strong { font-size: 11px; font-weight: 600; }
.event-date > span > span { color: var(--muted); font-size: 10px; }
.main-grid { display: grid; grid-template-columns: minmax(0, 1fr) 324px; gap: 32px; align-items: start; padding-bottom: 70px; }
.panel { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); padding: 32px; min-width: 0; }
.panel h2 { margin: 8px 0 6px; font-size: 25px; font-weight: 600; line-height: 1.3; letter-spacing: -.045em; }
.section-description { margin: 0 0 28px; font-size: 12px; color: var(--muted); line-height: 1.8; }
.form-stack { display: grid; gap: 20px; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section-heading { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-section-heading:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.form-section-heading > span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 9px; font-weight: 500; }
.form-section-heading h3 { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: -.01em; }
label { display: grid; gap: 8px; font-weight: 500; font-size: 11px; min-width: 0; }
.field-title { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.optional-label { color: #77716b; font-size: 9px; font-weight: 400; }
input, textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 13px; border: 1px solid #dedbd6; border-radius: 8px; background: #fff; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; font-size: 13px; }
textarea { resize: vertical; line-height: 1.7; }
input:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px #c722490b; }
input::placeholder { color: #77716b; }
.quantity-field { grid-template-columns: 108px 1fr; align-items: center; }
.quantity-field > input { grid-column: 1; font-size: 16px; }
.quantity-field > small { grid-column: 2; color: var(--muted); font-weight: 400; font-size: 10px; }
.quantity-field::first-line { white-space: nowrap; }
.delivery-toggle { display: flex; align-items: center; gap: 12px; border: 1px solid #dae7df; border-radius: 8px; padding: 12px 15px; background: #f6faf7; }
.delivery-toggle::before { content: '✓'; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: #e6f0e9; color: var(--ok); font-size: 12px; flex-shrink: 0; }
.delivery-required > input { display: none; }
.delivery-toggle > span { display: grid; gap: 2px; }
.delivery-toggle strong { color: #32674e; font-size: 11px; font-weight: 600; }
.delivery-toggle small { color: #526b5b; font-size: 10px; }
.delivery-box { display: grid; gap: 17px; }
.fulfillment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fulfillment-option { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.fulfillment-option:has(input:checked) { border-color: #85ad96; background: #f3f9f5; }
.fulfillment-option input { width: 15px; height: 15px; min-height: 15px; margin: 0; padding: 0; flex-shrink: 0; accent-color: var(--ok); }
.fulfillment-option > span { display: grid; gap: 3px; min-width: 0; }
.fulfillment-option strong { font-size: 11px; font-weight: 600; }
.fulfillment-option small { font-size: 9px; font-weight: 400; color: var(--muted); }
.pickup-info { display: grid; gap: 5px; padding: 14px 16px; border-left: 2px solid var(--brand); background: var(--bg); font-size: 11px; }
.pickup-info strong { font-weight: 500; }
.pickup-info > span { font-size: 10px; color: var(--muted); }
.delivery-grid { display: grid; grid-template-columns: .42fr 1fr; gap: 16px; }
.delivery-contact { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; font-size: 10px; color: var(--muted); }
.delivery-contact strong { color: #77716b; font-size: 10px; font-weight: 400; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.payment-option { display: flex; align-items: center; gap: 10px; padding: 14px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; transition: background .15s, border-color .15s; }
.payment-option:has(input:checked) { border-color: var(--brand); background: #fdf6f7; }
.payment-option > input { width: 15px; height: 15px; min-height: 15px; flex-shrink: 0; margin: 0; padding: 0; accent-color: var(--brand); }
.payment-option > span { display: grid; gap: 3px; }
.payment-option strong { font-size: 12px; font-weight: 600; }
.payment-option small { font-size: 9px; color: var(--muted); font-weight: 400; }
.cash-box { border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: var(--bg); }
.total-breakdown { display: grid; gap: 8px; margin-top: 4px; padding-top: 21px; border-top: 1px solid var(--line); }
.total-breakdown > span { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); }
.total-breakdown strong { font-weight: 500; color: var(--text); }
#taxa-entrega { color: var(--ok); }
.total-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: -6px; }
.total-box > span { font-size: 12px; font-weight: 500; }
.total-box > strong { font-size: 25px; font-weight: 600; letter-spacing: -.04em; }
.primary-button, .secondary-button, .download-button, .whatsapp-button, .ghost-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 500; line-height: 1.5; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.primary-button, .download-button { color: #fff; background: var(--brand); }
.primary-button:hover, .download-button:hover { background: var(--brand-dark); }
.secondary-button { background: #fff; border-color: #dad5cf; color: var(--text); }
.secondary-button:hover, .ghost-button:hover { background: var(--bg); border-color: #bdb4a9; }
.whatsapp-button { background: #277459; color: #fff; }
.whatsapp-button:hover { background: #1d5b45; }
.ghost-button { background: var(--bg); color: var(--text); border-color: var(--line); }
.danger-button { background: #fff6f6; color: #a62a35; border-color: #efd5d7; }
.danger-button:hover { background: #fce9ec; }
button:disabled { opacity: .6; cursor: wait; }
.checkout-footnote { margin: -10px 0 -5px; color: #77716b; font-size: 9px; text-align: center; }
.message { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.message:empty { display: none; }
.message.error { color: var(--error); }
.message.success { color: var(--ok); }
.side-column { grid-column: 2; grid-row: 1; min-width: 0; }
.help-note { margin: 28px 16px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.help-note .section-kicker { font-size: 8px; }
.help-note h3 { font-size: 14px; font-weight: 500; letter-spacing: -.02em; margin: 9px 0; }
.help-note p { margin: 0; max-width: 240px; font-size: 11px; color: var(--muted); line-height: 1.9; }
.help-note a { display: inline-flex; justify-content: space-between; gap: 65px; margin-top: 18px; color: var(--brand); font-size: 11px; font-weight: 500; }
.help-note a:hover { color: var(--brand-dark); }
.pix-panel { grid-column: 1 / -1; width: min(660px, 100%); justify-self: center; }
.purchase-code { display: grid; gap: 5px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; overflow-wrap: anywhere; }
.purchase-code > span { color: var(--muted); font-size: 10px; }
.purchase-code > strong { font-size: 16px; letter-spacing: .015em; }
.payment-status { display: grid; gap: 5px; margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.payment-status strong { font-size: 13px; font-weight: 600; }
.payment-status > span { font-size: 11px; color: var(--muted); }
.payment-status.success { background: #f0f8f3; border-color: #d6e5da; color: var(--ok); }
.payment-status.preparing { background: #fdf6f7; border-color: #ead2d9; }
.pix-qrcode { display: block; width: min(260px, 100%); aspect-ratio: 1; object-fit: contain; margin: 24px auto; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.button-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.download-button { width: 100%; margin-block: 12px; }
.site-footer { display: flex; gap: 18px; justify-content: space-between; padding-block: 26px 34px; border-top: 1px solid var(--line); color: #77716b; font-size: 10px; }
.site-footer > span:first-child { color: #6f6861; }
.floating-whatsapp { display: grid; place-items: center; position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: #277459; box-shadow: 0 4px 15px #19342a12; transition: background .15s; }
.floating-whatsapp:hover { background: #1d5b45; }
.floating-whatsapp svg { width: 23px; height: 23px; fill: currentColor; }
.admin-site-header .header-copy { margin-left: 12px; }
.admin-site-header .header-copy h1 { font-size: 25px; line-height: 1.2; letter-spacing: -.04em; font-weight: 600; margin: 6px 0; }
.admin-site-header .header-copy p { font-size: 11px; color: var(--muted); margin: 0; }
.admin-toggle { display: inline-flex; align-items: center; margin-left: auto; font-size: 11px; border: 1px solid var(--line); padding: 9px 16px; border-radius: 8px; }
.admin-main { padding-block: 36px 60px; }
.admin-heading h2 { margin-bottom: 0; }
.admin-login { max-width: 420px; margin-top: 26px; }
.admin-content, .admin-view { display: grid; gap: 22px; margin-top: 22px; }
.admin-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-stats > div { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.admin-stats span { color: var(--muted); font-size: 11px; }
.admin-stats strong { font-size: 30px; letter-spacing: -.05em; font-weight: 500; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.admin-actions > div { display: grid; gap: 4px; flex-basis: 100%; margin-bottom: 10px; }
.admin-actions strong { font-size: 14px; font-weight: 500; }
.admin-actions span { color: var(--muted); font-size: 11px; }
.compact-button { min-height: 38px; padding: 9px 12px; font-size: 10px; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.admin-table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: 11px; }
.admin-table th, .admin-table td { text-align: left; vertical-align: top; padding: 13px; border-bottom: 1px solid var(--line); }
.admin-table th { background: var(--bg); font-weight: 500; color: var(--muted); font-size: 10px; }
.admin-table tr:last-child td { border-bottom: 0; }
.status-badge { display: inline-flex; padding: 4px 8px; border-radius: 5px; background: #f0eeeb; color: #6b635b; font-size: 9px; white-space: nowrap; }
.status-badge.pago { color: #267458; background: #ebf5ee; }
.status-badge.dinheiro { color: #3a6887; background: #edf3f7; }
.status-badge.pendente { color: #986b22; background: #fbf4e7; }
.realtime-check { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 11px; }
.realtime-check input { width: 18px; height: 18px; min-height: 18px; accent-color: var(--ok); }
.hidden { display: none !important; }
@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .campaign-hero { grid-template-columns: 1fr 270px; gap: 24px; }
  .main-grid { grid-template-columns: minmax(0, 1fr) 285px; gap: 22px; }
  .panel { padding: 25px; }
  .form-columns, .payment-methods { grid-template-columns: 1fr; }
  .event-summary { padding-left: 25px; }
}
@media (max-width: 680px) {
  .background-art { top: 65px; height: 970px; opacity: .09; }
  .background-art svg { width: 200%; margin-left: -100%; }
  .fulfillment-options { gap: 8px; }
  .fulfillment-option { padding: 12px 9px; gap: 8px; }
  .fulfillment-option strong { font-size: 10px; }
  .fulfillment-option small { font-size: 8px; }
  .container { width: calc(100% - 40px); }
  .header-grid { min-height: 87px; gap: 8px; }
  .brand { gap: 8px; }
  .brand-logo { width: 47px; height: 47px; }
  .brand-name strong { font-size: 17px; }
  .brand-name > span { font-size: 10px; }
  .header-nav { margin-left: auto; gap: 10px; }
  .header-nav > a:first-child { display: none; }
  .header-nav .nav-order { padding: 9px 11px; font-size: 10px; }
  .menu-button { width: 28px; }
  .campaign-hero { grid-template-columns: 1fr; gap: 32px; padding-block: 41px 32px; }
  .eyebrow { font-size: 9px; }
  .hero-copy h1 { margin: 18px 0; font-size: clamp(43px, 12vw, 63px); }
  .hero-copy > p { font-size: 12px; line-height: 1.9; }
  .desktop-break { display: none; }
  .hero-signature { margin-top: 14px; font-size: 10px; }
  .event-summary { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--line); column-gap: 20px; }
  .price-caption { font-size: 10px; }
  .hero-price { grid-column: 1; margin: 2px 0 5px; font-size: 45px; }
  .hero-price > span:first-child { font-size: 13px; margin-top: 8px; }
  .hero-price > span:last-child { font-size: 23px; }
  .free-delivery { grid-column: 1; gap: 14px; font-size: 9px; }
  .event-date { grid-column: 2; grid-row: 1 / 4; margin-top: 0; padding: 5px 0 5px 18px; border-top: 0; border-left: 1px solid var(--line); gap: 8px; }
  .event-date svg { width: 20px; height: 20px; }
  .event-date strong { font-size: 10px; }
  .event-date > span > span { font-size: 9px; }
  .main-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 40px; }
  .panel { padding: 25px 22px; border-radius: 13px; }
  .panel h2 { font-size: 24px; }
  .section-description { font-size: 11px; }
  .form-columns { grid-template-columns: 1fr; }
  .form-stack { gap: 18px; }
  input, textarea { font-size: 16px; min-height: 49px; }
  .form-section-heading { padding-top: 24px; }
  .delivery-contact { font-size: 9px; }
  .delivery-toggle { padding: 12px; gap: 8px; }
  .delivery-toggle strong { font-size: 10px; }
  .delivery-toggle small { font-size: 9px; }
  .payment-methods { grid-template-columns: 1fr 1fr; gap: 8px; }
  .payment-option { padding: 12px 9px; gap: 8px; }
  .payment-option small { font-size: 8px; }
  .payment-option strong { font-size: 11px; }
  .primary-button, .secondary-button, .download-button { min-height: 49px; }
  .side-column { grid-column: 1; grid-row: auto; }
  .pix-panel { grid-column: 1; grid-row: auto; }
  .help-note { margin-inline: 6px; }
  .button-row { grid-template-columns: 1fr; }
  .site-footer { flex-wrap: wrap; gap: 10px 18px; font-size: 9px; padding-bottom: 80px; }
  .site-footer > span:first-child { flex-basis: 100%; }
  .site-footer > a { margin-left: auto; }
  .floating-whatsapp { width: 44px; height: 44px; right: 17px; bottom: 17px; }
  .admin-site-header .header-grid { flex-wrap: wrap; padding-block: 15px; gap: 15px; }
  .admin-site-header .header-copy { margin: 0; flex-basis: calc(100% - 70px); }
  .admin-site-header .header-copy h1 { font-size: 23px; }
  .admin-site-header .admin-toggle { margin-left: 0; }
  .admin-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-stats > div { padding: 14px; }
  .admin-actions > button { flex-grow: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

.quantity-field > span { grid-column: 1 / -1; }

.admin-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#admin-mensagem { margin-top: 14px; }

/* Hierarquia mais legível e controles de pedido. */
.hero-copy h1 { font-size: clamp(58px, 6.1vw, 82px); }
.panel h2 { font-size: 32px; letter-spacing: -.045em; }
.section-kicker, .eyebrow { font-size: 11px; }
.form-section-heading h3 { font-size: 17px; }
.form-section-heading > span { width: 29px; height: 29px; font-size: 11px; }
label { font-size: 13px; }
.section-description { font-size: 14px; }
.quantity-field { display: grid; grid-template-columns: 128px 1fr; align-items: center; gap: 10px 12px; }
.quantity-field > label { grid-column: 1 / -1; }
.quantity-field > small { grid-column: 2; font-size: 12px; color: var(--muted); }
.quantity-stepper { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; border: 1px solid #dedbd6; border-radius: 8px; overflow: hidden; background: white; }
.quantity-stepper button { display: grid; place-items: center; min-height: 40px; border: 0; padding: 0; background: #f8f4f4; color: var(--brand-dark); font-size: 20px; font-weight: 500; }
.quantity-stepper button:hover { background: #f6e7eb; }
.quantity-stepper button:disabled { color: #bcb5b7; cursor: default; background: #faf9f7; }
.quantity-stepper input { appearance: textfield; -moz-appearance: textfield; min-height: 40px; height: 40px; border: 0; border-radius: 0; padding: 0 2px; text-align: center; font-size: 16px; font-weight: 600; box-shadow: none; }
.quantity-stepper input::-webkit-inner-spin-button, .quantity-stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fulfillment-option { transition: background .15s, border-color .15s, box-shadow .15s; }
.fulfillment-option:has(input:checked) { border-color: var(--brand); background: #fcf0f3; box-shadow: 0 0 0 1px var(--brand); }
.fulfillment-option:has(input:checked) strong { color: var(--brand-dark); }
.fulfillment-option input { accent-color: var(--brand); }
.fulfillment-option strong { font-size: 13px; }
.fulfillment-option small { font-size: 10px; }
.help-note h3 { font-size: 23px; }
.site-footer { display: block; width: 100%; margin: 0; padding: 0; background: #f1eeea; border-top: 1px solid var(--line); color: var(--text); font-size: 12px; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 36px; align-items: start; padding-block: 38px; }
.footer-brand { align-items: center; gap: 12px; white-space: normal; }
.footer-brand .brand-logo { width: 52px; height: 52px; }
.footer-brand .brand-name strong { font-size: 16px; letter-spacing: -.035em; }
.footer-brand .brand-name > span { font-size: 11px; }
.footer-campaign, .footer-links { display: grid; gap: 9px; }
.footer-campaign > strong { font-size: 14px; font-weight: 600; }
.footer-campaign > span { font-size: 11px; color: var(--muted); line-height: 1.8; }
.footer-links a { color: #55514c; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding-block: 19px; border-top: 1px solid #dfdbd4; color: #68615b; font-size: 10px; }
.consulta-panel { grid-column: 1 / -1; padding: 38px; min-width: 0; }
.lookup-intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.consulta-panel h2 { font-size: 40px; margin-top: 9px; }
.consulta-panel .section-kicker { font-size: 11px; }
.consulta-panel .section-description { margin-bottom: 14px; font-size: 17px; line-height: 1.65; }
.lookup-caption { margin: 0; max-width: 35ch; font-size: 14px; line-height: 1.75; color: var(--muted); }
.lookup-form { gap: 14px; min-width: 0; }
.lookup-methods { display: flex; gap: 4px; justify-self: start; min-width: 0; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #f6f4f1; }
.lookup-methods label { position: relative; display: block; cursor: pointer; }
.lookup-methods input { position: absolute; width: 1px; height: 1px; min-height: 0; min-width: 0; margin: -1px; padding: 0; clip: rect(0, 0, 0, 0); overflow: hidden; }
.lookup-methods span { display: block; padding: 10px 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: #625e59; }
.lookup-methods input:checked + span { background: #fff; color: var(--brand-dark); box-shadow: 0 1px 5px #34243312; }
.lookup-methods input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.lookup-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.lookup-input-row label { font-size: 14px; }
.lookup-input-row input { min-height: 56px; font-size: 16px; padding: 14px; }
.lookup-input-row input::placeholder { font-size: 14px; color: #8b8581; }
.field-help { font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--muted); }
.purchase-summary { font-size: 17px; font-weight: 500; margin: 16px 0 5px; }
.lookup-submit { min-height: 56px; padding-inline: 20px; font-size: 14px; white-space: nowrap; }
.lookup-hint { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }
.lookup-form .message:empty { display: none; }
.lookup-form .message { margin: 0; font-size: 14px; }
.consulta-resultado { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.lookup-results-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 22px; }
.lookup-results-heading h3 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.lookup-results-heading h3:focus { outline: none; }
.lookup-summary { margin: 5px 0 0; font-size: 14px; line-height: 1.7; color: var(--muted); }
.lookup-results-heading .download-button { width: auto; min-height: 48px; margin: 0; font-size: 14px; padding-inline: 20px; gap: 16px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.order-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: #625e59; font-size: 14px; }
.order-filters button[aria-pressed="true"] { color: var(--brand-dark); background: #fcf0f3; border-color: #e9b8c6; }
.order-filters span { min-width: 21px; padding: 2px 5px; border-radius: 5px; background: #f0eeeb; font-size: 12px; font-variant-numeric: tabular-nums; }
.order-filters button[aria-pressed="true"] span { background: #f6dce5; }
.customer-orders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.customer-order { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 25px; border: 1px solid #e4e0db; border-radius: 15px; background: #fff; }
.order-card-heading { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.order-eyebrow { color: var(--muted); font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.order-identifier h4 { margin: 3px 0 0; font-size: 22px; letter-spacing: -.03em; font-weight: 600; }
.customer-order .status-badge { max-width: 60%; margin-top: 3px; padding: 6px 9px; border-radius: 6px; font-size: 12px; line-height: 1.5; white-space: normal; }
.customer-order .status-badge.cancelado { color: #625e59; background: #eeece8; }
.customer-order .status-badge.erro { color: #a62137; background: #fff0f2; }
.order-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.order-overview dt, .order-field-label { font-size: 13px; color: var(--muted); }
.order-overview dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.customer-order p { margin: 0; font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.order-fulfillment { color: #625e59; }
.order-tickets { display: grid; gap: 9px; }
.ticket-chip-list { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ticket-chip { display: grid; place-items: center; min-width: 36px; min-height: 34px; padding: 5px 8px; border-radius: 7px; background: #fcf0f3; color: var(--brand-dark); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.order-cancelled { background: #faf9f7; }
.order-cancelled .ticket-chip { background: #eeece8; color: #625e59; }
.customer-order .order-state-note { padding: 12px 14px; border-radius: 8px; background: #f7f5f2; color: #625e59; font-size: 13px; }
.customer-order .refund-confirmed { background: #edf5ef; color: #276343; }
.order-card-bottom { display: grid; gap: 12px; margin-top: auto; }
.order-download { width: 100%; min-height: 50px; padding: 13px 16px; font-size: 15px; }
.order-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: #625e59; font-size: 14px; list-style: none; }
.order-details summary::-webkit-details-marker { display: none; }
.order-details summary::after { content: '+'; font-size: 23px; font-weight: 400; }
.order-details[open] summary::after { content: '−'; }
.order-details-content { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.order-details-list { margin: 0; }
.order-details-list > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-details-list > div:first-child { padding-top: 0; }
.order-details-list > div:last-child { padding-bottom: 0; border: 0; }
.order-details-list dt { color: var(--muted); font-size: 12px; }
.order-details-list dd { margin: 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.order-card-bottom > .cancel-order-button { width: 100%; min-height: 44px; font-size: 14px; }
.lookup-empty { margin: 0; padding: 32px 24px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); font-size: 15px; line-height: 1.8; text-align: center; }
.lookup-security-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.lookup-shortcut { padding: 25px; }
.lookup-shortcut h2 { margin-top: 12px; font-size: 25px; }
.lookup-shortcut p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.lookup-shortcut a { width: 100%; margin-top: 8px; font-size: 13px; gap: 12px; }
.cancel-order-button { border: 0; background: transparent; color: #9e233e; padding: 8px; text-decoration: underline; text-underline-offset: 4px; }
.cancel-dialog { width: min(510px, calc(100% - 32px)); max-height: calc(100dvh - 40px); padding: 28px; border: 1px solid var(--line); border-radius: 18px; color: var(--text); box-shadow: 0 24px 90px #30242d33; }
.cancel-dialog::backdrop { background: #28202488; backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.dialog-heading h2 { margin: 0; font-size: 29px; line-height: 1.2; letter-spacing: -.04em; }
.dialog-close { border: 0; background: transparent; font-size: 29px; color: var(--muted); padding: 0 8px; }
.text-button { border: 0; background: transparent; color: var(--brand); padding: 8px; font: inherit; font-size: 13px; text-decoration: underline; }
#verificacao-codigo { font-size: 24px; letter-spacing: .22em; }
.cancel-dialog .section-description { margin: 0; }
.cancel-dialog label small { font-size: 11px; color: var(--muted); font-weight: 400; }
.cancel-dialog select { width: 100%; min-height: 48px; border: 1px solid #dedbd6; border-radius: 8px; padding: 10px; background: white; color: var(--text); font: inherit; }
.cancellation-note { margin: 0; padding: 13px; background: #faf4f5; border-radius: 8px; font-size: 12px; line-height: 1.8; color: #6f3e4a; }
.cancellation-security { margin: 0; padding: 14px; border-left: 2px solid var(--brand); background: #f7f5f2; border-radius: 0 8px 8px 0; color: #625e59; font-size: 14px; line-height: 1.75; }
.cancel-dialog #cancelamento-descricao { font-size: 16px; color: var(--text); }
.cancel-dialog label small { font-size: 12px; line-height: 1.65; }
@media (max-width: 700px) {
  .hero-copy h1 { font-size: clamp(49px, 13.3vw, 72px); }
  .panel h2, .consulta-panel h2 { font-size: 30px; }
  .section-description { font-size: 13px; }
  .fulfillment-options { gap: 9px; }
  .fulfillment-option { padding: 13px 10px; gap: 8px; }
  .fulfillment-option strong { font-size: 12px; }
  .footer-main { grid-template-columns: 1fr; gap: 26px; padding-block: 30px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 13px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; padding-bottom: 85px; }
  .cancel-dialog { padding: 23px; }
  .consulta-panel { padding: 26px 16px; }
  .consulta-panel h2 { font-size: 34px; }
  .lookup-intro { grid-template-columns: 1fr; gap: 26px; }
  .lookup-caption { max-width: none; }
  .consulta-panel .section-description br { display: none; }
  .lookup-input-row { grid-template-columns: 1fr; }
  .lookup-methods span { padding: 10px 11px; font-size: 13px; white-space: nowrap; }
  .lookup-submit { width: 100%; }
  .lookup-results-heading { align-items: stretch; }
  .lookup-results-heading .download-button { width: 100%; }
  .order-filters { gap: 6px; }
  .order-filters button { padding: 9px 10px; gap: 6px; font-size: 13px; }
  .customer-orders { grid-template-columns: 1fr; }
  .customer-order { padding: 20px 16px; }
  .order-card-heading { flex-wrap: nowrap; }
  .order-overview { gap: 12px; }
  .order-overview dd { font-size: 19px; }
  .lookup-shortcut { display: none; }
  .side-column { display: none; }
}
@media (max-width: 380px) {
  .order-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .order-filters button { flex-direction: column; gap: 5px; padding: 9px 3px; font-size: 13px; letter-spacing: -.015em; }
}
@media (min-width: 701px) and (max-width: 950px) {
  .lookup-intro { gap: 28px; grid-template-columns: 1fr 1.25fr; }
  .lookup-input-row { grid-template-columns: 1fr; }
}

/* Storefront: readable desktop columns, with the actual lookup beside checkout. */
.storefront .form-columns { align-items: start; }
.storefront .site-header .brand { flex-shrink: 1; min-width: 0; }
.storefront .site-header .brand-logo,
.storefront .site-header .header-nav,
.storefront .site-header .header-menu { flex-shrink: 0; }
.storefront .site-header .brand-name { min-width: 0; }
.storefront .site-header .brand-name strong { font-size: 18px; line-height: 1.3; }
.address-street-row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; }
@media (min-width: 1024px) {
  .storefront .container { width: min(1200px, calc(100% - 80px)); }
  .storefront .header-grid { min-height: 88px; }
  .storefront .brand-logo { width: 56px; height: 56px; }
  .storefront .header-nav { font-size: 13px; }
  .storefront .campaign-hero,
  .storefront .main-grid { grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr); gap: 32px; }
  .storefront .campaign-hero { padding-block: 40px; }
  .storefront .hero-copy h1 { margin-block: 16px 18px; font-size: clamp(60px, 5vw, 72px); line-height: 1.04; }
  .storefront .hero-copy > p { font-size: 15px; line-height: 1.75; }
  .storefront .hero-signature { margin-top: 14px; font-size: 12px; }
  .storefront .event-summary { padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; background: #ffffffb3; }
  .storefront .hero-price { margin-block: 4px 8px; font-size: 58px; }
  .storefront .free-delivery { font-size: 12px; }
  .storefront .event-date { margin-top: 20px; padding-top: 18px; }
  .storefront .event-date strong { font-size: 14px; }
  .storefront .event-date > span > span { font-size: 12px; }
  .storefront .main-grid { padding-bottom: 64px; }
  .storefront .form-panel { grid-column: 1; grid-row: 1; padding: 32px; }
  .storefront .form-panel h2 { font-size: 34px; }
  .storefront .section-description { margin-bottom: 26px; font-size: 14px; }
  .storefront .form-stack { gap: 18px; }
  .storefront .form-section-heading { padding-top: 22px; }
  .storefront .form-section-heading:first-child { padding-top: 0; }
  .storefront .form-panel input:not([type=radio]):not(#quantidade) { min-height: 48px; font-size: 15px; }
  .storefront .payment-option strong { font-size: 14px; }
  .storefront .payment-option small,
  .storefront .fulfillment-option small { font-size: 11px; }
  .storefront .delivery-contact,
  .storefront .delivery-contact strong { font-size: 12px; }
  .storefront .total-breakdown > span { font-size: 13px; }
  .storefront .total-box > span { font-size: 14px; }
  .storefront .total-box > strong { font-size: 30px; }
  .storefront #gerar-pix { min-height: 50px; font-size: 14px; }
  .storefront .checkout-footnote { font-size: 11px; }
  .storefront .consulta-panel { grid-column: 2; grid-row: 1; padding: 28px; }
  .storefront .consulta-panel:not(:has(.consulta-resultado:not(.hidden))) { position: sticky; top: 24px; }
  .storefront .lookup-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .storefront .consulta-panel h2 { font-size: 34px; }
  .storefront .consulta-panel .section-description { margin-bottom: 0; font-size: 15px; line-height: 1.7; }
  .storefront .lookup-input-row { grid-template-columns: minmax(0, 1fr); }
  .storefront .lookup-methods { width: 100%; }
  .storefront .lookup-methods label { flex: 1; text-align: center; }
  .storefront .lookup-methods span { padding-inline: 8px; }
  .storefront .lookup-input-row input { min-height: 50px; }
  .storefront .lookup-submit { width: 100%; min-height: 50px; }
  .storefront .lookup-hint { font-size: 12px; }
  .storefront .customer-orders { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .storefront .customer-order { padding: 20px; }
  .storefront .order-filters { gap: 6px; }
  .storefront .order-filters button { flex: 1; justify-content: center; padding-inline: 8px; font-size: 13px; }
  .storefront .pix-panel { grid-column: 1 / -1; grid-row: 2; }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .storefront .container { width: calc(100% - 48px); }
  .storefront .campaign-hero { grid-template-columns: minmax(0, 1fr) 250px; padding-block: 36px; }
  .storefront .hero-copy h1 { font-size: clamp(48px, 7vw, 64px); }
  .storefront .main-grid { grid-template-columns: minmax(0, 1fr); }
  .storefront .form-panel { grid-column: 1; grid-row: 1; }
  .storefront .form-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront .consulta-panel { grid-column: 1; }
  .storefront .lookup-intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .storefront .lookup-input-row { grid-template-columns: minmax(0, 1fr) auto; }
}
@media (max-width: 700px) {
  .address-street-row { grid-template-columns: minmax(0, 1fr); }
  .storefront .site-header .brand-name strong { font-size: 12px; }
}
