/* Loja online: layout do app do cliente (Cliente.png, Catálogo.png, Rodapé.png).
   Regras portadas de demo/css/mobile.css, adaptadas para página real (sem moldura de celular). */
body { background: #EEF1F7; }
.app {
  --navy: #202F5B; --ink: #1F2D5C; --gray: #6B7280; --orange: #F5993D; --yellow: #FFE23D; --turq: #08B6D5; --soft: #9AA1BC;
  font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; color: var(--navy); font-size: 14px;
  max-width: 480px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: #fff; position: relative;
  box-shadow: 0 0 50px rgba(31, 45, 92, .10);
}
.app h1, .app h2, .app h3, .app h4, .app p { margin: 0; }
.app p { line-height: 1.4; }
.app a { color: inherit; }
.row { display: flex; align-items: center; gap: 4px; }
.grow { flex: 1; min-width: 0; }
.a-scroll { padding-bottom: 110px; }

/* Botões do app: neutralizam o estilo global de button (style.css) */
.ab { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; border-radius: 0; cursor: pointer; text-align: inherit; filter: none; }
.ab:hover { filter: none; }
.ab:focus-visible, .pc:focus-visible, .hero-card:focus-visible, .h-search:focus-visible, .h-track:focus-visible, .h-sec a:focus-visible { outline: 3px solid #F47B20; outline-offset: 2px; }

/* Topo */
.h-top { display: flex; align-items: center; justify-content: space-between; padding: calc(14px + env(safe-area-inset-top)) 18px 4px; }
.h-logo-link { display: block; }
.h-logo { height: 50px; width: auto; display: block; }
.h-ic { width: 40px; height: 40px; display: grid; place-items: center; position: relative; color: var(--ink); border-radius: 12px; }
.h-ic svg { width: 26px; height: 26px; stroke-width: 2.1; }
.h-dot { position: absolute; top: 5px; right: 6px; width: 11px; height: 11px; border-radius: 50%; background: #F47B20; border: 2px solid #fff; }
.h-badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 99px; background: #F47B20; color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; font-weight: 900; }
.h-hello { padding: 6px 18px 0; }
.h-hello h1 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 30px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.h-hello p { font-size: 15.5px; color: var(--gray); font-weight: 600; margin-top: 2px; }
.h-search { margin: 14px 18px 0; height: 44px; border-radius: 12px; background: #F3F5F9; border: 1px solid #E5E8EF; display: flex; align-items: center; gap: 10px; padding: 0 14px; cursor: text; color: #6B7280; font-weight: 600; font-size: 14.5px; }
.h-search svg { width: 21px; height: 21px; color: var(--ink); stroke-width: 2.3; flex: none; }
.h-search input { border: 0; outline: 0; background: transparent; flex: 1; font-weight: 700; font-size: 14.5px; min-width: 0; color: var(--ink); padding: 0; }
.h-search input::placeholder { color: #6B7280; font-weight: 600; }
.h-search:focus-within { background: #fff; box-shadow: 0 4px 14px rgba(32, 47, 91, .08); }

/* Banner */
.h-hero { margin-top: 14px; }
.h-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 12px; }
.h-hero-track::-webkit-scrollbar { display: none; }
.hero-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; font-family: 'Nunito', sans-serif; }
.h-hero-track .hero-card { flex: 0 0 calc(100% - 28px); margin: 0 14px; scroll-snap-align: center; cursor: pointer; min-height: 150px; border-radius: 16px; }
.hero-card.hero-full { padding: 0; min-height: 0; aspect-ratio: 2 / 1; background: #F6EDE4; box-shadow: 0 3px 9px rgba(31, 45, 92, .12); }
.hero-card.hero-full img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card.th-peach { background: linear-gradient(100deg, #FCD3AE 0%, #FDE2C8 55%, #FBD9BC 100%); padding: 18px 16px; color: var(--navy); }
.th-peach .hc-txt { position: relative; z-index: 2; max-width: 70%; }
.th-peach h4 { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 21px; line-height: .98; font-weight: 800; color: #1F2D5C; letter-spacing: -.01em; overflow-wrap: anywhere; }
.th-peach h4 span { color: #E9701B; display: block; }
.th-peach .hc-btn { background: #1F2D5C; color: #fff; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 10px 16px; border-radius: 12px; font-size: 14px; font-weight: 800; box-shadow: 0 6px 14px rgba(31, 45, 92, .25); }
.th-peach .hc-btn svg { width: 16px; height: 16px; stroke-width: 3; }
.hc-photo { position: absolute; right: 0; top: 0; height: 100%; width: 44%; object-fit: cover; object-position: 100% 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%); mask-image: linear-gradient(90deg, transparent 0, #000 18%); z-index: 1; }
.hc-hearts { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hc-hearts svg { position: absolute; color: #F9A35C; fill: #F9A35C; opacity: .75; }
.hc-hearts svg:nth-child(1) { left: 47%; top: 12px; width: 26px; height: 26px; }
.hc-hearts svg:nth-child(2) { left: 52%; bottom: 14px; width: 30px; height: 30px; opacity: .45; }
.hc-hearts svg:nth-child(3) { right: 8px; top: 46%; width: 16px; height: 16px; z-index: 3; }
.h-dots { display: flex; justify-content: center; gap: 7px; padding: 0; }
.h-dots i { width: 7px; height: 7px; border-radius: 50%; background: #CBD0DC; transition: .3s; }
.h-dots i.on { background: #F47B20; }

/* Categorias em círculo */
.h-cats { display: grid; grid-auto-flow: column; grid-auto-columns: 25%; overflow-x: auto; scrollbar-width: none; padding: 14px 10px 4px; }
.h-cats .cat-ico { width: 60px; height: 60px; border-radius: 50%; background: #F3EEE8; color: var(--ink); display: grid; place-items: center; }
.h-cats .cat-ico svg { width: 26px; height: 26px; }
.h-cats button { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.h-cats img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; transition: transform .2s; }
.h-cats button:active img { transform: scale(.94); }
.h-cats span { font-size: 13px; font-weight: 800; color: var(--ink); }
.c-cats button img { transition: box-shadow .2s, transform .2s; }
.c-cats button.on img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #F47B20; }
.c-cats button.on span { color: #F47B20; }

/* Seções */
.h-sec { display: flex; align-items: baseline; justify-content: space-between; padding: 16px 18px 10px; }
.h-sec h3 { font-family: 'Nunito', sans-serif; font-size: 18.5px; font-weight: 900; color: var(--ink); letter-spacing: -.01em; }
.h-sec a { color: #F47B20; font-weight: 800; font-size: 13.5px; display: inline-flex; align-items: center; gap: 2px; cursor: pointer; text-decoration: none; }
.h-sec a svg { width: 16px; height: 16px; stroke-width: 2.6; }
.h-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 18px; }

/* Cartão de produto */
.pc { background: #fff; border: 1px solid #ECEEF3; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(31, 45, 92, .05); cursor: pointer; position: relative; display: flex; flex-direction: column; }
/* Fotos sempre inteiras (sem corte) sobre o creme padrão, em proporção 5:3 */
.pc-img { position: relative; aspect-ratio: 5 / 3; background: #F3EEE8; overflow: hidden; }
.pc-img > img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pc-fav { position: absolute; top: 7px; right: 7px; width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 2px 6px rgba(0, 0, 0, .08); z-index: 2; }
.pc-fav svg { width: 16px; height: 16px; stroke-width: 2.4; }
.pc-fav.on { color: #F0476A; }
.pc-fav.on svg { fill: #F0476A; }
.pc-off { position: absolute; top: 8px; left: 8px; background: #F47B20; color: #fff; border-radius: 99px; font-weight: 900; font-size: 11.5px; padding: 4px 9px; z-index: 2; }
.pc-off.inline { position: static; display: inline-block; vertical-align: 3px; }
.pc-out { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(31, 45, 92, .82); color: #fff; font-size: 11px; font-weight: 800; text-align: center; padding: 4px; }
.pc.out .pc-img > img { filter: grayscale(.7); opacity: .7; }
.pc-b { display: flex; align-items: center; gap: 4px; padding: 9px 8px 10px 10px; flex: 1; }
.pc-n { font-weight: 800; font-size: 12.5px; color: var(--ink); line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: -.02em; }
.pc-p { font-weight: 900; font-size: 16.5px; color: #F07A1A; margin-top: 2px; white-space: nowrap; }
.pc-cart { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(180deg, #F89A3E, #F27A1C); color: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 4px 10px rgba(242, 122, 28, .35); }
.pc-cart svg { width: 19px; height: 19px; stroke-width: 2.3; }
.pc-cart:disabled { background: #D6DAE6; box-shadow: none; cursor: default; }

/* Pedido em andamento */
.h-track { margin: 14px 18px 4px; background: #E2F6FA; border-radius: 14px; padding: 12px; display: flex; align-items: center; gap: 12px; cursor: pointer; }
.h-track-ic { width: 52px; height: 46px; border-radius: 11px; overflow: hidden; flex: none; }
.h-track-ic img { width: 100%; height: 100%; object-fit: cover; }
.h-track b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); }
.h-track span { font-size: 13px; color: var(--gray); font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
.h-track span svg { width: 15px; height: 15px; }
.h-track > svg.h-track-chev { color: #0AA5C3; width: 22px; height: 22px; stroke-width: 2.6; flex: none; }

/* Carrossel de ofertas */
.h-car { position: relative; margin: 0 18px; }
.h-car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0 6px; }
.h-car-track::-webkit-scrollbar { display: none; }
.h-car-track .pc { flex: 0 0 calc(50% - 6px); scroll-snap-align: start; }
.car-btn { position: absolute; top: 46px; z-index: 5; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 14px rgba(31, 45, 92, .18); transition: opacity .2s, transform .15s; }
.car-btn:active { transform: scale(.92); }
.car-btn svg { width: 19px; height: 19px; stroke-width: 2.8; }
.car-btn.prev { left: -12px; }
.car-btn.next { right: -12px; }
.car-btn.off { opacity: 0; pointer-events: none; }

/* Rodapé: menu inferior com Ofertas em destaque (Rodapé.png) */
.h-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 480px; height: calc(84px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #EEF0F4; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; padding: 10px 4px env(safe-area-inset-bottom); z-index: 20; }
.h-nav > button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #3C466B; position: relative; padding-bottom: 8px; }
.h-nav > button svg { width: 25px; height: 25px; stroke-width: 1.9; }
.h-nav > button.on { color: #F47B20; font-weight: 800; }
.h-nav > button.on:not(.h-nav-mid)::after { content: ''; position: absolute; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: #F47B20; }
.h-nav > button.on svg.lucide-house { fill: #F47B20; stroke: #F47B20; }
.h-nav > button.on svg.lucide-search { stroke-width: 2.6; }
.h-nav-mid { margin-top: -30px; }
.h-nav-mid span { color: #F47B20; font-weight: 800; }
.h-mid { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(180deg, #F99A3F, #F2761B); display: grid; place-items: center; position: relative; box-shadow: 0 8px 18px rgba(242, 118, 27, .4); border: 4px solid #fff; }
.h-mid svg { color: #fff; width: 28px; height: 28px; stroke-width: 2.1; transform: rotate(-12deg); }
.h-mid b { position: absolute; color: #fff; font-size: 10px; font-weight: 900; left: 50%; top: 52%; transform: translate(-40%, -50%) rotate(-12deg); }
.h-nav-mid.on .h-mid { box-shadow: 0 8px 22px rgba(242, 118, 27, .55), 0 0 0 4px rgba(245, 153, 61, .18); }

/* Catálogo (Catálogo.png) */
.c-search { display: flex; gap: 10px; margin: 14px 18px 0; }
.c-search .h-search { margin: 0; flex: 1; min-width: 0; }
.c-filter { width: 46px; height: 44px; border-radius: 12px; background: #F3F5F9; border: 1px solid #E5E8EF; display: grid; place-items: center; color: var(--ink); flex: none; position: relative; }
.c-filter svg { width: 21px; height: 21px; stroke-width: 2.2; }
.c-filter b { position: absolute; top: -5px; right: -5px; background: #F47B20; color: #fff; font-size: 10px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; }
.c-sort { display: grid; grid-template-columns: 1fr 1.3fr 1.2fr; gap: 8px; padding: 14px 18px 0; }
.c-sort button { height: 36px; border-radius: 99px; border: 1.5px solid #E4E7EE; background: #fff; font-weight: 700; font-size: 13.5px; color: #6B7280; white-space: nowrap; text-align: center; }
.c-sort button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.c-count { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 10px; font-size: 14px; font-weight: 600; color: #6B7280; }
.c-count a { color: #F47B20; font-weight: 800; display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.c-count a svg { width: 17px; height: 17px; stroke-width: 2.3; }

/* Ofertas */
.o-fire { font-size: 26px; vertical-align: 2px; }
.o-search { border-radius: 99px; }
.o-chips { display: grid; grid-template-columns: .9fr 1fr 1fr 1.15fr; gap: 7px; padding: 14px 18px 12px; }
.o-chips button { height: 36px; border-radius: 99px; background: #EEF1F6; font-weight: 700; font-size: 13px; color: var(--ink); white-space: nowrap; text-align: center; }
.o-chips button.on { background: #0F1B45; color: #fff; }
.o-grid { gap: 10px; }
.oc-old { display: block; font-size: 11.5px; color: #9AA1B5; font-weight: 700; margin-top: 3px; }
.oc .pc-p { margin-top: 0; font-size: 18px; color: #F25B0B; }
.oc .pc-n { font-size: 13px; letter-spacing: -.01em; }
.oc .pc-cart { background: #F25B0B; box-shadow: 0 4px 10px rgba(242, 91, 11, .3); }
.oc .pc-cart:disabled { background: #D6DAE6; box-shadow: none; }
.o-top { display: grid; grid-template-columns: 1fr auto 1fr; }
.o-top .h-logo { height: 50px; }
.row.end { justify-content: flex-end; }
.o-note { text-align: center; font-size: 12px; color: #8A90A6; font-weight: 600; padding: 14px 0 4px; }

/* Estados vazios, botões e rodapé de informações */
.a-pad { padding: 14px 18px 8px; }
.a-empty { text-align: center; padding: 36px 24px; display: grid; justify-items: center; gap: 8px; }
.a-empty img { width: 110px; height: auto; }
.a-empty h3 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 20px; color: var(--ink); }
.a-empty p { color: var(--gray); font-weight: 600; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: 14px; border: 0; background: linear-gradient(180deg, #F89A3E, #F27A1C); color: #fff; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; box-shadow: 0 6px 14px rgba(242, 122, 28, .25); }
.a-btn.ghost { background: #F3F5FA; color: var(--ink); box-shadow: none; }
.a-btn.sm { height: 38px; padding: 0 16px; font-size: 13px; }
.a-btn:disabled { background: #D6DAE6; color: #fff; box-shadow: none; cursor: default; }
.wide-btn { width: 100%; }

/* Pedidos, conta e sacola */
.m-pill { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.m-ok { background: #DCF5E6; color: #1B8A4C; }
.m-yel { background: #FFF0C2; color: #A06F00; }
.m-warn { background: #FFE8CC; color: #B35C00; }
.m-turq { background: #DDF5FA; color: #0889A3; }
.m-muted { background: #EEF0F5; color: #707792; }
.m-danger { background: #FDE2E2; color: #C2373C; }
.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.order-card h3 { margin: 0; }
.app .checkout-grid { grid-template-columns: 1fr; }
.app .panel { padding: 18px; border-radius: 16px; }
.app .panel h2 { margin-bottom: 10px; }
.app .panel p { margin: 8px 0; }
.cart-thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: contain; flex: none; background: #F3EEE8; }

/* Janelas: viram folhas inferiores no padrão do app */
dialog#modal { padding: 0; max-width: 480px; width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: 24px 24px 0 0; overflow: auto; font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; }
dialog#modal[open] { animation: sheet-in .25s ease both; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } }
.sheet { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.sheet h2 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 22px; margin: 0; }
.sheet p { margin: 0; }
.sheet .actions { display: flex; gap: 10px; margin: 6px 0 0; }
.sheet .actions .a-btn { flex: 1; }
.sheet label.check { display: flex; align-items: center; gap: 10px; }
.sheet label.check input { width: auto; }
.detail-image { width: 100%; height: 240px; object-fit: contain; border-radius: 18px; background: #F3EEE8; }
.pd-cat { color: #0AA5C3; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.detail h2 { margin-top: -6px; }
.pd-price b { color: #F07A1A; font-size: 26px; font-weight: 900; }
.pd-price s { color: #A0A6B8; font-weight: 700; }
.pd-meta, .pd-stock { color: var(--gray, #6B7280); font-size: 13px; font-weight: 600; }
#toast { bottom: 100px; left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; font-weight: 700; z-index: 40; }
dialog#modal::backdrop { background: rgba(23, 34, 74, .55); }

/* Cronômetro das ofertas: painel abaixo da foto, sem cobrir a imagem */
.oc-timer { margin: 8px 8px 0; padding: 8px 8px 9px; border-radius: 12px; background: linear-gradient(135deg, #FFF4E8, #FFE5D0); border: 1px solid #FFD6B4; display: grid; gap: 6px; }
.oc-timer .ot-label { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #C2410C; }
.oc-timer .ot-label svg { width: 13px; height: 13px; color: #F25B0B; fill: #F25B0B; flex: none; }
.ot-time { display: flex; gap: 4px; }
.ot-time span { flex: 1; min-width: 0; text-align: center; background: #1F2D5C; color: #B9C4EE; border-radius: 8px; padding: 4px 1px 4px; font-size: 9.5px; font-weight: 800; line-height: 1; white-space: nowrap; }
.ot-time span b { color: #fff; font-size: 14px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.01em; margin-right: 1px; }
.ot-time span:last-child { background: #F25B0B; color: #FFE7D6; }
.ot-time span:last-child b { color: #fff; }

/* Rótulos com caixa de seleção: caixa ao lado do texto, sem esticar */
label:has(> input[type=checkbox]) { display: flex; align-items: center; gap: 10px; }
input[type=checkbox] { width: auto; flex: none; }
.sheet h3 { margin: 14px 0 4px; font-family: Nunito, sans-serif; font-weight: 900; font-size: 16px; }
.notice b { word-break: break-all; }

/* Checkout próprio: Pix e cartão dentro da loja */
.pay-total { color: #6B7280; font-weight: 700; }
.pay-total b { color: #F07A1A; font-size: 24px; font-weight: 900; margin-left: 6px; }
.pay-tabs { display: flex; gap: 8px; background: #F3F5FA; padding: 4px; border-radius: 14px; }
.pay-tab { flex: 1; height: 40px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-weight: 800; color: #6B7280; cursor: pointer; }
.pay-tab.on { background: #fff; color: #1F2D5C; box-shadow: 0 2px 8px rgba(23, 34, 74, .12); }
.pay section { display: grid; gap: 12px; }
.pay section[hidden] { display: none; }
.pay-pix { display: grid; gap: 12px; justify-items: center; text-align: center; }
.pay-qr { width: 220px; height: 220px; max-width: 100%; image-rendering: pixelated; border-radius: 14px; border: 1px solid #E5E7EF; padding: 8px; background: #fff; }
.pay-code { display: flex; gap: 8px; width: 100%; }
.pay-code input { flex: 1; min-width: 0; font-size: 12px; }
.pay-wait { color: #0AA5C3; font-weight: 800; }
.pay-form { display: grid; gap: 12px; }
.pay-form .lbl { display: block; font-size: 13px; font-weight: 700; color: #4B5563; margin-bottom: 4px; }
.pay-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mp-field { height: 46px; border: 1px solid #D6DAE6; border-radius: 12px; background: #fff; padding: 0 12px; overflow: hidden; display: flex; align-items: center; }
.mp-field iframe { width: 100%; height: 100%; border: 0; }
.pay-ok { text-align: center; padding: 18px 8px; display: grid; gap: 8px; }
.pay-ok h3 { color: #15803D; margin: 0; }
.pay .error { color: #B42318; font-weight: 700; }
.auth-error { margin: 0 0 4px; padding: 10px 12px; border-radius: 12px; background: #FDECEA; color: #B42318; font-weight: 800; font-size: 14px; line-height: 1.35; }
.auth-error[hidden] { display: none; }
.ship-calc { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #E5D9CC; }
.ship-calc h3 { margin: 0 0 8px; font-size: 16px; }
.ship-calc form { display: flex; gap: 8px; align-items: flex-end; }
.ship-calc form label { flex: 1; }
.ship-list { margin: 10px 0 0; padding-left: 18px; font-weight: 700; line-height: 1.6; }
.test-banner { margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: #FFF4CC; border: 2px dashed #E0A800; color: #6B4E00; font-weight: 700; line-height: 1.35; }
.test-banner strong { display: block; letter-spacing: .06em; font-weight: 900; }
.test-qr { width: 160px; height: 160px; margin: 8px auto; display: grid; place-items: center; text-align: center; border: 3px dashed #999; border-radius: 12px; font-weight: 800; color: #666; background: repeating-conic-gradient(#eee 0 25%, #fff 0 50%) 0 0 / 20px 20px; }
.test-code { display: block; padding: 10px; margin: 6px 0 12px; border-radius: 10px; background: #F3EEE8; word-break: break-all; font-size: 12px; }
.radio { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-weight: 700; }
.notice.error { background: #FDECEA; color: #B42318; }

/* ===== Checkout / pagamento (redesenho) ===== */
.co-top { display: flex; align-items: center; gap: 12px; padding: calc(14px + env(safe-area-inset-top)) 18px 6px; }
.co-top h1 { font-weight: 900; font-size: 24px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.co-top p { font-size: 13.5px; color: var(--gray); font-weight: 600; margin-top: 2px; }
.co-back { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #F3F5FA; color: var(--ink); }
.co-back svg { width: 22px; height: 22px; }
.co-wrap { padding-bottom: 24px; }
.app .co-card { margin-top: 12px; padding: 14px; border: 1px solid #ECEEF5; border-radius: 18px; background: #fff; box-shadow: 0 2px 12px rgba(31, 45, 92, .06); }
.app .co-card > header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.app .co-card > header h2 { flex: 1; margin: 0; font-size: 16.5px; font-weight: 900; color: var(--ink); }
.co-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #FFF1E3; color: #F27A1C; }
.co-ico svg { width: 20px; height: 20px; }
.co-link { display: inline-flex; align-items: center; gap: 4px; color: #F27A1C; font-weight: 800; font-size: 13.5px; padding: 6px 8px; border-radius: 10px; }
.co-link svg { width: 16px; height: 16px; }
.co-opts { display: grid; gap: 8px; }
.app .co-opt { display: flex; flex-direction: row; align-items: center; gap: 12px; margin: 0; padding: 12px; border: 2px solid #E7EAF3; border-radius: 14px; background: #fff; cursor: pointer; font-weight: 600; text-align: left; transition: border-color .15s, background .15s; }
.app .co-opt:has(input:checked) { border-color: #F27A1C; background: #FFF8F0; }
.app .co-opt.static { cursor: default; border-color: #E7EAF3; background: #fff; }
.app .co-opt input[type=radio] { appearance: auto; -webkit-appearance: radio; width: 20px; height: 20px; min-width: 20px; margin: 0; padding: 0; flex: none; accent-color: #F27A1C; box-shadow: none; }
.co-opt b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.co-opt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--gray); line-height: 1.35; }
.co-price { flex: none; font-size: 14.5px; font-weight: 900; color: var(--ink); }
.co-price.free { color: #0E9F6E; }
.co-coupon { display: flex; gap: 8px; align-items: stretch; }
.co-coupon input { flex: 1; min-width: 0; margin: 0; }
.co-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0F2F8; }
.co-item img { width: 48px; height: 48px; flex: none; border-radius: 10px; object-fit: contain; background: #F3EEE8; }
.co-item b { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.co-item small { color: var(--gray); font-weight: 600; font-size: 12.5px; }
.co-item strong { font-size: 13.5px; color: var(--ink); }
.co-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; font-weight: 700; color: var(--navy); }
.co-off { color: #0E9F6E; font-weight: 800; }
.co-grand { margin-top: 4px; padding-top: 12px; border-top: 2px dashed #E3E7F1; font-size: 17px; }
.co-grand strong { font-size: 22px; font-weight: 900; color: var(--ink); }
.co-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #E7EAF3; box-shadow: 0 -6px 20px rgba(31, 45, 92, .08); }
.co-bar small { display: block; color: var(--gray); font-weight: 700; font-size: 12px; }
.co-bar strong { font-size: 21px; font-weight: 900; color: var(--ink); }
.co-bar .a-btn { flex: 1; max-width: 230px; gap: 8px; }
.co-bar .a-btn[disabled] { opacity: .5; box-shadow: none; }
.a-btn svg { width: 18px; height: 18px; margin-right: 6px; }
.a-btn.block { display: flex; width: 100%; margin-top: 10px; }
.cart-del { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #B42318; background: #FDECEA; }
.cart-del svg { width: 18px; height: 18px; }
.app .co-card .cart-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #F0F2F8; }
.app .co-card .cart-line:last-child { border-bottom: 0; }
.app .co-card .cart-line input[type=number] { width: 64px; margin: 0; text-align: center; }
.test-banner { display: flex; align-items: center; gap: 12px; margin: 10px 0 0; padding: 12px 14px; border: 2px dashed #E0A800; border-radius: 16px; background: #FFF6D6; color: #6B4E00; font-weight: 700; line-height: 1.35; }
.test-banner .co-ico { background: #FFE9A6; color: #8A6400; }
.test-banner strong { display: block; letter-spacing: .06em; font-weight: 900; font-size: 13px; }
.co-sheet { text-align: center; }
.co-sheet .test-banner { text-align: left; margin-top: 0; }
.co-sheet h2 { margin-top: 14px; font-size: 20px; color: var(--ink); }
.co-amount { margin: 4px 0 10px; font-size: 30px; font-weight: 900; color: var(--ink); line-height: 1.1; }
.co-amount small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--gray); }
.co-qr { width: 220px; height: 220px; margin: 6px auto 8px; padding: 12px; border: 2px solid #E7EAF3; border-radius: 18px; background: #fff; box-shadow: 0 4px 16px rgba(31, 45, 92, .08); }
.co-qr svg { display: block; width: 100%; height: 100%; }
.co-hint { color: var(--gray); font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.co-code { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; padding: 8px 8px 8px 12px; border-radius: 14px; background: #F3F5FA; text-align: left; }
.co-code code { flex: 1; min-width: 0; font-size: 11.5px; word-break: break-all; color: var(--ink); }
.co-code .a-btn { flex: none; }
.co-card-art { position: relative; height: 150px; margin: 8px 0 12px; padding: 18px; border-radius: 18px; text-align: left; color: #fff; background: linear-gradient(135deg, #202F5B, #08B6D5); box-shadow: 0 8px 20px rgba(32, 47, 91, .25); display: flex; flex-direction: column; justify-content: space-between; }
.co-card-art .chip { width: 40px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, #FFE23D, #F5993D); }
.co-card-art b { font-size: 19px; letter-spacing: .12em; font-weight: 800; }
.co-card-art i { font-style: normal; }
.co-card-art small { font-weight: 800; letter-spacing: .1em; opacity: .85; }
.co-sheet label { display: block; text-align: left; margin-top: 8px; font-weight: 700; }
.co-sheet select { width: 100%; }
.test-qr, .test-code, .radio { display: none; }
.app .co-card .ship-calc { margin-top: 0; padding-top: 0; border-top: 0; }

/* ===== Conta do cliente ===== */
.acc-hero { display: flex; align-items: center; gap: 14px; padding: 6px 18px 4px; }
.acc-hero h1 { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 26px; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.acc-hero p { font-size: 14px; color: var(--gray); font-weight: 600; margin-top: 2px; word-break: break-all; }
.acc-avatar { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #F27A1C, #F5993D); color: #fff; font-weight: 900; font-size: 20px; box-shadow: 0 6px 16px rgba(242, 122, 28, .3); }
.acc-wrap { padding-bottom: 28px; }
.acc-address { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F0F2F8; }
.acc-address b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.acc-address small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--gray); line-height: 1.4; }
.acc-icon { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #F3F5FA; color: var(--ink); }
.acc-icon.danger { background: #FDECEA; color: #B42318; }
.acc-icon svg { width: 17px; height: 17px; }
.app .co-card .a-btn.block { margin-top: 12px; }
.acc-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #F0F2F8; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.acc-row:last-child { border-bottom: 0; }
.acc-row b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.acc-row small, .acc-switch small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--gray); }
.acc-row .acc-go { width: 18px; height: 18px; flex: none; color: #A3ABBD; }
.acc-row.danger b { color: #B42318; }
.acc-row.danger .co-ico { background: #FDECEA; color: #B42318; }
.acc-row:active { background: #F8F9FC; }
.acc-switch { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 4px 0 12px; border-bottom: 1px solid #F0F2F8; cursor: pointer; }
.acc-switch b { display: block; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.app .acc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.acc-track { position: relative; width: 46px; height: 28px; flex: none; border-radius: 999px; background: #D5DAE6; transition: background .2s; }
.acc-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .2s; }
.acc-switch input:checked ~ .acc-track { background: #F27A1C; }
.acc-switch input:checked ~ .acc-track::after { transform: translateX(18px); }
.acc-switch input:focus-visible ~ .acc-track { outline: 3px solid #FFD2A8; outline-offset: 2px; }
.acc-note { padding: 8px 0; border-bottom: 1px solid #F0F2F8; }
.acc-note:last-child { border-bottom: 0; }
.acc-note small { color: var(--gray); font-weight: 700; font-size: 12px; }
.acc-note p { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--navy); }
.app .acc-row.danger, .app .acc-row.danger:active { background: none; box-shadow: none; }
.acc-hero { padding-top: 10px; }

/* ===== Baixar o aplicativo ===== */
.install-ico { width: 52px; height: 52px; margin: 4px auto 0; border-radius: 16px; }
.install-ico svg { width: 26px; height: 26px; }
.install-steps { margin: 6px 0 4px; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.install-steps li { position: relative; margin: 8px 0; padding: 10px 12px 10px 46px; border-radius: 14px; background: #F3F5FA; font-weight: 600; font-size: 14px; line-height: 1.4; color: var(--navy); counter-increment: step; }
.install-steps li::before { content: counter(step); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #F27A1C; color: #fff; font-weight: 900; font-size: 13px; }
