/* Handy-Produktseite (includes/class-sk-mobil-leiste.php) – gilt für alle Produkte. */

/* Preis und Farbwahl/„gestalten“ früher im Bild (Messung 19.10.2026, 375 × 812: Preis bei
   879 px, Button bei 1520 px). Titel kleiner, Brotkrumen klein, „Im Lieferumfang“ unter den Kaufbereich. */
@media (max-width: 767px) {
	/* Brotkrumen klein statt ausgeblendet: sonst fehlt am Handy der Weg zurück zur Kategorie (Nutzer, 18.11.2026) */
	.single-product .kadence-breadcrumbs { font-size: 13px; line-height: 1.4; margin: 0 0 8px; }
	/* spezifischer als das Zusätzliche CSS „.woocommerce div.product .product_title“ (40 px) */
	.single-product div.product .summary .product_title { font-size: 26px; line-height: 1.25; margin-bottom: 8px; }
	.single-product .summary.entry-summary { display: flex; flex-direction: column; }
	.single-product .summary.entry-summary > .sk-liefer { order: 1; margin-top: 0; }
}

/* Feste Leiste mit Preis und der nächsten Aktion, solange der eigentliche Knopf nicht im Bild ist (JS) */
.sk-mobil-leiste { display: none; }
@media (max-width: 767px) {
	.sk-mobil-leiste.is-an {
		display: flex;
		align-items: center;
		gap: 12px;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9980; /* unter Kontakt-Knopf (9990), Dialogen und Cookie-Banner */
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: #faf6f0;
		border-top: 1px solid #e6dfd4;
		box-shadow: 0 -4px 16px rgba(43, 35, 32, .08);
		animation: sk-leiste-rein .2s ease-out;
	}
	.sk-mobil-preis { flex: 0 0 auto; font-weight: 700; font-size: 17px; color: var(--sk-braun, #2b2320); white-space: nowrap; }
	.sk-mobil-preis:empty { display: none; }
	.sk-mobil-btn {
		flex: 1 1 auto;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		min-height: 46px;
		padding: 10px 16px !important;
		font-size: 16px !important;
		font-weight: 600 !important;
		line-height: 1.2 !important;
		color: #fff !important;
		background: var(--sk-braun, #2b2320) !important;
		border: 0 !important;
		border-radius: 999px !important;
		cursor: pointer;
		transition: background .2s;
	}
	/* Nächster Schritt fehlt noch (Fotos, Name, Variante): heller, führt zur Stelle statt in den Warenkorb */
	.sk-mobil-btn.ist-schritt { background: #6b5a50 !important; }
	body.sk-mobil-leiste-an { padding-bottom: 72px; }
	body.sk-mobil-leiste-an .sk-kontakt-knopf { bottom: 84px !important; transition: bottom .2s; }
}
@keyframes sk-leiste-rein { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .sk-mobil-leiste.is-an { animation: none; } }
