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

/* Prevent WoodMart/Swiper carousel wrappers from reserving viewport-height whitespace. */
body.home .wd-carousel,
body.home .wd-carousel-inner,
body.home .wd-carousel-wrap,
body.home .wd-carousel .wd-carousel-item {
	height: auto !important;
}

body.home .wd-carousel .wd-carousel-wrap {
	align-items: flex-start;
}

/* Add a black outline to white homepage image text without covering the images. */
body.home .wd-rs-63750447ba1c2 .wd-slide-inner h1,
body.home .wd-rs-63750447ba1c2 .wd-slide-inner h2,
body.home .wd-rs-63750447ba1c2 .wd-slide-inner h3,
body.home .wd-rs-63750447ba1c2 .wd-slide-inner h4,
body.home .wd-rs-63750447ba1c2 .wd-slide-inner p,
body.home .wd-rs-63750447ba1c2 .content-banner,
body.home .wd-rs-63750447ba1c2 .content-banner .banner-title,
body.home .wd-rs-63750447ba1c2 .content-banner .banner-inner {
	color: #fff !important;
	text-shadow:
		-1px -1px 0 rgba(0, 0, 0, 0.9),
		1px -1px 0 rgba(0, 0, 0, 0.9),
		-1px 1px 0 rgba(0, 0, 0, 0.9),
		1px 1px 0 rgba(0, 0, 0, 0.9),
		0 2px 4px rgba(0, 0, 0, 0.55);
}

/* Homepage category tiles. */
body.home .dc-home-category-tiles .wd-cat {
	min-width: 0;
}

body.home .dc-home-category-tiles .wd-cat-wrap,
body.home .dc-home-category-tiles .wrapp-category {
	height: 100%;
}

body.home .dc-home-category-tiles .wrapp-category {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 238px;
	padding: 18px 14px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(18, 35, 63, 0.06);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.home .dc-home-category-tiles .wrapp-category:hover {
	border-color: #c8d7ed;
	box-shadow: 0 10px 24px rgba(18, 35, 63, 0.11);
	transform: translateY(-2px);
}

body.home .dc-home-category-tiles .category-image-wrapp {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 116px;
	margin-bottom: 14px;
}

body.home .dc-home-category-tiles .category-image img {
	width: auto;
	max-width: 120px;
	max-height: 112px;
	object-fit: contain;
}

body.home .dc-home-category-tiles .wd-cat-content {
	position: static;
	inset: auto;
	width: 100%;
	padding: 0;
	text-align: center;
	transform: none;
}

body.home .dc-home-category-tiles .wd-entities-title {
	position: static;
	margin-bottom: 6px;
	font-size: 15px;
	line-height: 1.25;
	text-transform: none !important;
	word-break: normal;
	overflow-wrap: anywhere;
}

body.home .dc-home-category-tiles .wd-cat-count {
	opacity: 1;
	transform: none;
	font-size: 13px;
	line-height: 1.3;
}

@media (max-width: 767px) {
	body.home .dc-home-category-tiles .wrapp-category {
		min-height: 206px;
		padding: 14px 10px;
	}

	body.home .dc-home-category-tiles .category-image-wrapp {
		min-height: 96px;
	}

	body.home .dc-home-category-tiles .category-image img {
		max-width: 96px;
		max-height: 90px;
	}
}
