/* ChulaCasa sitewide footer */
.cc-footer {
	--cc-taupe: #8b7d7b;
	--cc-ink: #272321;
	--cc-white: #fffdfb;
	--cc-radius: 30px;
	box-sizing: border-box;
	background: var(--cc-taupe);
	color: #fff;
	border-radius: var(--cc-radius) var(--cc-radius) 0 0;
	padding: 84px 72px 54px;
	margin: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.cc-footer *,
.cc-footer *::before,
.cc-footer *::after {
	box-sizing: border-box;
}

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

.cc-footer a:hover {
	opacity: 0.82;
}

.cc-footer .cc-footer-top {
	display: grid;
	grid-template-columns: 0.65fr 1.35fr;
	gap: 90px;
	align-items: start;
	padding-bottom: 62px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.cc-footer .cc-footer-logo {
	width: min(470px, 100%);
	height: 74px;
	display: flex;
	align-items: center;
}

.cc-footer .cc-footer-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

.cc-footer .cc-signup h2 {
	margin: 0 0 26px;
	font: 400 clamp(32px, 3.5vw, 50px)/1.1 Georgia, "Times New Roman", serif;
	color: #fff !important;
}

.cc-footer .cc-email {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	max-width: 830px;
}

.cc-footer .cc-email input[type="email"] {
	height: 64px;
	border-radius: 999px;
	border: 0;
	padding: 0 26px;
	font-size: 17px;
	background: #fff;
	color: var(--cc-ink);
	outline: none;
	width: 100%;
}

.cc-footer .cc-email input[type="email"]::placeholder {
	color: #8a817d;
}

.cc-footer .cc-email .cc-button {
	display: inline-flex;
	min-width: 160px;
	height: 64px;
	padding: 0 30px;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	background: var(--cc-white);
	color: var(--cc-ink);
	border: 0;
	cursor: pointer;
	white-space: nowrap;
}

.cc-footer .cc-email .cc-button:hover {
	opacity: 0.9;
}

.cc-footer .cc-footer-links {
	padding-top: 40px;
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	color: rgba(255, 255, 255, 0.88);
	font-size: 14px;
	letter-spacing: 0.05em;
}

.cc-footer .cc-footer-links nav,
.cc-footer .cc-footer-links .cc-footer-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 30px;
}

/* Keep WoodMart page chrome from adding a second footer look */
.wd-footer.footer-container:has(.cc-footer),
.wd-copyrights {
	background: transparent;
	padding: 0;
	margin: 0;
	border: 0;
}

.wd-page-wrapper:has(.cc-footer) {
	background: #fffafa;
}

@media (max-width: 900px) {
	.cc-footer {
		padding: 56px 28px 40px;
		--cc-radius: 20px;
	}

	.cc-footer .cc-footer-top {
		grid-template-columns: 1fr;
		gap: 40px;
		padding-bottom: 40px;
	}

	.cc-footer .cc-footer-logo {
		height: 72px;
	}

	.cc-footer .cc-email {
		grid-template-columns: 1fr;
	}

	.cc-footer .cc-email .cc-button {
		width: 100%;
	}
}
