/* Footer v2 — compact, full width, 4 symmetrical columns */

/* Hide legacy Woodmart / Elementor footer block */
.wd-footer {
	display: none !important;
}

.tl-footer-v2 {
	width: 100%;
	max-width: none;
	margin: 0;
	background: #2f3033;
	color: var(--tl-footer-v2-text);
	box-sizing: border-box;
	font-family: "Inter", "Manrope", Arial, sans-serif;
	/* Match .whb-top-bar > .container horizontal inset */
	--tl-footer-v2-pad-left: max(10%, env(safe-area-inset-left));
	--tl-footer-v2-pad-right: max(10%, env(safe-area-inset-right));
	/* Match .wd-header-main-nav .woodmart-nav-link */
	--tl-footer-v2-nav-font-size: 12.5px;
	--tl-footer-v2-nav-font-weight: 700;
	--tl-footer-v2-nav-letter-spacing: 0.1em;
	--tl-footer-v2-nav-line-height: 1;
	--tl-footer-v2-text: #d7b600;
}

.tl-footer-v2__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 1.75rem var(--tl-footer-v2-pad-right) 1.25rem var(--tl-footer-v2-pad-left);
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.72fr) minmax(0, 0.72fr) minmax(0, 1.15fr);
	gap: clamp(0.45rem, 1.2vw, 1rem);
	align-items: start;
	box-sizing: border-box;
}

.tl-footer-v2__col:nth-child(2),
.tl-footer-v2__col:nth-child(3) {
	margin-left: -1.25rem;
}

.tl-footer-v2__col {
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
}

.tl-footer-v2__col:first-child {
	gap: 0;
}

.tl-footer-v2__brand {
	--tl-footer-v2-logo-w: min(calc(240px * 1.03), 100%);
	--tl-footer-v2-social-span: 100%;
	/* Cropped logo canvas: visible mark is ~82.8% of image width */
	--tl-footer-v2-logo-crop-ratio: 0.828;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	width: var(--tl-footer-v2-logo-w);
	max-width: 100%;
}

.tl-footer-v2__logo {
	display: block;
	line-height: 0;
	text-decoration: none;
	width: 100%;
}

.tl-footer-v2__logo img {
	display: block;
	width: calc(100% / var(--tl-footer-v2-logo-crop-ratio));
	max-width: none;
	margin-left: calc(-8.5% / var(--tl-footer-v2-logo-crop-ratio));
	height: auto;
	max-height: none;
	object-fit: contain;
	object-position: left top;
}

.tl-footer-v2__social {
	display: flex !important;
	width: var(--tl-footer-v2-social-span);
	max-width: 100%;
	justify-content: space-between !important;
	align-items: center;
	align-self: flex-start;
	flex-wrap: nowrap;
	--wd-social-size: 52px;
	--wd-social-icon-size: 24px;
	--wd-social-color: #fff;
	--wd-social-color-hover: #e9cc00;
	--wd-social-bg: transparent;
	--wd-social-bg-hover: transparent;
	--wd-social-brd: none;
	--wd-social-gap: 0;
	margin: 0;
}

.tl-footer-v2__social > a {
	flex: 0 0 var(--wd-social-size);
}

.tl-footer-v2__title,
.tl-footer-v2__links a,
.tl-footer-v2__newsletter-btn,
.tl-footer-v2__newsletter--mc4wp input[type="submit"],
.tl-footer-v2__newsletter--mc4wp button[type="submit"] {
	text-transform: uppercase;
}

.tl-footer-v2__title {
	margin: 0;
	font-family: inherit;
	font-size: var(--tl-footer-v2-nav-font-size);
	font-weight: var(--tl-footer-v2-nav-font-weight);
	letter-spacing: var(--tl-footer-v2-nav-letter-spacing);
	line-height: var(--tl-footer-v2-nav-line-height);
	color: var(--tl-footer-v2-text);
}

.tl-footer-v2__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	width: 100%;
}

.tl-footer-v2__links a {
	color: #fff;
	text-decoration: none;
	font-family: inherit;
	font-size: var(--tl-footer-v2-nav-font-size);
	font-weight: 400;
	letter-spacing: var(--tl-footer-v2-nav-letter-spacing);
	line-height: var(--tl-footer-v2-nav-line-height);
	transition: color 0.2s ease;
}

.tl-footer-v2__links a:hover {
	color: var(--tl-footer-v2-text);
}

.tl-footer-v2__newsletter-text {
	margin: 0 0 0.65rem;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: 0.02em;
	text-transform: none;
	color: rgba(255, 255, 255, 0.72);
	max-width: 16rem;
}

.tl-footer-v2__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	max-width: 16rem;
}

.tl-footer-v2__newsletter-input {
	width: 100%;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.22);
	color: #fff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	box-sizing: border-box;
	transition: border-color 0.2s ease;
}

.tl-footer-v2__newsletter-input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.tl-footer-v2__newsletter-input:focus {
	outline: none;
	border-color: var(--tl-footer-v2-text);
}

.tl-footer-v2__newsletter-btn {
	width: 100%;
	margin: 0;
	padding: 0.6rem 1rem;
	border: none;
	border-radius: 0;
	background: var(--tl-footer-v2-text);
	color: #2f3033;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.tl-footer-v2__newsletter-btn:hover {
	background: #fff;
	color: #2f3033;
}

.tl-footer-v2__newsletter--mc4wp {
	width: 100%;
	max-width: 16rem;
}

.tl-footer-v2__newsletter--mc4wp .mc4wp-form-fields {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.tl-footer-v2__newsletter--mc4wp label {
	display: none;
}

.tl-footer-v2__newsletter--mc4wp input[type="email"],
.tl-footer-v2__newsletter--mc4wp input[type="text"] {
	width: 100%;
	margin: 0;
	padding: 0.55rem 0.75rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 0;
	background: rgba(0, 0, 0, 0.22);
	color: #fff;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.3;
	box-sizing: border-box;
}

.tl-footer-v2__newsletter--mc4wp input[type="email"]::placeholder,
.tl-footer-v2__newsletter--mc4wp input[type="text"]::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.tl-footer-v2__newsletter--mc4wp input[type="email"]:focus,
.tl-footer-v2__newsletter--mc4wp input[type="text"]:focus {
	outline: none;
	border-color: var(--tl-footer-v2-text);
}

.tl-footer-v2__newsletter--mc4wp input[type="submit"],
.tl-footer-v2__newsletter--mc4wp button[type="submit"] {
	width: 100%;
	margin: 0;
	padding: 0.6rem 1rem;
	border: none;
	border-radius: 0;
	background: var(--tl-footer-v2-text);
	color: #2f3033;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.tl-footer-v2__newsletter--mc4wp input[type="submit"]:hover,
.tl-footer-v2__newsletter--mc4wp button[type="submit"]:hover {
	background: #fff;
	color: #2f3033;
}

.tl-footer-v2__newsletter--mc4wp .mc4wp-response {
	margin: 0.35rem 0 0;
	font-size: 11px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.85);
}

.tl-footer-v2__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tl-footer-v2__bar-inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0.65rem var(--tl-footer-v2-pad-right) 0.65rem var(--tl-footer-v2-pad-left);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	box-sizing: border-box;
}

.tl-footer-v2__copy {
	margin: 0;
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.3;
	color: #fff;
}

.tl-footer-v2__legal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	margin: 0;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.3;
}

.tl-footer-v2__legal a {
	color: #fff;
	text-decoration: none;
	transition: color 0.2s ease;
}

.tl-footer-v2__legal a:hover {
	color: var(--tl-footer-v2-text);
}

.tl-footer-v2__legal-sep {
	color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 1024px) {
	.tl-footer-v2__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tl-footer-v2__col:nth-child(2),
	.tl-footer-v2__col:nth-child(3) {
		margin-left: 0;
	}
}

@media (max-width: 640px) {
	.tl-footer-v2__inner {
		grid-template-columns: 1fr;
		padding-top: 1.5rem;
		padding-bottom: 1rem;
	}

	.tl-footer-v2__col {
		align-items: center;
		text-align: center;
	}

	.tl-footer-v2__col:first-child {
		align-items: center;
	}

	.tl-footer-v2__brand {
		align-items: center;
		margin-inline: auto;
	}

	.tl-footer-v2__social {
		align-self: center;
	}

	.tl-footer-v2__links {
		align-items: center;
	}

	.tl-footer-v2__newsletter-text,
	.tl-footer-v2__newsletter-form,
	.tl-footer-v2__newsletter--mc4wp {
		max-width: none;
		margin-inline: auto;
	}

	.tl-footer-v2__bar-inner {
		justify-content: center;
		text-align: center;
	}

	.tl-footer-v2__legal {
		justify-content: center;
	}
}
