/*
Theme Name: FÍ Blocks
Theme URI: https://vinna.fi.is
Author: Ferðafélag Íslands
Description: Block theme for the FÍ booking site (vinna.fi.is). Faithful copy of the Elementor design, built to replace Hello Elementor + Elementor Pro.
Requires at least: 6.6
Requires PHP: 7.4
Version: 0.1.0
Text Domain: fi-blocks
*/

/* ------------------------------------------------- Elementor kit (FÍ) */
/* Rules the Elementor kit added on top of Hello's reset (assets/css/base.css).
   The kit wrote them as `.elementor-kit-6 p` etc. (specificity 0,1,1) and the
   plugin CSS relies on that weight, so `:root x` keeps it. */
:root p {
	margin-block-end: 0.9rem;
}
:root a {
	color: var(--wp--preset--color--primary);
}
:root h1 { font-size: 2.7rem; font-weight: 500; letter-spacing: 0; }
:root h2 { font-size: 1.9rem; font-weight: 500; }
:root h3 { font-size: 1.25rem; font-weight: 500; }
:root h4 { font-size: 1.125rem; font-weight: 500; line-height: 1.5em; }
:root h5 { font-size: 1rem; font-weight: 700; }
:root h6 { font-size: 0.875rem; font-weight: 500; }
.wp-block-post-title {
	line-height: 1;
}
input[type="radio"],
input[type="checkbox"] {
	margin: 0;
}
/* `:root body`: core's global styles print `body { font-size: … }` later with
   the same weight, so a plain `body` here never applied (found 2026-11-02). */
@media (max-width: 1024px) {
	:root body { font-size: 0.9rem; }
	:root h1 { font-size: 2rem; }
	:root h2 { font-size: 1.5rem; }
	:root h3, :root h4 { font-size: 1rem; }
}
@media (max-width: 767px) {
	:root body { font-size: 0.8rem; }
	:root h1 { font-size: 1.7rem; }
	:root h2 { font-size: 1.05rem; }
}

/* ---------------------------------------------------------------- header */
/* The header floats over the top 100px (as the Elementor header did); the
   product sidebar starts at the very top and covers the logo there. */
.fi-header {
	position: absolute;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	height: 100px;
	z-index: 900;
}
.fi-header p {
	margin: 0;
}
.fi-header__logo img {
	width: 60px;
	height: 60px;
}
.fi-header .fi-header__nav {
	font-size: 0.8rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--menu);
}
.fi-header .fi-header__nav a {
	color: var(--wp--preset--color--menu);
	text-decoration: none;
}
.fi-header .fi-header__nav .wp-block-navigation-item:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1.6em;
	margin-left: 15px;
	background: rgba(0, 0, 0, 0.15);
	vertical-align: middle;
}
.fi-page-top {
	padding-top: 100px;
}

/* ------------------------------------------------------------- language */
/* Desktop: the dropdown; mobile (menu overlay): a plain nav item.
   li.… to beat core's .wp-block-navigation .wp-block-navigation-item, which prints later. */
.fi-header__nav li.fi-lang-alt {
	display: none;
}
.fi-header__nav .wp-block-navigation__responsive-container.is-menu-open li.fi-lang-alt {
	display: flex;
}
@media (max-width: 599px) {
	.fi-header .fi-lang {
		display: none;
	}
}
.fi-lang {
	position: relative;
	font-size: 0.8rem;
	line-height: 1;
	text-transform: uppercase;
}
.fi-lang__current {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	text-transform: inherit;
	color: var(--wp--preset--color--menu);
	cursor: pointer;
}
.fi-lang__current svg {
	width: 8px;
	height: 6px;
	fill: currentColor;
}
.fi-lang__list {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 140px;
	margin: 0;
	padding: 10px 0;
	list-style: none;
	background: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	z-index: 10;
}
.fi-lang:hover .fi-lang__list,
.fi-lang:focus-within .fi-lang__list {
	display: block;
}
.fi-lang__list a {
	display: block;
	padding: 10px 20px;
	color: #000;
	text-decoration: none;
}

/* ------------------------------------------------------------ header hover */
/* FÍ hover (Magnús 2026-11-08): no pink from the reset in base.css
   (button:hover / :focus → #c36). Links and the language button: text turns FÍ
   blue and a 2px blue line grows from the centre under it; the cart button gets
   a soft blue background. */
.fi-header button:hover,
.fi-header button:focus {
	background-color: transparent;
	color: inherit;
}
.fi-header .fi-header__nav .wp-block-navigation-item__label,
.fi-header .fi-lang__current {
	padding-block: 4px; /* room for the line, text stays centred */
	background-image: linear-gradient(var(--wp--preset--color--primary), var(--wp--preset--color--primary));
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size 0.2s ease, color 0.2s ease;
}
.fi-header .fi-header__nav .wp-block-navigation-item__content {
	transition: color 0.2s ease;
}
.fi-header .fi-header__nav .wp-block-navigation-item__content:hover,
.fi-header .fi-header__nav .wp-block-navigation-item__content:focus-visible,
.fi-header .fi-lang:hover .fi-lang__current,
.fi-header .fi-lang__current:focus-visible {
	color: var(--wp--preset--color--primary);
}
.fi-header .fi-header__nav .wp-block-navigation-item__content:hover .wp-block-navigation-item__label,
.fi-header .fi-header__nav .wp-block-navigation-item__content:focus-visible .wp-block-navigation-item__label,
.fi-header .fi-header__nav .current-menu-item .wp-block-navigation-item__label,
.fi-header .fi-lang:hover .fi-lang__current,
.fi-header .fi-lang__current:focus-visible {
	background-size: 100% 2px;
}
.fi-header .fi-lang__current:hover,
.fi-header .fi-lang__current:focus {
	background-color: transparent;
}
.fi-header .fi-lang__list a {
	transition: background-color 0.15s, color 0.15s;
}
.fi-header .fi-lang__list a:hover,
.fi-header .fi-lang__list a:focus-visible {
	background: rgba(0, 138, 210, 0.08);
	color: var(--wp--preset--color--primary);
}
.fi-header .fi-cart__toggle {
	transition: background-color 0.2s ease, color 0.2s ease;
}
.fi-header .fi-cart__toggle:hover,
.fi-header .fi-cart__toggle:focus-visible,
.fi-header .fi-cart.is-open .fi-cart__toggle {
	background-color: rgba(0, 138, 210, 0.1);
	color: var(--wp--preset--color--primary);
}
.fi-header .fi-cart__toggle:focus:not(:focus-visible):not(:hover) {
	background-color: #fff;
}
.fi-header .fi-cart.is-open .fi-cart__toggle:focus:not(:focus-visible) {
	background-color: rgba(0, 138, 210, 0.1);
}
@media (prefers-reduced-motion: reduce) {
	.fi-header .fi-header__nav .wp-block-navigation-item__label,
	.fi-header .fi-lang__current {
		transition: none;
	}
}

/* ------------------------------------------------------------------ cart */
/* Header mini cart (inc/mini-cart.php, woocommerce/cart/mini-cart.php). */
.fi-cart {
	position: relative;
	--fi-mc-line: #ececf0;
	--fi-mc-soft: #f7f7f9;
}
.fi-cart__toggle {
	position: relative;
	display: flex;
	align-items: center;
	padding: 6px 15px 5px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	color: #69727d;
	cursor: pointer;
}
.fi-cart__toggle:hover,
.fi-cart.is-open .fi-cart__toggle {
	color: var(--wp--preset--color--primary);
}
.fi-cart__toggle:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}
.fi-cart__toggle svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
}
.fi-cart__count {
	position: absolute;
	top: -2px;
	right: 6px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 100px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 10px;
	line-height: 16px;
	text-align: center;
}
.fi-cart__panel {
	position: absolute;
	right: 0;
	top: calc(100% + 12px);
	width: 440px;
	max-width: calc(100vw - 32px);
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(28, 36, 75, 0.18), 0 2px 6px rgba(28, 36, 75, 0.08);
	z-index: 1001;
	color: var(--wp--preset--color--text);
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
	animation: fi-mc-in 0.16s ease-out;
}
.fi-cart__panel:focus {
	outline: none;
}
.fi-cart__panel[hidden] {
	display: none;
}
@keyframes fi-mc-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.fi-cart__panel { animation: none; }
}
/* Full screen height: from just under the bag button (--fi-mc-top, set by
   mini-cart.js on open) to 16px above the bottom of the window. */
.fi-cart .fi-mc {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--fi-mc-top, 120px) - 16px);
	max-height: calc(100dvh - var(--fi-mc-top, 120px) - 16px);
}

/* head */
.fi-cart .fi-mc__head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 12px 12px 20px;
	border-bottom: 1px solid var(--fi-mc-line);
}
.fi-cart .fi-mc__title {
	color: var(--wp--preset--color--menu);
	font-size: 16px;
	font-weight: 700;
}
.fi-cart .fi-mc__badge {
	min-width: 22px;
	height: 22px;
	padding: 0 7px;
	border-radius: 100px;
	background: rgba(0, 138, 210, 0.1);
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}
.fi-cart .fi-mc__close {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-left: auto;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--wp--preset--color--muted);
	cursor: pointer;
}
.fi-cart .fi-mc__close:hover,
.fi-cart .fi-mc__close:focus-visible {
	background: var(--fi-mc-soft);
	color: var(--wp--preset--color--text);
}
.fi-cart .fi-mc__close svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* lines */
.fi-cart .fi-mc__list {
	flex: 1 1 auto;
	margin: 0;
	padding: 0 20px;
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}
.fi-cart .fi-mc__item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) 34px;
	gap: 14px;
	margin: 0;
	padding: 18px 0;
	border-top: 1px solid var(--fi-mc-line);
	transition: opacity 0.2s;
}
.fi-cart .fi-mc__item:first-child {
	border-top: 0;
}
.fi-cart .fi-mc__item.is-removing {
	opacity: 0.4;
	pointer-events: none;
}
/* Shields: WooCommerce's woocommerce.css (on body.woocommerce pages) and the
   plugins style bare li / dl / img / a; none of it may reach the panel. */
.fi-cart .fi-mc__item,
.fi-cart .fi-mc__item * {
	float: none;
	box-sizing: border-box;
}
.fi-cart .fi-mc__list > li::before,
.fi-cart .fi-mc__list > li::after {
	content: none;
}
.fi-cart .fi-mc__rows,
.fi-cart .fi-mc__days {
	border: 0;
}
.fi-cart .fi-mc__row dt,
.fi-cart .fi-mc__row dd {
	display: block;
	padding: 0;
	margin-bottom: 0;
}
.fi-cart .fi-mc__row dd p {
	display: inline;
	margin: 0;
}
.fi-cart .fi-mc__thumb {
	width: 64px;
	height: 64px;
}
.fi-cart .fi-mc__thumb img {
	max-width: none;
	height: 64px;
	box-shadow: none;
	display: block;
	width: 64px;
	height: 64px;
	margin: 0;
	border-radius: 10px;
	object-fit: cover;
}
.fi-cart .fi-mc__name {
	display: block;
	color: var(--wp--preset--color--text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}
.fi-cart a.fi-mc__name:hover {
	color: var(--wp--preset--color--primary);
}
.fi-cart .fi-mc__hold {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 7px 0 2px;
	padding: 2px 10px 2px 7px;
	border-radius: 100px;
	background: rgba(0, 138, 210, 0.08);
	color: var(--wp--preset--color--primary);
	font-size: 12px;
	font-weight: 600;
	line-height: 20px;
	font-variant-numeric: tabular-nums;
}
.fi-cart .fi-mc__hold svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}
/* Overpass sits its capitals and digits ~1.5px above the middle of the line
   (measured 2026-11-08: ink centre 8.4–8.7px in a 20px line); nudge the
   countdown text down so it lines up with the clock icon. Cart page too. */
.fi-mc__hold .fi-mc__hold-text {
	position: relative;
	top: 0.11em;
}
.fi-cart .fi-mc__hold.is-low {
	background: rgba(151, 12, 17, 0.08);
	color: var(--wp--preset--color--accent);
}
.fi-cart .fi-mc__hold.is-expired {
	background: var(--fi-mc-soft);
	color: var(--wp--preset--color--muted);
}
.fi-cart .fi-mc__rows {
	margin: 6px 0 0;
	padding: 0;
}
.fi-cart .fi-mc__row {
	display: flex;
	column-gap: 6px;
	margin: 0;
}
.fi-cart .fi-mc__row dt {
	flex: none;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}
.fi-cart .fi-mc__row dd {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: var(--wp--preset--color--text);
}
.fi-cart .fi-mc__days {
	margin: 8px 0 0;
	padding: 7px 10px;
	border-radius: 8px;
	background: var(--fi-mc-soft);
	font-size: 13px;
	list-style: none;
}
.fi-cart .fi-mc__days li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 8px;
	margin: 0;
	padding: 2px 0;
}
.fi-cart .fi-mc__day,
.fi-cart .fi-mc__day-date {
	flex: none;
	color: var(--wp--preset--color--muted);
}
.fi-cart .fi-mc__day-name {
	min-width: 0;
	overflow-wrap: anywhere;
}
.fi-cart .fi-mc__rows--price {
	margin-top: 8px;
}
.fi-cart .fi-mc__price dd {
	font-weight: 700;
}
.fi-cart .fi-mc__price small {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}
.fi-cart .fi-mc__remove {
	display: grid;
	place-items: center;
	align-self: start;
	width: 34px;
	height: 34px;
	margin-top: -6px;
	border-radius: 50%;
	color: #9a9aa5;
	transition: background 0.15s, color 0.15s;
}
.fi-cart .fi-mc__remove:hover,
.fi-cart .fi-mc__remove:focus-visible {
	background: rgba(151, 12, 17, 0.08);
	color: var(--wp--preset--color--accent);
}
.fi-cart .fi-mc__remove svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.fi-cart .fi-mc__error {
	margin: 6px 0 0;
	color: var(--wp--preset--color--accent);
	font-size: 13px;
}

/* foot */
.fi-cart .fi-mc__foot {
	padding: 14px 20px 18px;
	border-top: 1px solid var(--fi-mc-line);
	background: #fafafb;
}
.fi-cart .fi-mc__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 0 0 12px;
	font-size: 15px;
}
.fi-cart .fi-mc__total strong {
	color: var(--wp--preset--color--menu);
	font-size: 18px;
}
.fi-cart .fi-mc__pay {
	display: block;
	padding: 13px 30px;
	border-radius: 100px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s;
}
.fi-cart .fi-mc__pay:hover,
.fi-cart .fi-mc__pay:focus-visible {
	background: #0076b4;
	color: #fff;
}
.fi-cart .fi-mc__pay--ghost {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}
.fi-cart .fi-mc__pay--ghost:hover,
.fi-cart .fi-mc__pay--ghost:focus-visible {
	background: rgba(0, 138, 210, 0.08);
	color: var(--wp--preset--color--primary);
}
.fi-cart .fi-mc__note {
	margin: 10px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	text-align: center;
}
.fi-cart .fi-mc__empty {
	padding: 28px 24px 24px;
	text-align: center;
}
.fi-cart .fi-mc__empty svg {
	width: 40px;
	height: 40px;
	fill: #c9cad3;
}
.fi-cart .fi-mc__empty p {
	margin: 8px 0 16px;
	color: var(--wp--preset--color--muted);
}

/* phone: a sheet under the header, 16px gutters */
@media (max-width: 767px) {
	.fi-cart__panel {
		position: fixed;
		top: var(--fi-mc-top, 72px);
		right: 16px;
		left: 16px;
		width: auto;
		max-width: none;
	}
}

/* ---------------------------------------------------------------- footer */
.fi-footer {
	font-size: 12px;
	line-height: 24px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.fi-footer a {
	color: inherit;
	text-decoration: none;
}
/* Divider before every item but the first, so a wrapped line (phone) starts
   rather than ends with one — as Elementor's icon list. */
.fi-footer .fi-footer__item:not(:first-child)::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 60%;
	min-height: 14px;
	margin-right: 15px;
	background: rgba(0, 0, 0, 0.25);
	vertical-align: middle;
}
/* Between items: 15px + 1px divider + 15px gap = 31px, as Elementor's icon
   list (measured 2026-11-02; the gap was 30px before, 46px in total). */
@media (max-width: 1024px) {
	:root .fi-footer {
		padding-top: 16px;
		padding-bottom: 16px;
		padding-right: 5% !important; /* beats the block's inline 2 % */
		line-height: 21.6px;
	}
}
@media (max-width: 767px) {
	:root .fi-footer {
		gap: 0 6px;
		padding: 0 20px 0 0 !important; /* beats the block's inline padding-right */
		font-size: 0.6rem;
		line-height: 19.2px;
	}
	.fi-footer .fi-footer__item:not(:first-child)::before {
		margin-right: 5px;
	}
}

/* --------------------------------------------------------- product page */
.fi-product {
	min-height: 100vh;
}
.fi-product > .fi-orderinfo {
	position: relative;
	width: 25%;
	min-width: 350px;
	min-height: 100vh;
	margin-bottom: -65px; /* runs 65px past the row, under the footer (as before) */
	overflow: hidden;
	z-index: 1000;
}
.fi-orderbook {
	width: 75%;
	flex: 1 1 auto;
	padding: 3% 5%;
}

/* Featured image: cover, zoom on hover (Elementor: scale 1.1 → hover 1.03). */
.fi-orderinfo__image {
	min-height: 30vh;
	overflow: hidden;
}
.fi-orderinfo__image .wp-block-cover__image-background {
	transform: scale(1.1);
	transition: transform 0.6s ease;
}
.fi-orderinfo__image:hover .wp-block-cover__image-background {
	transform: scale(1.03);
}
.fi-orderinfo__image .wp-block-cover__inner-container {
	align-self: flex-start;
	width: 100%;
}
/* Type icon (Elementor showed it as gallery image 2 over the photo). */
.fi-type-icon {
	display: block;
}
.fi-type-icon img,
.fi-type-icon svg {
	display: block;
	width: 60px;
	height: 60px;
}

.fi-orderinfo__head .wp-block-post-title {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	margin: 0;
}
.fi-orderinfo__head .wp-block-post-terms {
	font-size: 0.8rem;
	line-height: 1.6;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.48);
	margin: 0;
	padding-top: 5px;
}
.fi-orderinfo__head .wp-block-post-terms a {
	color: inherit;
	pointer-events: none;
	text-decoration: none;
}

/* Accordion (Elementor nested accordion → core/details). */
.fi-orderinfo > .fi-acc {
	position: relative;
	z-index: 2;
	margin: 1px 9px 0;
	padding: 0;
	color: #fff;
}
.fi-orderinfo > .fi-orderinfo__head + .fi-acc {
	margin-top: 8px;
}
.fi-acc summary {
	list-style: none;
	cursor: pointer;
	padding: 10px;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 2;
	color: rgba(255, 255, 255, 0.53);
}
.fi-acc summary::-webkit-details-marker {
	display: none;
}
.fi-acc summary::before {
	content: "+";
	display: inline-block;
	width: 13px;
	margin-right: 25px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
}
.fi-acc[open] summary::before {
	content: "\2212";
	color: #fff;
}
.fi-acc summary:hover,
.fi-acc[open] summary {
	color: #fff;
}
.fi-acc .fi-acc__body {
	font-size: 0.9rem;
	color: #fff;
	padding: 10px 20px 10px 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.43);
	border-bottom: 1px solid rgba(255, 255, 255, 0.43);
	margin: 0;
}
.fi-acc li {
	margin-block-start: 15px;
	padding-left: 10px;
}
.fi-acc li::marker {
	font-weight: 800;
	color: rgba(255, 255, 255, 0.5);
}

/* FÍ watermark behind the sidebar (3 % white). */
.fi-orderinfo__watermark {
	position: absolute;
	left: 0;
	top: 0;
	max-width: 40vw !important;
	height: auto;
	margin-top: 50% !important;
	margin-left: 5% !important;
	width: 100vw;
	margin: 0;
	opacity: 0.03;
	pointer-events: none;
	z-index: 1;
}

/* Main column title row. */
.fi-product .fi-orderbook > .fi-orderbook__title {
	margin-top: 49px;
	padding: 20px 0;
	border-bottom: 1px solid #000;
}
.fi-orderbook__title .wp-block-post-title {
	margin: 0;
}
.fi-product .fi-orderbook > .fi-orderbook__form {
	margin-top: 20px;
	padding-bottom: 100px;
}
.fi-orderbook .wc-block-store-notices:empty,
.fi-orderbook .woocommerce-notices-wrapper:empty {
	display: none;
}

/* Tablet / mobile icon strip (opens the popups). */
.fi-orderinfo__icons {
	display: none;
}
.fi-icon-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 15px 0 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 8px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	background: none;
	border: 0;
	width: 100%;
}
.fi-icon-link svg {
	width: 25px;
	height: 25px;
	fill: rgba(255, 255, 255, 0.49);
	margin-bottom: 4px;
}
.fi-icon-link:hover {
	background: var(--wp--preset--color--primary-light);
}
.fi-orderinfo__logo {
	display: none;
}

@media (max-width: 1024px) {
	.fi-product > .fi-orderinfo {
		width: 10%;
		min-width: 0;
		flex: 0 0 auto;
	}
	.fi-orderbook {
		width: 90%;
	}
	.fi-product .fi-orderinfo > .fi-orderinfo__image,
	.fi-product .fi-orderinfo > .fi-orderinfo__head,
	.fi-product .fi-orderinfo > .fi-acc,
	.fi-product .fi-orderinfo > .fi-orderinfo__watermark {
		display: none;
	}
	.fi-orderinfo__logo {
		display: block;
		padding: 10px 6px 0;
		position: relative;
		z-index: 2;
	}
	.fi-orderinfo__logo img {
		width: 100%;
		max-width: 60px;
		height: auto;
		margin: 0 auto;
		display: block;
	}
	.fi-product .fi-orderinfo > .fi-orderinfo__icons {
		display: flex;
		flex-direction: column;
		margin-top: 200px;
		position: relative;
		z-index: 2;
	}
	.fi-header__logo {
		visibility: hidden;
	}
}
@media (max-width: 767px) {
	.fi-product > .fi-orderinfo {
		margin-bottom: -40px;
	}
	.fi-orderbook {
		padding: 3%;
	}
	.fi-product .fi-orderinfo > .fi-orderinfo__icons {
		margin-top: 70px;
	}
	.fi-icon-link span {
		display: none;
	}
}

/* The Elementor popup "Skálar – Afbókunarskilmálar" (2192) carried an unscoped
   `li { padding-bottom: 10px }` and loaded on every product page, so every list
   item there had it. Kept for the faithful copy — candidate for the design round. */
:where(body.single-product) li { /* weight of a bare `li`, as the original */
	padding-bottom: 10px;
}

/* ------------------------------------------- trip / package product pages */
/* Same page as the hut, but the sidebar shows the product description
   (Elementor templates 87600 Ferðir, 4654 Pakkaferðir). */
.fi-orderinfo__head--desc .wp-block-post-title {
	padding: 20px 0 0 20px;
}
/* Membership group page: the period line under the title (Members 0.16.0
   [bookingflow_membership_summary]), lined up with the title. */
.fi-orderinfo__head .bfm-listing-summary {
	position: relative;
	margin: 0 !important;
	padding: 8px 10px 10px 20px;
	font-size: 0.9rem;
	line-height: 1.4;
	color: #fff;
}
.fi-orderinfo__desc {
	padding: 5px 10px 10px 20px;
	font-size: 0.9rem;
	color: #fff;
}
.fi-orderinfo__desc a {
	color: #fff;
}
.fi-product--trip .fi-orderinfo > .fi-orderinfo__head + .fi-acc,
.fi-product--package .fi-orderinfo > .fi-orderinfo__head + .fi-acc {
	margin-top: 1%;
}
.fi-product--trip .fi-acc li,
.fi-product--package .fi-acc li {
	margin-block-start: 0.5vh;
}
.fi-product--trip .fi-acc ol,
.fi-product--package .fi-acc ol {
	padding-inline-start: 1.2vh;
}
.fi-product--trip .fi-orderinfo__watermark,
.fi-product--package .fi-orderinfo__watermark {
	margin: 20px !important;
	width: 45vw;
	max-width: none !important;
}
main.fi-product--trip,
main.fi-product--package {
	margin-bottom: -80px; /* Elementor: the row runs 80px under the footer */
}
.fi-product--trip > .fi-orderinfo,
.fi-product--package > .fi-orderinfo {
	margin-bottom: 0;
}
@media (max-width: 1024px) {
	.fi-product--trip,
	.fi-product--package {
		margin-bottom: -60px;
	}
}
@media (max-width: 767px) {
	.fi-product--trip,
	.fi-product--package {
		margin-bottom: 0;
	}
	.fi-product--trip > .fi-orderinfo,
	.fi-product--package > .fi-orderinfo {
		margin-bottom: -40px;
	}
}
.fi-orderinfo__image--placeholder {
	height: 30vh;
	overflow: hidden;
	min-height: 30vh;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}
.fi-orderinfo__image--placeholder img {
	max-width: 60%;
	height: auto;
}
@media (max-width: 1024px) {
	.fi-orderinfo__image--placeholder {
		display: none;
	}
	.fi-product--trip .fi-orderinfo > .fi-orderinfo__icons,
	.fi-product--package .fi-orderinfo > .fi-orderinfo__icons {
		margin-top: 80px;
	}
}
@media (max-width: 767px) {
	.fi-product--trip .fi-orderinfo > .fi-orderinfo__icons,
	.fi-product--package .fi-orderinfo > .fi-orderinfo__icons {
		margin-top: 70px;
	}
}

/* ---------------------------------------------------------------- popups */
/* Elementor popups → hidden groups (.fi-popup) opened by assets/js/popups.js:
   a full-height primary-blue panel from the left (30vw; 80vw on tablet/phone),
   page dimmed behind it, content centred vertically with 10% padding. */
.fi-popup {
	display: none;
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	bottom: 0;
	left: 0;
	z-index: 100001;
	width: 30vw;
	min-height: 0;
	padding: 3vw; /* Elementor: 10% of the panel */
	flex-direction: column;
	justify-content: safe center;
	gap: 20px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	overflow-y: auto;
	animation: fi-popup-in 0.5s ease;
}
.fi-popup.is-open {
	display: flex;
}
.fi-popup-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(0, 0, 0, 0.24);
}
@keyframes fi-popup-in {
	from { transform: translateX(-100%); }
	to { transform: none; }
}
body.fi-popup-open {
	overflow: hidden;
}
.fi-popup__close {
	position: absolute;
	top: 3.3%;
	right: 6.6%;
	width: 26px;
	height: 26px;
	padding: 0;
	background: none;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #fff;
	font-size: 18px;
	line-height: 22px;
	text-align: center;
	cursor: pointer;
}
/* Tablet / phone: 80vw panel; Elementor added a left padding (120 / 50px) that
   clears the icon strip, then the content's own 10%. */
@media (max-width: 1024px) {
	.fi-popup {
		width: 80vw;
		padding: calc(8vw - 12px) calc(8vw - 12px) calc(8vw - 12px) calc(108px + 8vw);
	}
}
@media (max-width: 767px) {
	.fi-popup {
		padding: calc(8vw - 5px) calc(8vw - 5px) calc(8vw - 5px) calc(45px + 8vw);
	}
	.fi-popup .fi-popup__body {
		font-size: 0.8rem;
	}
}
.fi-popup h2 {
	font-size: 18px;
	font-weight: 300;
	color: #fff;
	margin: 0;
}
.fi-popup h4,
.fi-popup .wp-block-post-title {
	font-size: 1rem;
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}
.fi-popup hr {
	border: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 15px 0; /* Elementor divider: 15px gap above and below */
	width: 100%;
}
.fi-popup .fi-popup__body {
	font-size: 0.9rem;
	line-height: 1.5;
}
/* Per popup, as their Elementor custom CSS: Verð + Leiðbeiningar spaced
   numbered lists; Skilmálar pulled 23px left with 10px between items. */
.fi-popup--verd li,
.fi-popup--leidbeiningar li {
	margin-block-start: 15px;
	padding-left: 10px;
}
.fi-popup--verd li::marker,
.fi-popup--leidbeiningar li::marker {
	font-weight: 800;
	color: rgba(255, 255, 255, 0.5);
}
.fi-popup--verd ol,
.fi-popup--leidbeiningar ol {
	padding-inline-start: 15px;
}
.fi-popup--skilmalar .fi-popup__body {
	margin-left: -23px;
}
.fi-popup--skilmalar li {
	padding-bottom: 10px;
}
@media (max-width: 1024px) {
	.fi-popup--leidbeiningar .fi-popup__body {
		line-height: 1.3;
	}
}

/* ------------------------------------------------- listing page (/boka/) */
/* Elementor page 21489: Info column (30 %, min 350px) + Order column with the
   H1, year buttons and the nested tabs of product Loop Grids (card 20683).
   Measured against the live page at 1630px (2026-11-02). */
.fi-listing-page {
	min-height: 100vh;
	margin-bottom: -40px; /* the row runs 40px under the footer (measured) */
}
.fi-listing-page > .fi-listing-info {
	position: relative;
	flex: 0 0 auto;
	/* Elementor: width 30 % shrunk by the flex row to a steady 23.68 % of the
	   row (measured 1100–2400px); its 350px minimum never applied here. */
	width: 23.68%;
	min-height: 150vh;
	padding: 0 2%;
	overflow: hidden;
	z-index: 100;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}
/* Three classes: core's `:root :where(.is-layout-flow) > :first-child` (0,2,0,
   printed later) would zero the top margin otherwise. */
.fi-listing-page .fi-listing-info > .fi-listing-info__watermark {
	position: absolute;
	top: 0;
	left: 3vw;
	width: 45vw;
	max-width: none;
	height: auto;
	margin: 100px 20px 20px;
	opacity: 0.03;
	pointer-events: none;
	z-index: 0;
}
.fi-listing-page .fi-listing-info > .fi-listing-info__acc {
	position: relative;
	z-index: 100;
	width: 100%;
	margin: 144px 0 0;
	padding: 0 2%;
}
.fi-listing-info__acc summary {
	font-size: 1.2rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.53);
}
.fi-listing-info__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding-right: 20px;
}
.fi-listing-info__text {
	padding: 10px 0 10px 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.43);
	border-bottom: 1px solid rgba(255, 255, 255, 0.43);
	font-size: 0.9rem;
	color: #fff;
}
.fi-listing-info__text p {
	margin-block-end: 0.9rem;
}
.fi-legend {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.fi-legend li {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	background: #0099e9;
	border-radius: 8px;
	overflow: hidden;
}
.fi-legend img {
	display: block;
	width: 50px;
	height: 50px;
}
.fi-legend span {
	align-self: center;
	padding-top: 2px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
}

.fi-listing-page > .fi-listing-main {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 100px;
	padding: 0 20px;
	position: relative;
	z-index: 101;
}
.fi-listing-main > .fi-listing-main__content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 120px;
}
.fi-listing-main__content > * {
	margin: 0;
}
.fi-listing-main__content > .fi-listing-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	padding: 20px 0 10px;
	border-bottom: 1px solid #000;
}
.fi-listing-head h1 {
	margin: 0;
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1;
}

/* Year switch (fi-availability-year: body class fi-year-YYYY = active). */
.fi-years {
	display: flex;
	gap: 20px;
	position: relative;
	top: 15px;
}
.fi-year-btn {
	display: inline-block;
	padding: 12px 24px;
	font-size: 15px;
	line-height: 1;
	border-radius: 100px;
	background: #fff;
	color: #33383f;
	border: 1px solid #c9ced6;
	text-decoration: none;
	transition: 0.3s;
}
:root .fi-year-btn {
	color: #33383f;
}
.fi-year-btn-2026 {
	font-weight: 700;
}
:root body.fi-year-2026 .fi-year-btn-2026,
:root body.fi-year-2027 .fi-year-btn-2027,
:root body.fi-year-2028 .fi-year-btn-2028 {
	background: #008ad2;
	color: #fff;
	border-color: #1a6fd4;
}

/* Tabs (Elementor nested tabs c805232). */
.fi-listing__tabs {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 0;
}
.fi-listing__tab {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px 20px 3px;
	border: 0;
	border-radius: 100px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.5;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.3s, color 0.3s;
}
.fi-listing__tab:hover,
.fi-listing__tab[aria-selected="true"] {
	background: #008ad2;
	color: #fff;
}

/* Grid (Loop Grid: 3 / 2 / 2 columns, gaps 20 × 80 / 20 / 40). */
.fi-listing__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr; /* Elementor's equal-height rows: every card as tall as the tallest */
	gap: 80px 20px;
}
.fi-listing__panel.is-loading {
	opacity: 0.5;
	transition: opacity 0.2s;
}
.fi-listing__empty {
	padding: 20px 0;
}
.fi-listing__pages {
	margin-top: 40px;
	text-align: center;
	font-weight: 500;
	text-transform: uppercase;
}
.fi-listing__pages .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.fi-listing__pages .page-numbers {
	margin: 0 5.5px;
	text-decoration: none;
}
.fi-listing__pages .current,
.fi-listing__pages span.prev,
.fi-listing__pages span.next {
	color: var(--wp--preset--color--text);
}
.fi-listing__pages span.prev,
.fi-listing__pages span.next {
	opacity: 0.4;
}

/* Card (loop item 20683). */
.fi-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1px; /* Elementor: 0 1px on the card + 1px 0 on its inner box */
	background: #f8f8f8;
	border-radius: 10px;
	overflow: hidden;
	transition: background 0.3s, box-shadow 0.3s, transform 0.4s;
}
.fi-card:hover {
	background: #ebebeb;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.09);
	transform: scale(1.02);
}
.fi-card__media {
	position: relative;
	display: block;
	min-height: 35vh;
	overflow: hidden;
	z-index: 9;
}
.fi-card__photo {
	position: absolute;
	inset: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	transform: scale(1.1);
	transition: transform 0.4s;
}
.fi-card__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: transparent;
	transition: background 0.3s;
}
.fi-card:hover .fi-card__photo {
	transform: scale(1.03);
}
.fi-card:hover .fi-card__photo::after {
	background: rgba(0, 0, 0, 0.18);
}
.fi-card__icon {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 45px;
	min-width: 35px;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s;
}
.fi-card:hover .fi-card__icon {
	transform: scale(1.2);
}
.fi-card__icon img {
	display: block;
	width: 100%;
	height: auto;
}
.fi-card__body {
	position: relative;
	z-index: 101;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	min-height: 150px;
	padding: 0 20px;
	text-decoration: none;
}
.fi-card__text {
	display: flex;
	flex-direction: column;
	gap: 5px;
	width: 100%;
	padding-top: 10px;
}
.fi-card__brand,
.fi-card__tags {
	display: block;
	font-size: 0.7rem;
	font-weight: 400;
	text-transform: uppercase;
	color: #979797;
}
.fi-card__brand {
	min-height: 17.2px; /* Elementor's line box: text 6px down in a 17.2px row */
	padding-top: 6px;
	line-height: 1;
}
.fi-card__tags {
	line-height: 1.6;
}
/* Elementor printed the title as an inline h3 inside a line of the body
   font (16px / 24px; 14.4px / 21.6px on tablet). */
:root .fi-card__title {
	display: block;
	margin: 0 0 10px;
	font-size: inherit;
	line-height: 1.5;
}
.fi-card__title span {
	font-size: 1.1rem;
	font-weight: 500;
	line-height: 1;
	color: #000;
}
.fi-card__price {
	display: block;
	width: 100%;
	padding-top: 10px;
}
.fi-card__price .price {
	display: block;
	margin: 0 0 14.4px;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	color: #000;
}

/* Package card (loop item 8205): 30vh photo, icon 4vw (min 55px) in the corner,
   taller text block, "Verð:" label. Measured on /flokkur/pakkaferdir/ at 1630. */
.fi-card--package:hover {
	background: #e4e4e4;
}
.fi-card--package .fi-card__media {
	min-height: 30vh;
}
.fi-card--package .fi-card__icon {
	top: 0;
	left: 0;
	width: 4vw;
	min-width: 55px;
	border-radius: 0;
}
.fi-card--package:hover .fi-card__icon {
	transform: scale(1.1);
}
.fi-card--package .fi-card__body {
	min-height: 270px;
}
.fi-card--package .fi-card__text {
	padding-top: 30px;
}
.fi-card--package .fi-card__brand {
	min-height: 0;
	padding-top: 0;
	font-size: 0.7rem;
	line-height: 1.1;
	color: rgba(0, 0, 0, 0.44);
}
:root .fi-card--package .fi-card__title {
	margin: 0;
}
.fi-card--package .fi-card__tags {
	padding-top: 10px;
	font-size: 0.8rem;
	line-height: 1.6;
	color: rgba(0, 0, 0, 0.67);
}
.fi-card--package .fi-card__price {
	padding-top: 0;
}
.fi-card--package .fi-card__price-label {
	display: block;
	padding: 20px 0 5px;
	font-size: 0.7rem;
	line-height: 1.1;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.44);
}
.fi-card--package .fi-card__price .price {
	font-size: 1rem;
	line-height: 1.5; /* the body line: 24 / 21.6 / 19.2px */
}

@media (max-width: 1024px) {
	.fi-listing-page {
		margin-bottom: 40px; /* Elementor: no negative margin on tablet; the footer keeps its 40px */
	}
	.fi-listing-page > .fi-listing-info {
		width: 25%;
		min-width: 0;
		min-height: 100vh;
		padding: 120px 10px 0 20px;
	}
	.fi-listing-page .fi-listing-info > .fi-listing-info__acc {
		width: auto;
		margin: 0 0 0 -10px;
		padding: 0;
	}
	.fi-listing-info__body {
		padding-right: 0;
	}
	.fi-card__tags {
		font-size: 0.8rem;
	}
	.fi-listing__pages {
		line-height: 21.6px;
	}
	.fi-listing-info__acc summary {
		font-size: 1rem;
	}
	.fi-listing-info__text {
		font-size: 0.8rem;
		line-height: 1.3;
		padding: 17px 0 0;
	}
	.fi-legend li {
		gap: 5px;
		align-items: center;
	}
	.fi-legend span {
		font-size: 0.7rem;
		padding-top: 0;
	}
	.fi-listing-page > .fi-listing-main {
		width: 75%;
		margin-top: 80px;
		padding: 0 10px;
	}
	.fi-listing-main__content > .fi-listing-head {
		padding: 10px 0 5px;
	}
	.fi-listing-head h1 {
		font-size: 2rem;
	}
	.fi-listing__tab {
		padding: 6px 8px 3px;
		font-size: 0.7rem;
	}
	.fi-listing__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 20px;
	}
	.fi-card__media {
		min-height: 30vh;
	}
	.fi-card__icon {
		top: 10px;
		left: 10px;
	}
	.fi-card__body {
		min-height: 160px;
		padding: 0 10px;
	}
	.fi-card__title span {
		font-size: 0.9rem;
	}
	.fi-card--package .fi-card__media {
		min-height: 22vh; /* Elementor's global .skali_mynd rule on tablet + phone */
	}
	.fi-card--package .fi-card__body {
		min-height: 255px;
	}
	.fi-card--package .fi-card__brand {
		font-size: 0.6rem;
	}
	.fi-card--package .fi-card__price .price {
		font-size: 0.9rem;
	}
}
@media (max-width: 767px) {
	.fi-listing-page > .fi-listing-info {
		width: 8%;
		min-height: 120vh;
		padding: 120px 0 0;
		gap: 0;
		z-index: 10000;
	}
	.fi-listing-page .fi-listing-info > .fi-listing-info__acc,
	.fi-listing-info > .fi-listing-info__watermark {
		display: none;
	}
	.fi-listing-page > .fi-listing-main {
		width: 92%;
		margin-top: 60px;
	}
	.fi-listing-main__content > .fi-listing-head {
		padding: 20px 0 5px;
	}
	.fi-listing-head h1 {
		font-size: 1.4rem;
	}
	.fi-listing__tabs {
		margin-bottom: 20px;
	}
	.fi-listing__grid {
		column-gap: 10px;
	}
	.fi-card__brand {
		min-height: 15px;
		padding-top: 0;
	}
	.fi-card__tags {
		font-size: 0.7rem;
	}
	.fi-listing__pages {
		margin-top: 30px;
		line-height: 19.2px;
	}
	.fi-listing__tab {
		padding: 7px 10px 3px;
	}
	.fi-listing__grid {
		row-gap: 40px;
	}
	.fi-card__icon {
		top: 5px;
		left: 5px;
	}
	.fi-card__body {
		min-height: 150px;
		padding: 0 5px;
	}
	.fi-card__price .price {
		font-size: 0.8rem;
	}
	.fi-card--package .fi-card__body {
		min-height: 240px;
	}
	.fi-card--package .fi-card__tags {
		font-size: 0.6rem;
	}
	.fi-card--package .fi-card__price .price {
		font-size: 0.8rem;
	}
}

/* --------------------------------------------- content pages (policies) */
/* templates/page-content.html: Privacy 4477 and Refund 4445 (Elementor
   containers with the kit's text-editor widgets). Block content: .fi-hero
   (photo with the title) or .fi-split (title + list beside a photo), then
   .fi-page-body with one .fi-text group per Elementor text widget. */
.fi-content-page .fi-content-page__content > .fi-hero,
.fi-content-page .fi-content-page__content > .fi-split {
	box-sizing: border-box;
	width: 84%;
	min-height: 500px;
	margin: 2% 8% 0;
	border-radius: 20px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
.fi-content-page .fi-content-page__content > .fi-hero {
	align-items: flex-end;
	padding: 40px;
}
.fi-content-page .fi-hero .fi-hero__title {
	margin: 0;
	font-size: 4vw;
	line-height: 1;
	color: #fff;
}
.fi-content-page .fi-content-page__content > .fi-split {
	gap: 50px;
}
.fi-content-page .fi-split > .fi-split__text,
.fi-content-page .fi-split > .fi-split__photo {
	width: 50%;
	border-radius: 20px;
}
.fi-content-page .fi-split > .fi-split__text {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.fi-content-page .fi-split .fi-split__title {
	margin: 0;
	line-height: 1;
}
.fi-content-page .fi-split .fi-split__list {
	margin: 20px 0 0;
	padding-top: 40px;
}
.fi-content-page .fi-content-page__content > .fi-page-body {
	margin: 100px 0 0;
	padding: 0 8% 15%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.fi-content-page .fi-content-page__content > .fi-page-body--privacy {
	padding-bottom: 10%;
	margin-bottom: 20px; /* Elementor's empty last container (20px) */
}
/* Kit text-editor content: Hello's reset margins, which core's flow-layout
   rules (`:root :where(.is-layout-flow) > *`, first child 0,2,0) would zero. */
.fi-content-page .fi-text > :is(h1, h2, h3, h4, h5, h6) {
	margin: 0.5rem 0 1rem;
}
.fi-content-page .fi-text > p {
	margin: 0 0 0.9rem;
}
.fi-content-page .fi-text > :is(ul, ol) {
	margin: 0;
}
/* Elementor's text widget printed a bare <hr>: the browser's 1px inset rule. */
.fi-content-page .fi-text > hr.wp-block-separator {
	border: 1px inset;
}
/* Elementor custom CSS on the text widgets (written unscoped as `li`). */
.fi-content-page .fi-text li {
	padding-bottom: 0.5rem;
}
/* Privacy: its first widget's `li` rule hit every list on the page. */
.fi-content-page .fi-split__list li,
.fi-content-page .fi-page-body--privacy li {
	padding: 10px 0 0.5rem 20px;
	margin: 0 0 0 -20px;
}
/* The Elementor header stood in the flow on these pages: 100 / 85 / 65px. */
@media (max-width: 1024px) {
	.fi-content-page {
		padding-top: 85px;
	}
	.fi-content-page .fi-content-page__content > .fi-split {
		flex-direction: column-reverse;
	}
	.fi-content-page .fi-split > .fi-split__text {
		width: 100%;
	}
	.fi-content-page .fi-split > .fi-split__photo {
		display: none;
	}
	.fi-content-page .fi-split .fi-split__list {
		padding-top: 0;
	}
	.fi-content-page .fi-content-page__content > .fi-page-body {
		margin-top: 40px;
	}
}
@media (max-width: 767px) {
	.fi-content-page {
		padding-top: 65px;
	}
	.fi-content-page .fi-content-page__content > .fi-hero,
	.fi-content-page .fi-content-page__content > .fi-split {
		width: 90%;
		min-height: 313px;
		margin: 2% 5% 0;
	}
	.fi-content-page .fi-content-page__content > .fi-hero {
		padding: 0;
	}
	.fi-content-page .fi-content-page__content > .fi-page-body {
		margin-top: 30px;
		padding: 0 5%;
	}
}

/* ------------------------------------------------- order pages (cart, checkout, my account) */
/* Live: Elementor pages 84 / 85 / 86 — blue left column (.fi-orderinfo) + content
   (.fi-orderbook). The header is absolute, so the columns start at the top like the live
   container's -100 / -86 / -65px margin. */
.fi-order {
	--e-global-color-primary: #008ad2;
	display: flex;
	flex-direction: row;
	min-height: 286px;
}
.fi-order__info {
	position: relative;
	width: 25%;
	min-width: 350px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	overflow: hidden;
	padding: 14% 2% 0;
	background: #008ad2;
	box-sizing: border-box;
	flex-shrink: 0;
}
.fi-order__mark {
	position: absolute;
	left: 3vw;
	top: 10vh;
	margin: 20px;
	line-height: 0;
}
.fi-order .fi-order__mark img {
	width: 45vw;
	max-width: none;
	height: auto;
	opacity: 0.03;
}
.fi-order__join {
	position: fixed;
	bottom: 21px;
	left: calc(max(25vw, 350px) * 0.35);
	z-index: 99;
}
.fi-order .fi-order__join-link {
	display: inline-block;
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	padding: 12px 30px 10px;
	border: 1px solid #ffffff7d;
	border-radius: 100px;
	background: #008ad2;
	color: #ffffff7d;
	text-decoration: none;
}
.fi-order .fi-order__join-link:hover,
.fi-order .fi-order__join-link:focus {
	color: #fff;
	border-color: #fff;
}
.fi-order__book {
	width: 75%;
	padding: 5%;
	box-sizing: border-box;
	min-width: 0;
}
.fi-order .fi-order__content {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.fi-order .fi-order__content > * {
	margin-block: 0;
}
.fi-order .fi-order__content > .fi-order__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	padding: 20px 0;
}
.fi-order .fi-order__title h1 {
	margin: 0;
	font-size: 43.2px;
	font-weight: 500;
	line-height: 1;
	color: #363744;
}
@media (max-width: 1024px) {
	.fi-order__info {
		width: 10%;
		min-width: 0;
		padding: 20px 0 0;
	}
	.fi-order__mark,
	.fi-order__join {
		display: none;
	}
	.fi-order__book {
		width: 90%;
	}
	.fi-order .fi-order__title h1 {
		font-size: 32px;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	.fi-order {
		margin-top: -1px; /* live tablet: header 85px, container margin -86px */
	}
}
@media (max-width: 767px) {
	.fi-order__info {
		z-index: 10000;
	}
	.fi-order .fi-order__title h1 {
		font-size: 27.2px;
	}
}

/* ------------------------------------------------------------ cart page */
/* [fi_cart] (inc/cart-page-template.php) inside the order frame (page-order):
   the header mini cart's visual language — booking cards + a sticky summary box. */
.fi-cp {
	--fi-mc-line: #ececf0;
	--fi-mc-soft: #f7f7f9;
}
.fi-cp,
.fi-cp * {
	box-sizing: border-box;
}
.fi-cp__notices:empty {
	display: none;
}
.fi-cp__notices {
	margin-bottom: 24px;
}
.fi-cp__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 40px;
	align-items: start;
}
.fi-cp__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--fi-mc-line);
	border-bottom: 1px solid var(--fi-mc-line);
	list-style: none;
}
/* Bookings as rows divided by straight lines (Magnús 2026-11-08: no boxes). */
.fi-cp .fi-cp__item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	margin: 0;
	padding: 24px 0;
	border-top: 1px solid var(--fi-mc-line);
	background: transparent;
	transition: opacity 0.2s;
	position: relative;
}
.fi-cp .fi-cp__item:first-child {
	border-top: 0;
}
.fi-cp .fi-cp__item.is-removing {
	opacity: 0.4;
	pointer-events: none;
}
.fi-cp .fi-cp__item::before,
.fi-cp .fi-cp__item::after {
	content: none;
}
.fi-cp__thumb {
	width: 104px;
	height: 104px;
}
.fi-cp .fi-cp__thumb img {
	display: block;
	width: 104px;
	height: 104px;
	max-width: none;
	margin: 0;
	border-radius: 12px;
	object-fit: cover;
	box-shadow: none;
}
.fi-cp__body {
	min-width: 0;
	padding-right: 40px;
}
.fi-cp__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
}
.fi-cp .fi-cp__name {
	color: var(--wp--preset--color--text);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}
.fi-cp a.fi-cp__name:hover {
	color: var(--wp--preset--color--primary);
}
.fi-cp__price {
	flex: none;
	color: var(--wp--preset--color--text);
	font-size: 1.05rem;
	font-weight: 700;
	white-space: nowrap;
}
.fi-cp .fi-cp__hold {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 10px 0 0;
	padding: 3px 11px 3px 8px;
	border-radius: 100px;
	background: rgba(0, 138, 210, 0.08);
	color: var(--wp--preset--color--primary);
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	font-variant-numeric: tabular-nums;
}
.fi-cp .fi-cp__hold svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
}
.fi-cp .fi-cp__hold.is-low {
	background: rgba(151, 12, 17, 0.08);
	color: var(--wp--preset--color--accent);
}
.fi-cp .fi-cp__hold.is-expired {
	background: var(--fi-mc-soft);
	color: var(--wp--preset--color--muted);
}
.fi-cp__rows {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 36px;
	margin: 14px 0 0;
	padding: 0;
	border: 0;
}
.fi-cp__row {
	margin: 0;
}
.fi-cp .fi-cp__row dt,
.fi-cp .fi-cp__row dd {
	display: block;
	margin: 0;
	padding: 0;
	float: none;
}
.fi-cp .fi-cp__row dt {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.fi-cp .fi-cp__row dd {
	color: var(--wp--preset--color--text);
	font-size: 15px;
}
.fi-cp .fi-cp__row dt,
.fi-cp .fi-cp__row dd {
	white-space: nowrap;
}
.fi-cp .fi-cp__row dd p {
	display: inline;
	margin: 0;
}
.fi-cp__days {
	margin: 14px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--fi-mc-soft);
	font-size: 14px;
	list-style: none;
}
.fi-cp__days li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 10px;
	margin: 0;
	padding: 3px 0;
}
.fi-cp__day,
.fi-cp__day-date {
	color: var(--wp--preset--color--muted);
}
.fi-cp__qty {
	margin: 10px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}
.fi-cp .fi-cp__remove {
	position: absolute;
	top: 18px;
	right: -8px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	color: #9a9aa5;
	transition: background 0.15s, color 0.15s;
}
.fi-cp .fi-cp__remove:hover,
.fi-cp .fi-cp__remove:focus-visible {
	background: rgba(151, 12, 17, 0.08);
	color: var(--wp--preset--color--accent);
}
.fi-cp .fi-cp__remove svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.fi-cp__remove-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.fi-cp .fi-cp__item .fi-cp__top {
	padding-right: 0;
}
.fi-cp .fi-mc__error {
	margin: 8px 0 0;
	color: var(--wp--preset--color--accent);
	font-size: 13px;
}

/* summary */
.fi-cp__summary {
	position: sticky;
	top: 120px;
	padding: 26px;
	border-radius: 16px;
	background: var(--fi-mc-soft);
}
.fi-cp .fi-cp__summary-title {
	margin: 0 0 16px;
	color: var(--wp--preset--color--menu);
	font-size: 1.1rem;
	font-weight: 700;
}
.fi-cp__sums {
	margin: 0;
	padding: 0;
	border: 0;
}
.fi-cp__sum {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 8px 0;
}
.fi-cp .fi-cp__sum dt,
.fi-cp .fi-cp__sum dd {
	margin: 0;
	padding: 0;
	float: none;
}
.fi-cp .fi-cp__sum dt {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
}
.fi-cp .fi-cp__sum--total {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #e2e2e8;
}
.fi-cp .fi-cp__sum--total dt {
	color: var(--wp--preset--color--text);
	font-weight: 700;
}
.fi-cp .fi-cp__sum--total dd {
	color: var(--wp--preset--color--text);
	font-size: 1.4rem;
	font-weight: 700;
}
.fi-cp .fi-cp__pay {
	display: block;
	margin: 20px 0 0;
	padding: 15px 20px 13px;
	border-radius: 100px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 0.15s;
}
.fi-cp .fi-cp__pay:hover,
.fi-cp .fi-cp__pay:focus-visible {
	background: #0074b1;
	color: #fff;
}
.fi-cp__note {
	margin: 14px 0 0;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.45;
	text-align: center;
	text-wrap: balance;
}
.fi-cp .fi-cp__more {
	display: block;
	margin: 14px 0 0;
	color: var(--wp--preset--color--primary);
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}
.fi-cp .fi-cp__more:hover {
	text-decoration: underline;
}

/* empty */
.fi-cp__empty {
	max-width: 440px;
	margin: 20px auto 0;
	padding: 48px 32px;
	border-radius: 16px;
	background: var(--fi-mc-soft);
	text-align: center;
}
.fi-cp__empty svg {
	width: 44px;
	height: 44px;
	fill: var(--wp--preset--color--primary);
	opacity: 0.7;
}
.fi-cp .fi-cp__empty-title {
	margin: 14px 0 0;
	color: var(--wp--preset--color--text);
	font-size: 1.2rem;
	font-weight: 700;
}
.fi-cp .fi-cp__empty-text {
	margin: 6px 0 0;
	color: var(--wp--preset--color--muted);
}
.fi-cp .fi-cp__empty .fi-cp__pay {
	display: inline-block;
	padding-inline: 28px;
}

@media (max-width: 1200px) {
	.fi-cp__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.fi-cp__summary {
		position: static;
		width: 100%;
		max-width: 520px;
		justify-self: end;
	}
}
@media (max-width: 767px) {
	.fi-cp__summary {
		max-width: none;
	}
}
@media (max-width: 767px) {
	.fi-cp .fi-cp__item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 0 14px;
		padding: 16px 0;
	}
	.fi-cp__thumb,
	.fi-cp .fi-cp__thumb img {
		width: 64px;
		height: 64px;
	}
	/* Phone: name + price beside the picture, the details full width under it. */
	.fi-cp__body {
		display: contents;
	}
	.fi-cp__top {
		grid-column: 2;
		align-self: center;
		padding-right: 30px;
	}
	.fi-cp .fi-cp__hold,
	.fi-cp__rows,
	.fi-cp__days,
	.fi-cp__qty {
		grid-column: 1 / -1;
		justify-self: stretch;
	}
	.fi-cp .fi-cp__hold {
		justify-self: start;
	}
	.fi-cp__top {
		flex-direction: column;
		gap: 2px;
	}
	.fi-cp .fi-cp__name {
		font-size: 1rem;
	}
	.fi-cp__price {
		font-size: 0.95rem;
	}
	.fi-cp__rows {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 14px;
	}
	.fi-cp .fi-cp__row dt,
	.fi-cp .fi-cp__row dd {
		white-space: normal;
	}
	.fi-cp .fi-cp__row dt {
		font-size: 11px;
	}
	.fi-cp .fi-cp__row dd {
		font-size: 14px;
	}
	.fi-cp .fi-cp__remove {
		top: 10px;
		right: -8px;
	}
	.fi-cp__summary {
		padding: 20px;
	}
}

/* ----------------------------------------------------------- my account */
/* [fi_my_account] inside the order frame (inc/account/*): own design, the
   cart's language — FÍ-blue tabs, rows divided by lines, status pills,
   pill buttons, soft boxes. WooCommerce's forms restyled below. */
.fi-acc {
	--fi-line: #ececf0;
	--fi-soft: #f7f7f9;
	--fi-blue: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--text);
}
.fi-acc,
.fi-acc * {
	box-sizing: border-box;
}
.fi-acc .woocommerce {
	display: block;
}
.fi-acc .woocommerce::before,
.fi-acc .woocommerce::after {
	content: none;
}
.fi-acc .woocommerce .woocommerce-MyAccount-content,
.fi-acc .woocommerce .woocommerce-MyAccount-navigation {
	float: none;
	width: auto;
	margin-left: 0;
}
.fi-acc .woocommerce .woocommerce-MyAccount-content {
	margin-top: 32px;
}

/* tabs */
.fi-acc__tabs ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--fi-line);
	list-style: none;
}
.fi-acc__tab {
	margin: 0;
}
.fi-acc .fi-acc__tab a {
	display: block;
	padding: 12px 0 13px;
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	background-image: linear-gradient(var(--fi-blue), var(--fi-blue));
	background-position: 50% 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	transition: background-size 0.2s ease, color 0.2s ease;
}
.fi-acc .fi-acc__tab a:hover,
.fi-acc .fi-acc__tab a:focus-visible {
	color: var(--fi-blue);
	background-size: 100% 2px;
}
.fi-acc .fi-acc__tab.is-current a {
	color: var(--wp--preset--color--text);
	background-size: 100% 2px;
}
.fi-acc .fi-acc__tab--customer-logout {
	margin-left: auto;
}
.fi-acc .fi-acc__tab--customer-logout a {
	font-weight: 400;
}

/* buttons + pills */
.fi-acc .fi-acc__btn {
	display: inline-block;
	padding: 9px 18px 8px;
	border: 1px solid #d9d9e1;
	border-radius: 100px;
	background: #fff;
	color: var(--wp--preset--color--text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.fi-acc .fi-acc__btn:hover,
.fi-acc .fi-acc__btn:focus-visible {
	border-color: var(--fi-blue);
	color: var(--fi-blue);
}
.fi-acc .fi-acc__btn--primary {
	border-color: var(--fi-blue);
	background: var(--fi-blue);
	color: #fff;
}
.fi-acc .fi-acc__btn--primary:hover,
.fi-acc .fi-acc__btn--primary:focus-visible {
	border-color: #0074b1;
	background: #0074b1;
	color: #fff;
}
.fi-acc__pill {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px 2px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 700;
	line-height: 18px;
	white-space: nowrap;
}
.fi-acc__pill--ok { background: #e7f6ec; color: #1d7a3d; }
.fi-acc__pill--wait { background: #fff4dc; color: #8a5a00; }
.fi-acc__pill--off { background: #f1f1f4; color: #6b6b76; }
.fi-acc__pill--other,
.fi-acc__pill--soft { background: rgba(0, 138, 210, 0.08); color: var(--fi-blue); }

/* dashboard */
.fi-acc .fi-acc__hello {
	margin: 0;
	color: var(--wp--preset--color--menu);
	font-size: 1.5rem;
	font-weight: 600;
}
.fi-acc .fi-acc__intro {
	margin: 6px 0 0;
	color: var(--wp--preset--color--muted);
}
.fi-acc__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 16px;
	margin-top: 26px;
}
.fi-acc .fi-acc__card {
	position: relative;
	display: block;
	padding: 22px 50px 22px 22px;
	border-radius: 16px;
	background: var(--fi-soft);
	color: var(--wp--preset--color--text);
	text-decoration: none;
	transition: background 0.15s, box-shadow 0.15s;
}
.fi-acc .fi-acc__card:hover,
.fi-acc .fi-acc__card:focus-visible {
	background: #fff;
	box-shadow: 0 0 0 1px var(--fi-blue);
}
.fi-acc__card-title {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
}
.fi-acc__card-text {
	display: block;
	margin-top: 4px;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	line-height: 1.4;
}
.fi-acc__card-arrow {
	position: absolute;
	top: 22px;
	right: 20px;
	width: 20px;
	height: 20px;
	fill: var(--fi-blue);
	transition: transform 0.15s;
}
.fi-acc .fi-acc__card:hover .fi-acc__card-arrow {
	transform: translateX(3px);
}
.fi-acc .fi-acc__notyou {
	margin: 22px 0 0;
	font-size: 14px;
}
.fi-acc .fi-acc__notyou a {
	color: var(--wp--preset--color--muted);
}

/* bookings list */
.fi-acc__orders {
	margin: -16px 0 0;
	padding: 0;
	list-style: none;
}
.fi-acc__order {
	display: grid;
	grid-template-columns: 150px 170px 130px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 20px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--fi-line);
}
.fi-acc .fi-acc__order-no {
	color: var(--wp--preset--color--text);
	font-weight: 700;
	text-decoration: none;
}
.fi-acc .fi-acc__order-no:hover {
	color: var(--fi-blue);
}
.fi-acc__order-date {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}
.fi-acc__order .fi-acc__pill {
	justify-self: start;
}
.fi-acc__order-total {
	font-weight: 700;
}
.fi-acc__order-total small {
	margin-left: 4px;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	font-weight: 400;
}
.fi-acc__order-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
.fi-acc__pager {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
}
.fi-acc__empty {
	padding: 40px 24px;
	border-radius: 16px;
	background: var(--fi-soft);
	text-align: center;
}
.fi-acc .fi-acc__empty p {
	margin: 0 0 16px;
	color: var(--wp--preset--color--muted);
}

/* one order */
.fi-acc .fi-acc__back {
	margin: 0 0 14px;
	font-size: 14px;
}
.fi-acc .fi-acc__back a {
	color: var(--fi-blue);
	font-weight: 600;
	text-decoration: none;
}
.fi-acc__order-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--fi-line);
}
.fi-acc .fi-acc__order-title {
	margin: 0;
	color: var(--wp--preset--color--menu);
	font-size: 1.6rem;
	font-weight: 600;
}
.fi-acc .fi-acc__order-meta {
	flex-basis: 100%;
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}
.fi-acc__items {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fi-acc__item {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 18px;
	margin: 0;
	padding: 24px 0;
	border-bottom: 1px solid var(--fi-line);
}
.fi-acc__item.is-cancelled .fi-acc__item-thumb img {
	filter: grayscale(1);
	opacity: 0.6;
}
.fi-acc .fi-acc__item-thumb img {
	display: block;
	width: 104px;
	height: 104px;
	max-width: none;
	margin: 0;
	border-radius: 12px;
	object-fit: cover;
}
.fi-acc__item-top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}
.fi-acc .fi-acc__item-name {
	color: var(--wp--preset--color--text);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
}
.fi-acc a.fi-acc__item-name:hover {
	color: var(--fi-blue);
}
.fi-acc__item-price {
	flex: none;
	font-weight: 700;
	white-space: nowrap;
}
.fi-acc__rows {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 36px;
	margin: 12px 0 0;
	padding: 0;
}
.fi-acc__row {
	margin: 0;
}
.fi-acc .fi-acc__row dt,
.fi-acc .fi-acc__row dd {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.fi-acc .fi-acc__row dt {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.fi-acc .fi-acc__row dd {
	font-size: 15px;
}
.fi-acc__guests {
	margin-top: 14px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--fi-soft);
}
.fi-acc .fi-acc__guests-title {
	margin: 0 0 6px;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.fi-acc__guests ol {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}
.fi-acc__guests li {
	margin: 0;
	padding: 3px 0;
}
.fi-acc__guest-data span:not(:last-child)::after {
	content: "·";
	margin: 0 8px;
	color: var(--wp--preset--color--muted);
}
.fi-acc__guest-no {
	display: inline-block;
	min-width: 72px;
	color: var(--wp--preset--color--muted);
}
.fi-acc__order-foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
	gap: 20px;
	align-items: start;
	margin-top: 28px;
}
/* The summary sits on the right so its total lines up under the booking prices. */
.fi-acc__box--sum .fi-acc__sum dd {
	text-align: right;
}
@media (max-width: 767px) {
	.fi-acc__order-foot {
		grid-template-columns: minmax(0, 1fr);
	}
	.fi-acc__box--sum {
		order: -1;
	}
}
.fi-acc__box {
	padding: 22px 24px;
	border-radius: 16px;
	background: var(--fi-soft);
}
.fi-acc .fi-acc__box h3 {
	margin: 0 0 12px;
	color: var(--wp--preset--color--menu);
	font-size: 1.05rem;
	font-weight: 700;
}
.fi-acc__sums {
	margin: 0;
	padding: 0;
}
.fi-acc__sum {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 6px 0;
}
.fi-acc .fi-acc__sum dt,
.fi-acc .fi-acc__sum dd {
	margin: 0;
	padding: 0;
}
.fi-acc .fi-acc__sum dt {
	color: var(--wp--preset--color--muted);
}
.fi-acc .fi-acc__sum--order_total {
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px solid #e2e2e8;
	font-weight: 700;
}
.fi-acc .fi-acc__sum--order_total dt {
	color: var(--wp--preset--color--text);
}
.fi-acc .fi-acc__box .fi-acc__order-actions {
	justify-content: flex-start;
	margin-top: 14px;
}
.fi-acc__address {
	font-style: normal;
	line-height: 1.6;
}
.fi-acc__notes {
	margin-top: 20px;
}
.fi-acc__notes ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
.fi-acc__note-date {
	color: var(--wp--preset--color--muted);
	font-size: 13px;
}

/* WooCommerce forms (addresses, account details, login, register, lost password) */
.fi-acc .woocommerce-Addresses,
.fi-acc .u-columns {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin: 0;
}
.fi-acc .woocommerce .woocommerce-Addresses::before,
.fi-acc .woocommerce .woocommerce-Addresses::after,
.fi-acc .woocommerce .u-columns::before,
.fi-acc .woocommerce .u-columns::after {
	content: none;
	display: none;
}
.fi-acc .woocommerce .u-columns .woocommerce-Address,
.fi-acc .woocommerce .u-columns .u-column1,
.fi-acc .woocommerce .u-columns .u-column2,
.fi-acc .woocommerce-Address,
.fi-acc .u-column1,
.fi-acc .u-column2 {
	float: none;
	width: auto;
	max-width: none;
	padding: 24px;
	border-radius: 16px;
	background: var(--fi-soft);
}
.fi-acc .woocommerce .woocommerce-Address-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	margin-bottom: 12px;
}
.fi-acc .woocommerce .woocommerce-Address-title::before,
.fi-acc .woocommerce .woocommerce-Address-title::after {
	content: none;
}
.fi-acc .woocommerce .woocommerce-Address-title h2 {
	margin: 0;
}
.fi-acc .woocommerce .woocommerce-Address-title a {
	float: none;
	order: 3;
}
.fi-acc .woocommerce-Address-title h2,
.fi-acc .u-column1 > h2,
.fi-acc .u-column2 > h2,
.fi-acc .woocommerce form h2,
.fi-acc fieldset legend {
	margin: 0 0 14px;
	color: var(--wp--preset--color--menu);
	font-size: 1.15rem;
	font-weight: 700;
}
.fi-acc .woocommerce-Address-title a,
.fi-acc .woocommerce-LostPassword a,
.fi-acc .lost_password a {
	color: var(--fi-blue);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}
.fi-acc .woocommerce-Address address {
	font-style: normal;
	line-height: 1.6;
}
.fi-acc .woocommerce-MyAccount-content > p:first-child {
	color: var(--wp--preset--color--muted);
}
.fi-acc .woocommerce form .form-row,
.fi-acc .woocommerce form .woocommerce-form-row {
	float: none;
	width: 100%;
	margin: 0 0 16px;
	padding: 0;
}
.fi-acc .woocommerce form .form-row-first,
.fi-acc .woocommerce form .form-row-last {
	display: inline-block;
	width: calc(50% - 8px);
	vertical-align: top;
}
.fi-acc .woocommerce form .form-row-first {
	margin-right: 12px;
}
.fi-acc .woocommerce form label {
	display: block;
	margin-bottom: 6px;
	color: var(--wp--preset--color--text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.fi-acc .woocommerce form label.woocommerce-form__label-for-checkbox {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}
.fi-acc .woocommerce form .required {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
	border: 0;
}
.fi-acc .woocommerce form input.input-text,
.fi-acc .woocommerce form input[type="text"],
.fi-acc .woocommerce form input[type="email"],
.fi-acc .woocommerce form input[type="password"],
.fi-acc .woocommerce form input[type="tel"],
.fi-acc .woocommerce form select,
.fi-acc .woocommerce form textarea,
.fi-acc .woocommerce form .select2-container .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 10px 14px;
	border: 1px solid #d9d9e1;
	border-radius: 10px;
	background: #fff;
	color: var(--wp--preset--color--text);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}
.fi-acc .woocommerce form .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0;
	line-height: 24px;
}
.fi-acc .woocommerce form .select2-container .select2-selection--single .select2-selection__arrow {
	top: 10px;
	right: 8px;
}
.fi-acc .woocommerce form input:focus,
.fi-acc .woocommerce form select:focus,
.fi-acc .woocommerce form textarea:focus {
	border-color: var(--fi-blue);
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 138, 210, 0.15);
}
.fi-acc .woocommerce form .password-input {
	display: block;
	position: relative;
}
.fi-acc .woocommerce form .show-password-input {
	position: absolute;
	top: 50%;
	right: 12px;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: var(--wp--preset--color--muted);
}
.fi-acc fieldset {
	margin: 10px 0 18px;
	padding: 20px 20px 4px;
	border: 1px solid var(--fi-line);
	border-radius: 12px;
}
.fi-acc fieldset legend {
	padding: 0 6px;
	font-size: 1rem;
}
.fi-acc .woocommerce form .woocommerce-Button,
.fi-acc .woocommerce form button[type="submit"],
.fi-acc .woocommerce form .button {
	display: inline-block;
	margin-top: 4px;
	padding: 13px 28px 12px;
	border: 0;
	border-radius: 100px;
	background: var(--fi-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s;
}
.fi-acc .woocommerce form .woocommerce-Button:hover,
.fi-acc .woocommerce form button[type="submit"]:hover,
.fi-acc .woocommerce form .button:hover,
.fi-acc .woocommerce form .woocommerce-Button:focus-visible,
.fi-acc .woocommerce form button[type="submit"]:focus-visible {
	background: #0074b1;
	color: #fff;
}
.fi-acc .woocommerce form em,
.fi-acc .woocommerce-privacy-policy-text,
.fi-acc .woocommerce form .description {
	display: block;
	margin-top: 6px;
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	font-style: normal;
}
.fi-acc .woocommerce-privacy-policy-text a {
	color: var(--fi-blue);
}
.fi-acc .woocommerce-form-login__rememberme {
	margin-bottom: 12px;
}
.fi-acc .woocommerce-notices-wrapper:empty {
	display: none;
}
.fi-acc .woocommerce-message,
.fi-acc .woocommerce-info,
.fi-acc .woocommerce-error {
	margin: 0 0 20px;
	padding: 14px 18px;
	border: 0;
	border-radius: 12px;
	background: rgba(0, 138, 210, 0.08);
	color: var(--wp--preset--color--text);
	list-style: none;
}
.fi-acc .woocommerce-message::before,
.fi-acc .woocommerce-info::before,
.fi-acc .woocommerce-error::before {
	content: none;
}
.fi-acc .woocommerce-error {
	background: rgba(151, 12, 17, 0.07);
}

.fi-acc .woocommerce-EditAccountForm,
.fi-acc .woocommerce-MyAccount-content > form,
.fi-acc .woocommerce-ResetPassword {
	max-width: 720px;
}
.fi-acc {
	--wc-form-border-color: #d9d9e1;
	--wc-form-border-radius: 10px;
	--wc-form-border-width: 1px;
}

@media (max-width: 1100px) {
	.fi-acc__order {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 6px 14px;
	}
	.fi-acc__order-no { grid-column: 1; grid-row: 1; }
	.fi-acc__order .fi-acc__pill { grid-column: 2; grid-row: 1; justify-self: end; }
	.fi-acc__order-date { grid-column: 1; grid-row: 2; }
	.fi-acc__order-total { grid-column: 1; grid-row: 3; }
	.fi-acc__order-actions { grid-column: 2; grid-row: 2 / span 2; align-self: end; }
}
@media (max-width: 767px) {
	.fi-acc__tabs ul {
		flex-wrap: nowrap;
		gap: 22px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.fi-acc__tabs ul::-webkit-scrollbar {
		display: none;
	}
	.fi-acc .fi-acc__tab a {
		white-space: nowrap;
		font-size: 14px;
	}
	.fi-acc .fi-acc__tab--customer-logout {
		margin-left: 0;
	}
	.fi-acc__item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 0 14px;
		padding: 16px 0;
	}
	.fi-acc .fi-acc__item-thumb img {
		width: 64px;
		height: 64px;
	}
	.fi-acc__item-body {
		display: contents;
	}
	.fi-acc__item-top {
		grid-column: 2;
		flex-direction: column;
		gap: 2px;
		align-self: center;
	}
	.fi-acc__item-body > :not(.fi-acc__item-top) {
		grid-column: 1 / -1;
		justify-self: stretch;
	}
	.fi-acc__item-body > .fi-acc__pill {
		justify-self: start;
		margin-top: 10px;
	}
	.fi-acc__rows {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px 14px;
	}
	.fi-acc .fi-acc__row dt,
	.fi-acc .fi-acc__row dd {
		white-space: normal;
	}
	.fi-acc .woocommerce form .form-row-first,
	.fi-acc .woocommerce form .form-row-last {
		display: block;
		width: 100%;
		margin-right: 0;
	}
}

/* ------------------------------------------------------------- checkout */
/* [fi_checkout] in the order frame: page 85's container values differ from the
   cart's (2% inner padding, a black line under the title, 20px above the form). */
.fi-order:has(.fi-woo-checkout) .fi-order__book {
	padding: 2%;
}
.fi-order:has(.fi-woo-checkout) {
	min-height: 100vh;
}
/* Live container 30d7008: margin-bottom -150px makes the stretched blue column
   150px taller than the row (it runs on behind the footer). */
.fi-order:has(.fi-woo-checkout) .fi-order__info {
	margin-bottom: -150px;
}
.fi-order:has(.fi-woo-checkout) .fi-order__content > .fi-order__title {
	border-bottom: 1px solid #000;
}
.fi-order .fi-order__content > .fi-woo-checkout {
	padding-top: 20px;
}
/* No pink reset hover (base.css button:hover → #c36) on the checkout's small
   buttons, e.g. BookingFlow's "+" guest toggles: FÍ blue instead. */
.fi-order .bookingflow-toggle-button:hover,
.fi-order .bookingflow-toggle-button:focus {
	background-color: rgba(0, 138, 210, 0.1);
	color: var(--wp--preset--color--primary);
}
/* Order summary rows (Magnús 2026-11-08: the × sat outside the box): the price
   stays in its own column at every width (live's tablet/phone CSS lifted it
   over the name), and the remove × sits right after it, inside the box, in a
   28px lane that the header and totals share so the amounts line up. */
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table tr.cart_item {
	position: relative;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table td.product-total {
	position: static;
	right: auto;
	white-space: nowrap;
	vertical-align: top;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table td.product-total,
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table th.product-total,
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table tfoot td {
	padding-right: 28px;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table td.product-name {
	width: auto;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name > span:nth-of-type(2),
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table tr.cart_item td.product-name > span:first-child + span {
	max-width: none;
	white-space: normal;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table .cart_item .fi-move {
	position: absolute;
	right: -6px;
	margin-top: -4px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: transparent;
	color: #9a9aa5 !important;
	font-size: 0;
	line-height: 0;
	text-align: center;
	transition: background 0.15s, color 0.15s;
}
/* The mini cart's trash can instead of BookingFlow's "×" (Magnús 2026-11-08:
   same icon in both). CSS only, so it survives WooCommerce's AJAX refresh. */
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table .cart_item .fi-move::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	margin: 6px auto 0;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zm-2 3h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z'/%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'%3E%3Cpath d='M9 3v1H4v2h1v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6h1V4h-5V3H9zm-2 3h10v13H7V6zm2 2v9h2V8H9zm4 0v9h2V8h-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table .cart_item .fi-move:hover,
.fi-order .fi-woo-checkout .woocommerce-checkout-review-order-table .cart_item .fi-move:focus-visible {
	background: rgba(151, 12, 17, 0.08);
	color: var(--wp--preset--color--accent) !important;
}
/* Billing fields in two columns (Magnús 2026-11-08: less height):
   Eiginnafn | Föðurnafn · Land | Kennitala (its label follows the country) ·
   Heimilisfang | Netfang · Póstnúmer | Borg / Bær. Phones: address and email
   full width. Fields WooCommerce adds for other countries (state) come last. */
.fi-order .fi-woo-checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 24px;
}
.fi-order .fi-woo-checkout .woocommerce-billing-fields__field-wrapper::before,
.fi-order .fi-woo-checkout .woocommerce-billing-fields__field-wrapper::after {
	content: none;
	display: none;
}
.fi-order .fi-woo-checkout .woocommerce-billing-fields__field-wrapper > .form-row {
	float: none;
	width: auto;
	margin-left: 0;
	margin-right: 0;
	order: 20;
}
.fi-order .fi-woo-checkout #billing_first_name_field { order: 1; }
.fi-order .fi-woo-checkout #billing_last_name_field { order: 2; }
.fi-order .fi-woo-checkout #billing_country_field { order: 3; }
.fi-order .fi-woo-checkout #billing_kennitala_field { order: 4; }
.fi-order .fi-woo-checkout #billing_address_1_field { order: 5; }
.fi-order .fi-woo-checkout #billing_email_field { order: 6; }
.fi-order .fi-woo-checkout #billing_postcode_field { order: 7; }
.fi-order .fi-woo-checkout #billing_city_field { order: 8; }
/* The country dropdown (select2, 54px) as tall as the field beside it (41px).
   Only #billing_country_field: the guest dropdowns live in the same container
   and their arrow is placed differently (Magnús saw it outside the field). */
.fi-order .fi-woo-checkout #customer_details #billing_country_field .select2-container .select2-selection--single {
	height: 41px;
	min-height: 41px;
	display: flex;
	align-items: center;
}
.fi-order .fi-woo-checkout #customer_details #billing_country_field .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 0 28px 0 5px;
	line-height: 39px;
}
.fi-order .fi-woo-checkout #customer_details #billing_country_field .select2-container .select2-selection--single .select2-selection__arrow {
	top: 50%;
	height: 26px;
	transform: translateY(-50%);
}
@media (max-width: 767px) {
	.fi-order .fi-woo-checkout #billing_address_1_field,
	.fi-order .fi-woo-checkout #billing_email_field {
		grid-column: 1 / -1;
	}
}
/* Payment method (Magnús 2026-11-08): only the Teya logo, under the "Panta"
   button. CSS only (WooCommerce redraws #payment over AJAX). Written for the
   single gateway FÍ has; with several, the radio list would need its labels. */
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment {
	display: flex !important;
	flex-direction: column;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment .place-order {
	order: 1;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods {
	order: 2;
	margin: 22px 0 0;
	padding: 0;
	border: 0;
	text-align: center;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods li {
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
}
/* Payment method names visible (Magnús 2026-11-10: was logo-only via
   font-size 0, which also hid the staff TEST card option's text). */
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods li > label {
	font-size: 15px;
	line-height: 1.4;
	margin: 0 0 0 6px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	vertical-align: middle;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods li > label img {
	display: inline-block;
	width: 44px;
	height: auto;
	margin: 0;
	vertical-align: middle;
}
/* Summary box + pay area spacing (Magnús 2026-11-08): box padding 40px top and
   bottom (was 60), the privacy text 16px under the box (was 69), a little more
   room above "Panta" and the Teya logo, button 60px tall with 8px corners.
   Tablet/phone keep page 85's own !important box padding (20px 15px). */
body .fi-order .fi-woo-checkout .e-checkout__order_review {
	padding-top: 40px;
	padding-bottom: 40px;
	margin-bottom: 0;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment {
	padding-top: 16px;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment .woocommerce-privacy-policy-text p {
	margin-top: 0;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment #place_order {
	height: 60px;
	min-height: 60px;
	margin-top: 16px;
	padding-top: 0;
	padding-bottom: 0;
	border-radius: 8px;
	line-height: 60px;
}
body .fi-order .fi-woo-checkout form.woocommerce-checkout #payment ul.payment_methods {
	margin-top: 22px;
}
/* Order received / pay (BookingFlow's order pages): no page title, like the
   live Elementor rule on container 707e3b7. */
body.woocommerce-order-received .fi-order .fi-order__content > .fi-order__title,
body.woocommerce-order-pay .fi-order .fi-order__content > .fi-order__title {
	display: none;
}
@media (max-width: 1024px) {
	.fi-order:has(.fi-woo-checkout) .fi-order__content > .fi-order__title {
		margin-top: 50px;
	}
}
