/* NAYORA – WooCommerce notices (success / info / error) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	display: grid !important;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 14px;
	row-gap: 6px;
	margin: 0 0 24px !important;
	padding: 14px 16px !important;
	border: 1px solid rgba(61, 10, 16, .1) !important;
	border-radius: 18px !important;
	color: #241A1A !important;
	font-family: var(--nayora-font-body, "Ledger", serif) !important;
	font-size: 15px;
	line-height: 1.5;
	list-style: none !important;
	box-shadow: 0 1px 2px rgba(61, 10, 16, .03), 0 18px 40px -32px rgba(61, 10, 16, .35);
	position: relative;
	width: auto;
	word-wrap: break-word;
}
.woocommerce-message::after, .woocommerce-info::after, .woocommerce-error::after { display: none !important; }

/* icon badge replaces the WooCommerce icon font: coloured disc + white glyph */
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: "" !important;
	display: block !important;
	position: static !important;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font: 0/0 a;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 18px 18px !important;
	top: auto; left: auto; margin: 0;
}

/* success */
.woocommerce-message { border-color: rgba(47, 94, 42, .18) !important; background: #F1F8F2 !important; color: #1F4D2A !important; }
.woocommerce-message::before { background-color: #2F5E2A !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important; }

/* info */
.woocommerce-info { background: #F7F2EC !important; color: #3D0A10 !important; }
.woocommerce-info::before { background-color: #3D0A10 !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 10.5v7' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='6.5' r='1.5' fill='%23fff'/%3E%3C/svg%3E") !important; }

/* error */
.woocommerce-error { border-color: rgba(217, 69, 95, .3) !important; background: #FFF3F5 !important; color: #8A1F32 !important; }
.woocommerce-error::before { background-color: #D9455F !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v7' stroke='%23fff' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.5' r='1.5' fill='%23fff'/%3E%3C/svg%3E") !important; }
.woocommerce-error li { grid-column: 2 / -1; margin: 0 !important; padding: 0 !important; list-style: none; }

/* links and the "Warenkorb anzeigen" button */
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button {
	grid-column: 3;
	grid-row: 1;
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 40px;
	margin: 0 !important;
	padding: 0 16px !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #3D0A10 !important;
	color: #fff !important;
	font-family: var(--nayora-font-body, "Ledger", serif) !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	letter-spacing: .01em;
	line-height: 1 !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background-color .2s, transform .2s;
}
.woocommerce-message .button:hover, .woocommerce-info .button:hover, .woocommerce-error .button:hover { background: #521019 !important; color: #fff !important; transform: translateY(-1px); }

@media (max-width: 600px) {
	.woocommerce-message, .woocommerce-info, .woocommerce-error { grid-template-columns: 36px minmax(0, 1fr); padding: 12px 14px !important; border-radius: 16px !important; font-size: 14.5px; }
	/* text stays next to the icon; button and inline links drop to a second row under the text */
	.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { grid-column: 2; grid-row: 2; justify-self: start; height: 38px; margin-top: 4px !important; }
	.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a:not(.button) { grid-column: 2; }
}

/* ---------- Contact Form 7 response box (all forms; the Kontakt page keeps its own scoped style) ---------- */
.wpcf7 form .wpcf7-response-output {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 64px;
	margin: 18px 0 0 !important;
	padding: 14px 18px 14px 62px !important;
	border: 1px solid rgba(61, 10, 16, .08) !important;
	border-radius: 18px;
	background: #fff;
	color: #241A1A;
	font-family: var(--nayora-font-body, "Ledger", serif);
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 1px 2px rgba(61, 10, 16, .04), 0 18px 40px -30px rgba(61, 10, 16, .4);
	animation: nayora-cf7-in .35s ease both;
}
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.submitting .wpcf7-response-output, .wpcf7 form.resetting .wpcf7-response-output { display: none; }
.wpcf7 form .wpcf7-response-output::before {
	content: "";
	position: absolute; left: 16px; top: 50%;
	width: 32px; height: 32px; margin-top: -16px;
	border-radius: 50%;
	background: #3D0A10 no-repeat center / 16px 16px;
}
/* sent */
.wpcf7 form.sent .wpcf7-response-output::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
/* invalid / unaccepted / failed / spam */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.aborted .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output {
	border-color: rgba(217, 69, 95, .3) !important; background: #FFF6F7; color: #8A1F32;
}
.wpcf7 form.invalid .wpcf7-response-output::before, .wpcf7 form.unaccepted .wpcf7-response-output::before, .wpcf7 form.payment-required .wpcf7-response-output::before,
.wpcf7 form.failed .wpcf7-response-output::before, .wpcf7 form.aborted .wpcf7-response-output::before, .wpcf7 form.spam .wpcf7-response-output::before {
	background-color: #D9455F;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v7' stroke='%23fff' stroke-width='2.6' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='17.5' r='1.6' fill='%23fff'/%3E%3C/svg%3E");
}
.wpcf7 form .wpcf7-not-valid-tip { margin: 6px 0 0 4px; font-size: 12.5px; color: #D9455F; }
@keyframes nayora-cf7-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wpcf7 form .wpcf7-response-output { animation: none; } }

/* newsletter (form 13136): after signing up only the success card stays */
[id^="wpcf7-f13136-"] form.sent > p,
[id^="wpcf7-f13136-"] form.sent > div:not(.wpcf7-response-output) { display: none !important; }
[id^="wpcf7-f13136-"] form.sent .wpcf7-response-output { margin-top: 0 !important; }

/* newsletter consent checkbox (CF7 acceptance "nl-consent") */
.wpcf7 .nayora-consent .wpcf7-list-item { display: block; margin: 0; }
.wpcf7 .nayora-consent label { display: flex; align-items: flex-start; gap: 9px; margin: 0; font-family: var(--nayora-font-body, "Ledger", serif); font-size: 12px; line-height: 1.5; color: #6F6262; cursor: pointer; text-align: left; }
.wpcf7 .nayora-consent input[type="checkbox"] { flex: 0 0 16px; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #3D0A10; cursor: pointer; }
.wpcf7 .nayora-consent a { color: #3D0A10; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.wpcf7 .nayora-consent .wpcf7-not-valid-tip { margin-left: 28px; }
