/* Store footer (patterns/footer.php): wave edge, headline + socials, brand, menus, legal. */

.wp-site-blocks > footer.site-footer {
	margin-block-start: 0;
	border-top: 0;
}

.shop-footer__wave svg path {
	stroke: none;
}

.shop-footer__wave + .shop-footer__inner {
	margin-top: -1px;
}

.shop-footer {
	position: relative;
	overflow: hidden;
	margin-top: 0 !important;
	padding: 0 !important;
	background: var(--wp--preset--color--border-dark);
	color: rgba(255, 255, 255, 0.78);
}

.shop-footer__wave {
	background: var(--wp--preset--color--base);
	line-height: 0;
}

.shop-footer__wave svg {
	display: block;
	width: 100%;
	height: 64px;
	fill: var(--wp--preset--color--border-dark);
}

.shop-footer__inner {
	position: relative;
	z-index: 1;
	max-width: var(--wp--style--global--wide-size, 1280px);
	margin: 0 auto;
	padding: 1.5rem var(--wp--style--root--padding-right, 1.5rem) 1.5rem var(--wp--style--root--padding-left, 1.5rem);
}

.shop-footer a {
	color: inherit;
	text-decoration: none;
}

.shop-footer a:hover,
.shop-footer a:focus-visible {
	color: var(--wp--preset--color--white, #fff);
	text-decoration: underline;
}

/* Decorative blobs */
.shop-footer__blob {
	position: absolute;
	z-index: 0;
	border-radius: 50%;
	background: rgba(120, 160, 90, 0.28);
	pointer-events: none;
}

.shop-footer__blob--1 {
	width: 420px;
	height: 420px;
	top: -60px;
	left: -160px;
}

.shop-footer__blob--2 {
	width: 380px;
	height: 380px;
	right: -140px;
	bottom: -170px;
}

/* Headline row */
.shop-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.5rem 0 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-footer__headline {
	margin: 0;
	max-width: 22ch;
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--fraunces, serif);
	font-size: clamp(1.8rem, 4.2vw, 2.6rem);
	font-weight: 600;
	line-height: 1.15;
}

.shop-footer__headline em,
.shop-footer__headline span {
	color: var(--wp--preset--color--primary-alt) !important;
}

.shop-footer__social {
	display: flex;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-footer__social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1.5px solid rgba(255, 255, 255, 0.85);
	border-radius: 50%;
	color: var(--wp--preset--color--white, #fff);
	transition: background 0.2s ease, color 0.2s ease;
}

.shop-footer__social a:hover,
.shop-footer__social a:focus-visible {
	background: var(--wp--preset--color--white, #fff);
	color: var(--wp--preset--color--border-dark);
	text-decoration: none;
}

/* Brand + menus */
.shop-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2rem;
	padding: 2.5rem 0;
}

.shop-footer__brand .custom-logo-link {
	display: inline-block;
}

.shop-footer__brand .custom-logo {
	width: 210px;
	height: auto;
}

.shop-footer__blurb {
	max-width: 34ch;
	margin: 0.75rem 0 1rem;
	line-height: 1.55;
}

.shop-footer__contact {
	display: grid;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.55rem;
}

.shop-footer__contact svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	color: var(--wp--preset--color--primary-alt);
}

.shop-footer__heading {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--white, #fff);
	font-family: var(--wp--preset--font-family--primary);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: 0;
}

.shop-footer__icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--main);
}

.shop-footer__menu--help .shop-footer__icon {
	background: var(--wp--preset--color--pink, #ff8fa8);
}

.shop-footer__menu--support .shop-footer__icon {
	background: var(--wp--preset--color--primary-alt);
}

.shop-footer__menu ul {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Legal row */
.shop-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.9rem;
}

.shop-footer__legal p {
	margin: 0;
}

.shop-footer__payments {
	width: auto;
	max-width: 100%;
	height: 34px;
}

@media (max-width: 1023px) {
	.shop-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.shop-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 781px) {
	.shop-footer__top {
		padding-top: 1rem;
		border-bottom: 0;
	}

	.shop-footer__grid {
		gap: 2rem 1rem;
		padding-top: 1rem;
	}

	.shop-footer__brand {
		text-align: center;
	}

	.shop-footer__brand .custom-logo {
		width: 240px;
	}

	.shop-footer__blurb {
		margin-inline: auto;
	}

	.shop-footer__contact {
		justify-content: center;
	}

	.shop-footer__menu {
		padding-left: 1.5rem;
	}

	.shop-footer__menu--support {
		grid-column: 1 / -1;
	}

	.shop-footer__legal {
		flex-direction: column;
		text-align: center;
		border-top: 0;
	}

	.shop-footer__blob--1 {
		width: 300px;
		height: 300px;
		top: -40px;
		left: -120px;
	}
}
