/**
 * Testimonial carousel ("Real Stories from Real Customers", .carousel-testimonial).
 * Shared by the Home page and the category pages (products), so both look the same.
 * Moved from includes/home-page/css/home-page.css on 2026-11-04 (rules unchanged;
 * the full-width row selectors now also require the carousel inside the row).
 */
/* ── Testimonials ("Real Stories from Real Customers", .carousel-testimonial) ──
 * Same text style as the Pricing testimonial (18 px slate, 16 px on phones,
 * was 26 px black); cards equal height with a thin warm border; author strip in
 * the warm grey of the site, pinned to the bottom; round photos; the company
 * logo box is hidden when a testimonial has no logo; yellow active dot.
 * The full-width row was wider than the screen on tablets (sideways scroll). */
.l-section.landing-page-do-it.width_full:has(.carousel-testimonial) {
	overflow: hidden;
}
.carousel-testimonial .owl-stage {
	display: flex !important;
	align-items: stretch !important;
}
.carousel-testimonial .owl-item {
	display: flex;
	float: none !important;
}
.carousel-testimonial .owl-item > .w-grid-item,
.carousel-testimonial .owl-item .w-grid-item-h {
	display: flex;
	width: 100%;
	height: auto;
}
.carousel-testimonial .testimonial-wrapper,
.carousel-testimonial .testimonial-wrapper-mobile {
	display: flex !important;
	flex-direction: column;
	flex: 1 1 auto;
	height: auto;
	border: 1px solid #ECE8E2;
	border-radius: 18px !important;
	overflow: hidden;
	box-shadow: none !important;
}
.carousel-testimonial .w-post-elm.post_content {
	flex: 1 0 auto;
	height: auto !important;
	padding: 22px 24px 20px !important;
}
.carousel-testimonial .post_content p {
	margin: 0;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 1.65 !important;
	color: #2B4448 !important;
}
.carousel-testimonial .testimonial-author-wrapper,
.carousel-testimonial .testimonial-author-wrapper-mobile {
	margin-top: auto;
	padding: 16px 30px !important;
	background: #F5F3F0 !important;
}
.carousel-testimonial .post_image,
.carousel-testimonial .post_image img {
	border-radius: 50% !important;
}
.carousel-testimonial .us_testimonial_author,
.carousel-testimonial .us_testimonial_author .w-post-elm-value {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #000 !important;
}
.carousel-testimonial .us_testimonial_role,
.carousel-testimonial .us_testimonial_role .w-post-elm-value {
	font-size: 13px !important;
	color: #5C6B6D !important;
}
.carousel-testimonial .testimonial-image-wrapper:not(:has(img)) {
	display: none !important;
}
.carousel-testimonial .owl-dots .owl-dot span {
	background-color: #D9D5CE !important;
	border-radius: 8px !important;
	transition: background-color .2s ease, width .2s ease;
}
.carousel-testimonial .owl-dots .owl-dot.active span {
	width: 22px !important;
	background-color: #F8C83E !important;
	box-shadow: none !important; /* theme adds a teal ring */
}
.carousel-testimonial .owl-carousel > .owl-nav {
	position: absolute !important;
	inset: 0 -60px 32px !important;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	pointer-events: none;
}
.carousel-testimonial .owl-carousel > .owl-nav button {
	width: 50px;
	height: 50px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #A0A0A0 !important;
	font-size: 36px !important;
	text-shadow: none;
	box-shadow: none;
	opacity: 1;
	pointer-events: auto;
	transition: opacity .2s ease, color .2s ease, transform .2s ease;
}
.carousel-testimonial .owl-carousel > .owl-nav button:hover {
	background: transparent !important;
	box-shadow: none !important;
	color: #000 !important;
}
.carousel-testimonial .owl-carousel > .owl-nav button:focus-visible {
	outline: 2px solid #2B4448;
	outline-offset: 3px;
}
.carousel-testimonial .owl-carousel > .owl-nav button::before {
	display: none;
}
@media (hover: hover) and (pointer: fine) {
	.carousel-testimonial .owl-carousel > .owl-nav button {
		opacity: 0;
		pointer-events: none;
	}
	.carousel-testimonial .owl-carousel > .owl-nav .owl-prev {
		transform: translateX(-6px);
	}
	.carousel-testimonial .owl-carousel > .owl-nav .owl-next {
		transform: translateX(6px);
	}
	.l-section:has(.carousel-testimonial):hover .owl-nav button,
	.carousel-testimonial:focus-within .owl-nav button {
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
}
/* Keep the carousel at page width instead of edge to edge. */
.l-section.landing-page-do-it.width_full:has(.carousel-testimonial) .carousel-testimonial {
	max-width: 1408px;
	padding: 0 64px;
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 767px) {
	.l-section.landing-page-do-it.width_full:has(.carousel-testimonial) .carousel-testimonial {
		padding: 0 20px;
	}
	.carousel-testimonial .owl-carousel > .owl-nav {
		display: none !important;
		position: static !important;
		inset: auto !important;
		justify-content: center;
		gap: 16px;
		margin-top: 14px !important;
	}
	.carousel-testimonial .owl-carousel > .owl-nav button {
		width: 44px;
		height: 44px;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}
	.l-section:has(.carousel-testimonial) h2 {
		font-size: 28px !important;
		line-height: 1.2 !important;
	}
	.carousel-testimonial .w-post-elm.post_content {
		padding: 18px 20px !important;
	}
	.carousel-testimonial .post_content p {
		font-size: 16px !important;
		line-height: 1.6 !important;
	}
	.carousel-testimonial .testimonial-author-wrapper,
	.carousel-testimonial .testimonial-author-wrapper-mobile {
		padding: 14px 20px !important;
	}
	.carousel-testimonial .w-hwrapper.testimonial-author-wrapper,
	.carousel-testimonial .testimonial-author-wrapper-mobile {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 48px;
		gap: 12px;
		align-items: center;
		padding: 16px 18px !important;
	}
	.carousel-testimonial .testimonial-left {
		width: auto !important;
		min-width: 0;
		margin: 0 !important;
		gap: 10px !important;
	}
	.carousel-testimonial .testimonial-author-details-wrapper {
		min-width: 0;
	}
	.carousel-testimonial .testimonial-left .post_image {
		flex-basis: 40px;
		width: 40px !important;
		height: 40px !important;
	}
	.carousel-testimonial .testimonial-author-wrapper .testimonial-image-wrapper {
		display: flex;
		align-items: center !important;
		justify-content: center !important;
		width: 48px !important;
		height: 48px !important;
		min-width: 0 !important;
		min-height: 0 !important;
		padding: 4px !important;
		box-sizing: border-box;
	}
	.carousel-testimonial .testimonial-image-wrapper .testimonial-logo {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		height: 40px !important;
		min-width: 0 !important;
	}
	.carousel-testimonial .testimonial-image-wrapper img {
		display: block;
		width: 100% !important;
		height: 40px !important;
		object-fit: contain;
	}
	.carousel-testimonial .us_testimonial_author .w-post-elm-value {
		font-size: 14px !important;
		line-height: 1.35;
	}
	.carousel-testimonial .us_testimonial_role .w-post-elm-value {
		font-size: 12px !important;
		line-height: 1.4;
	}
}

@media (max-width: 1024px) {
	.carousel-testimonial .owl-stage {
		display: block !important;
	}
	.carousel-testimonial .owl-item {
		display: block;
		float: left !important;
	}
}

/* A little less space under the testimonial title. */
.l-section.landing-page-do-it.width_full:has(.carousel-testimonial) .w-separator.size_huge {
	height: 48px !important;
}
/* Testimonial photos: always a 50 px circle (a stretched photo once made a card 900 px tall). */
.carousel-testimonial .post_image {
	flex: 0 0 50px;
	width: 50px !important;
	height: 50px !important;
	overflow: hidden;
}
.carousel-testimonial .post_image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}
/* Tablets show one testimonial at a time: keep that card a readable width. */
@media (min-width: 600px) and (max-width: 1024px) {
	.carousel-testimonial .owl-item .w-grid-item-h {
		max-width: 720px;
		margin: 0 auto;
	}
}
