/* ==========================================================================
   Byggnadsvård Robertsfors – site styles · Identity "Kulörkarta" (see style.css)
   Bricolage Grotesque + Hanken Grotesk · Limewash #F2F1EC · Soot #1F1D1B · Falu red #9B3426
   ========================================================================== */

html:root {
	--rb-lime: #F2F1EC;
	--rb-lime-2: #E6E3DA;
	--rb-white: #FFFFFF;
	--rb-soot: #1F1D1B;
	--rb-soot-2: #2A2724;
	--rb-soot-3: #37332F;
	--rb-red: #9B3426;
	--rb-red-d: #7F2A1E;
	--rb-red-soft: #E3A496;
	--rb-ochre: #C2913A;
	--rb-green: #5F6E52;
	--rb-blue: #5B7488;
	--rb-linseed: #E9E1CF;
	--rb-text: #2B2825;
	--rb-muted: #67615A;
	--rb-line: #D6D2C8;
	--rb-on-soot: #DAD5CC;
	--rb-on-soot-soft: rgba(218, 213, 204, .7);

	--rb-head: 'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
	--rb-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--rb-radius: 4px;
	--rb-gutter: clamp(16px, 4vw, 48px);
	--rb-wrap: min(1240px, 100% - var(--rb-gutter) * 2);
	--rb-section: clamp(72px, 8vw, 120px);
	--rb-ease: cubic-bezier(.2, .7, .2, 1);
	--rb-header-h: 96px;

	--rb-fs-h1: clamp(2.35rem, 1.6rem + 3.1vw, 4.4rem);
	--rb-fs-h2: clamp(1.85rem, 1.4rem + 1.8vw, 2.9rem);
	--rb-fs-h3: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
	--rb-fs-lead: clamp(1.07rem, 1rem + .3vw, 1.22rem);
	--rb-fs-body: clamp(1rem, .98rem + .1vw, 1.0625rem);

	/* The painted sample sticks, as one gradient (used by the eyebrow mark). */
	--rb-stick-row: linear-gradient(90deg, var(--rb-red) 0 4px, transparent 4px 7px, var(--rb-ochre) 7px 11px, transparent 11px 14px, var(--rb-green) 14px 18px, transparent 18px 21px, var(--rb-blue) 21px 25px);

	/* Themify palette */
	--theme_accent: var(--rb-red);
	--theme_accent_hover: var(--rb-soot);
	--theme_accent_semi: rgba(155, 52, 38, .16);
	--theme_accent_contrast: #fff;
	--tb_pr_bg: var(--rb-red);
	--tb_pr_color: #fff;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--rb-body);
	font-weight: 400;
	font-size: var(--rb-fs-body);
	line-height: 1.68;
	color: var(--rb-text);
	background: var(--rb-soot);
	overflow-wrap: normal;
	-webkit-font-smoothing: antialiased;
}
#pagewrap { background: var(--rb-lime); overflow-x: clip; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--rb-head);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.015em;
	color: var(--rb-soot);
	text-wrap: balance;
	font-variation-settings: 'opsz' 48;
}
p, li { text-wrap: pretty; }
strong, b { font-weight: 600; }
a { color: var(--rb-red); text-decoration: none; transition: color .2s, background-color .2s, border-color .2s, transform .25s var(--rb-ease); }
a:hover { color: var(--rb-soot); }
a:focus, a:active, button:focus, input:focus, select:focus, textarea:focus, .builder_button:focus, summary:focus { outline: none !important; box-shadow: none; }
::selection { background: var(--rb-red); color: #fff; }
img { border-radius: 0; }
#content { padding: 0 !important; }
#layout.pagewidth, .full_width #layout { max-width: none; width: 100%; padding: 0; }
.rb-lead, .rb-lead p { font-size: var(--rb-fs-lead); line-height: 1.6; }

/* Rows and spacing */
.themify_builder .module_row > .row_inner { width: var(--rb-wrap); max-width: none; margin-inline: auto; }
.themify_builder .module_row { padding-block: var(--rb-section); position: relative; isolation: isolate; }
.themify_builder .module { margin-bottom: 0; }
.themify_builder .module + .module { margin-top: 22px; }
.themify_builder .module_column { padding: 0; }
.themify_builder .module_subrow { margin: 0; }
.themify_builder .module-fancy-heading + .module_subrow { margin-top: clamp(28px, 4vw, 52px); }
.themify_builder .module_row > .row_inner { column-gap: clamp(32px, 6vw, 96px); row-gap: 40px; }
.themify_builder .tb_text_wrap > :last-child { margin-bottom: 0; }

/* ---------- Section themes ---------- */
.themify_builder .module_row.rb-grey { background: var(--rb-lime-2); }
.themify_builder .module_row.rb-white { background: var(--rb-white); }
.themify_builder .module_row.rb-soot { background: var(--rb-soot); color: var(--rb-on-soot); }
.rb-soot h1, .rb-soot h2, .rb-soot h3, .rb-soot h4 { color: #fff; }
.rb-soot a:not(.builder_button) { color: var(--rb-red-soft); }
.rb-soot a:not(.builder_button):hover { color: #fff; }

/* ---------- Signature: painted sample sticks ---------- */
.rb-sticks { display: inline-flex; align-items: flex-end; gap: 3px; line-height: 0; }
.rb-sticks i { display: block; width: 4px; height: 16px; border-radius: 1px; }
.rb-sticks i:nth-child(1) { background: var(--rb-red); }
.rb-sticks i:nth-child(2) { background: var(--rb-ochre); height: 13px; }
.rb-sticks i:nth-child(3) { background: var(--rb-green); height: 17px; }
.rb-sticks i:nth-child(4) { background: var(--rb-blue); height: 14px; }
.rb-sticks i:nth-child(5) { background: var(--rb-linseed); height: 16px; }
.rb-sticks i:nth-child(6) { background: var(--rb-soot-3); height: 12px; }
/* Along the bottom edge of heroes and the shop band: taller sticks standing on the edge. */
.rb-sticks--edge { position: absolute; left: max(var(--rb-gutter), (100% - 1240px) / 2); bottom: 0; gap: 5px; z-index: 2; }
.rb-sticks--edge i { width: 10px; height: 34px; border-radius: 2px 2px 0 0; }
.rb-sticks--edge i:nth-child(2) { height: 26px; }
.rb-sticks--edge i:nth-child(3) { height: 40px; }
.rb-sticks--edge i:nth-child(4) { height: 30px; }
.rb-sticks--edge i:nth-child(5) { height: 36px; }
.rb-sticks--edge i:nth-child(6) { height: 22px; }

/* ---------- Fancy heading: eyebrow + title ---------- */
.themify_builder .module-fancy-heading { margin-bottom: 0; }
.module-fancy-heading .fancy-heading { margin: 0; font-family: var(--rb-head); text-align: inherit; }
.module-fancy-heading .main-head {
	display: inline-flex !important;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-family: var(--rb-body);
	font-size: .8rem;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--rb-red);
}
.module-fancy-heading .main-head::before { content: ''; flex: none; width: 25px; height: 14px; background: var(--rb-stick-row); }
.module-fancy-heading .main-head:empty, .rb-heading--plain .main-head { display: none !important; }
.themify-text-center .main-head { justify-content: center; }
.module-fancy-heading .sub-head {
	display: block;
	font-family: var(--rb-head);
	font-size: var(--rb-fs-h2);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.02em;
	color: var(--rb-soot);
	max-width: 22ch;
	text-wrap: balance;
}
.themify-text-center .sub-head { margin-inline: auto; }
.module-fancy-heading .sub-head::before, .module-fancy-heading .sub-head::after { display: none !important; }
h3 .sub-head, h4 .sub-head { font-size: var(--rb-fs-h3) !important; max-width: none !important; letter-spacing: -.01em !important; }
.rb-soot .module-fancy-heading .sub-head { color: #fff; }
.rb-soot .module-fancy-heading .main-head { color: var(--rb-red-soft); }

/* ---------- Text ---------- */
.module-text p { margin: 0 0 1em; }
.module-text h3 { font-size: var(--rb-fs-h3); margin: 1.6em 0 .5em; }
.module-text h3:first-child { margin-top: 0; }

/* Ruled list with a painted stick per line */
.rb-list { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 40px; }
.rb-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb-list li { position: relative; margin: 0; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rb-line); }
.rb-list li::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 18px; margin-top: -9px; border-radius: 1px; background: var(--rb-red); }
.rb-list li:nth-child(4n+2)::before { background: var(--rb-ochre); }
.rb-list li:nth-child(4n+3)::before { background: var(--rb-green); }
.rb-list li:nth-child(4n+4)::before { background: var(--rb-blue); }
.rb-soot .rb-list li { border-color: rgba(218, 213, 204, .16); }

/* Spec sheet: label + value lines */
.rb-spec { margin: 0; border-top: 2px solid var(--rb-soot); }
.rb-spec > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--rb-line); }
.rb-spec dt { font-weight: 600; color: var(--rb-soot); }
.rb-spec dd { margin: 0; color: var(--rb-text); }
.rb-note { font-size: .95rem; color: var(--rb-muted); }

/* ---------- Buttons ---------- */
.module-buttons .module-buttons-item { margin: 0 12px 12px 0; }
.module-buttons { margin-bottom: -12px; }
.themify_builder .module-buttons .builder_button,
.rb-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 13px 24px;
	border: 2px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-red);
	color: #fff;
	font-family: var(--rb-body);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: .01em;
	text-decoration: none;
	box-shadow: none;
	transform: none;
	cursor: pointer;
}
.themify_builder .module-buttons .builder_button:hover,
.rb-btn:hover { background: var(--rb-soot); border-color: var(--rb-soot); color: #fff; transform: none; box-shadow: none; }
/* Second and later buttons: outline */
.themify_builder .module-buttons .module-buttons-item + .module-buttons-item .builder_button { background: transparent; color: var(--rb-soot); border-color: var(--rb-soot); }
.themify_builder .module-buttons .module-buttons-item + .module-buttons-item .builder_button:hover { background: var(--rb-soot); color: #fff; }
.rb-soot .module-buttons .builder_button:hover, .rb-hero .module-buttons .builder_button:hover { background: #fff; border-color: #fff; color: var(--rb-soot); }
.rb-soot .module-buttons .module-buttons-item + .module-buttons-item .builder_button,
.rb-hero .module-buttons .module-buttons-item + .module-buttons-item .builder_button { color: #fff; border-color: rgba(255, 255, 255, .55); }
.rb-soot .module-buttons .module-buttons-item + .module-buttons-item .builder_button:hover,
.rb-hero .module-buttons .module-buttons-item + .module-buttons-item .builder_button:hover { background: #fff; border-color: #fff; color: var(--rb-soot); }
.themify_builder .module-buttons .builder_button em, .themify_builder .module-buttons .builder_button .tf_fa { display: none; }
/* Text link with a drawn arrow */
.rb-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rb-soot); border-bottom: 2px solid var(--rb-red); padding-bottom: 2px; }
.rb-link::after { content: '→'; transition: transform .25s var(--rb-ease); }
.rb-link:hover { color: var(--rb-red); }
.rb-link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
#headerwrap { position: absolute; left: 0; right: 0; top: 0; z-index: 100; background: transparent; transition: background-color .35s var(--rb-ease), box-shadow .35s; }
#headerwrap #header { width: var(--rb-wrap); max-width: none; padding-block: 22px; transition: padding .35s var(--rb-ease); }
.header-horizontal #header { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
#headerwrap::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--rb-lime); box-shadow: 0 8px 28px rgba(31, 29, 27, .12); opacity: 0; transition: opacity .35s var(--rb-ease); pointer-events: none; }
.fixed-header-on #headerwrap, #headerwrap.fixed-header { position: fixed; top: 0; animation: rb-drop .35s var(--rb-ease); }
@keyframes rb-drop { from { transform: translateY(-100%); } to { transform: none; } }
.fixed-header-on #headerwrap::before, #headerwrap.fixed-header::before { opacity: 1; }
.fixed-header-on #headerwrap #header { padding-block: 10px; }
body.admin-bar.fixed-header-on #headerwrap { top: var(--wp-admin--admin-bar--height, 32px); }

/* Logo: light version over the hero, colour original once the header is solid */
#site-logo { margin: 0; line-height: 0; flex: none; }
#site-logo a { display: inline-block; }
#site-logo img { width: clamp(190px, 16vw, 250px); height: auto; max-height: none; transition: width .35s var(--rb-ease); }
#headerwrap:not(.fixed-header) #site-logo img { content: var(--rb-logo-light); }
.fixed-header-on #site-logo img { width: clamp(170px, 13vw, 210px); }

/* Desktop nav */
.sidemenu-off .navbar-wrapper { display: flex; justify-content: flex-end; }
.header-horizontal #header > .sidemenu-off { margin-left: auto; }
#header > #mobile-menu.sidemenu-off { flex: 1 1 auto; }
.sidemenu-off #main-nav { display: flex; align-items: center; gap: 0; margin: 0; }
#headerwrap .sidemenu-off #main-nav > li { margin: 0; padding: 0; }
#headerwrap .sidemenu-off #main-nav > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	font-family: var(--rb-body);
	font-size: .98rem;
	font-weight: 500;
	text-transform: none;
	color: #fff;
	background: transparent;
}
.fixed-header-on #headerwrap .sidemenu-off #main-nav > li > a { color: var(--rb-soot); }
#headerwrap .sidemenu-off #main-nav > li > a::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 3px;
	border-radius: 1px;
	background: var(--rb-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--rb-ease);
}
#headerwrap .sidemenu-off #main-nav > li > a:hover::after,
#headerwrap .sidemenu-off #main-nav > li.current-menu-item > a::after,
#headerwrap .sidemenu-off #main-nav > li.current_page_item > a::after,
#headerwrap .sidemenu-off #main-nav > li.current-menu-ancestor > a::after,
#headerwrap .sidemenu-off #main-nav > li.current-menu-parent > a::after { transform: scaleX(1); }
#headerwrap:not(.fixed-header) .sidemenu-off #main-nav > li > a::after { background: var(--rb-ochre); }

/* Submenu arrow */
#headerwrap #main-nav .child-arrow {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: -4px 0 0 2px;
	padding: 0;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	border-radius: 0;
	background: none;
	transform: rotate(45deg);
	transition: transform .25s var(--rb-ease);
	position: static;
}
#headerwrap #main-nav .child-arrow::before, #headerwrap #main-nav .child-arrow::after { display: none; }
#headerwrap .sidemenu-off #main-nav > li:hover > a .child-arrow { transform: rotate(225deg); margin-top: 4px; }

/* Dropdown */
#headerwrap .sidemenu-off #main-nav .sub-menu {
	min-width: 240px;
	padding: 8px 0;
	margin-top: 4px;
	border: 0;
	border-radius: var(--rb-radius);
	background: var(--rb-soot);
	box-shadow: 0 24px 50px rgba(31, 29, 27, .28);
}
#headerwrap .sidemenu-off #main-nav .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
#headerwrap .sidemenu-off #main-nav .sub-menu li { margin: 0; padding: 0; border: 0; }
#headerwrap .sidemenu-off #main-nav .sub-menu a { display: block; padding: 10px 22px; font-family: var(--rb-body); font-size: .96rem; font-weight: 500; text-transform: none; color: var(--rb-on-soot); background: transparent; }
#headerwrap .sidemenu-off #main-nav .sub-menu a:hover,
#headerwrap .sidemenu-off #main-nav .sub-menu .current-menu-item > a { background: var(--rb-soot-2); color: #fff; box-shadow: inset 4px 0 0 var(--rb-red); }

/* CTA nav button (last) */
#headerwrap .sidemenu-off #main-nav > li.rb-nav-cta { margin-left: 14px; }
#headerwrap .sidemenu-off #main-nav > li.rb-nav-cta > a { padding: 11px 20px; border: 2px solid var(--rb-red); border-radius: var(--rb-radius); background: var(--rb-red); color: #fff; font-weight: 600; }
#headerwrap .sidemenu-off #main-nav > li.rb-nav-cta > a::after { display: none; }
#headerwrap .sidemenu-off #main-nav > li.rb-nav-cta > a:hover,
#headerwrap .sidemenu-off #main-nav > li.rb-nav-cta.current-menu-item > a { background: #fff; border-color: #fff; color: var(--rb-soot); }
.fixed-header-on #headerwrap .sidemenu-off #main-nav > li.rb-nav-cta > a { color: #fff; }
.fixed-header-on #headerwrap .sidemenu-off #main-nav > li.rb-nav-cta > a:hover,
.fixed-header-on #headerwrap .sidemenu-off #main-nav > li.rb-nav-cta.current-menu-item > a { background: var(--rb-soot); border-color: var(--rb-soot); color: #fff; }

/* Cart icon */
#headerwrap .cart-icon { margin-left: 10px; }
#headerwrap .cart-icon .cart-icon-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: #fff; }
.fixed-header-on #headerwrap .cart-icon .cart-icon-link { color: var(--rb-soot); }
#headerwrap .cart-icon .cart-icon-link .tf_fa { width: 22px; height: 22px; }
#headerwrap .cart-icon .cart-icon-link > span:not(:empty) {
	position: absolute;
	top: 2px;
	right: 0;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 10px;
	background: var(--rb-red);
	color: #fff;
	font-size: .72rem;
	font-weight: 600;
	line-height: 19px;
	text-align: center;
}
#headerwrap .cart-icon .cart-icon-link > span:empty { display: none; }

/* Mobile menu button: three painted sticks instead of hamburger lines */
#headerwrap #menu-icon {
	position: relative;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: var(--rb-radius);
	background: var(--rb-soot);
	color: #fff;
}
#headerwrap #menu-icon .menu-icon-inner { display: none; }
#headerwrap #menu-icon::before {
	content: '';
	width: 22px;
	height: 17px;
	background:
		linear-gradient(var(--rb-red), var(--rb-red)) 0 0 / 22px 3px no-repeat,
		linear-gradient(var(--rb-ochre), var(--rb-ochre)) 0 7px / 17px 3px no-repeat,
		linear-gradient(var(--rb-green), var(--rb-green)) 0 14px / 20px 3px no-repeat;
	transition: background-size .3s var(--rb-ease);
}
#headerwrap #menu-icon:hover::before { background-size: 18px 3px, 22px 3px, 14px 3px; }
#headerwrap .header-icons { right: var(--rb-gutter); }

#headerwrap .sidemenu-on { background: var(--rb-soot); color: var(--rb-on-soot); padding-top: 88px; }
#headerwrap .sidemenu-on::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(var(--rb-red) 0 25%, var(--rb-ochre) 0 50%, var(--rb-green) 0 75%, var(--rb-blue) 0); }
#headerwrap .sidemenu-on #main-nav { display: block; }
#headerwrap .sidemenu-on #main-nav li { border: 0; margin: 0; position: relative; }
#headerwrap .sidemenu-on #main-nav a {
	display: block;
	padding: 13px 34px 13px 0;
	border-bottom: 1px solid rgba(218, 213, 204, .14);
	font-family: var(--rb-body);
	font-size: 1.08rem;
	font-weight: 500;
	color: #fff;
	background: none;
}
#headerwrap .sidemenu-on #main-nav a:hover,
#headerwrap .sidemenu-on #main-nav .current-menu-item > a,
#headerwrap .sidemenu-on #main-nav .current_page_item > a { color: var(--rb-red-soft); }
#headerwrap .sidemenu-on #main-nav .sub-menu { padding: 0 0 6px 16px; background: none; border: 0; box-shadow: none; }
#headerwrap .sidemenu-on #main-nav .sub-menu a { font-size: 1rem; font-weight: 400; color: var(--rb-on-soot); }
#headerwrap .sidemenu-on #main-nav .child-arrow { position: absolute; right: 8px; top: 18px; margin: 0; width: 10px; height: 10px; color: #fff; cursor: pointer; }
#headerwrap .sidemenu-on #main-nav li.toggle-on > a .child-arrow { transform: rotate(225deg); top: 24px; }
#headerwrap .sidemenu-on #main-nav li.rb-nav-cta > a { margin-top: 24px; padding: 14px 22px; border: 0; border-radius: var(--rb-radius); background: var(--rb-red); color: #fff; text-align: center; font-weight: 600; }
#headerwrap #menu-icon-close { top: 22px; right: 22px; width: 44px; height: 44px; border-radius: var(--rb-radius); background: var(--rb-red); color: #fff; }
#headerwrap #menu-icon-close::before, #headerwrap #menu-icon-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 22px; margin: -11px 0 0 -1px; background: #fff; transform: rotate(45deg); }
#headerwrap #menu-icon-close::after { transform: rotate(-45deg); }

/* ---------- Slide cart (header): a light panel, unlike the dark mobile menu ---------- */
#headerwrap #slide-cart.sidemenu { background: var(--rb-lime); color: var(--rb-text); padding: 72px 0 0; box-shadow: -20px 0 50px rgba(31, 29, 27, .18); }
#headerwrap #slide-cart.sidemenu::before { width: 4px; }
#slide-cart #cart-icon-close { top: 18px; right: 18px; width: 40px; height: 40px; border-radius: var(--rb-radius); background: var(--rb-soot); }
#slide-cart #cart-icon-close::before, #slide-cart #cart-icon-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 18px; margin: -9px 0 0 -1px; background: #fff; transform: rotate(45deg); }
#slide-cart #cart-icon-close::after { transform: rotate(-45deg); }
#slide-cart #cart-wrap { display: flex; flex-direction: column; height: 100%; }
#slide-cart .cart-scroll-body { flex: 1; padding: 0 22px; }
#slide-cart #cart-list .product { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: start; margin: 0; padding: 16px 30px 16px 0; border-bottom: 1px solid var(--rb-line); background: none; }
#slide-cart #cart-list .product-image { margin: 0; width: 72px; }
#slide-cart #cart-list .product-image img { width: 72px; height: 72px; object-fit: contain; padding: 4px; border-radius: 3px; background: var(--rb-white); }
#slide-cart .product-title { margin: 0 0 10px; font-family: var(--rb-head); font-size: 1rem; font-weight: 600; line-height: 1.3; }
#slide-cart .product-title a { color: var(--rb-soot); }
#slide-cart .product-title a:hover { color: var(--rb-red); }
#slide-cart .quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-white); overflow: hidden; }
#slide-cart .quantity .qty { width: 40px; min-height: 36px; padding: 0; border: 0; background: transparent; text-align: center; font: inherit; color: var(--rb-text); box-shadow: none; }
#slide-cart .quantity button { width: 32px; min-height: 36px; padding: 0; border: 0; background: transparent; color: var(--rb-soot); box-shadow: none; transform: none; }
#slide-cart .quantity button:hover { background: var(--rb-lime); color: var(--rb-red); transform: none; }
#slide-cart .remove-item { position: absolute; top: 18px; right: 0; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--rb-line); background: var(--rb-white); }
#slide-cart .remove-item::before, #slide-cart .remove-item::after { content: ''; position: absolute; left: 50%; top: 50%; width: 1.5px; height: 12px; margin: -6px 0 0 -.75px; background: var(--rb-muted); transform: rotate(45deg); }
#slide-cart .remove-item::after { transform: rotate(-45deg); }
#slide-cart .remove-item:hover { background: var(--rb-red); border-color: var(--rb-red); }
#slide-cart .remove-item:hover::before, #slide-cart .remove-item:hover::after { background: #fff; }
#slide-cart .cart-total-checkout-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; background: var(--rb-white); border-top: 1px solid var(--rb-line); }
#slide-cart .cart-total { display: grid; margin: 0; font-family: var(--rb-head); font-size: 1.25rem; font-weight: 600; color: var(--rb-soot); }
#slide-cart .cart-total .amount { color: var(--rb-soot); }
#slide-cart #view-cart { font-family: var(--rb-body); font-size: .9rem; font-weight: 600; color: var(--rb-red); text-decoration: underline; text-underline-offset: 3px; }
#slide-cart .checkout-button { margin: 0; }
#slide-cart .checkout-button .button { min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--rb-radius); background: var(--rb-red); color: #fff; font: 600 1rem/1 var(--rb-body); box-shadow: none; transform: none; }
#slide-cart .checkout-button .button:hover { background: var(--rb-soot); transform: none; }
#slide-cart .cart-empty, #slide-cart .tf_textc { padding: 24px 22px; color: var(--rb-muted); }

/* ---------- Hero: text on soot, photo bleeding to the right edge ---------- */
.themify_builder .module_row.rb-hero {
	display: flex;
	align-items: stretch;
	min-height: min(78svh, 760px);
	padding: 0;
	background: var(--rb-soot);
	color: var(--rb-on-soot);
	overflow: hidden;
}
.themify_builder .module_row.rb-hero > .row_inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-rows: minmax(0, 1fr);
	align-items: stretch !important;
	align-content: stretch !important;
	column-gap: 0;
	width: 100%;
	padding-left: max(var(--rb-gutter), (100% - 1240px) / 2);
}
.themify_builder .rb-hero .module_column.rb-hero__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(var(--rb-header-h) + clamp(40px, 6vw, 80px)) clamp(32px, 5vw, 80px) clamp(72px, 8vw, 112px) 0;
	width: auto;
	margin: 0;
}
.themify_builder .rb-hero .module_column.rb-hero__media { position: relative; width: auto; margin: 0; min-height: 320px; align-self: stretch !important; }
.rb-hero__media .module-image, .rb-hero__media .image-wrap, .rb-hero__media .image-wrap a { position: absolute; inset: 0; margin: 0 !important; }
.rb-hero__media img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: 50% 40%; }
.rb-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 29, 27, .72) 0, rgba(31, 29, 27, 0) 26%), linear-gradient(90deg, var(--rb-soot) 0, rgba(31, 29, 27, 0) 22%); pointer-events: none; }
.rb-hero .rb-hero__head .main-head { color: var(--rb-ochre); }
.rb-hero .rb-hero__head .sub-head { font-size: var(--rb-fs-h1); line-height: 1.02; letter-spacing: -.025em; color: #fff; max-width: 15ch; }
.rb-hero .rb-lead { color: var(--rb-on-soot); max-width: 46ch; }
.rb-hero .module-buttons { margin-top: 32px; }
.themify_builder .module_row.rb-hero--home { min-height: min(92svh, 880px); }
.themify_builder .rb-hero--home > .row_inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.rb-hero--inner .rb-hero__head .sub-head { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.7rem); }
.themify_builder .module_row.rb-hero--inner { min-height: min(64svh, 600px); }
/* Sticks stand on the hero's bottom edge */
.themify_builder .module_row.rb-hero::after {
	content: '';
	position: absolute;
	left: max(var(--rb-gutter), (100% - 1240px) / 2);
	bottom: 0;
	width: 85px;
	height: 40px;
	z-index: 3;
	background:
		linear-gradient(var(--rb-red), var(--rb-red)) 0 100% / 10px 34px no-repeat,
		linear-gradient(var(--rb-ochre), var(--rb-ochre)) 15px 100% / 10px 26px no-repeat,
		linear-gradient(var(--rb-green), var(--rb-green)) 30px 100% / 10px 40px no-repeat,
		linear-gradient(var(--rb-blue), var(--rb-blue)) 45px 100% / 10px 30px no-repeat,
		linear-gradient(var(--rb-linseed), var(--rb-linseed)) 60px 100% / 10px 36px no-repeat,
		linear-gradient(var(--rb-lime), var(--rb-lime)) 75px 100% / 10px 22px no-repeat;
}

/* ---------- Split sections ---------- */
.themify_builder .rb-split > .row_inner { align-items: center; }
.rb-img img { width: 100%; height: auto; border-radius: var(--rb-radius); }
.rb-img--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.rb-img--wide img { aspect-ratio: 3 / 2; object-fit: cover; }
.rb-copy .module-text { max-width: 60ch; }
/* Photo with a caption plate */
.rb-caption { margin-top: 14px; font-size: .9rem; color: var(--rb-muted); }

/* ---------- Photo switcher: service list beside a large stage photo ---------- */
.themify_builder .rb-swap > .row_inner { align-items: center; }
.themify_builder .rb-swap .module_column.rb-swap__aside { position: relative; align-self: center !important; }
.rb-swap__aside .module-image { margin: 0; }
.rb-swap__aside .image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 78vh; border-radius: var(--rb-radius); }
.rb-swap__aside .image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s var(--rb-ease), transform .6s var(--rb-ease); }
.rb-swap__aside.is-swapping .image-wrap img, .rb-swap__stage.is-swapping img { opacity: 0; transform: scale(1.02); }
.rb-swap__label { position: absolute; left: 0; bottom: 0; padding: 12px 18px; background: var(--rb-soot); color: #fff; font-family: var(--rb-head); font-weight: 600; font-size: 1.05rem; }
.themify_builder .rb-swap .module_subrow.rb-swap-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) !important;
	grid-template-areas: none !important;
	margin: 0;
	padding: 22px 0 22px 26px;
	border-bottom: 1px solid var(--rb-line);
	cursor: pointer;
}
.themify_builder .rb-swap .module-fancy-heading + .module-text + .rb-swap-item,
.themify_builder .rb-swap .module-fancy-heading + .rb-swap-item { margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--rb-line); }
.rb-swap-item::before { content: ''; position: absolute; left: 0; top: 24px; width: 6px; height: 24px; border-radius: 1px; background: var(--rb-line); transition: height .35s var(--rb-ease), background-color .25s; }
.rb-swap-item:nth-of-type(5n+1).is-active::before { background: var(--rb-red); }
.rb-swap-item:nth-of-type(5n+2).is-active::before { background: var(--rb-ochre); }
.rb-swap-item:nth-of-type(5n+3).is-active::before { background: var(--rb-green); }
.rb-swap-item:nth-of-type(5n+4).is-active::before { background: var(--rb-blue); }
.rb-swap-item:nth-of-type(5n+5).is-active::before { background: var(--rb-red); }
.rb-swap-item.is-active::before { height: calc(100% - 48px); }
.rb-swap-item > .module_column { width: auto !important; margin: 0 !important; grid-area: auto !important; }
.rb-swap-item > .rb-swap__media { display: none; }
.rb-swap__title .sub-head a { color: var(--rb-soot); }
.rb-swap__title .sub-head a::after { content: ' →'; color: var(--rb-red); opacity: 0; transition: opacity .2s; }
.rb-swap-item.is-active .rb-swap__title .sub-head a::after, .rb-swap-item:hover .rb-swap__title .sub-head a::after { opacity: 1; }
.rb-swap-item .module-text { margin-top: 6px !important; color: var(--rb-muted); }
.rb-swap-item .module-text p { margin: 0; }

/* ---------- Category sticks (home): the shop as a colour sample board ---------- */
.rb-catsticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 10), minmax(0, 1fr)); gap: 8px; align-items: end; }
.rb-catsticks li { margin: 0; }
.rb-catsticks a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: var(--h, 340px);
	padding: 16px 0 14px;
	border-radius: 3px 3px 0 0;
	background: var(--c, var(--rb-red));
	color: var(--t, #fff);
	text-decoration: none;
	transition: transform .35s var(--rb-ease), box-shadow .35s;
}
.rb-catsticks a:hover { transform: translateY(-12px); box-shadow: 0 18px 30px rgba(31, 29, 27, .18); color: var(--t, #fff); }
.rb-catsticks__name { writing-mode: vertical-rl; transform: rotate(180deg); align-self: center; font-family: var(--rb-head); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.rb-catsticks__n { align-self: center; font-size: .78rem; font-weight: 600; opacity: .8; }
.rb-catsticks__base { height: 14px; margin-top: -2px; background: var(--rb-soot); border-radius: 0 0 3px 3px; }

/* ---------- Mosaic: one tall photo, two stacked ---------- */
.themify_builder .module_subrow.rb-mosaic { display: grid; grid-template-columns: 1.25fr 1fr !important; grid-template-rows: 1fr 1fr; grid-template-areas: none !important; gap: 14px; }
.themify_builder .rb-mosaic > .module_column { width: auto !important; margin: 0 !important; }
.themify_builder .rb-mosaic > .module_column:nth-child(1) { grid-area: 1 / 1 / 3 / 2 !important; }
.themify_builder .rb-mosaic > .module_column:nth-child(2) { grid-area: 1 / 2 / 2 / 3 !important; }
.themify_builder .rb-mosaic > .module_column:nth-child(3) { grid-area: 2 / 2 / 3 / 3 !important; }
.rb-mosaic .module-image, .rb-mosaic .image-wrap, .rb-mosaic .image-wrap a { height: 100%; display: block; }
.rb-mosaic img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; border-radius: var(--rb-radius); }

/* ---------- Contact card (service pages) ---------- */
.themify_builder .rb-contact-row > .row_inner { align-items: center; }
.rb-person { display: grid; gap: 4px; margin: 0; padding: 28px 30px; background: var(--rb-soot); color: var(--rb-on-soot); border-radius: var(--rb-radius); position: relative; }
.rb-person::before { content: ''; position: absolute; left: 30px; top: 0; width: 25px; height: 6px; background: var(--rb-stick-row); }
.rb-person__label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rb-on-soot-soft); }
.rb-person strong { font-family: var(--rb-head); font-size: 1.35rem; color: #fff; }
.rb-person .rb-person__tel { margin-top: 10px; font-family: var(--rb-head); font-size: 1.6rem; font-weight: 600; color: #fff; }
.rb-person .rb-person__tel:hover { color: var(--rb-red-soft); }
.rb-person .rb-person__mail { color: var(--rb-red-soft); font-weight: 600; }
.rb-person .rb-person__mail:hover { color: #fff; }

/* ---------- Experttips: question list ---------- */
.rb-questions { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rb-soot); }
.rb-questions li { margin: 0; border-bottom: 1px solid var(--rb-line); }
.rb-questions a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--rb-soot); }
.rb-questions__q { font-family: var(--rb-head); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; line-height: 1.3; }
.rb-questions__go { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--rb-soot); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1D1B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; transition: background-color .2s, border-color .2s; }
.rb-questions a:hover { color: var(--rb-red); }
.rb-questions a:hover .rb-questions__go { border-color: var(--rb-red); background-color: var(--rb-red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* ---------- External link list (Beställning, NCS) ---------- */
.rb-extlinks { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rb-soot); }
.rb-extlinks li { margin: 0; border-bottom: 1px solid var(--rb-line); }
.rb-extlinks a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding: 20px 0; color: var(--rb-text); }
.rb-extlinks strong { font-family: var(--rb-head); font-size: 1.3rem; color: var(--rb-soot); }
.rb-extlinks span { grid-column: 1; color: var(--rb-muted); }
.rb-extlinks a::after { content: '↗'; grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.3rem; color: var(--rb-red); transition: transform .25s var(--rb-ease); }
.rb-extlinks a:hover strong { color: var(--rb-red); }
.rb-extlinks a:hover::after { transform: translate(3px, -3px); }

/* ---------- Membership logos ---------- */
.rb-members { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin: 0; padding: 0; list-style: none; }
.rb-members img { height: 84px; width: auto; }

/* ---------- Gallery ---------- */
.rb-gallery .gallery { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 12px; margin: 0; }
.rb-gallery .gallery-item { width: auto !important; margin: 0 !important; padding: 0 !important; }
.rb-gallery .gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rb-radius); border: 0 !important; transition: opacity .2s; }
.rb-gallery .gallery-item a:hover img { opacity: .86; }
.rb-gallery .gallery-caption { display: none; }

/* ---------- Forms (Builder Contact, login) ---------- */
.rb-form .builder-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.rb-form .builder-contact-field { margin: 0 !important; width: auto !important; }
.rb-form .builder-contact-field-message, .rb-form .builder-contact-field-sendcopy, .rb-form .builder-contact-field-send,
.rb-form .builder-contact-field-subject, .rb-form .builder-contact-field-extra-upload, .rb-form .builder-contact-field-captcha { grid-column: 1 / -1; }
.rb-form .control-label, .rb-form label.control-label { display: block; margin: 0 0 6px; font-size: .92rem; font-weight: 600; color: var(--rb-soot); }
.rb-form .required { color: var(--rb-red); }
.rb-form input[type=text], .rb-form input[type=email], .rb-form input[type=tel], .rb-form input[type=number], .rb-form textarea, .rb-form select,
.rb-login-wrap input[type=text], .rb-login-wrap input[type=password] {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--rb-line);
	border-radius: var(--rb-radius);
	background: var(--rb-white);
	color: var(--rb-text);
	font: inherit;
	box-shadow: none;
	transition: border-color .2s, box-shadow .2s;
}
.rb-grey .rb-form input, .rb-grey .rb-form textarea { background: var(--rb-white); }
.rb-white .rb-form input[type=text], .rb-white .rb-form input[type=email], .rb-white .rb-form input[type=tel], .rb-white .rb-form textarea { background: var(--rb-lime); }
.rb-form input:focus, .rb-form textarea:focus, .rb-login-wrap input:focus { border-color: var(--rb-soot); box-shadow: 0 0 0 1px var(--rb-soot); }
.rb-form textarea { min-height: 160px; }
.rb-form .builder-contact-field-sendcopy label, .rb-form .builder-contact-field-sendcopy .control-input { display: inline-flex; align-items: center; gap: 10px; font-weight: 400; }
.rb-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--rb-red); }
.rb-form .builder-contact-field-send { text-align: left; }
.rb-form .btn, .rb-form button[type=submit], .rb-form .builder-contact-field-send button {
	box-sizing: border-box;
	min-height: 52px;
	padding: 13px 28px;
	border: 2px solid var(--rb-red);
	border-radius: var(--rb-radius);
	background: var(--rb-red);
	color: #fff;
	font: 600 1rem/1.2 var(--rb-body);
	box-shadow: none;
	transform: none;
	cursor: pointer;
}
.rb-form .btn:hover, .rb-form button[type=submit]:hover { background: var(--rb-soot); border-color: var(--rb-soot); color: #fff; transform: none; box-shadow: none; }
.rb-form .contact-success, .rb-form .contact-message { padding: 14px 18px; border-radius: var(--rb-radius); background: var(--rb-white); border-left: 4px solid var(--rb-green); }
.rb-form .module-title { display: none; }

/* Contact details list (Kontakt page) */
.rb-contactlist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--rb-soot); }
.rb-contactlist li { display: grid; gap: 2px; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--rb-line); }
.rb-contactlist span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rb-muted); }
.rb-contactlist a { font-family: var(--rb-head); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.6rem); font-weight: 600; color: var(--rb-soot); }
.rb-contactlist a:hover { color: var(--rb-red); }

/* ---------- Login page ---------- */
.rb-login-card { padding: clamp(26px, 4vw, 44px); background: var(--rb-white); border-radius: var(--rb-radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); color: var(--rb-text); }
.rb-login-card form p { margin: 0 0 16px; }
.rb-login-card label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--rb-soot); }
.rb-login-card input[type=text], .rb-login-card input[type=password] { width: 100%; padding: 13px 16px; border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-lime); font: inherit; }
.rb-login-card input[type=text]:focus, .rb-login-card input[type=password]:focus { border-color: var(--rb-soot); box-shadow: 0 0 0 1px var(--rb-soot); background: #fff; }
.rb-login-card .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; }
.rb-login-card input[type=checkbox] { accent-color: var(--rb-red); width: 18px; height: 18px; }
.rb-login-card .button-primary, .rb-login-card input[type=submit] { width: 100%; min-height: 52px; border: 0; border-radius: var(--rb-radius); background: var(--rb-red); color: #fff; font: 600 1rem/1 var(--rb-body); cursor: pointer; box-shadow: none; transform: none; }
.rb-login-card .button-primary:hover, .rb-login-card input[type=submit]:hover { background: var(--rb-soot); transform: none; box-shadow: none; }
.rb-login-msg { margin: 0 0 18px; padding: 12px 16px; border-radius: var(--rb-radius); background: var(--rb-lime); border-left: 4px solid var(--rb-green); }
.rb-login-msg--error { border-left-color: var(--rb-red); }
.rb-login-lost { margin: 6px 0 0; text-align: center; }
.rb-login-lost a, .rb-login-link { font-weight: 600; color: var(--rb-red); }
.rb-login-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 18px 0 0; }

/* ---------- 404 ---------- */
.rb-404 .rb-hero__head .sub-head { max-width: 16ch; }
.rb-404num { display: block; margin: 0 0 10px; font-family: var(--rb-head); font-size: clamp(5rem, 3rem + 9vw, 10rem); font-weight: 700; line-height: .9; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 2px var(--rb-ochre); }

/* ---------- Posts (Experttips articles) ---------- */
body.single-post #pagewrap::before { content: ''; display: block; height: calc(var(--rb-header-h) + 16px); background: var(--rb-soot); }
.single-post #layout { width: var(--rb-wrap); max-width: 820px; margin-inline: auto; padding: 56px 0 var(--rb-section); }
.single-post .post-date-wrap, .single-post .post-meta, .single-post .post-nav, .single-post .related-posts, .single-post .author-box, .single-post #comments { display: none !important; }
.single-post article .post-image { order: 2; margin: 0 0 32px; }
.single-post article .post-image img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--rb-radius); }
.single-post .post-content { padding: 0; text-align: left; }
.single-post .post-title { margin: 0 0 24px; font-size: var(--rb-fs-h2); line-height: 1.12; text-align: left; }
.single-post .post-title a { color: var(--rb-soot); }
.single-post .entry-content { font-size: 1.08rem; }
.rb-backlink { margin: 0 0 22px; }
.rb-backlink a { font-weight: 600; }
.rb-backlink a::before { content: '← '; }

/* ---------- Footer (layout part on themify_body_end) ---------- */
body > .tb_layout_part_wrap { background: var(--rb-soot); }
.tb_layout_part_wrap .module_row.rb-footer { position: relative; padding-block: clamp(72px, 7vw, 104px) 56px; background: var(--rb-soot); color: var(--rb-on-soot); }
.tb_layout_part_wrap .module_row.rb-footer::before { content: ''; position: absolute; left: max(var(--rb-gutter), (100% - 1240px) / 2); top: 0; width: 85px; height: 40px; background:
	linear-gradient(var(--rb-red), var(--rb-red)) 0 0 / 10px 30px no-repeat,
	linear-gradient(var(--rb-ochre), var(--rb-ochre)) 15px 0 / 10px 38px no-repeat,
	linear-gradient(var(--rb-green), var(--rb-green)) 30px 0 / 10px 24px no-repeat,
	linear-gradient(var(--rb-blue), var(--rb-blue)) 45px 0 / 10px 34px no-repeat,
	linear-gradient(var(--rb-linseed), var(--rb-linseed)) 60px 0 / 10px 28px no-repeat,
	linear-gradient(var(--rb-soot-3), var(--rb-soot-3)) 75px 0 / 10px 20px no-repeat; }
.tb_layout_part_wrap .module_row.rb-footer > .row_inner, .tb_layout_part_wrap .module_row.rb-footer-bottom > .row_inner { width: var(--rb-wrap); max-width: none; margin-inline: auto; gap: clamp(32px, 4vw, 72px); }
.tb_layout_part_wrap .module_row .module { margin-bottom: 0; }
.tb_layout_part_wrap .module_row .module + .module { margin-top: 18px; }
.rb-footer p, .rb-footer li { color: var(--rb-on-soot); font-size: .97rem; }
.rb-footer__brand p { max-width: 42ch; }
.rb-footer__logo img { width: 260px; height: auto; }
.rb-footer .rb-footer__title .main-head { display: none !important; }
.rb-footer .rb-footer__title .sub-head { font-family: var(--rb-body); font-size: .78rem !important; font-weight: 600; letter-spacing: .14em !important; text-transform: uppercase; color: #fff; max-width: none; }
.rb-footer__links { list-style: none; margin: 0; padding: 0; }
.rb-footer__links li { margin: 0 0 9px; }
.rb-footer .rb-footer__links a { color: var(--rb-on-soot); }
.rb-footer .rb-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--rb-red); }
.rb-footer__contact li { display: grid; margin-bottom: 14px; }
.rb-footer__contact span { font-size: .8rem; color: var(--rb-on-soot-soft); }
.rb-footer .rb-footer__contact a { font-weight: 600; color: #fff; }
.rb-footer__social { display: flex; flex-wrap: wrap; gap: 22px; }
.rb-footer__social a { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; color: #fff !important; }
.rb-footer__social svg { flex: none; color: var(--rb-ochre); }
.rb-footer__social a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.rb-footer__member { font-size: .88rem !important; color: var(--rb-on-soot-soft) !important; }
.tb_layout_part_wrap .module_row.rb-footer-bottom { padding-block: 20px; background: var(--rb-soot); border-top: 1px solid rgba(218, 213, 204, .12); }
.tb_layout_part_wrap .rb-footer-bottom > .row_inner { align-items: center; }
.rb-footer-bottom p { margin: 0; font-size: .86rem; color: var(--rb-on-soot-soft); }
.rb-footer-bottom a { color: var(--rb-on-soot); }
.rb-footer-bottom a:hover { color: #fff; }
.rb-credit { text-align: right; }

/* Back to top */
#pagewrap .back-top.back-top-float { right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: var(--rb-radius); background: var(--rb-soot); box-shadow: 0 10px 24px rgba(31, 29, 27, .3); overflow: hidden; }
#pagewrap .back-top.back-top-float::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--rb-red) 0 25%, var(--rb-ochre) 0 50%, var(--rb-green) 0 75%, var(--rb-blue) 0); }
#pagewrap .back-top.back-top-float a {
	display: block;
	width: 100%;
	height: 100%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 15l6-6 6 6'/%3E%3C/svg%3E") center / 22px no-repeat;
	font-size: 0;
	color: transparent;
}
#pagewrap .back-top.back-top-float .arrow-up { position: static; width: 100%; height: 100%; margin: 0; padding: 0; background: none; border: 0; transform: none; }
#pagewrap .back-top.back-top-float .arrow-up::before, #pagewrap .back-top.back-top-float .arrow-up::after,
#pagewrap .back-top.back-top-float a::before, #pagewrap .back-top.back-top-float a svg, #pagewrap .back-top.back-top-float em { display: none; }
#pagewrap .back-top.back-top-float:hover { background: var(--rb-red); }

/* ---------- Reveal animation (gated by html.rb-anim, skipped in builder) ---------- */
.rb-anim:not(.rb-anim-done) .module_row.rb-r:not(.is-in) { opacity: 0; }
.rb-anim .module_row.rb-r { transition: opacity .7s var(--rb-ease); }
.rb-anim:not(.rb-anim-done) .module_row.rb-r:not(.is-in) .rb-ri { opacity: 0; transform: translateY(24px); }
.rb-anim .module_row.rb-r .rb-ri { transition: opacity .7s var(--rb-ease) var(--d, 0ms), transform .8s var(--rb-ease) var(--d, 0ms); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	#headerwrap .sidemenu-off #main-nav > li > a { padding-inline: 10px; font-size: .94rem; }
	#headerwrap .sidemenu-off #main-nav > li > a::after { left: 10px; right: 10px; }
}
@media (max-width: 1100px) {
	#headerwrap #header { padding-block: 14px; }
	#headerwrap .header-icons { display: flex; align-items: center; gap: 6px; }
	:root { --rb-header-h: 76px; }
	.rb-catsticks { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 28px; }
	.rb-catsticks a { height: calc(var(--h, 340px) * .72); }
}
@media (max-width: 900px) {
	.themify_builder .module_row > .row_inner,
	.themify_builder .module_subrow:not(.rb-mosaic),
	.tb_layout_part_wrap .module_row > .row_inner { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; }
	.themify_builder .module_row > .row_inner > .module_column,
	.themify_builder .module_subrow:not(.rb-mosaic) > .module_column,
	.tb_layout_part_wrap .module_row > .row_inner > .module_column { grid-area: auto !important; width: auto !important; margin-left: 0; }
	.themify_builder .rb-split > .row_inner > .rb-media { order: -1; }

	.themify_builder .module_row.rb-hero, .themify_builder .module_row.rb-hero--home, .themify_builder .module_row.rb-hero--inner { min-height: 0; display: block; }
	.themify_builder .module_row.rb-hero > .row_inner { display: flex !important; flex-direction: column; padding-left: 0; }
	.themify_builder .rb-hero .module_column.rb-hero__media { order: -1; height: 46svh; min-height: 280px; }
	.rb-hero__media::after { background: linear-gradient(180deg, rgba(31, 29, 27, .55) 0, rgba(31, 29, 27, 0) 40%, rgba(31, 29, 27, 0) 70%, var(--rb-soot) 100%); }
	.themify_builder .rb-hero .module_column.rb-hero__text { padding: 8px var(--rb-gutter) 84px; }

	.themify_builder .rb-swap .module_column.rb-swap__aside { display: none; }
	.themify_builder .rb-swap .module_subrow.rb-swap-item { grid-template-columns: 92px minmax(0, 1fr) !important; gap: 16px; padding-left: 0; align-items: start; }
	.rb-swap-item::before { display: none; }
	.rb-swap-item > .rb-swap__media { display: block; }
	.rb-swap__thumb img { width: 92px; height: 92px; object-fit: cover; border-radius: var(--rb-radius); }

	.rb-list--2 { grid-template-columns: minmax(0, 1fr); }
	.rb-catsticks { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.rb-catsticks a { flex-direction: row; align-items: center; height: auto; padding: 16px 18px; border-radius: 3px; }
	.rb-catsticks a:hover { transform: translateX(6px); }
	.rb-catsticks__name { writing-mode: horizontal-tb; transform: none; align-self: auto; }
	.rb-catsticks__base { display: none; }
	.rb-credit { text-align: left; }
	.tb_layout_part_wrap .rb-footer-bottom > .row_inner { gap: 6px; }
	.rb-spec > div { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
	.rb-form .builder-contact-fields { grid-template-columns: minmax(0, 1fr); }
	.themify_builder .module_subrow.rb-mosaic { grid-template-columns: 1fr 1fr !important; grid-template-rows: auto auto; }
	.themify_builder .rb-mosaic > .module_column:nth-child(1) { grid-area: 1 / 1 / 2 / 3 !important; }
	.themify_builder .rb-mosaic > .module_column:nth-child(2) { grid-area: 2 / 1 / 3 / 2 !important; }
	.themify_builder .rb-mosaic > .module_column:nth-child(3) { grid-area: 2 / 2 / 3 / 3 !important; }
	.rb-mosaic img { min-height: 150px; aspect-ratio: 4 / 3; }
	.rb-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#site-logo img { width: 170px; }
	.module-buttons .module-buttons-item { margin-right: 8px; }
}

/* ---------- Home: shop row ---------- */
.themify_builder .module_subrow.rb-shopintro { align-items: end; column-gap: clamp(32px, 6vw, 96px); }
.rb-shopintro__text p { margin: 0; max-width: 56ch; }
.themify_builder .module.rb-catsticks-wrap { margin-top: clamp(48px, 6vw, 80px); }
.themify_builder .rb-split--top > .row_inner { align-items: start; }
.rb-form .contact-message:empty, .rb-form .contact-success:empty { display: none; }
.rb-form input[type=file] { width: 100%; padding: 10px; border: 1px dashed var(--rb-line); border-radius: var(--rb-radius); background: var(--rb-white); font: inherit; font-size: .95rem; color: var(--rb-muted); }
.rb-form input[type=file]::file-selector-button { margin-right: 14px; padding: 9px 16px; border: 0; border-radius: var(--rb-radius); background: var(--rb-soot); color: #fff; font: 600 .9rem/1 var(--rb-body); cursor: pointer; }
.rb-form .builder-contact-field-extra-upload .control-input { width: 100%; }

/* Login hero: text left, form card right */
.themify_builder .module_row.rb-hero--login > .row_inner { padding-right: max(var(--rb-gutter), (100% - 1240px) / 2); }
.themify_builder .rb-hero--login .module_column.rb-login-col { display: flex; align-items: center; justify-content: flex-end; width: auto; margin: 0; padding: calc(var(--rb-header-h) + clamp(32px, 5vw, 64px)) 0 clamp(64px, 7vw, 96px); }
.rb-login-col .module.rb-login-card { width: 100%; max-width: 460px; }
@media (max-width: 900px) {
	.themify_builder .rb-hero--login .module_column.rb-login-col { order: 2; padding: 0 var(--rb-gutter) 84px; justify-content: stretch; }
	.themify_builder .rb-hero--login .module_column.rb-hero__text { padding-top: calc(var(--rb-header-h) + 40px); }
	.rb-login-col .module.rb-login-card { max-width: none; }
}
.themify_builder .module_row.rb-hero--login::after { display: none; }
/* Builder editing wraps modules in holders; stretch them so the hero photo keeps its size. */
.rb-hero__media > .tb_holder, .rb-hero__media .tb_holder > .active_module { position: absolute; inset: 0; }

/* Experttips: product photo per question */
.rb-questions a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.rb-questions__media { display: block; width: 96px; aspect-ratio: 1; padding: 8px; border-radius: var(--rb-radius); background: var(--rb-white); box-shadow: 0 1px 0 var(--rb-line); transition: transform .35s var(--rb-ease); }
.rb-questions__media img { width: 100%; height: 100%; object-fit: contain; }
.rb-questions a:hover .rb-questions__media { transform: rotate(-2deg) scale(1.04); }
.rb-grey .rb-questions__media, .rb-white .rb-questions__media { background: var(--rb-white); }
@media (max-width: 600px) {
	.rb-questions a { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
	.rb-questions__media { width: 72px; }
	.rb-questions__go { display: none; }
}

/* NCS: the notation diagram on a white board */
.rb-ncs-row .module-fancy-heading .sub-head { max-width: none; }
.themify_builder .rb-ncs-row .module.rb-ncs-diagram { margin-top: clamp(28px, 4vw, 48px); padding: clamp(16px, 3vw, 40px); border-radius: var(--rb-radius); background: var(--rb-white); box-shadow: 0 1px 0 var(--rb-line); }
.rb-ncs-diagram img { width: 100%; height: auto; }
.rb-ncs-note { max-width: 64ch; margin: 22px auto 0 !important; text-align: center; color: var(--rb-muted); }
.rb-ncs-note strong { color: var(--rb-soot); }
address { font-style: normal; }
.rb-footer__contact address { color: var(--rb-on-soot); }
