/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.4
 Text Domain:  woodmart
*/

/* Fallback: hide prefooter / Elementor footer if any plugin or cache still injects them */
.wd-prefooter,
.woodmart-prefooter,
.elementor-location-footer,
[data-elementor-type="footer"] {
	display: none !important;
}

.footer-container--copyright-only .copyrights-wrapper {
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding-top: 1.25rem;
	padding-bottom: 1.25rem;
}

.footer-container--copyright-only .min-footer .col-left {
	float: none;
	width: 100%;
	text-align: center;
}

/*
 * Categories + tags above footer.
 * 1) Custom hook output uses .custom-product-meta (see woodmart/inc/functions.php — not inside .product_meta).
 * 2) Standard Woo meta uses .product_meta .posted_in / .tagged_as.
 * 3) Elementor single layout uses .wd-single-meta …
 * WoodMart sets .product_meta a { color: var(--wd-text-color) } — use !important so this wins.
 */
body.single-product .custom-product-meta .posted_in,
body.single-product .custom-product-meta .posted_in *,
body.single-product .custom-product-meta .posted_in a,
body.single-product .custom-product-meta .tagged_as,
body.single-product .custom-product-meta .tagged_as *,
body.single-product .custom-product-meta .tagged_as a,
body.single-product .custom-product-meta .meta-sep,
body.single-product .product_meta .posted_in,
body.single-product .product_meta .posted_in *,
body.single-product .product_meta .posted_in a,
body.single-product .product_meta .tagged_as,
body.single-product .product_meta .tagged_as *,
body.single-product .product_meta .tagged_as a,
body.single-product .wd-single-meta .posted_in,
body.single-product .wd-single-meta .posted_in *,
body.single-product .wd-single-meta .posted_in a,
body.single-product .wd-single-meta .tagged_as,
body.single-product .wd-single-meta .tagged_as *,
body.single-product .wd-single-meta .tagged_as a {
	color: #bdbdbd !important;
}

body.single-product .custom-product-meta .posted_in a:hover,
body.single-product .custom-product-meta .tagged_as a:hover,
body.single-product .product_meta .posted_in a:hover,
body.single-product .product_meta .tagged_as a:hover,
body.single-product .wd-single-meta .posted_in a:hover,
body.single-product .wd-single-meta .tagged_as a:hover {
	color: #9e9e9e !important;
}

/* Blog single: tags strip in .wd-single-footer (WoodMart single.php) */
body.single-post .wd-single-footer .single-meta-tags,
body.single-post .wd-single-footer .single-meta-tags .tags-title,
body.single-post .wd-single-footer .single-meta-tags a,
body.single-post .wd-single-footer .tags-list {
	color: #bdbdbd !important;
}

body.single-post .wd-single-footer .single-meta-tags a:hover {
	color: #9e9e9e !important;
}
