/*
 * TOP-MEDIA – Allgemeine Gestaltung (Theme 1.9.19)
 *
 * Übernommen aus Code Snippets (Betreiberauftrag 01.12.2026):
 * - #40 „Barrierefrei Grundpaket“ und #62 „Barrierefreiheit / Kontrast Frontend“ (zusammengeführt; Tastaturfokus
 *   nur bei Tastaturbedienung über :focus-visible, Mausklicks werden nicht mehr gelb umrandet)
 * - #26 „Passwort-Auge Styling“ (Symbol für den WooCommerce-Schalter „Passwort anzeigen“)
 */

/* ---------- Barrierefreiheit / Kontrast ---------- */

/* Gute Lesbarkeit ohne pauschale Schriftvergrößerung */
body {
	line-height: 1.5;
}

/* Tastaturfokus sichtbar, ohne Mausklicks unnötig zu markieren */
:focus-visible {
	outline: 2px solid #FFD200;
	outline-offset: 2px;
}

/* Tag-Cloud */
.widget .tagcloud a {
	color: #222222 !important;
	border-color: #cccccc;
}

/* Zuletzt angesehene Produkte (Browserverlauf) */
.widget_recently_viewed_products .product-title,
.widget_woocommerce_recently_viewed_products .product-title,
.widget_woocommerce_recently_viewed_products li a {
	color: #222 !important;
	font-weight: 500;
}

/* Artikelnummer */
.sku {
	color: #222222 !important;
}

/* Kategorien und Schlagwörter */
.woocommerce .posted_in a,
.woocommerce .tagged_as a {
	color: #222 !important;
	font-weight: 500;
}

/* Mengensteuerung */
.quantity input.minus,
.quantity input.plus {
	color: #222 !important;
	background-color: #f0f0f0 !important;
	border: 1px solid #999;
	font-weight: bold;
}

/* Produkt-Reiter */
.woocommerce .tabs li a {
	color: #222 !important;
	font-weight: 500;
}

/* Leerer Warenkorb */
.woocommerce-info.cart-empty {
	background-color: #f8f8f8;
	border-left: 4px solid #005fcc;
	padding: 10px 16px;
	color: #222 !important;
}

/* ---------- Passwort anzeigen (WooCommerce-Schalter) ---------- */

.show-password-input {
	background: none;
	border: none;
	cursor: pointer;
	width: 36px;
	height: 36px;
	padding: 6px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z'/%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z'/%3E%3C/svg%3E");
}

.show-password-input.display-password {
	background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='black'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.875 18.825A10.05 10.05 0 0112 19c-4.478 0-8.268-2.943-9.542-7a9.977 9.977 0 012.188-3.368m3.322-2.383A9.956 9.956 0 0112 5c4.478 0 8.268 2.943 9.542 7a9.978 9.978 0 01-4.243 5.042M15 12a3 3 0 00-3-3m0 0a2.99 2.99 0 00-2.223.993M12 9v0m0 0L3 3m18 18L3 3'/%3E%3C/svg%3E") !important;
}

.show-password-input:hover,
.show-password-input:focus {
	background-color: #f7c948;
	border-radius: 4px;
}
