/* ==========================================================================
   City-Gutschein Harsewinkel – Styles für die Dienstleister-Plugins
   - sgh-code-info   (Guthabenabfrage)
   - sgh-store-pages (Teilnehmerliste + Teilnehmer-Detailseite)
   Einfügen unter: Divi > Theme-Optionen > Benutzerdefiniertes CSS
   oder Design > Customizer > Zusätzliches CSS
   ========================================================================== */

:root {
	--sgh-accent: #19a1af;
	--sgh-accent-dark: #128592;
	--sgh-accent-soft: #e8f6f7;
	--sgh-text: #333;
	--sgh-muted: #666;
	--sgh-border: #dfe5e8;
	--sgh-bg: #f5f8f9;
	--sgh-radius: 8px;
	--sgh-shadow: 0 2px 10px rgba(30, 50, 60, .08);
	--sgh-shadow-hover: 0 10px 28px rgba(30, 50, 60, .16);
}

/* Gemeinsamer Button-Look (Plugins nutzen .wp-block-button__link) */
.sgh-code-info .wp-block-button__link,
.sgh-store-list-filter .wp-block-button__link,
.sgh-store-view .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 2px solid var(--sgh-accent);
	border-radius: var(--sgh-radius);
	background: var(--sgh-accent);
	color: #fff !important;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}

.sgh-code-info .wp-block-button__link:hover,
.sgh-store-list-filter .wp-block-button__link:hover,
.sgh-store-view .wp-block-button__link:hover {
	background: var(--sgh-accent-dark);
	border-color: var(--sgh-accent-dark);
}

.sgh-code-info .wp-block-button__link:focus-visible,
.sgh-store-list-filter a:focus-visible,
.sgh-store-list-item > a:focus-visible,
.sgh-store-view a:focus-visible {
	outline: 3px solid rgba(25, 161, 175, .45);
	outline-offset: 2px;
}


/* ==========================================================================
   1. Guthabenabfrage (sgh-code-info)
   ========================================================================== */

/* Überschrift "Guthaben prüfen" direkt über dem Widget */
p:has(+ .sgh-code-info) {
	margin: 0 0 12px;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sgh-text);
}

.sgh-code-info + p:empty {
	display: none;
}

.sgh-code-info {
	padding: 24px;
	border: 1px solid var(--sgh-border);
	border-top: 4px solid var(--sgh-accent);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow);
	color: var(--sgh-text);
}

/* Bootstrap-Raster des Plugins neutralisieren: Label über dem Feld */
.sgh-code-info .form-group.row {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 16px;
}

.sgh-code-info .form-group.row:last-child {
	margin-bottom: 0;
}

.sgh-code-info .form-group.row > [class*="col-"] {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.sgh-code-info .col-form-label {
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--sgh-muted);
}

.sgh-code-info .form-control {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 12px 14px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: var(--sgh-bg);
	color: var(--sgh-text);
	font-family: inherit;
	font-size: 16px; /* verhindert Auto-Zoom auf iOS */
	letter-spacing: .04em;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.sgh-code-info .form-control::placeholder {
	color: #9aa5ab;
	letter-spacing: normal;
}

.sgh-code-info .form-control:focus {
	outline: none;
	border-color: var(--sgh-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(25, 161, 175, .2);
}

.sgh-code-info .form-control.has-error {
	border-color: #e08a00;
	box-shadow: 0 0 0 3px rgba(224, 138, 0, .15);
}

.sgh-code-info .sgh-code-info-btn-submit {
	width: 100%;
	margin-top: 4px;
	padding: 14px 22px;
	font-size: 16px;
}

/* Fehlermeldung */
.sgh-code-info .alert {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-radius: var(--sgh-radius);
	font-size: 14px;
}

.sgh-code-info .alert-danger {
	border: 1px solid #f3c2c2;
	border-left: 4px solid #d64545;
	background: #fdf1f1;
	color: #9b2c2c;
}

/* Ergebnis */
.sgh-code-info .sgh-code-info-screen-result h2 {
	margin: 0 0 16px;
	padding: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--sgh-text);
}

.sgh-code-info .sgh-code-info-screen-result h3 {
	margin: 24px 0 10px;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--sgh-text);
}

.sgh-code-info .table {
	width: 100%;
	margin: 0 0 12px;
	border: 1px solid var(--sgh-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--sgh-radius);
	overflow: hidden;
	background: #fff;
}

.sgh-code-info .table th,
.sgh-code-info .table td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--sgh-border);
	vertical-align: middle;
	text-align: left;
}

.sgh-code-info .table tr:last-child th,
.sgh-code-info .table tr:last-child td {
	border-bottom: 0;
}

.sgh-code-info .table th {
	width: 40%;
	background: var(--sgh-bg);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--sgh-muted);
}

.sgh-code-info .sgh-code-info-label-code-value {
	font-family: Consolas, Monaco, monospace;
	word-break: break-all;
}

.sgh-code-info .sgh-code-info-label-balance-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--sgh-accent);
}

/* Hinweis zum Verfall (Font Awesome ist nicht geladen -> Icon ausblenden) */
.sgh-code-info .sgh-code-info-screen-result > div:not([class]) {
	padding: 10px 14px;
	border-radius: var(--sgh-radius);
	background: var(--sgh-accent-soft);
	font-size: 13px;
	line-height: 1.5;
}

.sgh-code-info .fa {
	display: none;
}

/* Buchungsliste */
.sgh-code-info .sgh-code-info-transaction-list {
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	overflow: hidden;
	background: #fff;
}

.sgh-code-info .sgh-code-info-transaction-list:empty {
	display: none;
}

.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item {
	position: relative;
	padding: 10px 110px 10px 14px;
	border-top: 1px solid var(--sgh-border);
	font-size: 13px;
	line-height: 1.5;
}

.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item:first-child {
	border-top: 0;
}

.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item:nth-child(even) {
	background: var(--sgh-bg);
}

.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item .time {
	font-weight: 600;
	color: var(--sgh-text);
}

.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item .value {
	float: none;
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	font-size: 16px;
	font-weight: 700;
	color: var(--sgh-text);
	white-space: nowrap;
}

.sgh-code-info .sgh-code-info-btn-restart {
	width: 100%;
	margin-top: 20px;
	background: transparent;
	color: var(--sgh-accent) !important;
}

.sgh-code-info .sgh-code-info-btn-restart:hover {
	background: var(--sgh-accent);
	color: #fff !important;
}


/* ==========================================================================
   2. Teilnehmerliste (sgh-store-pages)
   ========================================================================== */

.sgh-store-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 24px;
	margin: 0 0 40px;
}

.sgh-store-list > * {
	min-width: 0; /* verhindert seitliches Scrollen durch die Filter-Chips */
}

.sgh-store-list::before,
.sgh-store-list::after {
	display: none; /* evtl. Clearfix-Pseudoelemente aus Divi */
}

/* --- Filterleiste: Dropdown wird als Chip-Leiste dargestellt --- */
.sgh-store-list .sgh-store-list-filter {
	scroll-margin-top: 120px; /* Sprungziel nach Filterwahl, Platz für fixierten Header */
	grid-column: 1 / -1;
	width: auto;
	padding: 0 0 8px;
}

.sgh-store-list-filter .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: var(--sgh-bg);
}

.sgh-store-list-filter .wp-block-button {
	margin: 0;
}

.sgh-store-list-filter .dropdown {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
}

/* Toggle-Button ohne Bootstrap-JS funktionslos -> nur Label */
.sgh-store-list-filter .dropdown-toggle {
	display: none !important;
}

.sgh-store-list-filter .dropdown::before {
	content: "Filter:";
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--sgh-muted);
}

.sgh-store-list-filter .dropdown-menu {
	position: static;
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	box-shadow: none;
}

.sgh-store-list-filter .dropdown-item {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--sgh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--sgh-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s;
}

.sgh-store-list-filter .dropdown-item:hover,
.sgh-store-list-filter .dropdown-item.active {
	border-color: var(--sgh-accent);
	background: var(--sgh-accent);
	color: #fff;
}

.sgh-store-list-filter .dropdown-divider {
	width: 1px;
	height: 22px;
	margin: 0 4px;
	background: var(--sgh-border);
}

/* PDF-Button als sekundärer Button */
/* Plugin setzt Inline-Farben (#dedede / #000) -> !important nötig */
.sgh-store-list-filter .wp-block-button:not(.dropdown) .wp-block-button__link {
	padding: 9px 18px;
	background: #fff !important;
	color: var(--sgh-accent) !important;
	font-size: 14px;
}

.sgh-store-list-filter .wp-block-button:not(.dropdown) .wp-block-button__link::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m0 0-5-5m5 5 5-5M4 19h16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.sgh-store-list-filter .wp-block-button:not(.dropdown) .wp-block-button__link:hover {
	background: var(--sgh-accent) !important;
	color: #fff !important;
}

/* Ladezustand beim Filtern (gutschein-plugins.js) */
.sgh-store-list > :not(.sgh-store-list-filter) {
	transition: opacity .2s;
}

.sgh-store-list.is-loading > :not(.sgh-store-list-filter) {
	opacity: .4;
	pointer-events: none;
}

/* --- Karten --- */
.sgh-store-list .sgh-store-list-item {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	border-radius: var(--sgh-radius);
	text-align: left;
}

.sgh-store-list-item > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow);
	text-decoration: none;
	transition: box-shadow .25s, transform .25s, border-color .25s;
}

.sgh-store-list-item > a:hover {
	border-color: var(--sgh-accent);
	box-shadow: var(--sgh-shadow-hover);
	transform: translateY(-3px);
}

/* Bild oben, Text darunter */
.sgh-store-list-item .item-body {
	order: -1;
	position: relative;
	min-height: 0;
	padding: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--sgh-accent-soft);
}

.sgh-store-list-item .item-body .background {
	opacity: 1;
	transition: transform .4s;
}

.sgh-store-list-item .item-body::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0) 60%);
	pointer-events: none;
}

.sgh-store-list-item > a:hover .item-body .background {
	transform: scale(1.05);
}

/* Logo als runde Plakette, unten links auf dem Bild */
.sgh-store-list-item .item-body .logo {
	z-index: 2;
	top: auto;
	bottom: 12px;
	left: 12px;
	width: 72px;
	height: 72px;
	padding: 6px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
	object-fit: contain;
}

.sgh-store-list-item .item-header {
	position: static;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 auto;
	width: auto;
	padding: 14px 16px 16px;
	border: 0;
	background: #fff;
}

.sgh-store-list-item .item-header .title {
	margin: 0;
	padding: 0;
	color: var(--sgh-text) !important;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sgh-store-list-item > a:hover .title {
	color: var(--sgh-accent) !important;
}

.sgh-store-list-item .item-header .category {
	position: static;
	align-self: flex-start;
	z-index: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--sgh-accent-soft);
	color: var(--sgh-accent-dark);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
}


/* ==========================================================================
   3. Teilnehmer-Detailseite (single-sgh-store)
   ========================================================================== */

.single-sgh-store #main {
	box-sizing: border-box;
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 150px 0 60px;
}

.sgh-store-view.row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: start;
	gap: 30px;
	margin: 0;
}

.sgh-store-view > [class*="col-"] {
	width: auto;
	max-width: none;
	padding: 0;
}

.sgh-store-view .sgh-store-data,
.sgh-store-view .sgh-store-map-image {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--sgh-border);
	border-radius: var(--sgh-radius);
	background: #fff;
	box-shadow: var(--sgh-shadow);
}

.sgh-store-view .carousel-item img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.sgh-store-view .sgh-store-text {
	padding: 22px 24px 24px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--sgh-text);
}

.sgh-store-view .sgh-store-text > div {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 4px 0;
	overflow-wrap: anywhere;
}

.sgh-store-view .sgh-store-text a {
	color: var(--sgh-accent);
	text-decoration: none;
}

.sgh-store-view .sgh-store-text a:hover {
	text-decoration: underline;
}

.sgh-store-view .sgh-store-text hr {
	height: 1px;
	margin: 16px 0;
	border: 0;
	background: var(--sgh-border);
}

/* Hinweistext unter der Linie */
.sgh-store-view .sgh-store-text hr ~ div {
	padding: 12px 14px;
	border-radius: var(--sgh-radius);
	background: var(--sgh-accent-soft);
	font-weight: 500;
}

/* Icons: Font Awesome wird nicht geladen -> eigene SVG-Icons */
.sgh-store-view .sgh-store-text .fa {
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	background: var(--sgh-accent);
	-webkit-mask: var(--sgh-icon) center / contain no-repeat;
	mask: var(--sgh-icon) center / contain no-repeat;
}

.sgh-store-view .sgh-store-text .fa::before {
	content: none;
}

.sgh-store-view .fa-map-marker {
	--sgh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}

.sgh-store-view .fa-phone-square {
	--sgh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E");
}

.sgh-store-view .fa-envelope {
	--sgh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1Zm9 7.2L4 7.3V8l8 5 8-5v-.7l-8 4.9Z'/%3E%3C/svg%3E");
}

.sgh-store-view .fa-globe {
	--sgh-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.7 3.8 5.7 3.8 9s-1.3 6.3-3.8 9c-2.5-2.7-3.8-5.7-3.8-9S9.5 5.7 12 3Z'/%3E%3C/svg%3E");
}

/* Karte */
.sgh-store-view .sgh-store-map-image img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity .2s;
}

.sgh-store-view .sgh-store-map-image a:hover img {
	opacity: .9;
}

.sgh-store-view .sgh-store-map-btn {
	display: block;
	margin: 20px 0 0;
	text-align: center;
}

.sgh-store-view .sgh-store-map-btn .wp-block-button__link {
	width: 100%;
	box-sizing: border-box;
}


/* "Ähnliche Geschäfte" unter der Detailansicht */
.single-sgh-store #main > hr {
	height: 1px;
	margin: 50px 0 30px;
	border: 0;
	background: var(--sgh-border);
}

.single-sgh-store #main > h3 {
	margin: 0 0 20px;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	color: var(--sgh-text);
}

.sgh-store-list > .col-12:not(.sgh-store-list-filter) {
	grid-column: 1 / -1;
	width: auto;
	padding: 8px 0 0;
	text-align: center;
}

.sgh-store-list .sgh-store-list-btn .wp-block-button__link {
	display: inline-flex;
	padding: 12px 26px;
	border: 2px solid var(--sgh-accent);
	border-radius: var(--sgh-radius);
	background: #fff;
	color: var(--sgh-accent) !important;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

.sgh-store-list .sgh-store-list-btn .wp-block-button__link:hover {
	background: var(--sgh-accent);
	color: #fff !important;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet / Divi-Mobile-Header (< 981px) */
@media (max-width: 980px) {
	.single-sgh-store #main {
		width: 90%;
		padding-top: 110px; /* mobiler Divi-Header ist absolut positioniert (~80px) */
	}

	.sgh-store-view.row {
		grid-template-columns: 1fr;
	}

	/* mobiler Header scrollt mit -> kaum Abstand nötig */
	.sgh-store-list .sgh-store-list-filter {
		scroll-margin-top: 20px;
	}
}

/* Smartphone */
@media (max-width: 767px) {
	/* Divi-Fix: die Phone-Spaltenklasse ist gesetzt, die Regel dazu fehlt
	   -> Text- und Abfrage-Spalte waren mobil nur ~40/60 % breit */
	.et_flex_row > .et_flex_column_24_24_phone {
		width: 100% !important;
		max-width: 100%;
	}

	.sgh-code-info {
		padding: 18px 16px;
	}

	.sgh-code-info .sgh-code-info-label-balance-value {
		font-size: 20px;
	}

	.sgh-code-info .sgh-code-info-transaction-list .transaction-list-item {
		padding-right: 90px;
	}

	.sgh-store-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.sgh-store-list-filter .wp-block-buttons {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 12px;
		padding: 12px;
	}

	.sgh-store-list-filter .wp-block-buttons > .wp-block-button {
		width: 100%;
		max-width: 100%;
	}

	/* Chips umbrechen statt seitlich scrollen – alle Filter sichtbar */
	.sgh-store-list-filter .dropdown {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		min-width: 0;
	}

	.sgh-store-list-filter .dropdown-menu {
		flex-wrap: wrap;
		gap: 8px;
		min-width: 0;
	}

	.sgh-store-list-filter .dropdown-divider {
		display: none;
	}

	.sgh-store-list-filter .dropdown-item {
		padding: 9px 14px; /* größere Touch-Fläche */
	}

	.sgh-store-list-filter .wp-block-button:not(.dropdown) .wp-block-button__link {
		width: 100%;
		box-sizing: border-box;
	}

	.sgh-store-list-item .item-body .logo {
		bottom: 8px;
		left: 8px;
		width: 52px;
		height: 52px;
		padding: 4px;
	}

	.sgh-store-list-item .item-header {
		gap: 6px;
		padding: 10px 12px 12px;
	}

	.sgh-store-list-item .item-header .title {
		font-size: 14px;
	}

	.sgh-store-list-item .item-header .category {
		padding: 2px 8px;
		font-size: 10px;
	}

	.sgh-store-view .sgh-store-text {
		padding: 18px 16px;
		font-size: 14px;
	}
}

/* Sehr schmale Geräte: eine Karte pro Zeile */
@media (max-width: 359px) {
	.sgh-store-list {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sgh-store-list-item > a,
	.sgh-store-list-item .item-body .background {
		transition: none;
	}

	.sgh-store-list-item > a:hover,
	.sgh-store-list-item > a:hover .item-body .background {
		transform: none;
	}
}
