/* App Cliente Keepit — estilos escopados em .app-cliente (tela de celular 414 px, barra de status de 52 px) */
.app-cliente { font-family: var(--sz-font); }
.app-cliente .kc { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--sz-bg); }
.app-cliente .kc-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.app-cliente .kc-base, .app-cliente .kc-screen { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.app-cliente .kc-base::-webkit-scrollbar, .app-cliente .kc-scroll::-webkit-scrollbar { display: none; }
.app-cliente .kc-screen { background: var(--sz-bg); z-index: 5; transform: translateX(100%); transition: transform .28s var(--ease); overflow: hidden; }
.app-cliente .kc-screen.in { transform: none; }
.app-cliente .kc-screen.out { transform: translateX(100%); }
.app-cliente .kc-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; padding-bottom: 96px; }
.app-cliente .kc-pad { padding: 14px 16px 24px; }
.app-cliente .kc-load { display: grid; place-items: center; padding: 70px 0; color: var(--sz-text-3); }
.app-cliente .muted { color: var(--sz-text-2); }
.app-cliente .kc-mb { margin: 0 0 12px; font-size: 13px; }
.app-cliente .eyebrow { color: var(--kp-neon); }
:root[data-theme="light"] .app-cliente .eyebrow { color: var(--kp-forest); }
.app-cliente h1, .app-cliente h2, .app-cliente h3, .app-cliente h4 { font-family: var(--sz-font-display); margin: 0; letter-spacing: -.01em; }

/* ---------- Barra inferior ---------- */
.app-cliente .kc-tabs { flex: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 10px 28px; background: color-mix(in srgb, var(--sz-surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--sz-border); z-index: 20; }
.app-cliente .kc-tabs button { position: relative; display: grid; justify-items: center; gap: 3px; border: 0; background: none; color: var(--sz-text-3); font-size: 11px; font-weight: 650; cursor: pointer; padding: 4px 0; }
.app-cliente .kc-tabs button .icon { width: 22px; height: 22px; }
.app-cliente .kc-tabs button.on { color: var(--sz-text); }
.app-cliente .kc-tabs button.on .icon { color: var(--kp-neon); }
:root[data-theme="light"] .app-cliente .kc-tabs button.on .icon { color: var(--kp-forest); }
.app-cliente .kc-dot { position: absolute; top: 2px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: var(--kp-neon); box-shadow: 0 0 0 2px var(--sz-surface); }

/* Sacola flutuante */
.app-cliente .kc-bag { position: absolute; left: 14px; right: 14px; bottom: 84px; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; border-radius: 18px; background: var(--kp-forest); color: #fff; box-shadow: 0 12px 30px -8px rgb(0 0 0 / 55%); cursor: pointer; animation: fadeUp .3s var(--ease); }
.app-cliente .kc-bag-n { display: grid; place-items: center; min-width: 30px; height: 30px; border-radius: 10px; background: var(--kp-neon); color: #0d2410; font-weight: 800; }
.app-cliente .kc-bag-t { flex: 1; display: grid; text-align: left; line-height: 1.2; }
.app-cliente .kc-bag-t small { color: rgb(255 255 255 / 70%); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cliente .kc-bag-v { font-weight: 800; }

/* ---------- Topo das telas empilhadas ---------- */
.app-cliente .kc-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 54px 12px 10px; background: color-mix(in srgb, var(--sz-bg) 90%, transparent); backdrop-filter: blur(12px); }
.app-cliente .kc-top h2 { flex: 1; font-size: 17px; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cliente .kc-top.tr { position: absolute; left: 0; right: 0; background: linear-gradient(180deg, rgb(0 0 0 / 45%), transparent); backdrop-filter: none; }
.app-cliente .kc-top.tr h2 { color: #fff; }
.app-cliente .kc-back, .app-cliente .kc-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sz-surface); color: var(--sz-text); cursor: pointer; box-shadow: var(--sz-shadow-sm); }
.app-cliente .kc-top.tr .kc-back, .app-cliente .kc-top.tr .kc-ico { background: rgb(0 0 0 / 40%); color: #fff; backdrop-filter: blur(8px); }
.app-cliente .kc-ico.on { color: var(--kp-neon); }
.app-cliente .kc-top-a { display: flex; gap: 6px; }
.app-cliente .kc-txt { border: 0; background: none; color: var(--sz-text-2); font-weight: 650; cursor: pointer; }

/* ---------- Início ---------- */
.app-cliente .kc-hero { position: relative; padding: 58px 16px 18px; background: radial-gradient(320px 220px at 100% 0%, rgb(61 233 15 / 22%), transparent 70%), linear-gradient(160deg, #0b5e38 0%, #04422b 70%); color: #fff; border-radius: 0 0 26px 26px; display: grid; gap: 14px; }
.app-cliente .kc-hero-top { display: flex; align-items: center; justify-content: space-between; }
.app-cliente .kc-bell { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(255 255 255 / 18%); background: rgb(255 255 255 / 8%); color: #fff; cursor: pointer; }
.app-cliente .kc-bell b { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--kp-neon); color: #0d2410; font-size: 10.5px; display: grid; place-items: center; }
.app-cliente .kc-hub-pick { display: flex; align-items: center; gap: 10px; border: 0; background: none; color: #fff; padding: 0; cursor: pointer; text-align: left; }
.app-cliente .kc-hub-pick > .icon:first-child { color: var(--kp-neon); width: 22px; height: 22px; }
.app-cliente .kc-hub-pick span { display: grid; line-height: 1.2; }
.app-cliente .kc-hub-pick small { color: rgb(255 255 255 / 65%); font-size: 11.5px; }
.app-cliente .kc-hub-pick b { font-size: 15px; }
.app-cliente .kc-searchbar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: #fff; color: #59605a; font-size: 14.5px; cursor: pointer; box-shadow: 0 8px 20px -10px rgb(0 0 0 / 50%); }
.app-cliente .kc-searchbar .icon { color: var(--kp-forest); }

.app-cliente .kc-carrossel { position: relative; margin: 16px 16px 0; border-radius: 18px; overflow: hidden; background: var(--sz-surface-2); }
.app-cliente .kc-car-trilho { display: flex; transition: transform .6s var(--ease); }
.app-cliente .kc-car-trilho figure { position: relative; flex: 0 0 100%; margin: 0; }
.app-cliente .kc-ban { display: block; width: 100%; height: 150px; object-fit: cover; }
.app-cliente .kc-car-trilho figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; display: grid; gap: 2px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 70%)); }
.app-cliente .kc-car-trilho figcaption b { font-size: 15px; }
.app-cliente .kc-car-trilho figcaption span { font-size: 12px; color: rgb(255 255 255 / 80%); }
.app-cliente .kc-car-dots { position: absolute; top: 10px; right: 12px; display: flex; gap: 5px; }
.app-cliente .kc-car-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgb(255 255 255 / 45%); cursor: pointer; transition: width .3s; }
.app-cliente .kc-car-dots i.on { width: 18px; background: var(--kp-neon); }

.app-cliente .kc-sec { margin-top: 22px; }
.app-cliente .kc-sec.flush { margin-left: -16px; margin-right: -16px; }
.app-cliente .kc-sec-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; margin-bottom: 10px; }
.app-cliente .kc-sec-h h3 { font-size: 18px; font-weight: 800; }
.app-cliente .kc-sec-h .kband { font-size: 12px; padding: 4px 12px 4px 18px; }

.app-cliente .kc-ramos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 16px; }
.app-cliente .kc-ramo { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: pointer; aspect-ratio: .82; background: var(--sz-surface-2); }
.app-cliente .kc-ramo .kimg { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; transition: transform .4s var(--ease); }
.app-cliente .kc-ramo:hover .kimg { transform: scale(1.06); }
.app-cliente .kc-ramo span { position: absolute; inset: auto 0 0 0; display: grid; padding: 22px 10px 10px; text-align: left; color: #fff; background: linear-gradient(transparent, rgb(4 66 43 / 92%)); }
.app-cliente .kc-ramo b { font-size: 13.5px; }
.app-cliente .kc-ramo small { font-size: 11px; color: var(--kp-neon); font-weight: 650; }

.app-cliente .kc-hscroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.app-cliente .kc-hscroll::-webkit-scrollbar { display: none; }
.app-cliente .kc-hscroll > * { scroll-snap-align: start; flex: 0 0 auto; }
.app-cliente .kc-hscroll .kc-loja { width: 250px; }
.app-cliente .kc-hscroll.prods .kc-prod { width: 150px; }

/* Card de loja */
.app-cliente .kc-loja { border-radius: 18px; overflow: hidden; background: var(--sz-surface); border: 1px solid var(--sz-border); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s; }
.app-cliente .kc-loja:hover { transform: translateY(-2px); box-shadow: var(--sz-shadow); }
.app-cliente .kc-loja-capa { position: relative; }
.app-cliente .kc-loja-capa .kimg { border-radius: 0; aspect-ratio: 16 / 8; }
.app-cliente .kc-aberta { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 750; background: rgb(0 0 0 / 60%); color: #ffb4a8; }
.app-cliente .kc-aberta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-cliente .kc-aberta.on { color: var(--kp-neon); }
.app-cliente .kc-loja-capa .kc-aberta { position: absolute; top: 10px; left: 10px; }
.app-cliente .kc-loja-b { display: flex; align-items: center; gap: 10px; padding: 10px 12px 12px; }
.app-cliente .kc-loja-b h4 { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cliente .kc-loja-b > div { min-width: 0; display: grid; }
.app-cliente .kc-loja-b small { color: var(--sz-text-2); font-size: 12px; display: inline-flex; align-items: center; gap: 3px; }
.app-cliente .kc-loja-b small .icon { width: 12px; height: 12px; color: var(--sz-warning); }
.app-cliente .kc-loja-logo { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--c); color: #fff; font: 800 17px var(--sz-font-display); box-shadow: 0 0 0 3px var(--sz-surface); margin-top: -26px; }
.app-cliente .kc-loja-logo.big { width: 64px; height: 64px; border-radius: 20px; font-size: 28px; margin: -48px 0 8px; box-shadow: 0 0 0 4px var(--sz-bg); }
.app-cliente .kc-lista-lojas { display: grid; gap: 14px; }

/* Card de produto */
.app-cliente .kc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 0 16px; }
.app-cliente .kc-pad .kc-grid { padding: 0; }
.app-cliente .kc-prod { cursor: pointer; display: grid; gap: 8px; }
.app-cliente .kc-prod-img { position: relative; }
.app-cliente .kc-prod-img .kimg { border-radius: 16px; background: #fff; }
.app-cliente .kc-prod-img .kpromo { position: absolute; top: 8px; left: 8px; }
.app-cliente .kc-add { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 12px; border: 0; background: var(--kp-neon); color: #0d2410; cursor: pointer; box-shadow: 0 6px 14px -6px rgb(0 0 0 / 60%); transition: transform .15s var(--ease-spring); }
.app-cliente .kc-add:active { transform: scale(.88); }
.app-cliente .kc-add .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.app-cliente .kc-add.sm { position: static; width: 32px; height: 32px; flex: none; }
.app-cliente .kc-prod-b { display: grid; gap: 2px; }
.app-cliente .kc-prod-b h4 { font-size: 13.5px; font-weight: 650; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-cliente .kc-prod-b small { color: var(--sz-text-3); font-size: 11.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.app-cliente .kc-prod.mini .kc-prod-b h4 { font-size: 12.5px; }

/* Capa (ramo / loja) */
.app-cliente .kc-cover { position: relative; }
.app-cliente .kc-cover .kimg { border-radius: 0; aspect-ratio: 16 / 10; }
.app-cliente .kc-cover.loja .kimg { aspect-ratio: 16 / 9; }
.app-cliente .kc-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 70%)); }
.app-cliente .kc-cover.loja::after { background: linear-gradient(180deg, transparent 55%, var(--sz-bg)); }
.app-cliente .kc-cover-t { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; color: #fff; }
.app-cliente .kc-cover-t h1 { font-size: 28px; font-weight: 800; }
.app-cliente .kc-cover-t p { margin: 2px 0 0; font-size: 13px; color: rgb(255 255 255 / 80%); }
.app-cliente .kc-loja-head { position: relative; z-index: 1; padding: 0 16px 4px; }
.app-cliente .kc-loja-head h1 { font-size: 22px; font-weight: 800; }
.app-cliente .kc-loja-head p { margin: 4px 0 10px; font-size: 13.5px; }
.app-cliente .kc-loja-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: 12.5px; color: var(--sz-text-2); }
.app-cliente .kc-loja-meta span { display: inline-flex; align-items: center; gap: 4px; }
.app-cliente .kc-loja-meta .icon { width: 14px; height: 14px; }
.app-cliente .kc-loja-meta .kc-aberta { background: var(--sz-surface-3); }

/* Chips */
.app-cliente .kc-chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
.app-cliente .kc-chips::-webkit-scrollbar { display: none; }
.app-cliente .kc-chips.sticky { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--sz-bg) 92%, transparent); backdrop-filter: blur(10px); margin-top: 8px; }
.app-cliente .kc-chip { flex: none; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--sz-border-2); background: var(--sz-surface); color: var(--sz-text); font-size: 13px; font-weight: 600; cursor: pointer; }
.app-cliente .kc-chip.sm { height: 30px; font-size: 12px; }
.app-cliente .kc-chip.on { background: var(--kp-neon); border-color: var(--kp-neon); color: #0d2410; }

/* ---------- Produto ---------- */
.app-cliente .kc-pimg { position: relative; background: #fff; }
.app-cliente .kc-pimg .kimg { border-radius: 0 0 28px 28px; aspect-ratio: 1; }
.app-cliente .kc-pimg .kpromo { position: absolute; left: 16px; bottom: 16px; font-size: 13px; padding: 4px 10px; }
/* minmax(0,1fr): a lista horizontal "Combina com" não pode esticar a coluna além da tela */
.app-cliente .kc-pinfo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.app-cliente .kc-pinfo > * { min-width: 0; }
.app-cliente .kc-plink { justify-self: start; display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--sz-surface-2); color: var(--sz-text-2); font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; cursor: pointer; }
.app-cliente .kc-plink .icon { width: 14px; height: 14px; }
.app-cliente .kc-pinfo h1 { font-size: 22px; font-weight: 800; line-height: 1.2; }
.app-cliente .kc-pprice .kpreco b { font-size: 24px; }
.app-cliente .kc-pprice .kpreco s { font-size: 14px; }
.app-cliente .kc-cabe { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--sz-blue-050); border: 1px solid color-mix(in srgb, var(--kp-neon) 30%, transparent); }
.app-cliente .kc-cabe > div { display: grid; flex: 1; min-width: 0; }
.app-cliente .kc-cabe > svg, .app-cliente .kc-cabe > img { flex: none; }
.app-cliente .kc-cabe b { font-size: 14px; }
.app-cliente .kc-cabe small { color: var(--sz-text-2); font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
/* Sem gaveta livre agora: o produto segue à venda com a entrega "a partir de" */
.app-cliente .kc-espera { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; font-weight: 600; color: var(--sz-warn, #b26a00); line-height: 1.3; }
.app-cliente .kc-espera svg { width: 12px; height: 12px; flex: none; }
.app-cliente .kc-cabe small.kc-espera { color: var(--sz-warn, #b26a00); margin-top: 6px; }
.app-cliente .kc-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--sz-text-2); }
.app-cliente .kc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.app-cliente .kc-tags span { font-size: 12px; color: var(--sz-text-3); }
.app-cliente .kc-estoque { margin: 0; font-size: 12.5px; }

/* Rodapé de compra */
.app-cliente .kc-buy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 12; display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: color-mix(in srgb, var(--sz-surface) 94%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--sz-border); }
.app-cliente .kc-screen .kc-scroll:has(.kc-buy) { padding-bottom: 120px; }
.app-cliente .kc-buy .btn { flex: 1; }
.app-cliente .kc-buy-t { display: grid; line-height: 1.2; }
.app-cliente .kc-buy-t small { color: var(--sz-text-3); font-size: 11.5px; }
.app-cliente .kc-buy-t b { font-size: 18px; font-weight: 800; }
.app-cliente .kc-qty { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 14px; background: var(--sz-surface-2); }
.app-cliente .kc-qty button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 0; background: var(--sz-surface); color: var(--sz-text); font-size: 18px; font-weight: 700; cursor: pointer; }
.app-cliente .kc-qty b { min-width: 22px; text-align: center; }
.app-cliente .kc-qty.sm button { width: 30px; height: 30px; font-size: 15px; }
.app-cliente .kc-qty.sm button .icon { width: 15px; height: 15px; color: var(--sz-danger); }

/* ---------- Buscar / pedidos (cabeçalho de aba) ---------- */
.app-cliente .kc-bhead { position: sticky; top: 0; z-index: 6; padding: 58px 0 4px; background: color-mix(in srgb, var(--sz-bg) 94%, transparent); backdrop-filter: blur(12px); }
.app-cliente .kc-bhead h1 { font-size: 28px; font-weight: 800; padding: 0 16px 10px; }
.app-cliente .kc-bfield { display: flex; align-items: center; gap: 10px; margin: 0 16px; height: 48px; padding: 0 14px; border-radius: 14px; background: var(--sz-surface); border: 1px solid var(--sz-border-2); }
.app-cliente .kc-bfield:focus-within { border-color: var(--kp-neon); box-shadow: var(--sz-ring); }
.app-cliente .kc-binput { flex: 1; border: 0; outline: 0; background: none; color: var(--sz-text); font-size: 15px; }
.app-cliente .kc-rlist { display: grid; gap: 10px; }
.app-cliente .kc-ritem { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 16px; background: var(--sz-surface); border: 1px solid var(--sz-border); cursor: pointer; }
.app-cliente .kc-ritem .kimg { border-radius: 12px; background: #fff; }
.app-cliente .kc-ritem > div { display: grid; gap: 2px; min-width: 0; }
.app-cliente .kc-ritem h4 { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cliente .kc-ritem small { color: var(--sz-text-3); font-size: 12px; }
.app-cliente .kc-h3 { font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; color: var(--sz-text-3); margin: 18px 0 10px; }
.app-cliente .kc-h3:first-child { margin-top: 4px; }

/* ---------- Cards genéricos ---------- */
.app-cliente .kc-card { background: var(--sz-surface); border: 1px solid var(--sz-border); border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.app-cliente .kc-card-h { display: flex; align-items: center; gap: 8px; }
.app-cliente .kc-card-h .icon { width: 18px; height: 18px; color: var(--kp-neon); }
:root[data-theme="light"] .app-cliente .kc-card-h .icon { color: var(--kp-forest); }
.app-cliente .kc-card-h b { flex: 1; }
.app-cliente .kc-checkout, .app-cliente .kc-ped { display: grid; gap: 12px; }
.app-cliente .kc-citem { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; }
.app-cliente .kc-citem .kimg { border-radius: 10px; background: #fff; }
.app-cliente .kc-citem > div:not(.kc-qty) { display: grid; gap: 1px; min-width: 0; }
.app-cliente .kc-citem h4 { font-size: 13.5px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-cliente .kc-citem small { color: var(--sz-text-3); font-size: 12px; }
.app-cliente .kc-hubsel { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--sz-border-2); background: var(--sz-surface-2); color: var(--sz-text); cursor: pointer; text-align: left; }
.app-cliente .kc-hubsel > span:first-child { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--kp-forest); color: var(--kp-neon); }
.app-cliente .kc-hubsel > span:nth-child(2) { flex: 1; display: grid; }
.app-cliente .kc-hubsel small { color: var(--sz-text-3); font-size: 12px; }
.app-cliente .kc-hubsel em { font-style: normal; color: var(--kp-neon); font-weight: 700; font-size: 13px; }
.app-cliente .kc-aviso { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 12.5px; color: var(--sz-text-2); }
.app-cliente .kc-aviso .icon { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--sz-ice-500); }
.app-cliente .kc-cupom { display: flex; gap: 8px; }
.app-cliente .kc-cupom .input { text-transform: uppercase; }
.app-cliente .kc-resumo { gap: 6px; }
.app-cliente .kc-resumo > div { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--sz-text-2); }
.app-cliente .kc-resumo > div b { color: var(--sz-text); }
.app-cliente .kc-resumo .ok b { color: var(--kp-neon); }
.app-cliente .kc-resumo .tot { padding-top: 8px; margin-top: 2px; border-top: 1px dashed var(--sz-border-2); font-size: 16px; }
.app-cliente .kc-resumo .tot span { color: var(--sz-text); font-weight: 700; }
.app-cliente .kc-resumo .tot b { font-weight: 800; }
.app-cliente .kc-resumo p { margin: 4px 0 0; font-size: 12px; }
.app-cliente .kc-resumo.in { padding-top: 6px; border-top: 1px solid var(--sz-border); }
.app-cliente .kc-termos { display: flex; gap: 8px; margin: 0; font-size: 12px; color: var(--sz-text-3); }
.app-cliente .kc-termos .icon { width: 15px; height: 15px; flex: none; }

/* Hubs (modal) */
.app-cliente .kc-hubs { display: grid; gap: 10px; }
.app-cliente .kc-hubcard { display: grid; grid-template-columns: auto 64px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 16px; border: 1.5px solid var(--sz-border-2); cursor: pointer; transition: border-color .15s, background .15s; }
.app-cliente .kc-hubcard:has(input:checked) { border-color: var(--kp-neon); background: var(--sz-blue-050); }
.app-cliente .kc-hubcard.off { opacity: .5; cursor: not-allowed; }
.app-cliente .kc-hubcard input { accent-color: var(--kp-neon); }
.app-cliente .kc-hub-foto { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.app-cliente .kc-hub-b { display: grid; gap: 3px; }
.app-cliente .kc-hub-b small { color: var(--sz-text-3); font-size: 11.5px; }
.app-cliente .kc-hub-b em { color: var(--sz-danger); font-size: 11.5px; font-style: normal; }
.app-cliente .kc-livres { display: flex; gap: 5px; }
.app-cliente .kc-hubalt { display: grid; gap: 2px; text-align: left; padding: 12px; border-radius: 14px; border: 1.5px solid var(--sz-border-2); background: var(--sz-surface); color: var(--sz-text); cursor: pointer; }
.app-cliente .kc-hubalt:hover { border-color: var(--kp-neon); }
.app-cliente .kc-hubalt small { color: var(--sz-text-3); }

/* ---------- Pix ---------- */
.app-cliente .kc-pix { display: grid; gap: 14px; }
.app-cliente .kc-pix-h { text-align: center; display: grid; gap: 4px; }
.app-cliente .kc-pix-h h1 { font-size: 34px; font-weight: 800; }
.app-cliente .kc-pix-h p { margin: 0; font-size: 13px; }
.app-cliente .kc-qrbox { justify-self: center; display: grid; justify-items: center; gap: 8px; padding: 16px; border-radius: 20px; background: #fff; }
.app-cliente .kc-qrbox small { color: #59605a; font-size: 11px; }
.app-cliente .kc-copia { display: grid; gap: 8px; }
.app-cliente .kc-copia code { display: block; padding: 10px; border-radius: 12px; background: var(--sz-surface-2); font: 11px var(--sz-mono); color: var(--sz-text-2); word-break: break-all; max-height: 58px; overflow: hidden; }
.app-cliente .kc-ok { display: grid; justify-items: center; text-align: center; gap: 10px; padding-top: 40px; }
.app-cliente .kc-ok-ic { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--kp-neon); color: #0d2410; animation: pop .5s var(--ease-spring); }
.app-cliente .kc-ok-ic .icon { width: 44px; height: 44px; stroke-width: 2.6; }
.app-cliente .kc-ok h1 { font-size: 24px; font-weight: 800; }

/* ---------- Pedidos ---------- */
.app-cliente .kc-pcard { display: grid; gap: 6px; padding: 14px; margin-bottom: 10px; border-radius: 18px; background: var(--sz-surface); border: 1px solid var(--sz-border); cursor: pointer; transition: transform .15s; }
.app-cliente .kc-pcard:hover { transform: translateY(-1px); }
.app-cliente .kc-pcard.destaque { border-color: var(--kp-neon); box-shadow: 0 0 0 3px rgb(61 233 15 / 14%); }
.app-cliente .kc-pcard-t { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app-cliente .kc-pcard p { margin: 0; font-size: 13px; color: var(--sz-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.app-cliente .kc-pcard-f { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--sz-text-2); }
.app-cliente .kc-pcard-f span { display: inline-flex; align-items: center; gap: 4px; }
.app-cliente .kc-pcard-f .icon { width: 13px; height: 13px; }
.app-cliente .kc-pcard-cta { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--kp-neon); color: #0d2410; font-weight: 750; font-size: 13px; }
.app-cliente .kc-pcard-cta .icon { width: 16px; height: 16px; }

.app-cliente .kc-status { display: grid; gap: 8px; padding: 16px; border-radius: 20px; background: var(--sz-surface); border: 1px solid var(--sz-border); }
.app-cliente .kc-status .kst { justify-self: start; }
.app-cliente .kc-status h1 { font-size: 22px; font-weight: 800; }
.app-cliente .kc-status p { margin: 0 0 6px; font-size: 13.5px; }
.app-cliente .kc-status.st-available_for_pickup { background: radial-gradient(260px 160px at 100% 0%, rgb(61 233 15 / 20%), transparent 70%), var(--sz-surface); border-color: color-mix(in srgb, var(--kp-neon) 50%, transparent); }
.app-cliente .kc-status.st-cancelled, .app-cliente .kc-status.st-expired { border-color: color-mix(in srgb, var(--sz-danger) 40%, transparent); }

.app-cliente .kc-retirada { display: grid; gap: 10px; }
.app-cliente .kc-pin { display: grid; justify-items: center; gap: 10px; padding: 18px 16px; border-radius: 22px; text-align: center; color: #fff; background: radial-gradient(260px 200px at 100% 0%, rgb(61 233 15 / 25%), transparent 70%), linear-gradient(160deg, #0b5e38, #04422b); }
.app-cliente .kc-pin small { color: rgb(255 255 255 / 75%); font-size: 12px; }
.app-cliente .kc-pin .btn-ghost { color: #fff; }
.app-cliente .kc-pin-dig { display: flex; gap: 6px; }
.app-cliente .kc-pin-dig b { display: grid; place-items: center; width: 42px; height: 54px; border-radius: 12px; background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 22%); font: 800 28px var(--sz-mono); color: var(--kp-neon); }
.app-cliente .kc-pin .kc-qr { border-radius: 12px; }
.app-cliente .kc-pin.vazio { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; }
.app-cliente .kc-pin.vazio > .icon { width: 30px; height: 30px; color: var(--kp-neon); }
.app-cliente .kc-pin.vazio > div { display: grid; gap: 2px; }

.app-cliente .kc-hubinfo { grid-template-columns: 96px 1fr; align-items: center; }
.app-cliente .kc-hubinfo .kimg { aspect-ratio: 1; border-radius: 12px; }
.app-cliente .kc-hubinfo > div { display: grid; gap: 3px; }
.app-cliente .kc-hubinfo small { color: var(--sz-text-2); font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }
.app-cliente .kc-hubinfo small .icon { width: 13px; height: 13px; }
.app-cliente .kc-hist summary { cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 650; list-style: none; }
.app-cliente .kc-hist summary .icon { width: 17px; height: 17px; color: var(--sz-text-3); }
.app-cliente .kc-hist[open] summary { margin-bottom: 8px; }
.app-cliente .kc-danger { color: var(--sz-danger) !important; }

/* Avaliação */
.app-cliente .kc-aval label { font-size: 12.5px; color: var(--sz-text-2); font-weight: 600; }
.app-cliente .kc-stars { display: flex; gap: 6px; }
.app-cliente .kc-stars button { border: 0; background: none; font-size: 30px; line-height: 1; color: var(--sz-surface-3); cursor: pointer; padding: 0; transition: transform .15s var(--ease-spring), color .15s; }
.app-cliente .kc-stars button.on { color: #f5b301; transform: scale(1.08); }
.app-cliente .kc-aval.feito p { margin: 0; color: #f5b301; }
.app-cliente .kc-aval.feito p.muted { color: var(--sz-text-2); }

/* Modal: tipos de problema */
.app-cliente .kc-tipos { display: grid; gap: 6px; margin-bottom: 12px; }
.app-cliente .kc-tipo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--sz-border-2); cursor: pointer; font-size: 13.5px; }
.app-cliente .kc-tipo:has(input:checked) { border-color: var(--kp-neon); background: var(--sz-blue-050); }
.app-cliente .kc-tipo input { accent-color: var(--kp-neon); }
.app-cliente .kc-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--sz-text-2); }

/* ---------- Perfil e notificações ---------- */
.app-cliente .kc-phead { display: flex; align-items: center; gap: 14px; padding: 62px 16px 20px; background: linear-gradient(160deg, #0b5e38, #04422b); color: #fff; border-radius: 0 0 26px 26px; }
.app-cliente .kc-phead .avatar { width: 56px; height: 56px; font-size: 20px; }
.app-cliente .kc-phead h1 { font-size: 20px; font-weight: 800; }
.app-cliente .kc-phead small { color: rgb(255 255 255 / 75%); }
.app-cliente .kc-menu { display: grid; margin: 14px 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--sz-border); background: var(--sz-surface); }
.app-cliente .kc-menu button { display: flex; align-items: center; gap: 12px; padding: 14px; border: 0; border-bottom: 1px solid var(--sz-border); background: none; color: var(--sz-text); font-size: 14px; cursor: pointer; text-align: left; }
.app-cliente .kc-menu button:last-child { border-bottom: 0; }
.app-cliente .kc-menu button > span { flex: 1; display: grid; }
.app-cliente .kc-menu button small { color: var(--sz-text-3); font-size: 12px; }
.app-cliente .kc-menu button > .icon:first-child { color: var(--kp-neon); }
:root[data-theme="light"] .app-cliente .kc-menu button > .icon:first-child { color: var(--kp-forest); }
.app-cliente .kc-menu button > .icon:last-child { color: var(--sz-text-3); width: 16px; }
.app-cliente .kc-notifs { display: grid; gap: 8px; }
.app-cliente .kc-notif { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 12px; border-radius: 16px; background: var(--sz-surface); border: 1px solid var(--sz-border); }
.app-cliente .kc-notif[data-ped] { cursor: pointer; }
.app-cliente .kc-notif > span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--sz-surface-3); color: var(--sz-text-2); }
.app-cliente .kc-notif.nova > span { background: var(--kp-neon); color: #0d2410; }
.app-cliente .kc-notif p { margin: 2px 0; font-size: 13px; color: var(--sz-text-2); }
.app-cliente .kc-notif small { color: var(--sz-text-3); font-size: 11.5px; }
.app-cliente .kc-rodape { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px 16px 8px; font-size: 12px; color: var(--sz-text-3); text-align: center; }
.app-cliente .kc-termostxt p { font-size: 13.5px; line-height: 1.5; }
.app-cliente .kc-criar { margin-top: 4px; }

/* Sacola sempre visível: espaço extra no fim das listas para ela não cobrir conteúdo */
.app-cliente .kc.com-sacola .kc-base > * { padding-bottom: 84px; }
.app-cliente .kc.com-sacola .kc-scroll { padding-bottom: 170px; }
.app-cliente .kc-bag { transition: bottom .2s var(--ease); }
.app-cliente .kc-bag-n { position: relative; width: 38px; }
.app-cliente .kc-bag-n .icon { width: 20px; height: 20px; }
.app-cliente .kc-bag-n i { position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: #fff; color: #0b5e38; font: 800 11px/19px var(--sz-font); font-style: normal; text-align: center; }

/* Comprovante */
.app-cliente .kc-recibo { gap: 12px; text-align: left; justify-self: stretch; }
.app-cliente .kc-recibo-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--sz-border-2); }
.app-cliente .kc-recibo-h span { display: grid; text-align: right; font-size: 11.5px; color: var(--sz-text-3); }
.app-cliente .kc-recibo-h b { font: 700 14px var(--sz-mono); color: var(--sz-text); }
.app-cliente .kc-recibo-sec { display: grid; gap: 8px; }
.app-cliente .kc-recibo-sec h5 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; }
.app-cliente .kc-recibo-sec h5 .icon { width: 16px; height: 16px; color: var(--kp-neon); }
.app-cliente .kc-recibo-sec > small { color: var(--sz-text-3); font-size: 12px; margin-top: -6px; }
.app-cliente .kc-recibo .kc-resumo { padding: 10px 0; border-top: 1px dashed var(--sz-border-2); border-bottom: 1px dashed var(--sz-border-2); }
.app-cliente .kc-recibo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.app-cliente .kc-recibo-grid > div { display: grid; gap: 1px; min-width: 0; }
.app-cliente .kc-recibo-grid small { color: var(--sz-text-3); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.app-cliente .kc-recibo-grid b { font-size: 13px; overflow-wrap: anywhere; }
.app-cliente .kc-recibo-grid .mono { font: 600 11.5px var(--sz-mono); }
.app-cliente .kc-ok .kc-recibo { width: 100%; margin: 6px 0; }

/* Visitante (sem login, como no iFood) */
.app-cliente .kc-local { display: flex; align-items: center; gap: 8px; margin-bottom: -6px; font-size: 12.5px; color: rgb(255 255 255 / 78%); }
.app-cliente .kc-local > .icon { width: 15px; height: 15px; color: var(--kp-neon); flex: none; }
.app-cliente .kc-local b { color: #fff; font-weight: 600; }
.app-cliente .kc-local em { font-style: normal; color: rgb(255 255 255 / 50%); }
.app-cliente .kc-auth { position: absolute; inset: 0; z-index: 40; overflow-y: auto; background: var(--sz-bg); transform: translateY(100%); transition: transform .3s var(--ease); }
.app-cliente .kc-auth.in { transform: none; }
.app-cliente .kc-auth.out { transform: translateY(100%); }
.app-cliente .kc-auth-x { position: absolute; top: 56px; right: 14px; z-index: 50; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--sz-border); border-radius: 50%; background: var(--sz-surface); color: var(--sz-text); cursor: pointer; }
.app-cliente .kc-auth-x .icon { width: 18px; height: 18px; }
.app-cliente .kc-auth .kc-criar { margin-top: 10px; }
.app-cliente .kc-guest { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: 24px; padding: 28px 20px; border: 1px solid var(--sz-border); border-radius: 20px; background: var(--sz-surface); }
.app-cliente .kc-guest-i { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: rgb(61 233 15 / 14%); color: var(--kp-neon); margin-bottom: 4px; }
.app-cliente .kc-guest-i .icon { width: 28px; height: 28px; }
.app-cliente .kc-guest h2 { margin: 0; font-size: 18px; }
.app-cliente .kc-guest p { margin: 0 0 8px; }
/* Sem foto (ou foto que não carregou): inicial no verde Keepit */
.app-cliente .kc-ph { display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, rgb(61 233 15 / 28%), transparent 60%), linear-gradient(160deg, #0b5e38, #04422b); }
.app-cliente .kc-ph b { font-size: 34px; font-weight: 800; color: rgb(255 255 255 / 85%); line-height: 1; }
/* Arrastar com o mouse como dedo (core/arrastar.js) */
.phone-screen.arrastando, .phone-screen.arrastando * { cursor: grabbing !important; user-select: none !important; }
.app-cliente .kc-carrossel { touch-action: pan-y; cursor: grab; }
/* Taxa de entrega por distância (cotação na escolha da cabine) */
.app-cliente .kc-hub-frete { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; color: var(--sz-text-2); white-space: nowrap; }
.app-cliente .kc-hub-frete .icon { width: 13px; height: 13px; color: var(--kp-neon); }
.app-cliente .kc-hub-frete b { color: var(--kp-neon); }
.app-cliente .kc-resumo .tot { border-top: 1px dashed var(--sz-border); padding-top: 8px; margin-top: 4px; }
.app-cliente .kc-resumo .tot b { font-size: 16px; }
/* Nada passa da largura da tela do app: textos longos quebram linha dentro dos cartões */
.app-cliente .kc-card, .app-cliente .kc-cabe, .app-cliente .kc-hubinfo, .app-cliente .kc-hubsel, .app-cliente .kc-pad { max-width: 100%; min-width: 0; }
.app-cliente .kc-card small, .app-cliente .kc-hubinfo small, .app-cliente .kc-hubsel small, .app-cliente .kc-hub-b small, .app-cliente .kc-hub-b em { overflow-wrap: anywhere; white-space: normal; }
/* A lista de base forma a própria camada: o título fixo dela (kc-bhead) não passa por cima das telas empilhadas (kc-screen) */
.app-cliente .kc-base { z-index: 0; }
