/*
Theme Name:   Kadence – Lina
Theme URI:    https://linajanulyte.com
Description:  Child theme for linajanulyte.com. Holds the site's own CSS (polish, small fade-ins, things Kadence's settings can't do). See site-rebuild/DECISIONS.md D-19.
Template:     kadence
Version:      0.10.2
Text Domain:  kadence-lina
*/

/* ==========================================================================
   1. Design tokens: the colour palette (DECISIONS.md D-23, spec 01)
      Rule of thumb: copper DECORATES, deep copper is for things you CLICK or READ,
      espresso gives strong contrast. Contrast ratios in brackets (WCAG AA needs 4.5:1
      for normal text, 3:1 for large text ≥ 24 px and graphics).
      Kadence's global palette (Customizer → Colors) mirrors this, see build/setup-design.php.
   ========================================================================== */
:root {
	/* --- Palette ---------------------------------------------------------- */
	--lina-copper: #C1865F;         /* brand copper: icons, stars, bullets, big headings on white (3.1:1 on white → large text only) */
	--lina-copper-light: #E5BD99;   /* soft copper: dots, highlights, badges behind dark text (espresso on it 8.7:1) */
	--lina-copper-deep: #9C5F3B;    /* deep copper: buttons, links, prices, small copper text (white on it 5.1:1; on white 5.1:1; on cream 4.4:1) */
	--lina-copper-deeper: #8A5233;  /* hover/pressed state of deep copper (white on it 6.3:1) */
	--lina-espresso: #2E2420;       /* darkest: headings on light/photo backgrounds, secondary buttons (13:1 on cream, 15:1 with white) */
	--lina-text: #5B4F49;           /* body text, warm grey (7.9:1 on white, 6.8:1 on cream) */
	--lina-muted: #736761;          /* small print, copyright, captions (4.9:1 on white, 4.7:1 on cream) */
	--lina-cream: #F6ECE1;          /* section bands */
	--lina-stone: #F6F3EF;          /* review cards, subtle boxes */
	--lina-offwhite: #FFFBF7;       /* soft alternative to white */
	--lina-white: #FFFFFF;          /* main background, cards */
	--lina-line: #EAE3DC;           /* divider lines (warm light grey) */
	--lina-blush: #F1D7D9;          /* soft pink accent (matches the LIPOZERO photo); espresso on it 11:1 */

	/* --- Roles used by the rules below (change a role here, the whole site follows) --- */
	--lina-action: var(--lina-copper-deep);          /* clickable/readable copper */
	--lina-action-hover: var(--lina-copper-deeper);
	--lina-heading: var(--lina-espresso);
	--lina-radius-button: 8px;
	--lina-radius-pill: 15px;      /* old "Bokning" button */
	--lina-radius-card: 16px;
	--lina-shadow-card: 0 8px 24px rgba(0, 0, 0, 0.04);
	--lina-font-heading: "Inter Tight", Arial, sans-serif;
	--lina-font-body: "Archivo", Arial, sans-serif;
	--lina-ease: 0.2s ease;
}

/* ==========================================================================
   2. Buttons (spec 01 §4): copper, white text, Archivo 16/600, 8px corners
   ========================================================================== */
.wp-element-button,
.wp-block-button__link,
.button,
button.button,
.woocommerce a.button,
.woocommerce button.button,
.kb-button {
	background-color: var(--lina-action);
	color: #fff;
	font-family: var(--lina-font-body);
	font-weight: 600;
	font-size: 16px;
	border-radius: var(--lina-radius-button);
	padding: 16px 32px;
	border: 0;
	transition: background-color var(--lina-ease), transform var(--lina-ease), box-shadow var(--lina-ease);
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.wp-element-button:focus-visible,
.wp-block-button__link:focus-visible,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.kb-button:hover {
	background-color: var(--lina-action-hover);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(156, 95, 59, 0.28);
}

/* ==========================================================================
   3. Header (spec 03): top bar | thin line | main bar
   ========================================================================== */
.site-top-header-wrap .site-header-row-container-inner {
	padding-top: 10px;      /* breathing room above the top bar (owner, 2026-11-13) */
	padding-bottom: 4px;
}

/* Divider lines: ONE rule for header and footer. Lines are drawn on the inner row, which has the
   content width (Kadence content width = 1240 px), so they never run edge to edge and line up with
   the page content. Full-width exceptions (e.g. the home hero) are sections, not lines. */
.site-top-header-inner-wrap,
.site-main-header-inner-wrap {
	border-bottom: 1px solid var(--lina-line);
}
.site-bottom-footer-inner-wrap {
	border-top: 1px solid var(--lina-line);
}

/* phone (top bar left, mobile drawer) */
.lina-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--lina-action);
	font-family: var(--lina-font-heading);
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
}
.lina-phone:hover { color: var(--lina-heading); }
.header-html .header-html-inner a.lina-phone,
.mobile-html .mobile-html-inner a.lina-phone,
a.lina-phone:hover { text-decoration: none !important; }

/* flags next to the language name (Falang outputs <img> + <span>) */
.falang-parent-menu-item > a img,
.falang-parent-menu-item > .drawer-nav-drop-wrap > a img,
.falang-menu-item > a img {
	display: inline-block;
	vertical-align: middle;
	width: 16px;
	height: 11px;
	border-radius: 2px;
}
.falang-parent-menu-item > a,
.falang-parent-menu-item > .drawer-nav-drop-wrap > a,
.falang-menu-item > a {
	display: inline-flex !important;
	align-items: center;
	flex-direction: row;
	white-space: nowrap;
}
.falang-parent-menu-item span,
.falang-menu-item span { margin-left: 6px !important; }

/* cart icon */
.header-cart-button,
.header-cart-button .kadence-svg-iconset {
	color: var(--lina-heading);
}
.header-cart-button:hover { color: var(--lina-action); }
.header-cart-total {
	background: var(--lina-copper-light);
	color: var(--lina-heading);
	font-weight: 600;
}

/* language switcher (top bar, Falang menu item with dropdown) */
.secondary-navigation .falang-parent-menu-item > a,
.secondary-navigation .falang-menu-item > a {
	font-family: var(--lina-font-heading);
	font-weight: 600;
	font-size: 14px;
	color: var(--lina-heading);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.secondary-navigation .falang-parent-menu-item:hover > a,
.secondary-navigation .falang-menu-item > a:hover { color: var(--lina-action); }
.secondary-navigation .sub-menu {
	border-radius: 12px;
	box-shadow: var(--lina-shadow-card);
	overflow: hidden;
}
.secondary-navigation .sub-menu a { padding: 10px 16px; }

/* main menu: Inter Tight 16/600, black, copper on hover and on the current page */
.main-navigation .primary-menu-container > ul > li.menu-item > a {
	color: #000;
	padding-left: 18px;
	padding-right: 18px;
	transition: color var(--lina-ease);
}
.main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
.main-navigation .primary-menu-container > ul > li.current-menu-item > a,
.main-navigation .primary-menu-container > ul > li.current-menu-ancestor > a {
	color: var(--lina-action);
}

/* "Bokning" as a real button (menu item with class menu-button) */
.main-navigation .primary-menu-container > ul > li.menu-button {
	margin-left: 14px;
}
.main-navigation .primary-menu-container > ul > li.menu-button > a {
	background: var(--lina-action);
	color: #fff;
	border-radius: var(--lina-radius-pill);
	padding: 14px 28px;
	line-height: 1;
	box-shadow: 0 6px 16px rgba(187, 128, 89, 0.25);
	transition: background-color var(--lina-ease), box-shadow var(--lina-ease), transform var(--lina-ease);
}
.main-navigation .primary-menu-container > ul > li.menu-button > a:hover {
	background: var(--lina-action);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(187, 128, 89, 0.32);
}

/* ==========================================================================
   4. Mobile menu (burger drawer): compact, centered, languages in their own dropdown
   ========================================================================== */
#mobile-drawer .drawer-inner { background: #fff; }
#mobile-drawer .drawer-content { padding: 8px 24px 32px; }
#mobile-drawer .mobile-navigation ul li > a,
#mobile-drawer .mobile-navigation ul li > .drawer-nav-drop-wrap > a {
	justify-content: center;
	text-align: center;
	padding: 12px 0;
	color: var(--lina-heading);
}
#mobile-drawer .mobile-navigation ul li.current-menu-item > a { color: var(--lina-action); }
#mobile-drawer .mobile-navigation ul li { border: 0; }
#mobile-drawer .mobile-navigation .drawer-nav-drop-wrap {
	justify-content: center;
}
/* Bokning button inside the drawer */
#mobile-drawer .mobile-navigation li.menu-button > a {
	display: inline-flex;
	margin: 12px auto 4px;
	padding: 12px 28px;
	background: var(--lina-action);
	color: #fff;
	border-radius: var(--lina-radius-pill);
}
/* language dropdown in the drawer: smaller, separated */
#mobile-drawer .mobile-navigation li.falang-parent-menu-item {
	margin-top: 12px;
	border-top: 1px solid var(--lina-line);
	padding-top: 8px;
}
#mobile-drawer .mobile-navigation li.falang-parent-menu-item a,
#mobile-drawer .mobile-navigation li.falang-menu-item a {
	font-size: 15px;
	gap: 6px;
}
#mobile-drawer .mobile-html { margin-top: 16px; text-align: center; }
/* the dropdown arrow sits right next to the language name */
#mobile-drawer .mobile-navigation li.falang-parent-menu-item > .drawer-nav-drop-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 4px;
}
#mobile-drawer .mobile-navigation li.falang-parent-menu-item > .drawer-nav-drop-wrap > a { flex: 0 0 auto !important; width: auto !important; padding-right: 0 !important; }
#mobile-drawer .mobile-navigation li.falang-parent-menu-item > .drawer-nav-drop-wrap > .drawer-sub-toggle { margin-left: 0 !important; }
#mobile-drawer .mobile-navigation li.falang-parent-menu-item .drawer-sub-toggle {
	position: static !important;
	width: auto !important;
	height: auto !important;
	border: 0;
	padding: 6px;
	color: var(--lina-heading);
	background: transparent;
}
#mobile-drawer .mobile-navigation li.falang-parent-menu-item .sub-menu {
	background: var(--lina-offwhite);
	border-radius: 12px;
	margin: 4px auto 0;
	max-width: 220px;
}
/* close (✕) button visible */
#mobile-drawer .drawer-header .drawer-toggle { color: var(--lina-heading); }

/* ==========================================================================
   5. Footer (spec 04): [logo | divider | links] — line — copyright
   ========================================================================== */
.site-middle-footer-wrap .site-footer-row-container-inner {
	padding-top: 80px;
	padding-bottom: 30px;
}
/* logo column ~1/3, links ~2/3 (owner, 2026-11-13) */
@media (min-width: 1025px) {
	.site-middle-footer-inner-wrap.site-footer-row-columns-2 {
		grid-template-columns: 1fr 2fr !important;
	}
}
.site-middle-footer-wrap .site-footer-middle-section-1 {
	border-right: 1px solid var(--lina-line);
	padding-right: 32px;
}
.site-middle-footer-wrap .site-footer-middle-section-2 {
	padding-left: 32px;
	align-items: center;
}
.lina-footer-logo { margin: 0; }
.lina-footer-logo img { width: 200px; height: auto; display: block; }

#colophon .footer-navigation .footer-menu-container > ul {
	flex-wrap: wrap;
	justify-content: flex-end;
	row-gap: 6px;
}
#colophon .footer-navigation .footer-menu-container > ul > li > a {
	color: var(--lina-action);
	text-decoration: underline;
	text-underline-offset: 3px;
	padding: 6px 12px;
	font-size: 15px;
}
#colophon .footer-navigation .footer-menu-container > ul > li > a:hover { color: var(--lina-action-hover); }

.site-bottom-footer-wrap .site-bottom-footer-inner-wrap {
	padding-top: 24px;
	padding-bottom: 24px;
}
.site-bottom-footer-wrap .footer-html {
	color: var(--lina-muted);
	font-size: 14px;
	text-align: left;
}
.site-bottom-footer-wrap .site-footer-bottom-section-1 { justify-content: flex-start; }
/* copyright left, language links right (repeated from the header; common practice) */
.site-bottom-footer-wrap .footer-html-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; width: 100%; }
.site-bottom-footer-wrap .site-footer-bottom-section-1,
.site-bottom-footer-wrap .footer-html { width: 100%; }
/* The theme wraps footer text in <p>; a <ul> can't live in a <p>, so the browser moves the language list
   out of its wrapper. Target the list itself. */
.site-bottom-footer-wrap .falang-language-switcher { display: flex; gap: 18px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.site-bottom-footer-wrap .footer-html-inner p { margin: 0; }
.site-bottom-footer-wrap .falang-language-switcher a { display: inline-flex !important; flex-direction: row; align-items: center; gap: 6px; color: var(--lina-muted); text-decoration: none !important; font-size: 14px; white-space: nowrap; }
.site-bottom-footer-wrap .falang-language-switcher img { display: inline-block !important; width: 16px; height: 11px; border-radius: 2px; }
.site-bottom-footer-wrap .falang-language-switcher a:hover,
.site-bottom-footer-wrap .falang-language-switcher a.current { color: var(--lina-action); }
@media (max-width: 767px) { .site-bottom-footer-wrap .footer-html-inner { justify-content: center; text-align: center; } .site-bottom-footer-wrap .falang-language-switcher { margin: 0 auto; } }

@media (max-width: 1024px) {
	.site-middle-footer-wrap .site-footer-middle-section-1 {
		border-right: 0;
		padding-right: 0;
		justify-content: center;
	}
	.site-middle-footer-wrap .site-footer-middle-section-2 { padding-left: 0; }
	.lina-footer-logo { margin: 0 auto; }
	.lina-footer-logo img { margin: 0 auto; }
	#colophon .footer-navigation .footer-menu-container > ul { justify-content: center; }
	.site-bottom-footer-wrap .footer-html { text-align: center; }
}

/* ==========================================================================
   6. Small motion (D-19): fade-in for elements marked with .lina-fade
      (respects users who prefer reduced motion)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.lina-fade { animation: lina-fade-up 0.6s ease both; }
	@keyframes lina-fade-up {
		from { opacity: 0; transform: translateY(12px); }
		to   { opacity: 1; transform: none; }
	}
}

/* ==========================================================================
   7. Page sections (shared by all pages; home first). Sections may be full width,
      their content stays inside the 1240 px content width (D-21).
   ========================================================================== */
.lina-section,
.lina-section.alignfull {
	padding: 96px 24px !important;   /* Kadence's .alignfull would otherwise remove the side padding */
}
.lina-section > * {
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}
.lina-band--cream { background: var(--lina-cream); }
/* light brand copper is too faint on cream (2.6:1): big headings there use deep copper */
.lina-band--cream :is(h1, h2, h3), .lina-band--cream :is(h1, h2, h3) a { color: var(--lina-copper-deep); }
.lina-center { text-align: center; }
.lina-lead { font-size: 18px; max-width: 640px; }
.lina-center .lina-lead,
.lina-lead.lina-center { margin-left: auto; margin-right: auto; }
.lina-actions-right { justify-content: flex-end; }
.lina-actions-center { justify-content: center; }
/* Secondary button: dark outline, clearly visible on white and on cream (was white-on-cream and blended in) */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--lina-espresso);
	border: 1.5px solid var(--lina-espresso);
	padding: 14px 30px;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--lina-espresso);
	color: #fff;
}
@media (max-width: 767px) {
	.lina-section,
	.lina-section.alignfull { padding: 64px 20px !important; }
	.lina-actions-right { justify-content: center; }
}

/* ==========================================================================
   8. Cards (services, reviews …): white, 16 px corners, soft shadow
   ========================================================================== */
.lina-card {
	background: #fff;
	border-radius: var(--lina-radius-card);
	box-shadow: var(--lina-shadow-card);
	padding: 32px 28px;
	height: 100%;
	transition: transform var(--lina-ease), box-shadow var(--lina-ease);
}
.lina-card { position: relative; }
/* search results: Kadence's result cards get our card corners + shadow (the rest is settings: setup-search.php) */
.search-results .loop-entry { border-radius: var(--lina-radius-card); box-shadow: var(--lina-shadow-card); overflow: hidden; }
/* no results: Kadence's message brings its own search box; the one at the top (setup-search.php) is enough */
.search-no-results .page-content .search-form { display: none; }
.lina-card:hover,
.lina-card:focus-within { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46, 36, 32, 0.12); }
.lina-services .lina-card { text-align: center; }
.lina-services .lina-card img { width: 72px; height: auto; margin: 0 auto 16px; }
.lina-services .lina-card h3 { font-size: 20px; color: var(--lina-action); margin: 0 0 10px; }
.lina-services .lina-card h3 a { color: inherit; text-decoration: none; }
/* the title link covers the whole card: one link per card (good for screen readers), whole card clickable */
.lina-services .lina-card h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.lina-services .lina-card h3 a::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform var(--lina-ease); }
.lina-services .lina-card:hover h3 a::after { transform: translateX(4px); }
.lina-services .lina-card img { transition: transform 0.35s ease; }
.lina-services .lina-card:hover img { transform: scale(1.08); }
.lina-services .lina-card p { font-size: 15px; margin: 0; }
.lina-services .wp-block-columns { gap: 24px; margin: 40px auto 32px; }

/* ==========================================================================
   9. Slider (hero + reviews), driven by assets/lina-slider.js
   ========================================================================== */
.lina-slider { position: relative; }
/* WordPress wraps group content in .wp-block-group__inner-container with this (classic) theme.
   In tracks and grids that wrapper must not take part in the layout: its children act as direct children. */
.lina-slider__track > .wp-block-group__inner-container,
.lina-picks__grid > .wp-block-group__inner-container {
	display: contents;
}
.lina-slider__track {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	gap: 0;
}
.lina-slider__track::-webkit-scrollbar { display: none; }
.lina-slider__track > :not(.wp-block-group__inner-container),
.lina-slider__track > .wp-block-group__inner-container > * {
	flex: 0 0 100%;
	scroll-snap-align: start;
	margin: 0 !important;
}
.lina-slider__nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}
.lina-slider__dots { display: flex; gap: 8px; }
.lina-slider__dot {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lina-copper-light);
	cursor: pointer;
}
.lina-slider__dot[aria-current="true"] { background: var(--lina-copper); transform: scale(1.25); }
.lina-slider__arrow {
	width: 36px;
	height: 36px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--lina-line);
	background: #fff;
	color: var(--lina-heading);
	cursor: pointer;
	position: relative;
}
.lina-slider__arrow::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateX(-2px) rotate(45deg);
}
.lina-slider__arrow--prev::before { transform: translateX(2px) rotate(-135deg); }
/* Same look everywhere (hero + reviews). Hover only on devices that really hover (mouse), so a tap on a
   phone doesn't leave the colour "stuck"; keyboard users get a focus ring instead. */
@media (hover: hover) {
	.lina-slider__arrow:hover { background: var(--lina-action) !important; border-color: var(--lina-action); color: #fff; }
}
.lina-slider__arrow:focus { outline: none; }
.lina-slider__arrow:focus-visible { outline: 2px solid var(--lina-action); outline-offset: 2px; }
.lina-slider__arrow { transition: background-color var(--lina-ease), color var(--lina-ease), border-color var(--lina-ease); }

/* Hero: full-width photo slides, text on the left, nav over the bottom of the photo */
.lina-hero .wp-block-cover.lina-slide {
	min-height: clamp(560px, calc(100svh - 160px), 860px) !important;   /* fills the first screen below the header (~156 px), so arrows/dots stay visible above the fold */
	padding: 48px max(24px, calc((100vw - 1240px) / 2)) !important;
}
.lina-hero .wp-block-cover__inner-container { max-width: 520px; margin: 0 !important; color: var(--lina-heading); }
.lina-hero .lina-slider__nav { position: absolute; left: 0; right: 0; bottom: 20px; margin: 0; z-index: 5; } /* above the cover photos, or clicks never reach the arrows */
.lina-hero .lina-slider__arrow { background: #fff; }
/* lotus (courses slide): a small ornament sitting right on the title, same left edge (round 10) */
.lina-hero .lina-hero__icon { margin: 0 0 -2px !important; display: block; text-align: left; }
.lina-hero .lina-hero__icon img { width: 60px !important; height: auto !important; display: block; margin: 0 !important; }
.lina-hero .lina-hero__icon + .lina-hero__title { margin-top: 14px !important; }
.lina-hero__title { font-size: 56px; line-height: 1.1; color: var(--lina-heading); margin: 8px 0 16px; }
.lina-hero__list { list-style: none; padding: 0; margin: 0 0 20px; font-family: var(--lina-font-heading); font-size: 26px; font-weight: 600; color: var(--lina-heading); }
.lina-hero__list li::before { content: "✓ "; color: var(--lina-action); }   /* check marks for all hero lists */
.lina-hero__list.lina-hero__checks { font-size: 20px; font-weight: 500; }
.lina-hero__list.lina-hero__checks li::before { content: "✓ "; }
.lina-hero p { font-size: 17px; }
@media (max-width: 767px) {
	.lina-hero .wp-block-cover.lina-slide { min-height: 600px !important; padding: 32px 20px 80px !important; align-items: flex-end; }
	.lina-hero .wp-block-cover__inner-container {
		background: rgba(255, 255, 255, 0.88);
		border-radius: var(--lina-radius-card);
		padding: 20px;
	}
	.lina-hero__title { font-size: 34px; }
	.lina-hero__list { font-size: 20px; }
	.lina-hero__list.lina-hero__checks { font-size: 16px; }
}

/* Reviews: 3 cards per view on desktop, 2 on tablets, 1 on phones */
.lina-reviews { max-width: 1160px !important; margin-left: auto !important; margin-right: auto !important; }
.lina-reviews .lina-slider__track { gap: 24px; padding: 8px 4px 16px; }
.lina-reviews .lina-review { flex-basis: calc((100% - 72px) / 4) !important; }
/* Review cards (round 8): NO fixed height. Every card shows at most 5 lines of text; the cards in the slider
   stretch to the tallest one, so they're always the same size and nothing can overflow (long names, other
   fonts, any width). "Visa mer" opens the whole review in a dialog (lina-slider.js), so the row never jumps. */
.lina-reviews .lina-slider__track { align-items: stretch; }
.lina-review { background: var(--lina-cream); border-radius: 12px; padding: 20px 20px 18px; display: flex; flex-direction: column; }
.lina-review__stars { color: var(--lina-copper); letter-spacing: 2px; font-size: 18px; margin: 0 0 12px; }
.lina-review__text { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.lina-slider .lina-review__text {
	display: -webkit-box !important;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lina-review__more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	margin: -6px 0 12px;
	color: var(--lina-action);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lina-review__more[hidden] { display: none; }
.lina-review__name { margin-top: auto !important; }
/* the full review */
.lina-review-dialog { border: 0; border-radius: 16px; padding: 28px 28px 24px; max-width: min(560px, calc(100vw - 32px)); width: 100%; background: var(--lina-cream); color: var(--lina-text, inherit); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.lina-review-dialog::backdrop { background: rgba(43, 30, 22, .55); }
.lina-review-dialog .lina-review__text { font-size: 16px; max-height: 60vh; overflow: auto; }
.lina-review-dialog:focus { outline: none; }
.lina-review-dialog__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--lina-heading); cursor: pointer; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lina-review-dialog__close:hover { background: rgba(0,0,0,.06); }
.lina-review-dialog__close:focus { outline: none; }
.lina-review-dialog__close:focus-visible { outline: 2px solid var(--lina-action); outline-offset: 2px; }
.lina-review__name { font-family: var(--lina-font-heading); font-weight: 600; color: var(--lina-heading); font-size: 15px; margin: 0; }
@media (max-width: 1100px) { .lina-reviews .lina-review { flex-basis: calc((100% - 48px) / 3) !important; } }
@media (max-width: 860px) { .lina-reviews .lina-review { flex-basis: calc((100% - 24px) / 2) !important; } }
@media (max-width: 767px) { .lina-reviews .lina-review { flex-basis: 100% !important; } }

/* ==========================================================================
   10. Course cards (WooCommerce product collection): first one wide, then two
   ========================================================================== */
.lina-course-cards .wc-block-product-template {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 40px 0 0 !important;
	padding: 0 !important;
}
.lina-course-cards .wc-block-product-template > li {
	background: #fff;
	border-radius: var(--lina-radius-card);
	box-shadow: var(--lina-shadow-card);
	padding: 28px;
	margin: 0 !important;
	width: auto !important;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lina-course-cards .wc-block-product-template > li:first-child,
.lina-course-cards .wc-block-product-template > li:not(:first-child) {
	display: grid;
	align-content: start;
	align-items: center;
	column-gap: 28px;
	row-gap: 12px;
}
/* first card (landscape manual image): text left, image right */
.lina-course-cards .wc-block-product-template > li:first-child {
	grid-column: 1 / -1;
	grid-template-columns: auto 1fr minmax(260px, 0.9fr);
	grid-template-areas: "title title image" "summary summary image" "price more image";
}
/* other cards (portrait images): row 1 = image | title, price, button; row 2 = description over the full width
   (owner round 10: the text was squeezed next to the image with empty space under the image) */
.lina-course-cards .wc-block-product-template > li:not(:first-child) {
	grid-template-columns: 150px 1fr;
	grid-template-rows: auto auto 1fr auto;
	grid-template-areas: "image title" "image price" "image ." "image more" "summary summary";
	align-items: start;
}
.lina-course-cards li:not(:first-child) > .wp-block-read-more { justify-self: start; align-self: end; }
.lina-course-cards li:not(:first-child) > .wp-block-post-excerpt { margin-top: 8px; }
.lina-course-cards li > .wc-block-components-product-image,
.lina-course-cards li > .wp-block-woocommerce-product-image { grid-area: image; margin: 0; align-self: start; }
.lina-course-cards li > .wp-block-post-title { grid-area: title; }
.lina-course-cards li > .wp-block-post-excerpt { grid-area: summary; }
.lina-course-cards li > .wp-block-woocommerce-product-price { grid-area: price; }
.lina-course-cards li > .wp-block-read-more { grid-area: more; justify-self: end; }
.lina-course-cards img { border-radius: 12px; width: 100%; height: auto; display: block; }
.lina-course-cards li:first-child img { aspect-ratio: 4 / 3; object-fit: cover; }
.lina-course-cards li:not(:first-child) img { aspect-ratio: 2 / 3; object-fit: cover; }   /* = the images' own shape */
.lina-course-cards .wp-block-post-title { font-size: 26px; margin: 0; text-align: left; }
.lina-course-cards .wp-block-post-title a { color: var(--lina-action); text-decoration: none; }
.lina-course-cards .wp-block-post-excerpt { font-size: 15px; color: var(--lina-muted); text-align: left; }
.lina-course-cards .wp-block-woocommerce-product-price {
	font-family: var(--lina-font-heading);
	font-size: 22px;
	color: var(--lina-action);
	text-align: left;
}
.lina-course-cards .wp-block-read-more {
	align-self: flex-start;
	justify-self: start;
	background: var(--lina-action);
	color: #fff;
	border-radius: var(--lina-radius-button);
	padding: 10px 24px;
	font-weight: 600;
	text-decoration: none;
}
.lina-course-cards .wp-block-read-more:hover { background: var(--lina-action-hover); color: #fff; }
@media (max-width: 767px) {
	.lina-course-cards .wc-block-product-template { grid-template-columns: 1fr; }
	.lina-course-cards .wc-block-product-template > li:first-child {
		grid-template-columns: 1fr auto;
		grid-template-areas: "image image" "title title" "summary summary" "price more";
	}
	.lina-course-cards .wc-block-product-template > li:not(:first-child) {
		grid-template-columns: 110px 1fr;
		grid-template-areas: "image title" "image price" "image ." "image more" "summary summary";
	}
	.lina-course-cards .wp-block-post-title { font-size: 21px; }
}

/* ==========================================================================
   11. Nu Skin picks (home): big image + grid of products
   ========================================================================== */
.lina-picks__hero { max-width: 760px; margin: 32px auto 0 !important; }
.lina-picks__hero img { border-radius: var(--lina-radius-card); width: 100%; height: auto; }
.lina-picks .lina-actions-right { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.lina-picks__grid { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; max-width: 820px; margin: 48px auto 0 !important; }
.lina-picks__item {
	text-align: center;
	position: relative;
	transition: transform 0.3s ease;
}
/* old site: the whole tile (image + name) grows a little on hover */
.lina-picks__item:hover,
.lina-picks__item:focus-within { transform: scale(1.04); }
.lina-picks__item figure { margin: 0 0 10px; overflow: hidden; border-radius: 12px; }
.lina-picks__item img { aspect-ratio: 1; object-fit: cover; width: 100%; display: block; transition: transform 0.35s ease; }
/* External product links: name + ↗ (opens Lina's Nu Skin shop in a new tab); whole tile clickable */
.lina-picks__item p { margin: 0; }
.lina-picks__item p a {
	color: var(--lina-heading);
	font-family: var(--lina-font-heading);
	font-weight: 600;
	font-size: 15px;
	text-decoration: underline;
	text-decoration-color: var(--lina-copper-light);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: color var(--lina-ease), text-decoration-color var(--lina-ease);
}
.lina-picks__item p a::after { content: " ↗"; color: var(--lina-action); font-size: 0.9em; }
.lina-picks__item p a::before { content: ""; position: absolute; inset: 0; }   /* stretch the link over the whole tile */
.lina-picks__item:hover p a,
.lina-picks__item p a:focus-visible { color: var(--lina-action); text-decoration-color: var(--lina-action); }
@media (max-width: 767px) { .lina-picks__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } .lina-picks__item p a { font-size: 14px; } }

/* ==========================================================================
   12. Slider extras: mouse dragging, per-slide text colour and position
       Set per slide in the editor via "Additional CSS class":
       lina-slide--light  → white text + soft dark fade on the left (for darker photos)
       lina-slide--cream  → warm cream fade on the left + dark text (for grey/cold photos)
       lina-slide--top    → text at the top (when the free space in the photo is at the top)
   ========================================================================== */
.lina-slider__track { cursor: grab; }
.lina-slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.lina-slider__track img { -webkit-user-drag: none; user-select: none; }
.lina-hero .lina-slide--light .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(20, 16, 14, 0.55) 0%, rgba(20, 16, 14, 0.25) 45%, rgba(20, 16, 14, 0) 70%) !important;
	opacity: 1 !important;
}
.lina-hero .lina-slide--light .wp-block-cover__inner-container,
.lina-hero .lina-slide--light .lina-hero__title,
.lina-hero .lina-slide--light .lina-hero__list,
.lina-hero .lina-slide--light p { color: #fff; }
.lina-hero .lina-slide--light .lina-hero__list li::before { color: var(--lina-copper-light); }
.lina-hero .lina-slide--top { align-items: flex-start; }
/* lina-slide--cream: warm cream fade from the left + dark text (for grey/cold photos; matches the palette) */
.lina-hero .lina-slide--cream .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(246, 236, 225, 0.45) 0%, rgba(246, 236, 225, 0.2) 30%, rgba(246, 236, 225, 0) 50%) !important;   /* just a hint of warmth */
	opacity: 1 !important;
}
.lina-hero .lina-slide--cream .lina-hero__title { color: var(--lina-espresso); }
.lina-hero .lina-slide--cream .lina-hero__list li::before { color: var(--lina-action); }
@media (max-width: 767px) {
	/* phones: the text sits in a light card, so always dark text there */
	.lina-hero .lina-slide--light .wp-block-cover__background { background: transparent !important; }
	.lina-hero .lina-slide--light .wp-block-cover__inner-container,
	.lina-hero .lina-slide--light .lina-hero__title,
	.lina-hero .lina-slide--light .lina-hero__list,
	.lina-hero .lina-slide--light p { color: var(--lina-heading); }
	.lina-hero .lina-slide--top { align-items: flex-end; }
}

/* ==========================================================================
   13. Hero text styles (per slide, palette D-23)
   ========================================================================== */
/* Treatment name between the title and the points (old HIFU.LDM slide) */
.lina-hero .lina-hero__brand {   /* .lina-hero prefix: must beat the general '.lina-hero p' size */
	font-family: var(--lina-font-heading);
	font-weight: 700;
	font-size: 30px;
	letter-spacing: 0.06em;
	color: var(--lina-action);
	margin: 0 0 18px !important;
	display: flex;
	align-items: center;
	gap: 14px;
}
.lina-hero__brand::after {               /* short copper rule after the name */
	content: "";
	width: 48px;
	height: 2px;
	background: var(--lina-copper);
}

/* "Ad" slide (campaign): floating card, badge, big product name, highlighted offer */
.lina-hero .lina-slide--promo .wp-block-cover__inner-container {
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 24px;
	padding: 32px 36px;
	box-shadow: 0 20px 50px rgba(46, 36, 32, 0.12);
	max-width: 540px;
}
.lina-slide--promo .lina-hero__badge {
	display: inline-block;
	background: var(--lina-action);
	color: #fff;
	font-family: var(--lina-font-heading);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin: 0 0 14px !important;
	transform: rotate(-2deg);
	box-shadow: 0 6px 14px rgba(156, 95, 59, 0.3);
}
.lina-hero .lina-slide--promo .lina-hero__brand {
	font-size: 44px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: var(--lina-espresso);
	margin: 0 0 4px !important;
}
.lina-slide--promo .lina-hero__brand::after { display: none; }
.lina-slide--promo .lina-hero__title {
	font-size: 52px;
	font-weight: 700;
	color: var(--lina-espresso);
	margin: 0 0 12px;
}
.lina-slide--promo .lina-hero__title strong {
	color: var(--lina-action);
	background: linear-gradient(transparent 62%, var(--lina-copper-light) 62%);   /* marker highlight */
	padding: 0 0.08em;
}
.lina-slide--promo .wp-block-buttons { gap: 12px; }
@media (max-width: 767px) {
	.lina-hero .lina-hero__brand { font-size: 22px; }
	.lina-hero .lina-slide--promo .wp-block-cover__inner-container { padding: 20px; border-radius: var(--lina-radius-card); }
	.lina-hero .lina-slide--promo .lina-hero__brand { font-size: 28px; }
	.lina-slide--promo .lina-hero__title { font-size: 32px; }
}

/* ==========================================================================
   14. Content pages (about, treatments, contact, legal …; Phase 4, untested by owner)
       Built from blocks by build/setup-pages.php. Each old section = one .lina-section--page.
   ========================================================================== */
.lina-section.lina-section--page { padding: 0 0 48px !important; }   /* the theme container already pads the sides */
.lina-section--page > * { max-width: none; }
.lina-columns { gap: 56px; align-items: flex-start; }
.lina-section--page .wp-block-image img {
	border-radius: var(--lina-radius-card);
	box-shadow: var(--lina-shadow-card);
}
.lina-section--page h3 { margin-top: 1.6em; }
.lina-section--page .wp-block-column > :first-child { margin-top: 0; }
/* Lists on content pages use a copper check mark like the home hero */
ul.lina-checks { list-style: none; padding-left: 0; }
ul.lina-checks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
ul.lina-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 18px;
	height: 18px;
	background: var(--lina-copper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%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 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Review screenshots (HIFU, LIPOZERO): a tidy grid instead of the old carousel */
.lina-gallery.wp-block-gallery { gap: 16px !important; }
.lina-gallery.wp-block-gallery > .wp-block-image { width: calc(25% - 12px) !important; flex-grow: 0 !important; }
.lina-gallery .wp-block-image img { border-radius: 12px; box-shadow: none; }
@media (max-width: 767px) {
	.lina-gallery.wp-block-gallery > .wp-block-image { width: calc(50% - 8px) !important; }
}
/* FAQ / accordion (old nested accordion) */
.lina-accordion .wp-block-details { border-bottom: 1px solid var(--lina-line); padding: 16px 0; }
.lina-accordion summary {
	font-family: var(--lina-font-heading);
	font-weight: 600;
	color: var(--lina-heading);
	cursor: pointer;
}
.lina-accordion summary:focus-visible { outline: 2px solid var(--lina-action); outline-offset: 4px; }
/* Booking band at the end of each treatment page */
.lina-cta.lina-section {
	padding: 56px 24px !important;
	border-radius: var(--lina-radius-card);
	margin: 24px 0 48px;
}
.lina-cta h2 { margin-top: 0; }
.lina-cta .wp-block-buttons { gap: 12px; }
/* Legal pages: comfortable reading width (~75 characters per line), starting at the same left edge as the
   logo, the title and every other text page (round 8: a centred column left the title hanging on its own). */
.entry-content:has(.lina-legal) { max-width: 820px; }   /* same reading width as the treatment pages */
.lina-social a { color: var(--lina-action); }
/* Treatment cards (services + facial overview): photo on top, title link covers the whole card */
.lina-card-grid > .wp-block-group__inner-container,
.lina-card-grid:not(:has(> .wp-block-group__inner-container)) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	margin: 24px 0 28px;
}
.lina-card--treatment { padding: 0 0 24px; overflow: hidden; }
.lina-card--treatment > .wp-block-group__inner-container > * { margin-left: 24px; margin-right: 24px; }
.lina-card--treatment .wp-block-image,
.lina-card--treatment .lina-card__placeholder { margin: 0 0 20px !important; }
.lina-section--page .lina-card--treatment .wp-block-image img,
.lina-card__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0;
	box-shadow: none;
	transition: transform 0.35s ease;
}
/* treatments sharing a photo get the brand line-art face on cream instead of a repeated photo */
.lina-card__placeholder {
	background: var(--lina-cream) url("assets/line-face.webp") center / 34% no-repeat;
}
.lina-card--treatment:hover .wp-block-image img { transform: scale(1.05); }
.lina-card--treatment h3 { font-size: 20px; margin: 0 24px 8px !important; }
.lina-card--treatment h3 a { color: var(--lina-action); text-decoration: none; }
.lina-card--treatment h3 a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.lina-card--treatment h3 a::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform var(--lina-ease); }
.lina-card--treatment:hover h3 a::after { transform: translateX(4px); }
.lina-card--treatment p { font-size: 15px; margin: 0 24px !important; }
/* Category cards on Tjänster: old line icons, centred, 3 per row with the last row centred */
.lina-card-grid--categories > .wp-block-group__inner-container,
.lina-card-grid--categories:not(:has(> .wp-block-group__inner-container)) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.lina-card-grid--categories .lina-card { flex: 0 1 calc((100% - 56px) / 3); height: auto; }
@media (max-width: 860px) { .lina-card-grid--categories .lina-card { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 560px) { .lina-card-grid--categories .lina-card { flex-basis: 100%; } }
.lina-services .lina-card--external h3 a::after { content: "↗"; }   /* goes to Bokadirekt (other site) */

/* ==========================================================================
   15. About + Contact (owner round 6): icons, tabs, accordions, map, contact cards, form
   ========================================================================== */
:root {
	/* Small line icons as CSS masks: they take the colour of `background` (copper), no icon font needed */
	--lina-ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E");
	--lina-ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E");
	--lina-ico-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5-1.1 2.5-2.5 2.5z'/%3E%3C/svg%3E");
	--lina-ico-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.4 8.6 12 13.2l4.6-4.6L18 10l-6 6-6-6z'/%3E%3C/svg%3E");
}
.entry-content :is(h4, h5, h6) { color: var(--lina-heading); }   /* no plain black headings anywhere */

/* About: photo | name, social icons, bio */
.lina-about__intro { align-items: center; gap: 64px; }
.lina-about__intro h2 { margin: 0 0 8px; }
.lina-about__bio { max-width: 640px; }
.lina-about__bio p { margin: 0 0 0.9em; }
.lina-about__photo img { width: 100%; max-width: 420px; }
.wp-block-social-links.lina-social-icons { gap: 10px; margin: 0 0 20px; }
.lina-social-icons .wp-social-link { background: var(--lina-action) !important; color: #fff !important; transition: background var(--lina-ease), transform var(--lina-ease); }
.lina-social-icons .wp-social-link:hover { background: var(--lina-action-hover) !important; transform: translateY(-2px); }
.lina-social-icons .wp-social-link a { padding: 9px; }
.lina-about__more { gap: 64px; }
.lina-about__epassi img { width: 180px !important; box-shadow: none !important; border-radius: 12px; }

/* Tabs (built by lina-ui.js from the panel headings; without JS the panels simply stack) */
.lina-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.lina-tabs__tab {
	font: 600 14px/1.2 var(--lina-font-heading);
	color: var(--lina-text);
	background: var(--lina-white);
	border: 1px solid var(--lina-line);
	border-radius: 999px;
	padding: 9px 16px;
	cursor: pointer;
	transition: background var(--lina-ease), color var(--lina-ease), border-color var(--lina-ease);
}
/* hover: unselected = cream + copper text; selected = darker copper + white text (Kadence's global <button> hover must not win) */
@media (hover: hover) {
	.lina-tabs .lina-tabs__tab:not([aria-selected="true"]):hover { background: var(--lina-cream); border-color: var(--lina-action); color: var(--lina-action); }
	.lina-tabs .lina-tabs__tab[aria-selected="true"]:hover { background: var(--lina-action-hover); border-color: var(--lina-action-hover); color: #fff; }
}
.lina-tabs__tab[aria-selected="true"] { background: var(--lina-action); border-color: var(--lina-action); color: #fff; }
.lina-tabs__tab:focus-visible { outline: 2px solid var(--lina-action); outline-offset: 2px; }
.lina-tabs.is-ready .lina-tabs__heading {   /* the tab button already shows the name; keep it for screen readers */
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.lina-tabs__panel > .wp-block-group__inner-container > p,
.lina-tabs__panel > p { font-size: 15px; }

/* Accordions: chevron that turns, smooth height animation in lina-ui.js */
.lina-accordion .wp-block-details { padding: 14px 0; margin: 0; }
.lina-accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lina-accordion summary::-webkit-details-marker { display: none; }
.lina-accordion summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background: var(--lina-action);
	-webkit-mask: var(--lina-ico-chevron) center / contain no-repeat;
	mask: var(--lina-ico-chevron) center / contain no-repeat;
	transition: transform 0.25s ease;
}
.lina-accordion details[open] > summary::after { transform: rotate(180deg); }
@media (hover: hover) { .lina-accordion summary:hover { color: var(--lina-action); } }
.lina-accordion details > :not(summary) { font-size: 15px; }
.lina-accordion details > p:first-of-type { margin-top: 12px; }
.lina-accordion__actions { gap: 10px; margin-top: 12px; }
.lina-accordion__actions .wp-block-button__link { padding: 9px 20px; font-size: 14px; }

/* Contact details with icons (About page) */
ul.lina-contact-list { list-style: none; padding: 0; margin: 0 0 24px; }
ul.lina-contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
ul.lina-contact-list li::before {
	content: "";
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--lina-cream) center / 18px no-repeat;
}
ul.lina-contact-list li::after { display: none; }
ul.lina-contact-list li a { color: var(--lina-text); text-decoration: none; }
ul.lina-contact-list li a:hover { color: var(--lina-action); text-decoration: underline; }
/* the icon sits on top of the cream circle as a copper mask (one per kind of link) */
ul.lina-contact-list li { position: relative; }
ul.lina-contact-list li:has(a) > a::before {
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	width: 18px;
	height: 18px;
	margin-top: -9px;
	background: var(--lina-action);
	-webkit-mask: var(--lina-ico-pin) center / contain no-repeat;
	mask: var(--lina-ico-pin) center / contain no-repeat;
}
ul.lina-contact-list li a[href^="tel:"]::before { -webkit-mask-image: var(--lina-ico-phone); mask-image: var(--lina-ico-phone); }
ul.lina-contact-list li a[href^="mailto:"]::before { -webkit-mask-image: var(--lina-ico-mail); mask-image: var(--lina-ico-mail); }

/* Contact page: cream band with address + two contact cards (old layout) */
.lina-contact-band.lina-section { padding: 56px 48px !important; border-radius: var(--lina-radius-card); margin: 0 0 56px; }
.lina-contact-band__cols { align-items: stretch; gap: 28px; }
.lina-contact-band h3 { font-size: 22px; line-height: 1.3; margin: 8px 0; }
.lina-contact-band h3 a { color: var(--lina-heading); text-decoration: none; }
.lina-contact-band h3 a:hover { color: var(--lina-action); }
.lina-contact-card { background: var(--lina-white); border-radius: var(--lina-radius-card); padding: 28px; height: 100%; box-shadow: var(--lina-shadow-card); }
.lina-contact-card h3 { overflow-wrap: anywhere; }
.lina-contact-card .wp-block-buttons { margin-top: 16px; }
.lina-contact-card__label { font-size: 15px; margin: 0; color: var(--lina-muted); }
.lina-ico { display: flex; align-items: center; gap: 10px; }
.lina-ico::before {
	content: "";
	width: 30px;
	height: 30px;
	background: var(--lina-action);
	-webkit-mask: var(--lina-ico-pin) center / contain no-repeat;
	mask: var(--lina-ico-pin) center / contain no-repeat;
}
.lina-ico--phone::before { -webkit-mask-image: var(--lina-ico-phone); mask-image: var(--lina-ico-phone); }
.lina-ico--mail::before { -webkit-mask-image: var(--lina-ico-mail); mask-image: var(--lina-ico-mail); }
/* Photo with the name box on top (real text, so it is translated and readable by Google/screen readers) */
.lina-contact-main { align-items: stretch; gap: 56px; }
.lina-contact-photo { position: relative; height: 100%; }
.lina-contact-photo .wp-block-image { margin: 0; height: 100%; }
.lina-section--page .lina-contact-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: center top; }
.lina-contact-photo__box {
	position: absolute;
	right: 0;
	bottom: 0;                        /* bottom right: keeps the face free (owner round 7) */
	width: min(60%, 300px);
	background: var(--lina-action);   /* deep copper: white text 5.1:1 */
	border-radius: var(--lina-radius-card) 0 var(--lina-radius-card) 0;
	padding: 24px;
	text-align: center;
}
.lina-contact-photo__box h3 { color: #fff !important; margin: 0 0 6px !important; font-size: 24px; }
.lina-contact-photo__box p { color: #fff; margin: 0; font-size: 15px; opacity: 0.92; }

/* Contact form (Contact Form 7): compact two-column grid, warm colours */
.lina-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.lina-form__wide { grid-column: 1 / -1; }
.lina-form label { display: block; font-size: 14px; font-weight: 600; color: var(--lina-text); }
.lina-form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	border: 1px solid #E3D6CA;
	border-radius: var(--lina-radius-button);
	background: var(--lina-offwhite);
	color: var(--lina-heading);
	font: 400 15px/1.5 var(--lina-font-body);
	transition: border-color var(--lina-ease), background var(--lina-ease);
}
.lina-form textarea { height: 120px; resize: vertical; }
.lina-form :is(input, textarea):hover { border-color: var(--lina-copper-light); }
.lina-form :is(input, textarea):focus { outline: none; border-color: var(--lina-action); background: #fff; box-shadow: 0 0 0 3px rgba(156, 95, 59, 0.15); }
.lina-form .lina-consent { font-size: 13px; color: var(--lina-muted); }
.lina-form .lina-consent label { display: inline; font-size: 13px; font-weight: 400; color: inherit; }
.lina-form .lina-consent input { accent-color: var(--lina-action); margin-right: 6px; }
.lina-form .lina-consent a { color: var(--lina-action); }
.lina-form input[type="submit"] {
	background: var(--lina-action);
	color: #fff;
	border: 0;
	border-radius: var(--lina-radius-button);
	padding: 13px 34px;
	font: 600 16px var(--lina-font-heading);
	cursor: pointer;
	transition: background var(--lina-ease), transform var(--lina-ease), box-shadow var(--lina-ease);
}
.lina-form input[type="submit"]:hover { background: var(--lina-action-hover); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(156, 95, 59, 0.25); }
.lina-form input[type="submit"]:disabled { opacity: 0.6; transform: none; box-shadow: none; cursor: not-allowed; }
.wpcf7-not-valid-tip { font-size: 13px; color: #A3361F; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--lina-radius-button); font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #5E8C61; background: #F1F7F1; }
@media (max-width: 767px) {
	.lina-form { grid-template-columns: 1fr; }
	.lina-contact-band.lina-section { padding: 32px 20px !important; }
	.lina-section--page .lina-contact-photo img { min-height: 380px; }
}

@media (prefers-reduced-motion: reduce) {
	.lina-card, .lina-picks__item, .wp-element-button, .wp-block-button__link, .lina-card img, .lina-picks__item img { transition: none !important; }
	.lina-card:hover, .lina-picks__item:hover, .wp-element-button:hover, .wp-block-button__link:hover { transform: none !important; }
	.lina-card:hover img, .lina-picks__item:hover img { transform: none !important; }
}
/* contact band: no extra space under the columns; address lines up with the card text */
.lina-contact-band .wp-block-columns { margin-bottom: 0; }
.lina-contact-band__cols > .wp-block-column:first-child { padding-top: 28px; }
/* line icons on the category cards: no photo frame/shadow, same size as on the home page */
.lina-section--page.lina-services .lina-card img { width: 72px; height: auto; border-radius: 0; box-shadow: none; }

/* Legal pages (privacy, terms, payment): calm reading layout */
.lina-legal h2 { font-size: 24px; margin: 2em 0 0.5em; }
.lina-legal p, .lina-legal li { font-size: 16px; line-height: 1.7; }
.lina-legal .lina-legal__updated { color: var(--lina-muted); font-size: 15px; }
.lina-legal ul.lina-legal__list { padding-left: 1.2em; }
.lina-legal ul.lina-legal__list li { margin-bottom: 6px; }
.lina-legal ul.lina-legal__list li::marker { color: var(--lina-copper); }
.lina-legal a { color: var(--lina-action); }

/* Courses page: "how it works" steps */
.lina-steps-band.lina-section { margin: 8px 0 56px; }
.lina-steps > .wp-block-group__inner-container,
.lina-steps:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.lina-step { background: var(--lina-white); border-radius: var(--lina-radius-card); padding: 24px; box-shadow: var(--lina-shadow-card); }
.lina-step h3 { font-size: 19px; margin: 0 0 8px !important; color: var(--lina-action); }
.lina-step p { font-size: 15px; margin: 0; }
@media (max-width: 860px) { .lina-steps > .wp-block-group__inner-container, .lina-steps:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; } }

/* ==========================================================================
   16. Owner round 7: page titles, navigation state, card grid, treatment template, small UX
   ========================================================================== */
/* Page title: in the page (H1), no coloured band; compact */
.content-area { margin-top: 48px; }
.entry-header.page-title, .entry-content-wrap .entry-header { margin-bottom: 24px; }
.entry-header .entry-title { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; margin: 0; }
.lina-section--page h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.15; }
.lina-about__intro h1 { margin: 0 0 8px; }

/* Main menu: copper underline on hover, and it STAYS on the page you're on (incl. parents: a treatment page
   underlines "Tjänster"), like the old site */
.header-navigation .header-menu-container > ul > li > a { position: relative; }
.header-navigation .header-menu-container > ul > li:not(.menu-button) > a::after {
	content: "";
	position: absolute;
	left: var(--lina-nav-pad, 0.6em);
	right: var(--lina-nav-pad, 0.6em);
	bottom: 0.45em;
	height: 2px;
	border-radius: 2px;
	background: var(--lina-action);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.header-navigation .header-menu-container > ul > li:not(.menu-button):is(:hover, :focus-within) > a::after,
.header-navigation .header-menu-container > ul > li:is(.current-menu-item, .current-menu-ancestor, .current-page-ancestor, .current_page_parent):not(.menu-button) > a::after { transform: scaleX(1); }
.header-navigation .header-menu-container > ul > li:is(.current-menu-item, .current-menu-ancestor, .current-page-ancestor) > a { color: var(--lina-action); }
.header-navigation li.falang-parent-menu-item > a::after { display: none; }   /* language dropdown: no underline */

/* Footer: the current language is shown but is not a link (lina-ui.js removes the link behaviour) */
.site-footer .falang-language-switcher a.current { font-weight: 600; text-decoration: none; color: var(--lina-heading); cursor: default; }
/* Footer logo links to the home page in the visitor's language (filter in functions.php) */
.lina-footer-logo a { display: inline-block; transition: opacity var(--lina-ease); }
.lina-footer-logo a:hover { opacity: 0.8; }

/* Back to top (Kadence "scroll up" switched on): small copper circle, appears after scrolling */
#kt-scroll-up, #kt-scroll-up-reader { border-radius: 50%; }
#kt-scroll-up {
	width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--lina-action) !important;
	color: #fff !important;
	border: 0 !important;
	box-shadow: 0 6px 16px rgba(46, 36, 32, 0.18);
}
#kt-scroll-up:hover { background: var(--lina-action-hover) !important; }

/* Treatment / category card grid: 3 per row (desktop), 2 (tablet), 1 (phone) */
.lina-card-grid:not(.lina-card-grid--categories) > .wp-block-group__inner-container,
.lina-card-grid:not(.lina-card-grid--categories):not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
	.lina-card-grid:not(.lina-card-grid--categories) > .wp-block-group__inner-container,
	.lina-card-grid:not(.lina-card-grid--categories):not(:has(> .wp-block-group__inner-container)) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.lina-card-grid:not(.lina-card-grid--categories) > .wp-block-group__inner-container,
	.lina-card-grid:not(.lina-card-grid--categories):not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
}

/* Treatment template: photo | intro + booking; then body at reading width */
.lina-treatment__hero { align-items: center; gap: 56px; }
.lina-treatment__hero h2 { margin-top: 0; }
.lina-treatment__intro p { font-size: 17px; }
.lina-treatment__actions { gap: 12px; margin-top: 24px; }
.lina-treatment__body { max-width: 820px; }
.lina-treatment__body h2 { font-size: 28px; margin: 1.4em 0 0.5em; }
.lina-treatment__body h4 { font-size: 17px; color: var(--lina-action); margin: 1.2em 0 0.4em; }
.lina-treatment__body p { margin: 0 0 0.8em; }
.lina-accordion details ul.lina-checks { margin: 8px 0 12px; }
.lina-section--page .lina-treatment__photo img { width: 100%; max-height: 640px; object-fit: cover; }
/* one heading size for sections on content pages (the booking band keeps its bigger heading) */
.lina-section--page h2 { font-size: clamp(26px, 3vw, 32px); }
.site-bottom-footer-wrap .falang-language-switcher a.current { font-weight: 700 !important; text-decoration: none !important; color: var(--lina-heading) !important; }
/* contact photo: the name box sits inside the photo's bottom-right corner */
.lina-contact-photo { overflow: hidden; border-radius: var(--lina-radius-card); }
.lina-contact-photo > .wp-block-group__inner-container { position: relative; height: 100%; }
.lina-contact-photo .wp-block-image img { border-radius: 0 !important; box-shadow: none !important; }
.lina-contact-photo__box { border-radius: var(--lina-radius-card) 0 0 0; }

/* Product page: smaller gallery (portrait course images were ~730 px tall), text column gets the room */
@media (min-width: 1025px) {
	.single-product div.product .woocommerce-product-gallery { width: 40% !important; }
	.single-product div.product .summary { width: 54% !important; }
}
.single-product div.product .woocommerce-product-gallery img { max-height: 560px; width: auto; margin: 0 auto; object-fit: contain; }
/* Static map on About: image links to Google Maps (no third-party requests before a click) */
.lina-static-map { margin: 0 !important; }
.lina-static-map + .lina-static-map__link { margin-top: 8px !important; }   /* the link belongs to the map (round 8) */
.lina-static-map a { display: block; border-radius: var(--lina-radius-card); overflow: hidden; }
.lina-section--page .lina-static-map img { width: 100%; border-radius: var(--lina-radius-card); box-shadow: var(--lina-shadow-card); transition: transform 0.35s ease; }
.lina-static-map a:hover img { transform: scale(1.03); }
.lina-static-map__link { font-size: 15px; }
.lina-static-map__link a { color: var(--lina-action); }

/* ==========================================================================
   17. Shop product pages (phase 5 / owner round 8): structured descriptions from build/export-products.py
   ========================================================================== */
/* one tab only ("Beskrivning") → no tab bar and no repeated "Beskrivning" heading; the text simply follows */
.woocommerce-tabs ul.tabs:has(> li:only-child) { display: none; }
.woocommerce-tabs:has(ul.tabs > li:only-child) .woocommerce-Tabs-panel > h2:first-child { display: none; }
.woocommerce-tabs:has(ul.tabs > li:only-child) .woocommerce-Tabs-panel { border: 0 !important; padding: 0 !important; box-shadow: none !important; background: none !important; }
.single-product .woocommerce-Tabs-panel--description { max-width: 820px; }
.single-product .woocommerce-Tabs-panel--description h3 { font-size: 22px; margin: 1.6em 0 0.5em; }
.single-product .woocommerce-Tabs-panel--description h4 { font-size: 17px; margin: 1.2em 0 0.4em; color: var(--lina-heading); }
.single-product .woocommerce-Tabs-panel--description p { margin: 0 0 0.9em; }
.lina-product-lead { font-size: 18px; color: var(--lina-heading); }
.lina-product-lead strong { font-weight: 600; }
.lina-product-badges { margin: 4px 0 8px; font-weight: 600; color: var(--lina-heading); }
/* benefit groups ("Återfuktande", "Närande" …): small cream cards side by side */
.lina-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 1.6em 0; }
.lina-benefit { background: var(--lina-cream); border-radius: 12px; padding: 16px 18px 6px; }
.lina-benefit h3, .lina-benefit h4 { font-size: 17px !important; margin: 0 0 10px !important; }
.lina-benefit ul.lina-checks li { font-size: 15px; }
/* ingredients / warning / FAQ accordions */
.lina-product-acc { margin: 1.4em 0; border-top: 1px solid var(--lina-line); }
.lina-product-acc .wp-block-details { border-bottom: 1px solid var(--lina-line); padding: 14px 0; margin: 0; }
.lina-product-acc summary { cursor: pointer; font-weight: 600; color: var(--lina-heading); }
.lina-product-acc details > p, .lina-product-acc details > ul { margin-top: 12px; }
.lina-small { font-size: 14px; color: var(--lina-muted); }
/* courses: "what happens after you buy" next to the price */
.lina-product-after { background: var(--lina-cream); border-radius: 12px; padding: 16px 20px 6px; margin: 16px 0 20px; font-size: 15px; }
.lina-product-after__title { font-family: var(--lina-font-heading); font-weight: 600; color: var(--lina-heading); margin: 0 0 8px; font-size: 16px; }
.lina-product-after p { margin: 0 0 10px; }
/* sold individually (courses, PDF): no quantity box at all */
.single-product .quantity:has(input[type="hidden"]) { display: none; }
/* Menu with "Hem" (round 8): 8 items + Bokning must stay on one line on small laptops (1025–1279 px) */
@media (min-width: 1025px) and (max-width: 1279px) {
	.header-navigation .header-menu-container > ul > li.menu-item > a { padding-left: 0.55em !important; padding-right: 0.55em !important; font-size: 15px; }
	.site-header-main-section-right .site-header-item { margin-right: 8px; }
	.site-header-item-main-navigation + .site-header-item .button, .header-button-wrap .button { padding-left: 16px !important; padding-right: 16px !important; }
}
/* Gift card: one email field per card (lina-ui.js §5); the plugin's quantity box and "1 per recipient" note are not needed */
.variations_form:has(#pwgc-to) .quantity, #pwgc-quantity-one-per-recipient, .lina-gc .pwgc-subtitle { display: none !important; }
.lina-gc__row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.lina-gc__row input { flex: 1; width: auto !important; }
.lina-gc__remove { flex: 0 0 40px; height: 40px; border: 1px solid var(--lina-line); background: var(--lina-white); border-radius: 8px; font-size: 22px; line-height: 1; color: var(--lina-text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.lina-gc__remove[hidden], .lina-gc__add[hidden] { display: none; }
.lina-gc__add { background: none; border: 0; padding: 4px 0; color: var(--lina-action); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lina-gc__count { font-weight: 600; color: var(--lina-heading); margin: 6px 0 0; }
.lina-gc__count:empty { display: none; }
.lina-gc__hint { font-size: 14px; color: var(--lina-muted); margin: 6px 0 0; }
/* Samarbete (round 8): photo | text */
.lina-collab { align-items: center !important; gap: 48px !important; }
.lina-collab__photo img { width: 100%; height: auto; border-radius: 0 !important; box-shadow: none !important; }
.lina-collab h2 { font-size: 22px !important; margin: 1.4em 0 0.5em; }
.lina-collab__quote { font-family: var(--lina-font-heading); font-size: 19px; color: var(--lina-heading); border-left: 3px solid var(--lina-copper); padding-left: 16px; margin: 1.6em 0; }
.lina-collab__note { font-size: 15px; color: var(--lina-muted); margin-top: 10px; }
@media (max-width: 781px) { .lina-collab__photo { max-width: 360px; margin: 0 auto; } }
/* Shop: category chips (functions.php) */
.lina-shop-cats { width: 100%; margin: 0 0 20px; }
.lina-shop-cats ul { list-style: none; margin: 0; padding: 0 0 4px; display: flex; gap: 8px; flex-wrap: wrap; }
.lina-shop-cats a { display: inline-block; padding: 8px 16px; border: 1px solid var(--lina-line); border-radius: 999px; font-size: 15px; color: var(--lina-heading); text-decoration: none; background: var(--lina-white); }
.lina-shop-cats a:hover { border-color: var(--lina-copper); color: var(--lina-action); }
.lina-shop-cats a[aria-current="page"] { background: var(--lina-action); border-color: var(--lina-action); color: #fff; }
@media (max-width: 767px) {
	.lina-shop-cats ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
	.lina-shop-cats a { white-space: nowrap; font-size: 14px; padding: 7px 14px; }
}
/* product cards: button always visible, compact on phones */
.woocommerce ul.products li.product .button { font-size: 14px; padding: 8px 14px; }
@media (max-width: 767px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; }
	.woocommerce ul.products li.product .button { font-size: 13px; padding: 7px 10px; width: 100%; text-align: center; }
}
/* Less empty space before the footer (owner round 10): the theme's 80 px under the content + the last section's own
   bottom padding added up to 130–160 px. Bands with a background (booking band, cream sections) keep their padding. */
.content-area { margin-bottom: 56px !important; }
.home .content-area { margin-bottom: 0 !important; }   /* the home page ends with a coloured band */
.entry-content > .lina-section--page:last-child:not(.lina-band--cream):not(.lina-cta) { padding-bottom: 0 !important; }
.entry-content > .lina-section--page:last-child > .wp-block-group__inner-container > :last-child,
.entry-content > .lina-section--page:last-child > :last-child { margin-bottom: 0 !important; }

/* ==========================================================================
   18. Palette roles, owner round 10
   - cards (services, categories, treatments) = cream, so they stand out from the white page; on a cream band they
     stay white (same rule both ways: a card is always the "other" neutral)
   - the booking band = deep copper with white text: the strongest colour block on the page is the main action,
     no longer the same cream as the cards
   ========================================================================== */
.lina-card { background: var(--lina-cream); box-shadow: none; }
.lina-card:hover, .lina-card:focus-within { box-shadow: 0 14px 32px rgba(46, 36, 32, 0.10); }
.lina-band--cream .lina-card, .lina-steps-band .lina-card { background: #fff; }
.lina-cta.lina-section:not(.lina-steps-band) { background: var(--lina-action) !important; color: #fff; }
.lina-cta.lina-section:not(.lina-steps-band) h2, .lina-cta.lina-section:not(.lina-steps-band) p { color: #fff !important; }
.lina-cta:not(.lina-steps-band) .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: #fff !important; color: var(--lina-action) !important; }
.lina-cta:not(.lina-steps-band) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--lina-cream) !important; }
.lina-cta:not(.lina-steps-band) .wp-block-button.is-style-outline > .wp-block-button__link { border-color: #fff !important; color: #fff !important; background: transparent !important; }
.lina-cta:not(.lina-steps-band) .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.12) !important; }
/* Contraindications ("Vem kan inte …", "Är det säkert?"): neutral ✕ instead of the positive check mark (round 11) */
ul.lina-crosses { list-style: none; padding-left: 0; }
ul.lina-crosses li { position: relative; padding-left: 30px; margin-bottom: 8px; }
ul.lina-crosses li::before {
	content: ""; position: absolute; left: 2px; top: 0.4em; width: 14px; height: 14px; background: var(--lina-muted);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.5' stroke-linecap='round'/%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='M6 6l12 12M18 6L6 18' stroke='black' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* Equal card sizes (round 11). Category cards: a 6-column grid (each card spans 2) instead of flex rows, so every
   card in every row has the same height, and a short last row stays centred. */
@media (min-width: 861px) {
	.lina-card-grid--categories > .wp-block-group__inner-container,
	.lina-card-grid--categories:not(:has(> .wp-block-group__inner-container)) { display: grid !important; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 28px; }
	.lina-card-grid--categories .lina-card { grid-column: span 2; height: 100%; }
	.lina-card-grid--categories .lina-card:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }   /* 2 cards in the last row */
	.lina-card-grid--categories .lina-card:nth-child(3n+1):last-child { grid-column: 3 / span 2; }          /* 1 card in the last row */
}
@media (min-width: 561px) and (max-width: 860px) {
	.lina-card-grid--categories > .wp-block-group__inner-container,
	.lina-card-grid--categories:not(:has(> .wp-block-group__inner-container)) { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 24px; }
	.lina-card-grid--categories .lina-card { grid-column: span 2; height: 100%; }
	.lina-card-grid--categories .lina-card:nth-child(2n+1):last-child { grid-column: 2 / span 2; }
}
/* "Så går det till" steps: same height, compact */
.lina-steps > .wp-block-group__inner-container,
.lina-steps:not(:has(> .wp-block-group__inner-container)) { grid-auto-rows: 1fr; align-items: stretch; }
.lina-steps .lina-step { height: 100%; padding: 22px 22px 20px; margin: 0 !important; box-sizing: border-box; }
.lina-steps .lina-step > :last-child, .lina-steps .lina-step > .wp-block-group__inner-container > :last-child { margin-bottom: 0 !important; }
/* Course cards follow the card colour rule (D-40): cream on the white courses page, white on the home page's cream band */
.lina-course-cards .wc-block-product-template > li { background: var(--lina-cream); box-shadow: none; }
.lina-band--cream .lina-course-cards .wc-block-product-template > li { background: #fff; }
/* Shop cards: a small, calm hover on devices with a mouse only (round 11): the photo zooms 4 % inside its frame and
   the title turns copper, so it's clear the card is clickable. No movement on phones (no hover there). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.woocommerce ul.products li.product .woocommerce-loop-image-link { display: block; overflow: hidden; border-radius: 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-image-link img { transition: transform 0.35s ease; }
	.woocommerce ul.products li.product:hover .woocommerce-loop-image-link img { transform: scale(1.04); }
	.woocommerce ul.products li.product:hover .woocommerce-loop-product__title { color: var(--lina-action-hover); }
}

/* ==========================================================================
   19. Prices (owner round 12): one style everywhere. Dark espresso + bold: the price is information, not a link,
   so it doesn't use the "clickable" copper (D-23), and it has the highest contrast on white AND cream (13:1).
   Sizes by context: lists 18 px, course cards 24 px, product page 28 px. Sale: old price small, grey, struck
   through; new price in deep copper so the discount stands out.
   ========================================================================== */
.woocommerce ul.products li.product .price,
.lina-course-cards .wp-block-woocommerce-product-price,
.wc-block-components-product-price,
.single-product div.product .summary .price {
	color: var(--lina-espresso) !important;
	font-family: var(--lina-font-heading);
	font-weight: 700;
}
.woocommerce ul.products li.product .price { font-size: 18px !important; margin: 4px 0 12px; }
.lina-course-cards .wp-block-woocommerce-product-price { font-size: 24px !important; }
.single-product div.product .summary .price { font-size: 28px !important; margin: 4px 0 16px; }
.single-product div.product .summary .lina-size { margin: -10px 0 18px; font-size: 15px; opacity: .8; }   /* size under the price (round 35) */
.woocommerce .price del, .wc-block-components-product-price del { color: var(--lina-muted) !important; font-weight: 400; font-size: 0.75em; opacity: 1; }
.woocommerce .price ins, .wc-block-components-product-price ins { color: var(--lina-action) !important; text-decoration: none; }
/* product names in lists: deep copper (5.1:1) instead of the light brand copper (3.1:1, too faint for 15–17 px text) */
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .woocommerce-loop-product__title a { color: var(--lina-action) !important; }
/* Selling points: copper sparkle (round 13). Marker roles: ✨ highlight · ✓ facts/results · ✕ not suitable */
ul.lina-sparkles { list-style: none; padding-left: 0; }
ul.lina-sparkles li { position: relative; padding-left: 32px; margin-bottom: 10px; font-weight: 500; color: var(--lina-heading); }
ul.lina-sparkles li::before {
	content: ""; position: absolute; left: 0; top: 0.05em; width: 22px; height: 22px; background: var(--lina-copper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c.6 4.9 2.6 7.4 8 8-5.4.6-7.4 3.1-8 8-.6-4.9-2.6-7.4-8-8 5.4-.6 7.4-3.1 8-8z'/%3E%3Cpath d='M19 14c.3 2.2 1.1 3.1 3 3.4-1.9.3-2.7 1.2-3 3.4-.3-2.2-1.1-3.1-3-3.4 1.9-.3 2.7-1.2 3-3.4z'/%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='M12 2c.6 4.9 2.6 7.4 8 8-5.4.6-7.4 3.1-8 8-.6-4.9-2.6-7.4-8-8 5.4-.6 7.4-3.1 8-8z'/%3E%3Cpath d='M19 14c.3 2.2 1.1 3.1 3 3.4-1.9.3-2.7 1.2-3 3.4-.3-2.2-1.1-3.1-3-3.4 1.9-.3 2.7-1.2 3-3.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* contact form honeypot: off-screen (not display:none, some bots skip hidden fields) */
.lina-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   20. Cart + checkout (round 24)
   ========================================================================== */
/* The cart/checkout blocks are "wide"; Kadence widened them past the content edge, so the right column (totals, gift
   card field, the gift card's remove button) ran off the screen (Q-40). Keep them inside the normal content width. */
.entry-content .wp-block-woocommerce-cart.alignwide,
.entry-content .wp-block-woocommerce-checkout.alignwide { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
/* gift card field: the apply button was as big as "Fortsätt till kassan"; make it a secondary, compact button */
.pwgc-apply-gift-card-button.wc-block-components-button { min-height: 0 !important; padding: 9px 16px !important; font-size: 14px !important; background: #fff !important; color: var(--lina-action) !important; border: 1.5px solid var(--lina-action) !important; width: auto !important; margin-top: 8px !important; }
.pwgc-apply-gift-card-button.wc-block-components-button:hover { background: var(--lina-cream) !important; }
/* the applied card's remove button was a white "×" (invisible on white): a clear "Ta bort" link */
.pwgc-remove-gift-card { color: var(--lina-action) !important; background: none !important; border: 0 !important; font-size: 0 !important; margin-left: 10px; padding: 2px 0 !important; cursor: pointer; vertical-align: baseline; }
.pwgc-remove-gift-card::after { content: "Ta bort"; font-size: 13px; text-decoration: underline; text-underline-offset: 2px; }
html[lang^="en"] .pwgc-remove-gift-card::after { content: "Remove"; }
html[lang^="lt"] .pwgc-remove-gift-card::after { content: "Pašalinti"; }
/* Block product grids ("Nytt i butik" in the empty cart, and any product grid block) look like the shop grid
   (round 25): rounded photo, copper name, espresso price (D-44), compact full-width button aligned at the bottom. */
.wc-block-grid__products { gap: 0; }
.wc-block-grid__product { display: flex; flex-direction: column; text-align: left !important; }
.wc-block-grid__product-image img { border-radius: 12px; }
.wc-block-grid__product-title { color: var(--lina-action) !important; font-family: var(--lina-font-heading); font-size: 16px !important; font-weight: 500; margin: 10px 0 4px !important; }
.wc-block-grid__product-price { color: var(--lina-espresso) !important; font-family: var(--lina-font-heading); font-weight: 700; font-size: 18px !important; margin: 0 0 12px !important; }
.wc-block-grid__product-price del { color: var(--lina-muted) !important; font-weight: 400; font-size: 0.75em; }
.wc-block-grid__product-price ins { color: var(--lina-action) !important; text-decoration: none; }
.wc-block-grid__product-add-to-cart { margin-top: auto !important; }
.wc-block-grid__product-add-to-cart .wp-block-button__link { font-size: 14px !important; padding: 8px 14px !important; line-height: 1.3 !important; border-radius: var(--lina-radius-button) !important; width: 100%; white-space: nowrap; }
.wc-block-grid__product-onsale { background: var(--lina-action) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; font-size: 12px !important; padding: 2px 8px !important; }
@media (max-width: 767px) {
	.wc-block-grid__product-title { font-size: 15px !important; }
	.wc-block-grid__product-add-to-cart .wp-block-button__link { font-size: 13px !important; padding: 7px 10px !important; }
}

/* Product titles in grids always take 2 lines of space (owner round 25): a title that wraps to a 2nd line no longer
   pushes its price/button lower than the neighbours'. Longer titles are cut after 2 lines with "…". Shop + block grids. */
.wc-block-grid__product-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	line-height: 1.3 !important;
	min-height: 2.6em;
	box-sizing: content-box !important; /* the 2 lines are for the text; the theme's padding comes on top */
	display: -webkit-box !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}

/* Offer conditions box (round 35: LIPOZERO "köp 5 få 1"), above the booking buttons */
.lina-offer { border-left: 3px solid var(--lina-copper); background: var(--lina-cream); padding: 10px 14px; margin: 4px 0 18px; font-size: 15px; border-radius: 0 6px 6px 0; }
