/* ==========================================================================
   GO ShopLabel v0.1.9 – Frontend
   ========================================================================== */
.go-shoplabel-accordion {
	margin: 18px 0 0;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 3px;
	background: #fff;
	color: inherit;
}

.go-shoplabel-accordion > summary {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 42px 10px 14px;
	cursor: pointer;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	user-select: none;
}

.go-shoplabel-accordion > summary::-webkit-details-marker {
	display: none;
}

.go-shoplabel-accordion > summary:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.go-shoplabel-check {
	flex: 0 0 auto;
	font-weight: 700;
}

.go-shoplabel-summary-text {
	min-width: 0;
}

.go-shoplabel-chevron {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .16s ease;
}

.go-shoplabel-accordion[open] .go-shoplabel-chevron {
	transform: translateY(-25%) rotate(225deg);
}

.go-shoplabel-panel {
	padding: 0 14px 16px;
}

.go-shoplabel-label img {
	display: block;
	width: 100%;
	max-width: 640px;
	height: auto;
	margin: 0;
	border: 0;
}

.go-shoplabel-image-link {
	display: inline-block;
	max-width: 100%;
}

.go-shoplabel-pdf {
	margin: 12px 0 0;
}

.go-shoplabel-pdf a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Hervorhebung der Gewährleistungslinks in Navigation und Footer. */
.go-shoplabel-highlight-links {
	--go-shoplabel-accent: #1d72b8;
}

/*
 * Desktop / Enfold-Untermenü:
 * Der vorhandene Link bleibt vollständig von Enfold formatiert; ergänzt wird
 * nur ein dauerhafter Rahmen über die volle Link-/Menüzeile.
 */
@media (min-width: 990px) {
	.go-shoplabel-highlight-links .main_menu .sub-menu > li > a[href*="gewaehrleistung" i],
	.go-shoplabel-highlight-links .main_menu .sub-menu > li > a[href*="gewährleistung" i],
	.go-shoplabel-highlight-links .main_menu .sub_menu > li > a[href*="gewaehrleistung" i],
	.go-shoplabel-highlight-links .main_menu .sub_menu > li > a[href*="gewährleistung" i] {
		border: 1px solid var(--go-shoplabel-accent) !important;
		border-radius: 3px;
		box-sizing: border-box;
		/* Schriftfarbe, Padding, Breite und Hover vollständig von Enfold übernehmen. */
	}
}

/* Footer/Socket/Page-as-Footer: weißer Rahmen auf dem blauen Hintergrund. */
.go-shoplabel-highlight-links footer a[href*="gewaehrleistung" i],
.go-shoplabel-highlight-links footer a[href*="gewährleistung" i],
.go-shoplabel-highlight-links #footer a[href*="gewaehrleistung" i],
.go-shoplabel-highlight-links #footer a[href*="gewährleistung" i],
.go-shoplabel-highlight-links #socket a[href*="gewaehrleistung" i],
.go-shoplabel-highlight-links #socket a[href*="gewährleistung" i],
.go-shoplabel-highlight-links #footer-page a[href*="gewaehrleistung" i],
.go-shoplabel-highlight-links #footer-page a[href*="gewährleistung" i],
.go-shoplabel-highlight-links .socket_color a[href*="gewaehrleistung" i],
.go-shoplabel-highlight-links .socket_color a[href*="gewährleistung" i] {
	display: inline-block;
	padding: 1px 3px 3px 1px;
	line-height: 1.35;
	border: 1px solid #fff !important;
	border-radius: 3px;
	box-sizing: border-box;
}

.go-shoplabel-highlight-links footer a[href*="gewaehrleistung" i]:hover,
.go-shoplabel-highlight-links footer a[href*="gewährleistung" i]:hover,
.go-shoplabel-highlight-links #footer a[href*="gewaehrleistung" i]:hover,
.go-shoplabel-highlight-links #footer a[href*="gewährleistung" i]:hover,
.go-shoplabel-highlight-links #socket a[href*="gewaehrleistung" i]:hover,
.go-shoplabel-highlight-links #socket a[href*="gewährleistung" i]:hover,
.go-shoplabel-highlight-links #footer-page a[href*="gewaehrleistung" i]:hover,
.go-shoplabel-highlight-links #footer-page a[href*="gewährleistung" i]:hover {
	box-shadow: 0 0 0 1px #fff;
}

/*
 * Mobile / Enfold-Burger-Menü:
 * Der weiße Rahmen sitzt direkt um den sichtbaren Menütext.
 */
@media (max-width: 989px) {
	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewährleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay-inner a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay-inner a[href*="gewährleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links #av-burger-menu-ul a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links #av-burger-menu-ul a[href*="gewährleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewaehrleistung" i],
	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewährleistung" i] {
		border-color: #fff !important;
	}

	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay a[href*="gewährleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay-inner a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links .av-burger-overlay-inner a[href*="gewährleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links #av-burger-menu-ul a[href*="gewaehrleistung" i] .avia-menu-text,
	.go-shoplabel-highlight-links #av-burger-menu-ul a[href*="gewährleistung" i] .avia-menu-text {
		display: inline-block;
		padding: 1px 4px 2px;
		border: 1px solid #fff !important;
		border-radius: 3px;
		box-sizing: border-box;
	}
}

.go-shoplabel-accordion--checkout {
	margin: 12px 0 18px;
}

@media (max-width: 767px) {
	.go-shoplabel-accordion {
		margin-top: 16px;
	}

	.go-shoplabel-accordion > summary {
		min-height: 48px;
		padding: 12px 40px 12px 12px;
		font-size: 15px;
	}

	.go-shoplabel-panel {
		padding: 0 12px 14px;
	}

	.go-shoplabel-label img {
		width: 100%;
		max-width: none;
	}
}
