/*!
Theme Name: Blossom Shop Pro Child – Horse Relaxe
Description: Child theme for horserelaxe.de. Keeps all site-specific changes (structured data, performance, layout fixes) separate from Blossom Shop Pro so theme updates don't overwrite them.
Author: Diamazin GmbH
Template: blossom-shop-pro
Version: 1.7.4
Requires PHP: 7.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: blossom-shop-pro-child
*/

/* Site-specific CSS goes here. The parent theme's style.css is loaded before this file. */

/*
 * Design "Stall & Weide": warm hay and leather tones, a deep pasture green,
 * horseshoe ornaments and soft, rounded cards. Fonts stay the theme's
 * Cormorant (headings) and Nunito Sans (text), so no extra font requests.
 */
:root {
	--hr-ink: #2a2723;
	--hr-ink-soft: #5c554c;
	--hr-cream: #faf6ef;
	--hr-oat: #f2eadd;
	--hr-hay: #e3d2b3;
	--hr-saddle: #8a5a33;
	--hr-saddle-dark: #6b4325;
	--hr-pasture: #2f4f3a;
	--hr-pasture-dark: #213829;
	--hr-white: #fff;
	--hr-radius: 16px;
	--hr-shadow: 0 10px 30px rgba(58, 42, 25, 0.10);
	--hr-shadow-hover: 0 16px 40px rgba(58, 42, 25, 0.16);

	/* Horseshoe with nail holes, open end up; used as a CSS mask (assets/design.css). */
	--hr-horseshoe-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cmask id='m'%3E%3Crect width='100' height='100' fill='white'/%3E%3Cg fill='black'%3E%3Ccircle cx='14.5' cy='69.3' r='2.4'/%3E%3Ccircle cx='13.8' cy='48.3' r='2.4'/%3E%3Ccircle cx='20.2' cy='29.2' r='2.4'/%3E%3Ccircle cx='85.5' cy='69.3' r='2.4'/%3E%3Ccircle cx='86.2' cy='48.3' r='2.4'/%3E%3Ccircle cx='79.8' cy='29.2' r='2.4'/%3E%3C/g%3E%3C/mask%3E%3Cpath d='M22 88C10 70 10 40 24 24 36 10 64 10 76 24 90 40 90 70 78 88' fill='none' stroke='black' stroke-width='12' stroke-linecap='round' mask='url(%23m)'/%3E%3C/svg%3E");

	--hr-accent: var(--hr-pasture);
	--hr-accent-soft: #edf2ec;
	--hr-border: #e6dccb;
	--hr-note: #fdf6e7;
	--hr-note-border: #d9a74a;
}

/* ---------- Trust box below the add-to-cart form (inc/product-page.php) ---------- */

.hr-trust {
	margin: 1.25em 0 1.5em;
	padding: 1em 1.25em;
	border: 1px solid var(--hr-border);
	border-radius: 8px;
	background: var(--hr-accent-soft);
	font-size: 0.95em;
}

.hr-trust__list {
	margin: 0 0 0.5em;
	padding: 0;
	list-style: none;
}

.hr-trust__item {
	position: relative;
	margin: 0 0 0.4em;
	padding-left: 1.6em;
	line-height: 1.4;
}

.hr-trust__item::before {
	content: "";
	position: absolute;
	left: 0.2em;
	top: 0.25em;
	width: 0.45em;
	height: 0.8em;
	border: solid var(--hr-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.hr-trust__link {
	font-size: 0.9em;
	text-decoration: underline;
}

/* ---------- Product description blocks (docs/content/produktseite-massagegeraet) ---------- */

.hr-lead,
.hr-short-lead {
	font-size: 1.15em;
	line-height: 1.6;
}

.hr-short-list {
	margin: 0.75em 0;
	padding-left: 1.2em;
}

.hr-short-box {
	margin-top: 0.75em;
	font-size: 0.95em;
}

.hr-benefits {
	padding-left: 1.2em;
}

.hr-benefits li,
.hr-steps li {
	margin-bottom: 0.6em;
	line-height: 1.6;
}

.hr-steps {
	counter-reset: hr-step;
	margin: 1em 0 1.5em;
	padding: 0;
	list-style: none;
}

.hr-steps li {
	position: relative;
	padding-left: 2.6em;
	counter-increment: hr-step;
}

.hr-steps li::before {
	content: counter(hr-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.8em;
	height: 1.8em;
	border-radius: 50%;
	background: var(--hr-accent);
	color: #fff;
	font-weight: 700;
	line-height: 1.8em;
	text-align: center;
}

.hr-note {
	margin: 1.5em 0;
	padding: 1em 1.25em;
	border-left: 4px solid var(--hr-note-border);
	border-radius: 4px;
	background: var(--hr-note);
}

.hr-note h3 {
	margin-top: 0;
}

.hr-specs {
	width: 100%;
	margin: 1em 0 1.5em;
	border-collapse: collapse;
}

.hr-specs th,
.hr-specs td {
	padding: 0.6em 0.75em;
	border-bottom: 1px solid var(--hr-border);
	text-align: left;
	vertical-align: top;
}

.hr-specs th {
	width: 35%;
	font-weight: 600;
}

.hr-quote {
	margin: 1em 0;
	padding: 1em 1.25em;
	border-left: 4px solid var(--hr-accent);
	background: var(--hr-accent-soft);
}

.hr-quote p {
	margin: 0 0 0.5em;
	font-style: italic;
}

.hr-quote-note {
	margin: -0.25em 0 0.75em;
	color: var(--hr-ink-soft, #5c554c);
	font-size: 0.85em;
	font-style: italic;
}

.hr-quote cite {
	font-size: 0.9em;
	font-style: normal;
	font-weight: 600;
}

.hr-faq details {
	border-bottom: 1px solid var(--hr-border);
}

.hr-faq summary {
	position: relative;
	padding: 0.9em 2em 0.9em 0;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.hr-faq summary::-webkit-details-marker {
	display: none;
}

.hr-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.25em;
	top: 0.75em;
	font-size: 1.3em;
	line-height: 1;
}

.hr-faq details[open] summary::after {
	content: "–";
}

.hr-faq details p {
	margin: 0 0 1em;
}

.hr-cta {
	margin-top: 1.5em;
	font-weight: 600;
}

/* ---------- Cancellation form, § 312k BGB (inc/contract-cancellation.php) ---------- */

.hr-cancel {
	max-width: 640px;
}

.hr-cancel__field {
	margin: 0 0 1.1em;
	padding: 0;
	border: 0;
}

.hr-cancel__field label,
.hr-cancel__field legend {
	display: block;
	margin-bottom: 0.3em;
	font-weight: 600;
}

.hr-cancel__field fieldset label,
fieldset.hr-cancel__field label {
	font-weight: 400;
}

.hr-cancel__field input[type="text"],
.hr-cancel__field input[type="email"],
.hr-cancel__field input[type="date"],
.hr-cancel__field textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.6em 0.75em;
	border: 1px solid var(--hr-border);
	border-radius: 6px;
	background: #fff;
}

.hr-cancel__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.hr-cancel__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1em;
	margin-top: 1em;
}

.hr-cancel__back {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	text-decoration: underline;
	cursor: pointer;
}

@media print {
	.hr-cancel--done .hr-button {
		display: none;
	}
}

/* ---------- Guide articles (docs/content/ratgeber) ---------- */

.hr-summary {
	margin: 0 0 2em;
	padding: 1.25em 1.5em;
	border: 1px solid var(--hr-border);
	border-radius: 12px;
	background: var(--hr-accent-soft);
}

.hr-summary__title {
	margin: 0 0 0.5em;
	color: var(--hr-accent);
	font-size: 0.85em;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hr-summary ul {
	margin: 0;
	padding-left: 1.2em;
}

.hr-summary li {
	margin-bottom: 0.4em;
	line-height: 1.55;
}

.hr-compare {
	width: 100%;
	margin: 1em 0 1.5em;
	border-collapse: collapse;
	font-size: 0.95em;
}

.hr-compare th,
.hr-compare td {
	padding: 0.65em 0.75em;
	border-bottom: 1px solid var(--hr-border);
	text-align: left;
	vertical-align: top;
}

.hr-compare thead th {
	border-bottom: 2px solid var(--hr-accent);
	font-weight: 700;
}

.hr-compare tbody th {
	font-weight: 600;
}

.hr-author {
	margin-top: 2.5em;
	padding: 1.25em 1.5em;
	border-top: 3px solid var(--hr-accent);
	border-radius: 0 0 12px 12px;
	background: var(--hr-white, #fff);
}

.hr-author p {
	margin: 0 0 0.25em;
}

.hr-author__name {
	font-weight: 700;
}

.hr-author__role {
	color: var(--hr-accent);
	font-size: 0.9em;
}

.hr-author__bio {
	font-size: 0.95em;
}

@media (max-width: 600px) {
	.hr-specs th,
	.hr-specs td {
		display: block;
		width: auto;
	}

	.hr-specs th {
		padding-bottom: 0;
		border-bottom: 0;
	}

	/* Comparison tables scroll sideways instead of squeezing the columns. */
	.hr-compare {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}
}
