/* =====================================================================
   TRAVA DE SEGURANÇA — bloqueio incondicional do layout desktop no app
   Independe do roteamento PHP/wp_is_mobile(): cobre o caso em que o
   WebView do app usa um User-Agent que o WP não reconhece como mobile
   e acaba renderizando header-teste.php / templates *-desktop.php.
   Especificidade alta (html body ...) para vencer o !important inline
   de header-teste.php mesmo se ele chegar a ser impresso por engano.
===================================================================== */
@media (max-width: 991px) {
	html body #lc-hd,
	html body #lcad-modal,
	html body #lclg-modal,
	html body .lc-dev,
	html body .lc-dev-badge,
	html body .modo-teste,
	html body #modo-teste {
		display: none !important;
	}
}

/* =====================================================================
   RESET & TOKENS
===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design System Tokens ────────────────────────────────────────────
   Superfícies: 3 níveis com diferença de luminância perceptível
   Acento: dessaturado para UI; semântico apenas em verde/vermelho/ciano
   Sombras: discretas (sem glow/neon)
   Tipografia: escala consistente em 5 passos
──────────────────────────────────────────────────────────────────── */
:root {
	/* Surfaces */
	--navy:      #07101e;   /* fundo de página (mais escuro)          */
	--navy-mid:  #0d1e35;   /* card (surface 1)                       */
	--navy-nav:  #0a1828;   /* nav / header interno                   */
	--navy-card: #162c48;   /* card elevado (surface 2)               */

	/* Brand + Links */
	--accent:    #4fc3f7;   /* ciano — links, highlights, ativo       */
	--accent2:   #2d7fc1;   /* azul dessaturado — botões de ação      */

	/* Semantic */
	--color-open:   rgba(76, 175, 80, 1);    /* verde — aberto / WA  */
	--color-closed: rgba(239, 83, 80, 1);    /* vermelho — fechado    */

	/* Text */
	--white: #ffffff;
	--soft:  rgba(255, 255, 255, .72);
	--dim:   rgba(255, 255, 255, .44);

	/* Borders */
	--border:    rgba(255, 255, 255, .08);
	--border-hi: rgba(255, 255, 255, .14);

	/* Shadows (sem glow — apenas sombras discretas) */
	--shadow-card:   0 1px 3px rgba(0,0,0,.5), 0 4px 14px rgba(0,0,0,.28);
	--shadow-raised: 0 4px 20px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4);

	/* Typography scale: hero / xl / lg / md / sm / xs */
	--fs-hero: 28px;
	--fs-xl:   22px;
	--fs-lg:   17px;
	--fs-md:   15px;
	--fs-sm:   13px;
	--fs-xs:   11px;

	/* Radius */
	--radius:    16px;
	--radius-sm: 10px;
	--radius-pill: 999px;

	/* Layout */
	--nav-h:     64px;
}

html { height: 100%; -webkit-text-size-adjust: 100%; overflow-x: hidden !important; }

body {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--navy);
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	color: var(--white);
	overflow-x: hidden !important;
	-webkit-font-smoothing: antialiased;
}

/* =====================================================================
   SCREEN
===================================================================== */
.screen {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--navy);
}

/* =====================================================================
   SHARED: BACK HEADER
===================================================================== */
.back-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: calc(env(safe-area-inset-top, 0px) + 58px) 16px 14px;
	background: var(--navy-mid);
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--border);
	box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.back-btn {
	width: 36px; height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	color: var(--white); font-size: 15px; flex-shrink: 0;
	transition: background .15s;
	-webkit-tap-highlight-color: transparent;
	text-decoration: none;
}
.back-btn:hover, .back-btn:focus-visible { background: rgba(255, 255, 255, .18); }
.back-header h2 {
	font-size: var(--fs-lg, 17px);
	font-weight: 700;
	letter-spacing: .2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	flex: 1;
	min-width: 0;
}

/* =====================================================================
   SCREEN 1 — HOME HEADER
===================================================================== */
/* Wrapper centralizador — centraliza e limita em desktop */
.home-wrapper {
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.home-header {
	background: var(--navy);
	padding: calc(env(safe-area-inset-top, 0px) + 58px) 0 14px;
}

.logo {
	text-align: center; font-size: 28px; font-weight: 900;
	letter-spacing: 7px; text-transform: uppercase;
	line-height: 1; user-select: none;
}
.logo em { color: var(--accent); font-style: normal; }

/* Logo como imagem (quando configurada no painel) */
.logo-brand-img { height: 110px; width: auto; max-width: 88vw; object-fit: contain; display: block; }
.lc-splash-logo-img { height: 130px; width: auto; max-width: 88vw; object-fit: contain; display: block; margin: 0 auto; }

.logo-sub {
	text-align: center; font-size: 11px; font-weight: 400;
	letter-spacing: 1px;
	color: rgba(255,255,255,.7); margin: 6px 0 0;
}

/* ─── Pill Search Bar ─── */
.lc-pill-search {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 50px;
	padding: 4px 6px 4px 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
	margin-bottom: 12px;
	min-height: 48px;
}

.lc-pill-input-area {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1;
	min-width: 0;
}

.lc-pill-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
	min-width: 44px;
	min-height: 44px;
	margin: -10px 0 -10px -10px;
	color: #999;
	font-size: 16px;
	flex-shrink: 0;
	-webkit-tap-highlight-color: transparent;
	transition: color .15s;
}
.lc-pill-submit:hover { color: var(--accent2); }
.lc-search-form { display: block; width: 100%; }

.lc-pill-input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-size: 16px;
	color: #222;
	min-width: 0;
	-webkit-appearance: none;
	padding: 0;
}
.lc-pill-input:focus,
.lc-pill-input:focus-visible {
	outline: none !important;
	border: none !important;
	box-shadow: none !important;
}
.lc-pill-input::placeholder { color: #aaa; }
.lc-pill-input::-webkit-search-cancel-button { -webkit-appearance: none; }

.lc-pill-sep {
	width: 1px;
	height: 22px;
	background: #ddd;
	flex-shrink: 0;
	margin: 0 2px;
}

.lc-pill-city-btn {
	display: flex;
	align-items: center;
	gap: 5px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: background .15s;
}
.lc-pill-city-btn:hover { background: rgba(0, 0, 0, .05); }
.lc-pill-chevron { font-size: 10px; color: #999; transition: transform .2s; }
.lc-pill-city-btn[aria-expanded="true"] .lc-pill-chevron { transform: rotate(180deg); }

.lc-pill-cat-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 50px;
	font-size: 17px;
	color: #333;
	-webkit-tap-highlight-color: transparent;
	transition: background .15s;
	flex-shrink: 0;
}
.lc-pill-cat-btn:hover { background: rgba(0, 0, 0, .05); }

/* ─── Dropdown Wrapper ─── */
.lc-pill-dw { position: relative; }

/* ─── Floating Dropdown ─── */
.lc-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	background-color: #ffffff !important;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .06);
	max-height: 320px;
	overflow-y: auto;
	z-index: 950;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease;
	min-width: 200px;
}
.lc-dropdown.open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* Scrollbar customizada */
.lc-dropdown::-webkit-scrollbar              { width: 6px; }
.lc-dropdown::-webkit-scrollbar-track        { background: transparent; }
.lc-dropdown::-webkit-scrollbar-thumb        { background: #e2e8f0; border-radius: 99px; }
.lc-dropdown::-webkit-scrollbar-thumb:hover  { background: #cbd5e1; }

#lc-city-dropdown {
	right: 0;
	left: auto;
	min-width: 230px;
	max-width: calc(100vw - 32px);
	box-sizing: border-box;
	display: block !important;
	padding: 6px;
}
#lc-cat-dropdown {
	right: 0;
	min-width: 260px;
	max-width: calc(100vw - 32px);
	display: flex !important;
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	gap: 2px !important;
	padding: 6px;
	max-height: 360px;
}

/* ─── City Dropdown Items ─── */
.lc-city-item {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border: none;
	background: transparent !important;
	cursor: pointer;
	color: #334155 !important;
	font-size: 13px;
	font-weight: 500;
	text-align: left;
	width: 100%;
	box-sizing: border-box;
	transition: background-color .15s ease;
	-webkit-tap-highlight-color: transparent;
	border-radius: 8px;
}
.lc-city-item:hover  { background-color: #f1f5f9 !important; }
.lc-city-item.active { background-color: transparent !important; color: #334155 !important; font-weight: 700; }
.lc-city-item i {
	font-size: 13px;
	color: #94a3b8 !important;
	width: 16px;
	text-align: center;
	flex-shrink: 0;
	background: none !important;
	box-shadow: none !important;
}

/* ─── Cat Dropdown Items ─── */
.lc-cat-dropdown .bs-cat-item {
	display: flex !important;
	align-items: center !important;
	flex: none !important;
	width: 100% !important;
	box-sizing: border-box;
	background: transparent !important;
	border-radius: 8px;
	padding: 12px 16px;
	gap: 12px !important;
}
.lc-cat-dropdown .bs-cat-item:hover,
.lc-cat-dropdown .bs-cat-item:active {
	background-color: #f1f5f9 !important;
	transform: none !important;
}
.lc-cat-dropdown .bs-cat-item.active         { background: transparent !important; }
.lc-cat-dropdown .bs-cat-name                { color: #334155 !important; font-size: 13px !important; font-weight: 500 !important; }
.lc-cat-dropdown .bs-cat-item.active .bs-cat-name { color: #334155 !important; font-weight: 700 !important; }

/* ─── Ícones sem caixa ─── */
.lc-cat-dropdown .bs-cat-icon {
	width: 18px !important;
	height: 18px !important;
	border-radius: 0 !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	border: none !important;
	font-size: 14px !important;
	color: #94a3b8 !important;
	flex-shrink: 0;
}
.lc-cat-dropdown .bs-cat-icon i { color: #94a3b8 !important; }

/* ─── Home main ─── */
.home-main {
	flex: 1;
	padding: 8px 0 calc(var(--nav-h) + 20px + env(safe-area-inset-bottom));
	overflow-y: auto; -webkit-overflow-scrolling: touch;
}

.section-label {
	font-size: 11px; font-weight: 700; letter-spacing: 2px;
	text-transform: uppercase; color: var(--dim); margin: 24px 0 12px;
	clear: both;
}

/* Promo strip */
.promo {
	background: linear-gradient(90deg, #0d47a1, #1565c0);
	border-radius: 14px; padding: 13px 16px;
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 18px; cursor: pointer; transition: opacity .15s;
}
.promo:hover { opacity: .9; }
.promo p { font-size: 11px; color: rgba(255, 255, 255, .65); }
.promo strong { font-size: 14px; font-weight: 700; color: #fff; display: block; }
.promo i { font-size: 22px; color: var(--accent); }

/* =====================================================================
   CATEGORY GRID
===================================================================== */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

@media (min-width: 600px) {
	.grid { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
}

.card {
	aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid var(--border);
	cursor: pointer; display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 7px; padding: 6px 4px;
	position: relative; overflow: hidden;
	background: var(--navy-mid);
	box-shadow: var(--shadow-card);
	transition: transform .14s cubic-bezier(.34, 1.56, .64, 1), box-shadow .14s;
	-webkit-tap-highlight-color: transparent; text-decoration: none;
}
/* Ripple on tap */
.card::before {
	content: ''; position: absolute; inset: 0;
	background: rgba(255,255,255,.06); opacity: 0;
	border-radius: var(--radius); transition: opacity .1s; pointer-events: none;
}
.card:hover { transform: scale(1.03); box-shadow: var(--shadow-raised); }
.card:active::before { opacity: 1; }
.card:active { transform: scale(0.92); box-shadow: none !important; }

.card .ci {
	font-size: 26px; line-height: 1; color: #fff !important;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .35));
	position: relative; z-index: 1; pointer-events: none;
}
.card .card-label {
	font-size: var(--fs-xs, 11px); font-weight: 700; color: rgba(255,255,255,.92) !important;
	text-align: center;
	letter-spacing: .2px; line-height: 1.25; position: relative; z-index: 1;
	max-width: 100%; hyphens: auto; pointer-events: none;
}

/* ── DESIGN SYSTEM: PALETA DE SEGMENTOS ─────────────────────────────
   Tokens de cor por categoria (--cat-color) para identificação sutil.
   Tiles de segmento (.grid .card) → fundo neutro + borda tintada.
   Avatares de lista (.biz-avatar) → cor de fundo preservada (pequeno).
──────────────────────────────────────────────────────────────────── */

/* tokens de cor por segmento */
.c-agro      { --cat-color: #4caf50; }
.c-super     { --cat-color: #2196f3; }
.c-saude     { --cat-color: #f44336; }
.c-lanches   { --cat-color: #ff9800; }
.c-farma     { --cat-color: #26a69a; }
.c-eletro    { --cat-color: #9575cd; }
.c-moda      { --cat-color: #f06292; }
.c-obras     { --cat-color: #a1887f; }
.c-edu       { --cat-color: #29b6f6; }
.c-servicos  { --cat-color: #26c6da; }
.c-beleza    { --cat-color: #ba68c8; }
.c-auto      { --cat-color: #ffb300; }
.c-academia  { --cat-color: #42a5f5; }
.c-autopeca  { --cat-color: #78909c; }
.c-banco     { --cat-color: #7986cb; }
.c-veiculo   { --cat-color: #546e7a; }
.c-distrib   { --cat-color: #ffa726; }
.c-escrit    { --cat-color: #26c6da; }
.c-evento    { --cat-color: #ce93d8; }
.c-flora     { --cat-color: #8bc34a; }
.c-grafica   { --cat-color: #ff7043; }
.c-hotel     { --cat-color: #a1887f; }
.c-imovel    { --cat-color: #42a5f5; }
.c-lavajato  { --cat-color: #4fc3f7; }
.c-movel     { --cat-color: #bcaaa4; }
.c-oficina   { --cat-color: #90a4ae; }
.c-padaria   { --cat-color: #f9a825; }
.c-pet       { --cat-color: #66bb6a; }
.c-restaurante { --cat-color: #ef5350; }
.c-seguranca { --cat-color: #42a5f5; }
.c-seguro    { --cat-color: #66bb6a; }
.c-sorvete   { --cat-color: #f48fb1; }
.c-util      { --cat-color: #ba68c8; }
.c-bar       { --cat-color: #ffb74d; }
.c-clinica   { --cat-color: #26c6da; }
.c-odonto    { --cat-color: #64b5f6; }
.c-radio     { --cat-color: #b39ddb; }
.c-lar       { --cat-color: #ffb300; }
.c-delivery  { --cat-color: #ce93d8; }
.c-internet  { --cat-color: #4fc3f7; }
.c-country   { --cat-color: #bcaaa4; }
.c-agua      { --cat-color: #4dd0e1; }
.c-util-pub  { --cat-color: #90a4ae; }
.c-ar        { --cat-color: #81d4fa; }
.c-funeraria { --cat-color: #78909c; }
.c-juridico  { --cat-color: #7986cb; }
.c-barbearia { --cat-color: #ff8a65; }
.c-medico    { --cat-color: #64b5f6; }
.c-chaveiro  { --cat-color: #ffd600; }
.c-papelaria { --cat-color: #d4e157; }
.c-foto      { --cat-color: #ff5722; }
.c-vidro     { --cat-color: #80deea; }
.c-refrig    { --cat-color: #81d4fa; }
.c-arquiteto { --cat-color: #5c8ac8; }
.c-acougue   { --cat-color: #ef5350; }
.c-auto-elet { --cat-color: #ff7043; }
.c-autoescola{ --cat-color: #4db6ac; }
.c-autopeca-n{ --cat-color: #9e9e9e; }
.c-celular   { --cat-color: #9575cd; }
.c-ceramica  { --cat-color: #c17f4a; }
.c-informatica{ --cat-color: #5b8db8; }
.c-moto      { --cat-color: #ffd54f; }
.c-mototaxi  { --cat-color: #aed581; }
.c-otica     { --cat-color: #ce93d8; }
.c-topografia{ --cat-color: #4dd0e1; }
.c-malharia  { --cat-color: #f48fb1; }
.c-construtora { --cat-color: #42a5f5; }
.c-contabil  { --cat-color: #90a4ae; }
.c-cooperativa { --cat-color: #66bb6a; }
.c-taxi      { --cat-color: #ffee58; }
.c-som-auto  { --cat-color: #ce93d8; }
.c-serralheria { --cat-color: #9e9e9e; }
.c-posto     { --cat-color: #ef5350; }
.c-pneu      { --cat-color: #9e9e9e; }
.c-perfumaria{ --cat-color: #f48fb1; }
.c-pastelaria{ --cat-color: #ff8a65; }
.c-pamonharia{ --cat-color: #ffe57f; }
.c-solar     { --cat-color: #ffab00; }
.c-embalagem { --cat-color: #d2691e; }
.c-despachante { --cat-color: #42a5f5; }
.c-calcados  { --cat-color: #ef9a9a; }
.c-laser     { --cat-color: #00e5ff; }
.c-creche    { --cat-color: #80cbc4; }
.c-decoracao { --cat-color: #d7ccc8; }
.c-eletricista { --cat-color: #ffd600; }
.c-emergencia  { --cat-color: #ef5350; }
.c-transporte  { --cat-color: #42a5f5; }

/* ── Avatares de lista: mantém a cor de fundo (tamanho pequeno, 56px) */
.biz-avatar.c-agro      { background: #1b5e20; }
.biz-avatar.c-super     { background: #0d47a1; }
.biz-avatar.c-saude     { background: #b71c1c; }
.biz-avatar.c-lanches   { background: #bf360c; }
.biz-avatar.c-farma     { background: #004d40; }
.biz-avatar.c-eletro    { background: #311b92; }
.biz-avatar.c-moda      { background: #880e4f; }
.biz-avatar.c-obras     { background: #4e342e; }
.biz-avatar.c-edu       { background: #01579b; }
.biz-avatar.c-servicos  { background: #006064; }
.biz-avatar.c-beleza    { background: #4a148c; }
.biz-avatar.c-auto      { background: #e65100; }
.biz-avatar.c-academia  { background: #1565c0; }
.biz-avatar.c-autopeca  { background: #424242; }
.biz-avatar.c-banco     { background: #1a237e; }
.biz-avatar.c-veiculo   { background: #1b2838; }
.biz-avatar.c-distrib   { background: #f57f17; }
.biz-avatar.c-escrit    { background: #00695c; }
.biz-avatar.c-evento    { background: #6a1b9a; }
.biz-avatar.c-flora     { background: #33691e; }
.biz-avatar.c-grafica   { background: #d84315; }
.biz-avatar.c-hotel     { background: #3e2723; }
.biz-avatar.c-imovel    { background: #0d3349; }
.biz-avatar.c-lavajato  { background: #0277bd; }
.biz-avatar.c-movel     { background: #5d4037; }
.biz-avatar.c-oficina   { background: #37474f; }
.biz-avatar.c-padaria   { background: #f9a825; }
.biz-avatar.c-pet       { background: #2e7d32; }
.biz-avatar.c-restaurante { background: #c62828; }
.biz-avatar.c-seguranca { background: #0a1931; }
.biz-avatar.c-seguro    { background: #1a6b3c; }
.biz-avatar.c-sorvete   { background: #ad1457; }
.biz-avatar.c-util      { background: #6d1b7b; }
.biz-avatar.c-bar       { background: #92400e; }
.biz-avatar.c-clinica   { background: #0e7490; }
.biz-avatar.c-odonto    { background: #1e40af; }
.biz-avatar.c-radio     { background: #6d28d9; }
.biz-avatar.c-lar       { background: #e65100; }
.biz-avatar.c-delivery  { background: #4a148c; }
.biz-avatar.c-internet  { background: #0277bd; }
.biz-avatar.c-country   { background: #795548; }
.biz-avatar.c-agua      { background: #00838f; }
.biz-avatar.c-util-pub  { background: #37474f; }
.biz-avatar.c-ar        { background: #0288d1; }
.biz-avatar.c-funeraria { background: #1a1a2e; }
.biz-avatar.c-juridico  { background: #1a237e; }
.biz-avatar.c-barbearia { background: #3e2723; }
.biz-avatar.c-medico    { background: #01579b; }
.biz-avatar.c-chaveiro  { background: #f57f17; }
.biz-avatar.c-papelaria { background: #827717; }
.biz-avatar.c-foto      { background: #263238; }
.biz-avatar.c-vidro     { background: #0277bd; }
.biz-avatar.c-refrig    { background: #1976d2; }
.biz-avatar.c-arquiteto { background: #0d1b35; }
.biz-avatar.c-acougue   { background: #5c0a0a; }
.biz-avatar.c-auto-elet { background: #b54500; }
.biz-avatar.c-autoescola{ background: #004d3a; }
.biz-avatar.c-autopeca-n{ background: #2c2c2c; }
.biz-avatar.c-celular   { background: #3a007a; }
.biz-avatar.c-ceramica  { background: #7a3010; }
.biz-avatar.c-informatica{ background: #2c3e6b; }
.biz-avatar.c-moto      { background: #7a5500; }
.biz-avatar.c-mototaxi  { background: #3a4d10; }
.biz-avatar.c-otica     { background: #4a0e6b; }
.biz-avatar.c-topografia{ background: #003545; }
.biz-avatar.c-malharia  { background: #8c004d; }
.biz-avatar.c-construtora { background: #0d2137; }
.biz-avatar.c-contabil  { background: #455a64; }
.biz-avatar.c-cooperativa { background: #004d2c; }
.biz-avatar.c-taxi      { background: #ff8f00; }
.biz-avatar.c-som-auto  { background: #7b1fa2; }
.biz-avatar.c-serralheria { background: #212121; }
.biz-avatar.c-posto     { background: #7f0000; }
.biz-avatar.c-pneu      { background: #1c1c1c; }
.biz-avatar.c-perfumaria{ background: #880e4f; }
.biz-avatar.c-pastelaria{ background: #e64a19; }
.biz-avatar.c-pamonharia{ background: #c8a400; }
.biz-avatar.c-solar     { background: #f4511e; }
.biz-avatar.c-embalagem { background: #8b4513; }
.biz-avatar.c-despachante { background: #003366; }
.biz-avatar.c-calcados  { background: #4a0e0e; }
.biz-avatar.c-laser     { background: #0097a7; }
.biz-avatar.c-creche    { background: #009688; }
.biz-avatar.c-decoracao { background: #6d4c41; }
.biz-avatar.c-eletricista { background: #7a6000; }
.biz-avatar.c-emergencia  { background: #b71c1c; }
.biz-avatar.c-transporte  { background: #1565c0; }

/* ── Tiles de segmento na grade Home: fundo neutro uniforme ─────── */
.grid .card {
	background: var(--navy-mid) !important;
	box-shadow: var(--shadow-card) !important;
	border: 1px solid rgba(255,255,255,.08) !important;
	border-bottom: 2px solid var(--cat-color, rgba(255,255,255,.14)) !important;
}
.grid .card::after,
.grid .card::before { display: none !important; }

/* Ícones monocromáticos: brancos com sombra discreta (sem filter colorido) */
/* Font Awesome <i> icons — cor via CSS color */
.grid .card .ci:not(.lc-seg-icon) {
	color: rgba(255,255,255,.88) !important;
	filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)) !important;
}
/* SVG .lc-seg-icon — mantém brightness(0) invert(1) para branco */
.grid .card .lc-seg-icon.ci:not(.lc-icon-raw) {
	filter: brightness(0) invert(1)
	        drop-shadow(0 1px 3px rgba(0,0,0,.5)) !important;
}
.grid .card .lc-seg-icon.ci.lc-icon-raw {
	filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)) !important;
}

.card.hidden { opacity: .2; transform: scale(.92); pointer-events: none; }

.no-results {
	display: none; flex-direction: column; align-items: center;
	padding: 40px 20px; gap: 12px; color: var(--dim);
}
.no-results i { font-size: 40px; }
.no-results p { font-size: 14px; text-align: center; }
.no-results.show { display: flex; }

/* =====================================================================
   BOTTOM NAV — 5 items
===================================================================== */
.bottom-nav {
	position: fixed; bottom: 0; left: 0; right: 0;
	background: var(--navy-nav);
	border-top: 1px solid var(--border);
	border-radius: 22px 22px 0 0;
	display: flex; justify-content: space-around; align-items: center;
	height: var(--nav-h);
	padding-bottom: env(safe-area-inset-bottom);
	z-index: 200;
	box-shadow: 0 -6px 32px rgba(0, 0, 0, .5);
}

.nav-item {
	display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: 6px 8px; border-radius: 12px; cursor: pointer;
	text-decoration: none; -webkit-tap-highlight-color: transparent;
	transition: background .12s; position: relative;
}
.nav-item:hover { background: rgba(255, 255, 255, .05); }
.nav-item i { font-size: 18px; color: var(--dim); transition: color .15s, transform .2s cubic-bezier(.34, 1.56, .64, 1); }
.nav-item span { font-size: 9px; font-weight: 600; letter-spacing: .4px; color: var(--dim); text-transform: uppercase; transition: color .15s; }
.nav-item.active i { color: var(--accent); transform: translateY(-2px) scale(1.12); }
.nav-item.active span { color: var(--accent); }

/* ── Category Card Base (dropdown context only) ── */
.bs-cat-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; text-decoration: none; background: rgba(255,255,255,.05); transition: background .15s, transform .1s; -webkit-tap-highlight-color: transparent; border: none; cursor: pointer; color: inherit; width: 100%; text-align: left; box-sizing: border-box; }
.bs-cat-item:active { transform: scale(.95); }
.bs-cat-item.active { background: rgba(79,195,247,.15); }
.bs-cat-item.active .bs-cat-name { color: var(--accent); }
.bs-cat-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.bs-cat-name { font-size: 12px; font-weight: 600; color: #333; line-height: 1.3; }

/* "Anuncie" CTA nav item — cor de destaque só quando active */
.nav-cta:hover { background: rgba(79, 195, 247, .1); }
.nav-cta.active i { color: var(--accent); transform: translateY(-2px) scale(1.12); }
.nav-cta.active span { color: var(--accent); }

/* "Mapa" nav item — mesma cor de destaque dos outros itens */
.nav-mapa:hover { background: rgba(255, 255, 255, .05); }
.nav-mapa.active i { color: var(--accent); transform: translateY(-2px) scale(1.12); }
.nav-mapa.active span { color: var(--accent); }
.nav-mapa.active::after { background: var(--accent); }

/* =====================================================================
   MAPA PAGE — full-screen interactive map
===================================================================== */
#screen-mapa {
	height: 100dvh;
	height: 100vh;
	overflow: hidden;
	min-height: unset;
}

/* ── Category filter chip bar ─────────────────────────────────── */
.mapa-filter-bar {
	background: var(--navy-nav);
	border-bottom: 1px solid var(--border);
	padding: 8px 0;
	flex-shrink: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
.mapa-filter-bar::-webkit-scrollbar { display: none; }

.mapa-filter-inner {
	display: flex;
	gap: 8px;
	padding: 0 14px;
	white-space: nowrap;
}

.mapa-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 20px;
	border: 1.5px solid var(--border);
	background: transparent;
	color: var(--dim);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .3px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
	-webkit-tap-highlight-color: transparent;
	font-family: inherit;
}
.mapa-chip i { font-size: 11px; }
.mapa-chip:hover { background: rgba(255,255,255,.06); color: var(--white); border-color: rgba(255,255,255,.15); }
.mapa-chip.active { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.mapa-chip.active i { color: var(--navy); }

/* ── Map container ────────────────────────────────────────────── */
#lc-map-full {
	flex: 1;
	min-height: 0;
}

/* Push Leaflet controls above fixed bottom nav */
#screen-mapa .leaflet-bottom {
	bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 10px);
}
#screen-mapa .leaflet-left { left: 10px; }
#screen-mapa .leaflet-right { right: 10px; }

/* ── Leaflet popup — dark navy theme ──────────────────────────── */
.lc-leaflet-popup .leaflet-popup-content-wrapper {
	background: var(--navy-card);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 14px;
	color: var(--white);
	box-shadow: 0 8px 32px rgba(0,0,0,.6);
	padding: 0;
	overflow: hidden;
}
.lc-leaflet-popup .leaflet-popup-tip-container { margin-top: -1px; }
.lc-leaflet-popup .leaflet-popup-tip { background: var(--navy-card); }
.lc-leaflet-popup .leaflet-popup-content { margin: 0; width: 220px !important; }
.lc-leaflet-popup .leaflet-popup-close-button {
	color: rgba(255,255,255,.5); top: 6px; right: 6px;
	font-size: 18px; width: 24px; height: 24px; z-index: 1;
}
.lc-leaflet-popup .leaflet-popup-close-button:hover { color: var(--white); background: transparent; }

/* ── Popup inner content ──────────────────────────────────────── */
.lc-map-popup { width: 220px; }
.lc-map-popup-img { width: 100%; height: 100px; object-fit: cover; display: block; }
.lc-map-popup-no-img {
	width: 100%; height: 80px;
	background: var(--navy-mid);
	display: flex; align-items: center; justify-content: center;
	color: var(--dim); font-size: 28px;
}
.lc-map-popup-body {
	padding: 10px 12px 12px;
	display: flex; flex-direction: column; gap: 4px;
}
.lc-map-popup-seg {
	font-size: 10px; font-weight: 700; letter-spacing: .5px;
	text-transform: uppercase; color: var(--accent);
}
.lc-map-popup-title {
	font-size: 13px; font-weight: 700; color: var(--white);
	line-height: 1.3; display: block; margin-bottom: 6px;
}
.lc-map-popup-btn {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; background: var(--accent); color: var(--navy);
	border-radius: 8px; font-size: 12px; font-weight: 700;
	text-decoration: none; transition: opacity .15s; align-self: flex-start;
}
.lc-map-popup-btn:hover { opacity: .85; }

/* ── Custom marker pin ────────────────────────────────────────── */
.lc-map-icon { background: transparent !important; border: none !important; }
.lc-map-pin {
	width: 32px; height: 32px;
	background: var(--accent);
	border: 2.5px solid rgba(255,255,255,.9);
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 3px 12px rgba(0,0,0,.45);
}
.lc-map-pin i { transform: rotate(45deg); color: var(--navy); font-size: 11px; }

/* ── Segment icons — imagens de assets/icons/ ─────────────────── */
/* overflow: visible permite que SVGs com conteúdo fora do viewBox (coords negativas) apareçam inteiros */
.lc-seg-icon { display: block; flex-shrink: 0; overflow: visible; }

/* Tamanhos por contexto */
.bs-cat-icon .lc-seg-icon { width: 15px; height: 15px; }
.card .lc-seg-icon.ci     { width: 26px; height: 26px; }
.mapa-chip .lc-seg-icon   { width: 11px; height: 11px; }

/* Ícones antigos (pretos) → filtro converte para branco */
.bs-cat-icon .lc-seg-icon:not(.lc-icon-raw),
.mapa-chip   .lc-seg-icon:not(.lc-icon-raw) { filter: brightness(0) invert(1); }
.card .lc-seg-icon.ci:not(.lc-icon-raw)     { filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,.25)); }

/* Ícones novos já brancos (pasta assets/icons/white/) → sem inversão */
.lc-seg-icon.lc-icon-raw                    { filter: none !important; }
.card .lc-seg-icon.ci.lc-icon-raw           { filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)) !important; }
/* Classe blindada — filter e tamanho definidos inline no PHP para máxima prioridade */
.bs-cat-icon img.lc-icon-raw-clean,
.lc-icon-raw-clean {
    object-fit: contain;
    display: inline-block;
}

/* Leaflet map pin — <img> fallback for JS-rendered markers */
.lc-map-pin-img { transform: rotate(45deg); width: 14px; height: 14px; object-fit: contain; filter: brightness(0); }

/* =====================================================================
   CITY FILTER BAR (taxonomy / archive pages)
===================================================================== */
.city-filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--navy-mid);
	border-bottom: 1px solid var(--border);
}
.city-filter-bar > .fa-location-dot { color: var(--accent); font-size: 13px; flex-shrink: 0; }

.city-bar-form { flex: 1; }

.city-select-sm {
	width: 100%;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(0, 163, 224, .15);
	border-radius: 20px;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 12px;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.city-select-sm option { background: #0d2040; }

.city-clear-link {
	color: var(--accent);
	font-size: 11px;
	text-decoration: none;
	white-space: nowrap;
}
.city-clear-link:hover { text-decoration: underline; }

/* ── Custom city dropdown (taxonomy / archive pages) ── */
.lc-city-dd {
	position: relative;
	display: inline-flex;
}
.lc-city-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid rgba(0, 163, 224, .20);
	border-radius: 20px;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 14px 7px 12px;
	cursor: pointer;
	white-space: nowrap;
	max-width: 220px;
	overflow: hidden;
}
.lc-city-lbl {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.lc-city-chev {
	font-size: 10px;
	flex-shrink: 0;
	transition: transform .2s ease;
}
.lc-city-dd.open .lc-city-chev { transform: rotate(180deg); }

.lc-city-list {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 180px;
	max-height: 260px;
	overflow-y: auto;
	background: #0d1a35;
	border: 1px solid rgba(0, 163, 224, .25);
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
	z-index: 500;
	padding: 4px 0;
	margin: 0;
	list-style: none;
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 163, 224, .3) transparent;
}
.lc-city-list::-webkit-scrollbar { width: 4px; }
.lc-city-list::-webkit-scrollbar-track { background: transparent; }
.lc-city-list::-webkit-scrollbar-thumb { background: rgba(0, 163, 224, .3); border-radius: 2px; }

.lc-city-dd.open .lc-city-list { display: block; }

.lc-city-opt {
	padding: 10px 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, .85);
	cursor: pointer;
	transition: background .15s;
}
.lc-city-opt:hover { background: rgba(0, 163, 224, .12); }
.lc-city-opt.sel   { background: rgba(0, 163, 224, .18); color: #fff; font-weight: 600; }

/* =====================================================================
   SCREEN 2 — CATEGORY / ARCHIVE LIST
===================================================================== */
.cat-main {
	flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
	padding: 16px 16px calc(var(--nav-h) + 16px + env(safe-area-inset-bottom));
}
.cat-count { font-size: 12px; color: var(--dim); margin-bottom: 16px; padding-left: 2px; }

/* ── Search result filter chips ── */
.lc-sr-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 8px 16px 0;
}
.lc-sr-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(79, 195, 247, .12);
	border: 1px solid rgba(79, 195, 247, .3);
	border-radius: 999px;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	transition: background .15s;
	-webkit-tap-highlight-color: transparent;
}
.lc-sr-chip:hover { background: rgba(79, 195, 247, .22); }
.lc-sr-chip .fa-xmark { font-size: 10px; opacity: .7; }

.biz-card {
	display: flex; gap: 14px; align-items: center;
	background: var(--navy-mid); border-radius: 14px;
	padding: 14px; margin-bottom: 10px; cursor: pointer;
	transition: transform .14s, box-shadow .14s;
	-webkit-tap-highlight-color: transparent;
	border: 1px solid var(--border);
	box-shadow: var(--shadow-card);
	text-decoration: none; color: inherit;
}
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-raised); border-color: var(--border-hi); }
.biz-card:active { transform: scale(.97); box-shadow: none; }

.biz-avatar { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; overflow: hidden; }
.biz-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-info { flex: 1; min-width: 0; }
.biz-name { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.biz-addr { font-size: 11px; color: var(--dim); display: flex; align-items: center; gap: 4px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.biz-meta { font-size: 12px; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.tempo-distancia { font-size: 11px; color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.tempo-distancia.calculando { color: var(--dim); font-weight: 400; }
.biz-meta span { display: flex; align-items: center; gap: 4px; }
.biz-status {
	font-size: var(--fs-xs, 11px);
	font-weight: 700;
	padding: 3px 10px;
	border-radius: var(--radius-pill, 999px);
	white-space: nowrap;
	flex-shrink: 0;
	letter-spacing: .3px;
}
.open {
	background: rgba(76, 175, 80, .15);
	color: #81c784;
	border: 1px solid rgba(76, 175, 80, .3);
}
.closed {
	background: rgba(239, 83, 80, .13);
	color: #ef9a9a;
	border: 1px solid rgba(239, 83, 80, .28);
}
.biz-arrow { color: var(--dim); font-size: 13px; flex-shrink: 0; }

/* ── Favorite / Heart button ─────────────────────────────────── */
.biz-wrap { position: relative; display: block; }
.biz-wrap .biz-card { padding-right: 44px; }
.biz-wrap .biz-arrow { display: none; }

.fav-btn {
	position: absolute; top: 0; right: 0; bottom: 0; width: 44px;
	background: none; border: none; cursor: pointer; z-index: 2;
	color: rgba(255, 255, 255, .25);
	font-size: 18px;
	display: flex; align-items: center; justify-content: center;
	-webkit-tap-highlight-color: transparent;
	transition: color .2s;
}
.fav-btn:hover { color: rgba(248, 113, 113, .8); }
.fav-btn.active { color: #f87171; }
.fav-btn.fav-pop { animation: fav-pop .3s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes fav-pop {
	0%   { transform: scale(1); }
	50%  { transform: scale(1.55); }
	100% { transform: scale(1); }
}

.fav-btn-detail {
	margin-left: auto;
	flex-shrink: 0;
	background: none; border: none; cursor: pointer;
	color: rgba(255, 255, 255, .3);
	font-size: 22px; padding: 6px;
	transition: color .2s;
	-webkit-tap-highlight-color: transparent;
	line-height: 1;
}
.fav-btn-detail:hover { color: rgba(248, 113, 113, .8); }
.fav-btn-detail.active { color: #f87171; }
.fav-btn-detail.fav-pop { animation: fav-pop .3s cubic-bezier(.34, 1.56, .64, 1); }

/* ── Favorites page ──────────────────────────────────────────── */
.fav-loading { display: flex; flex-direction: column; align-items: center; padding: 60px 20px; gap: 12px; color: var(--dim); font-size: 13px; }
.fav-empty   { display: none; flex-direction: column; align-items: center; padding: 52px 24px; gap: 16px; text-align: center; }
.fav-empty > i { font-size: 52px; color: rgba(255,255,255,.15); }
.fav-empty p { color: var(--dim); font-size: 14px; line-height: 1.65; margin: 0; }
.fav-empty strong { color: var(--white); }

/* ── Meu Painel ──────────────────────────────────────────────── */
#screen-meu-painel .back-header { position: relative; }
.painel-logout-btn { margin-left: auto; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.45); font-size: 18px; border-radius: 50%; transition: color .2s; }
.painel-logout-btn:hover { color: #f87171; }

.painel-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 16px 16px calc(var(--nav-h) + 36px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 20px; }

.painel-welcome { display: flex; align-items: center; gap: 14px; background: var(--navy-mid); border-radius: 16px; padding: 16px; }
.painel-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(140deg,#1565c0,#42a5f5); display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; flex-shrink: 0; }
.painel-welcome-info { display: flex; flex-direction: column; gap: 3px; overflow: hidden; }
.painel-welcome-name { font-size: 16px; font-weight: 800; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.painel-welcome-email { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.painel-section { display: flex; flex-direction: column; gap: 10px; }
.painel-section-title { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); margin: 0; }

.painel-listing-card { display: flex; align-items: center; gap: 12px; background: var(--navy-mid); border-radius: 14px; padding: 14px; }
.painel-listing-info { flex: 1; overflow: hidden; }
.painel-listing-name { display: block; font-size: 15px; font-weight: 700; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.painel-listing-sub { display: block; font-size: 12px; color: var(--dim); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.painel-listing-status { font-size: 11px; font-weight: 700; flex-shrink: 0; }

.painel-actions { display: flex; flex-direction: column; gap: 8px; }
.painel-action-btn { display: flex; align-items: center; gap: 14px; background: var(--navy-mid); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--white); cursor: pointer; transition: background .15s; }
.painel-action-btn:hover, .painel-action-btn:active { background: var(--navy-card); }
.painel-action-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.painel-action-label { flex: 1; font-size: 14px; font-weight: 600; }
.painel-action-arrow { font-size: 12px; color: var(--dim); transition: transform .2s; }

.painel-metrics-panel { background: var(--navy-mid); border-radius: 14px; padding: 16px; }
.painel-metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.painel-metric-card { background: var(--navy); border-radius: 12px; padding: 14px; text-align: center; }
.painel-metric-value { display: block; font-size: 28px; font-weight: 900; color: var(--white); line-height: 1.1; }
.painel-metric-label { display: block; font-size: 11px; color: var(--dim); margin-top: 4px; }
.painel-metrics-note { font-size: 12px; color: var(--dim); margin: 12px 0 0; display: flex; align-items: flex-start; gap: 6px; line-height: 1.55; }

.painel-no-listing { display: flex; flex-direction: column; align-items: center; gap: 14px; background: var(--navy-mid); border-radius: 16px; padding: 32px 20px; text-align: center; }
.painel-no-listing p { font-size: 14px; color: var(--dim); margin: 0; }

.painel-sair-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(248,113,113,.08); color: #f87171; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.painel-sair-btn:hover { background: rgba(248,113,113,.15); }

/* ── Classificados — vitrine e cards ─────────────────────────── */
#screen-classificados .back-header { justify-content: space-between; }
.clas-novo-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; background: var(--accent); color: var(--navy); font-size: 12px; font-weight: 800; border-radius: 20px; text-decoration: none; flex-shrink: 0; }

/* ── Classificados: barra de filtro de cidade ────────────── */
.clas-city-bar { padding: 8px 14px 4px; display: flex; align-items: center; gap: 10px; }
.clas-city-bar .city-filter-wrap {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 36px;
	padding: 0 12px;
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 6px;
	box-shadow: 0 1px 3px rgba(0,0,0,.15);
	flex-shrink: 0;
}
.clas-city-bar .city-filter-wrap > .fa-location-dot { color: rgba(255,255,255,.4); font-size: 11px; flex-shrink: 0; }
.clas-city-bar .city-select {
	background: transparent;
	border: none;
	outline: none;
	color: #e2e8f0;
	font-size: 12px;
	font-family: inherit;
	font-weight: 500;
	padding: 0;
	height: 100%;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	max-width: 160px;
}
.clas-city-bar .city-select option { background: #1e293b; color: #e2e8f0; }
.clas-city-bar .city-select-arrow { color: rgba(255,255,255,.3); font-size: 10px; flex-shrink: 0; pointer-events: none; }

/* ── Classificados: grid estilo OLX ─────────────────────── */
.clas-olx-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 8px 14px calc(var(--nav-h) + 36px + env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .clas-olx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .clas-olx-grid { grid-template-columns: repeat(4, 1fr); } }
.clas-olx-card-wrap { position: relative; }
.clas-olx-card { display: flex; flex-direction: column; background: var(--navy-mid); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--white); height: 100%; transition: opacity .2s; }
.clas-olx-card:active { opacity: .82; }
.clas-olx-thumb { position: relative; width: 100%; padding-bottom: 100%; flex-shrink: 0; background: var(--navy-card); }
.clas-olx-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.clas-olx-thumb::after {
	/* Overlay gradiente para legibilidade dos badges */
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, transparent 40%, transparent 55%, rgba(0,0,0,.4) 100%);
	pointer-events: none;
}
.clas-olx-thumb-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 32px; color: rgba(255,255,255,.12); }
.clas-olx-badge {
	position: absolute; bottom: 6px; left: 6px;
	font-size: 9px; font-weight: 700; letter-spacing: .6px;
	text-transform: uppercase; padding: 3px 7px; border-radius: 5px;
	/* Gradiente de fundo para legibilidade sobre qualquer foto */
	backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.clas-olx-badge.novo  { background: rgba(34,197,94,.80); color: #fff; }
.clas-olx-badge.usado { background: rgba(0,0,0,.58);  color: rgba(255,255,255,.85); }
.clas-olx-expiry { position: absolute; top: 6px; left: 6px; background: rgba(248,113,113,.88); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.clas-olx-fav { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(10,25,49,.65); border: none; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; cursor: pointer; z-index: 2; transition: background .2s; }
.clas-olx-fav:active { background: rgba(220,38,38,.75); }
.clas-olx-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.clas-olx-title { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.9); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clas-olx-price { font-size: 15px; font-weight: 900; color: var(--white); letter-spacing: -.3px; margin-top: 3px; }
.clas-olx-meta { font-size: 10px; color: rgba(255,255,255,.3); margin-top: auto; padding-top: 6px; line-height: 1.3; }

.clas-empty { display: flex; flex-direction: column; align-items: center; padding: 60px 24px; gap: 14px; text-align: center; }
.clas-empty i { font-size: 52px; color: rgba(255,255,255,.1); }
.clas-empty p { color: var(--dim); font-size: 14px; margin: 0; line-height: 1.6; }

/* ── Formulário Novo Classificado ────────────────────────────── */
.clas-price-input { font-size: 20px; font-weight: 800; color: var(--accent); text-align: left; }
.clas-price-input::placeholder { color: rgba(255,255,255,.25); font-size: 16px; font-weight: 400; }

/* =====================================================================
   SCREEN 3 — BUSINESS DETAIL
===================================================================== */
.detail-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: calc(var(--nav-h) + 32px + env(safe-area-inset-bottom)); }

.gallery { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px 0; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { display: none; }
/* Primeira foto (logo / destaque) ocupa quase toda a largura */
.gallery-img:first-child { width: calc(100vw - 56px); max-width: 420px; }
/* Demais fotos da galeria — menores, dão "peek" da próxima */
.gallery-img { flex-shrink: 0; width: calc(100vw - 80px); max-width: 380px; height: 220px; border-radius: 14px; scroll-snap-align: start; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 14px; }
/* Indicadores de slide */
.gallery-dots { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 0 0; }
.gallery-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .25s, width .25s; flex-shrink: 0; }
.gallery-dot.active { background: var(--accent); width: 18px; border-radius: 3px; }

/* ── Detail hero (logo + badges + info rápida) ────────────────── */
.detail-hero { display: flex; gap: 16px; align-items: flex-start; padding: 20px 16px 16px; background: var(--navy-mid); border-bottom: 1px solid var(--border); }
.detail-hero-logo { width: 80px; height: 80px; border-radius: 18px; overflow: hidden; flex-shrink: 0; }
.detail-hero-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-hero-icon { width: 80px; height: 80px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.detail-hero-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.detail-hero-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.detail-hero-address { font-size: 12px; color: var(--dim); display: flex; align-items: flex-start; gap: 5px; line-height: 1.45; margin: 0; }
.detail-desc-block { padding: 16px 16px 0; font-size: 14px; color: var(--soft); line-height: 1.65; }

.detail-head { padding: 18px 16px 0; }
.detail-category-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.detail-title {
	font-size: var(--fs-xl, 22px);
	font-weight: 900;
	line-height: 1.2;
	margin-bottom: 8px;
	word-break: break-word;
	overflow-wrap: break-word;
	hyphens: auto;
}
.detail-desc { font-size: 14px; color: var(--soft); line-height: 1.65; }
.divider { height: 1px; background: var(--border); margin: 18px 16px; }

.info-section { padding: 0 16px; margin-bottom: 6px; }
.info-title { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); margin-bottom: 12px; }
.info-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.info-icon { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent); font-size: 15px; }
.info-content { flex: 1; min-width: 0; }
.info-label { font-size: 11px; color: var(--dim); margin-bottom: 1px; }
.info-value { font-size: 14px; font-weight: 600; }
.info-value a { color: var(--white); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 5px 0; font-size: 13px; vertical-align: top; }
.hours-table td:first-child { color: var(--soft); width: 110px; }
.hours-table td:last-child { font-weight: 600; }
.hours-today { color: var(--accent) !important; font-weight: 700 !important; }

.whatsapp-btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	margin: 0 16px; padding: 15px; border-radius: 14px;
	background: linear-gradient(135deg, #128c7e, #25d366);
	color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .5px;
	text-decoration: none; cursor: pointer;
	box-shadow: 0 6px 20px rgba(37, 211, 102, .35);
	transition: transform .14s, box-shadow .14s;
	-webkit-tap-highlight-color: transparent;
}
.whatsapp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37, 211, 102, .45); }
.whatsapp-btn:active { transform: scale(.97); }
.whatsapp-btn i { font-size: 22px; }

.social-row { display: flex; gap: 10px; padding: 0 16px; flex-wrap: wrap; }
.social-btn { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .07); text-decoration: none; color: var(--white); font-size: 13px; font-weight: 600; transition: background .15s; }
.social-btn:hover { background: rgba(255, 255, 255, .14); }
.social-btn i { font-size: 16px; }
.social-btn.ig i { color: #e1306c; }
.social-btn.fb i { color: #1877f2; }

/* ─── Leaflet map ─── */
.map-block { margin: 0 16px; border-radius: 14px; overflow: hidden; background: var(--navy-mid); border: 1px solid var(--border); }
#lc-map { z-index: 1; }

/* Custom Leaflet marker */
.lc-map-pin-icon { font-size: 28px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); line-height: 1; }

/* override Leaflet popup to match theme */
.leaflet-popup-content-wrapper { background: var(--navy-mid); color: var(--white); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.5); }
.leaflet-popup-tip { background: var(--navy-mid); }
.leaflet-popup-content { margin: 10px 14px; font-size: 13px; font-weight: 600; }

.map-placeholder { height: 160px; background: linear-gradient(160deg, #0d2040, #162d4a); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--dim); font-size: 13px; position: relative; overflow: hidden; }
.map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(79,195,247,.06) 1px, transparent 1px), linear-gradient(90deg,rgba(79,195,247,.06) 1px,transparent 1px); background-size: 28px 28px; }
.map-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); font-size: 28px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.map-address { padding: 12px 14px 10px; font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.map-address i { color: var(--accent); font-size: 14px; margin-top: 2px; flex-shrink: 0; }
.map-address span { color: var(--soft); line-height: 1.5; }
.map-nav-btns { display: flex; gap: 8px; margin: 8px 16px 0; }
.map-nav-btn {
	flex: 1; display: flex; align-items: center; justify-content: center;
	gap: 7px; padding: 10px 0; border-radius: 10px;
	font-size: 13px; font-weight: 700; text-decoration: none;
	cursor: pointer; outline: none; font-family: inherit;
	transition: filter .15s, background .15s;
}
.map-nav-btn:active { filter: brightness(.9); }
.map-nav-btn.gmaps {
	background: rgba(66,133,244,.15); border: 1px solid rgba(66,133,244,.3);
	color: #7baaf7;
}
.map-nav-btn.waze {
	background: rgba(51,204,255,.12); border: 1px solid rgba(51,204,255,.28);
	color: #4dd9f5;
}

.rating { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.stars { color: #ffd600; font-size: 13px; letter-spacing: 1px; }
.rating-text { font-size: 12px; color: var(--dim); }

/* =====================================================================
   HOME HEADER — top row
===================================================================== */
.home-header-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
}

/* ── Brand lockup: imagem + nome/slogan lado a lado ── */
.lc-brand-lockup {
	display: flex;
	align-items: center;
	gap: 14px;
}
.lc-brand-lockup .logo-brand-img {
	height: 56px;
	max-width: 72px;
	object-fit: contain;
}
.lc-brand-copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.lc-brand-name {
	font-size: 30px;
	font-weight: 900;
	letter-spacing: -0.5px;
	color: #fff;
	line-height: 1;
	margin: 0;
	font-style: normal;
	text-align: center;
}

/* ── Logo horizontal Listcell — cabeçalho principal ── */
.lc-brand-lockup--h {
	flex-direction: column;
	gap: 5px;
}
.lc-brand-lockup--h .logo-brand-img {
	height: auto;
	max-width: 190px;
	width: 100%;
	object-fit: contain;
}

/* ── Logo horizontal Listcell — drawer lateral ── */
.lc-drawer-brand--h {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}
.lc-drawer-brand--h .lc-drawer-brand-logo {
	height: auto;
	max-width: 130px;
	width: 100%;
	object-fit: contain;
}

/* =====================================================================
   HOME — Admin access banner
===================================================================== */
.admin-access-banner {
	display: flex;
	align-items: center;
	gap: 14px;
	background: linear-gradient(135deg, #1a1200, #3d2800);
	border: 1.5px solid rgba(251, 191, 36, .35);
	border-radius: 16px;
	padding: 14px 16px;
	margin-bottom: 12px;
	text-decoration: none;
	color: inherit;
	transition: transform .14s, box-shadow .14s, border-color .2s;
	-webkit-tap-highlight-color: transparent;
	box-shadow: 0 4px 20px rgba(251, 191, 36, .12);
}
.admin-access-banner:hover {
	transform: translateY(-1px);
	border-color: rgba(251, 191, 36, .6);
	box-shadow: 0 6px 24px rgba(251, 191, 36, .22);
}
.admin-access-banner:active { transform: scale(.98); }

.admin-access-icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	background: rgba(251, 191, 36, .15);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	color: #fbbf24;
	font-size: 20px;
}

.admin-access-text {
	flex: 1;
	min-width: 0;
}
.admin-access-text strong {
	display: block;
	font-size: 14px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: #fbbf24;
}
.admin-access-text span {
	font-size: 11px;
	color: rgba(251, 191, 36, .55);
	letter-spacing: .5px;
}

.admin-access-arrow {
	color: rgba(251, 191, 36, .4);
	font-size: 13px;
	flex-shrink: 0;
}

/* =====================================================================
   PLANS GRID — Tela 4
===================================================================== */
.plans-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 28px;
}

.plan-card {
	background: var(--navy-mid);
	border: 1.5px solid var(--border);
	border-radius: 18px;
	padding: 20px 12px 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	position: relative;
	cursor: default;
	transition: border-color .2s, transform .15s, box-shadow .2s;
}
.plan-card.plan-featured {
	border-color: rgba(79, 195, 247, .35);
	background: linear-gradient(170deg, #0f2a4e, #0d2040);
}
.plan-card.selected {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(79, 195, 247, .15);
}
.plan-card.selected .plan-select-btn {
	background: var(--accent);
	color: var(--navy);
	border-color: var(--accent);
	font-weight: 800;
}

.plan-badge {
	position: absolute;
	top: -11px;
	background: linear-gradient(135deg, #0288d1, #4fc3f7);
	color: #fff;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(2, 136, 209, .4);
}

.plan-name {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--soft);
	line-height: 1.3;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.plan-price {
	display: flex;
	align-items: flex-start;
	gap: 2px;
	color: var(--white);
	line-height: 1;
	margin: 4px 0 0;
}
.plan-currency { font-size: 13px; font-weight: 700; margin-top: 5px; color: var(--accent); }
.plan-amount   { font-size: 30px; font-weight: 900; }
.plan-period   { font-size: 10px; color: var(--dim); margin-bottom: 4px; }

.plan-select-btn {
	width: 100%;
	margin-top: 6px;
	padding: 8px 0;
	border: 1.5px solid rgba(79, 195, 247, .35);
	border-radius: 20px;
	background: transparent;
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
	-webkit-tap-highlight-color: transparent;
}
.plan-select-btn:hover { background: rgba(79, 195, 247, .1); }

/* Selected plan badge (above form) */
.selected-plan-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(79, 195, 247, .1);
	border: 1px solid rgba(79, 195, 247, .3);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 16px;
}
.selected-plan-badge i { font-size: 15px; flex-shrink: 0; }

/* =====================================================================
   SCREEN 4 — ANUNCIE (registration form)
===================================================================== */
.anuncie-main {
	flex: 1;
	padding: 20px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* Intro card */
.anuncie-intro {
	display: flex;
	gap: 14px;
	align-items: center;
	background: linear-gradient(135deg, #0d3b6e, #0a2a52);
	border: 1px solid rgba(79, 195, 247, .2);
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 24px;
}
.anuncie-intro-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	background: rgba(79, 195, 247, .15);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	color: var(--accent);
	font-size: 22px;
}
.anuncie-intro strong { display: block; font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.anuncie-intro p { font-size: 12px; color: var(--dim); line-height: 1.5; }

/* Form */
.anuncie-form { display: flex; flex-direction: column; gap: 0; }

.form-group { margin-bottom: 18px; }

.form-label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 8px;
}
.form-label i { font-size: 12px; color: var(--accent); }

.form-input,
.form-select,
.form-textarea {
	width: 100%;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	color: var(--white);
	font-size: 14px;
	font-family: inherit;
	padding: 13px 16px;
	outline: none;
	transition: border-color .2s, background .2s;
	-webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255, 255, 255, .3); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
	border-color: var(--accent);
	background: rgba(79, 195, 247, .06);
}
.form-textarea { resize: vertical; min-height: 100px; line-height: 1.55; }

.form-select-wrap { position: relative; }
.form-select-wrap select { cursor: pointer; padding-right: 36px; }
.form-select-wrap > .fa-chevron-down {
	position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
	color: var(--dim); font-size: 12px; pointer-events: none;
}
.form-select option { background: #0d2040; color: var(--white); }

.form-section-label {
	font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
	text-transform: uppercase; color: var(--dim);
	border-top: 1px solid var(--border);
	padding-top: 16px; margin-bottom: 16px;
}
.form-section-label span { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }

.form-error {
	display: none;
	background: rgba(183, 28, 28, .2);
	border: 1px solid rgba(239, 154, 154, .3);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	color: #ef9a9a;
	margin-bottom: 16px;
}
.form-error.show { display: block; }

/* Submit button */
.submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 16px;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, #0288d1, #4fc3f7);
	color: var(--white);
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .5px;
	cursor: pointer;
	transition: transform .14s, box-shadow .14s, opacity .2s;
	box-shadow: 0 6px 24px rgba(2, 136, 209, .4);
	-webkit-tap-highlight-color: transparent;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(2, 136, 209, .5); }
.submit-btn:active { transform: scale(.98); }
.submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.submit-spinner { display: none; }
.submit-btn.loading .submit-label { display: none; }
.submit-btn.loading .submit-spinner { display: inline-flex; }

/* Success state */
.anuncie-success {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 40px 20px;
	gap: 16px;
}

.success-icon-wrap { margin-bottom: 8px; }

.success-icon {
	width: 72px; height: 72px;
	border-radius: 50%;
	background: linear-gradient(135deg, #00897b, #25d366);
	display: flex; align-items: center; justify-content: center;
	font-size: 32px;
	box-shadow: 0 8px 32px rgba(37, 211, 102, .45);
	animation: successPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes successPop {
	from { transform: scale(0); opacity: 0; }
	to   { transform: scale(1); opacity: 1; }
}

.success-title { font-size: 24px; font-weight: 900; animation: fadeUp .4s .2s both; }
.success-desc  { font-size: 14px; color: var(--soft); line-height: 1.65; animation: fadeUp .4s .3s both; }

@keyframes fadeUp {
	from { transform: translateY(12px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

/* =====================================================================
   SCREEN 6 — ADMIN DASHBOARD
===================================================================== */
.admin-main {
	flex: 1;
	padding: 20px 16px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* Stat cards */
.admin-stats-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}
.admin-stat-card {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.admin-stat-card i {
	font-size: 22px;
	color: var(--accent);
	flex-shrink: 0;
}
.admin-stat-value {
	display: block;
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
}
.admin-stat-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--dim);
	margin-top: 2px;
}

/* Section header */
.admin-section-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 14px;
}
.admin-section-header i { color: var(--accent); }

/* Plan edit cards */
.admin-plan-item {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 12px;
	transition: border-color .2s;
}
.admin-plan-item:focus-within { border-color: rgba(79, 195, 247, .3); }

.admin-plan-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--border);
}
.admin-plan-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
	box-shadow: 0 0 6px rgba(79, 195, 247, .5);
}
.admin-plan-title { font-size: 14px; font-weight: 700; flex: 1; }
.admin-plan-current { font-size: 13px; font-weight: 800; color: var(--accent); white-space: nowrap; }

.admin-plan-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

/* Price input with prefix */
.admin-price-wrap { position: relative; }
.admin-price-prefix {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent);
	font-weight: 800;
	font-size: 14px;
	pointer-events: none;
}
.admin-price-wrap .form-input { padding-left: 30px; }

/* Toast notification */
.admin-toast {
	display: flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #00897b, #25d366);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	padding: 14px 18px;
	border-radius: 14px;
	margin-top: 16px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .3s, transform .3s;
	pointer-events: none;
}
.admin-toast.show { opacity: 1; transform: translateY(0); }

/* Reset button */
.admin-reset-btn {
	background: transparent;
	border: none;
	color: var(--dim);
	font-size: 12px;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 8px;
	transition: color .2s, background .2s;
}
.admin-reset-btn:hover { color: var(--white); background: rgba(255,255,255,.07); }

/* =====================================================================
   ADMIN — City filter bar
===================================================================== */
.admin-city-filter-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 10px 14px;
	margin-bottom: 20px;
}
.admin-city-filter-bar > .fa-location-dot { color: var(--accent); font-size: 13px; flex-shrink: 0; }

.admin-city-select-wrap {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
}
.admin-city-select {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--white);
	font-size: 13px;
	font-weight: 600;
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	padding-right: 20px;
}
.admin-city-select option { background: #0d2040; color: var(--white); }
.admin-city-select-wrap > .fa-chevron-down {
	position: absolute; right: 0;
	color: var(--dim); font-size: 11px; pointer-events: none;
}

/* =====================================================================
   ADMIN — Metrics grid (2 × 2)
===================================================================== */
.admin-metrics-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}

.admin-metric-card {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 14px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-width: 0;
}

.admin-metric-icon {
	width: 36px; height: 36px;
	border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
	font-size: 15px;
}

/* Color variants */
.admin-metric-total   { border-color: rgba(79, 195, 247, .2); }
.admin-metric-total   .admin-metric-icon { background: rgba(79, 195, 247, .12); color: var(--accent); }
.admin-metric-digital { border-color: rgba(2, 136, 209, .25); }
.admin-metric-digital .admin-metric-icon { background: rgba(2, 136, 209, .15); color: #4fc3f7; }
.admin-metric-fisico  { border-color: rgba(106, 90, 205, .25); }
.admin-metric-fisico  .admin-metric-icon { background: rgba(106, 90, 205, .15); color: #a78bfa; }
.admin-metric-status  { border-color: rgba(255, 255, 255, .1); }
.admin-metric-status  .admin-metric-icon { background: rgba(255, 255, 255, .07); color: var(--dim); }

.admin-metric-body { flex: 1; min-width: 0; }
.admin-metric-value {
	font-size: 18px;
	font-weight: 900;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.admin-metric-label {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--dim);
	margin-top: 3px;
}
.admin-metric-sub {
	font-size: 10px;
	color: var(--dim);
	margin-top: 2px;
}

/* Status card inner */
.admin-status-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 4px;
}
.admin-status-item { display: flex; flex-direction: column; align-items: center; }
.admin-status-count { font-size: 20px; font-weight: 900; line-height: 1; }
.admin-sc-pago     { color: #81c784; }
.admin-sc-pendente { color: #ffb74d; }
.admin-status-val  { font-size: 9px; color: var(--dim); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.admin-status-divider { width: 1px; height: 28px; background: var(--border); }

/* =====================================================================
   ADMIN — Collapsible section
===================================================================== */
.admin-collapsible {
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 24px;
}
.admin-collapsible > summary {
	list-style: none;
	-webkit-appearance: none;
}
.admin-collapsible > summary::-webkit-details-marker { display: none; }

.admin-section-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	background: var(--navy-mid);
	cursor: pointer;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
	margin-bottom: 0;
}
.admin-section-toggle:hover { background: rgba(255, 255, 255, .04); }
.admin-section-toggle > span { display: flex; align-items: center; gap: 8px; }

.toggle-chevron {
	color: var(--dim);
	font-size: 12px;
	transition: transform .25s;
}
details[open] .toggle-chevron { transform: rotate(180deg); }

.admin-collapsible-body { padding: 16px; background: var(--navy); }

/* =====================================================================
   ADMIN — Manual sale form
===================================================================== */
.admin-sale-form-card {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 0;
}

.admin-sale-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.admin-sale-field { display: flex; flex-direction: column; gap: 6px; }
.admin-sale-field .form-label { margin-bottom: 0; }
.admin-sale-field .form-input,
.admin-sale-field .form-select { padding: 10px 14px; font-size: 13px; }
.admin-sale-field .form-select-wrap .form-select { padding-right: 32px; }

.admin-sale-submit-col { justify-content: flex-end; }

.admin-sale-submit-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	width: 100%;
	padding: 11px 14px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #0288d1, #4fc3f7);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
	transition: transform .14s, box-shadow .14s;
	box-shadow: 0 4px 16px rgba(2, 136, 209, .35);
	-webkit-tap-highlight-color: transparent;
}
.admin-sale-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(2, 136, 209, .45); }
.admin-sale-submit-btn:active { transform: scale(.97); }

/* =====================================================================
   ADMIN — Unified sales table
===================================================================== */
.sales-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 16px;
	border: 1px solid var(--border);
	background: var(--navy-mid);
	margin-bottom: 32px;
}

.sales-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12.5px;
	min-width: 560px;
}

.sales-table thead tr {
	background: rgba(255, 255, 255, .04);
	border-bottom: 1px solid var(--border);
}
.sales-table th {
	padding: 11px 12px;
	text-align: left;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dim);
	white-space: nowrap;
}
.sales-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(255, 255, 255, .04);
	vertical-align: middle;
	color: var(--soft);
}
.sales-table tbody tr:last-child td { border-bottom: none; }
.sales-table tbody tr:hover td { background: rgba(255, 255, 255, .025); }

.td-empresa { font-weight: 700; color: var(--white); max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-plano   { color: var(--dim); font-size: 11.5px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-valor   { font-weight: 800; color: var(--accent); white-space: nowrap; }
.td-data    { white-space: nowrap; color: var(--dim); font-size: 11.5px; }
.td-actions { white-space: nowrap; }

/* Empty state */
.sales-empty {
	padding: 32px 16px;
	text-align: center;
	color: var(--dim);
	font-size: 13px;
	line-height: 2;
}
.sales-empty i { font-size: 28px; display: block; margin-bottom: 6px; }

/* Count badge */
.sales-count-badge {
	background: rgba(79, 195, 247, .15);
	color: var(--accent);
	font-size: 10px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 20px;
	border: 1px solid rgba(79, 195, 247, .25);
	letter-spacing: .5px;
	margin-left: auto;
}

/* =====================================================================
   BADGES
===================================================================== */
.badge {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .4px;
	padding: 3px 8px;
	border-radius: 20px;
	white-space: nowrap;
}
.badge-pago     { background: rgba(67, 160, 71, .18);  color: #81c784; border: 1px solid rgba(67, 160, 71, .3); }
.badge-pendente { background: rgba(255, 167, 38, .15); color: #ffb74d; border: 1px solid rgba(255, 167, 38, .3); }
.badge-digital  { background: rgba(2, 136, 209, .15);  color: #4fc3f7; border: 1px solid rgba(2, 136, 209, .3); }
.badge-fisico   { background: rgba(106, 90, 205, .15); color: #a78bfa; border: 1px solid rgba(106, 90, 205, .3); }

/* =====================================================================
   ACTION BUTTONS (table)
===================================================================== */
.action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px; height: 28px;
	border-radius: 8px;
	border: none;
	cursor: pointer;
	font-size: 12px;
	text-decoration: none;
	transition: background .15s, transform .1s;
	-webkit-tap-highlight-color: transparent;
	margin-left: 4px;
}
.action-btn:first-child { margin-left: 0; }
.action-btn:active { transform: scale(.9); }

.wa-action-btn {
	background: rgba(37, 211, 102, .15);
	color: #25d366;
	border: 1px solid rgba(37, 211, 102, .25);
}
.wa-action-btn:hover { background: rgba(37, 211, 102, .28); }

.delete-btn {
	background: rgba(183, 28, 28, .15);
	color: #ef9a9a;
	border: 1px solid rgba(183, 28, 28, .25);
}
.delete-btn:hover { background: rgba(183, 28, 28, .28); }

/* =====================================================================
   ADMIN APP CONTAINER
===================================================================== */
#lc-admin-app {
	min-height: 100vh;
	min-height: 100dvh;
	background: var(--navy);
	display: flex;
	flex-direction: column;
}

/* =====================================================================
   TELA DE LOGIN
===================================================================== */
.auth-screen {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 20px;
	min-height: 100vh;
	min-height: 100dvh;
	background: linear-gradient(160deg, #070e1e 0%, #0a1931 55%, #0d2248 100%);
}

.auth-card {
	width: 100%;
	max-width: 360px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 24px;
	padding: 36px 28px 32px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}

/* Logo block */
.auth-logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 32px;
}
.auth-logo-icon {
	width: 60px; height: 60px;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(79, 195, 247, .15), rgba(2, 136, 209, .25));
	border: 1px solid rgba(79, 195, 247, .3);
	display: flex; align-items: center; justify-content: center;
	font-size: 26px;
	color: var(--accent);
	margin-bottom: 14px;
	box-shadow: 0 0 30px rgba(79, 195, 247, .12);
}
.auth-logo-wordmark {
	font-size: 22px;
	font-weight: 900;
	letter-spacing: 6px;
	text-transform: uppercase;
}
.auth-logo-wordmark em { color: var(--accent); font-style: normal; }
.auth-logo-sub {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--dim);
	margin-top: 4px;
}

/* Fields */
.auth-field-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 14px;
	padding: 13px 16px;
	margin-bottom: 12px;
	transition: border-color .2s;
}
.auth-field-wrap:focus-within {
	border-color: rgba(79, 195, 247, .5);
	background: rgba(79, 195, 247, .05);
}
.auth-field-icon { color: var(--dim); font-size: 14px; flex-shrink: 0; }
.auth-input {
	flex: 1;
	background: transparent;
	border: none;
	color: var(--white);
	font-size: 14px;
	font-family: inherit;
	outline: none;
}
.auth-input::placeholder { color: rgba(255, 255, 255, .3); }

/* Error */
.auth-error {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(183, 28, 28, .18);
	border: 1px solid rgba(239, 154, 154, .3);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 13px;
	color: #ef9a9a;
	margin-bottom: 16px;
}
.auth-error i { flex-shrink: 0; }

/* Submit */
.auth-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	padding: 15px;
	margin-top: 4px;
	border: none;
	border-radius: 14px;
	background: linear-gradient(135deg, #0288d1, #4fc3f7);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .5px;
	cursor: pointer;
	transition: transform .14s, box-shadow .14s;
	box-shadow: 0 6px 24px rgba(2, 136, 209, .4);
	-webkit-tap-highlight-color: transparent;
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(2, 136, 209, .5); }
.auth-submit:active { transform: scale(.98); }

/* =====================================================================
   PANEL SCREENS (shared)
===================================================================== */
.panel-screen {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

/* Top bar */
.panel-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 48px 16px 14px;
	background: var(--navy-mid);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 50;
}
.panel-topbar-left {
	display: flex;
	align-items: center;
	gap: 12px;
}
.panel-avatar {
	width: 40px; height: 40px;
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px;
	flex-shrink: 0;
}
.panel-avatar-lojista { background: rgba(251, 191, 36, .15); color: #fbbf24; }
.panel-avatar-gerente  { background: rgba(79, 195, 247, .15); color: var(--accent); }

.panel-role-tag {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #fbbf24;
	background: rgba(251, 191, 36, .12);
	border: 1px solid rgba(251, 191, 36, .25);
	padding: 2px 8px;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 3px;
}
.panel-role-tag.panel-role-gerente {
	color: var(--accent);
	background: rgba(79, 195, 247, .12);
	border-color: rgba(79, 195, 247, .25);
}
.panel-title { font-size: 16px; font-weight: 800; }

/* Logout button */
.logout-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	background: rgba(255, 255, 255, .06);
	color: var(--dim);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s;
	-webkit-tap-highlight-color: transparent;
}
.logout-btn:hover {
	background: rgba(183, 28, 28, .18);
	color: #ef9a9a;
	border-color: rgba(239, 154, 154, .3);
}

/* Panel main content */
.panel-main {
	flex: 1;
	padding: 20px 16px 40px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

/* =====================================================================
   PAINEL LOJISTA — seções
===================================================================== */
.lojista-section {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 18px;
	margin-bottom: 14px;
}

.lojista-section-label {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 14px;
}
.lojista-section-label i { color: var(--accent); }
.lojista-label-hint {
	font-size: 9px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: rgba(255, 255, 255, .25);
	margin-left: 2px;
}

/* ── Logo upload ── */
.logo-upload-area {
	display: flex;
	gap: 16px;
	align-items: center;
}
.logo-preview-slot {
	width: 72px; height: 72px;
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
	border: 1.5px dashed rgba(255, 255, 255, .15);
	display: flex; align-items: center; justify-content: center;
	font-size: 26px;
	color: var(--dim);
	flex-shrink: 0;
	overflow: hidden;
}
.logo-upload-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.logo-upload-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border-radius: 10px;
	background: rgba(79, 195, 247, .1);
	border: 1px solid rgba(79, 195, 247, .25);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s;
	-webkit-tap-highlight-color: transparent;
}
.logo-upload-btn:hover { background: rgba(79, 195, 247, .2); }

.logo-remove-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 12px;
	border-radius: 10px;
	background: transparent;
	border: 1px solid rgba(239, 154, 154, .2);
	color: #ef9a9a;
	font-size: 11px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s;
}
.logo-remove-btn:hover { background: rgba(183, 28, 28, .18); }

.file-input-hidden {
	position: absolute;
	width: 1px; height: 1px;
	opacity: 0;
	pointer-events: none;
}

/* ── Galeria ── */
.lj-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-bottom: 12px;
}

.lj-photo-slot {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--navy);
}
.lj-photo-slot img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}
.lj-photo-remove {
	position: absolute;
	top: 5px; right: 5px;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .65);
	border: none;
	color: #fff;
	font-size: 11px;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	transition: background .15s;
}
.lj-photo-remove:hover { background: rgba(183, 28, 28, .85); }

.lj-add-photo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px;
	border-radius: 12px;
	border: 1.5px dashed rgba(79, 195, 247, .25);
	background: rgba(79, 195, 247, .04);
	color: var(--accent);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background .15s, border-color .15s;
	-webkit-tap-highlight-color: transparent;
}
.lj-add-photo-btn:hover { background: rgba(79, 195, 247, .1); border-color: rgba(79, 195, 247, .45); }

/* =====================================================================
   SPLASH SCREEN
===================================================================== */
.lc-splash {
	position: fixed;
	inset: 0;
	background: var(--navy);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	transition: opacity .7s ease, visibility .7s ease;
}
.lc-splash-out {
	opacity: 0;
	visibility: hidden;
}
.lc-splash-content {
	text-align: center;
	animation: splashIn .55s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes splashIn {
	from { opacity: 0; transform: scale(.88) translateY(14px); }
	to   { opacity: 1; transform: scale(1) translateY(0); }
}
.lc-splash-wordmark {
	font-size: 42px;
	font-weight: 900;
	letter-spacing: 12px;
	text-transform: uppercase;
	line-height: 1;
}
.lc-splash-wordmark em { color: var(--accent); font-style: normal; }
.lc-splash-sub {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 3.5px;
	text-transform: uppercase;
	color: var(--dim);
	margin: 10px 0 28px;
}
.lc-splash-bar {
	width: 130px;
	height: 3px;
	background: rgba(255,255,255,.1);
	border-radius: 3px;
	margin: 0 auto;
	overflow: hidden;
}
.lc-splash-fill {
	height: 100%;
	width: 0;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--accent2), var(--accent));
	animation: splashProgress 2s linear forwards;
}
@keyframes splashProgress {
	from { width: 0; }
	to   { width: 100%; }
}

/* =====================================================================
   GERENTE PANEL — sidebar layout
===================================================================== */
:root {
	--sb-w:       220px;   /* sidebar width (desktop) */
	--sb-bg:      #0b1528; /* sidebar background */
	--sb-border:  rgba(255,255,255,.07);
	--topbar-h:   54px;
}

/* ── Top bar ── */
.g-topbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: var(--topbar-h);
	background: #060e1c;
	border-bottom: 1px solid var(--sb-border);
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	z-index: 300;
	box-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.g-hamburger {
	display: none; /* hidden on desktop */
	width: 36px; height: 36px;
	border-radius: 8px;
	background: transparent;
	border: none;
	color: var(--dim);
	font-size: 16px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: background .15s, color .15s;
	flex-shrink: 0;
}
.g-hamburger:hover { background: rgba(255,255,255,.07); color: var(--white); }

.g-topbar-brand {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-shrink: 0;
}
.g-brand-word {
	font-size: 15px;
	font-weight: 900;
	letter-spacing: 4px;
	text-transform: uppercase;
}
.g-brand-word em { color: var(--accent); font-style: normal; }
.g-brand-sub {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--dim);
}

.g-topbar-right {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}
.g-topbar-avatar {
	width: 30px; height: 30px;
	border-radius: 8px;
	background: rgba(79,195,247,.15);
	color: var(--accent);
	display: flex; align-items: center; justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}
.g-topbar-info {
	display: flex;
	flex-direction: column;
	line-height: 1;
}
.g-topbar-name { font-size: 12px; font-weight: 700; }
.g-topbar-role { font-size: 9px; color: var(--dim); margin-top: 2px; letter-spacing: .4px; }

/* ── Layout ── */
.g-layout {
	display: flex;
	margin-top: var(--topbar-h);
	min-height: calc(100vh - var(--topbar-h));
	min-height: calc(100dvh - var(--topbar-h));
}

/* ── Sidebar ── */
.g-sidebar {
	width: var(--sb-w);
	flex-shrink: 0;
	background: var(--sb-bg);
	border-right: 1px solid var(--sb-border);
	display: flex;
	flex-direction: column;
	position: fixed;
	top: var(--topbar-h);
	left: 0;
	bottom: 0;
	overflow-y: auto;
	z-index: 200;
	transition: transform .25s cubic-bezier(.4,0,.2,1);
}

.g-nav {
	list-style: none;
	padding: 12px 0;
	flex: 1;
}

.g-nav-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	margin: 1px 8px;
	border-radius: 10px;
	color: rgba(255,255,255,.55);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: background .15s, color .15s;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.g-nav-item i { font-size: 14px; width: 18px; text-align: center; flex-shrink: 0; }
.g-nav-item:hover { background: rgba(255,255,255,.06); color: var(--white); }
.g-nav-item:hover i { color: var(--accent); }

.g-nav-active {
	background: rgba(79,195,247,.12) !important;
	color: var(--white) !important;
	border: 1px solid rgba(79,195,247,.18);
}
.g-nav-active i { color: var(--accent) !important; }

.g-nav-soon { opacity: .55; }
.g-nav-soon:hover { opacity: .8; }

.g-nav-sep {
	height: 1px;
	background: var(--sb-border);
	margin: 8px 16px;
}

.g-sidebar-footer {
	padding: 12px 16px 20px;
	border-top: 1px solid var(--sb-border);
}
.g-visit-site {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	color: var(--dim);
	text-decoration: none;
	transition: color .15s;
	padding: 6px 0;
}
.g-visit-site:hover { color: var(--accent); }
.g-visit-site i { font-size: 11px; }

/* ── Mobile overlay ── */
.g-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.6);
	z-index: 199;
	backdrop-filter: blur(2px);
}
.g-overlay-show { display: block !important; }

/* ── Content area ── */
.g-content {
	flex: 1;
	margin-left: var(--sb-w);
	padding: 24px 20px 40px;
	overflow-y: auto;
	min-width: 0;
}

/* ── Views ── */
.g-view { display: block; }
.g-view[hidden] { display: none; }

.g-view-header {
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--border);
}
.g-view-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 800;
	color: var(--white);
}
.g-view-title i { color: var(--accent); font-size: 16px; }

/* Sub-section headers inside views */
.g-subheader {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 14px;
}
.g-subheader i { color: var(--accent); }
.g-subheader .sales-count-badge { margin-left: auto; }

/* ── "Em breve" placeholder ── */
.g-coming-soon {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 20px;
	gap: 16px;
}
.g-coming-soon-icon {
	width: 72px; height: 72px;
	border-radius: 20px;
	background: rgba(79,195,247,.08);
	border: 1px solid rgba(79,195,247,.15);
	display: flex; align-items: center; justify-content: center;
	font-size: 28px;
	color: var(--accent);
}
.g-coming-soon h3 { font-size: 18px; font-weight: 800; }
.g-coming-soon p  { font-size: 13px; color: var(--dim); max-width: 280px; line-height: 1.6; }

/* ── View description ── */
.g-view-desc {
	font-size: 12px;
	color: var(--dim);
	margin-top: 3px;
}

/* ── Sidebar: submenus (accordion) ── */
.g-nav-group { position: relative; }

.g-nav-parent {
	justify-content: flex-start;
}
.g-nav-parent .g-sub-arrow {
	margin-left: auto;
	font-size: 10px;
	color: var(--dim);
	transition: transform .2s;
}
.g-arrow-open { transform: rotate(180deg); }

.g-nav-parent-active {
	background: rgba(79,195,247,.07) !important;
	color: var(--white) !important;
}
.g-nav-parent-active i:first-child { color: var(--accent) !important; }

/* Subnav list */
.g-subnav {
	display: none;
	list-style: none;
	padding: 2px 0 4px 32px;
	margin: 0 8px;
}
.g-subnav-open { display: block; }

.g-subnav-item {
	display: block;
	padding: 7px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	color: rgba(255,255,255,.45);
	text-decoration: none;
	transition: background .14s, color .14s;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.g-subnav-item:hover { color: var(--white); background: rgba(255,255,255,.05); }
.g-subnav-active {
	color: var(--accent) !important;
	background: rgba(79,195,247,.08) !important;
}

/* ── WordPress-like list table ── */
.wp-list-table-wrap {
	background: var(--navy-mid);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
}
.wlt-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-bottom: 1px solid var(--border);
}
.wlt-count { font-size: 12px; color: var(--dim); }
.wlt-add-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid rgba(79,195,247,.25);
	background: rgba(79,195,247,.08);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	cursor: not-allowed;
	opacity: .55;
}
.wp-list-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12.5px;
	min-width: 480px;
}
.wp-list-table thead tr { background: rgba(255,255,255,.03); }
.wp-list-table th {
	padding: 10px 14px;
	text-align: left;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: var(--dim);
	border-bottom: 1px solid var(--border);
}
.wp-list-table td {
	padding: 11px 14px;
	border-bottom: 1px solid rgba(255,255,255,.04);
	color: var(--soft);
	vertical-align: middle;
}
.wp-list-table tbody tr:last-child td { border-bottom: none; }
.wp-list-table tbody tr:hover td { background: rgba(255,255,255,.02); }
.wlt-title { font-weight: 600; color: var(--white); }
.wlt-cat {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 20px;
	background: rgba(255,255,255,.07);
	color: var(--soft);
}
.wlt-date { font-size: 11px; color: var(--dim); white-space: nowrap; }

/* ── Segments view ── */
.seg-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px; height: 30px;
	border-radius: 8px;
	font-size: 13px;
}
.seg-slug {
	font-family: 'Courier New', monospace;
	font-size: 11px;
	background: rgba(255,255,255,.07);
	padding: 2px 6px;
	border-radius: 4px;
	color: var(--dim);
}
.g-link {
	color: var(--accent);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}
.g-link:hover { text-decoration: underline; }

/* ── Logout label hidden on very small screens ── */
.logout-label { display: inline; }

/* ══════════════════════════════════════════════════
   RESPONSIVE — mobile sidebar
══════════════════════════════════════════════════ */
@media (max-width: 767px) {
	.g-hamburger { display: flex; }

	.g-sidebar {
		transform: translateX(-100%);
	}
	.g-sidebar-open {
		transform: translateX(0) !important;
	}

	.g-content {
		margin-left: 0;
		padding: 16px 14px 32px;
	}

	.g-topbar-info { display: none; }
	.logout-label  { display: none; }
	.logout-btn    { padding: 8px 10px; }

	.g-brand-word { font-size: 13px; letter-spacing: 3px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	:root { --sb-w: 180px; }
	.g-nav-item { font-size: 12px; }
}

/* =====================================================================
   UTILITIES
===================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   CHECKOUT — página /anuncie/ (telas 1→2→3)
===================================================================== */

/* ── Voltar ── */
.checkout-back-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0 14px;
	color: var(--accent);
	background: none;
	border: none;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}

/* ── Card branco do checkout ── */
.checkout-card {
	background: #fff;
	border-radius: 18px;
	padding: 22px 18px 24px;
	box-shadow: 0 8px 32px rgba(0,0,0,.18);
	max-width: 480px;
	margin: 0 auto;
}

/* ── Cabeçalho seguro ── */
.checkout-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 14px;
	margin-bottom: 16px;
	border-bottom: 1px solid #edf2f7;
}

.checkout-lock-icon { color: #38a169; font-size: 13px; }
.checkout-header-text { font-size: 13px; font-weight: 600; color: #4a5568; flex: 1; }
.checkout-brands { display: flex; gap: 8px; font-size: 24px; }
.checkout-brands .fa-pix { color: #00BDAE; }
.checkout-brands .fa-cc-visa { color: #1a1f71; }
.checkout-brands .fa-cc-mastercard { color: #eb001b; }

/* ── Resumo do pedido ── */
.checkout-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(135deg, var(--navy), #0d2a52);
	border-radius: 12px;
	padding: 14px 16px;
	margin-bottom: 20px;
}

.checkout-summary-icon {
	width: 38px; height: 38px;
	border-radius: 50%;
	background: rgba(79,195,247,.18);
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; color: #4fc3f7;
	flex-shrink: 0;
}

.checkout-summary-info {
	flex: 1;
	display: flex; flex-direction: column; gap: 2px;
}

.checkout-plan-name {
	font-weight: 700; font-size: 14px; color: #fff;
}

.checkout-plan-sub {
	font-size: 10px; color: rgba(255,255,255,.55);
}

.checkout-price-wrap { text-align: right; }

.checkout-plan-price {
	display: block;
	font-size: 20px; font-weight: 800;
	color: #4fc3f7; line-height: 1;
}

.checkout-plan-period { font-size: 10px; color: rgba(255,255,255,.45); }

/* ── Abas ── */
.checkout-tabs {
	display: flex; gap: 8px; margin-bottom: 20px;
}

.checkout-tab {
	flex: 1;
	padding: 10px 6px;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	background: #f7fafc;
	color: #718096;
	font-size: 13px; font-weight: 600;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center; gap: 6px;
	transition: all .15s;
	font-family: inherit;
}

.checkout-tab-active {
	border-color: var(--navy);
	background: var(--navy);
	color: #fff;
}

/* ── PIX ── */
.pix-qr-wrap {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	margin-bottom: 16px;
}

.pix-qr {
	border: 8px solid #fff;
	border-radius: 12px;
	box-shadow: 0 2px 14px rgba(0,0,0,.1);
}

.pix-qr-label {
	font-size: 12px; color: #718096;
	display: flex; align-items: center; gap: 6px;
}

.pix-or-divider {
	text-align: center;
	position: relative;
	margin: 14px 0 10px;
	color: #a0aec0; font-size: 11px;
}

.pix-or-divider::before,
.pix-or-divider::after {
	content: '';
	position: absolute; top: 50%;
	width: 36%; height: 1px;
	background: #e2e8f0;
}

.pix-or-divider::before { left: 0; }
.pix-or-divider::after  { right: 0; }

.pix-validity {
	text-align: center;
	font-size: 12px; color: #e53e3e;
	margin-bottom: 14px;
	display: flex; align-items: center; justify-content: center; gap: 6px;
}

.pix-code-label {
	font-size: 10px; font-weight: 600;
	color: #718096; text-transform: uppercase; letter-spacing: .05em;
	margin-bottom: 7px;
}

.pix-code-box {
	display: flex; align-items: center; gap: 8px;
	background: #f7fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px; padding: 10px 10px;
}

.pix-code-box code {
	flex: 1; font-size: 9.5px; color: #4a5568;
	line-height: 1.5; font-family: monospace;
	word-break: break-all;
}

.pix-copy-btn {
	flex-shrink: 0;
	width: 34px; height: 34px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff; color: #4a5568;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	font-size: 14px;
	transition: background .15s, color .15s, border-color .15s;
}

.pix-copy-btn:hover  { background: var(--navy); color: #fff; border-color: var(--navy); }
.pix-copy-btn.copied { background: #38a169; color: #fff; border-color: #38a169; }

/* ── Formulário Cartão ── */
.card-form { display: flex; flex-direction: column; gap: 14px; }

.card-label {
	display: block;
	font-size: 10px; font-weight: 700;
	color: #718096; text-transform: uppercase; letter-spacing: .06em;
	margin-bottom: 6px;
}

.card-input {
	width: 100%; box-sizing: border-box;
	padding: 10px 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px; color: #2d3748;
	background: #fff;
	transition: border-color .15s;
	font-family: inherit;
}

.card-input:focus {
	outline: none;
	border-color: var(--navy);
	box-shadow: 0 0 0 3px rgba(10,25,49,.1);
}

.card-select { appearance: none; cursor: pointer; }

.card-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}

.card-field     { display: flex; flex-direction: column; }
.card-field-full { grid-column: 1 / -1; }

/* ── Botão confirmar ── */
.confirm-payment-btn {
	display: flex; width: 100%;
	align-items: center; justify-content: center; gap: 10px;
	padding: 15px;
	margin-top: 22px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--accent2) 100%);
	color: #fff; border: none; border-radius: 12px;
	font-size: 16px; font-weight: 700; cursor: pointer;
	letter-spacing: .02em;
	transition: opacity .15s, transform .1s;
	font-family: inherit;
}

.confirm-payment-btn:hover  { opacity: .92; }
.confirm-payment-btn:active { transform: scale(.98); }
.confirm-payment-btn:disabled { opacity: .6; cursor: not-allowed; }

.checkout-security {
	text-align: center;
	font-size: 10.5px; color: #a0aec0;
	margin-top: 12px;
	display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ── Loading overlay ── */
.payment-loading-overlay {
	display: none;
	position: fixed; inset: 0;
	background: rgba(10,25,49,.88);
	align-items: center; justify-content: center;
	z-index: 9999;
	backdrop-filter: blur(4px);
}

.payment-loading-overlay.show { display: flex; }

.payment-loading-card {
	background: #fff;
	border-radius: 20px;
	padding: 36px 44px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

.payment-loading-spinner {
	font-size: 40px; color: var(--accent2);
	margin-bottom: 14px;
}

.payment-loading-text {
	font-size: 16px; font-weight: 700; color: var(--navy);
	margin: 0 0 6px;
}

.payment-loading-sub {
	font-size: 12px; color: #a0aec0; margin: 0;
}

/* ── Tela de Sucesso ── */
.payment-success-card {
	text-align: center;
	padding: 48px 20px;
	display: flex; flex-direction: column; align-items: center; gap: 16px;
}

.payment-success-icon {
	width: 80px; height: 80px;
	border-radius: 50%;
	background: linear-gradient(135deg, #38a169, #48bb78);
	display: flex; align-items: center; justify-content: center;
	font-size: 36px; color: #fff;
	box-shadow: 0 8px 28px rgba(56,161,105,.4);
}

.payment-success-title {
	font-size: 24px; font-weight: 800;
	color: var(--navy); margin: 0;
}

.payment-success-desc {
	font-size: 14px; color: #718096; line-height: 1.6; margin: 0;
}

.payment-success-dots {
	display: flex; gap: 6px; align-items: center; margin-top: 8px;
}

.payment-success-dots span {
	width: 9px; height: 9px; border-radius: 50%;
	background: var(--accent2);
	animation: pdot 1.4s ease-in-out infinite;
}

.payment-success-dots span:nth-child(2) { animation-delay: .2s; }
.payment-success-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes pdot {
	0%, 80%, 100% { transform: scale(.6); opacity: .4; }
	40%            { transform: scale(1);  opacity: 1; }
}

/* ── Painel Lojista: estado bloqueado ── */
.lj-locked-state {
	display: flex; flex-direction: column;
	align-items: center; gap: 14px;
	padding: 52px 24px; text-align: center;
}

.lj-locked-icon {
	width: 72px; height: 72px; border-radius: 50%;
	background: rgba(10,25,49,.08);
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: var(--dim);
}

.lj-locked-title {
	font-size: 18px; font-weight: 700; color: var(--navy); margin: 0;
}

.lj-locked-desc {
	font-size: 13px; color: var(--dim);
	max-width: 260px; line-height: 1.5; margin: 0;
}

.lj-unlock-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 13px 28px;
	background: linear-gradient(135deg, var(--navy), var(--accent2));
	color: #fff; border-radius: 12px;
	font-size: 14px; font-weight: 700;
	text-decoration: none; margin-top: 8px;
	transition: opacity .15s;
}

.lj-unlock-btn:hover { opacity: .88; }

/* ── Badge de plano ativo ── */
.lj-activated-badge {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 14px;
	background: rgba(56,161,105,.1);
	border: 1px solid rgba(56,161,105,.25);
	border-radius: 10px;
	margin-bottom: 18px;
	font-size: 13px; color: #276749; font-weight: 600;
}

.lj-activated-badge i { color: #38a169; font-size: 16px; }

/* ── Upsell inline — campos bloqueados por plano ────────────────── */
.lc-upsell-msg {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0 0;
	font-size: 12px;
	color: #f59e0b;
	font-weight: 500;
	line-height: 1.4;
}
.lc-upsell-msg i { font-size: 10px; flex-shrink: 0; }
.lc-upsell-msg a {
	color: #f59e0b;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.lc-upsell-msg a:hover { opacity: .8; }

/* Campo desabilitado por plano */
.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
	opacity: .45;
	cursor: not-allowed;
	pointer-events: none;
}

/* Seção com cadeado — badge de nível */
.lc-plan-badge {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 2px 8px;
	border-radius: 999px;
}
.lc-plan-badge--pro     { background: rgba(245,158,11,.15); color: #f59e0b; }
.lc-plan-badge--premium { background: rgba(167,139,250,.15); color: #a78bfa; }

/* ── Painel: preço inline no botão de ação ───────────────────── */
.painel-action-price {
	font-size: 12px;
	font-weight: 800;
	color: #a78bfa;
	margin-left: auto;
	margin-right: 6px;
	flex-shrink: 0;
}

/* ── Anuncie — bloco de Classificados ───────────────────────── */
.clas-promo-block {
	margin-top: 8px;
	background: linear-gradient(145deg, #13103a, #1e1458);
	border: 1px solid rgba(167, 139, 250, .28);
	border-radius: 18px;
	padding: 20px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	box-shadow: 0 4px 24px rgba(109, 40, 217, .15);
}

.clas-promo-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #a78bfa;
	background: rgba(167, 139, 250, .12);
	border: 1px solid rgba(167, 139, 250, .25);
	padding: 3px 10px;
	border-radius: 20px;
	margin-bottom: 8px;
}

.clas-promo-title {
	font-size: 16px;
	font-weight: 800;
	color: #fff;
	line-height: 1.35;
	margin-bottom: 6px;
}

.clas-promo-desc {
	font-size: 13px;
	color: rgba(255, 255, 255, .6);
	line-height: 1.6;
	margin: 0;
}

.clas-promo-price-row {
	display: flex;
	align-items: center;
	gap: 20px;
}

.clas-promo-price {
	display: flex;
	align-items: baseline;
	gap: 3px;
	flex-shrink: 0;
}
.clas-promo-currency { font-size: 14px; font-weight: 700; color: #a78bfa; }
.clas-promo-amount   { font-size: 40px; font-weight: 900; color: #fff; line-height: 1; }
.clas-promo-period   { font-size: 12px; color: rgba(255, 255, 255, .45); margin-left: 2px; }

.clas-promo-features {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
}
.clas-promo-features li {
	font-size: 12px;
	color: rgba(255, 255, 255, .65);
	display: flex;
	align-items: center;
	gap: 7px;
}
.clas-promo-features li i { color: #a78bfa; font-size: 10px; }

.clas-promo-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: 100%;
	padding: 14px;
	background: linear-gradient(135deg, #7c3aed, #a78bfa);
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	border-radius: 12px;
	text-decoration: none;
	transition: opacity .15s, transform .15s;
	box-shadow: 0 4px 16px rgba(124, 58, 237, .4);
}
.clas-promo-btn:hover  { opacity: .9; transform: translateY(-1px); }
.clas-promo-btn:active { transform: scale(.98); opacity: 1; }

/* =====================================================================
   DESTAQUES — Carrossel patrocinado (Swiper)
===================================================================== */
.destaques-section {
	padding: 12px 0 4px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 16px;
	overflow: hidden;
}

.destaques-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #ffd600;
	padding: 0 16px 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.destaque-swiper { padding: 0 16px 14px !important; }
.destaque-slide  { width: 148px !important; }

.destaque-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	background: var(--navy-card);
	border: 1px solid rgba(255, 214, 0, .32);
	border-radius: 14px;
	padding: 14px 10px 10px;
	text-decoration: none;
	color: inherit;
	position: relative;
	box-shadow: 0 0 16px rgba(255, 214, 0, .07);
	transition: transform .15s, box-shadow .15s;
	height: 100%;
	-webkit-tap-highlight-color: transparent;
}
.destaque-card:hover  { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255, 214, 0, .18); }
.destaque-card:active { transform: scale(.96); }

.destaque-badge {
	position: absolute;
	top: 8px; left: 8px;
	background: rgba(255, 214, 0, .18);
	color: #ffd600;
	font-size: 9px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 4px;
	border: 1px solid rgba(255, 214, 0, .3);
}

.destaque-avatar {
	width: 60px; height: 60px;
	border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	margin-top: 14px;
	overflow: hidden;
	flex-shrink: 0;
}
.destaque-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.destaque-avatar i   { color: #fff !important; }

.destaque-name {
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
}

.destaque-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 11px;
	color: var(--soft);
	flex-wrap: wrap;
	justify-content: center;
}

.destaque-status {
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 20px;
}
.destaque-status.open   { background: rgba(74, 222, 128, .15); color: #4ade80; }
.destaque-status.closed { background: rgba(248, 113, 113, .15); color: #f87171; }

/* =====================================================================
   HOME — Carrossel de Destaques
===================================================================== */
.home-dest-wrap {
	padding: 4px 0 2px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 4px;
}

.home-dest-label {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .8px;
	color: #ffd600;
	padding: 10px 0 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}

/* Slide ocupa 100% do contêiner — sem peek lateral */
.home-dest-swiper { padding: 0 0 28px !important; overflow: hidden !important; }
.home-dest-slide  { width: 100% !important; box-sizing: border-box; }

/* Remove margem inferior do biz-card dentro do slide (Swiper cuida do espaço) */
.home-dest-slide .biz-card { margin-bottom: 0; border-left: 2px solid rgba(255, 214, 0, .45); }

/* Pagination dots */
.home-dest-swiper .swiper-pagination { bottom: 4px !important; }
.home-dest-swiper .swiper-pagination-bullet {
	background: rgba(255,255,255,.35);
	opacity: 1;
	width: 6px; height: 6px;
}
.home-dest-swiper .swiper-pagination-bullet-active {
	background: #ffd600;
	width: 18px;
	border-radius: 3px;
}

/* =====================================================================
   MELHORIAS VISUAIS GLOBAIS
   Hover, focus, contraste, tipografia — aplicadas em todas as telas.
===================================================================== */

/* ── Contraste melhorado: atende WCAG AA em textos secundários ─────── */
:root {
    --dim:  rgba(255, 255, 255, .54);   /* era .45 — ≈ 4.6:1 em --navy */
    --soft: rgba(255, 255, 255, .76);   /* era .70 — levemente mais legível */
}

/* ── Focus ring acessível ──────────────────────────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) { outline: none; }

/* ── Biz-card: hover mais pronunciado e border hint ───────────────── */
.biz-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .45);
    border-color: rgba(79, 195, 247, .22);
}

/* ── Destaque card hover ──────────────────────────────────────────── */
.destaque-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(255, 214, 0, .22);
}

/* ── Classificados card: hover suave ─────────────────────────────── */
.clas-olx-card {
    transition: transform .15s, box-shadow .15s;
}
.clas-olx-card:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .45);
}

/* ── Categorias: sombra mais pronunciada no hover ─────────────────── */
.card:hover {
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .55) !important;
}

/* ── Botão WhatsApp: hover mais intenso ───────────────────────────── */
.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
}

/* ── Redes sociais: hover com cor da rede ─────────────────────────── */
.social-btn.ig:hover { background: rgba(225, 48, 108, .14); color: #e1306c; }
.social-btn.fb:hover { background: rgba(24, 119, 242, .14); color: #1877f2; }

/* ── Back btn: hover mais visível ─────────────────────────────────── */
.back-btn:hover { background: rgba(255, 255, 255, .22); }

/* ── Botão genérico pill (estados vazios, CTA) ─────────────────────── */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--accent);
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none;
    transition: transform .14s, box-shadow .14s;
    box-shadow: 0 4px 18px rgba(79, 195, 247, .35);
}
.btn-pill:hover  { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(79, 195, 247, .48); }
.btn-pill:active { transform: scale(.97); }

/* ── Melhoria tipográfica global ──────────────────────────────────── */
.biz-name       { letter-spacing: -.1px; }
.section-label  { letter-spacing: 2.2px; }
.info-title     { letter-spacing: 1.8px; }

/* ── Destaques label: legibilidade ────────────────────────────────── */
.home-dest-label,
.destaques-label { font-size: 11.5px; letter-spacing: 1.5px; }

/* =====================================================================
   LAYOUT RESPONSIVO — Desktop & Tablet
   Estratégia: app mobile-first → layout de documento em telas maiores.
   Em ≥ 768 px a bottom-nav é ocultada e a rolagem passa a ser
   do documento (não mais de uma área interna overflow-y).
===================================================================== */

/* ── 600px+ — Grid de categorias cresce ────────────────────────────── */
@media (min-width: 600px) {
    .grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
    .card .ci { font-size: 28px; }
    .card .lc-seg-icon.ci { width: 28px; height: 28px; }
}

/* ── 768px+ — Tablet ─────────────────────────────────────────────── */
@media (min-width: 768px) {

    /* Bottom-nav: de app mobile para barra de rodapé horizontal no desktop */
    .bottom-nav {
        position: static;
        border-radius: 0;
        height: auto;
        padding: 14px 32px;
        justify-content: center;
        gap: 4px;
        box-shadow: 0 -2px 16px rgba(0, 0, 0, .25);
    }
    .nav-item {
        flex-direction: row;
        gap: 8px;
        padding: 10px 18px;
        border-radius: 10px;
    }
    .nav-item span { font-size: 11px; font-weight: 600; letter-spacing: .5px; }
    .nav-item i    { font-size: 16px; }

    /* Rolagem de documento (sem scroll interno nas telas públicas) */
    .home-main,
    .cat-main,
    .anuncie-main   { overflow: visible; -webkit-overflow-scrolling: auto; }
    .detail-scroll  { overflow: visible; }

    /* Remove padding de compensação da bottom-nav */
    .home-main     { padding-bottom: 40px; }
    .cat-main      { padding-bottom: 40px; }
    .anuncie-main  { padding-bottom: 48px; }
    .detail-scroll { padding-bottom: 56px; }

    /* Back header: sem padding de status-bar iOS */
    .back-header {
        padding-top: 18px;
        padding-bottom: 16px;
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Home header */
    .home-header { padding-top: 36px; padding-bottom: 22px; }
    .logo        { font-size: 32px; letter-spacing: 8px; }
    .logo-sub    { font-size: 12px; }

    /* Pill search — tablet */
    .lc-pill-search { min-height: 52px; padding: 4px 8px 4px 18px; }
    .lc-pill-input  { font-size: 15px; }
    .lc-pill-city-btn { font-size: 14px; padding: 10px 12px; }
    .lc-pill-cat-btn  { font-size: 18px; padding: 10px 14px; }

    /* Grid de categorias: mais colunas */
    .grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 14px; }

    /* ── Business cards: 2 colunas nas telas de listagem ─────────────── */
    #screen-archive  .cat-main,
    #screen-category .cat-main,
    #screen-search   .cat-main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 14px;
        row-gap: 14px;
        align-content: start;
        max-width: 1240px;
        margin: 0 auto;
        padding: 20px 24px 56px;
    }
    #screen-archive  .cat-main .cat-count,
    #screen-category .cat-main .cat-count,
    #screen-search   .cat-main .cat-count,
    #screen-archive  .cat-main .no-results,
    #screen-category .cat-main .no-results,
    #screen-search   .cat-main .no-results  { grid-column: 1 / -1; }

    /* Remove margin-bottom dos cards (row-gap cuida do espaço) */
    #screen-archive  .cat-main .biz-wrap,
    #screen-category .cat-main .biz-wrap,
    #screen-search   .cat-main .biz-wrap   { margin-bottom: 0; }
    #screen-archive  .cat-main .biz-card,
    #screen-category .cat-main .biz-card,
    #screen-search   .cat-main .biz-card   { margin-bottom: 0; }

    /* ── Favoritos: grid em #fav-list ─────────────────────────────────── */
    #fav-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 14px;
        row-gap: 14px;
        align-content: start;
        width: 100%;
    }
    #fav-list .biz-wrap,
    #fav-list .biz-card { margin-bottom: 0; }
    #screen-favoritos .cat-main {
        max-width: 1240px;
        margin: 0 auto;
        padding: 20px 24px 56px;
    }

    /* Destaques: slide 100% — largura gerida pelo Swiper (slidesPerView:1) */

    /* ── Página de detalhe: largura máxima e centrada ─────────────────── */
    #screen-detail .detail-scroll {
        max-width: 880px;
        margin: 0 auto;
    }
    .detail-hero       { padding: 24px 28px 20px; }
    .detail-hero-logo,
    .detail-hero-icon  { width: 96px; height: 96px; }
    #lc-map            { height: 260px !important; }

    /* Mapa full-screen: controles sem compensação da bottom-nav */
    #screen-mapa .leaflet-bottom {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    }

    /* ── Classificados ────────────────────────────────────────────────── */
    .clas-olx-grid { padding: 8px 24px 56px; }
    .clas-city-bar { padding: 12px 24px 4px; }
}

/* ── 1024px+ — Desktop ───────────────────────────────────────────── */
@media (min-width: 1024px) {

    /* Back header: margens laterais mais generosas */
    .back-header {
        padding-top: 22px;
        padding-bottom: 18px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .back-header h2 { font-size: 20px; }

    /* Home */
    .logo          { font-size: 36px; letter-spacing: 9px; }
    .logo-brand-img { height: 80px; max-width: 240px; }
    .home-header   { padding-top: 44px; padding-bottom: 26px; }
    .home-wrapper  { padding: 0 48px; }
    .home-main     { padding-top: 20px; }
    .section-label { font-size: 12px; margin: 18px 0 14px; }

    /* Highlights carousel: slide 100% — largura gerida pelo Swiper (slidesPerView:1) */
    .destaque-slide   { width: 164px !important; }
    .destaques-section { padding: 16px 0 8px; }

    /* Grid de categorias */
    .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
    .card .ci { font-size: 30px; }
    .card .lc-seg-icon.ci { width: 30px; height: 30px; }
    .card .card-label { font-size: 11.5px; }

    /* ── Business cards: 3 colunas ────────────────────────────────────── */
    #screen-archive  .cat-main,
    #screen-category .cat-main,
    #screen-search   .cat-main {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 16px;
        row-gap: 16px;
        padding: 28px 40px 64px;
        max-width: 1400px;
    }

    #fav-list { grid-template-columns: repeat(3, 1fr); }
    #screen-favoritos .cat-main { padding: 28px 40px 64px; max-width: 1400px; }

    /* ── Página de detalhe: espaçamentos mais generosos ──────────────── */
    #screen-detail .detail-scroll { max-width: 1060px; }
    .detail-hero       { padding: 32px 48px 26px; }
    .detail-hero-logo,
    .detail-hero-icon  { width: 108px; height: 108px; border-radius: 22px; }

    .info-section      { padding: 0 48px; }
    .divider           { margin: 18px 48px; }
    .whatsapp-btn      { margin: 0 48px; }
    .social-row        { padding: 0 48px; }
    .map-block         { margin: 0 48px; }
    .gallery           { padding: 14px 48px 0; }
    .detail-desc-block { padding: 20px 48px 0; }
    #lc-map            { height: 300px !important; }

    /* ── Classificados ────────────────────────────────────────────────── */
    .clas-olx-grid {
        grid-template-columns: repeat(4, 1fr);
        padding: 8px 40px 64px;
    }
    .clas-city-bar { padding: 14px 40px 4px; }

    /* ── Meu Painel: centrado ─────────────────────────────────────────── */
    #screen-meu-painel .painel-body {
        max-width: 700px;
        margin: 0 auto;
        padding-top: 24px;
    }

    /* ── Home header: logo à esquerda | pill à direita ─────────────── */
    .home-header .home-wrapper {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas: "brand pill";
        column-gap: 48px;
        align-items: center;
    }
    .home-header-top  { grid-area: brand; align-self: center; align-items: flex-start; }
    .lc-pill-search   { grid-area: pill; margin-bottom: 0; }
    .logo             { text-align: left; }
    .logo-sub         { text-align: left; }
    .logo-brand-img   { margin: 0; align-self: center; }
    .lc-brand-lockup  { justify-content: flex-start; }
    .lc-brand-copy    { align-items: flex-start; }
    .lc-brand-name    { text-align: left; font-size: 34px; }
    .lc-brand-lockup--h .logo-brand-img { max-width: 230px; }
}

/* ── 1280px+ — Tela larga ─────────────────────────────────────────── */
@media (min-width: 1280px) {
    #screen-archive  .cat-main,
    #screen-category .cat-main,
    #screen-search   .cat-main {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1440px;
        padding: 32px 56px 72px;
    }
    #fav-list { grid-template-columns: repeat(4, 1fr); }
    #screen-favoritos .cat-main { padding: 32px 56px 72px; max-width: 1440px; }

    .grid         { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .home-wrapper { padding: 0 56px; }
    .back-header  { padding-left: 56px; padding-right: 56px; }

    .clas-olx-grid {
        grid-template-columns: repeat(5, 1fr);
        padding: 8px 56px 72px;
    }

    #screen-detail .detail-scroll { max-width: 1200px; }
    .info-section  { padding: 0 56px; }
    .divider       { margin: 20px 56px; }
    .whatsapp-btn  { margin: 0 56px; }
    .social-row    { padding: 0 56px; }
    .map-block     { margin: 0 56px; }
    .gallery       { padding: 14px 56px 0; }
    .detail-desc-block { padding: 20px 56px 0; }
    .home-header   { padding-top: 48px; padding-bottom: 32px; }
    .home-header .home-wrapper { column-gap: 64px; }
}

/* ── Reduzida preferência de movimento ───────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .card,
    .biz-card,
    .destaque-card,
    .clas-olx-card,
    .whatsapp-btn,
    .btn-pill { transition: none !important; }
}

/* =====================================================================
   CLASSIFICADOS — Wrapper de alinhamento do bloco Destaques + Clima
===================================================================== */
.lc-clas-top-wrap {
    padding: 8px 14px 0;
    box-sizing: border-box;
    width: 100%;
}
@media (min-width: 640px)  { .lc-clas-top-wrap { padding: 8px 24px 0; } }
@media (min-width: 1024px) { .lc-clas-top-wrap { padding: 8px 40px 0; } }
@media (min-width: 1280px) { .lc-clas-top-wrap { padding: 8px 56px 0; } }

/* =====================================================================
   HOME — Linha topo: Destaques + Previsão do Tempo
===================================================================== */
.home-top-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px; /* Espaçamento base no mobile */
}
.home-top-row .home-dest-wrap {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.home-top-row .promo { margin-bottom: 0; }

/* Widget oculto no mobile, visível em tablet+ */
.lc-weather-widget { display: none; }

@media (min-width: 768px) {
    .home-top-row {
        flex-direction: row;
        gap: 20px;
        align-items: stretch;
        width: 100%;
        margin-bottom: 24px;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--border);
    }
    /* Destaque vira card igual ao widget do tempo */
    .home-top-row .home-dest-wrap {
        flex: 1;
        min-width: 0;
        border-bottom: none;
        margin-bottom: 0;
        padding: 10px 0 12px;
        background: var(--navy-mid);
        border: 1px solid var(--border);
        border-radius: 14px;
        overflow: hidden;
        box-sizing: border-box;
    }
    /* Label com indent simétrico aos lados */
    .home-top-row .home-dest-label {
        padding-left: 14px;
        padding-right: 14px;
    }
    /* Swiper recebe padding lateral para o conteúdo não colar nas bordas */
    .home-top-row .home-dest-swiper {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .home-top-row .promo {
        flex: 1;
        min-width: 0;
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .lc-weather-widget {
        display: flex;
        flex: 1;
        min-width: 0;
        flex-direction: column;
        justify-content: space-between;
        background: var(--navy-mid);
        border: 1px solid var(--border);
        border-radius: 14px;
        padding: 10px 14px 14px;
        overflow: hidden;
    }
}

@media (max-width: 767px) {
    .home-top-row {
        flex-direction: column;
        align-items: initial;
    }
}

/* ── Corpo do widget ─────────────────────────────────────────────── */
.lc-wth-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    min-height: 0;
}
.lc-weather-loading-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--dim);
    font-size: 12px;
    flex: 1;
}
@keyframes lc-wth-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .35; }
}
.lc-weather-spin { animation: lc-wth-pulse 1.6s ease-in-out infinite; }

/* ── Carrossel — dois painéis: condições | previsão ──────────────── */
#lc-weather .lc-weather-carousel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#lc-weather .lc-weather-item { display: none; }
#lc-weather .lc-weather-item.active {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 16px;
    align-items: center;
    flex: 1;
    animation: lcWFadeIn .3s ease;
}
@keyframes lcWFadeIn {
    from { opacity: 0; transform: translateY(3px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Painel esquerdo — cidade + temperatura */
.lc-wth-left    { display: flex; flex-direction: column; gap: 2px; }
.lc-wth-city    { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-wth-temprow { display: flex; align-items: center; gap: 6px; }
.lc-wth-icon    { font-size: 28px; flex-shrink: 0; line-height: 1; }
.lc-wth-temp    { font-size: 28px; font-weight: 800; color: #fff; line-height: 1; }
.lc-wth-details { font-size: 10px; color: var(--dim); white-space: nowrap; }

/* Painel direito — previsão 5 dias */
.lc-wth-forecast {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-left: 16px;
    border-left: 1px solid var(--border);
    height: 100%;
    align-items: center;
}
.lc-wth-day      { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.lc-wth-day-name { font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--dim); }
.lc-wth-day i    { font-size: 13px; }
.lc-wth-tmax     { font-size: 11px; font-weight: 700; color: #fff; }
.lc-wth-tmin     { font-size: 9px; color: var(--dim); }

/* Dots */
#lc-weather .lc-weather-dots { display: flex; justify-content: center; gap: 5px; margin-top: 8px; flex-shrink: 0; }
#lc-weather .lc-weather-dot  { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.22); cursor: pointer; transition: background .2s; flex-shrink: 0; }
#lc-weather .lc-weather-dot.active { background: #3b82f6; }
.lc-wth-error { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--dim); font-size: 12px; flex: 1; }

/* =====================================================================
   MOBILE DRAWER MENU
===================================================================== */

/* ── Hamburguer toggle — fica dentro do .lc-topbar (mobile only) ── */
.lc-drawer-toggle {
	/* sem position:fixed — é um filho flex do .lc-topbar */
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, .13);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
	transition: background .15s;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
	flex-shrink: 0;
}
.lc-drawer-toggle:hover { background: rgba(255, 255, 255, .24); }

@media (min-width: 769px) {
	/* Em desktop: hamburguer some, mas login/usuário fica visível */
	.lc-drawer-toggle { display: none !important; }
	/* Topbar fica só com o elemento de login, alinhado à esquerda; scrim removido */
	.lc-topbar { justify-content: flex-start; background: transparent; }
}

/* ── Overlay (backdrop escuro atrás do painel) ───────────────────── */
.lc-drawer-overlay {
	position: fixed !important;
	inset: 0 !important;
	background: rgba(0, 0, 0, .60) !important;
	z-index: 9989 !important;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
	/* backdrop-filter omitido: suporte inconsistente em WebView Android */
}
.lc-drawer-overlay.open { opacity: 1 !important; pointer-events: auto; }

/* ── Drawer panel — superfície sólida opaca ─────────────────────── */
.lc-drawer {
	position: fixed !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: auto !important;
	height: 100% !important;
	height: 100dvh !important;
	width: 80% !important;
	max-width: 320px !important;
	margin: 0 !important;
	/* Fundo sólido sem alpha — cor fixa para garantir opacidade total */
	background-color: #0d1e35 !important;
	background:       #0d1e35 !important;
	/* Sem gradiente, sem rgba, sem transparência no painel */
	opacity: 1 !important;
	border: none !important;
	border-left: 1px solid rgba(255,255,255,.10) !important;
	box-sizing: border-box;
	z-index: 9990 !important;
	transform: translateX(100%);
	transition: transform .32s cubic-bezier(.33, 1, .68, 1);
	display: flex !important;
	flex-direction: column;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	box-shadow: -8px 0 40px rgba(0, 0, 0, .70);
	padding-top: env(safe-area-inset-top, 0px);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	/* Cria contexto de empilhamento isolado */
	isolation: isolate;
}
.lc-drawer.open { transform: translateX(0) !important; }

@media (min-width: 769px) {
	.lc-drawer,
	.lc-drawer-overlay { display: none !important; }
}

/* ── Topo do drawer: rótulo + botão fechar ───────────────────────── */
.lc-drawer-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 16px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .10);
	flex-shrink: 0;
}
.lc-drawer-menu-label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .45);
}

.lc-drawer-brand { display: flex; align-items: center; gap: 12px; }
.lc-drawer-brand-logo {
	height: 40px;
	max-width: 48px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}
.lc-drawer-brand-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.lc-drawer-brand-name {
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0;
	color: #fff;
	line-height: 1.1;
	display: block;
}
.lc-drawer-brand-slogan {
	font-size: 10px;
	font-weight: 400;
	letter-spacing: 0.3px;
	color: rgba(255, 255, 255, .5);
	display: block;
}

/* ── Rótulos de seção ───────────────────────────────────────────── */
.lc-drawer-section-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .6);
	padding: 20px 24px 8px;
	margin: 0;
	flex-shrink: 0;
}

/* ── Lista de itens ─────────────────────────────────────────────── */
.lc-drawer-list {
	list-style: none;
	margin: 0 10px;
	padding: 0 0 4px;
	flex-shrink: 0;
}

/* ── Item individual — minimalista ──────────────────────────────── */
.lc-drawer-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, .85);
	font-size: 14.5px;
	font-weight: 500;
	transition: background .15s, color .15s, transform .1s;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}
.lc-drawer-item:hover  { background: rgba(255, 255, 255, .08); color: #fff; }
.lc-drawer-item:active { background: rgba(255, 255, 255, .14); transform: scale(.98); }

.lc-drawer-item--placeholder { opacity: .55; }

/* ── Ícone do item — minimalista, sem caixa ─────────────────────── */
.lc-drawer-icon {
	width: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	flex-shrink: 0;
	color: rgba(255, 255, 255, .6);
	transition: color .15s;
}
.lc-drawer-item:hover .lc-drawer-icon { color: #fff; }

.lc-drawer-text { flex: 1; }


/* ── Select2 — tema escuro para /criar-anuncio/ ─────────────────────────── */
.select2-container--default .select2-selection--multiple {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 10px;
	padding: 4px 8px;
	min-height: 44px;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: #3b82f6;
	outline: none;
	box-shadow: 0 0 0 3px rgba(59,130,246,.25);
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background: rgba(59,130,246,.25);
	border: 1px solid rgba(59,130,246,.5);
	border-radius: 6px;
	color: #e2e8f0;
	padding: 2px 8px;
	font-size: 12px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	color: #93c5fd;
	margin-right: 4px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
	color: #f87171;
}
.select2-container--default .select2-selection--multiple .select2-selection__placeholder {
	color: var(--dim, #64748b);
}
.select2-dropdown {
	background: #1e293b;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,.5);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	background: rgba(255,255,255,.08);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 6px;
	color: #e2e8f0;
	padding: 6px 10px;
}
.select2-container--default .select2-results__option {
	color: #cbd5e1;
	padding: 8px 12px;
	font-size: 13px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: rgba(59,130,246,.35);
	color: #fff;
}
.select2-container--default .select2-results__option[aria-selected=true] {
	background: rgba(59,130,246,.18);
	color: #93c5fd;
}
.select2-search--inline .select2-search__field {
	color: #e2e8f0;
}

/* =====================================================================
   QR CODE MODAL — link para download do app (desktop only)
   Botão aparece na bottom-nav em ≥ 768 px; oculto em mobile porque
   no celular o usuário acessa o APK direto pelo drawer.
===================================================================== */

/* ── Botão "Baixar App" na bottom-nav ──────────────────────────────── */
.lc-qr-trigger {
	display: none; /* oculto em mobile */
	border: none;
	background: none;
	cursor: pointer;
	color: inherit;
	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
	.lc-qr-trigger { display: flex; } /* exibido junto com os outros nav-items no desktop */
}

/* ── Backdrop (overlay escuro) ─────────────────────────────────────── */
.lc-qr-backdrop {
	position: fixed;
	inset: 0;
	z-index: 950;
	background: rgba(0, 0, 0, .65);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease;
}
.lc-qr-backdrop.open {
	opacity: 1;
	pointer-events: auto;
}

/* ── Card do modal ─────────────────────────────────────────────────── */
.lc-qr-modal {
	background: linear-gradient(150deg, var(--navy-mid) 0%, var(--navy-card) 100%);
	border: 1px solid rgba(79, 195, 247, .18);
	border-radius: 22px;
	padding: 32px 28px 26px;
	width: 100%;
	max-width: 300px;
	text-align: center;
	position: relative;
	box-shadow: 0 24px 72px rgba(0, 0, 0, .65);
	transform: scale(.93) translateY(8px);
	transition: transform .28s cubic-bezier(.34, 1.56, .64, 1);
}
.lc-qr-backdrop.open .lc-qr-modal {
	transform: scale(1) translateY(0);
}

/* ── Botão fechar (×) ──────────────────────────────────────────────── */
.lc-qr-close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 30px;
	height: 30px;
	border: none;
	background: rgba(255, 255, 255, .1);
	color: var(--dim);
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	transition: background .15s, color .15s;
}
.lc-qr-close:hover { background: rgba(255, 255, 255, .22); color: var(--white); }

/* ── Ícone Android no topo do card ────────────────────────────────── */
.lc-qr-icon {
	width: 50px;
	height: 50px;
	border-radius: 15px;
	background: rgba(79, 195, 247, .12);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
	font-size: 24px;
	color: var(--accent);
}

/* ── Textos do card ────────────────────────────────────────────────── */
.lc-qr-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--white);
	margin-bottom: 6px;
	line-height: 1.3;
}
.lc-qr-sub {
	font-size: 12px;
	color: var(--dim);
	line-height: 1.6;
	margin-bottom: 20px;
	max-width: 240px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Moldura branca ao redor do QR Code ────────────────────────────── */
.lc-qr-img-wrap {
	background: #fff;
	border-radius: 14px;
	padding: 10px;
	display: inline-block;
	margin-bottom: 14px;
	line-height: 0;
}
.lc-qr-img-wrap img {
	display: block;
	width: 176px;
	height: 176px;
}

/* ── Link discreto abaixo do QR ────────────────────────────────────── */
.lc-qr-direct-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: var(--accent);
	text-decoration: none;
	opacity: .65;
	transition: opacity .15s;
}
.lc-qr-direct-link:hover { opacity: 1; }

/* ── Ícone SVG no dropdown de busca da Home (isolado e blindado) ───── */
.lc-search-item-link {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
}
.lc-search-dropdown-wrapper {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 18px !important;
	height: 18px !important;
	min-width: 18px !important;
	max-width: 18px !important;
	flex-shrink: 0 !important;
}
.lc-search-dropdown-svg {
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	filter: invert(0.5) sepia(0.1) saturate(500%) hue-rotate(180deg) brightness(1.1) !important;
	opacity: 0.85 !important;
	display: block !important;
}

/* =====================================================================
   ÍNDICE ALFABÉTICO — [lc_az_index]
===================================================================== */

html { scroll-behavior: smooth; }

.lc-az-index { margin: 24px 0; }

/* ── Barra de letras ─────────────────────────────────── */
.lc-az-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	padding: 12px 0 16px;
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--navy);
	border-bottom: 1px solid var(--border);
	margin-bottom: 24px;
}

.lc-az-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 13px;
	background: var(--navy-card);
	color: var(--soft);
	text-decoration: none;
	border: 1px solid var(--border);
	transition: background .15s, color .15s, transform .1s, border-color .15s;
	flex-shrink: 0;
}

.lc-az-btn:hover {
	background: var(--accent2);
	color: var(--navy);
	border-color: var(--accent2);
	transform: scale(1.12);
	text-decoration: none;
}

.lc-az-btn--off {
	opacity: .22;
	pointer-events: none;
	cursor: default;
}

/* ── Grupos por letra ────────────────────────────────── */
.lc-az-group {
	margin-bottom: 28px;
	scroll-margin-top: 72px;
}

.lc-az-group-title {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--border);
}

/* ── Grid de categorias ──────────────────────────────── */
.lc-az-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
}

.lc-az-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 10px 12px;
	background: var(--navy-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--soft);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: background .15s, color .15s, border-color .15s, transform .1s;
	line-height: 1.35;
}

.lc-az-item:hover {
	background: var(--navy-mid);
	color: var(--accent);
	border-color: var(--accent2);
	transform: translateY(-1px);
	text-decoration: none;
}

.lc-az-count {
	font-size: 10px;
	font-weight: 700;
	color: var(--dim);
	background: rgba(255, 255, 255, .06);
	border-radius: 999px;
	padding: 1px 6px;
	flex-shrink: 0;
}

/* ── Responsivo ──────────────────────────────────────── */
@media (max-width: 900px) {
	.lc-az-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
	.lc-az-bar {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-left: 4px;
		padding-right: 4px;
	}
	.lc-az-bar::-webkit-scrollbar { display: none; }
	.lc-az-btn { width: 32px; height: 32px; font-size: 12px; }
	.lc-az-grid { grid-template-columns: repeat(2, 1fr); }
	.lc-az-item { font-size: 12px; padding: 9px 10px; }
	.lc-az-group { scroll-margin-top: 60px; }
}

/* =====================================================================
   LISTEL — Lista Telefônica A–Z   [listel_contatos_az]
===================================================================== */

.listel-wrap { margin: 20px 0; }

/* ── Barra de filtros ───────────────────────────────────────────── */
.listel-filtros {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.listel-busca-input {
	flex: 1;
	min-width: 180px;
	padding: 9px 14px;
	background: rgba(255,255,255,.07);
	border: 1px solid var(--border);
	border-radius: 8px;
	color: #fff;
	font-size: 13px;
	outline: none;
	transition: border-color .2s;
}
.listel-busca-input::placeholder { color: rgba(255,255,255,.35); }
.listel-busca-input:focus { border-color: var(--accent); }

.listel-cidade-wrap {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,.07);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0 12px;
	min-width: 180px;
}

.listel-cidade-select {
	background: transparent;
	border: none;
	color: #fff;
	font-size: 13px;
	outline: none;
	cursor: pointer;
	width: 100%;
	padding: 9px 0;
	-webkit-appearance: none;
	appearance: none;
}
.listel-cidade-select option { background: #0d2c54; color: #fff; }

@media (max-width: 600px) {
	.listel-filtros { flex-direction: column; }
	.listel-busca-input,
	.listel-cidade-wrap { min-width: 0; width: 100%; }
}

/* ── Barra de navegação A–Z ─────────────────────────────────────── */
.listel-az-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	justify-content: center;
	padding: 12px 0 14px;
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--navy);
	border-bottom: 1px solid var(--border);
	margin-bottom: 28px;
}

.listel-az-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	background: var(--navy-card);
	color: var(--soft);
	text-decoration: none;
	border: 1px solid var(--border);
	flex-shrink: 0;
	transition: background .15s, color .15s, transform .1s, border-color .15s;
}

.listel-az-btn:hover {
	background: var(--accent2);
	color: var(--navy);
	border-color: var(--accent2);
	transform: scale(1.12);
	text-decoration: none;
}

.listel-az-btn--off {
	opacity: .20;
	pointer-events: none;
}

/* ── Bloco de cada letra ────────────────────────────────────────── */
.listel-grupo-letra {
	margin-bottom: 30px;
	scroll-margin-top: 70px;
	/* 3 colunas de itens — o título usa column-span: all para cruzá-las */
	columns: 3;
	column-gap: 32px;
}

.listel-titulo-letra {
	column-span: all;       /* ocupa as 3 colunas */
	font-size: 24px;
	font-weight: bold;
	border-bottom: 2px solid rgba(255, 255, 255, .25);
	padding-bottom: 5px;
	margin-bottom: 15px;
	color: var(--accent);
	letter-spacing: .05em;
}

/* ── Cada linha: Nome (esq.) | Telefone (dir.) ──────────────────── */
.listel-item-linha {
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	padding: 8px 0 !important;
	border-bottom: 1px dashed rgba(255, 255, 255, .10) !important;
	break-inside: avoid;    /* impede linha de quebrar entre colunas */
	gap: 8px;
}

.listel-nome-comercio {
	font-weight: 600;
	font-size: 13px;
	color: var(--soft);
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.listel-nome-comercio a {
	color: inherit;
	text-decoration: none;
	transition: color .12s;
}
.listel-nome-comercio a:hover { color: var(--accent); text-decoration: none; }

.listel-telefone-comercio {
	flex-shrink: 0;
	white-space: nowrap;
}

.listel-telefone-comercio a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: bold;
	font-size: 12px;
	text-decoration: none;
	padding: 3px 10px;
	border-radius: 999px;
	transition: background .15s;
}

/* WhatsApp — verde */
.listel-telefone-comercio a .fa-whatsapp,
.listel-telefone-comercio a:has(.fa-whatsapp) {
	color: #4ade80;
}
.listel-telefone-comercio a:has(.fa-whatsapp) {
	background: rgba(74, 222, 128, .10);
	border: 1px solid rgba(74, 222, 128, .22);
}
.listel-telefone-comercio a:has(.fa-whatsapp):hover {
	background: rgba(74, 222, 128, .22);
	text-decoration: none;
}

/* Telefone comum — azul */
.listel-telefone-comercio a:has(.fa-phone) {
	color: var(--accent);
	background: rgba(79, 195, 247, .09);
	border: 1px solid rgba(79, 195, 247, .20);
}
.listel-telefone-comercio a:has(.fa-phone):hover {
	background: rgba(79, 195, 247, .22);
	text-decoration: none;
}

/* Fallback para browsers sem :has() */
.listel-telefone-comercio a {
	color: var(--accent);
	border: 1px solid var(--border);
}

.listel-vazio { color: var(--dim); font-size: 13px; padding: 20px 0; }

/* ── Grade de utilitários (3 botões abaixo do A-Z) ──────────────── */
.listel-util-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin: 14px 0 18px;
}
.listel-util-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 12px 8px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: transform .15s, opacity .2s;
	color: #fff;
}
.listel-util-btn:active { transform: scale(.96); }
.listel-util-btn i { font-size: 20px; }
.listel-util-btn span { display: block; }
.listel-util-btn--orange { background: #25D366; box-shadow: 0 3px 12px rgba(37,211,102,.35); font-weight: bold; }
.listel-util-btn--red    { background: linear-gradient(135deg,#dc2626,#b91c1c); box-shadow: 0 3px 12px rgba(220,38,38,.35); }
.listel-util-btn--blue   { background: linear-gradient(135deg,#2563eb,#1d4ed8); box-shadow: 0 3px 12px rgba(37,99,235,.35); }
.listel-util-btn--orange:hover,
.listel-util-btn--red:hover,
.listel-util-btn--blue:hover { opacity: .88; }

/* ── Responsivo ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
	.listel-grupo-letra { columns: 2; column-gap: 24px; }
}

@media (max-width: 600px) {
	.listel-az-bar {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-left: 2px;
		padding-right: 2px;
	}
	.listel-az-bar::-webkit-scrollbar { display: none; }
	.listel-az-btn { width: 30px; height: 30px; font-size: 11px; }
	.listel-grupo-letra { columns: 1; }
	.listel-titulo-letra { font-size: 20px; }
	.listel-grupo-letra { scroll-margin-top: 58px; }
}

/* =====================================================================
   PAINEL GERENCIAR LISTEL — [gerenciar_listel]
   Projetado para uso em páginas de painel (fundo claro #f4f6f9).
===================================================================== */

.gl-wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 960px;
	margin: 0 auto;
	padding: 4px 0 32px;
}

/* ── Notificações ─────────────────────────────────────────── */
.gl-notice {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 500;
}

.gl-notice--success {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}

.gl-notice--error {
	background: #fce4ec;
	color: #c62828;
	border: 1px solid #f8bbd0;
}

/* ── Cards ────────────────────────────────────────────────── */
.gl-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	overflow: hidden;
}

.gl-card-header {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 14px 20px;
	background: #0b1e36;
	color: rgba(255, 255, 255, .88);
	font-size: 14px;
	font-weight: 600;
}

.gl-card-header i { color: #4fc3f7; }

.gl-count {
	margin-left: auto;
	background: rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .7);
	font-size: 11px;
	font-weight: 700;
	border-radius: 999px;
	padding: 2px 9px;
}

/* ── Formulário ───────────────────────────────────────────── */
.gl-form { padding: 20px; }

.gl-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 18px;
}

.gl-field { display: flex; flex-direction: column; gap: 5px; }

.gl-label {
	font-size: 12px;
	font-weight: 600;
	color: #4a5568;
	letter-spacing: .03em;
}

.gl-required { color: #e53935; }

.gl-input {
	padding: 9px 12px;
	border: 1px solid #d1d9e0;
	border-radius: 7px;
	font-size: 13px;
	color: #1a2a3a;
	background: #f8fafc;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
	width: 100%;
}

.gl-input:focus {
	border-color: #0288d1;
	box-shadow: 0 0 0 3px rgba(2, 136, 209, .12);
	background: #fff;
}

.gl-form-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

/* ── Botões do formulário ─────────────────────────────────── */
.gl-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 18px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	text-decoration: none;
	transition: opacity .15s, background .15s;
	white-space: nowrap;
}

.gl-btn:hover { opacity: .88; text-decoration: none; }

.gl-btn--primary {
	background: #0288d1;
	color: #fff;
}

.gl-btn--ghost {
	background: transparent;
	color: #4a5568;
	border: 1.5px solid #d1d9e0;
}

/* ── Tabela ───────────────────────────────────────────────── */
.gl-empty {
	padding: 24px 20px;
	font-size: 13px;
	color: #718096;
	text-align: center;
}

.gl-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.gl-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	min-width: 520px;
}

.gl-table th {
	background: #f1f5f9;
	color: #4a5568;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 10px 16px;
	text-align: left;
	border-bottom: 2px solid #e2e8f0;
}

.gl-table td {
	padding: 10px 16px;
	border-bottom: 1px solid #edf2f7;
	vertical-align: middle;
	color: #1a2a3a;
}

.gl-table tbody tr:last-child td { border-bottom: none; }
.gl-table tbody tr:hover td { background: #f7fafc; }

.gl-td-name { font-weight: 600; }

.gl-tel-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: #0288d1;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
}
.gl-tel-link:hover { text-decoration: underline; }
.gl-tel-link i { font-size: 11px; }

.gl-no-phone { color: #a0aec0; }

.gl-td-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	white-space: nowrap;
}

/* ── Botões de ação da tabela ─────────────────────────────── */
.btn-listel-edit,
.btn-listel-delete {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	transition: background .15s, color .15s;
	border: 1px solid transparent;
}

/* Editar — cinza-azulado escuro */
.btn-listel-edit {
	background: #1e293b;
	color: #cbd5e1;
	border-color: #334155;
}
.btn-listel-edit:hover {
	background: #0f172a;
	color: #e2e8f0;
	text-decoration: none;
}

/* Excluir — vermelho escuro */
.btn-listel-delete {
	background: #3b1111;
	color: #fca5a5;
	border-color: #7f1d1d;
}
.btn-listel-delete:hover {
	background: #450a0a;
	color: #fecaca;
	text-decoration: none;
}

/* ── Responsivo ───────────────────────────────────────────── */
@media (max-width: 640px) {
	.gl-form-row { grid-template-columns: 1fr; }
	.gl-form-actions { flex-wrap: wrap; }
	.gl-td-actions { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* =====================================================================
   DESIGN SYSTEM — Componentes centralizados
   (nunca tela por tela — apenas tokens e classes reutilizáveis)
===================================================================== */

/* ── Topbar: garante que o mapa (sem back-header) deixe espaço ── */
/* O mapa não tem back-header, então a filter-bar precisa de offset */
#screen-mapa .mapa-filter-bar {
	padding-top: calc(env(safe-area-inset-top, 0px) + 58px + 8px);
}

/* ── Remoção de glow neon — sombras discretas ──────────────────── */
.admin-plan-dot { box-shadow: none !important; }
.whatsapp-btn   { box-shadow: 0 4px 16px rgba(37,211,102,.25) !important; }
.submit-btn     { box-shadow: 0 4px 16px rgba(45,127,193,.3)  !important; }

/* ── Chips de filtro — padronizados ────────────────────────────── */
.lc-sr-chip,
.mapa-chip {
	font-size: var(--fs-xs, 11px);
	font-weight: 600;
	border-radius: var(--radius-pill, 999px);
}

/* ── Cards de destaque (swiper home) — elevação ────────────────── */
.home-dest-slide .biz-card,
.destaque-card {
	box-shadow: var(--shadow-card);
	border-color: var(--border-hi);
}

/* ── Imagens com aspect-ratio fixo — object-fit ───────────────── */
.gallery-img img,
.biz-logo-img,
.lc-map-popup-img { object-fit: cover; }

.gallery-img { aspect-ratio: 16 / 9; height: auto; }
.gallery-img:first-child { aspect-ratio: 4 / 3; }

/* ── Gradiente sobre fotos de galeria (legibilidade de badges) ── */
.gallery-img::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, transparent 35%, transparent 65%, rgba(0,0,0,.45) 100%);
	border-radius: 14px;
	pointer-events: none;
}

/* ── Pílulas Aberto/Fechado — consistência global ──────────────── */
.open, .closed { font-size: var(--fs-xs, 11px); letter-spacing: .3px; }

/* ── Texto secundário — contraste AA mínimo ───────────────────── */
.biz-addr, .biz-meta, .cat-count, .info-label,
.rating-text, .lc-clas-meta { color: rgba(255,255,255,.55); }

/* ── Títulos de seção ──────────────────────────────────────────── */
.section-label {
	font-size: var(--fs-xs, 11px);
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: rgba(255,255,255,.48);
	margin: 24px 0 12px;
}

/* ── Botões de ação: raio e peso padronizados ─────────────────── */
.clas-novo-btn, .map-nav-btn, .submit-btn {
	border-radius: var(--radius-pill, 999px);
	font-weight: 800;
}
.map-nav-btn { border-radius: var(--radius-sm, 10px); }

/* ── Biz-name: não quebra linha desnecessariamente ────────────── */
.biz-name {
	font-size: var(--fs-md, 15px);
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── Cards de anunciante e painel — sombra discreta ───────────── */
.painel-welcome, .painel-listing-card,
.painel-action-btn, .painel-metric-card {
	box-shadow: var(--shadow-card);
}

/* ── Logo / identidade: versão flat (sem bevel) ───────────────── */
/* O logo real é uma imagem controlada pelo admin.
   Quando for texto fallback, garantimos aparência plana: */
.lc-splash-wordmark, .lc-brand-name {
	text-shadow: none;
	filter: none;
	letter-spacing: 6px;
}

/* ── Tipografia geral — escala e contraste ─────────────────────── */
h1, .detail-title { font-size: var(--fs-hero, 28px); }
h2, .back-header h2 { font-size: var(--fs-lg, 17px); }
.biz-name, .lc-clas-card-title { font-size: var(--fs-md, 15px); }
.biz-addr, .cat-count, .info-label, .lc-clas-meta { font-size: var(--fs-xs, 11px); }

/* Garantia de overflow em texto longo */
.detail-head, .lc-clas-card-title {
	overflow-wrap: break-word;
	word-break: break-word;
}

/* ── Cores semânticas via token (sem hardcode em componente) ───── */
.open   { color: #86efac; background: rgba(76,175,80,.14); border-color: rgba(76,175,80,.28); }
.closed { color: #fca5a5; background: rgba(239,83,80,.12); border-color: rgba(239,83,80,.25); }

/* ── Nav item active — apenas accent, sem glow ─────────────────── */
.nav-item.active i   { text-shadow: none; filter: none; }
.nav-item.active span { text-shadow: none; }

/* ── Admin plan dot — sem glow ─────────────────────────────────── */
.admin-plan-dot { background: var(--accent); }

/* ── Botão WhatsApp — sombra discreta ─────────────────────────── */
.whatsapp-btn, .lc-clas-wa {
	box-shadow: 0 4px 16px rgba(37,211,102,.22);
}

