/* Menu de Rodapé — cores/fontes controláveis pelo widget Elementor; aqui só
   layout e comportamento. Mesmo breakpoint mobile do Menu do topo: 1024px.

   Importante: título e links são <button>/<a> "crus" dentro de um contexto
   Elementor/tema que injeta CSS global bem abrangente em cima de seletores
   como [type=button] e "a" (cor de destaque do tema, borda, padding,
   sublinhado, contorno, sombra) — na prática, quase tudo que a gente não
   forçar com !important corre risco de ser sobrescrito (foi exatamente
   isso que deixou "Categorias"/"Suporte"/"Nossa marca" com a borda/padding
   crus do Elementor por cima do nosso reset). Por isso, quase todas as
   propriedades aqui levam !important — inclusive "color", que lê a
   variável CSS do widget (--lc-footer-*-color) então continua respeitando
   os controles de cor de lá, só garante que ganha do CSS externo.

   Cores/espaçamento específicos do mobile são passados pelo widget via
   variáveis CSS (--lc-footer-mobile-*), lidas só dentro do media query —
   assim dá pra ter valores diferentes no mobile sem depender dos breakpoints
   internos do Elementor. Qualquer propriedade forçada aqui embaixo que
   também é sobrescrita dentro do media query precisa do !important nos
   dois lugares — senão o !important da regra base "trava" e o media query
   deixa de conseguir mudar o valor no mobile. */

.loja-cipo-footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.loja-cipo-footer-menu-group {
	flex: 1;
	min-width: 160px;
}

.loja-cipo-footer-menu-title,
.loja-cipo-footer-menu-panel a,
.loja-cipo-footer-menu-panel span {
	-webkit-tap-highlight-color: transparent;
}

.loja-cipo-footer-menu-title,
.loja-cipo-footer-menu-title:hover,
.loja-cipo-footer-menu-title:focus,
.loja-cipo-footer-menu-title:active,
.loja-cipo-footer-menu-title:visited {
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	background: none !important;
	box-shadow: none !important;
	outline: none !important;
	border: none !important;
	padding: 0 0 14px !important;
	margin: 0 !important;
	font-family: inherit !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	text-align: left !important;
	cursor: default;
	pointer-events: none;
}

.loja-cipo-footer-menu-title {
	color: var(--lc-footer-title-color, inherit) !important;
}

.loja-cipo-footer-menu-chevron {
	display: none;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	transition: transform 0.2s ease;
}

.loja-cipo-footer-menu-panel {
	margin: 0;
}

.loja-cipo-footer-menu-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.loja-cipo-footer-menu-panel a,
.loja-cipo-footer-menu-panel span {
	color: var(--lc-footer-link-color, inherit) !important;
	text-decoration: none !important;
	font-size: 14px !important;
	font-family: inherit !important;
	opacity: 0.85;
	background: none !important;
	box-shadow: none !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.loja-cipo-footer-menu-panel a:hover,
.loja-cipo-footer-menu-panel a:focus,
.loja-cipo-footer-menu-panel a:active,
.loja-cipo-footer-menu-panel a:visited {
	opacity: 1;
	text-decoration: none !important;
	background: none !important;
	box-shadow: none !important;
}

/* Mobile — cada grupo vira uma sanfona fechada por padrão */

@media (max-width: 1024px) {
	.loja-cipo-footer-menu {
		flex-direction: column;
		gap: var(--lc-footer-mobile-gap, 0px);
	}

	.loja-cipo-footer-menu-group {
		border-bottom: 1px solid rgba(127, 127, 127, 0.25);
	}

	.loja-cipo-footer-menu-group:last-child {
		border-bottom: none;
	}

	.loja-cipo-footer-menu-title,
	.loja-cipo-footer-menu-title:hover,
	.loja-cipo-footer-menu-title:focus,
	.loja-cipo-footer-menu-title:active {
		width: 100% !important;
		justify-content: space-between !important;
		padding: 11px 0 !important;
		cursor: pointer;
		pointer-events: auto;
	}

	.loja-cipo-footer-menu-title {
		color: var(--lc-footer-mobile-title-color, var(--lc-footer-title-color, inherit)) !important;
	}

	.loja-cipo-footer-menu-panel a,
	.loja-cipo-footer-menu-panel span {
		color: var(--lc-footer-mobile-link-color, var(--lc-footer-link-color, inherit)) !important;
	}

	.loja-cipo-footer-menu-chevron {
		display: block;
	}

	.loja-cipo-footer-menu-title[aria-expanded="true"] .loja-cipo-footer-menu-chevron {
		transform: rotate(180deg);
	}

	.loja-cipo-footer-menu-panel {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.28s ease;
	}

	.loja-cipo-footer-menu-panel ul {
		padding-bottom: 10px;
		gap: 8px;
	}
}
