/* ==========================================================================
   Saint Ginger – eigenes CSS
   Wird über functions.php geladen (Version = Datei-Zeitstempel, kein
   Divi-Cache-Leeren nötig). Neues CSS bitte hier eintragen, nicht in Divi.
   Farben: Gold #d4b85c · Schwarz #000 · Weiß #fff
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Kopfbereich & Menü
   -------------------------------------------------------------------------- */

/* Warenkorb-Anzahl als Kreis im Menü */
.et_pb_menu__cart-count {
	background-color: #333;
	border-radius: 50%;
	min-width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: -14px;
	margin-bottom: 17px;
	z-index: 9;
}

@media (min-width: 981px) {
	/* Mehr Abstand links vom Warenkorb-Symbol (Desktop) */
	.et_pb_menu__icon.et_pb_menu__cart-button {
		margin-left: 22px;
	}

	/* Warenkorb-Symbol beim Hover leicht vergrößern */
	.et_pb_menu__cart-button:hover:after {
		transform: scaleX(1.10) scaleY(1.10);
	}

	/* Untermenüs so breit wie ihr Inhalt */
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}
	.nav li li {
		white-space: nowrap;
	}
	.nav li li a {
		width: auto !important;
	}
}


/* Megamenü „Shop“ (nur Desktop, Ausgabe über functions.php Abschnitt 8) */
.sg-mm {
	display: none;
}
@media (min-width: 981px) {
	.et-l--header .sg-mm-li > .sub-menu {
		display: none !important;
	}
	.sg-mm {
		display: block;
		position: fixed;
		left: 0;
		right: 0;
		z-index: 99990;
		background: #000;
		border-bottom: 1px solid #d4b85c;
		box-shadow: 0 20px 50px rgba(0, 0, 0, .7);
		padding: 16px 20px 10px;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px);
		transition: opacity .4s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s;
		text-align: left;
	}
	.sg-mm.is-offen {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .4s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility 0s;
	}
	/* Header-Verlauf weich in Schwarz überblenden (Hintergrundbilder selbst lassen sich nicht animieren) */
	.et-l--header .et_pb_section.sg-mm-kopf::before {
		content: "";
		position: absolute;
		inset: 0;
		background: #000;
		opacity: 0;
		transition: opacity .4s ease;
		pointer-events: none;
		z-index: 0;
	}
	.et-l--header .et_pb_section.sg-mm-kopf.sg-mm-offen::before {
		opacity: 1;
	}
	.et-l--header .et_pb_section.sg-mm-kopf > .et_pb_row {
		position: relative;
		z-index: 1;
	}
	/* Kacheln leicht versetzt einblenden */
	.sg-mm .sg-mm__p,
	.sg-mm .sg-mm__feature {
		opacity: 0;
		transform: translateY(6px);
		transition: opacity .35s ease, transform .35s ease, border-color .2s ease;
	}
	.sg-mm.is-offen .sg-mm__p,
	.sg-mm.is-offen .sg-mm__feature {
		opacity: 1;
		transform: none;
	}
	.sg-mm.is-offen .sg-mm__p:nth-child(2) { transition-delay: .04s; }
	.sg-mm.is-offen .sg-mm__p:nth-child(3) { transition-delay: .08s; }
	.sg-mm.is-offen .sg-mm__p:nth-child(4) { transition-delay: .12s; }
	.sg-mm.is-offen .sg-mm__p:nth-child(5) { transition-delay: .16s; }
	.sg-mm.is-offen .sg-mm__feature { transition-delay: .18s; }
	.sg-mm.is-offen .sg-mm__p:hover { transition-delay: 0s; }
}
.sg-mm__in,
.sg-mm__alle {
	max-width: 820px;
	margin: 0 auto;
}
.sg-mm__in {
	display: flex;
	gap: 18px;
	align-items: stretch;
}
.sg-mm__produkte {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}
.et-l--header .sg-mm a.sg-mm__p {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 8px 4px 10px;
	border: 1px solid transparent;
	text-decoration: none;
	transition: border-color .2s ease;
}
.et-l--header .sg-mm a.sg-mm__p:hover,
.et-l--header .sg-mm a.sg-mm__p:focus-visible {
	border-color: rgba(212, 184, 92, .6);
}
.sg-mm__p img {
	width: 84px;
	height: 84px;
	object-fit: contain;
	margin-bottom: 6px;
	transition: transform .3s ease;
}
.sg-mm__p:hover img {
	transform: translateY(-3px);
}
.sg-mm__name {
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-size: 11px;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #d4b85c;
}
.sg-mm__sub {
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 10.5px;
	line-height: 1.35;
	color: #bbb;
	margin-top: 2px;
	text-transform: none;
	letter-spacing: 0;
}
.et-l--header .sg-mm a.sg-mm__feature {
	flex: 0 0 210px;
	display: flex;
	gap: 10px;
	align-items: center;
	border: 1px solid #d4b85c;
	outline: 1px solid rgba(212, 184, 92, .45);
	outline-offset: 3px;
	margin: 4px;
	padding: 8px;
	text-decoration: none;
}
.sg-mm__feature img {
	width: 62px;
	height: 78px;
	object-fit: cover;
	flex: 0 0 62px;
}
.sg-mm__kicker {
	display: block;
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 9.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #d4b85c;
}
.sg-mm__ftitel {
	display: block;
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.1;
	text-transform: uppercase;
	color: #d4b85c;
	margin: 3px 0;
}
.sg-mm__ftext {
	display: block;
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 11.5px;
	line-height: 1.4;
	color: #fff;
	text-transform: none;
	letter-spacing: 0;
}
.et-l--header .sg-mm a.sg-mm__alle {
	display: block;
	margin-top: 10px;
	padding: 8px 0 0;
	border-top: 1px solid rgba(212, 184, 92, .3);
	text-align: right;
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-size: 10.5px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #d4b85c;
	text-decoration: none;
}


/* --------------------------------------------------------------------------
   2. Shop & Produktseite
   -------------------------------------------------------------------------- */

/* Mengenauswahl Plus/Minus (Plugin „Qty Increment Buttons“) */
.qib-button-wrapper .quantity input.input-text.qty.text {
	width: 100px !important;
	background-color: #000000 !important;
	border-color: #d4b85c !important;
	color: #ffffff !important;
	border-width: 1px !important;
	height: 100% !important;
	font-size: 1.6em;
	font-weight: 700;
}
.qib-button-wrapper {
	margin: 0px;
	height: 50px !important;
}
.qib-button-wrapper button.qib-button {
	padding: 6px 12px 8px;
	height: 100% !important;
	background: #ffffff;
	border: 1px solid #efefef;
	cursor: pointer;
	font-size: 20px;
	line-height: 20px;
	width: 41px;
	color: black;
}
.et-db #et-boc .et-l .et_pb_wc_add_to_cart form.cart div.quantity {
	float: none !important;
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

/* Hinweise MwSt./Versandkosten (Germanized) */
.wc-gzd-additional-info .tax-info,
.wc-gzd-additional-info .shipping-costs-info {
	color: #ffffff;
}

/* Produkttitel in Kacheln gleich hoch */
.dipl_single_woo_product_title {
	min-height: 90px !important;
}


/* --------------------------------------------------------------------------
   3. Warenkorb & Kasse
   -------------------------------------------------------------------------- */

.woocommerce table.shop_table {
	border: 1px solid #d4b85c;
	margin: 0 -1px 24px 0;
	text-align: left;
	width: 100%;
	border-collapse: separate;
	border-radius: 0;
	color: #ffffff !important;
}

.entry-content thead th,
.entry-content tr th {
	color: #ffffff;
	font-weight: 700;
	font-size: 1.4em;
	padding: 9px 24px;
}

.woocommerce-checkout .shop_table {
	background-color: rgba(0, 0, 0, 0.65) !important;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	background: rgba(0, 0, 0, 0.65) !important;
	border-radius: 0px;
	border: 1px solid #d4b85c;
}

/* Germanized: Hinweis „Daten bearbeiten“ */
.wc-gzd-edit-data-notice {
	background: rgba(0, 0, 0, 0.65) !important;
	display: inline-block;
	padding: 1em;
	border-radius: 0px;
	border: 1px solid #d4b85c;
	color: #d4b85c;
	font-weight: 800;
}

/* Eingabefelder */
.woocommerce form .form-row input.input-text {
	-webkit-appearance: none;
	background-color: rgba(255, 255, 255, 0.2);
	max-width: 100%;
	border-width: 0;
	border-radius: 0;
	color: #ffffff;
	font-size: 14px;
	padding: 16px;
	line-height: 1.7em;
	border-style: solid;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce-page form .form-row input.input-text:focus {
	color: #ffffff;
}

/* EU-Gewährleistungslabel (Germanized): klein anzeigen, Klick öffnet große Version */
.woocommerce-checkout .wc-gzd-legal-guarantee {
	margin-top: 28px;
}
.wc-gzd-legal-guarantee .wc-gzd-legal-guarantee-image-preview {
	width: 140px !important;
	min-width: 0 !important;
	max-width: 140px !important;
	height: auto !important;
	cursor: zoom-in;
}
.wc-gzd-legal-guarantee .wc-gzd-legal-guarantee-label-preview::after {
	content: "Gesetzliche Gew\00E4hrleistung \2013  zum Vergr\00F6\00DF ern klicken";
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	color: #999;
}

/* EU-Gewährleistungslabel: Großansicht mittig, Hintergrund abgedunkelt */
.wc-gzd-legal-guarantee .wc-gzd-popover {
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%);
	width: min(560px, 92vw) !important;
	max-height: 90vh;
	overflow-y: auto;
	z-index: 100000 !important;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .7), 0 20px 60px rgba(0, 0, 0, .5);
}
.wc-gzd-legal-guarantee .wc-gzd-popover img {
	width: 100%;
	height: auto;
}

/* EU-Gewährleistungshinweis im Checkout volle Spaltenbreite (Grafik selbst unverändert) */
.wc-gzd-legal-guarantee-checkout img {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
}


/* --------------------------------------------------------------------------
   4. Blog & Blog-Slider (Startseite)
   -------------------------------------------------------------------------- */

.dipl_blog_slider_content .et_pb_section {
	background-color: rgba(0, 0, 0, 0) !important;
	padding: 10px 0px;
	height: 100%;
}
.dipl_blog_slider_content .et_pb_section .et_pb_row {
	padding: 0px !important;
	width: 100% !important;
}
.dipl_blog_slider .dipl_blog_slider_post {
	height: 100% !important;
}

/* Ganze Karte klickbar (Titel-Link über die Karte), Textlinks bleiben einzeln klickbar */
.dipl_blog_slider .dipl_blog_slider_post {
	position: relative;
}
.dipl_blog_slider .dipl_blog_slider_post_title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.dipl_blog_slider .dipl_blog_slider_content a {
	position: relative;
	z-index: 2;
}
.dipl_blog_slider .dipl_blog_slider_content .et_pb_section,
.dipl_blog_slider .dipl_blog_slider_content .et_pb_row,
.dipl_blog_slider .dipl_blog_slider_content .et_pb_column,
.dipl_blog_slider .dipl_blog_slider_content .et_pb_module {
	z-index: auto !important;
}

/* Beitragsseite: Kopfbereich */
.et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) .et_post_meta_wrapper {
	width: 80%;
	max-width: 1280px;
	margin: auto;
	padding-top: 6%;
	background-color: #000000;
}
.et_pb_post {
	background-color: #000000;
}


/* --------------------------------------------------------------------------
   5. Layout mobil
   -------------------------------------------------------------------------- */

@media (max-width: 479px) {
	.et_pb_gutters1 .et_pb_column,
	.et_pb_gutters1.et_pb_row .et_pb_column {
		margin: 0 !important;
		padding: 0px 50px !important;
	}
}


/* --------------------------------------------------------------------------
   6. Einzelne Seiten
   -------------------------------------------------------------------------- */

/* Händlerseite (offline-kaufen): Sprungmarken Deutschland / Österreich mit Hover */
.page-id-30991 a[href^="#haendler-"] {
	position: relative;
	display: inline-block;
	color: #d4b85c;
	text-decoration: none;
	transition: color .3s ease;
}
.page-id-30991 a[href^="#haendler-"]::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 1px;
	background: #d4b85c;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform .35s ease;
}
.page-id-30991 a[href^="#haendler-"]:hover,
.page-id-30991 a[href^="#haendler-"]:focus-visible {
	color: #ffffff;
}
.page-id-30991 a[href^="#haendler-"]:hover::after,
.page-id-30991 a[href^="#haendler-"]:focus-visible::after {
	transform: scaleX(1);
}


/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */

/* Widerrufsbutton (§ 356a BGB) – Menüpunkt mit Klasse sg-widerruf-btn */
body .et-l--footer .et_pb_menu ul li.sg-widerruf-btn {
	margin-top: 14px;
}
body .et-l--footer .et_pb_menu ul li.sg-widerruf-btn a,
body .et-l--footer .et_pb_menu ul li.sg-widerruf-btn.current-menu-item a {
	display: inline-block !important;
	white-space: nowrap;
	padding: 6px 14px !important;
	border: 1px solid #d4b85c !important;
	background: transparent !important;
	color: #d4b85c !important;
	font-weight: 400 !important;
	letter-spacing: normal !important;
	opacity: 1 !important;
}
body .et-l--footer .et_pb_menu ul li.sg-widerruf-btn a:hover {
	background: #d4b85c !important;
	color: #000 !important;
}
/* Button aus dem Spaltenfluss nehmen, damit die Footer-Zeilen auf einer Höhe bleiben (Desktop) */
@media (min-width: 981px) {
	body .et-l--footer .et_pb_menu ul li.sg-widerruf-btn {
		position: absolute;
		left: 0;
		top: 100%;
		margin-top: 14px;
	}
}


/* --------------------------------------------------------------------------
   8. Aktionen (zeitlich begrenzt – nach Ablauf entfernen)
   -------------------------------------------------------------------------- */

/* Holy Punch: Badge NEUE REZEPTUR (Produktseite + Shop-Übersicht), Produkt-ID 34562 */
.postid-34562 .et_pb_wc_images .woocommerce-product-gallery {
	position: relative;
}
.postid-34562 .et_pb_wc_images .woocommerce-product-gallery::before,
li.post-34562 .et_shop_image::before {
	content: "NEUE REZEPTUR";
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 9;
	background: #d4b85c;
	color: #000;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1.5px;
	line-height: 1.2;
	padding: 6px 12px;
	pointer-events: none;
}
li.post-34562 .et_shop_image {
	position: relative;
	display: block;
}
li.post-34562 .et_shop_image::before {
	font-size: 11px;
	top: 10px;
	left: 10px;
	padding: 5px 9px;
}

/* Holy Punch 2026: Streifen Startseite + Hinweiskarte (Ausgabe über functions.php, Abschnitt 7) */
.sg-hp-teaser {
	background: #000;
	padding: 40px 20px;
}
.sg-hp-teaser__inner {
	position: relative;
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 28px;
	border: 1px solid #d4b85c;
	outline: 1px solid rgba(212, 184, 92, .45);
	outline-offset: 6px;
}
.sg-hp-teaser__bild {
	flex: 0 0 280px;
	display: block;
	line-height: 0;
}
.sg-hp-teaser__bild img {
	width: 100%;
	height: auto;
	display: block;
}
.sg-hp-teaser__text {
	flex: 1 1 auto;
	color: #fff;
}
.sg-hp-teaser__kicker {
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 15px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: #d4b85c;
	margin: 0 0 10px;
	padding: 0;
}
.sg-hp-teaser__titel {
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.05;
	text-transform: uppercase;
	color: #d4b85c;
	margin: 0 0 16px;
	padding: 0;
}
.sg-hp-teaser__copy {
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.5;
	color: #fff;
	margin: 0 0 28px;
	padding: 0;
}
.sg-hp-teaser__button,
.sg-hp-teaser__button:visited {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid #d4b85c;
	color: #d4b85c;
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-size: 15px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}
.sg-hp-teaser__button:hover,
.sg-hp-teaser__button:focus-visible {
	background: #d4b85c;
	color: #000;
}
@media (max-width: 767px) {
	.sg-hp-teaser {
		padding: 28px 16px;
	}
	.sg-hp-teaser__inner {
		flex-direction: column;
		gap: 24px;
		padding: 20px;
		text-align: center;
	}
	.sg-hp-teaser__bild {
		flex-basis: auto;
		width: 220px;
	}
	.sg-hp-teaser__copy {
		font-size: 16px;
	}
}

.sg-hp-karte {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	width: 340px;
	max-width: calc(100vw - 40px);
	background: #000;
	border: 1px solid #d4b85c;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
	transform: translateY(24px);
	opacity: 0;
	transition: transform .35s ease, opacity .35s ease;
}
.sg-hp-karte.is-sichtbar {
	transform: none;
	opacity: 1;
}
.sg-hp-karte[hidden] {
	display: none;
}
.sg-hp-karte__link,
.sg-hp-karte__link:visited {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 40px 12px 12px;
	color: #fff;
	text-decoration: none;
}
.sg-hp-karte__link img {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	display: block;
}
.sg-hp-karte__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-family: "OpenSans Light", Helvetica, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.35;
}
.sg-hp-karte__text strong {
	font-family: "OpenSans ExtraBold", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #d4b85c;
}
.sg-hp-karte__mehr {
	color: #d4b85c;
	margin-top: 2px;
}
.sg-hp-karte__link:hover .sg-hp-karte__mehr {
	text-decoration: underline;
}
.sg-hp-karte__zu {
	position: absolute;
	top: 4px;
	right: 6px;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #d4b85c;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
}
.sg-hp-karte__zu:hover,
.sg-hp-karte__zu:focus-visible {
	color: #fff;
}
@media (prefers-reduced-motion: reduce) {
	.sg-hp-karte,
	.sg-mm,
	.sg-mm .sg-mm__p,
	.sg-mm .sg-mm__feature {
		transition: none !important;
		transform: none !important;
	}
}
