/* LetsGoPedir · vitrine da loja (visual novo)
   Variáveis --lgp-cor / --lgp-escura / --lgp-suave / --lgp-sobre vêm da cor da loja (css/style.php).
   Tudo aqui é prefixado com .lgp-* para não brigar com o CSS legado (template.css/upgrade.css). */

.lgp {
	--lgp-bg: #f6f5fb;
	--lgp-card: #fff;
	--lgp-surface: #fff;
	--lgp-glass: rgba(255, 255, 255, .78);
	--lgp-glass-forte: rgba(255, 255, 255, .86);
	--lgp-desc: #4a4761;
	--lgp-ok-txt: #0b7a4c;
	--lgp-off-txt: #b3203c;
	--lgp-aviso-bg: #fff4e5;
	--lgp-aviso-txt: #8a4b00;
	color-scheme: light dark;
	--lgp-ink: #17152b;
	--lgp-muted: #6b6880;
	--lgp-line: #e8e6f2;
	--lgp-fill: #f3f2fa;
	--lgp-ok: #0f9d63;
	--lgp-ok-bg: #dcf5e8;
	--lgp-off: #d92d4b;
	--lgp-off-bg: #fde5ea;
	--lgp-acento: #ff6a1a;
	--lgp-r: 16px;
	font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--lgp-ink);
	background: var(--lgp-bg);
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}
.lgp a { text-decoration: none; }
.lgp a:focus-visible, .lgp button:focus-visible, .lgp input:focus-visible { outline: 3px solid color-mix(in srgb, var(--lgp-cor) 45%, transparent); outline-offset: 2px; }
.lgp-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
@media (min-width: 992px) { .lgp .lgp-only-mobile { display: none !important; } }

/* ---------- Cabeçalho ---------- */
.lgp-header { background: var(--lgp-surface); position: relative; z-index: 20; }
.lgp-strip { background: var(--lgp-escura); color: #fff; font-size: 12.5px; font-weight: 500; }
.lgp-strip .lgp-wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.lgp-strip-info { display: flex; gap: 14px; align-items: center; opacity: .95; }
.lgp-strip-info i { margin-right: 6px; }
.lgp-strip-sep { opacity: .4; }
.lgp-strip-status { display: flex; align-items: center; gap: 8px; }
.lgp-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd58a; box-shadow: 0 0 0 3px rgba(47, 213, 138, .25); }
.lgp-strip-status.is-off .lgp-dot { background: #ff6b81; box-shadow: 0 0 0 3px rgba(255, 107, 129, .25); }

.lgp-bar { background: var(--lgp-surface); border-bottom: 1px solid var(--lgp-line); }
.lgp-bar-in { display: flex; align-items: center; gap: 24px; height: 84px; }
.lgp-bar-left { display: flex; align-items: center; gap: 12px; }
.lgp-logo img { height: 52px; width: auto; display: block; }
.lgp-logo-escuro { display: none !important; }
.lgp-busca { flex: 1; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 18px; background: var(--lgp-fill); border-radius: 16px; border: 1px solid transparent; transition: border-color .15s, background .15s; }
.lgp-busca:focus-within { background: var(--lgp-surface); border-color: var(--lgp-cor); }
.lgp-busca i { font-size: 18px; color: var(--lgp-muted); }
.lgp-busca input { flex: 1; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--lgp-ink); outline: 0; min-width: 0; height: 100%; }
.lgp-busca input::placeholder { color: #8d8aa3; }
.lgp-bar-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lgp-busca + .lgp-bar-right { margin-left: 0; }
.lgp-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; color: var(--lgp-ink); font-size: 22px; background: transparent; border: 0; cursor: pointer; }
.lgp-icon-btn:hover { background: var(--lgp-fill); }
.lgp-badge { position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--lgp-acento); color: #fff; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px #fff; }
.lgp-sep { width: 1px; height: 30px; background: var(--lgp-line); }
.lgp-user { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--lgp-cor); color: var(--lgp-sobre); font-size: 20px; transition: transform .15s; }
.lgp-user:hover { transform: scale(1.06); }

.lgp-loja { background: var(--lgp-surface); }
.lgp-loja-in { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.lgp-loja-id { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; color: inherit; }
.lgp-loja-id img { width: 68px; height: 68px; border-radius: 16px; object-fit: cover; background: var(--lgp-fill); border: 1px solid var(--lgp-line); flex: none; }
.lgp-loja-id strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.lgp-loja-id em { display: block; font-style: normal; font-size: 14px; color: var(--lgp-muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-stats { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.lgp-stats li { display: flex; align-items: center; gap: 10px; }
.lgp-stats li > i { font-size: 26px; color: var(--lgp-acento); }
.lgp-stats span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--lgp-muted); line-height: 1.35; }
.lgp-stats b { font-size: 15px; font-weight: 700; color: var(--lgp-ink); }
.lgp-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--lgp-ok-bg); color: var(--lgp-ok-txt); white-space: nowrap; }
.lgp-pill.is-off { background: var(--lgp-off-bg); color: var(--lgp-off-txt); }
.lgp-loja .lgp-pill { padding: 14px 36px; border-radius: 14px; font-size: 15px; }

.lgp-nav { background: var(--lgp-surface); border-bottom: 1px solid var(--lgp-line); }
.lgp-nav-in { display: flex; gap: 8px; padding-top: 6px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.lgp-nav-in::-webkit-scrollbar { display: none; }
.lgp-nav a { flex: none; display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 14px; background: var(--lgp-fill); color: var(--lgp-ink); font-size: 14.5px; font-weight: 600; transition: background .15s, color .15s, transform .15s; }
.lgp-nav a i { color: var(--lgp-acento); font-size: 20px; }
.lgp-nav a:hover { background: var(--lgp-suave); }
.lgp-nav a.is-ativo { background: var(--lgp-cor); color: var(--lgp-sobre); }
.lgp-nav a.is-ativo i { color: var(--lgp-sobre); }

/* ---------- Conteúdo ---------- */
.lgp-main { padding-bottom: 40px; }
.lgp-banners { margin: 20px 0 8px; border-radius: 22px; overflow: hidden; position: relative; background: var(--lgp-fill); box-shadow: 0 6px 24px rgba(23, 21, 43, .08); }
.lgp-banners img { display: block; width: 100%; height: auto; }
.lgp .lgp-banners .carousel-indicators { left: 20px; bottom: 14px; width: auto; margin: 0; padding: 0; display: flex; gap: 6px; z-index: 5; }
.lgp .lgp-banners .carousel-indicators li { width: 8px !important; height: 8px !important; margin: 0 !important; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .55); box-shadow: none; text-indent: 0; transition: width .2s, background .2s; }
.lgp .lgp-banners .carousel-indicators li.active { width: 22px !important; background: #fff; }
.lgp-capa img { max-height: 340px; object-fit: cover; }

.lgp-sec { margin-top: 30px; scroll-margin-top: 84px; }
.lgp-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lgp-sec-h > i { font-size: 30px; color: var(--lgp-acento); }
.lgp-sec-h h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.lgp-sec-h a { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--lgp-cor); display: inline-flex; align-items: center; gap: 6px; }
.lgp-sec-h a:hover { text-decoration: underline; }

.lgp-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lgp-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px; background: var(--lgp-card); border: 1px solid var(--lgp-line); border-radius: var(--lgp-r); color: var(--lgp-ink); transition: box-shadow .18s, transform .18s, border-color .18s; }
.lgp-item:hover { box-shadow: 0 10px 28px rgba(23, 21, 43, .10); border-color: color-mix(in srgb, var(--lgp-cor) 35%, var(--lgp-line)); transform: translateY(-1px); }
.lgp-item-main { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 16px; min-width: 0; color: inherit; }
.lgp-item-foto { position: relative; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--lgp-fill); display: block; }
.lgp-item-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lgp-tag { position: absolute; top: 6px; left: 6px; padding: 2px 7px; border-radius: 8px; background: var(--lgp-acento); color: #fff; font-size: 11px; font-weight: 800; }
.lgp-item-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lgp-item-txt strong { font-size: 15px; font-weight: 700; line-height: 1.3; }
.lgp-item-txt em { font-style: normal; font-size: 13px; color: var(--lgp-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lgp-preco { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.lgp-preco b { font-size: 16px; font-weight: 800; color: var(--lgp-ok); }
.lgp-preco s { font-size: 12px; color: #9a97ad; }
.lgp-preco-op { font-size: 13px; font-weight: 600; color: var(--lgp-muted); }
.lgp-aviso { align-self: flex-start; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--lgp-off-txt); background: var(--lgp-off-bg); padding: 2px 8px; border-radius: 8px; }
.lgp-item.is-off .lgp-item-foto img, .lgp-card.is-off .lgp-card-foto img { filter: grayscale(1); opacity: .55; }
.lgp-item.is-off .lgp-item-txt strong, .lgp-item.is-off .lgp-preco { opacity: .6; }

.lgp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; line-height: 1; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; font-family: inherit; }
.lgp-btn i { font-size: 16px; }
.lgp-btn-out { border-color: var(--lgp-cor); color: var(--lgp-cor); background: var(--lgp-surface); }
.lgp-btn-out:hover { background: var(--lgp-cor); color: var(--lgp-sobre); }
.lgp-btn-cor { background: var(--lgp-cor); color: var(--lgp-sobre); }

/* grade (carrossel horizontal) */
.lgp-carrossel { display: flex; gap: 14px; overflow-x: auto; padding: 4px 24px 12px; margin: 0 -24px; scroll-snap-type: x proximity; scroll-padding: 0 24px; scrollbar-width: none; }
.lgp-carrossel::-webkit-scrollbar { display: none; }
.lgp-card { flex: none; width: 188px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--lgp-card); border: 1px solid var(--lgp-line); border-radius: var(--lgp-r); color: var(--lgp-ink); transition: box-shadow .18s, transform .18s; }
.lgp-card:hover { box-shadow: 0 10px 28px rgba(23, 21, 43, .10); transform: translateY(-2px); }
.lgp-card-foto { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--lgp-fill); display: block; }
.lgp-card-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lgp-card > strong { font-size: 14px; font-weight: 700; line-height: 1.3; min-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lgp-card .lgp-btn { margin-top: auto; }

.lgp-vazio { margin: 48px auto; max-width: 420px; text-align: center; color: var(--lgp-muted); display: flex; flex-direction: column; gap: 6px; align-items: center; }
.lgp-vazio i { font-size: 44px; color: var(--lgp-acento); }
.lgp-vazio strong { color: var(--lgp-ink); font-size: 18px; }

/* instalar app + modal */
.lgp-instalar { display: flex; gap: 10px; margin-top: 28px; }
.lgp-instalar button { flex: 1; padding: 12px; border-radius: 12px; border: 1px solid var(--lgp-line); background: var(--lgp-surface); font: 600 13px/1 inherit; font-family: inherit; color: var(--lgp-ink); }
.lgp-instalar button i { margin-right: 6px; }
.lgp-modal { position: fixed; inset: 0; z-index: 100; background: rgba(15, 8, 40, .55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lgp-modal[hidden] { display: none; }
.lgp-modal-box { background: var(--lgp-surface); border-radius: 22px; padding: 26px; max-width: 380px; width: 100%; }
.lgp-modal-box h2 { margin: 0 0 12px; font-size: 20px; font-weight: 800; }
.lgp-modal-box ol { padding-left: 20px; margin: 0 0 18px; color: var(--lgp-muted); line-height: 1.7; }
.lgp-modal-box .lgp-btn { width: 100%; padding: 14px; }

/* rodapé */
.lgp .footer { margin-top: 24px; }
.lgp .footer .footer-info { background: var(--lgp-escura) !important; color: rgba(255, 255, 255, .85); padding: 26px 0; }
.lgp .footer .footer-info span { color: rgba(255, 255, 255, .85); font-size: 13.5px; line-height: 1.7; }
.lgp .footer .social a i { color: #fff !important; }
.lgp .footer .copyright { background: var(--lgp-surface); }
.lgp .footer .copyright img { height: 36px; width: auto; max-width: 100%; object-fit: contain; filter: none; opacity: .95; }

/* ---------- Celular / tablet ---------- */
@media (max-width: 991px) {
	.lgp-only-desktop, .lgp .lgp-only-desktop { display: none !important; }
	.lgp-wrap { padding: 0 16px; }
	.lgp-strip { display: none; }
	.lgp-header { background: var(--lgp-escura); }
	.lgp-bar { background: var(--lgp-escura); border-bottom: 0; }
	.lgp-bar-in { display: grid; grid-template-columns: 56px 1fr 56px; gap: 0; height: 66px; }
	.lgp-bar-left { display: contents; }
	.lgp-bar-left .lgp-icon-btn { grid-column: 1; grid-row: 1; justify-self: start; }
	.lgp-logo { grid-column: 2; grid-row: 1; justify-self: center; }
	.lgp-logo img { height: 44px; }
	.lgp-logo-claro { display: none !important; }
	.lgp-logo-escuro { display: block !important; }
	.lgp-bar-right { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
	.lgp-icon-btn { color: #fff; font-size: 24px; }
	.lgp-icon-btn:hover { background: rgba(255, 255, 255, .12); }
	.lgp-badge { box-shadow: 0 0 0 2px var(--lgp-escura); }

	.lgp-main { background: linear-gradient(var(--lgp-escura) 26px, transparent 26px); padding-bottom: 24px; }
	.lgp-lojam { background: var(--lgp-surface); border-radius: 26px 26px 0 0; padding: 18px 16px 6px; position: relative; }
	.lgp-lojam-top { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; }
	.lgp-lojam-avatar { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; border: 1px solid var(--lgp-line); background: var(--lgp-fill); }
	.lgp-lojam-id h1 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
	.lgp-lojam-id p { margin: 3px 0 8px; font-size: 13.5px; color: var(--lgp-muted); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.lgp-share { color: var(--lgp-ink); border: 1px solid var(--lgp-line); background: var(--lgp-surface); width: 44px; height: 44px; font-size: 20px; }
	.lgp-share:hover { background: var(--lgp-fill); }
	.lgp-lojam .lgp-stats { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--lgp-line); gap: 0; }
	.lgp-lojam .lgp-stats li { flex: 1; justify-content: flex-start; }
	.lgp-lojam .lgp-stats li + li { border-left: 1px solid var(--lgp-line); padding-left: 16px; }
	.lgp-lojam .lgp-stats li > i { font-size: 30px; }

	.lgp-main > .lgp-wrap { background: var(--lgp-surface); }
	.lgp-busca-m { display: flex !important; margin: 4px 0 0; height: 52px; }
	.lgp-busca-filtro { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 100%; border-left: 1px solid var(--lgp-line); color: var(--lgp-cor); margin-right: -8px; }
	.lgp-chips { display: flex !important; gap: 10px; overflow-x: auto; padding: 14px 16px; margin: 0 -16px; position: sticky; top: 0; z-index: 15; background: var(--lgp-surface); scrollbar-width: none; }
	.lgp-chips::-webkit-scrollbar { display: none; }
	.lgp-chips a { flex: none; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 16px; background: var(--lgp-fill); color: var(--lgp-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
	.lgp-chips a i { font-size: 24px; color: var(--lgp-acento); }
	.lgp-chips a.is-ativo { background: var(--lgp-cor); color: var(--lgp-sobre); }
	.lgp-chips a.is-ativo i { color: var(--lgp-sobre); }
	.lgp-banners { margin: 10px 0 4px; border-radius: 18px; }
	.lgp-main > .lgp-wrap { padding-bottom: 8px; }
	.lgp-sec { scroll-margin-top: 110px; }
	.lgp-sec-h h2 { font-size: 19px; }
	.lgp-sec-h > i { font-size: 26px; }
	.lgp-lista { grid-template-columns: 1fr; gap: 10px; }
	.lgp-item { gap: 12px; padding: 10px; }
	.lgp-item-main { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
	.lgp-item-foto { width: 84px; height: 84px; }
	.lgp-carrossel { padding: 4px 16px 12px; margin: 0 -16px; scroll-padding: 0 16px; }
	.lgp-card { width: 164px; }

	.lgp-interna { padding-top: 0; }
	.lgp-interna > .lgp-wrap { border-radius: 26px 26px 0 0; padding-top: 18px; min-height: 60vh; }
	.lgp-tit h1 { font-size: 22px; }
	.lgp-tabbar { display: grid !important; }
	.lgp .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ---------- Categoria / busca ---------- */
.lgp-interna { padding-top: 22px; }
.lgp-tit { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.lgp-tit h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.015em; line-height: 1.15; }
.lgp-tit h1 em { font-style: normal; color: var(--lgp-cor); }
.lgp-tit p { margin: 4px 0 0; font-size: 14px; color: var(--lgp-muted); }
.lgp-ordem { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; height: 44px; border: 1px solid var(--lgp-line); border-radius: 12px; background: var(--lgp-surface); color: var(--lgp-muted); cursor: pointer; }
.lgp-ordem select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 600 14px/1 inherit; font-family: inherit; color: var(--lgp-ink); padding-right: 6px; outline: 0; cursor: pointer; }
.lgp-pag { display: flex; justify-content: center; gap: 8px; margin: 28px 0 8px; }
.lgp-pag a { min-width: 44px; height: 44px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--lgp-line); background: var(--lgp-surface); color: var(--lgp-ink); font-weight: 700; }
.lgp-pag a:hover { border-color: var(--lgp-cor); color: var(--lgp-cor); }
.lgp-pag a.is-ativo { background: var(--lgp-cor); border-color: var(--lgp-cor); color: var(--lgp-sobre); }
.lgp-vazio .lgp-btn { margin-top: 14px; }

/* Barra inferior (celular) */
.lgp-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; grid-template-columns: repeat(5, 1fr); background: var(--lgp-surface); border-top: 1px solid var(--lgp-line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(23, 21, 43, .06); }
.lgp-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 9px; color: var(--lgp-muted); font-size: 11.5px; font-weight: 600; }
.lgp-tabbar a i { font-size: 24px; }
.lgp-tabbar a.is-ativo { color: var(--lgp-cor); }
.lgp-tabbar a.is-ativo::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 34px; height: 3px; margin-left: -17px; border-radius: 3px; background: var(--lgp-cor); }
.lgp-tabbar a b { position: absolute; top: 2px; left: 50%; margin-left: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--lgp-acento); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; }

@media (max-width: 991px) and (min-width: 600px) {
	.lgp-lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.lgp-item, .lgp-card, .lgp-user { transition: none; }
	.lgp-item:hover, .lgp-card:hover { transform: none; }
}

/* ---------- Produto ---------- */
.lgp-crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--lgp-muted); margin: 0 0 18px; }
.lgp-crumb a { color: var(--lgp-muted); } .lgp-crumb a:hover { color: var(--lgp-cor); }
.lgp-crumb b { color: var(--lgp-ink); font-weight: 600; }
.lgp-prod { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 36px; align-items: start; }
.lgp-prod-foto { position: sticky; top: 16px; background: var(--lgp-surface); border: 1px solid var(--lgp-line); border-radius: 24px; overflow: hidden; }
.lgp-prod-foto img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; padding: 18px; box-sizing: border-box; }
.lgp-tag-g { top: 16px; left: 16px; font-size: 13px; padding: 4px 10px; z-index: 3; }
.lgp .lgp-prod-foto .carousel-indicators { bottom: 10px; margin: 0; left: 50%; }
.lgp .lgp-prod-foto .carousel-indicators li { width: 8px !important; height: 8px !important; margin: 0 3px !important; border: 0; background: #cfcce0; border-radius: 8px; }
.lgp .lgp-prod-foto .carousel-indicators li.active { background: var(--lgp-cor); width: 22px !important; }
.lgp-seta { position: absolute; top: 50%; width: 40px !important; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--lgp-surface) !important; opacity: 1 !important; box-shadow: 0 4px 14px rgba(23, 21, 43, .16); color: var(--lgp-ink) !important; text-shadow: none !important; display: flex; align-items: center; justify-content: center; z-index: 3; }
.lgp-seta.left { left: 12px; right: auto; } .lgp-seta.right { right: 12px; left: auto; }
.lgp-prod-info h1 { margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lgp-ref { margin: 0 0 6px; font-size: 13px; color: var(--lgp-muted); }
.lgp-desc { margin: 8px 0 0; line-height: 1.65; color: var(--lgp-desc); font-size: 15px; }
.lgp .aviso-maior-idade { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--lgp-aviso-bg); color: var(--lgp-aviso-txt); font-size: 13.5px; line-height: 1.5; }
.lgp-prod-preco { display: flex; align-items: baseline; gap: 12px; margin: 16px 0 20px; }
.lgp-prod-preco b { font-size: 32px; font-weight: 800; color: var(--lgp-ok); letter-spacing: -.02em; }
.lgp-prod-preco s { font-size: 15px; color: #9a97ad; }
.lgp-form { margin-top: 12px; }
.lgp-grupo { background: var(--lgp-surface); border: 1px solid var(--lgp-line); border-radius: 18px; padding: 16px; margin: 0 0 12px; }
.lgp-grupo > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lgp-grupo h3 { margin: 0; font-size: 16px; font-weight: 800; }
.lgp-grupo-regra { font-size: 12.5px; color: var(--lgp-muted); }
.lgp-grupo-regra i { font-style: normal; background: var(--lgp-suave); color: var(--lgp-cor); font-weight: 700; padding: 2px 8px; border-radius: 8px; margin-right: 6px; }
.lgp .opcoes { display: block; }
.lgp .opcoes .lgp-opcao { display: flex; float: none; align-items: center; gap: 12px; width: auto; min-height: 0; margin: 10px 0 0; padding: 12px 14px; border: 1.5px solid var(--lgp-line); border-radius: 14px; background: var(--lgp-surface); cursor: pointer; transition: border-color .15s, background .15s; }
.lgp .opcoes .lgp-opcao:nth-child(even) { float: none; }
.lgp .opcoes .lgp-opcao:hover { border-color: color-mix(in srgb, var(--lgp-cor) 45%, var(--lgp-line)); }
.lgp .opcoes .lgp-opcao.active { border-color: var(--lgp-cor); background: var(--lgp-suave); }
.lgp .opcoes .lgp-opcao .check { position: relative; flex: none; float: none; width: 22px !important; height: 22px !important; padding: 0; border-radius: 50%; border: 2px solid #c9c6da; background: var(--lgp-surface); transition: background .15s, border-color .15s; }
.lgp .opcoes .lgp-opcao .check i { display: none !important; }
.lgp .opcoes .lgp-opcao.active .check { background: var(--lgp-cor) !important; border-color: var(--lgp-cor); }
.lgp .opcoes .lgp-opcao.active .check::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--lgp-sobre); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.lgp-opcao-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lgp-opcao-txt strong { font-size: 14.5px; font-weight: 700; }
.lgp-opcao-txt em { font-style: normal; font-size: 13px; color: var(--lgp-muted); line-height: 1.4; }
.lgp-opcao-preco { font-weight: 700; color: var(--lgp-ok); white-space: nowrap; font-size: 14px; }
.lgp .opcoes .lgp-opcao.indisponivel { opacity: .5; cursor: not-allowed; }
.lgp .error-holder label.error, .lgp label.error { display: block; margin-top: 8px; color: var(--lgp-off); font-size: 12.5px; font-weight: 600; }
.lgp .fakehidden { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; padding: 0; border: 0; }
.lgp .lgp-qtd { display: inline-flex; align-items: center; border: 1.5px solid var(--lgp-line); border-radius: 14px; overflow: hidden; background: var(--lgp-surface); }
.lgp .lgp-qtd i { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin: 0; padding: 0; border-radius: 0; background: transparent; color: var(--lgp-cor) !important; cursor: pointer; font-size: 15px; }
.lgp .lgp-qtd i:hover { background: var(--lgp-suave); }
.lgp .lgp-qtd input { width: 54px; height: 46px; padding: 0; border: 0; border-left: 1px solid var(--lgp-line); border-right: 1px solid var(--lgp-line); border-radius: 0; text-align: center; font: 700 17px/1 inherit; font-family: inherit; color: var(--lgp-ink); background: var(--lgp-surface); outline: 0; }
.lgp .observacoes textarea { display: block; width: 100%; margin-top: 12px; padding: 12px 14px; border: 1.5px solid var(--lgp-line); border-radius: 14px; background: var(--lgp-fill); font: 500 14px/1.5 inherit; font-family: inherit; color: var(--lgp-ink); resize: vertical; outline: 0; box-sizing: border-box; }
.lgp .observacoes textarea:focus { background: var(--lgp-surface); border-color: var(--lgp-cor); }
.lgp-buybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--lgp-surface); border: 1px solid var(--lgp-line); border-radius: 18px; padding: 14px 16px; position: sticky; bottom: 14px; box-shadow: 0 12px 32px rgba(23, 21, 43, .12); z-index: 12; }
.lgp .lgp-buybar .subtotal { display: block; padding: 0; text-align: left; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--lgp-ink); }
.lgp .lgp-buybar .subtotal strong { display: block; font-size: 11.5px; font-weight: 700; color: var(--lgp-muted); text-transform: uppercase; letter-spacing: .06em; }
.lgp .lgp-btn-g { padding: 16px 32px; font-size: 16px; border-radius: 14px; }
.lgp .sacola-adicionar { float: none; cursor: pointer; }
.lgp-aviso-caixa { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border-radius: 18px; background: var(--lgp-surface); border: 1px solid var(--lgp-line); }
.lgp-aviso-caixa > i { font-size: 28px; color: var(--lgp-acento); }
.lgp-aviso-caixa p { margin: 0; line-height: 1.55; color: var(--lgp-desc); }

@media (max-width: 991px) {
	.lgp-prod { grid-template-columns: 1fr; gap: 18px; }
	.lgp-prod-foto { position: relative; top: 0; border-radius: 20px; }
	.lgp-prod-info { padding-bottom: 96px; }
	.lgp-prod-info h1 { font-size: 24px; }
	.lgp-buybar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; }
	.lgp .lgp-btn-g { padding: 15px 24px; }
	.lgp-crumb { display: none; }
}

/* ---------- Menu lateral (Informações) ---------- */
.sidr { z-index: 200 !important; font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif; }
.sidr .sidebar-header { background: var(--lgp-escura) !important; height: 66px; }
.sidr .sidebar-header .close-sidebar { color: #fff !important; font-size: 20px; padding: 22px 20px; float: right; cursor: pointer; }
.sidr .sidebar-info { padding: 6px 4px; }
.sidr .sidebar-info .title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; color: var(--lgp-ink); padding: 14px 0 8px; }
.sidr .sidebar-info .title i { color: #ff6a1a !important; font-size: 20px; }
.sidr .sidebar-info .content, .sidr .sidebar-info .content a { color: var(--lgp-desc); font-size: 14px; line-height: 1.6; }
.sidr .sidebar-info .content a { display: block; padding: 8px 0; font-weight: 600; }
.sidr .sidebar-info .content a i { color: var(--lgp-cor) !important; margin-right: 6px; }
.sidr .botao-acao { border-radius: 12px; font-weight: 700; }

/* ---------- Marketplace da cidade ---------- */
.lgp-mkt-nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; align-self: stretch; }
.lgp-mkt-nav::-webkit-scrollbar { display: none; }
.lgp-mkt-nav a, .lgp-mkt-tabs a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 0 16px; color: var(--lgp-muted); font-size: 15px; font-weight: 600; white-space: nowrap; transition: color .15s; }
.lgp-mkt-nav a i, .lgp-mkt-tabs a i { font-size: 20px; color: #9a97ad; }
.lgp-mkt-nav a:hover, .lgp-mkt-tabs a:hover { color: var(--lgp-ink); }
.lgp-mkt-nav a.is-ativo, .lgp-mkt-tabs a.is-ativo { color: var(--lgp-ink); }
.lgp-mkt-nav a.is-ativo i, .lgp-mkt-tabs a.is-ativo i { color: var(--lgp-acento); }
.lgp-mkt-nav a.is-ativo::after, .lgp-mkt-tabs a.is-ativo::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--lgp-acento); }
.lgp-vender { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--lgp-suave); color: var(--lgp-cor); font-size: 14px; font-weight: 700; white-space: nowrap; }
.lgp-vender:hover { background: color-mix(in srgb, var(--lgp-cor) 18%, #fff); }
.lgp-local { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border: 1px solid var(--lgp-line); border-radius: 14px; background: var(--lgp-fill); font-family: inherit; cursor: pointer; text-align: left; }
.lgp-local > i:first-child { font-size: 22px; color: var(--lgp-cor); }
.lgp-local > i:last-child { font-size: 12px; color: var(--lgp-muted); }
.lgp-local span { display: flex; flex-direction: column; line-height: 1.25; }
.lgp-local b { font-size: 13.5px; font-weight: 700; color: var(--lgp-ink); }
.lgp-local em { font-style: normal; font-size: 12px; color: var(--lgp-muted); }
.lgp-mkt .lgp-bar-in { gap: 20px; }
.lgp-mkt .lgp-bar-right { margin-left: 0; }
.lgp-mkt-tabs { display: none; }

.lgp-hero { position: relative; overflow: hidden; height: clamp(300px, 31.25vw, 500px); background: #f3f0ff right center / cover no-repeat; }
.lgp-hero-neutro { background: linear-gradient(95deg, #f3f0ff 0%, #ddd5ff 36%, #5a35e6 66%, #2b1670 100%); }
.lgp-hero-neutro::after { content: ''; position: absolute; right: -90px; top: -110px; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ff9a52, #ff6a1a 70%); }
.lgp-hero-in { position: static; display: block; max-width: none; height: 100%; padding: 0; }
.lgp-hero-l { position: absolute; left: max(24px, calc((100vw - 1360px) / 2 + 24px)); top: 50%; transform: translateY(-50%); width: calc(34vw - max(24px, calc((100vw - 1360px) / 2 + 24px))); min-width: 360px; }
.lgp-busca-hero { height: 70px; padding: 0 22px; background: var(--lgp-surface); border-radius: 20px; box-shadow: 0 16px 40px rgba(43, 22, 112, .18); }
.lgp-busca-hero input { font-size: 17px; }
.lgp-busca-hero i { font-size: 22px; }
.lgp-busca-hero .lgp-busca-filtro { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 100%; border-left: 1px solid var(--lgp-line); color: var(--lgp-cor); margin-right: -10px; }
.lgp-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.lgp-hero-chips a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 12px; background: var(--lgp-surface); color: var(--lgp-ink); font-size: 14px; font-weight: 600; box-shadow: 0 4px 14px rgba(43, 22, 112, .10); transition: transform .15s; }
.lgp-hero-chips a i { color: var(--lgp-acento); font-size: 18px; }
.lgp-hero-chips a:hover { transform: translateY(-1px); }
.lgp-hero-chips a.is-ativo { background: var(--lgp-cor); color: var(--lgp-sobre); }
.lgp-hero-chips a.is-ativo i { color: var(--lgp-sobre); }
.lgp-hero-r { position: absolute; left: 36vw; top: 50%; transform: translateY(-50%); width: 14vw; color: #fff; }
.lgp-hero-r h2 { margin: 0; font-size: clamp(28px, 3vw, 50px); line-height: 1.04; font-weight: 800; letter-spacing: -.03em; }
.lgp-hero-r h2 em { font-style: normal; color: #ff8f3d; }
.lgp-hero-r p { margin: 12px 0 0; font-size: clamp(13px, 1.25vw, 19px); line-height: 1.4; color: rgba(255, 255, 255, .92); font-weight: 500; }

.lgp-mkt-corpo { padding-top: 26px; }
.lgp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: var(--lgp-fill); border-radius: 18px; max-width: 520px; margin: 0 0 8px; }
.lgp-seg a { display: flex; align-items: center; justify-content: center; gap: 9px; height: 50px; border-radius: 13px; color: var(--lgp-muted); font-size: 15px; font-weight: 700; transition: background .15s, color .15s; }
.lgp-seg a i { font-size: 20px; color: var(--lgp-acento); }
.lgp-seg a.is-ativo { background: var(--lgp-surface); color: var(--lgp-cor); box-shadow: 0 4px 14px rgba(23, 21, 43, .08), inset 0 -3px 0 var(--lgp-cor); }
.lgp-sec-nav { display: inline-flex; gap: 8px; margin-left: 14px; }
.lgp-sec-nav button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--lgp-line); background: var(--lgp-surface); color: var(--lgp-ink); cursor: pointer; font-size: 14px; }
.lgp-sec-nav button:hover { background: var(--lgp-fill); }

.lgp-loja-card { flex: none; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 12px; background: var(--lgp-surface); border: 1px solid var(--lgp-line); border-radius: 20px; color: var(--lgp-ink); transition: box-shadow .18s, transform .18s; scroll-snap-align: start; }
.lgp-loja-card:hover { box-shadow: 0 12px 32px rgba(23, 21, 43, .12); transform: translateY(-2px); }
.lgp-loja-capa { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; }
.lgp-loja-capa img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lgp-loja-card.is-off .lgp-loja-capa img { filter: grayscale(.85); opacity: .75; }
.lgp-pill-capa { position: absolute; left: 10px; bottom: 10px; background: var(--lgp-surface); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); }
.lgp-pill-capa.is-off { background: var(--lgp-surface); color: var(--lgp-off-txt); }
.lgp-loja-txt { display: flex; align-items: center; gap: 10px; padding: 0 4px; min-width: 0; }
.lgp-loja-logo { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--lgp-line); background: var(--lgp-fill); flex: none; }
.lgp-loja-txt > span { display: flex; flex-direction: column; min-width: 0; }
.lgp-loja-txt strong { font-size: 16px; font-weight: 800; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-loja-txt em { font-style: normal; font-size: 12.5px; color: var(--lgp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-loja-card .lgp-btn { margin: 0 4px; padding: 13px; }
.lgp-card-loja { font-style: normal; font-size: 12px; color: var(--lgp-muted); margin-top: -2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 992px) {
	.lgp-carrossel-lojas .lgp-loja-card { flex: 0 0 calc((100% - 42px) / 4); }
	.lgp-carrossel-prod .lgp-card { flex: 0 0 calc((100% - 70px) / 6); }
	.lgp-carrossel-lojas, .lgp-carrossel-prod { padding-left: 0; padding-right: 0; margin: 0; }
}
@media (min-width: 1280px) {
	.lgp-carrossel-lojas .lgp-loja-card { flex: 0 0 calc((100% - 56px) / 5); }
	.lgp-carrossel-prod .lgp-card { flex: 0 0 calc((100% - 84px) / 6); }
}
.lgp-mkt .lgp-wrap, .lgp-mkt-main .lgp-wrap { max-width: 1360px; }
.lgp .lgp-icon-btn i, .lgp .lgp-tabbar i { color: inherit !important; }
.lgp-mkt-nav a, .lgp-mkt-tabs a { padding: 0 13px; }
.lgp-grade { display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lgp-grade-lojas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lgp-grade-prod { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lgp-grade .lgp-card, .lgp-grade .lgp-loja-card { width: auto; }
.lgp .footer-cidade .footer-info { background: var(--lgp-escura) !important; color: rgba(255, 255, 255, .85); padding: 26px 0; }
.lgp .footer-cidade .footer-info span, .lgp .footer-cidade .footer-info a { color: rgba(255, 255, 255, .85); }
.lgp-tabbar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 9px; border: 0; background: transparent; font-family: inherit; color: var(--lgp-muted); font-size: 11.5px; font-weight: 600; cursor: pointer; }
.lgp-tabbar button i { font-size: 24px; }

@media (max-width: 991px) {
	.lgp-mkt .lgp-bar-in { gap: 0; }
	.lgp-mkt-tabs { display: flex; gap: 0; overflow-x: auto; background: var(--lgp-surface); border-bottom: 1px solid var(--lgp-line); scrollbar-width: none; }
	.lgp-mkt-tabs::-webkit-scrollbar { display: none; }
	.lgp-mkt-tabs a { height: 54px; }
	.lgp-mkt-tabs a.is-ativo::after { left: 10px; right: 10px; }
	.lgp-mkt-main { background: none; padding-top: 0; }
	.lgp-hero, .lgp-hero-neutro { background: var(--lgp-surface) !important; height: auto; overflow: visible; }
	.lgp-hero-neutro::after { display: none; }
	.lgp-hero-in { display: block; height: auto; padding: 16px 16px 4px; }
	.lgp-hero-l { position: static; transform: none; width: auto; min-width: 0; }
	.lgp-busca-hero { height: 54px; box-shadow: none; background: var(--lgp-fill); border-radius: 16px; }
	.lgp-busca-hero input { font-size: 15px; }
	.lgp-mkt-corpo { padding-top: 12px; background: var(--lgp-surface); }
	.lgp-seg { max-width: none; }
	.lgp-seg a { height: 46px; font-size: 14.5px; }
	.lgp-loja-card { width: 236px; }
	.lgp-grade, .lgp-grade-prod { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.lgp-grade-lojas { grid-template-columns: 1fr; }
	.lgp-mkt-main .lgp-sec-h a { margin-left: auto; }
}
@media (min-width: 560px) and (max-width: 991px) {
	.lgp-grade-lojas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lgp-grade-prod { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* listas do marketplace (desktop) */
.lgp-mkt-main.lgp-interna .lgp-busca-m { max-width: 640px; margin: 0 0 16px; }
.lgp-chips-mkt { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 4px; }
.lgp-chips-mkt a { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 12px; background: var(--lgp-surface); border: 1px solid var(--lgp-line); color: var(--lgp-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
.lgp-chips-mkt a i { color: var(--lgp-acento); font-size: 18px; }
.lgp-chips-mkt a.is-ativo { background: var(--lgp-cor); border-color: var(--lgp-cor); color: var(--lgp-sobre); }
.lgp-chips-mkt a.is-ativo i { color: var(--lgp-sobre); }
.lgp .lgp-footlink { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff !important; font-weight: 700; font-size: 13.5px; }
@media (max-width: 991px) {
	.lgp-chips-mkt { flex-wrap: nowrap; margin: 12px -16px 0; padding: 4px 16px 10px; gap: 10px; }
	.lgp-chips-mkt a { display: flex; flex-direction: column; height: auto; min-width: 84px; padding: 12px 14px; border: 0; background: var(--lgp-fill); border-radius: 16px; gap: 6px; }
	.lgp-chips-mkt a i { font-size: 24px; }
	.lgp-mkt-main.lgp-interna .lgp-busca-m { max-width: none; }
}

.lgp-mkt-main.lgp-interna .lgp-tit { margin-top: 22px; }

/* modais e links do menu lateral */
.modal .modal-content { border-radius: 22px; border: 0; overflow: hidden; font-family: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif; }
.modal .botao-acao, .modal .btn-primary { background: var(--lgp-cor) !important; color: var(--lgp-sobre) !important; border-radius: 12px; border: 0; font-weight: 700; padding: 13px 22px; }
.modal .botao-acao i { color: inherit !important; }
.sidr .sidebar-links a { display: flex; align-items: center; gap: 10px; padding: 14px 4px; color: var(--lgp-ink); font-weight: 600; font-size: 15px; }
.sidr .sidebar-links a i { color: var(--lgp-acento) !important; font-size: 20px; }

.lgp-erro { margin: 56px auto 40px; gap: 10px; }
.lgp-erro i.lni { font-size: 56px; }
.lgp-erro > .lgp-btn { margin-top: 12px; }
.lgp-erro > .lgp-btn + .lgp-btn { margin-top: 0; }

/* =====================================================================================
   Refino de interação (apple-design): resposta imediata, molas, materiais, tipografia,
   movimento/transparência reduzidos. Molas = linear() (ζ 1.0 e 0.8, response 0.4 s);
   navegadores sem linear() usam o ease-out declarado antes.
   ===================================================================================== */
:root {
	--lgp-mola: ease-out;
	--lgp-mola-ressalto: cubic-bezier(.2, .9, .3, 1.2);
}
@supports (transition-timing-function: linear(0, 1)) {
	:root {
		--lgp-mola: linear(0, 0.0596, 0.186, 0.3294, 0.4656, 0.584, 0.6819, 0.7601, 0.821, 0.8677, 0.9029, 0.9292, 0.9487, 0.963, 0.9734, 0.9809, 0.9864, 0.9903, 0.9931, 0.9951, 0.9966, 0.9976, 0.9983, 0.9988, 0.9992, 0.9994, 0.9996, 0.9997, 1);
		--lgp-mola-ressalto: linear(0, 0.0971, 0.295, 0.504, 0.6821, 0.8159, 0.9071, 0.9637, 0.9951, 1.01, 1.0149, 1.0145, 1.0119, 1.0087, 1.0057, 1.0035, 1.0019, 1.0008, 1.0002, 0.9999, 0.9998, 0.9998, 0.9998, 0.9999, 0.9999, 0.9999, 1, 1, 1);
	}
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* 1. Resposta: sem atraso de toque; feedback no pressionar (não no soltar); soltar volta em mola */
.lgp a, .lgp button, .lgp label, .lgp .lgp-btn, .lgp select { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.lgp .lgp-btn, .lgp .lgp-chips a, .lgp .lgp-chips-mkt a, .lgp .lgp-hero-chips a, .lgp .lgp-nav a, .lgp .lgp-mkt-nav a, .lgp .lgp-mkt-tabs a,
.lgp .lgp-seg a, .lgp .lgp-tabbar a, .lgp .lgp-tabbar button, .lgp .lgp-icon-btn, .lgp .lgp-pag a, .lgp .lgp-sec-nav button, .lgp .lgp-user {
	transition: transform .5s var(--lgp-mola), background-color .15s, color .15s, border-color .15s, box-shadow .2s;
}
.lgp .lgp-item, .lgp .lgp-card, .lgp .lgp-loja-card { transition: transform .5s var(--lgp-mola), box-shadow .2s, border-color .2s; }
.lgp .lgp-btn:active, .lgp .lgp-chips a:active, .lgp .lgp-chips-mkt a:active, .lgp .lgp-hero-chips a:active, .lgp .lgp-nav a:active, .lgp .lgp-mkt-nav a:active,
.lgp .lgp-mkt-tabs a:active, .lgp .lgp-seg a:active, .lgp .lgp-tabbar a:active, .lgp .lgp-tabbar button:active, .lgp .lgp-icon-btn:active, .lgp .lgp-pag a:active,
.lgp .lgp-sec-nav button:active, .lgp .lgp-user:active { transform: scale(.96); transition-duration: 80ms; transition-timing-function: ease-out; }
.lgp .lgp-item:active, .lgp .lgp-card:active, .lgp .lgp-loja-card:active { transform: scale(.985); transition-duration: 80ms; transition-timing-function: ease-out; }
@media (hover: none) {
	.lgp .lgp-item:hover, .lgp .lgp-card:hover, .lgp .lgp-loja-card:hover { transform: none; box-shadow: none; }
	
}
.lgp .lgp-sec-nav button { width: 44px; height: 44px; } /* alvo mínimo de toque */

/* 2. Materiais: camadas translúcidas com o conteúdo passando por baixo; peso maior nas superfícies maiores */
.lgp .lgp-tabbar { background: var(--lgp-glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); border-top: 1px solid rgba(23, 21, 43, .07); box-shadow: 0 -10px 30px rgba(23, 21, 43, .05); }
.lgp .lgp-buybar { background: var(--lgp-glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-color: rgba(255, 255, 255, .6); box-shadow: 0 16px 40px rgba(23, 21, 43, .16), inset 0 1px 0 rgba(255, 255, 255, .7); }
.lgp-mkt { position: sticky; top: 0; z-index: 40; }
.lgp-mkt .lgp-bar { background: var(--lgp-glass); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom-color: rgba(23, 21, 43, .06); }
@media (max-width: 991px) {
	.lgp-mkt .lgp-bar { background: color-mix(in srgb, var(--lgp-escura) 88%, transparent); border-bottom: 0; }
	.lgp-mkt-tabs { background: var(--lgp-glass-forte); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
	.lgp .lgp-chips { background: var(--lgp-glass-forte); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); }
	/* borda de rolagem: o conteúdo esmaece sob o material em vez de uma linha dura */
	.lgp .lgp-chips::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: linear-gradient(var(--lgp-glass-forte), transparent); pointer-events: none; }
}
/* modais: o material "chega" (escala + desfoque) e o fundo desfoca */
.modal.fade .modal-dialog { transform: scale(.94) translateY(12px); opacity: 0; transition: transform .5s var(--lgp-mola-ressalto), opacity .2s ease; }
.modal.in .modal-dialog { transform: none; opacity: 1; }
.modal-backdrop.in { opacity: 1 !important; background: rgba(15, 8, 40, .42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* 3. Tipografia: tracking e entrelinha por tamanho (grande = apertado, pequeno = levemente aberto) */
.lgp { font-optical-sizing: auto; letter-spacing: 0; }
.lgp .lgp-prod-info h1, .lgp .lgp-tit h1, .lgp .lgp-lojam-id h1 { letter-spacing: -.025em; line-height: 1.1; }
.lgp .lgp-sec-h h2, .lgp .lgp-loja-id strong { letter-spacing: -.015em; }
.lgp .lgp-item-txt strong, .lgp .lgp-card > strong, .lgp .lgp-loja-txt strong, .lgp .lgp-grupo h3 { letter-spacing: -.005em; }
.lgp .lgp-stats span, .lgp .lgp-tabbar a, .lgp .lgp-tabbar button, .lgp .lgp-pill, .lgp .lgp-tag, .lgp .lgp-aviso, .lgp .lgp-card-loja, .lgp .lgp-loja-txt em { letter-spacing: .01em; }
.lgp .lgp-preco b, .lgp .lgp-prod-preco b, .lgp .lgp-buybar .subtotal, .lgp .lgp-opcao-preco, .lgp .lgp-stats b { font-variant-numeric: tabular-nums; }
.lgp .lgp-hero-r h2 { letter-spacing: -.035em; }

/* 4. Acessibilidade: movimento, transparência e contraste */
@media (prefers-reduced-motion: reduce) {
	.lgp *, .modal * { animation-duration: .01ms !important; transition-property: opacity, background-color, color, border-color, box-shadow !important; transition-duration: .15s !important; scroll-behavior: auto !important; }
	.lgp .lgp-item:hover, .lgp .lgp-card:hover, .lgp .lgp-loja-card:hover, .lgp .lgp-user:hover, .lgp .lgp-hero-chips a:hover { transform: none; }
	.lgp *:active { transform: none !important; }
	.modal.fade .modal-dialog { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.lgp .lgp-tabbar, .lgp .lgp-buybar, .lgp .lgp-chips, .lgp-mkt-tabs, .lgp-mkt .lgp-bar { background: var(--lgp-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.modal-backdrop.in { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(15, 8, 40, .7); }
}
@media (max-width: 991px) and (prefers-reduced-transparency: reduce) { .lgp-mkt .lgp-bar { background: var(--lgp-escura); } }
@media (prefers-contrast: more) {
	.lgp { --lgp-line: #8a87a0; --lgp-muted: var(--lgp-desc); }
	.lgp .lgp-item, .lgp .lgp-card, .lgp .lgp-loja-card, .lgp .lgp-grupo, .lgp .lgp-buybar { border-color: #6b6880; }
}

/* html/body com overflow-x:hidden (legado) viram contêiner de rolagem e quebram position:sticky; clip corta igual sem isso */
html, body { overflow-x: clip !important; overflow-y: visible !important; }


/* =====================================================================================
   Modo escuro (segue o sistema; mesma família do checkout). Base do manual da marca:
   #0F0D14 fundo, #171520 superfície, #1F1C2B elevado, #2B2738 borda.
   ===================================================================================== */
@media (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]), :root:not([data-tema="light"]) body { background: #0f0d14; }
	:root:not([data-tema="light"]) .lgp { --lgp-bg: #0f0d14; --lgp-card: #171520; --lgp-surface: #171520; --lgp-ink: #f5f3fb; --lgp-muted: #a29eb8; --lgp-desc: #c6c2d8; --lgp-line: #2b2738; --lgp-fill: #1f1c2b; --lgp-ok: #3ddc97; --lgp-ok-bg: rgba(61, 220, 151, .14); --lgp-ok-txt: #5ee6ad; --lgp-off: #ff6b81; --lgp-off-bg: rgba(255, 107, 129, .14); --lgp-off-txt: #ff8a9b; --lgp-aviso-bg: rgba(255, 159, 67, .14); --lgp-aviso-txt: #ffb870; --lgp-glass: rgba(23, 21, 32, .74); --lgp-glass-forte: rgba(23, 21, 32, .84); }
	:root:not([data-tema="light"]) .lgp-logo-claro { display: none !important; }
	:root:not([data-tema="light"]) .lgp-logo-escuro { display: block !important; }
	:root:not([data-tema="light"]) .lgp-hero-neutro { background: linear-gradient(95deg, #1a1530 0%, #2a1f5c 36%, #4a2fd0 66%, #221255 100%); }
	:root:not([data-tema="light"]) .lgp-busca input::placeholder { color: #7f7b95; }
	:root:not([data-tema="light"]) .lgp .lgp-busca-hero { background: #171520; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
	:root:not([data-tema="light"]) .lgp-hero-chips a, :root:not([data-tema="light"]) .lgp-chips-mkt a { box-shadow: none; }
	:root:not([data-tema="light"]) .lgp-banners, :root:not([data-tema="light"]) .lgp-item:hover, :root:not([data-tema="light"]) .lgp-card:hover, :root:not([data-tema="light"]) .lgp-loja-card:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
	:root:not([data-tema="light"]) .lgp-item-foto, :root:not([data-tema="light"]) .lgp-card-foto, :root:not([data-tema="light"]) .lgp-prod-foto { background: #f1eff8; }
	:root:not([data-tema="light"]) .lgp .lgp-buybar { border-color: rgba(255, 255, 255, .08); box-shadow: 0 16px 40px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
	:root:not([data-tema="light"]) .lgp .lgp-tabbar { border-top-color: rgba(255, 255, 255, .08); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
	:root:not([data-tema="light"]) .lgp-mkt .lgp-bar { border-bottom-color: rgba(255, 255, 255, .06); }
	:root:not([data-tema="light"]) .lgp-badge, :root:not([data-tema="light"]) .lgp-tabbar a b { box-shadow: 0 0 0 2px #171520; }
	:root:not([data-tema="light"]) .lgp .footer .footer-info, :root:not([data-tema="light"]) .lgp .footer-cidade .footer-info { background: #0a0810 !important; }
	:root:not([data-tema="light"]) .lgp-vender { background: rgba(255, 255, 255, .08); }
	:root:not([data-tema="light"]) .sidr { background: #171520 !important; color: #f5f3fb; }
	:root:not([data-tema="light"]) .sidr .sidebar-content, :root:not([data-tema="light"]) .sidr .sidebar-info { background: transparent; }
	:root:not([data-tema="light"]) .sidr .sidebar-info .title, :root:not([data-tema="light"]) .sidr .sidebar-links a { color: #f5f3fb; }
	:root:not([data-tema="light"]) .sidr .sidebar-info .content, :root:not([data-tema="light"]) .sidr .sidebar-info .content a { color: #c6c2d8; }
	:root:not([data-tema="light"]) .sidr .sidebar-info { border-color: #2b2738; }
	:root:not([data-tema="light"]) .sidr .sidebar-links a { border-color: #2b2738; }
	:root:not([data-tema="light"]) .modal .modal-content { background: #171520; color: #f5f3fb; }
	:root:not([data-tema="light"]) .modal .modal-header, :root:not([data-tema="light"]) .modal .modal-footer { border-color: #2b2738; }
	:root:not([data-tema="light"]) .modal .close, :root:not([data-tema="light"]) .modal .modal-header i { color: #a29eb8; }
	:root:not([data-tema="light"]) .modal select, :root:not([data-tema="light"]) .modal input { background: #1f1c2b; color: #f5f3fb; border-color: #2b2738; }
	:root:not([data-tema="light"]) .modal .adicionado, :root:not([data-tema="light"]) .modal .adicionado * { color: #f5f3fb; }
}
	:root[data-tema="dark"], :root[data-tema="dark"] body { background: #0f0d14; }
	:root[data-tema="dark"] .lgp { --lgp-bg: #0f0d14; --lgp-card: #171520; --lgp-surface: #171520; --lgp-ink: #f5f3fb; --lgp-muted: #a29eb8; --lgp-desc: #c6c2d8; --lgp-line: #2b2738; --lgp-fill: #1f1c2b; --lgp-ok: #3ddc97; --lgp-ok-bg: rgba(61, 220, 151, .14); --lgp-ok-txt: #5ee6ad; --lgp-off: #ff6b81; --lgp-off-bg: rgba(255, 107, 129, .14); --lgp-off-txt: #ff8a9b; --lgp-aviso-bg: rgba(255, 159, 67, .14); --lgp-aviso-txt: #ffb870; --lgp-glass: rgba(23, 21, 32, .74); --lgp-glass-forte: rgba(23, 21, 32, .84); }
	:root[data-tema="dark"] .lgp-logo-claro { display: none !important; }
	:root[data-tema="dark"] .lgp-logo-escuro { display: block !important; }
	:root[data-tema="dark"] .lgp-hero-neutro { background: linear-gradient(95deg, #1a1530 0%, #2a1f5c 36%, #4a2fd0 66%, #221255 100%); }
	:root[data-tema="dark"] .lgp-busca input::placeholder { color: #7f7b95; }
	:root[data-tema="dark"] .lgp .lgp-busca-hero { background: #171520; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
	:root[data-tema="dark"] .lgp-hero-chips a, :root[data-tema="dark"] .lgp-chips-mkt a { box-shadow: none; }
	:root[data-tema="dark"] .lgp-banners, :root[data-tema="dark"] .lgp-item:hover, :root[data-tema="dark"] .lgp-card:hover, :root[data-tema="dark"] .lgp-loja-card:hover { box-shadow: 0 12px 32px rgba(0, 0, 0, .5); }
	:root[data-tema="dark"] .lgp-item-foto, :root[data-tema="dark"] .lgp-card-foto, :root[data-tema="dark"] .lgp-prod-foto { background: #f1eff8; }
	:root[data-tema="dark"] .lgp .lgp-buybar { border-color: rgba(255, 255, 255, .08); box-shadow: 0 16px 40px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06); }
	:root[data-tema="dark"] .lgp .lgp-tabbar { border-top-color: rgba(255, 255, 255, .08); box-shadow: 0 -10px 30px rgba(0, 0, 0, .4); }
	:root[data-tema="dark"] .lgp-mkt .lgp-bar { border-bottom-color: rgba(255, 255, 255, .06); }
	:root[data-tema="dark"] .lgp-badge, :root[data-tema="dark"] .lgp-tabbar a b { box-shadow: 0 0 0 2px #171520; }
	:root[data-tema="dark"] .lgp .footer .footer-info, :root[data-tema="dark"] .lgp .footer-cidade .footer-info { background: #0a0810 !important; }
	:root[data-tema="dark"] .lgp-vender { background: rgba(255, 255, 255, .08); }
	:root[data-tema="dark"] .sidr { background: #171520 !important; color: #f5f3fb; }
	:root[data-tema="dark"] .sidr .sidebar-content, :root[data-tema="dark"] .sidr .sidebar-info { background: transparent; }
	:root[data-tema="dark"] .sidr .sidebar-info .title, :root[data-tema="dark"] .sidr .sidebar-links a { color: #f5f3fb; }
	:root[data-tema="dark"] .sidr .sidebar-info .content, :root[data-tema="dark"] .sidr .sidebar-info .content a { color: #c6c2d8; }
	:root[data-tema="dark"] .sidr .sidebar-info { border-color: #2b2738; }
	:root[data-tema="dark"] .sidr .sidebar-links a { border-color: #2b2738; }
	:root[data-tema="dark"] .modal .modal-content { background: #171520; color: #f5f3fb; }
	:root[data-tema="dark"] .modal .modal-header, :root[data-tema="dark"] .modal .modal-footer { border-color: #2b2738; }
	:root[data-tema="dark"] .modal .close, :root[data-tema="dark"] .modal .modal-header i { color: #a29eb8; }
	:root[data-tema="dark"] .modal select, :root[data-tema="dark"] .modal input { background: #1f1c2b; color: #f5f3fb; border-color: #2b2738; }
	:root[data-tema="dark"] .modal .adicionado, :root[data-tema="dark"] .modal .adicionado * { color: #f5f3fb; }


/* =====================================================================================
   hm-designer: estados desenhados (carregando, sem foto, vazio), indicação de rolagem, largura
   ===================================================================================== */
@keyframes lgp-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
.lgp-item-foto, .lgp-card-foto, .lgp-loja-capa {
	background-image: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--lgp-surface) 55%, transparent) 50%, transparent 70%);
	background-size: 200% 100%; animation: lgp-shimmer 1.3s linear infinite;
}
.lgp-item-foto.is-ok, .lgp-card-foto.is-ok, .lgp-loja-capa.is-ok { animation: none; background-image: none; }
.lgp-item-foto img, .lgp-card-foto img, .lgp-loja-capa img { opacity: 0; transition: opacity .3s ease; }
.lgp-item-foto.is-ok img, .lgp-card-foto.is-ok img, .lgp-loja-capa.is-ok img { opacity: 1; }
.lgp-item.is-off .lgp-item-foto.is-ok img, .lgp-card.is-off .lgp-card-foto.is-ok img { opacity: .55; }
.lgp-loja-card.is-off .lgp-loja-capa.is-ok img { opacity: .75; }
@media (scripting: none) { .lgp-item-foto img, .lgp-card-foto img, .lgp-loja-capa img { opacity: 1; } }
/* sem foto: a inicial do nome sobre o tom da loja, nunca um ícone genérico repetido */
.lgp .sem-foto { display: grid; place-items: center; background: linear-gradient(135deg, color-mix(in srgb, var(--lgp-cor) 16%, var(--lgp-surface)), color-mix(in srgb, var(--lgp-cor) 6%, var(--lgp-surface))); }
.lgp .sem-foto::before { content: attr(data-ini); font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: color-mix(in srgb, var(--lgp-cor) 55%, var(--lgp-ink)); opacity: .55; }
.lgp .lgp-loja-capa.sem-foto::before { font-size: 64px; color: var(--lgp-sobre); opacity: .9; }
.lgp .lgp-loja-capa.sem-foto { background: var(--lgp-cor) !important; }
.lgp .lgp-item-foto.sem-foto::before { font-size: 34px; }
.lgp .sem-foto .lgp-tag { position: absolute; }
.lgp .lgp-loja-capa.sem-foto .lgp-pill-capa { position: absolute; }

/* esmaece a borda de listas roláveis onde ainda há conteúdo */
.tem-mais-dir { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
.tem-mais-esq { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 44px), transparent); }
.tem-mais-dir.tem-mais-esq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 44px, #000 calc(100% - 44px), transparent); }

/* estado de carregamento da sacola: esqueleto, não spinner */
.lgp-skel { display: grid; justify-items: center; gap: 12px; padding: 18px 0 8px; }
.lgp-skel > i, .lgp-skel > b, .lgp-skel > span { display: block; border-radius: 12px; background: linear-gradient(100deg, var(--lgp-fill) 30%, color-mix(in srgb, var(--lgp-fill) 55%, var(--lgp-surface)) 50%, var(--lgp-fill) 70%); background-size: 200% 100%; animation: lgp-shimmer 1.3s linear infinite; }
.lgp-skel > i { width: 56px; height: 56px; border-radius: 50%; }
.lgp-skel > b { width: 60%; height: 16px; } .lgp-skel > b + b { width: 40%; height: 12px; }
.lgp-skel > span { width: 100%; height: 44px; margin-top: 8px; }

/* estados vazios / erro: o ícone ganha um assento, o texto respira */
.lgp-vazio > i.lni { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; margin-bottom: 6px; background: color-mix(in srgb, var(--lgp-acento) 12%, var(--lgp-surface)); font-size: 38px; }
.lgp-erro > i.lni { font-size: 40px; }
.lgp-vazio strong { letter-spacing: -.01em; }

/* largura: em telas grandes o conteúdo cresce com a tela (teto 1440), 3 colunas de produtos */
.lgp-wrap { max-width: 1440px; }
.lgp-mkt .lgp-wrap, .lgp-mkt-main .lgp-wrap { max-width: 1440px; }
@media (min-width: 1360px) {
	.lgp-lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lgp-hero-l { left: max(24px, calc((100vw - 1440px) / 2 + 24px)); width: calc(34vw - max(24px, calc((100vw - 1440px) / 2 + 24px))); }
}

/* escuro: o degradê claro do banner escurece à esquerda para a busca não flutuar sobre lavanda */
@media (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]) .lgp-hero:not(.lgp-hero-neutro)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0f0d14 0%, rgba(15, 13, 20, .9) 22%, rgba(15, 13, 20, .35) 40%, rgba(15, 13, 20, 0) 56%); pointer-events: none; }
	:root:not([data-tema="light"]) .lgp .sem-foto::before { color: #fff; opacity: .5; }
}
	:root[data-tema="dark"] .lgp-hero:not(.lgp-hero-neutro)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0f0d14 0%, rgba(15, 13, 20, .9) 22%, rgba(15, 13, 20, .35) 40%, rgba(15, 13, 20, 0) 56%); pointer-events: none; }
	:root[data-tema="dark"] .lgp .sem-foto::before { color: #fff; opacity: .5; }
@media (max-width: 991px) and (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]) .lgp-hero:not(.lgp-hero-neutro)::before { display: none; }
}
@media (max-width: 991px) {
	:root[data-tema="dark"] .lgp-hero:not(.lgp-hero-neutro)::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.lgp-item-foto, .lgp-card-foto, .lgp-loja-capa, .lgp-skel > * { animation: none !important; }
}

/* evita colapso de margem do primeiro filho expondo uma faixa do fundo entre a folha branca e o conteúdo */
.lgp-main > .lgp-wrap { display: flow-root; }


/* ação do cartão: adicionar → seletor de quantidade; aviso "na sacola" */
.lgp-card-main { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.lgp-card-acao { margin-top: auto; }
.lgp-acao-troca { display: inline-block; }
.lgp-card .lgp-acao-troca, .lgp-card .lgp-acao-troca .lgp-btn, .lgp-card .lgp-step, .lgp-card-acao > .lgp-btn { width: 100%; }
.lgp-acao-troca .lgp-step { display: none; }
.lgp-acao-troca.no-carrinho .lgp-add { display: none; }
.lgp-acao-troca.no-carrinho .lgp-step { display: inline-flex; }
.lgp-step { align-items: center; justify-content: space-between; border: 1.5px solid var(--lgp-cor); border-radius: 12px; overflow: hidden; background: var(--lgp-surface); }
.lgp-step button { width: 44px; height: 42px; border: 0; background: transparent; color: var(--lgp-cor); font-size: 14px; cursor: pointer; }
.lgp-step button:hover { background: var(--lgp-suave); }
.lgp-step output { min-width: 30px; text-align: center; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.lgp-add:disabled, .lgp-step button:disabled { opacity: .55; }
.lgp-btn.is-desab { opacity: .5; cursor: not-allowed; }
.lgp-item-acao .lgp-btn { min-width: 118px; }
.lgp-toast { position: fixed; top: 16px; right: 24px; z-index: 70; display: flex; align-items: center; gap: 12px; width: max-content; max-width: min(92vw, 440px); padding: 12px 16px; border-radius: 16px; background: #17152b; color: #fff; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); transform: translateY(-24px); opacity: 0; pointer-events: none; transition: transform .5s var(--lgp-mola-ressalto), opacity .2s ease; font-size: 14px; }
.lgp-toast[hidden] { display: none; }
.lgp-toast.is-on { transform: none; opacity: 1; pointer-events: auto; }
.lgp-toast > i { font-size: 20px; color: #3ddc97; flex: none; }
.lgp-toast .lni-warning { color: #ffb870; }
.lgp-toast a { margin-left: auto; padding-left: 12px; color: #fff; font-weight: 800; white-space: nowrap; border-left: 1px solid rgba(255, 255, 255, .25); }
@media (max-width: 991px) { .lgp-toast { top: calc(12px + env(safe-area-inset-top)); left: 0; right: 0; margin: 0 auto; } }
@media (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]) .lgp-toast { background: #f5f3fb; color: #17152b; }
	:root:not([data-tema="light"]) .lgp-toast a { color: #17152b; border-color: rgba(0, 0, 0, .2); }
	:root:not([data-tema="light"]) .lgp-toast > i { color: #0f9d63; }
}
	:root[data-tema="dark"] .lgp-toast { background: #f5f3fb; color: #17152b; }
	:root[data-tema="dark"] .lgp-toast a { color: #17152b; border-color: rgba(0, 0, 0, .2); }
	:root[data-tema="dark"] .lgp-toast > i { color: #0f9d63; }
.lgp .lgp-step button i, .lgp .lgp-add i, .lgp .lgp-btn i { color: inherit !important; }
.lgp button.lgp-user { border: 0; cursor: pointer; }
.lgp-grupo.tem-erro { border-color: var(--lgp-off); box-shadow: 0 0 0 4px color-mix(in srgb, var(--lgp-off) 18%, transparent); animation: lgp-treme .4s ease; }
@keyframes lgp-treme { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .lgp-grupo.tem-erro { animation: none; } }

/* tema escolhido pelo usuário vence o do sistema (controles nativos, barras de rolagem) */
:root[data-tema="light"] { color-scheme: light; }
:root[data-tema="dark"] { color-scheme: dark; }

/* controle de aparência (menu lateral: fica fora de .lgp, então usa só variáveis de :root) */
.lgp-tema-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: #f3f2fa; border-radius: 14px; }
.lgp-tema-seg button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #6b6880; font: 600 13px/1 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: background-color .15s, color .15s, transform .5s var(--lgp-mola); }
.lgp-tema-seg button i { font-size: 16px; color: inherit !important; }
.lgp-tema-seg button:active { transform: scale(.96); transition-duration: 80ms; }
.lgp-tema-seg button[aria-pressed="true"] { background: #fff; color: var(--lgp-cor); box-shadow: 0 2px 8px rgba(23, 21, 43, .1); }
@media (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]) .lgp-tema-seg { background: #1f1c2b; }
	:root:not([data-tema="light"]) .lgp-tema-seg button { color: #a29eb8; }
	:root:not([data-tema="light"]) .lgp-tema-seg button[aria-pressed="true"] { background: #2b2738; color: #fff; box-shadow: none; }
}
:root[data-tema="dark"] .lgp-tema-seg { background: #1f1c2b; }
:root[data-tema="dark"] .lgp-tema-seg button { color: #a29eb8; }
:root[data-tema="dark"] .lgp-tema-seg button[aria-pressed="true"] { background: #2b2738; color: #fff; box-shadow: none; }
.lgp-tema-seg { box-sizing: border-box; width: 100%; }
.lgp-tema-seg button { min-width: 0; padding: 0 2px; gap: 4px; font-size: 12.5px; white-space: nowrap; }

/* ícones dentro de botões herdam a cor do botão (o CSS legado pintava <i> de laranja/cor da loja) */
.lgp .lgp-user, .lgp button.lgp-user { color: var(--lgp-sobre); padding: 0; line-height: 1; }
.lgp .lgp-user i, .lgp .lgp-sec-nav button i, .lgp .lgp-busca-filtro i { color: inherit !important; display: block; line-height: 1; font-size: inherit; }
.lgp .lgp-user { font-size: 22px; }
.lgp .lgp-sec-nav button { padding: 0; line-height: 1; font-size: 16px; color: var(--lgp-ink); }
.lgp .lgp-sec-nav button:disabled { opacity: .35; cursor: default; }
.lgp .lgp-seta i, .lgp .lgp-share i, .lgp .lgp-pag a i { color: inherit !important; }

/* logo do rodapé: proporção original (o CSS legado fixava a largura e achatava), sem filtro cinza; no escuro entra a versão branca */
.lgp .footer .copyright .watermark img { width: auto !important; height: 36px !important; filter: none !important; opacity: .95; }
.lgp .footer .lgp-foot-escuro { display: none !important; }
@media (prefers-color-scheme: dark) {
	:root:not([data-tema="light"]) .lgp .footer .lgp-foot-claro { display: none !important; }
	:root:not([data-tema="light"]) .lgp .footer .lgp-foot-escuro { display: inline-block !important; }
}
:root[data-tema="dark"] .lgp .footer .lgp-foot-claro { display: none !important; }
:root[data-tema="dark"] .lgp .footer .lgp-foot-escuro { display: inline-block !important; }

/* ---------- Promoção agendada ---------- */
.lgp-tag-rotulo { max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgp-pacote, .lgp-proxima { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 2px; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.lgp-pacote { background: color-mix(in srgb, var(--lgp-acento) 14%, var(--lgp-surface)); color: color-mix(in srgb, var(--lgp-acento) 80%, var(--lgp-ink)); }
.lgp-pacote i { font-size: 13px; color: inherit !important; }
.lgp-proxima { background: var(--lgp-fill); color: var(--lgp-muted); font-weight: 600; }
.lgp-promo-caixa { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--lgp-acento) 40%, var(--lgp-line)); background: color-mix(in srgb, var(--lgp-acento) 10%, var(--lgp-surface)); }
.lgp-promo-caixa > i { font-size: 22px; color: var(--lgp-acento) !important; margin-top: 1px; }
.lgp-promo-caixa strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.005em; }
.lgp-promo-caixa span { font-size: 13px; color: var(--lgp-desc); }
.lgp-promo-caixa.is-proxima { border-color: var(--lgp-line); background: var(--lgp-fill); }
.lgp-promo-caixa.is-proxima > i { color: var(--lgp-muted) !important; }
.lgp-preco { flex-wrap: wrap; row-gap: 2px; }
.lgp-preco b, .lgp-preco s { white-space: nowrap; }
.lgp-prod-semfoto { display: grid; place-items: center; aspect-ratio: 1; }
.lgp-prod-semfoto::before { font-size: 96px !important; }

/* "Ofertas" sempre em primeiro (menu, chips e seção) e com destaque de acento */
.lgp-nav a.lgp-nav-ofertas, .lgp-mkt-nav a.lgp-nav-ofertas, .lgp-mkt-tabs a.lgp-nav-ofertas { color: var(--lgp-ink); }
.lgp-nav a.lgp-nav-ofertas { background: color-mix(in srgb, var(--lgp-acento) 14%, var(--lgp-surface)); }
.lgp-nav a.lgp-nav-ofertas.is-ativo { background: var(--lgp-cor); }
.lgp-chips a.lgp-chip-ofertas:not(.is-ativo) { background: color-mix(in srgb, var(--lgp-acento) 14%, var(--lgp-surface)); }
.lgp-sec-ofertas .lgp-sec-h h2 { color: var(--lgp-ink); }
