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


/* Sitewide single-product layout refinements. */
.single-product .single-breadcrumbs-wrapper {
	display: contents;
}

.single-product .product-image-summary-inner {
	grid-template-rows: auto auto;
}

.single-product .single-breadcrumbs-wrapper .woocommerce-breadcrumb {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 20px;
}

.single-product .product-images {
	grid-row: 2;
}

.single-product .summary {
	grid-row: 2;
}

.single-product .product_title {
	font-size: 25px;
	line-height: 1.3;
	color: #000;
}

@media (max-width: 1024px) {
	.single-product .single-breadcrumbs-wrapper .woocommerce-breadcrumb {
		margin-bottom: 16px;
	}
}

/* Blog article title and author presentation. */
.single-post .wd-single-post-header .wd-post-title,
.single-post .wd-single-post-title .wd-post-title,
.single-post .wd-post-title,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .wd-entry-content h1,
.single-post .wd-entry-content h2 {
	color: #111827 !important;
	font-weight: 700 !important;
}

.single-post .wd-post-author > span:first-child {
	display: none;
}

.single-post .wd-post-author::before {
	content: "By ";
	color: #111827;
	font-size: 14px;
}

.single-post .wd-post-author .avatar {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 22px;
	height: 22px;
	margin-inline-end: 6px;
}

.single-post .wd-post-author .author {
	color: #111827;
}

/* Blog listing title presentation. */
.home .wd-post-title,
.home .wd-post-title a,
.woodmart-archive-blog .wd-post-title,
.woodmart-archive-blog .wd-post-title a {
	color: #111827 !important;
	font-weight: 700 !important;
}

/* Company news article title sizing. */
.single-post article.category-company-news .wd-single-post-header .wd-post-title,
.single-post article.category-company-news .wd-single-post-title .wd-post-title,
.single-post article.category-company-news .wd-post-title {
	font-size: 50px !important;
	line-height: 1.2 !important;
	color: #111827 !important;
	font-weight: 700 !important;
}

@media (max-width: 767px) {
	.single-post article.category-company-news .wd-single-post-header .wd-post-title,
	.single-post article.category-company-news .wd-single-post-title .wd-post-title,
	.single-post article.category-company-news .wd-post-title {
		font-size: 32px !important;
		line-height: 1.25 !important;
	}
}

/* Blog article title sizing. */
.single-post article.category-blog .wd-single-post-header .wd-post-title,
.single-post article.category-blog .wd-single-post-title .wd-post-title,
.single-post article.category-blog .wd-post-title {
	font-size: 50px !important;
	line-height: 1.2 !important;
	color: #111827 !important;
	font-weight: 700 !important;
}

@media (max-width: 767px) {
	.single-post article.category-blog .wd-single-post-header .wd-post-title,
	.single-post article.category-blog .wd-single-post-title .wd-post-title,
	.single-post article.category-blog .wd-post-title {
		font-size: 32px !important;
		line-height: 1.25 !important;
	}
}

/* Article body heading and model styling. */
.single-post .wd-entry-content h1,
.single-post .wd-entry-content h2,
.single-post .wd-entry-content h3,
.single-post .wd-entry-content h4,
.single-post .wd-entry-content h5,
.single-post .wd-entry-content h6,
.single-post .wd-entry-content p:has(> strong:first-child),
.single-post .wd-entry-content p:has(> b:first-child) {
	color: #111827 !important;
	font-weight: 700 !important;
}

.single-post .wd-entry-content strong,
.single-post .wd-entry-content b {
	color: #111827 !important;
	font-weight: 700 !important;
}

.single-post .wd-entry-content .yowexa-product-model {
	color: #dc2626 !important;
	font-weight: 700;
}

.single-post .woodmart-recent-posts .widget-title,
.single-post .wd-sidebar .woodmart-recent-posts .widget-title {
	color: #111827 !important;
	font-weight: 700 !important;
}


/* Homepage testimonial compact layout. */
.home .elementor-element-91ee339 .testimonial-avatar { display:block !important; width:112px !important; height:112px !important; max-width:112px !important; aspect-ratio:1 / 1 !important; margin:0 auto 16px !important; overflow:hidden !important; border-radius:50% !important; }
.home .elementor-element-91ee339 .testimonial-avatar img { display:block !important; width:100% !important; height:100% !important; max-width:none !important; object-fit:cover !important; object-position:center !important; border-radius:50% !important; }
.home .elementor-element-91ee339 .testimonial-inner { text-align:center; }
.home .elementor-element-91ee339 .testimonial-content { display:flex !important; flex-direction:column !important; align-items:center !important; }
.home .elementor-element-91ee339 .testimonial-rating { order:1 !important; margin-bottom:5px !important; }
.home .elementor-element-91ee339 .testimonial-content footer { order:2 !important; margin:0 0 10px !important; color:#f5b400 !important; font-weight:700 !important; }
.home .elementor-element-91ee339 .testimonial-content footer span { color:#f5b400 !important; }
.home .elementor-element-91ee339 .testimonial-content > p { order:3 !important; width:100% !important; margin-bottom:0 !important; display:-webkit-box !important; -webkit-box-orient:vertical !important; -webkit-line-clamp:3 !important; overflow:hidden !important; }
.home .elementor-element-91ee339 .testimonial-content > p.yowexa-review-expanded { display:block !important; -webkit-line-clamp:unset !important; overflow:visible !important; }
.home .elementor-element-91ee339 .yowexa-review-toggle { order:4 !important; margin-top:8px !important; padding:0 !important; border:0 !important; background:transparent !important; color:#0054ac !important; font-size:13px !important; font-weight:600 !important; cursor:pointer !important; }
@media (max-width:767px) { .home .elementor-element-91ee339 .testimonial-avatar { width:84px !important; height:84px !important; max-width:84px !important; margin-bottom:12px !important; } }


/* Final cascade override for homepage testimonial cards. */
body.home .elementor-element-91ee339 .testimonial-avatar { width:112px !important; height:112px !important; max-width:112px !important; aspect-ratio:1 / 1 !important; margin:0 auto 16px !important; border-radius:50% !important; }
body.home .elementor-element-91ee339 .testimonial-avatar img { width:100% !important; height:100% !important; max-width:none !important; object-fit:cover !important; border-radius:50% !important; }
body.home .elementor-element-91ee339 .testimonial-content { display:flex !important; flex-direction:column !important; align-items:center !important; }
body.home .elementor-element-91ee339 .testimonial-content .testimonial-rating { order:1 !important; }
body.home .elementor-element-91ee339 .testimonial-content footer { order:2 !important; color:#f5b400 !important; }
body.home .elementor-element-91ee339 .testimonial-content > p { order:3 !important; }
body.home .elementor-element-91ee339 .yowexa-review-toggle { order:4 !important; }
@media (max-width:767px) { body.home .elementor-element-91ee339 .testimonial-avatar { width:84px !important; height:84px !important; max-width:84px !important; } }


/* Refine homepage testimonial image sizing to match the reference layout. */
body.home .elementor-element-91ee339 .testimonial-avatar { width:150px !important; height:150px !important; max-width:150px !important; aspect-ratio:1 / 1 !important; margin:0 auto 18px !important; border-radius:0 !important; }
body.home .elementor-element-91ee339 .testimonial-avatar img { width:100% !important; height:100% !important; max-width:none !important; object-fit:cover !important; border-radius:0 !important; }
@media (max-width:767px) { body.home .elementor-element-91ee339 .testimonial-avatar { width:120px !important; height:120px !important; max-width:120px !important; margin-bottom:14px !important; } }


/* Homepage testimonial four-column card layout. */
body.home .elementor-element-91ee339 .wd-carousel {
	--wd-col-lg: 4 !important;
	--wd-col-md: 2 !important;
	--wd-col-sm: 1 !important;
	--wd-gap-lg: 24px !important;
	--wd-gap-md: 18px !important;
	--wd-gap-sm: 14px !important;
}

body.home .elementor-element-91ee339 .testimonial {
	box-sizing: border-box !important;
	height: 100% !important;
	padding: 24px 20px !important;
	border: 1px solid #e5e7eb !important;
	background: #ffffff !important;
	box-shadow: 0 5px 16px rgba(17, 24, 39, 0.08) !important;
}

body.home .elementor-element-91ee339 .testimonial:hover {
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.13) !important;
}

body.home .elementor-element-91ee339 .testimonial-avatar {
	width: 170px !important;
	height: 170px !important;
	max-width: 170px !important;
	margin-bottom: 20px !important;
	border-radius: 0 !important;
}

body.home .elementor-element-91ee339 .testimonial-avatar img {
	border-radius: 0 !important;
}

@media (max-width: 1024px) {
	body.home .elementor-element-91ee339 .testimonial-avatar {
		width: 150px !important;
		height: 150px !important;
		max-width: 150px !important;
	}
}

@media (max-width: 767px) {
	body.home .elementor-element-91ee339 .testimonial {
		padding: 20px 16px !important;
	}

	body.home .elementor-element-91ee339 .testimonial-avatar {
		width: 132px !important;
		height: 132px !important;
		max-width: 132px !important;
		margin-bottom: 16px !important;
	}
}


/* Keep testimonial cards separated by approximately 10px. */
body.home .elementor-element-91ee339 .wd-carousel {
	--wd-gap-lg: 10px !important;
	--wd-gap-md: 10px !important;
	--wd-gap-sm: 10px !important;
}


/* Direct visible spacing between homepage testimonial cards. */
body.home .elementor-element-91ee339 .wd-carousel-wrap {
	margin-left: -5px !important;
	margin-right: -5px !important;
}
body.home .elementor-element-91ee339 .testimonial.wd-carousel-item {
	margin-left: 5px !important;
	margin-right: 5px !important;
}


/* Keep testimonial carousel arrows visible and above the cards. */
body.home .elementor-element-91ee339 .wd-nav-arrows {
	display: flex !important;
	z-index: 5 !important;
	pointer-events: none;
}
body.home .elementor-element-91ee339 .wd-nav-arrows .wd-btn-arrow {
	display: flex !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	z-index: 6 !important;
}
body.home .elementor-element-91ee339 .wd-nav-arrows .wd-btn-arrow.wd-disabled {
	opacity: .35 !important;
	pointer-events: none !important;
}
body.home .elementor-element-91ee339 .wd-nav-arrows .wd-prev { margin-left: -10px !important; }
body.home .elementor-element-91ee339 .wd-nav-arrows .wd-next { margin-right: -10px !important; }


/* Keep YPL-15 unhighlighted in the Bluetooth meat thermometer article. */
body.single-post.postid-31175 .wd-entry-content .yowexa-product-model {
	color: inherit !important;
	font-weight: inherit !important;
}
