/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background-color: var(--wp--preset--color--chocolate);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
}

.site-footer a {
	color: #b3b3b3;
	text-decoration: none;
	transition: color var(--wp--custom--transition);
}

.site-footer a:hover {
	color: var(--wp--preset--color--white);
}

/* ---------- Footer main ---------- */

.footer-main {
	max-width: var(--wp--custom--sizes--max-width);
	margin: 0 auto;
	padding: var(--wp--custom--spacing--xl) var(--wp--custom--spacing--lg) var(--wp--custom--spacing--lg);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
}

/* ---------- Logo ---------- */

.footer-logo img {
	height: 52px;
	width: auto;
}

/* ---------- Description ---------- */

.footer-description {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.6;
	max-width: 480px;
	margin: 0;
	color: #b3b3b3;
}

/* ---------- Footer nav (WP menu) ---------- */

.footer-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--wp--custom--spacing--md) var(--wp--custom--spacing--lg);
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-nav__list li {
	margin: 0;
	padding: 0;
}

.footer-nav__list a {
	font-weight: 500;
	color: #b3b3b3;
	position: relative;
	padding: var(--wp--custom--spacing--xs) 0;
}

.footer-nav__list a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 3px;
	background-color: var(--wp--preset--color--primary);
	border-radius: var(--wp--custom--border-radius--sm);
	transition: width var(--wp--custom--transition);
}

.footer-nav__list a:hover::after,
.footer-nav__list .current-menu-item a::after {
	width: 100%;
}

.footer-nav__list a:hover {
	color: var(--wp--preset--color--white);
}

/* ---------- Social icons ---------- */

.footer-social {
	display: flex;
	gap: 0.75rem;
	align-items: center;
}

.footer-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid #555;
	color: #b3b3b3;
	transition: color var(--wp--custom--transition),
	            background-color var(--wp--custom--transition),
	            border-color var(--wp--custom--transition);
}

.footer-social__link:hover {
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.footer-social__link svg {
	width: var(--wp--custom--icon-size--sm);
	height: var(--wp--custom--icon-size--sm);
	fill: currentColor;
	stroke: none;
}

/* ---------- Footer bottom ---------- */

.footer-bottom {
	max-width: var(--wp--custom--sizes--max-width);
	margin: 0 auto;
	padding: var(--wp--custom--spacing--md) var(--wp--custom--spacing--lg);
	border-top: 1px solid #333;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.footer-bottom__payment img {
	display: block;
	height: 36px;
	width: auto;
	background-color: var(--wp--preset--color--white);
	border-radius: var(--wp--custom--border-radius--sm);
	padding: 5px 10px;
}

.footer-bottom__copyright {
	font-size: var(--wp--preset--font-size--x-small);
	margin: 0;
	color: #808080;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
	.footer-main {
		padding: var(--wp--custom--spacing--lg) var(--wp--custom--spacing--md);
	}

	.footer-nav__list {
		gap: var(--wp--custom--spacing--sm) var(--wp--custom--spacing--md);
	}

	.footer-bottom {
		padding: var(--wp--custom--spacing--md);
	}
}
