/* Gasflaskkontroll – opening hours widget */

#widgets .widget-wrapper:has(.gfk-opening-hours),
.widget-wrapper:has(.gfk-opening-hours) {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	padding: 1.35rem 1.4rem 1.2rem;
}

#widgets .widget-wrapper:has(.gfk-opening-hours) .widget-title-home h3,
.widget-wrapper:has(.gfk-opening-hours) .widget-title-home h3,
.widget-wrapper:has(.gfk-opening-hours) h3 {
	border-bottom: 2px solid #0f4c81;
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
}

/* Fallback when inline colors remain in editor markup */
#widgets .widget-wrapper .textwidget span[style],
#widgets .widget-wrapper .textwidget font,
#content .textwidget span[style],
#content .textwidget font {
	color: inherit !important;
}

.gfk-opening-hours {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.gfk-opening-hours p {
	margin: 0;
	line-height: 1.45;
}

.gfk-opening-hours .gfk-hours-regular {
	color: #1e293b;
	font-size: 1rem;
	font-weight: 600;
}

.gfk-opening-hours .gfk-hours-lunch {
	color: #475569;
	font-size: 0.95rem;
	padding-left: 0.15rem;
}

.gfk-opening-hours .gfk-hours-notice {
	background: #fff7ed;
	border-left: 3px solid #f59e0b;
	border-radius: 8px;
	color: #7c2d12;
	font-size: 0.92rem;
	padding: 0.65rem 0.75rem;
}

.gfk-opening-hours .gfk-hours-closed {
	background: #fef2f2;
	border-left: 3px solid #dc2626;
	border-radius: 8px;
	color: #991b1b;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 0.55rem 0.75rem;
}

.gfk-opening-hours .gfk-hours-vacation {
	background: #fdf2f8;
	border-left: 3px solid #ec4899;
	border-radius: 8px;
	color: #9d174d;
	font-size: 0.92rem;
	padding: 0.65rem 0.75rem;
}

@media (max-width: 767px) {
	#widgets .widget-wrapper:has(.gfk-opening-hours),
	.widget-wrapper:has(.gfk-opening-hours) {
		padding: 1.1rem 1rem;
	}
}

/* Contact card */
#widgets .widget-wrapper:has(.gfk-contact-card),
.widget-wrapper:has(.gfk-contact-card) {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	padding: 1.35rem 1.4rem 1.2rem;
}

#widgets .widget-wrapper:has(.gfk-contact-card) .widget-title-home h3,
.widget-wrapper:has(.gfk-contact-card) h3 {
	border-bottom: 2px solid #0f4c81;
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
}

.gfk-contact-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: left;
}

.gfk-contact-card .gfk-contact-line {
	margin: 0;
	line-height: 1.5;
}

.gfk-contact-card .gfk-contact-label {
	color: #475569;
	font-weight: 600;
}

.gfk-contact-card .gfk-contact-phone,
.gfk-contact-card .gfk-contact-email,
.gfk-contact-card .gfk-contact-address {
	color: #0f4c81;
	font-weight: 600;
	text-decoration: none;
}

.gfk-contact-card .gfk-contact-phone:hover,
.gfk-contact-card .gfk-contact-email:hover,
.gfk-contact-card .gfk-contact-address:hover {
	color: #0b3d66;
	text-decoration: underline;
}

/* Contact page */
.gfk-contact-page {
	margin: 0 0 1.5rem;
}

.gfk-contact-page .gfk-contact-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	border-top: 3px solid #0f4c81;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.5rem;
}

.gfk-contact-page > h3,
.gfk-contact-page > h4 {
	border-bottom: 2px solid #0f4c81;
	color: #006aa7;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 800;
	line-height: 1.3;
	margin: 1.5rem 0 0.85rem;
	padding-bottom: 0.55rem;
}

.gfk-contact-page > h3:first-child,
.gfk-contact-page > h4:first-child {
	margin-top: 0;
}

.gfk-contact-page .gfk-opening-hours {
	margin-top: 0.25rem;
}

/* Homepage intro */
.gfk-intro-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	margin: 0 0 1.5rem;
	padding: 1.5rem 1.6rem;
}

.gfk-intro-title {
	border-bottom: 2px solid #0f4c81;
	font-size: clamp(1.7rem, 3.1vw, 2.35rem);
	line-height: 1.22;
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
	text-align: center;
}

.gfk-intro-title-wrap {
	display: block;
	font-weight: 800;
	line-height: 1.2;
	overflow: visible;
	position: relative;
}

.gfk-intro-title-line {
	display: block;
	max-width: 100%;
	overflow: visible;
	white-space: normal;
	word-wrap: break-word;
}

.gfk-intro-title-line--lead {
	font-size: 0.58em;
	font-weight: 600;
	letter-spacing: 0.05em;
	margin-bottom: 0.2em;
}

.gfk-intro-title-line--brand,
.gfk-intro-title-line--suffix {
	font-size: 1em;
}

/* Alltid läsbar blå text */
.gfk-intro-title-base {
	color: #006aa7;
	display: block;
	text-shadow:
		0 1px 0 #fff,
		1px 2px 0 rgba(0, 75, 122, 0.35),
		2px 4px 10px rgba(0, 106, 167, 0.18);
}

/* Kompakt svensk flagga – kontinuerlig svep vänster → höger */
.gfk-intro-title-flag-sweep {
	animation:
		gfk-flag-pass 5.5s linear infinite,
		gfk-flag-glint 1.4s ease-in-out infinite;
	background-clip: text;
	background-image:
		linear-gradient(90deg, transparent 47%, #fecc00 48.5%, #fecc00 51.5%, transparent 53%),
		linear-gradient(0deg, transparent 46.5%, #fecc00 48.5%, #fecc00 51.5%, transparent 53.5%),
		linear-gradient(90deg, #006aa7 0%, #0088c2 100%),
		linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.7) 50%, transparent 65%);
	background-repeat: no-repeat;
	background-size: 20% 88%, 20% 88%, 20% 88%, 20% 88%;
	-webkit-background-clip: text;
	color: transparent;
	inset: 0;
	-webkit-text-fill-color: transparent;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

@media (max-width: 520px) {
	.gfk-intro-title {
		font-size: clamp(1.45rem, 5.2vw, 1.85rem);
	}
}

/* Andra flaggan halva cykeln efter – ingen paus i loopen */
.gfk-intro-title-flag-sweep--alt {
	animation-delay: -2.75s, -0.7s;
}

@keyframes gfk-flag-pass {
	0% {
		background-position: -25% 0, -25% 0, -25% 0, -25% 0;
	}

	100% {
		background-position: 125% 0, 125% 0, 125% 0, 125% 0;
	}
}

@keyframes gfk-flag-glint {
	0%,
	100% {
		filter: brightness(1) saturate(1.1);
	}

	50% {
		filter: brightness(1.45) saturate(1.45);
	}
}

@media (prefers-reduced-motion: reduce) {
	.gfk-intro-title-flag-sweep,
	.gfk-intro-title-flag-sweep--alt {
		animation: none;
		background-position: 50% 0, 50% 0, 50% 0, 50% 0;
		filter: none;
		opacity: 0.3;
	}

	.gfk-intro-title-flag-sweep--alt {
		display: none;
	}
}

.gfk-intro-body {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

.gfk-intro-paragraph {
	color: #334155;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0;
	text-align: left;
}

.gfk-intro-leadtime {
	background: #eff6ff;
	border-left: 3px solid #0f4c81;
	border-radius: 8px;
	color: #0f4c81;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
	padding: 0.6rem 0.75rem;
	text-align: left;
}

.gfk-intro-link {
	color: #0f4c81;
	font-weight: 600;
	text-decoration: none;
}

.gfk-intro-link:hover {
	color: #0b3d66;
	text-decoration: underline;
}

.gfk-intro-link--accreditation {
	position: relative;
	text-decoration: underline;
	text-underline-offset: 0.15em;
	z-index: 2;
}

.gfk-intro-accreditation-link {
	margin-top: 0.15rem;
	position: relative;
	z-index: 2;
}

/* Underwater air bubbles — between water background and page content */
.gfk-underwater-bubbles {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.gfk-underwater-bubbles canvas {
	display: block;
	width: 100%;
	height: 100%;
}

body {
	background: linear-gradient(180deg, #a8cbe8 0%, #c2dcf0 42%, #d9e9f5 100%) !important;
}

.front-page #wrapper,
.home #wrapper {
	background-color: transparent !important;
	border: none !important;
}

#header {
	position: relative;
	z-index: 20;
}

#container,
#wrapper,
#content,
#widgets {
	position: relative;
	z-index: 2;
}

.front-page .gfk-intro-card,
.home .gfk-intro-card,
.front-page #widgets .widget-wrapper,
.home #widgets .widget-wrapper,
.front-page .widget-wrapper:has(.gfk-opening-hours),
.home .widget-wrapper:has(.gfk-opening-hours),
.front-page .widget-wrapper:has(.gfk-contact-card),
.home .widget-wrapper:has(.gfk-contact-card) {
	background: rgba(255, 255, 255, 0.8) !important;
}

/* Floating gas-cylinder and logo decorations (top layer, non-interactive) */
.gfk-flying-objects {
	pointer-events: none;
	z-index: 9990;
}

.gfk-flying-object {
	--gfk-scale: 1;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9990;
	width: calc(clamp(80px, 10vw, 144px) * var(--gfk-scale));
	height: auto;
	opacity: 0.16;
	pointer-events: none;
	user-select: none;
	will-change: transform;
}

.gfk-flying-object--logo {
	width: calc(clamp(72px, 9vw, 128px) * var(--gfk-scale));
	opacity: 0.14;
}

.gfk-flying-object--1 {
	animation: gfk-float-1 26s ease-in-out infinite;
}

.gfk-flying-object--2 {
	animation: gfk-float-2 34s linear infinite reverse;
}

.gfk-flying-object--3 {
	animation: gfk-float-3 22s ease-in-out infinite;
}

.gfk-flying-object--4 {
	animation: gfk-float-4 38s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.gfk-flying-object--5 {
	animation: gfk-float-5 30s ease-in-out infinite reverse;
}

.gfk-flying-object--6 {
	animation: gfk-float-6 18s linear infinite;
}

.gfk-flying-object--7 {
	animation: gfk-float-7 42s ease-in-out infinite;
}

.gfk-flying-object--8 {
	animation: gfk-float-8 28s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite reverse;
}

.gfk-flying-object--9 {
	animation: gfk-float-9 32s ease-in-out infinite;
}

.gfk-flying-object--10 {
	animation: gfk-float-10 27s linear infinite reverse;
}

.gfk-flying-object--11 {
	animation: gfk-float-11 36s ease-in-out infinite;
}

@keyframes gfk-float-1 {
	0% { transform: translate(-12vw, 5vh) rotate(-18deg); }
	25% { transform: translate(35vw, 65vh) rotate(22deg); }
	50% { transform: translate(82vw, 20vh) rotate(-8deg); }
	75% { transform: translate(15vw, 85vh) rotate(15deg); }
	100% { transform: translate(-12vw, 5vh) rotate(-18deg); }
}

@keyframes gfk-float-2 {
	0% { transform: translate(95vw, 80vh) rotate(12deg); }
	20% { transform: translate(60vw, 10vh) rotate(-25deg); }
	45% { transform: translate(5vw, 45vh) rotate(8deg); }
	70% { transform: translate(40vw, 90vh) rotate(-14deg); }
	100% { transform: translate(95vw, 80vh) rotate(12deg); }
}

@keyframes gfk-float-3 {
	0% { transform: translate(50vw, -8vh) rotate(5deg); }
	33% { transform: translate(90vw, 55vh) rotate(-20deg); }
	66% { transform: translate(8vw, 30vh) rotate(18deg); }
	100% { transform: translate(50vw, -8vh) rotate(5deg); }
}

@keyframes gfk-float-4 {
	0% { transform: translate(10vw, 70vh) rotate(-12deg); }
	15% { transform: translate(75vw, 75vh) rotate(28deg); }
	40% { transform: translate(88vw, 15vh) rotate(-5deg); }
	65% { transform: translate(25vw, 5vh) rotate(20deg); }
	85% { transform: translate(-5vw, 50vh) rotate(-22deg); }
	100% { transform: translate(10vw, 70vh) rotate(-12deg); }
}

@keyframes gfk-float-5 {
	0% { transform: translate(70vw, 40vh) rotate(16deg); }
	30% { transform: translate(20vw, 15vh) rotate(-10deg); }
	55% { transform: translate(55vw, 88vh) rotate(24deg); }
	80% { transform: translate(92vw, 60vh) rotate(-18deg); }
	100% { transform: translate(70vw, 40vh) rotate(16deg); }
}

@keyframes gfk-float-6 {
	0% { transform: translate(-8vw, 90vh) rotate(-6deg); }
	25% { transform: translate(45vw, 25vh) rotate(30deg); }
	50% { transform: translate(78vw, 78vh) rotate(-16deg); }
	75% { transform: translate(30vw, 55vh) rotate(10deg); }
	100% { transform: translate(-8vw, 90vh) rotate(-6deg); }
}

@keyframes gfk-float-7 {
	0% { transform: translate(85vw, -5vh) rotate(8deg); }
	20% { transform: translate(12vw, 60vh) rotate(-28deg); }
	50% { transform: translate(65vw, 35vh) rotate(14deg); }
	75% { transform: translate(38vw, 92vh) rotate(-12deg); }
	100% { transform: translate(85vw, -5vh) rotate(8deg); }
}

@keyframes gfk-float-8 {
	0% { transform: translate(5vw, 20vh) rotate(20deg); }
	35% { transform: translate(58vw, 8vh) rotate(-8deg); }
	60% { transform: translate(95vw, 42vh) rotate(26deg); }
	85% { transform: translate(22vw, 78vh) rotate(-20deg); }
	100% { transform: translate(5vw, 20vh) rotate(20deg); }
}

@keyframes gfk-float-9 {
	0% { transform: translate(18vw, 35vh) rotate(-10deg); }
	30% { transform: translate(72vw, 12vh) rotate(14deg); }
	55% { transform: translate(48vw, 72vh) rotate(-18deg); }
	80% { transform: translate(6vw, 58vh) rotate(8deg); }
	100% { transform: translate(18vw, 35vh) rotate(-10deg); }
}

@keyframes gfk-float-10 {
	0% { transform: translate(62vw, 82vh) rotate(6deg); }
	25% { transform: translate(28vw, 48vh) rotate(-16deg); }
	50% { transform: translate(88vw, 38vh) rotate(12deg); }
	75% { transform: translate(42vw, 8vh) rotate(-8deg); }
	100% { transform: translate(62vw, 82vh) rotate(6deg); }
}

@keyframes gfk-float-11 {
	0% { transform: translate(80vw, 28vh) rotate(10deg); }
	20% { transform: translate(35vw, 68vh) rotate(-22deg); }
	45% { transform: translate(4vw, 22vh) rotate(16deg); }
	70% { transform: translate(55vw, 52vh) rotate(-6deg); }
	100% { transform: translate(80vw, 28vh) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
	.gfk-underwater-bubbles {
		display: none;
	}

	.gfk-flying-object {
		animation: none !important;
	}

	.gfk-flying-object--1 { transform: translate(85vw, 75vh); }
	.gfk-flying-object--5 { transform: translate(12vw, 20vh); }
	.gfk-flying-object--logo.gfk-flying-object--9 { transform: translate(70vw, 35vh); }
	.gfk-flying-object--logo.gfk-flying-object--10 { transform: translate(25vw, 65vh); }
}

@media (max-width: 767px) {
	.gfk-flying-object {
		width: calc(clamp(72px, 16vw, 112px) * var(--gfk-scale));
	}
}

/* Mobil/tablet – alla flikar synliga i grå listen (ingen dropdown) */
@media screen and (max-width: 980px) {
	body.gfk-gray-mobile-nav .sub-header-menu,
	#header .sub-header-menu {
		display: none !important;
	}

	body.gfk-gray-mobile-nav .main-nav,
	#header .main-nav {
		background-color: #585858 !important;
		background-image: linear-gradient(to bottom, #585858, #3d3d3d) !important;
		clear: both;
		display: block !important;
		filter: none;
		margin: 0.65rem auto 0;
		padding: 0;
		position: relative;
		visibility: visible !important;
		width: 100%;
	}

	body.gfk-gray-mobile-nav .main-nav #responsive_current_menu_item,
	body.gfk-gray-mobile-nav .main-nav a#responsive_menu_button,
	#header .main-nav #responsive_current_menu_item,
	#header .main-nav a#responsive_menu_button {
		display: none !important;
	}

	body.gfk-gray-mobile-nav .main-nav .menu,
	#header .main-nav .menu {
		display: flex !important;
		flex-wrap: nowrap;
		margin: 0;
		padding: 0;
		position: static !important;
		top: auto !important;
		visibility: visible !important;
		width: 100%;
	}

	body.gfk-gray-mobile-nav .main-nav .menu > li,
	#header .main-nav .menu > li {
		background: transparent;
		border: none;
		flex: 1 1 0;
		float: none;
		margin: 0;
		min-width: 0;
	}

	body.gfk-gray-mobile-nav .main-nav .menu > li > a,
	#header .main-nav .menu > li > a {
		border-left: 1px solid #3d3d3d !important;
		color: #ffffff !important;
		display: flex !important;
		align-items: center;
		justify-content: center;
		font-size: clamp(0.625rem, 2.8vw, 0.8125rem);
		font-weight: 700;
		height: auto !important;
		line-height: 1.2 !important;
		min-height: 44px;
		padding: 0.4rem 0.25rem !important;
		text-align: center;
		text-shadow: 0 -1px 0 #000000;
		white-space: normal !important;
	}

	body.gfk-gray-mobile-nav .main-nav .menu > li:first-child > a,
	#header .main-nav .menu > li:first-child > a {
		border-left: none !important;
	}

	body.gfk-gray-mobile-nav .main-nav .menu > li > a:hover,
	#header .main-nav .menu > li > a:hover {
		background-color: #808080 !important;
		color: #ffffff !important;
	}

	body.gfk-gray-mobile-nav .main-nav .menu > .current-menu-item > a,
	body.gfk-gray-mobile-nav .main-nav .menu > .current_page_item > a,
	body.gfk-gray-mobile-nav .main-nav .menu > .current-page-item > a,
	#header .main-nav .menu > .current-menu-item > a,
	#header .main-nav .menu > .current_page_item > a,
	#header .main-nav .menu > .current-page-item > a {
		background-color: #343434 !important;
		color: #ffffff !important;
	}
}

/* Accreditation page */
.gfk-accreditation-page {
	margin: 0 0 1.5rem;
}

.gfk-accreditation-card {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	margin: 0 0 1.25rem;
	padding: 1.35rem 1.5rem;
}

.gfk-accreditation-card--lead {
	border-top: 3px solid #0f4c81;
}

.gfk-accreditation-heading {
	border-bottom: 2px solid #0f4c81;
	color: #006aa7;
	font-size: clamp(1.15rem, 2.4vw, 1.45rem);
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 0.85rem;
	padding-bottom: 0.55rem;
}

.gfk-accreditation-paragraph {
	color: #334155;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 0.85rem;
	text-align: left;
}

.gfk-accreditation-paragraph:last-child {
	margin-bottom: 0;
}

.gfk-accreditation-list {
	color: #334155;
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 1rem;
	padding-left: 1.25rem;
}

.gfk-accreditation-list:last-child {
	margin-bottom: 0;
}

.gfk-accreditation-link {
	color: #0f4c81;
	font-weight: 600;
	text-decoration: none;
}

.gfk-accreditation-link:hover {
	color: #0b3d66;
	text-decoration: underline;
}

/* Betalning / Swish */
.gfk-swish-qr-link {
	display: inline-block;
	line-height: 0;
	max-width: 100%;
}

.gfk-swish-qr-link img {
	display: block;
	height: auto;
	max-width: min(280px, 100%);
}

.gfk-swish-actions {
	margin: 1.25rem 0 0;
	text-align: center;
}

.gfk-swish-open-button {
	background: linear-gradient(to bottom, #49b96a, #2f9a4f);
	border-radius: 10px;
	box-shadow: 0 4px 14px rgba(47, 154, 79, 0.35);
	color: #ffffff !important;
	display: inline-block;
	font-size: 1.05rem;
	font-weight: 700;
	padding: 0.85rem 1.35rem;
	text-decoration: none !important;
}

.gfk-swish-open-button:hover {
	background: linear-gradient(to bottom, #56c877, #38a85a);
	color: #ffffff !important;
}

.gfk-swish-hint {
	color: #64748b;
	font-size: 0.875rem;
	margin: 0.65rem 0 0;
}

.gfk-swish-copy-button {
	background: #ffffff;
	border: 2px solid #2f9a4f;
	border-radius: 10px;
	color: #2f9a4f;
	cursor: pointer;
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 600;
	margin-top: 0.65rem;
	padding: 0.65rem 1.1rem;
	-webkit-tap-highlight-color: transparent;
}

.gfk-swish-copy-button:hover {
	background: #f0fdf4;
}

.gfk-compare-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
	margin: 1rem 0 0;
}

@media (max-width: 640px) {
	.gfk-compare-grid {
		grid-template-columns: 1fr;
	}
}

.gfk-compare-col {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 1rem 1.1rem;
}

.gfk-compare-col--a {
	border-top: 3px solid #0f4c81;
}

.gfk-compare-col--b {
	border-top: 3px solid #94a3b8;
}

.gfk-compare-heading {
	color: #0f4c81;
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.65rem;
}

.gfk-compare-col--b .gfk-compare-heading {
	color: #64748b;
}

.gfk-compare-list {
	color: #334155;
	font-size: 0.95rem;
	line-height: 1.55;
	margin: 0;
	padding-left: 1.1rem;
}
