/**
 * Markenelemente: Schreibschrift, Herzen, Zierleisten.
 * Nach der Vorlage von Happy Macarons and Cookies.
 */

/* ---- Logo-Schriftzug ---- */

.hmc-logo {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	line-height: 1;
	text-decoration: none !important;
}

.hmc-logo__happy {
	font-family: "Great Vibes", Georgia, cursive;
	font-size: 54px;
	color: #7B1230;
	line-height: .95;
	letter-spacing: .01em;
}

.hmc-logo__sub {
	font-family: "Great Vibes", Georgia, cursive;
	font-size: 30px;
	color: #C2185B;
	line-height: 1;
	margin-top: -4px;
}

.hmc-logo__tag {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: #3A2420;
}

.hmc-logo__tag::before,
.hmc-logo__tag::after {
	content: "";
	width: 42px;
	height: 1px;
	background: #C2185B;
}

/* ---- Handschriftliche Claims ---- */

.hmc-script {
	font-family: "Great Vibes", Georgia, cursive;
	color: #C2185B;
	line-height: 1.15;
	display: inline-block;
}

.hmc-script--sm { font-size: 26px; }
.hmc-script--md { font-size: 34px; }
.hmc-script--lg { font-size: 46px; }

/* ---- Herz ---- */

.hmc-heart {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -.12em;
	color: #C2185B;
}

.hmc-heart svg { width: 100%; height: 100%; display: block; }

/* ---- Claim-Band ---- */

.hmc-claims {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 46px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 34px 20px;
	text-align: center;
}

.hmc-claim {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: "Great Vibes", Georgia, cursive;
	font-size: 30px;
	color: #C2185B;
	line-height: 1.1;
}

.hmc-claim .hmc-heart { font-size: 22px; }

/* ---- Zierleiste mit Herz ---- */

.hmc-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 760px;
	margin: 46px auto;
	padding: 0 20px;
}

.hmc-divider__line {
	flex: 1;
	height: 1px;
	background: #E8A8B0;
	max-width: 180px;
}

.hmc-divider__heart {
	width: 22px;
	height: 22px;
	color: #C2185B;
	flex: none;
}

.hmc-divider__heart svg { width: 100%; height: 100%; display: block; }

.hmc-divider__text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: #C2185B;
	white-space: nowrap;
}

/* ---- Geschwungene Herzlinie ---- */

.hmc-swirl {
	display: block;
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
	color: #C2185B;
}

.hmc-swirl svg { width: 100%; height: auto; display: block; }

@media ( max-width: 600px ) {
	.hmc-logo__happy { font-size: 40px; }
	.hmc-logo__sub   { font-size: 22px; }
	.hmc-claim       { font-size: 24px; }
	.hmc-claims      { gap: 12px 26px; padding: 26px 16px; }
	.hmc-divider__line { max-width: 70px; }
	.hmc-divider__text { font-size: 10px; letter-spacing: .2em; }
}

/* ===== Seitentitel im Header als Schreibschrift ===== */

.site-title,
.site-title a,
.ast-site-identity .site-title a {
	font-family: "Great Vibes", Georgia, cursive !important;
	font-size: 36px !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	letter-spacing: .01em !important;
	color: #7B1230 !important;
	text-decoration: none !important;
}

.site-title a:hover,
.ast-site-identity .site-title a:hover {
	color: #C2185B !important;
}

@media ( max-width: 600px ) {
	.site-title,
	.site-title a { font-size: 27px !important; }
}

/* ===== Abstaende im Inhaltsbereich ===== */

/* Weisse Flaeche gleichmaessig absetzen */
.woocommerce.ast-separate-container .ast-woocommerce-container,
.ast-separate-container .ast-article-single {
	padding: 32px !important;
	border-radius: 10px;
}

/* Grosse Luecke vor "Aehnliche Produkte" schliessen */
.woocommerce div.product .woocommerce-tabs {
	margin-bottom: 20px !important;
	padding-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
	margin-bottom: 0 !important;
	padding-bottom: 8px;
}

.woocommerce div.product .woocommerce-tabs .panel > *:last-child {
	margin-bottom: 0 !important;
}

.woocommerce .related.products,
.woocommerce .up-sells {
	margin-top: 28px !important;
	padding-top: 24px;
	border-top: 1px solid var( --hmc-line, #F2D0D6 );
}

.woocommerce .related.products > h2,
.woocommerce .up-sells > h2 {
	margin: 0 0 20px !important;
}

/* Produktkacheln unten nicht abschneiden */
.woocommerce .related.products ul.products {
	margin-bottom: 0 !important;
}

/* Breadcrumb enger an den Titel */
.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 10px !important;
	font-size: 13px;
}

@media ( max-width: 600px ) {
	.woocommerce.ast-separate-container .ast-woocommerce-container,
	.ast-separate-container .ast-article-single {
		padding: 20px 16px !important;
	}
}

/* ===== Innenabstand im Inhaltsbereich (ast-plain-container) ===== */

.ast-plain-container.woocommerce #primary,
.ast-plain-container.single-product #primary,
.ast-plain-container.woocommerce-page #primary {
	padding: 30px 34px 36px !important;
	background: #fff;
	border-radius: 10px;
	margin-top: 24px;
	margin-bottom: 36px;
}

/* Tabs und Inhalt innerhalb nicht doppelt einruecken */
.ast-plain-container .woocommerce div.product .woocommerce-tabs ul.tabs {
	padding-left: 0 !important;
	margin-left: 0 !important;
}

.ast-plain-container .woocommerce div.product .woocommerce-tabs .panel {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Trennlinie vor Aehnliche Produkte buendig */
.ast-plain-container .woocommerce .related.products {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Kategorie- und Shopseiten gleich behandeln */
.ast-plain-container.post-type-archive-product #primary,
.ast-plain-container.tax-product_cat #primary {
	padding: 26px 30px 32px !important;
	background: #fff;
	border-radius: 10px;
	margin-top: 24px;
	margin-bottom: 36px;
}

@media ( max-width: 600px ) {
	.ast-plain-container.woocommerce #primary,
	.ast-plain-container.single-product #primary,
	.ast-plain-container.woocommerce-page #primary,
	.ast-plain-container.post-type-archive-product #primary,
	.ast-plain-container.tax-product_cat #primary {
		padding: 18px 16px 24px !important;
		margin-top: 14px;
		margin-bottom: 24px;
		border-radius: 8px;
	}
}

/* ===== Mobiler Header: Shop an Startseite angleichen ===== */

@media ( max-width: 960px ) {
	.site-title,
	.site-title a,
	.ast-site-identity .site-title a {
		font-size: 26px !important;
		line-height: 1.1 !important;
	}

	.ast-site-identity {
		padding: 0 !important;
	}

	.ast-mobile-header-wrap .main-header-bar,
	.ast-primary-header-bar {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	/* Warenkorb-Icon kompakter */
	.ast-header-woo-cart .ast-addon-cart-wrap,
	.ast-site-header-cart .ast-addon-cart-wrap {
		padding: 6px !important;
	}
}

@media ( max-width: 540px ) {
	.site-title,
	.site-title a,
	.ast-site-identity .site-title a {
		font-size: 22px !important;
	}

	.ast-primary-header-bar,
	.ast-mobile-header-wrap .main-header-bar {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
}

/* ===== Info-Leiste oben ===== */

.happy-topbar {
	background: #3A2420;
	color: #fff;
	text-align: center;
	padding: 9px 14px;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: .01em;
}

@media ( max-width: 540px ) {
	.happy-topbar {
		font-size: 11.5px;
		padding: 7px 10px;
	}
}

/* ===== Logo im Shop nicht umbrechen ===== */

.site-title,
.site-title a {
	white-space: nowrap !important;
}

@media ( max-width: 960px ) {
	.site-title,
	.site-title a,
	.ast-site-identity .site-title a {
		font-size: 22px !important;
		white-space: nowrap !important;
	}
}

@media ( max-width: 540px ) {
	.site-title,
	.site-title a,
	.ast-site-identity .site-title a {
		font-size: 18px !important;
	}
}

@media ( max-width: 380px ) {
	.site-title,
	.site-title a,
	.ast-site-identity .site-title a {
		font-size: 16px !important;
	}
}

/* ===== Social-Block vor dem Footer ===== */

.hmc-social {
	background: #FDF4F6;
	border-top: 1px solid #F2D0D6;
	padding: 42px 20px 46px;
	text-align: center;
}

.hmc-social__inner {
	max-width: 620px;
	margin: 0 auto;
}

.hmc-social__title {
	font-family: "Great Vibes", Georgia, cursive;
	font-size: 38px;
	line-height: 1.1;
	color: #C2185B;
	margin: 0 0 8px !important;
}

.hmc-social__text {
	font-size: 15px;
	line-height: 1.6;
	color: #6B544E;
	margin: 0 0 24px !important;
}

.hmc-social__icons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
}

.hmc-social__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff;
	border: 1.5px solid #F2D0D6;
	color: #C2185B;
	transition: background .15s, border-color .15s, transform .15s;
}

.hmc-social__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.hmc-social__icon:hover {
	background: #C2185B;
	border-color: #C2185B;
	color: #fff;
	transform: translateY(-2px);
}

.hmc-social__icon:focus-visible {
	outline: 2px solid #C2185B;
	outline-offset: 3px;
}

@media ( max-width: 540px ) {
	.hmc-social { padding: 32px 16px 36px; }
	.hmc-social__title { font-size: 30px; }
	.hmc-social__text { font-size: 14px; margin-bottom: 20px !important; }
	.hmc-social__icon { width: 44px; height: 44px; }
	.hmc-social__icons { gap: 10px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.hmc-social__icon { transition: none; }
}

/* ===== Social-Block mit Illustration ===== */

.hmc-social--illu .hmc-social__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 36px;
	max-width: 880px;
	text-align: left;
}

.hmc-social__illu {
	width: 190px;
	height: auto;
	flex: none;
	display: block;
}

.hmc-social__body {
	flex: 1;
	min-width: 0;
}

.hmc-social--illu .hmc-social__icons {
	justify-content: flex-start;
}

@media ( max-width: 680px ) {
	.hmc-social--illu .hmc-social__inner {
		flex-direction: column;
		gap: 18px;
		text-align: center;
	}
	.hmc-social__illu { width: 140px; }
	.hmc-social--illu .hmc-social__icons { justify-content: center; }
}

/* ===== Schwebender WhatsApp-Button ===== */

.hmc-wa {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9998;
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	box-shadow: 0 4px 16px rgba( 37, 211, 102, .35 );
	transition: transform .15s, box-shadow .15s;
}

.hmc-wa svg { width: 30px; height: 30px; display: block; }

.hmc-wa:hover {
	transform: scale( 1.07 );
	box-shadow: 0 6px 22px rgba( 37, 211, 102, .45 );
	color: #fff;
}

.hmc-wa:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

@media ( max-width: 540px ) {
	.hmc-wa { width: 48px; height: 48px; right: 14px; bottom: 14px; }
	.hmc-wa svg { width: 26px; height: 26px; }
}

/* Nicht ueber dem Nach-oben-Pfeil liegen */
.ast-scroll-top { bottom: 84px !important; }

@media ( prefers-reduced-motion: reduce ) {
	.hmc-wa { transition: none; }
}

/* ===== Instagram-Raster ===== */

.hmc-ig {
	max-width: 1100px;
	margin: 0 auto 50px;
	padding: 0 20px;
}

.hmc-ig__head {
	text-align: center;
	margin-bottom: 20px;
}

.hmc-ig__title {
	font-family: "Great Vibes", Georgia, cursive;
	font-size: 36px;
	line-height: 1.1;
	color: #C2185B;
	margin: 0 0 4px !important;
}

.hmc-ig__handle {
	font-size: 15px;
	font-weight: 600;
	color: #6B544E;
	text-decoration: none;
}

.hmc-ig__handle:hover { color: #C2185B; }

.hmc-ig__grid {
	display: grid;
	grid-template-columns: repeat( 6, 1fr );
	gap: 10px;
}

.hmc-ig__item {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	border-radius: 10px;
	overflow: hidden;
	background: #FDF4F6;
}

.hmc-ig__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .25s;
}

.hmc-ig__item:hover img { transform: scale( 1.06 ); }

.hmc-ig__overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba( 194, 24, 91, .55 );
	color: #fff;
	opacity: 0;
	transition: opacity .2s;
}

.hmc-ig__overlay svg { width: 26px; height: 26px; }

.hmc-ig__item:hover .hmc-ig__overlay { opacity: 1; }

.hmc-ig__cta {
	text-align: center;
	margin: 20px 0 0 !important;
}

.hmc-ig__cta a {
	display: inline-block;
	padding: 11px 26px;
	border: 1.5px solid #C2185B;
	border-radius: 999px;
	color: #C2185B;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: background .15s, color .15s;
}

.hmc-ig__cta a:hover { background: #C2185B; color: #fff; }

@media ( max-width: 900px ) {
	.hmc-ig__grid { grid-template-columns: repeat( 3, 1fr ); }
}

@media ( max-width: 540px ) {
	.hmc-ig__grid { grid-template-columns: repeat( 2, 1fr ); gap: 8px; }
	.hmc-ig__title { font-size: 28px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.hmc-ig__item img, .hmc-ig__overlay { transition: none; }
}

/* ===== Instagram-Raster groesser ===== */

.hmc-ig {
	max-width: 1140px !important;
	margin-bottom: 64px !important;
}

.hmc-ig__grid {
	grid-template-columns: repeat( 3, 1fr ) !important;
	gap: 16px !important;
}

.hmc-ig__item {
	border-radius: 14px !important;
}

.hmc-ig__title {
	font-size: 44px !important;
}

.hmc-ig__handle {
	font-size: 16px !important;
}

.hmc-ig__head {
	margin-bottom: 28px !important;
}

.hmc-ig__overlay svg {
	width: 34px !important;
	height: 34px !important;
}

@media ( max-width: 900px ) {
	.hmc-ig__grid { grid-template-columns: repeat( 2, 1fr ) !important; gap: 12px !important; }
	.hmc-ig__title { font-size: 34px !important; }
}

@media ( max-width: 540px ) {
	.hmc-ig__grid { grid-template-columns: repeat( 2, 1fr ) !important; gap: 10px !important; }
	.hmc-ig__title { font-size: 30px !important; }
}

/* ===== Schlanker Cookie-Hinweis ===== */

.hmc-cookiebar {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 9997;
	max-width: 330px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #F2D0D6;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba( 58, 36, 32, .14 );
	transition: opacity .25s, transform .25s;
}

.hmc-cookiebar.is-gone {
	opacity: 0;
	transform: translateY( 8px );
	pointer-events: none;
}

.hmc-cookiebar__text {
	margin: 0 !important;
	font-size: 13px;
	line-height: 1.5;
	color: #6B544E;
}

.hmc-cookiebar__text a {
	color: #C2185B;
	text-decoration: underline;
	white-space: nowrap;
}

.hmc-cookiebar__btn {
	align-self: flex-start;
	padding: 7px 18px;
	border: 0;
	border-radius: 999px;
	background: #C2185B;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
	transition: background .15s;
}

.hmc-cookiebar__btn:hover { background: #9A1248; }

.hmc-cookiebar__btn:focus-visible {
	outline: 2px solid #C2185B;
	outline-offset: 2px;
}

/* Nicht mit dem WhatsApp-Button kollidieren */
@media ( max-width: 640px ) {
	.hmc-cookiebar {
		left: 12px;
		right: 76px;
		bottom: 12px;
		max-width: none;
		padding: 12px 14px;
	}
	.hmc-cookiebar__text { font-size: 12.5px; }
}

@media ( prefers-reduced-motion: reduce ) {
	.hmc-cookiebar { transition: none; }
}

/* Abholhinweis statt Versandkosten */
.happy-pickup-only {
	color: #C2185B !important;
	font-weight: 600;
	font-size: 13px;
}

/* ===== Bankdaten mit QR-Code ===== */

.happy-giro {
	margin: 28px 0;
	padding: 26px 28px;
	background: #FDF4F6;
	border: 1px solid #F2D0D6;
	border-radius: 14px;
}

.happy-giro__title {
	margin: 0 0 8px !important;
	font-size: 22px;
	color: #C2185B;
}

.happy-giro__lead {
	margin: 0 0 22px !important;
	font-size: 14.5px;
	line-height: 1.6;
	color: #6B544E;
}

.happy-giro__grid {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 28px;
	align-items: start;
}

.happy-giro__qr {
	background: #fff;
	padding: 12px;
	border-radius: 10px;
	border: 1px solid #F2D0D6;
	text-align: center;
}

.happy-giro__qr svg {
	width: 100%;
	height: auto;
	display: block;
}

.happy-giro__qrhint {
	margin: 8px 0 0 !important;
	font-size: 11.5px;
	color: #6B544E;
	line-height: 1.3;
}

.happy-giro__data {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.happy-giro__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-bottom: 10px;
	border-bottom: 1px solid #F2D0D6;
}

.happy-giro__row:last-child { border-bottom: 0; padding-bottom: 0; }

.happy-giro__row dt {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #6B544E;
	margin: 0;
}

.happy-giro__row dd {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.happy-giro__value {
	font-size: 15px;
	font-weight: 600;
	color: #3A2420;
	font-variant-numeric: tabular-nums;
	word-break: break-word;
}

.happy-giro__row--total .happy-giro__value {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 20px;
	color: #C2185B;
}

.happy-giro__copy {
	padding: 4px 12px;
	border: 1px solid #F2D0D6;
	border-radius: 999px;
	background: #fff;
	color: #C2185B;
	font-size: 12px;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background .14s, border-color .14s, color .14s;
	flex: none;
}

.happy-giro__copy:hover {
	background: #C2185B;
	border-color: #C2185B;
	color: #fff;
}

.happy-giro__copy.is-done {
	background: #6E8A4A;
	border-color: #6E8A4A;
	color: #fff;
}

@media ( max-width: 600px ) {
	.happy-giro { padding: 20px 18px; }
	.happy-giro__grid { grid-template-columns: 1fr; gap: 20px; }
	.happy-giro__qr { max-width: 200px; margin: 0 auto; }
}
