/*
Theme Name: Kigata – Shoptimizer Child
Theme URI: https://www.kigata.de/
Description: Kigata Child-Theme auf Basis von Shoptimizer. Behält die vollständigen Shop-Funktionen des Parent-Themes und ergänzt die Kigata-Plugins.
Author: Kigata
Author URI: https://www.kigata.de/
Template: shoptimizer
Version: 2.1.3
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kigata-shoptimizer-child
*/

/*
 * Globale Kigata-Seitendesigns und Produktdarstellungen liegen im Plugin
 * "Kigata Seitendesign". Shop- und Geschäftslogik liegt in "Kigata Shop Core".
 * Das Child-Theme bleibt bewusst schlank, damit Shoptimizer-Updates und dessen
 * WooCommerce-Funktionen (Mini-Cart, Suche, Konto, Navigation) erhalten bleiben.
 */

body {
	background-color: #fff;
}

/* Footer-Links bleiben auch bei Hover auf hellem Hintergrund sichtbar. */
.site-footer a:hover,
.site-footer a:focus-visible {
	color: #2d6fd3;
}

/*
 * Cosy-Landingpage: ursprünglicher Hero aus dem früheren Child-Theme.
 *
 * Die Selektoren bleiben vollständig auf `.kigata-cosy-lp` begrenzt. Dadurch
 * werden weder die Kigata-Startseite noch WooCommerce-Produktseiten oder
 * Shoptimizer-Komponenten beeinflusst.
 */
body .kigata-cosy-lp {
	--cosy-green: #55734f;
	--cosy-green-dark: #3f5a3a;
	--cosy-cream: #faf7f1;
	--cosy-soft: #f4f1ea;
	--cosy-text: #252525;
	--cosy-muted: #5f625d;
	--cosy-border: #e6ded2;
	--cosy-shadow: 0 24px 70px rgba(37, 37, 37, .10);

	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: #fff !important;
	color: var(--cosy-text) !important;
	font-family: inherit !important;
}

body .kigata-cosy-lp *,
body .kigata-cosy-lp *::before,
body .kigata-cosy-lp *::after {
	box-sizing: border-box !important;
}

body .kigata-cosy-lp img {
	max-width: 100% !important;
}

/*
 * Das Cosy-Logo ist im Seiteninhalt ein normales Bild ohne eigene Klasse.
 * Ohne diese Begrenzung übernimmt es die komplette Breite der Hero-Spalte.
 */
body .kigata-cosy-lp .cosy-brandline {
	display: flex !important;
	align-items: center !important;
	gap: 18px !important;
	margin: 0 0 24px !important;
}

body .kigata-cosy-lp .cosy-brandline img[alt="Cosy Logo"],
body .kigata-cosy-lp .cosy-brandline img[src*="/cosy-logo."] {
	display: block !important;
	flex: 0 0 auto !important;
	width: 150px !important;
	height: 150px !important;
	max-width: 150px !important;
	margin: 0 !important;
	object-fit: contain !important;
}

body .kigata-cosy-lp .cosy-brandline span {
	color: var(--cosy-green-dark) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

body .kigata-cosy-lp .cosy-wrap {
	width: min(1180px, calc(100% - 40px)) !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
}

body .kigata-cosy-lp .cosy-eyebrow {
	display: block !important;
	margin: 0 0 14px !important;
	color: var(--cosy-green) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
	letter-spacing: .17em !important;
	text-transform: uppercase !important;
}

body .kigata-cosy-lp a.cosy-btn,
body .kigata-cosy-lp .cosy-btn {
	display: inline-flex !important;
	min-height: 54px !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	padding: 0 28px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--cosy-green) !important;
	box-shadow: 0 12px 30px rgba(85, 115, 79, .22) !important;
	color: #fff !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-decoration: none !important;
	transition: .2s ease !important;
}

body .kigata-cosy-lp a.cosy-btn:hover,
body .kigata-cosy-lp .cosy-btn:hover {
	background: var(--cosy-green-dark) !important;
	color: #fff !important;
	transform: translateY(-1px) !important;
}

body .kigata-cosy-lp a.cosy-link {
	display: inline-flex !important;
	min-height: 54px !important;
	align-items: center !important;
	color: var(--cosy-text) !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
}

body .kigata-cosy-lp a.cosy-link:hover {
	color: var(--cosy-green) !important;
}

body .kigata-cosy-lp .cosy-hero {
	padding: 0 !important;
	background: linear-gradient(90deg, #fbf8f2 0%, #fbf8f2 46%, #eef4ea 100%) !important;
}

body .kigata-cosy-lp .cosy-hero-inner {
	display: grid !important;
	min-height: 650px !important;
	grid-template-columns: .92fr 1.08fr !important;
	align-items: center !important;
	gap: 54px !important;
	padding: 74px 0 !important;
}

body .kigata-cosy-lp .cosy-hero h1 {
	margin: 0 0 22px !important;
	padding: 0 !important;
	color: var(--cosy-text) !important;
	font-size: clamp(38px, 4.2vw, 64px) !important;
	font-weight: 800 !important;
	line-height: 1.05 !important;
	letter-spacing: -.045em !important;
}

body .kigata-cosy-lp .cosy-hero p {
	max-width: 560px !important;
	margin: 0 !important;
	color: var(--cosy-muted) !important;
	font-size: 17px !important;
	line-height: 1.7 !important;
}

body .kigata-cosy-lp .cosy-checks {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 13px 26px !important;
	margin: 28px 0 34px !important;
}

body .kigata-cosy-lp .cosy-check {
	color: var(--cosy-text) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

body .kigata-cosy-lp .cosy-check::before {
	display: inline-flex !important;
	width: 21px !important;
	height: 21px !important;
	align-items: center !important;
	justify-content: center !important;
	margin-right: 9px !important;
	border: 1px solid var(--cosy-green) !important;
	border-radius: 50% !important;
	color: var(--cosy-green) !important;
	content: "✓" !important;
	font-size: 12px !important;
	font-weight: 900 !important;
}

body .kigata-cosy-lp .cosy-actions {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 24px !important;
}

body .kigata-cosy-lp .cosy-hero-visual {
	position: relative !important;
	min-height: 520px !important;
	overflow: visible !important;
	border-radius: 0 !important;
}

body .kigata-cosy-lp .cosy-hero-visual img {
	display: block !important;
	width: 100% !important;
	height: 560px !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	filter: saturate(1.04) contrast(1.02) !important;
	object-fit: cover !important;
}

body .kigata-cosy-lp .cosy-hero-visual::before {
	position: absolute !important;
	z-index: 2 !important;
	inset: 0 auto 0 -2px !important;
	width: 43% !important;
	background: linear-gradient(90deg, #fbf8f2 0%, rgba(251, 248, 242, .92) 34%, rgba(251, 248, 242, 0) 100%) !important;
	content: "" !important;
	pointer-events: none !important;
}

body .kigata-cosy-lp .cosy-floating {
	position: absolute !important;
	z-index: 3 !important;
	top: 88px !important;
	right: 48px !important;
	width: 300px !important;
	padding: 34px !important;
	border-radius: 30px !important;
	background: rgba(255, 255, 255, .94) !important;
	box-shadow: 0 18px 50px rgba(0, 0, 0, .12) !important;
}

body .kigata-cosy-lp .cosy-logo {
	margin: 0 !important;
	color: var(--cosy-text) !important;
	font-size: 38px !important;
	font-weight: 900 !important;
	line-height: 1 !important;
	letter-spacing: -.04em !important;
	text-align: center !important;
}

body .kigata-cosy-lp .cosy-logo-small {
	margin: 3px 0 22px !important;
	color: var(--cosy-muted) !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-align: center !important;
}

body .kigata-cosy-lp .cosy-floating strong {
	display: block !important;
	margin: 0 0 10px !important;
	color: var(--cosy-text) !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

body .kigata-cosy-lp .cosy-floating p {
	margin: 0 !important;
	color: var(--cosy-muted) !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
}

@media (max-width: 1024px) {
	body .kigata-cosy-lp .cosy-hero-inner {
		grid-template-columns: 1fr !important;
	}

	body .kigata-cosy-lp .cosy-floating {
		top: 36px !important;
		right: 28px !important;
	}
}

@media (max-width: 640px) {
	body .kigata-cosy-lp .cosy-brandline {
		gap: 14px !important;
		margin-bottom: 20px !important;
	}

	body .kigata-cosy-lp .cosy-brandline img[alt="Cosy Logo"],
	body .kigata-cosy-lp .cosy-brandline img[src*="/cosy-logo."] {
		width: 112px !important;
		height: 112px !important;
		max-width: 112px !important;
	}

	body .kigata-cosy-lp .cosy-brandline span {
		font-size: 12px !important;
	}

	body .kigata-cosy-lp .cosy-wrap {
		width: min(100% - 24px, 1180px) !important;
	}

	body .kigata-cosy-lp .cosy-hero-inner {
		min-height: 0 !important;
		padding: 46px 0 !important;
	}

	body .kigata-cosy-lp .cosy-checks {
		grid-template-columns: 1fr !important;
	}

	body .kigata-cosy-lp a.cosy-btn {
		width: 100% !important;
	}

	body .kigata-cosy-lp .cosy-hero-visual {
		min-height: 380px !important;
	}

	body .kigata-cosy-lp .cosy-hero-visual img {
		height: 380px !important;
	}

	body .kigata-cosy-lp .cosy-floating {
		position: static !important;
		width: auto !important;
		margin: 18px !important;
	}
}
