/*
 * Footer styles
 * Theme: SLC Theme
 */

.site-footer,
.slc-footer--main {
	background-color: #2c313b;
	padding-top: 40px;
	padding-right: 16px;
	padding-left: 16px;
	width: 100%;
}

.fa-envelope,.fa-car{
	color:white !important;
}
.fa-phone{
	color: #7BBD42 !important;
}



.slc-footer__top {
	width: 100%;
}

.slc-footer__col {
	min-width: 0;
}

/* Tamaño base del texto del footer (excepto tabla de contacto) */
:where(.site-footer, .slc-footer--main)
	:where(:not(.slc-footer-contact-table, .slc-footer-contact-table *)) {
	font-size: 17px;
}

.slc-footer__title {
	margin-top: 0;
	font-size: var(--wp--preset--font-size--m);
	font-weight: 400;
	margin-bottom: 24px;
	padding-bottom: var(--wp--preset--spacing--s);
	border-bottom: 2px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	text-transform: uppercase;
}

.slc-footer__title--contact {
	margin-top: 0;
}

.slc-footer__text {
	line-height: 1.6;
}

.slc-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.slc-footer-links {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.slc-footer-links li {
	margin: 0 0 var(--wp--preset--spacing--s) 0;
}

.slc-footer-links > li > a {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--m);
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	line-height: 1.25rem;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 0.18s ease, color 0.18s ease;
}

.slc-footer-links > li > a::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-color: currentColor;

  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/></svg>");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;

  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'><path d='M471.1 297.4C483.6 309.9 483.6 330.2 471.1 342.7L279.1 534.7C266.6 547.2 246.3 547.2 233.8 534.7C221.3 522.2 221.3 501.9 233.8 489.4L403.2 320L233.9 150.6C221.4 138.1 221.4 117.8 233.9 105.3C246.4 92.8 266.7 92.8 279.2 105.3L471.2 297.3z'/></svg>");
  mask-size: contain;
  mask-repeat: no-repeat;
}

.slc-footer-links > li > a:hover {
	color: var(--wp--preset--color--primary);
	transform: translateX(6px);
}

.slc-footer-contact-card {
	width: 100%;
	max-width: 320px;
}

.slc-footer-contact-table {
	width: 104%;
	table-layout: fixed;
	border-collapse: collapse;
	background: transparent;
}

.slc-footer-contact-table td {
	padding: var(--wp--preset--spacing--m) var(--wp--preset--spacing--m);
	vertical-align: middle;
}

.slc-footer-contact-table a {
	color: inherit;
	text-decoration: none;
}

.slc-footer-contact-table tbody tr:nth-child(odd) {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--white);
}

.slc-footer-contact-table tbody tr:nth-child(even) {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
}

.slc-footer-contact-table tbody tr + tr td {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.slc-footer-contact-icon {
font-size: 26px;
  line-height: 26px;
  margin-top: 4px;
  width: 26px;
  margin-right: 12px;

}

.slc-footer-contact-text {
	font-size: 17px;
	word-wrap: break-word;
}

.slc-footer__separator {
	margin-top: 32px;
	margin-bottom: 0;
}

.slc-footer--meta {
	background-color: #1d1f25;
	margin-top: 0;
	margin-bottom: 0;
}

/* Grupo conjunto: métodos de pago + copyright + aviso legal */
.slc-footer__meta-wrap {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.slc-footer__meta-wrap > .slc-footer--meta {
	width: 100%;
	max-width: 100%;
}

.slc-footer__payments-bar {
	padding-top: 30px;
	padding-right: 0;
	padding-bottom: 30px;
	padding-left: 0;
}

.slc-footer__payments {
	width: 100%;
	max-width: 100%;
	gap: 0;
}

.slc-footer__payments-col {
	display: flex;
	padding-right: 0;
	padding-left: 0;
}

/* Imagen izquierda pegada al centro por la derecha; imagen derecha pegada al centro por la izquierda */
.slc-footer__payments-col:first-child {
	justify-content: flex-end;
}

.slc-footer__payments-col:last-child {
	justify-content: center;
}

.slc-footer__payment-image {
	margin-right: 0;
	margin-left: 0;
}

.slc-footer__payment-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-right: auto;
	margin-left: auto;
}

.slc-footer__payment-image figcaption {
	display: none;
}


.slc-footer__copyright-text {
	margin: 0;
}

.slc-footer__copyright-text a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.slc-footer__legal {
	padding-top: 0;
	padding:40px;
}

.slc-footer__legal-text {
	width: 100%;
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	background-color: transparent;
	line-height: 1.6;
}

/* Compatibilidad básica */
.site-footer ul {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

.site-footer li {
	margin: 0 0 var(--wp--preset--spacing--s) 0;
}
