/**
 * Final client QA corrections.
 * These rules are intentionally scoped to the active Woodmart header and the
 * routed Deals archive. They load after the child stylesheet.
 */

/* Use the configured DopDrip image in every active logo state. */
.site-logo img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 56px !important;
	object-fit: contain;
}

.site-logo a {
	display: flex;
	align-items: center;
	width: 140px;
	height: 56px;
	background-image: none !important;
	text-indent: 0;
	overflow: visible;
	white-space: normal;
	color: inherit !important;
	font-size: inherit !important;
}

@media (max-width: 768px) {
	.site-logo a {
		width: 110px;
		height: 46px;
	}

	.site-logo img {
		max-height: 46px !important;
	}
}

/* Final client-feedback deltas. */
.woocommerce-shop .wd-product .onsale,
.tax-product_cat .wd-product .onsale,
.post-type-archive-product .wd-product .onsale {
	background: #d71920 !important;
	color: #fff !important;
}

body.woocommerce-account .woocommerce-form-register button[type="submit"] {
	min-height: 44px !important;
	padding: 11px 24px !important;
	border: 2px solid #1c1c1c !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	letter-spacing: .35px !important;
	border-color: #1c1c1c !important;
	background: #1c1c1c !important;
	color: #fff !important;
}

body.woocommerce-account .woocommerce-form-login button[type="submit"],
body.woocommerce-account .woocommerce-form-register button[type="submit"],
body.woocommerce-account .wd-switch-to-register {
	min-height: 44px !important;
	padding: 11px 24px !important;
	border: 2px solid #1c1c1c !important;
	border-radius: 6px !important;
	font-weight: 700 !important;
	letter-spacing: .35px !important;
}

body.woocommerce-account .wd-switch-to-register {
	background: #1c1c1c !important;
	color: #fff !important;
	text-transform: uppercase;
}

body.woocommerce-account .wd-switch-to-register:hover,
body.woocommerce-account .wd-switch-to-register:focus-visible {
	border-color: #d71920 !important;
	background: #d71920 !important;
	color: #fff !important;
}

body.woocommerce-account .woocommerce-form-register button[type="submit"]:hover,
body.woocommerce-account .woocommerce-form-register button[type="submit"]:focus-visible {
	border-color: #d71920 !important;
	background: #d71920 !important;
	color: #fff !important;
}

.tdd-loop-size-swatches { display: none !important; }

body.page-id-67 .elementor-element-5963894::before,
body.page-id-67 .elementor-element-580817a::before,
body.page-id-67 .elementor-element-24c29e5::before,
body.page-id-67 .elementor-element-140d16b::before {
	content: "" !important;
	inset: 0 !important;
	width: auto;
	height: auto;
	background-position: center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	opacity: .24;
	filter: grayscale(.25);
	transform: none;
}
body.page-id-67 .elementor-element-5963894::before { background-image: url('/wp-content/uploads/2026/08/deals-hires-17122-black-front-75e967862e.jpg'); }
body.page-id-67 .elementor-element-580817a::before { background-image: url('/wp-content/uploads/2026/08/deals-row-38-row-38-col-01.png'); }
body.page-id-67 .elementor-element-24c29e5::before { background-image: url('/wp-content/uploads/2025/03/ps-bsb-cap-4.jpg'); }
body.page-id-67 .elementor-element-140d16b::before { background-image: url('/wp-content/uploads/2026/08/Essentials-Fog-Classic-Fit-ZIP-Up-Hoodies-Jet-Black-SS252.webp'); }

.tdd-product-share {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.tdd-product-share__label { margin-right: 4px; font-weight: 700; }
.tdd-share-action,
.tdd-share-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border: 1px solid #d6d6d6;
	border-radius: 4px;
	background: #fff;
	color: #1c1c1c;
}
.tdd-share-action svg { width: 18px; height: 18px; fill: currentColor; }
.tdd-share-copy { padding: 0 14px; font-weight: 700; }
.tdd-share-action:hover,
.tdd-share-action:focus-visible,
.tdd-share-copy:hover,
.tdd-share-copy:focus-visible { border-color: #1c1c1c; background: #1c1c1c; color: #fff; }
.tdd-share-status { min-width: 52px; color: #267a2f; font-weight: 700; }

/* WoodMart's original hard-coded share row is superseded by the accessible controls above. */
.single-product .product-share:not(.tdd-product-share) { display: none; }

.page-id-72 .tdd-contact-social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #d6d6d6;
	border-radius: 50%;
	color: #1c1c1c;
}
.page-id-72 .tdd-contact-social-link:hover,
.page-id-72 .tdd-contact-social-link:focus-visible { border-color: #1c1c1c; background: #1c1c1c; color: #fff; }
.page-id-72 .tdd-contact-social-icon { width: 20px; height: 20px; fill: currentColor; }
.page-id-72 .tdd-contact-social-link .nav-link-text { font-size: 0; line-height: 0; }
.page-id-72 .tdd-contact-social-link::before {
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}
.page-id-72 .tdd-contact-social-facebook::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v3H6v4h3v8h4v-8h3.5l.5-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 8h3V4h-3c-3.3 0-5 2-5 5v3H6v4h3v8h4v-8h3.5l.5-4h-4V9c0-.7.3-1 1-1Z'/%3E%3C/svg%3E");
}
.page-id-72 .tdd-contact-social-snapchat::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c-3 0-5 2.2-5 5.4 0 1-.2 1.8-.7 2.5-.5.7-1.2 1-2 1.4-.5.2-.5 1 .1 1.2.6.2 1.2.5 1.5 1-.1.5-.3.9-.6 1.3-.2.3 0 .7.4.8 1.1.2 1.7.2 2.5.8.9.7 1.6 1.5 3.1.8 1.5.7 2.2-.1 3.1-.8.8-.6 1.8-.6 2.5-.8.4-.1.6-.5.4-.8-.3-.4-.5-.8-.6-1.3.4-.5.9-.8 1.5-1 .6-.2.6-1 .1-1.2-.8-.4-1.5-.7-2-1.4-.5-.7-.7-1.5-.7-2.5C17 5.2 15 3 12 3Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3c-3 0-5 2.2-5 5.4 0 1-.2 1.8-.7 2.5-.5.7-1.2 1-2 1.4-.5.2-.5 1 .1 1.2.6.2 1.2.5 1.5 1-.1.5-.3.9-.6 1.3-.2.3 0 .7.4.8 1.1.2 1.7.2 2.5.8.9.7 1.6 1.5 3.1.8 1.5.7 2.2-.1 3.1-.8.8-.6 1.8-.6 2.5-.8.4-.1.6-.5.4-.8-.3-.4-.5-.8-.6-1.3.4-.5.9-.8 1.5-1 .6-.2.6-1 .1-1.2-.8-.4-1.5-.7-2-1.4-.5-.7-.7-1.5-.7-2.5C17 5.2 15 3 12 3Z'/%3E%3C/svg%3E");
}
.page-id-72 .tdd-contact-social-tiktok::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3c.4 2.2 1.7 3.6 4 4v4c-1.5 0-2.8-.4-4-1.2V17a6 6 0 1 1-5-5.9v4.1A2 2 0 1 0 11 17V3h4Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 3c.4 2.2 1.7 3.6 4 4v4c-1.5 0-2.8-.4-4-1.2V17a6 6 0 1 1-5-5.9v4.1A2 2 0 1 0 11 17V3h4Z'/%3E%3C/svg%3E");
}
.page-id-72 .tdd-contact-social-instagram::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H7Zm10.5-.8a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5Zm0 4a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H7Zm10.5-.8a1.3 1.3 0 1 1 0 2.6 1.3 1.3 0 0 1 0-2.6ZM12 7a5 5 0 1 1 0 10 5 5 0 0 1 0-10Zm0 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}

/* Keep one shared desktop rhythm without sacrificing disclosure controls. */
@media (min-width: 1025px) {
	.wd-nav-main {
		column-gap: 18px !important;
		row-gap: 0 !important;
		flex-wrap: nowrap !important;
	}

	.wd-nav-main > li {
		flex: 0 0 auto;
	}

	.wd-nav-main > li.tdd-a11y-ready > a {
		padding-inline-end: 0 !important;
	}

	.wd-nav-main > li.tdd-a11y-ready > .tdd-submenu-toggle {
		inset-inline-end: -16px;
		display: inline-flex !important;
		width: 14px;
		height: 30px;
	}
}

/* Reuse the native Woodmart archive while retaining the approved Deals hero. */
.tdd-deals-archive .page-title {
	display: none;
}

.tdd-deals-archive-hero {
	box-sizing: border-box;
	width: 100%;
	margin-bottom: 36px;
	padding: 70px 24px 62px;
	background: #111;
	color: #fff;
	text-align: center;
}

.tdd-deals-archive-hero__inner {
	width: min(100%, 1440px);
	margin: 0 auto;
}

.tdd-deals-archive-hero__eyebrow {
	margin: 0 0 10px;
	color: #d71920;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.tdd-deals-archive-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(44px, 7vw, 88px);
	font-weight: 800;
	line-height: .95;
	letter-spacing: 0;
	text-transform: uppercase;
}

/* Deals-only sale treatment: preserve the current card geometry and controls. */
.tdd-deals-archive .wd-product .onsale {
	background: #d71920 !important;
	color: #fff !important;
}

.tdd-deals-archive .wd-product .price del {
	opacity: .72;
	text-decoration: line-through;
}

.tdd-deals-archive .wd-product .price ins {
	font-weight: 700;
	text-decoration: none;
}

@media (max-width: 768px) {
	.tdd-deals-archive-hero {
		margin-bottom: 24px;
		padding: 48px 16px 42px;
	}
}
