/* =========================================================
   Pede Icoaraci - Estilo principal (área pública + login)
   Identidade: verde-musgo, cantos arredondados, profundidade sutil
   ========================================================= */
:root {
	/* Paleta vinho açaí (os nomes "musgo" foram mantidos por compatibilidade com as classes) */
	--musgo-950: #1f0516;
	--musgo-900: #33091f;
	--musgo-800: #4f0f33;
	--musgo-700: #6b1645;
	--musgo-600: #8a2259;
	--musgo-500: #a8346f;
	--musgo-300: #e0a6c4;
	--musgo-100: #f6e2ec;
	--musgo-50: #fbf3f7;
	--ambar: #f2a33a;
	--ambar-escuro: #b86e0e;
	--ouro: linear-gradient(135deg, #fbd78b 0%, #f2a33a 55%, #d9822b 100%);
	--fundo: #f8f4f6;
	--texto: #24121c;
	--texto-2: #6a5562;
	--texto-3: #9a8792;
	--borda: rgba(51, 9, 31, .09);
	--perigo: #c0392b;
	--sucesso: #2f8a4c;
	--raio: 18px;
	--raio-sm: 12px;
	--sombra-1: 0 1px 2px rgba(51, 9, 31, .06), 0 4px 14px rgba(51, 9, 31, .05);
	--sombra-2: 0 2px 4px rgba(51, 9, 31, .06), 0 16px 38px rgba(51, 9, 31, .12);
	--grad-musgo: linear-gradient(140deg, #a3306d 0%, #6b1645 42%, #2a0719 100%);
	--loja-cor: #6b1645;
	--loja-rgb: 107, 22, 69;
	--fonte: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
	font-family: var(--fonte);
	background: var(--fundo);
	color: var(--texto);
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--musgo-700); text-decoration: none; }
a:hover { color: var(--musgo-900); }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }
.text-muted { color: var(--texto-2) !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bolder { font-weight: 800 !important; }
::selection { background: var(--musgo-100); }

/* ---------- Botões ---------- */
.btn { border-radius: 14px; font-weight: 600; padding: .6rem 1.1rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg { border-radius: 16px; padding: .85rem 1.3rem; font-size: 1.02rem; }
.btn-sm { border-radius: 10px; padding: .35rem .7rem; font-size: .84rem; }
.btn-musgo {
	color: #fff; border: 0;
	background: linear-gradient(180deg, #b03d78 0%, #6b1645 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 6px 16px rgba(107, 22, 69, .32);
}
.btn-musgo:hover, .btn-musgo:focus { color: #fff; background: linear-gradient(180deg, #9b2f66 0%, #4f0f33 100%); }
.btn-musgo:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 3px 8px rgba(107, 22, 69, .3); }
.btn-ambar { color: #3d2604; border: 0; background: linear-gradient(180deg, #f8bd62, #f2a33a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 14px rgba(242, 163, 58, .35); }
.btn-ambar:hover { color: #3d2604; background: linear-gradient(180deg, #f6b24c, #e39327); }
.btn-claro { background: #fff; color: var(--texto); border: 1px solid var(--borda); box-shadow: var(--sombra-1); }
.btn-claro:hover { background: var(--musgo-50); color: var(--musgo-800); }
.btn-fantasma { background: transparent; color: var(--texto-2); border: 0; }
.btn-fantasma:hover { background: rgba(51, 9, 31, .06); color: var(--texto); }
.btn-icone { width: 42px; height: 42px; padding: 0; border-radius: 14px; }
.btn-loja { color: #fff; border: 0; background: var(--loja-cor); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 16px rgba(0, 0, 0, .18); }
.btn-loja:hover, .btn-loja:focus { color: #fff; filter: brightness(.93); }
.btn-whats { background: #1faa59; color: #fff; border: 0; box-shadow: 0 6px 14px rgba(31, 170, 89, .3); }
.btn-whats:hover { background: #178a47; color: #fff; }

/* ---------- Formulários ---------- */
.form-control, .form-select {
	border-radius: 14px; border: 1px solid rgba(51, 9, 31, .14); padding: .65rem .9rem; background-color: #fff;
	font-size: .97rem;
}
.form-control:focus, .form-select:focus { border-color: var(--musgo-500); box-shadow: 0 0 0 .2rem rgba(168, 52, 111, .16); }
.form-label { font-weight: 600; color: var(--texto-2); font-size: .85rem; margin-bottom: .3rem; }
.form-check-input:checked { background-color: var(--musgo-600); border-color: var(--musgo-600); }
.form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(168, 52, 111, .16); border-color: var(--musgo-500); }
.input-icone { position: relative; }
.input-icone .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-3); }
.input-icone .form-control { padding-left: 2.6rem; }

/* ---------- Cartões ---------- */
.pi-card { background: #fff; border-radius: var(--raio); border: 1px solid var(--borda); box-shadow: var(--sombra-1); }
.pi-badge { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--musgo-100); color: var(--musgo-800); }
.pi-badge.aberta { background: #dff3e4; color: #1d6b37; }
.pi-badge.fechada { background: #f3e6e3; color: #8b2f22; }
.pi-badge.promo { background: #fdebd0; color: #8a4f06; }
.pi-badge.destaque { background: linear-gradient(135deg, #f8bd62, #f2a33a); color: #3d2604; }
.pi-ponto { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }

/* =========================================================
   CABEÇALHO PÚBLICO
   ========================================================= */
.pi-topo {
	background: var(--grad-musgo);
	color: #fff;
	position: relative;
	overflow: hidden;
}
.pi-topo::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(640px 240px at 85% -40px, rgba(240, 140, 190, .35), transparent 70%),
		radial-gradient(400px 200px at 0% 120%, rgba(242, 163, 58, .18), transparent 70%);
}
.pi-barra { position: relative; display: flex; align-items: center; gap: .75rem; padding: .85rem 0; }
.pi-marca { display: flex; align-items: center; gap: .6rem; color: #fff; font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
.pi-marca:hover { color: #fff; }
.pi-logo-bolha {
	width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; font-size: .95rem; color: #fff;
	background: linear-gradient(145deg, #c2508b, #6b1645); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 4px 10px rgba(0, 0, 0, .25);
}
.pi-marca small { display: block; font-weight: 500; font-size: .72rem; opacity: .75; margin-top: -2px; }
.pi-nav-topo { margin-left: auto; display: flex; gap: .35rem; }
.pi-nav-topo a { color: rgba(255, 255, 255, .85); padding: .45rem .8rem; border-radius: 12px; font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.pi-nav-topo a:hover, .pi-nav-topo a.ativo { background: rgba(255, 255, 255, .12); color: #fff; }

.pi-hero { position: relative; padding: .4rem 0 1.6rem; }
.pi-hero h1 { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.45rem, 4.5vw, 2.3rem); margin-bottom: .35rem; }
.pi-hero p { color: rgba(255, 255, 255, .78); max-width: 560px; margin-bottom: 1rem; }
.pi-busca {
	display: flex; gap: .5rem; background: #fff; border-radius: 18px; padding: .35rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	max-width: 720px;
}
.pi-busca .input-icone { flex: 1; }
.pi-busca .form-control { border: 0; box-shadow: none !important; background: transparent; }
.pi-busca .form-select { border: 0; box-shadow: none !important; max-width: 170px; background-color: var(--musgo-50); border-radius: 14px; font-weight: 600; color: var(--musgo-800); }
.pi-busca .btn { border-radius: 14px; }

/* ---------- Chips de atividades ---------- */
.pi-chips { display: flex; gap: .6rem; overflow-x: auto; padding: 1rem 0 .4rem; scrollbar-width: none; }
.pi-chips::-webkit-scrollbar { display: none; }
.pi-chip {
	flex: none; display: flex; flex-direction: column; align-items: center; gap: .35rem; width: 78px; padding: .6rem .2rem .55rem;
	border-radius: 18px; background: #fff; border: 1px solid var(--borda); color: var(--texto); font-size: .76rem; font-weight: 600;
	box-shadow: var(--sombra-1); transition: transform .15s ease, box-shadow .15s ease;
}
.pi-chip .ic { width: 26px; height: 26px; color: var(--musgo-600); }
.pi-chip:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); color: var(--texto); }
.pi-chip.ativo { background: var(--grad-musgo); color: #fff; border-color: transparent; }
.pi-chip.ativo .ic { color: #fff; }

/* ---------- Seções ---------- */
.pi-secao { margin-top: 1.4rem; }
.pi-secao-titulo { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.pi-secao-titulo h2 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; margin: 0; }
.pi-filtros { display: flex; gap: .5rem; flex-wrap: wrap; }
.pi-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--borda); font-size: .84rem; font-weight: 600; color: var(--texto-2); }
.pi-toggle.ativo { background: var(--musgo-100); color: var(--musgo-800); border-color: var(--musgo-300); }

/* ---------- Cartão de loja ---------- */
.pi-lojas { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.pi-loja-card {
	display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--borda);
	box-shadow: var(--sombra-1); color: var(--texto); transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.pi-loja-card:hover { transform: translateY(-3px); box-shadow: var(--sombra-2); color: var(--texto); }
.pi-loja-card.fechada .pi-loja-capa { filter: grayscale(.75) brightness(.95); }
.pi-loja-capa { height: 104px; background-size: cover; background-position: center; position: relative; }
.pi-loja-capa .pi-badge { position: absolute; top: 10px; right: 10px; }
.pi-loja-corpo { padding: .2rem 1rem 1rem; display: flex; gap: .8rem; position: relative; z-index: 1; }
.pi-loja-logo {
	width: 62px; height: 62px; border-radius: 18px; margin-top: -26px; flex: none; background: #fff center/cover no-repeat; border: 3px solid #fff;
	box-shadow: 0 6px 14px rgba(0, 0, 0, .14); display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.15rem;
}
.pi-loja-info { min-width: 0; padding-top: .55rem; flex: 1; }
.pi-loja-info h3 { font-size: 1rem; font-weight: 800; margin: 0 0 .1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-loja-meta { display: flex; flex-wrap: wrap; gap: .2rem .7rem; font-size: .8rem; color: var(--texto-2); }
.pi-loja-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.pi-loja-meta .ic { width: 15px; height: 15px; }
.pi-loja-status { font-size: .78rem; font-weight: 700; margin-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; }
.pi-loja-status.aberta { color: #1d6b37; }
.pi-loja-status.fechada { color: #8b2f22; }

/* ---------- Resultado de produtos (busca) ---------- */
.pi-produtos-busca { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }

/* =========================================================
   PÁGINA DA LOJA
   ========================================================= */
.pi-loja-topo { position: relative; background: var(--loja-cor); color: #fff; }
.pi-loja-topo .pi-capa-img { height: 190px; background-size: cover; background-position: center; position: relative; }
.pi-loja-topo .pi-capa-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .35) 100%); }
.pi-loja-acoes { position: absolute; top: 12px; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; }
.pi-loja-acoes .btn { background: rgba(255, 255, 255, .92); color: var(--texto); backdrop-filter: blur(6px); }
.pi-loja-cabecalho { background: #fff; color: var(--texto); border-radius: 24px 24px 0 0; margin-top: -26px; position: relative; z-index: 1; padding: 0 0 .6rem; }
.pi-loja-cabecalho .pi-loja-logo { width: 84px; height: 84px; border-radius: 24px; margin-top: -42px; font-size: 1.5rem; }
.pi-loja-cabecalho h1 { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; margin: .55rem 0 .15rem; }
.pi-info-linha { display: flex; gap: .5rem; overflow-x: auto; padding: .7rem 0 .2rem; scrollbar-width: none; }
.pi-info-linha::-webkit-scrollbar { display: none; }
.pi-info-item { flex: none; background: var(--fundo); border-radius: 14px; padding: .45rem .75rem; font-size: .8rem; color: var(--texto-2); }
.pi-info-item strong { display: block; color: var(--texto); font-size: .88rem; }
.pi-aviso-fechada { background: #fdf1ee; color: #8b2f22; border: 1px solid #f3d5cf; border-radius: 14px; padding: .65rem .9rem; font-size: .88rem; font-weight: 600; display: flex; gap: .5rem; align-items: center; }

.pi-cats {
	position: sticky; top: 0; z-index: 20; background: rgba(248, 244, 246, .9); backdrop-filter: blur(10px);
	padding: .6rem 0; border-bottom: 1px solid var(--borda);
}
.pi-cats .container { overflow-x: auto; scrollbar-width: none; }
.pi-cats .container::-webkit-scrollbar { display: none; }
.pi-cats a { flex: none; padding: .45rem .9rem; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--texto-2); background: #fff; border: 1px solid var(--borda); }
.pi-cats a.ativo { background: var(--loja-cor); color: #fff; border-color: transparent; }

.pi-cat-titulo { font-size: 1.08rem; font-weight: 800; margin: 1.4rem 0 .7rem; scroll-margin-top: 70px; }
.pi-grade-produtos { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: .75rem; }
.pi-produto {
	display: flex; gap: .85rem; background: #fff; border-radius: 18px; padding: .8rem; border: 1px solid var(--borda); box-shadow: var(--sombra-1);
	cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; text-align: left; width: 100%; color: var(--texto);
}
.pi-produto:hover { transform: translateY(-2px); box-shadow: var(--sombra-2); }
.pi-produto-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pi-produto-txt h3 { font-size: .97rem; font-weight: 700; margin: 0 0 .2rem; }
.pi-produto-txt p { font-size: .82rem; color: var(--texto-2); margin: 0 0 .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pi-preco { font-weight: 800; color: var(--texto); margin-top: auto; }
.pi-preco s { color: var(--texto-3); font-weight: 500; font-size: .82rem; margin-left: .3rem; }
.pi-preco.promo { color: #1d6b37; }
.pi-produto-img {
	width: 96px; height: 96px; border-radius: 14px; flex: none; background: var(--musgo-50) center/cover no-repeat; position: relative;
	display: grid; place-items: center; color: var(--loja-cor);
}
.pi-produto-img .ic { width: 34px; height: 34px; opacity: .55; }
.pi-produto-img .pi-add {
	position: absolute; right: -6px; bottom: -6px; width: 34px; height: 34px; border-radius: 12px; background: #fff; color: var(--loja-cor);
	display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.pi-produto-img .pi-add .ic { width: 20px; height: 20px; opacity: 1; }
.pi-destaques { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: none; }
.pi-destaques::-webkit-scrollbar { display: none; }
.pi-destaque {
	flex: none; width: 168px; background: #fff; border-radius: 18px; border: 1px solid var(--borda); box-shadow: var(--sombra-1); overflow: hidden;
	cursor: pointer; text-align: left; padding: 0; color: var(--texto);
}
.pi-destaque .pi-produto-img { width: 100%; height: 112px; border-radius: 0; }
.pi-destaque div.txt { padding: .6rem .7rem .7rem; }
.pi-destaque h3 { font-size: .86rem; font-weight: 700; margin: 0 0 .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Barra do carrinho ---------- */
.pi-carrinho-barra {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: .7rem 1rem calc(.7rem + var(--safe-bottom));
	transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease;
}
.pi-carrinho-barra.visivel { transform: translateY(0); opacity: 1; visibility: visible; }
.pi-carrinho-barra .btn { width: 100%; max-width: 680px; margin: 0 auto; display: flex; justify-content: space-between; padding: .9rem 1.1rem; border-radius: 18px; font-size: 1rem; }
.pi-carrinho-qtd { background: rgba(255, 255, 255, .22); border-radius: 10px; padding: .1rem .55rem; font-size: .85rem; }
body.tem-carrinho { padding-bottom: 92px; }

/* ---------- Modais / bottom sheet ---------- */
.modal-content { border-radius: 24px; border: 0; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-header { border-bottom: 1px solid var(--borda); }
.modal-footer { border-top: 1px solid var(--borda); }
@media (max-width: 575.98px) {
	.modal.pi-sheet .modal-dialog { margin: 0; position: fixed; bottom: 0; left: 0; right: 0; max-width: none; min-height: 0; height: auto; display: block; }
	.modal.pi-sheet .modal-dialog-scrollable { height: auto; max-height: 92vh; }
	.modal.pi-sheet .modal-dialog-scrollable .modal-content { max-height: 92vh; }
	.modal.pi-sheet .modal-content { border-radius: 24px 24px 0 0; max-height: 92vh; }
	.modal.pi-sheet.fade .modal-dialog { transform: translateY(100%); transition: transform .28s ease-out; }
	.modal.pi-sheet.show .modal-dialog { transform: none; }
	.modal.pi-sheet .modal-body { overflow-y: auto; }
}
.pi-modal-img { height: 210px; border-radius: 18px; background: var(--musgo-50) center/cover no-repeat; display: grid; place-items: center; color: var(--loja-cor); margin-bottom: 1rem; }
.pi-modal-img .ic { width: 64px; height: 64px; opacity: .4; }
.pi-qtd { display: inline-flex; align-items: center; background: var(--fundo); border-radius: 14px; padding: .2rem; }
.pi-qtd button { width: 38px; height: 38px; border: 0; background: #fff; border-radius: 11px; display: grid; place-items: center; box-shadow: var(--sombra-1); color: var(--texto); }
.pi-qtd span { min-width: 38px; text-align: center; font-weight: 800; }
.pi-qtd.pequeno button { width: 30px; height: 30px; border-radius: 9px; }
.pi-qtd.pequeno span { min-width: 28px; font-size: .9rem; }

/* ---------- Checkout ---------- */
.pi-etapas { display: flex; gap: .4rem; margin-bottom: 1rem; }
.pi-etapas span { flex: 1; height: 5px; border-radius: 5px; background: var(--musgo-100); }
.pi-etapas span.ok { background: var(--loja-cor); }
.pi-item-carrinho { display: flex; gap: .75rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed var(--borda); }
.pi-item-carrinho:last-child { border-bottom: 0; }
.pi-item-carrinho .nome { font-weight: 700; font-size: .93rem; }
.pi-item-carrinho .obs { font-size: .78rem; color: var(--texto-2); }
.pi-opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pi-opcoes.tres { grid-template-columns: 1fr 1fr 1fr; }
.pi-opcao { position: relative; }
.pi-opcao input { position: absolute; opacity: 0; pointer-events: none; }
.pi-opcao label {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; padding: .8rem .4rem; border-radius: 16px;
	border: 2px solid var(--borda); background: #fff; font-weight: 700; font-size: .86rem; cursor: pointer; text-align: center; height: 100%;
}
.pi-opcao label small { font-weight: 500; color: var(--texto-2); font-size: .74rem; }
.pi-opcao label .ic { width: 26px; height: 26px; color: var(--texto-2); }
.pi-opcao input:checked + label { border-color: var(--loja-cor); background: color-mix(in srgb, var(--loja-cor) 7%, #fff); }
.pi-opcao input:checked + label .ic { color: var(--loja-cor); }
.pi-resumo { background: var(--fundo); border-radius: 16px; padding: .85rem 1rem; }
.pi-resumo div { display: flex; justify-content: space-between; font-size: .92rem; padding: .15rem 0; }
.pi-resumo .total { font-weight: 800; font-size: 1.08rem; border-top: 1px dashed rgba(51, 9, 31, .2); margin-top: .35rem; padding-top: .5rem; }
.pi-erro { color: var(--perigo); font-size: .86rem; font-weight: 600; }

/* =========================================================
   ACOMPANHAMENTO DO PEDIDO
   ========================================================= */
.pi-pedido-topo { background: var(--loja-cor); color: #fff; padding: 1.4rem 0 3.6rem; position: relative; overflow: hidden; }
.pi-pedido-topo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 90% 0, rgba(255, 255, 255, .18), transparent 70%); }
.pi-pedido-card { margin-top: -2.6rem; position: relative; }
.pi-linha-tempo { list-style: none; padding: 0; margin: 0; }
.pi-linha-tempo li { display: flex; gap: .8rem; position: relative; padding-bottom: 1.1rem; }
.pi-linha-tempo li:last-child { padding-bottom: 0; }
.pi-linha-tempo li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--musgo-100); }
.pi-linha-tempo li:last-child::before { display: none; }
.pi-linha-tempo .bola { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--musgo-100); color: var(--texto-3); flex: none; z-index: 1; }
.pi-linha-tempo li.feito .bola { background: var(--loja-cor); color: #fff; }
.pi-linha-tempo li.atual .bola { box-shadow: 0 0 0 6px color-mix(in srgb, var(--loja-cor) 18%, transparent); animation: pi-pulso 1.6s infinite; }
.pi-linha-tempo li.feito::before { background: var(--loja-cor); }
.pi-linha-tempo .txt strong { display: block; font-size: .95rem; }
.pi-linha-tempo .txt small { color: var(--texto-2); }
.pi-linha-tempo li.pendente .txt strong { color: var(--texto-3); font-weight: 600; }
@keyframes pi-pulso { 0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--loja-cor) 25%, transparent); } 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--loja-cor) 5%, transparent); } }
.pi-pix-box { border: 2px dashed var(--musgo-300); border-radius: 18px; padding: 1rem; text-align: center; background: var(--musgo-50); }
.pi-pix-box canvas, .pi-pix-box img { width: 220px; height: 220px; max-width: 100%; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--sombra-1); image-rendering: pixelated; }
.pi-copia { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .72rem; word-break: break-all; background: #fff; border-radius: 12px; padding: .6rem; border: 1px solid var(--borda); max-height: 80px; overflow: auto; text-align: left; }

/* =========================================================
   NAVEGAÇÃO INFERIOR (mobile) E RODAPÉ
   ========================================================= */
.pi-nav-baixo {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 1020; display: flex; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
	border-top: 1px solid var(--borda); padding-bottom: var(--safe-bottom); box-shadow: 0 -6px 24px rgba(51, 9, 31, .06);
}
.pi-nav-baixo a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .55rem 0 .5rem; font-size: .7rem; font-weight: 700; color: var(--texto-3); }
.pi-nav-baixo a .ic { width: 23px; height: 23px; }
.pi-nav-baixo a.ativo { color: var(--musgo-700); }
body.tem-nav-baixo { padding-bottom: 76px; }
body.tem-nav-baixo .pi-carrinho-barra { bottom: 62px; padding-bottom: .7rem; }
@media (min-width: 768px) {
	.pi-nav-baixo { display: none; }
	body.tem-nav-baixo { padding-bottom: 0; }
	body.tem-nav-baixo .pi-carrinho-barra { bottom: 0; }
	.pi-loja-topo .pi-capa-img { height: 260px; }
	.pi-produto-img { width: 112px; height: 112px; }
}
@media (max-width: 767.98px) { .pi-nav-topo { display: none; } }
.pi-rodape { margin-top: 3rem; padding: 2rem 0 1.5rem; color: var(--texto-2); font-size: .85rem; border-top: 1px solid var(--borda); }
.pi-rodape a { color: var(--texto-2); font-weight: 600; }
.pi-cta-lojista { background: var(--grad-musgo); color: #fff; border-radius: 24px; padding: 1.4rem; position: relative; overflow: hidden; box-shadow: var(--sombra-2); }
.pi-cta-lojista::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.pi-vazio { text-align: center; padding: 2.5rem 1rem; color: var(--texto-2); }
.pi-vazio .ic { width: 48px; height: 48px; color: var(--musgo-300); margin-bottom: .6rem; }

/* ---------- Instalar app ---------- */
.pi-instalar, .pi-nav-topo a.pi-instalar { display: none; }
.pi-instalar.visivel, .pi-nav-topo a.pi-instalar.visivel { display: inline-flex; }

/* ---------- Toast ---------- */
.pi-toast {
	position: fixed; left: 50%; top: 18px; transform: translate(-50%, -150%); z-index: 2000; background: var(--musgo-900); color: #fff;
	padding: .7rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: .9rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transition: transform .25s ease;
	max-width: calc(100% - 32px); display: flex; gap: .5rem; align-items: center; visibility: hidden;
}
.pi-toast.visivel { transform: translate(-50%, 0); visibility: visible; }
.pi-toast.erro { background: #8b2f22; }

/* =========================================================
   TELAS DE LOGIN / INSTALAÇÃO
   ========================================================= */
body.pi-auth {
	min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.2rem;
	background: radial-gradient(900px 500px at 10% -10%, rgba(194, 80, 139, .45), transparent 60%), radial-gradient(800px 500px at 110% 110%, rgba(242, 163, 58, .18), transparent 60%), var(--fundo);
}
.pi-auth-box { width: 100%; max-width: 420px; background: #fff; border-radius: 26px; padding: 1.8rem; box-shadow: var(--sombra-2); border: 1px solid var(--borda); }
.pi-auth-marca { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.pi-auth-marca .pi-logo-bolha { width: 48px; height: 48px; border-radius: 16px; font-size: 1.05rem; }

/* ---------- Esqueleto de carregamento ---------- */
.pi-skeleton { background: linear-gradient(90deg, #efe6eb 25%, #f8f4f6 50%, #efe6eb 75%); background-size: 200% 100%; animation: pi-sk 1.2s infinite; border-radius: 12px; }
@keyframes pi-sk { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}

/* =========================================================
   VERSÃO 1.1 - complementos, avaliações, banners, compartilhar, cookies
   ========================================================= */
.pi-grupo { border: 1px solid var(--borda); border-radius: 16px; padding: .2rem .8rem .5rem; margin-bottom: .8rem; }
.pi-grupo-cab { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem 0 .35rem; border-bottom: 1px dashed var(--borda); margin-bottom: .2rem; }
.pi-grupo-cab small { display: block; color: var(--texto-2); font-size: .76rem; }
.pi-opcao-item { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; cursor: pointer; border-bottom: 1px solid rgba(51, 9, 31, .05); margin: 0; }
.pi-opcao-item:last-child { border-bottom: 0; }
.pi-opcao-item input { width: 1.2rem; height: 1.2rem; accent-color: var(--loja-cor); flex: none; }
.pi-opcao-item input:disabled + .nome { color: var(--texto-3); }
.pi-opcao-item .nome { flex: 1; font-size: .92rem; }
.pi-opcao-item .preco { font-size: .85rem; font-weight: 700; color: var(--texto-2); }
.pi-produto.indisponivel { opacity: .6; }
.pi-produto.indisponivel .pi-add { display: none; }

.pi-estrelas { display: inline-flex; gap: 1px; vertical-align: -2px; }
.pi-estrelas .ic { width: 15px; height: 15px; color: #d9d3c4; }
.pi-estrelas .ic.cheia { color: #f2a33a; }
.pi-estrelas.pequenas .ic { width: 13px; height: 13px; }
.pi-nota { color: #b86e0e; font-weight: 700; }
.pi-nota .ic { color: #f2a33a; }
.pi-nota small { color: var(--texto-3); font-weight: 500; }
.pi-nota.novo { color: var(--musgo-600); background: var(--musgo-100); padding: 0 .45rem; border-radius: 8px; font-size: .72rem; }
.pi-nota-btn { border: 0; background: none; padding: 0; font-size: .85rem; display: inline-flex; align-items: center; gap: .3rem; }
.pi-avaliacao { padding: .8rem 0; border-bottom: 1px solid var(--borda); }
.pi-avaliacao:last-child { border-bottom: 0; }
.pi-resposta { background: var(--fundo); border-radius: 12px; padding: .5rem .7rem; font-size: .85rem; }
.pi-estrelas-escolha { display: flex; gap: .4rem; }
.pi-estrelas-escolha button { border: 0; background: var(--fundo); border-radius: 12px; width: 48px; height: 48px; display: grid; place-items: center; color: #ddd7c8; transition: transform .1s ease; }
.pi-estrelas-escolha button .ic { width: 28px; height: 28px; }
.pi-estrelas-escolha button.ativa { color: #f2a33a; background: #fdf1de; }
.pi-estrelas-escolha button:active { transform: scale(.92); }

.pi-compartilhar { display: inline-flex; gap: .45rem; }
.pi-comp { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff !important; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.pi-comp .ic { width: 21px; height: 21px; }
.pi-comp.whats { background: #1faa59; }
.pi-comp.face { background: #1877f2; }
.pi-comp:hover { filter: brightness(.93); }

.pi-banners { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 0 .2rem; scrollbar-width: none; }
.pi-banners::-webkit-scrollbar { display: none; }
.pi-banner {
	flex: none; width: min(560px, 88%); min-height: 132px; border-radius: 22px; padding: 1.1rem 1.2rem; color: #fff; scroll-snap-align: start;
	background-size: cover; background-position: center; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
	box-shadow: var(--sombra-2);
}
.pi-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05)); }
.pi-banner > * { position: relative; }
.pi-banner strong { font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.pi-banner span { opacity: .9; font-size: .88rem; }
.pi-banner small { position: absolute; top: 10px; right: 12px; font-size: .66rem; background: rgba(0, 0, 0, .35); padding: .1rem .45rem; border-radius: 8px; }
.pi-banner:hover { color: #fff; }

.pi-cookies {
	position: fixed; left: 12px; right: 12px; bottom: 84px; z-index: 1060; max-width: 720px; margin: 0 auto; background: #fff; border-radius: 18px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, .22); padding: .9rem 1rem; display: flex; flex-wrap: wrap; gap: .7rem; align-items: center;
	transform: translateY(160%); transition: transform .3s ease; border: 1px solid var(--borda);
}
.pi-cookies.visivel { transform: none; }
.pi-cookies-txt { flex: 1 1 280px; display: flex; gap: .6rem; font-size: .84rem; color: var(--texto-2); }
.pi-cookies-txt .ic { width: 26px; height: 26px; color: var(--ambar-escuro); }
.pi-cookies-bt { display: flex; gap: .4rem; margin-left: auto; }
@media (min-width: 768px) { .pi-cookies { bottom: 18px; } }

.pi-legal { white-space: pre-line; line-height: 1.7; color: var(--texto-2); }
.pi-legal strong { color: var(--texto); }

/* =========================================================
   LOJA PREMIUM (pl-*) — capa, cartão de identidade, cardápio
   ========================================================= */
.pl-loja { --pl-tinta: rgba(var(--loja-rgb), .08); --pl-tinta-2: rgba(var(--loja-rgb), .16); }
.pl-capa {
	position: relative; height: 230px; background-size: cover; background-position: center; color: #fff; overflow: hidden;
}
.pl-capa::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 38%, rgba(var(--loja-rgb), .35) 75%, rgba(var(--loja-rgb), .85) 100%);
}
.pl-capa-textura {
	position: absolute; inset: 0; z-index: 1; opacity: .5; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.3px);
	background-size: 18px 18px;
	mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 60%);
}
.pl-capa-acoes { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; }
.pl-vidro, .pl-capa-acoes .pi-comp {
	width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: #fff !important;
	background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.pl-capa-acoes .pi-comp.whats { background: rgba(31, 170, 89, .85); }
.pl-capa-acoes .pi-comp.face { background: rgba(24, 119, 242, .85); }
.pl-vidro:hover { background: rgba(255, 255, 255, .3); }

.pl-identidade { position: relative; z-index: 3; margin-top: -86px; }
.pl-cartao {
	background: rgba(255, 255, 255, .96); border-radius: 28px; padding: 1.2rem 1.2rem 1.1rem; border: 1px solid rgba(255, 255, 255, .7);
	box-shadow: 0 2px 6px rgba(51, 9, 31, .05), 0 24px 60px rgba(var(--loja-rgb), .18); backdrop-filter: blur(12px);
	animation: pl-subir .5s ease both;
}
.pl-topo-id { display: flex; gap: 1rem; align-items: center; }
.pl-logo-anel { padding: 3px; border-radius: 26px; background: conic-gradient(from 210deg, #fbd78b, var(--loja-cor), #f2a33a, var(--loja-cor), #fbd78b); flex: none; box-shadow: 0 10px 24px rgba(var(--loja-rgb), .3); }
.pl-logo { width: 86px; height: 86px; border-radius: 23px; background: #fff center/cover no-repeat; border: 3px solid #fff; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.6rem; }
.pl-nome { min-width: 0; }
.pl-segmento { font-size: .78rem; font-weight: 700; color: var(--loja-cor); text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: .35rem; }
.pl-segmento .ic { width: 16px; height: 16px; }
.pl-nome h1 { font-size: clamp(1.4rem, 4.6vw, 2rem); font-weight: 800; letter-spacing: -.025em; margin: .15rem 0 .45rem; line-height: 1.1; }
.pl-chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.pl-status { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.pl-status.aberta { background: #e3f5e8; color: #1d6b37; }
.pl-status.fechada { background: #f8e9e6; color: #8b2f22; }
.pl-pulso { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; }
.pl-status.aberta .pl-pulso::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: .5; animation: pl-pulsar 1.8s ease-out infinite; }
.pl-nota { display: inline-flex; align-items: center; gap: .3rem; border: 0; font-size: .82rem; padding: .3rem .7rem; border-radius: 999px; background: #fff6e6; color: #8a4f06; }
.pl-nota .ic { width: 15px; height: 15px; color: #f2a33a; }
.pl-nota span { color: #b98a4e; }
.pl-nota.novo { background: var(--pl-tinta); color: var(--loja-cor); font-weight: 700; }
.pl-nota.novo .ic { color: var(--loja-cor); }
.pl-descricao { color: var(--texto-2); margin: .9rem 0 0; max-width: 760px; font-size: .93rem; }

.pl-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: 1rem; }
@media (max-width: 767.98px) { .pl-stats { grid-template-columns: repeat(2, 1fr); } }
.pl-stat {
	display: flex; gap: .6rem; align-items: center; padding: .65rem .75rem; border-radius: 18px; background: linear-gradient(180deg, #fff, var(--pl-tinta));
	border: 1px solid rgba(var(--loja-rgb), .1); text-align: left; min-width: 0;
}
.pl-stat strong { display: block; font-size: .88rem; line-height: 1.2; }
.pl-stat small { color: var(--texto-3); font-size: .72rem; }
.pl-stat > div { min-width: 0; }
.pl-stat-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(145deg, rgba(var(--loja-rgb), .75), var(--loja-cor)); box-shadow: 0 6px 14px rgba(var(--loja-rgb), .25); }
.pl-stat-ic .ic { width: 19px; height: 19px; }
.pl-stat-btn { cursor: pointer; transition: transform .15s ease; }
.pl-stat-btn:hover { transform: translateY(-2px); }
.pl-pagamentos { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-top: .9rem; }
.pl-forma { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 10px; background: var(--fundo); color: var(--texto-2); }
.pl-forma .ic { width: 15px; height: 15px; color: var(--loja-cor); }

.pl-selos { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .3rem; }
.pl-selos:empty { display: none; }
.pl-selo { display: inline-flex; align-items: center; gap: .2rem; font-size: .68rem; font-weight: 800; padding: .15rem .5rem; border-radius: 8px; letter-spacing: .01em; }
.pl-selo .ic { width: 12px; height: 12px; }
.pl-selo.ouro { background: var(--ouro); color: #4a2a03; box-shadow: 0 3px 8px rgba(242, 163, 58, .35); }
.pl-selo.promo { background: #1d6b37; color: #fff; }
.pl-selo.leve { background: var(--pl-tinta); color: var(--loja-cor); }

.pl-cats { background: rgba(248, 244, 246, .82) !important; backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); margin-top: 1rem; }
.pl-cats a { display: inline-flex; align-items: center; gap: .3rem; transition: all .15s ease; }
.pl-cats a .ic { width: 15px; height: 15px; }
.pl-cats a.ativo { background: linear-gradient(135deg, rgba(var(--loja-rgb), .85), var(--loja-cor)); box-shadow: 0 6px 14px rgba(var(--loja-rgb), .3); }
.pl-busca { margin-top: 1rem; }
.pl-busca .form-control { border-radius: 18px; padding-top: .8rem; padding-bottom: .8rem; box-shadow: var(--sombra-1); border-color: transparent; }
.pl-busca .form-control:focus { border-color: rgba(var(--loja-rgb), .5); box-shadow: 0 0 0 .2rem rgba(var(--loja-rgb), .14); }

.pl-loja .pi-cat-titulo { display: flex; align-items: center; gap: .5rem; font-size: 1.15rem; letter-spacing: -.01em; }
.pl-loja .pi-cat-titulo small { font-size: .72rem; font-weight: 700; color: var(--texto-3); background: #fff; border: 1px solid var(--borda); border-radius: 999px; padding: .05rem .5rem; }
.pl-titulo-ic { width: 30px; height: 30px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--ouro); color: #4a2a03; box-shadow: 0 4px 10px rgba(242, 163, 58, .35); }
.pl-titulo-ic .ic { width: 17px; height: 17px; }

.pl-destaques { gap: .9rem; padding: .2rem .1rem .8rem; }
.pl-destaque { width: 200px; border-radius: 22px; transition: transform .18s ease, box-shadow .18s ease; }
.pl-destaque:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.pl-destaque .pi-produto-img { height: 140px; position: relative; }
.pl-destaque .txt { padding: .7rem .8rem .85rem; }
.pl-destaque h3 { font-size: .92rem; }
.pl-destaque-add { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--loja-cor); box-shadow: 0 6px 14px rgba(0, 0, 0, .18); }
.pl-destaque-add .ic { width: 20px; height: 20px; opacity: 1 !important; }

.pl-img { background-color: transparent; background-image: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .9), transparent 55%), linear-gradient(145deg, var(--pl-tinta-2), var(--pl-tinta)); }
.pl-img[style*="url("] { background-color: var(--fundo); }
.pl-img .ic { color: var(--loja-cor); opacity: .5; }
.pl-produto { border-radius: 22px; padding: .9rem; position: relative; overflow: hidden; border-color: transparent; }
.pl-produto::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(var(--loja-rgb), .0), rgba(var(--loja-rgb), .0)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: background .2s ease; pointer-events: none; }
.pl-produto:hover::before { background: linear-gradient(135deg, rgba(var(--loja-rgb), .55), rgba(242, 163, 58, .55)); }
.pl-produto:hover { box-shadow: 0 2px 4px rgba(51, 9, 31, .05), 0 18px 40px rgba(var(--loja-rgb), .14); }
.pl-produto .pi-produto-img { width: 112px; height: 112px; border-radius: 18px; }
.pl-produto .pi-add { background: var(--loja-cor); color: #fff; border-radius: 13px; box-shadow: 0 6px 14px rgba(var(--loja-rgb), .35); }
.pl-produto .pi-add .ic, .pl-destaque-add .ic { color: inherit !important; opacity: 1 !important; }
.pl-produto h3 { font-size: 1rem; }
.pl-loja .pi-preco { font-size: 1.02rem; }
.pl-loja .pi-preco.promo { color: #1d6b37; }

.pl-avaliacoes { margin-top: 2rem; }
.pl-avaliacoes-lista { display: flex; gap: .8rem; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pl-avaliacoes-lista::-webkit-scrollbar { display: none; }
.pl-depoimento { flex: none; width: 270px; margin: 0; background: #fff; border-radius: 20px; padding: 1rem; box-shadow: var(--sombra-1); scroll-snap-align: start; display: flex; flex-direction: column; gap: .5rem; }
.pl-depoimento blockquote { margin: 0; font-size: .9rem; color: var(--texto); flex: 1; }
.pl-depoimento figcaption { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--texto-3); }
.pl-avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: #fff; background: linear-gradient(145deg, rgba(var(--loja-rgb), .7), var(--loja-cor)); }

.pl-sobre { margin-top: 2rem; background: #fff; border-radius: 24px; padding: 1.1rem 1.2rem; box-shadow: var(--sombra-1); border: 1px solid var(--borda); }
.pl-sobre .ic { width: 16px; height: 16px; }

.pl-barra .btn { background: linear-gradient(135deg, rgba(var(--loja-rgb), .88), var(--loja-cor)); box-shadow: 0 12px 30px rgba(var(--loja-rgb), .4), inset 0 1px 0 rgba(255, 255, 255, .2); border-radius: 20px; }
.pl-barra .pi-carrinho-qtd { background: #fff; color: var(--loja-cor); font-weight: 800; }
.pl-barra.visivel .pi-carrinho-qtd { animation: pl-pulo .4s ease; }

.pl-modal .modal-content { overflow: hidden; }
.pl-modal .pi-modal-img { margin: -1rem -1rem 1rem; border-radius: 0; height: 240px; background-image: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .85), transparent 55%), linear-gradient(145deg, var(--pl-tinta-2, rgba(var(--loja-rgb), .16)), rgba(var(--loja-rgb), .06)); background-size: cover; background-position: center; }
.pl-modal .pi-modal-img.com-img { background-image: none; }
@media (min-width: 576px) { .pl-modal .pi-modal-img { margin: -1.5rem -1.5rem 1.2rem; } }
.pl-modal .btn-loja { background: linear-gradient(135deg, rgba(var(--loja-rgb), .88), var(--loja-cor)); }
.pl-modal .pi-etapas span.ok { background: linear-gradient(90deg, rgba(var(--loja-rgb), .6), var(--loja-cor)); }

@media (min-width: 768px) {
	.pl-capa { height: 320px; }
	.pl-identidade { margin-top: -110px; }
	.pl-cartao { padding: 1.6rem 1.8rem 1.4rem; }
	.pl-logo { width: 104px; height: 104px; font-size: 1.9rem; }
}
@keyframes pl-subir { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pl-pulsar { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes pl-pulo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* Vitrine: toques premium */
.pi-hero h1 { background: linear-gradient(90deg, #fff 0%, #ffe3c2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pi-loja-card .pi-loja-logo { box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(51, 9, 31, .2); }
.pi-loja-card:hover { box-shadow: 0 2px 4px rgba(51, 9, 31, .05), 0 20px 44px rgba(107, 22, 69, .16); }
.pi-chip.ativo { box-shadow: 0 8px 18px rgba(107, 22, 69, .3); }
.pi-cta-lojista { background: radial-gradient(500px 220px at 90% 0%, rgba(242, 163, 58, .28), transparent 60%), var(--grad-musgo); }

/* =========================================================
   VITRINE EM LARGURA TOTAL (busca e banners ocupam 100% no computador)
   ========================================================= */
.pi-largo { width: 100%; padding-left: clamp(12px, 3vw, 48px); padding-right: clamp(12px, 3vw, 48px); }
.pi-largo .pi-busca { max-width: none; }
.pi-largo .pi-hero p { max-width: 760px; }
@media (min-width: 992px) {
	.pi-largo .pi-busca { padding: .45rem; border-radius: 20px; }
	.pi-largo .pi-busca .form-control { font-size: 1.05rem; }
	.pi-largo .pi-busca .form-select { max-width: 240px; }
	.pi-largo .pi-banners {
		display: grid; grid-auto-flow: column; overflow-x: auto;
		grid-auto-columns: calc((100% - (var(--qtd, 1) - 1) * 1rem) / var(--qtd, 1));
		gap: 1rem; padding-top: 1.2rem;
	}
	.pi-largo .pi-banner { width: auto; min-height: 190px; padding: 1.5rem 1.7rem; border-radius: 26px; }
	.pi-largo .pi-banner strong { font-size: 1.45rem; }
	.pi-largo .pi-banner span { font-size: 1rem; }
}

/* ===== v1.1.3 · Logo icoaraci.com.br ===== */
.pi-logo { display: inline-flex; align-items: center; gap: .55rem; line-height: 1; }
.pi-logo-simbolo { width: 42px; height: 42px; flex: 0 0 auto; display: block; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .18)); }
.pi-logo-txt { display: flex; flex-direction: column; min-width: 0; }
.pi-logo-nome { font-weight: 800; font-size: 1.28rem; letter-spacing: -.035em; white-space: nowrap; }
.pi-logo-nome em { font-style: normal; font-weight: 700; letter-spacing: -.01em; }
.pi-logo small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: 0; opacity: .75; margin-top: .22rem; white-space: nowrap; }
.pi-logo-escuro .pi-logo-nome { color: #fff; }
.pi-logo-escuro .pi-logo-nome em { color: #fbc96b; }
.pi-logo-escuro small { color: #fff; }
.pi-logo-claro .pi-logo-simbolo { filter: none; }
.pi-logo-claro .pi-logo-nome { color: #4f0f33; }
.pi-logo-claro .pi-logo-nome em { color: #a65f08; }
.pi-logo-claro small { color: #6c5a64; }
.pi-marca .pi-logo { transition: transform .2s ease; }
.pi-marca:hover .pi-logo { transform: translateY(-1px); }
.pi-logo-rodape .pi-logo-simbolo { width: 36px; height: 36px; }
.pi-logo-rodape .pi-logo-nome { font-size: 1.12rem; }
.pi-auth-marca-logo { flex-direction: column; align-items: flex-start; gap: 0; }
.pi-logo-auth .pi-logo-simbolo { width: 52px; height: 52px; }
.pi-logo-auth .pi-logo-nome { font-size: 1.5rem; }
@media (max-width: 400px) {
	.pi-logo-simbolo { width: 36px; height: 36px; }
	.pi-logo-nome { font-size: 1.12rem; }
	.pi-barra .pi-logo small { display: none; }
}

/* ===== v1.1.4 · Pessoas online (discreto) ===== */
.pi-online { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 600; line-height: 1; }
.pi-online[hidden] { display: none !important; }
.pi-online i { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; position: relative; flex: 0 0 auto; }
.pi-online i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: #3ddc84; opacity: .35; animation: piOnlinePulso 2.4s ease-out infinite; }
@keyframes piOnlinePulso { 0% { transform: scale(.4); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.pi-online-hero { margin-top: .8rem; color: rgba(255, 255, 255, .78); padding: .38rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(6px); }
.pi-online-rodape { color: var(--texto-3, #8a7a84); font-weight: 500; }
.pi-online-rodape i { background: #22a565; }
.pi-online-rodape i::after { background: #22a565; }
@media (prefers-reduced-motion: reduce) { .pi-online i::after { animation: none; } }

/* ===== v1.1.5 · Indique e ganhe ===== */
.pi-indique-card { border: 1px solid #f0d9e5; background: linear-gradient(180deg, #fff 0%, #fdf6fa 100%); }
.pi-indique-card .ic { color: #a3306d; }
.pi-indique-codigo { font-size: 1.9rem; font-weight: 800; letter-spacing: .12em; color: #4f0f33; background: #fff; border: 2px dashed #e0a6c4; border-radius: 16px; text-align: center; padding: .55rem 1rem; }
.pi-indique-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pi-indique-stats > div { background: #fff; border: 1px solid #f0e3ea; border-radius: 14px; padding: .6rem .8rem; }
.pi-indique-stats b { display: block; font-size: 1.35rem; font-weight: 800; color: #6b1645; line-height: 1.1; }
.pi-indique-stats span { font-size: .78rem; color: #6e5262; }
.pi-cupom-presente { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .8rem; border-radius: 14px; background: #fff7e8; border: 1px solid #f6dfb3; margin-bottom: .5rem; }
.pi-cupom-presente strong { display: block; letter-spacing: .06em; color: #7a4504; }
.pi-cupom-presente small { color: #7a5a3a; }
.pi-passos-indique { padding-left: 1.2rem; display: flex; flex-direction: column; gap: .55rem; font-size: .93rem; }
.pi-indique-atalho .pi-indique-ico { width: 44px; height: 44px; border-radius: 14px; background: #f6e3ed; color: #a3306d; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pi-indique-atalho .pi-indique-ico .ic { width: 22px; height: 22px; }
