/*
 * Horse Relaxe design "Stall & Weide"
 * Warm hay and leather tones, deep pasture green, horseshoe ornaments,
 * soft rounded cards. Colour tokens live in style.css (:root).
 * Loaded after the parent and child stylesheets (inc/design.php).
 */

body {
	background-color: var(--hr-cream);
	color: var(--hr-ink);
}

a:hover,
a:focus {
	color: var(--hr-saddle);
}

::selection {
	background: var(--hr-hay);
	color: var(--hr-ink);
}

/* ---------- Header ---------- */

.site-header .header-t {
	background: var(--hr-pasture);
	color: var(--hr-cream);
}

.site-header .header-t a {
	color: var(--hr-cream);
}

.site-header .header-t .toggle-bar {
	background: var(--hr-cream);
}

.site-header .header-main,
.site-header .sticky-header {
	background: var(--hr-white);
	border-bottom: 1px solid var(--hr-border);
}

.site-header .site-title {
	margin: 0;
	font-family: "Cormorant", Georgia, serif;
	font-size: 1.6em;
	font-weight: 600;
	line-height: 1.1;
}

.site-header .site-title a {
	color: var(--hr-ink);
}

.site-header .site-description {
	color: var(--hr-ink-soft);
}

.site-header .cart-block .count,
.site-header .cart .count {
	background: var(--hr-saddle);
	color: var(--hr-white);
}

/* ---------- Buttons ---------- */

.hr-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce a.add_to_cart_button,
.btn-cta,
.btn-readmore,
.wp-element-button {
	display: inline-block;
	padding: 0.85em 1.8em;
	border: 0;
	border-radius: 999px;
	background: var(--hr-saddle);
	color: var(--hr-white);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hr-button:hover,
.hr-button:focus,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce a.add_to_cart_button:hover,
.btn-cta:hover,
.btn-readmore:hover,
.wp-element-button:hover {
	background: var(--hr-saddle-dark);
	color: var(--hr-white);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(107, 67, 37, 0.25);
}

/* The theme styles the product page button with a long selector; match it. */
.single-product .site-main div.product div.summary .single_add_to_cart_button {
	border-radius: 999px;
	background: var(--hr-saddle);
	color: var(--hr-white);
}

.single-product .site-main div.product div.summary .single_add_to_cart_button:hover {
	background: var(--hr-saddle-dark);
	color: var(--hr-white);
}

.hr-trust__link {
	color: var(--hr-saddle);
}

.hr-button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible {
	outline: 3px solid var(--hr-hay);
	outline-offset: 2px;
}

/* ---------- Section titles with horseshoe ornament ---------- */

body.home .section-title,
body.home section .widget-title,
.single-product .related > h2,
.single-product .upsells > h2 {
	font-family: "Cormorant", Georgia, serif;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: center;
	color: var(--hr-ink);
}

body.home .section-title::after,
body.home section .widget-title::after,
.single-product .related > h2::after,
.single-product .upsells > h2::after {
	content: "";
	display: block;
	width: 34px;
	height: 34px;
	margin: 0.4em auto 0;
	background-color: var(--hr-saddle);
	-webkit-mask: var(--hr-horseshoe-mask) no-repeat center / contain;
	mask: var(--hr-horseshoe-mask) no-repeat center / contain;
	transform: rotate(180deg);
}

/* ---------- Homepage intro (sections/home/hr_intro.php) ---------- */

.hr-intro {
	position: relative;
	overflow: hidden;
	padding: 4.5em 0 5.5em;
	background:
		radial-gradient(circle at 12% 20%, rgba(227, 210, 179, 0.55), transparent 45%),
		radial-gradient(circle at 88% 80%, rgba(47, 79, 58, 0.08), transparent 40%),
		var(--hr-oat);
	text-align: center;
}

.hr-intro .container {
	position: relative;
	z-index: 1;
	max-width: 860px;
}

.hr-intro__watermark {
	position: absolute;
	right: -60px;
	top: -40px;
	width: 320px;
	height: 320px;
	color: var(--hr-hay);
	opacity: 0.5;
	transform: rotate(-18deg);
}

.hr-intro__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 0.75em;
	color: var(--hr-saddle);
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hr-horseshoe-icon {
	width: 1.4em;
	height: 1.4em;
	color: var(--hr-saddle);
	transform: rotate(180deg);
}

.hr-intro__title {
	margin: 0 0 0.35em;
	color: var(--hr-ink);
	font-family: "Cormorant", Georgia, serif;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 600;
	line-height: 1.05;
}

.hr-intro__text {
	max-width: 620px;
	margin: 0 auto 1.5em;
	color: var(--hr-ink-soft);
	font-size: 1.15em;
	line-height: 1.6;
}

.hr-intro__facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6em;
	margin: 0 0 2em;
	padding: 0;
	list-style: none;
}

.hr-intro__facts li {
	position: relative;
	margin: 0;
	padding: 0.5em 1em 0.5em 2.1em;
	border: 1px solid var(--hr-border);
	border-radius: 999px;
	background: var(--hr-white);
	font-size: 0.92em;
	font-weight: 600;
}

.hr-intro__facts li::before {
	content: "";
	position: absolute;
	left: 0.95em;
	top: 50%;
	width: 0.4em;
	height: 0.75em;
	border: solid var(--hr-pasture);
	border-width: 0 2px 2px 0;
	transform: translateY(-65%) rotate(45deg);
}

.hr-meadow {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 48px;
	fill: var(--hr-cream);
}

/* ---------- Product cards ---------- */

body.home #recent_product_section .item,
.woocommerce ul.products li.product {
	position: relative;
	padding: 1.25em 1.25em 1.5em;
	border-radius: var(--hr-radius);
	background: var(--hr-white);
	box-shadow: var(--hr-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.home #recent_product_section .item:hover,
.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	box-shadow: var(--hr-shadow-hover);
}

/* Keep the theme's ribbon shape, only recolour it. */
.woocommerce span.onsale,
.single-product .site-main div.product .onsale,
body.home #recent_product_section .onsale {
	background: var(--hr-pasture);
	color: var(--hr-white);
}

.woocommerce span.onsale::before,
.woocommerce span.onsale::after,
.single-product .site-main div.product .onsale::before,
.single-product .site-main div.product .onsale::after,
body.home #recent_product_section .onsale::before,
body.home #recent_product_section .onsale::after {
	border-right-color: var(--hr-pasture);
}

.wgm-info a.versandkosten {
	color: var(--hr-saddle);
	text-decoration: underline;
}

.woocommerce ul.products li.product .price,
body.home #recent_product_section .price,
.single-product .summary .price {
	color: var(--hr-saddle);
	font-weight: 700;
}

.woocommerce .price del,
body.home #recent_product_section .price del {
	color: var(--hr-ink-soft);
	font-weight: 400;
	opacity: 0.8;
}

/* ---------- Testimonials ---------- */

body.home #testimonial_section {
	background: var(--hr-oat);
}

/* The theme paints the slider stage and the logo strip light blue. */
body.home #testimonial_section .owl-stage-outer {
	background: transparent;
}

body.home #client_section {
	background: var(--hr-white);
}

body.home #testimonial_section .bttk-testimonial-holder {
	position: relative;
	margin: 0.5em;
	padding: 2em 1.75em 1.75em;
	border-radius: var(--hr-radius);
	background: var(--hr-white);
	box-shadow: var(--hr-shadow);
}

body.home #testimonial_section .bttk-testimonial-holder::before {
	content: "\201C";
	position: absolute;
	top: 0.1em;
	left: 0.4em;
	color: var(--hr-hay);
	font-family: "Cormorant", Georgia, serif;
	font-size: 4.5em;
	line-height: 1;
}

body.home #testimonial_section .img-holder img {
	border: 3px solid var(--hr-hay);
	border-radius: 50%;
}

/* ---------- Product page ---------- */

.single-product .summary .product_title {
	font-family: "Cormorant", Georgia, serif;
	font-weight: 600;
	line-height: 1.1;
}

.single-product .woocommerce-product-gallery {
	overflow: hidden;
	border-radius: var(--hr-radius);
	background: var(--hr-white);
}

.single-product .woocommerce-tabs {
	padding: 2em;
	border-radius: var(--hr-radius);
	background: var(--hr-white);
	box-shadow: var(--hr-shadow);
}

.single-product .gpsr-fields {
	margin-top: 1em;
	padding: 1em 1.25em;
	border: 1px dashed var(--hr-border);
	border-radius: 8px;
	font-size: 0.85em;
	color: var(--hr-ink-soft);
}

.single-product .gpsr-fields h3 {
	margin: 0 0 0.5em;
	font-size: 1em;
}

.single-product .gpsr-fields p {
	margin: 0 0 0.25em;
}

/* ---------- Footer ---------- */

.site-footer .footer-contact-section {
	background: var(--hr-oat);
}

.site-footer .footer-contact-section svg path {
	fill: var(--hr-saddle);
}

.site-footer .footer-t,
.site-footer .footer-b {
	background: var(--hr-pasture-dark);
	color: #e9e2d4;
}

.site-footer .footer-t a,
.site-footer .footer-b a,
.site-footer .footer-t .widget-title {
	color: var(--hr-cream);
}

.site-footer .footer-t a:hover,
.site-footer .footer-b a:hover {
	color: var(--hr-hay);
}

.site-footer .footer-b {
	border-top: 1px solid rgba(250, 246, 239, 0.12);
}

/* Footer widgets are <section> elements too: no centred titles or ornaments there. */
body.home .site-footer .widget-title {
	text-align: inherit;
}

body.home .site-footer .widget-title::after {
	content: none;
}

/* ---------- Motion and small screens ---------- */

@media (prefers-reduced-motion: reduce) {
	.hr-button,
	body.home #recent_product_section .item,
	.woocommerce ul.products li.product {
		transition: none;
	}

	.hr-button:hover,
	body.home #recent_product_section .item:hover,
	.woocommerce ul.products li.product:hover {
		transform: none;
	}
}

@media (max-width: 600px) {
	.hr-intro {
		padding: 3em 0 4em;
	}

	.hr-intro__watermark {
		width: 200px;
		height: 200px;
		right: -70px;
		top: -30px;
	}

	.hr-intro__eyebrow {
		font-size: 0.78em;
		letter-spacing: 0.08em;
	}

	.hr-intro__facts li {
		font-size: 0.85em;
	}
}

/* ---------- Footer widget titles ---------- */

/*
 * The parent theme sets footer titles to 0.7em, meant for a bold sans in
 * capitals. With Cormorant they were barely readable.
 */
.site-footer .footer-t .widget-title {
	font-family: "Cormorant", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-transform: none;
	margin-bottom: 0.8em;
}

/* ---------- Homepage service section ---------- */

/*
 * The theme sizes each service widget to a quarter of the row. With a single
 * widget that left it in the left corner next to a large empty area.
 */
.top-service-section .container > .widget:only-child {
	width: 100%;
	max-width: 46rem;
	margin: 0 auto;
}

.top-service-section .rtc-itw-inner-holder .icon-holder {
	color: var(--hr-saddle);
}

.top-service-section .rtc-itw-inner-holder .text-holder p {
	font-size: 1.05em;
	color: var(--hr-ink);
}
