/* Fossbrent: Turkart. Map-paper white, forest-tint fields, one action colour (lake blue),
   trail red for the route only, black lettering in Schibsted Grotesk with tabular figures. */

html:root {
	--fb-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	--fb-paper: #fcfdfd;
	--fb-forest: #ebf4e7;
	--fb-roast-lys: #c8964f;
	--fb-roast-lys-field: #f4ebdd;
	--fb-roast-middels: #8a5a32;
	--fb-roast-middels-field: #efe3d6;
	--fb-roast-mork: #3d2b20;
	--fb-roast-mork-field: #e7e0da;
	--fb-lake: #e4eef8;
	--fb-blue: #0266ba;
	--fb-blue-deep: #01528f;
	--fb-red: #cd2327;
	--fb-ink: #10151a;
	--fb-ink-2: #3d4650;
	--fb-timber: #282e34;
	--fb-line: #d9dee2;
	--fb-line-2: #c3cad0;
	--fb-spruce: #3f6b3a;
	--fb-font: 'Schibsted Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--fb-r: 6px;
	--fb-ease: cubic-bezier(0.23, 1, 0.32, 1);
	--fb-wrap: min(1320px, calc(100% - 2 * var(--fb-gutter)));
	/* The widest of the two side insets (notch, Dynamic Island) when the phone is held sideways; 0 elsewhere. */
	--fb-safe: max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
	--fb-gutter: max(clamp(16px, 4vw, 48px), calc(var(--fb-safe) + 12px));
	--theme-font-family: var(--fb-font);
	--theme-text-color: var(--fb-ink-2);
	--theme-headings-color: var(--fb-ink);
	--theme-link-initial-color: var(--fb-blue);
	--theme-link-hover-color: var(--fb-blue-deep);
	--theme-border-color: var(--fb-line);
	--theme-button-border-radius: var(--fb-r);
}

body {
	background: var(--fb-paper);
	color: var(--fb-ink-2);
	font-family: var(--fb-font);
	font-size: 17px;
	line-height: 1.6;
	font-feature-settings: 'tnum' 0;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .fb-h {
	font-family: var(--fb-font);
	color: var(--fb-ink);
	letter-spacing: -0.02em;
	line-height: 1.08;
	text-wrap: balance;
}
h1 { font-weight: 900; font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
h2 { font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
h3 { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

/* Every number lines up. */
.price, .amount, .fb-num, .fb-route, .fb-strip, .fb-card__price, .fb-card__place, .fb-buy__price, .fb-perkg,
.fb-calc, .fb-package, .fb-facts dd, .woocommerce-Price-amount, .ct-cart-item, .fb-delivery {
	font-variant-numeric: tabular-nums;
}

::selection { background: #cfe0f2; color: var(--fb-ink); }
:focus-visible { outline: 3px solid var(--fb-blue); outline-offset: 2px; border-radius: 2px; }
a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
html { scrollbar-color: var(--fb-line-2) var(--fb-paper); scroll-padding-top: 120px; }
input, textarea, select { caret-color: var(--fb-blue); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ---------- Buttons: one solid action colour, a press, a hover only for a mouse ---------- */
.fb-btn, .ct-button, .wp-element-button, .wp-block-button__link, button.button, a.button,
.woocommerce button.button.alt, .single_add_to_cart_button, .wc-block-components-button:not(.is-link) {
	min-height: 48px;
	border-radius: var(--fb-r);
	font-family: var(--fb-font);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0;
	transition: background-color 160ms var(--fb-ease), transform 160ms var(--fb-ease), box-shadow 160ms var(--fb-ease);
}
.fb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	padding: 0 1.4em; border: 0; cursor: pointer; text-decoration: none;
}
.fb-btn--primary {
	background: var(--fb-blue); color: #fff;
}
.fb-btn--ghost {
	background: transparent; color: var(--fb-ink); box-shadow: inset 0 0 0 1.5px var(--fb-ink);
}
.fb-btn--wide { width: 100%; }
.fb-btn:active, .ct-button:active, .wp-element-button:active, .wp-block-button__link:active,
button.button:active, .single_add_to_cart_button:active { transform: scale(0.97); }
.fb-btn[aria-busy="true"] { opacity: 0.7; }
@media (hover: hover) and (pointer: fine) {
	.fb-btn--primary:hover { background: var(--fb-blue-deep); color: #fff; }
	.fb-btn--ghost:hover { background: var(--fb-ink); color: #fff; }
}

/* ---------- The schedule strip above the header ---------- */
.fb-strip {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.5rem;
	font-size: 14px; line-height: 1.4; color: var(--fb-ink); padding: 6px 0;
}
.fb-strip__item + .fb-strip__item::before { content: '·'; margin-right: 1.5rem; color: var(--fb-ink-2); }
.fb-strip b { font-weight: 700; }
/* The three items need about 710px on one line. In a narrower row (a tablet, a phone held sideways with the notch
   margin) "Gratis frakt" goes, rather than wrap to a second line that starts with "·" (step 7, Arnas's iPhone).
   Free shipping is also stated on every product page and in the cart. */
.fb-strip-wrap { container-type: inline-size; }
@container (max-width: 759.98px) { .fb-strip__item:last-child { display: none; } }
@media (max-width: 760px) {
	.fb-strip { font-size: 13px; gap: 0 0.9rem; }
	.fb-strip__item:first-child, .fb-strip__item:last-child { display: none; }
	.fb-strip__item:nth-child(2)::before { display: none; }
}

/* ---------- Header ---------- */
.ct-header [data-row*="top"] { background: var(--fb-forest) !important; border: 0 !important; }
.ct-header [data-row*="top"] .ct-header-text { color: var(--fb-ink); width: 100%; }
.ct-header [data-row*="middle"] { background: var(--fb-paper) !important; }
.ct-header [data-row*="bottom"] { background: var(--fb-paper) !important; }

/* The wordmark: the site name and the line under it. */
.site-branding .site-title { margin: 0; line-height: 1; }
.site-branding .site-title a, .site-branding .site-title {
	font-family: var(--fb-font) !important; font-weight: 900 !important; font-size: 34px !important; letter-spacing: -0.035em; color: var(--fb-ink) !important; text-decoration: none;
}
.site-branding .site-description {
	font-family: var(--fb-font) !important; font-weight: 600 !important; font-size: 10.5px !important; letter-spacing: 0.32em; text-transform: uppercase;
	color: var(--fb-ink) !important; margin: 4px 0 0 2px !important; line-height: 1 !important;
}
@media (max-width: 999px) {
	.site-branding .site-title a, .site-branding .site-title { font-size: 26px !important; }
	.site-branding .site-description { font-size: 8.5px !important; letter-spacing: 0.26em; }
}

/* Account, wishlist and cart read clearly. */
.ct-header .ct-account-item .ct-label, .ct-header .ct-header-account .ct-label {
	text-transform: none !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: 0 !important; color: var(--fb-ink) !important; opacity: 1 !important;
}
.ct-header .ct-account-item, .ct-header .ct-header-wishlist, .ct-header .ct-header-cart .ct-cart-item, .ct-header .ct-header-search {
	--theme-icon-color: var(--fb-ink); --theme-icon-hover-color: var(--fb-blue); color: var(--fb-ink);
}
.ct-header .ct-cart-item .ct-dynamic-count-cart { background: var(--fb-blue) !important; color: #fff !important; }

/* Main menu: black lettering, blue when active. */
.ct-header [data-id="menu"] > ul > li > a { font-family: var(--fb-font) !important; font-weight: 700 !important; font-size: 16px !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--fb-ink); }
.ct-header [data-id="menu"] > ul > li.current-menu-item > a, .ct-header [data-id="menu"] > ul > li.current-menu-ancestor > a { color: var(--fb-blue) !important; }
.ct-header .sub-menu a { font-family: var(--fb-font) !important; text-transform: none !important; font-weight: 600 !important; font-size: 15px !important; }

/* "Finn kaffen din": the one action in the menu row. */
.ct-header [data-id="menu-secondary"] .menu > li > a, .fb-menu-cta > a {
	display: inline-flex !important; align-items: center; gap: 8px; min-height: 44px; height: 44px !important; padding: 0 18px !important;
	background: var(--fb-blue); color: #fff !important; border-radius: var(--fb-r); font-family: var(--fb-font) !important;
	font-weight: 700 !important; font-size: 15px !important; text-transform: none !important; letter-spacing: 0 !important;
	transition: background-color 160ms var(--fb-ease), transform 160ms var(--fb-ease);
}
.ct-header [data-id="menu-secondary"] .menu > li > a:active, .fb-menu-cta > a:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.ct-header [data-id="menu-secondary"] .menu > li > a:hover { background: var(--fb-blue-deep); }
}
.ct-panel .fb-menu-cta > a { margin: 0 0 12px; justify-content: center; width: 100%; }

/* ---------- Sections and edges ---------- */
.fb-wrap { width: var(--fb-wrap); margin-inline: auto; }
.fb-section { padding-block: clamp(56px, 8vw, 112px); }
.fb-section > .fb-wrap > h2:first-child, .fb-section h2.fb-section__h { margin-top: 0; margin-bottom: 0.4em; }
.fb-lead { font-size: 1.15rem; max-width: 60ch; color: var(--fb-ink-2); margin: 0 0 1.75rem; }
.fb-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.fb-head h2 { margin: 0; }
.fb-head__link { font-weight: 700; text-decoration: none; }
.fb-head__link::after { content: ''; display: inline-block; width: 0.85em; height: 0.85em; margin-left: 6px; vertical-align: -0.08em; background: currentColor; -webkit-mask: var(--fb-arrow) center / contain no-repeat; mask: var(--fb-arrow) center / contain no-repeat; transition: transform 160ms var(--fb-ease); }
@media (hover: hover) and (pointer: fine) { .fb-head__link:hover::after { transform: translateX(3px); } }
@media (hover: hover) and (pointer: fine) { .fb-head__link:hover { text-decoration: underline; } }
.fb-field-tint { background: var(--fb-forest); }
.fb-lake-tint { background: var(--fb-lake); }

/* The one map band. Its texture is decoration, so it loads after the page (step 7: it slowed the hero photo on phones). */
.fb-band {
	background-color: var(--fb-paper);
	background-size: cover;
	background-position: center;
}
html.fb-loaded .fb-band { background-image: url('img/map-band-2000.webp'); }

/* ---------- Hero: the mill by the falls, with the buy card ---------- */
.fb-hero {
	position: relative; isolation: isolate; color: var(--fb-ink);
	min-height: min(860px, calc(100svh - 150px));
	display: grid; align-items: center;
}
.fb-hero__img { position: absolute; inset: 0; z-index: -2; }
.fb-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.fb-hero__inner {
	width: var(--fb-wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
	gap: 2rem; align-items: center; padding-block: 48px;
}
.fb-hero__copy { max-width: 640px; padding: 32px 36px; background: rgba(252, 253, 253, 0.9); border-radius: var(--fb-r); }
.fb-hero__copy h1 { margin: 0 0 0.35em; font-size: clamp(2.4rem, 4.6vw, 4.25rem); }
.fb-hero__copy p { margin: 0; font-size: 1.15rem; color: var(--fb-ink); }
.fb-hero__rule { width: 72px; height: 4px; background: var(--fb-ink); margin: 0 0 1rem; border: 0; }
@media (max-width: 1000px) {
	.fb-hero { min-height: 0; display: block; }
	.fb-hero__img { position: relative; inset: auto; z-index: 0; aspect-ratio: 5 / 4; max-height: 48svh; overflow: hidden; }
	.fb-hero__img img { object-position: 50% 62%; }
	.fb-hero__inner { grid-template-columns: 1fr; gap: 16px; padding-block: 0 32px; margin-top: -56px; position: relative; }
	.fb-hero__copy { padding: 20px 20px 18px; background: var(--fb-paper); }
	.fb-hero__copy h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
	.fb-hero__copy p { font-size: 1rem; }
	.fb-buy { padding: 20px; }
}
.fb-hero [data-enter] { animation: fb-enter 700ms var(--fb-ease) both; }
.fb-hero [data-enter="2"] { animation-delay: 120ms; }
@keyframes fb-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- The buy card ---------- */
.fb-buy {
	background: var(--fb-paper); border-radius: var(--fb-r); padding: 28px;
	box-shadow: 0 18px 40px -18px rgba(16, 21, 26, 0.35), 0 2px 6px rgba(16, 21, 26, 0.08);
	color: var(--fb-ink-2);
}
.fb-buy__name { margin: 0; font-size: clamp(2rem, 3.2vw, 2.75rem); font-weight: 900; }
.fb-buy__name a { color: var(--fb-ink); text-decoration: none; }
.fb-buy__place { margin: 0.35rem 0 0.75rem; color: var(--fb-ink); font-weight: 600; }
.fb-buy__week { font-weight: 800; color: var(--fb-spruce); }
.fb-buy__notes { margin: 0 0 1.1rem; }
.fb-sizes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; padding: 0; margin: 0 0 1rem; }
.fb-size { position: relative; }
.fb-size input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fb-size span {
	display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; padding: 6px 10px;
	border-radius: var(--fb-r); box-shadow: inset 0 0 0 1.5px var(--fb-ink); color: var(--fb-ink); font-weight: 700; text-align: center;
	transition: background-color 160ms var(--fb-ease), color 160ms var(--fb-ease);
}
.fb-size input:checked + span { background: var(--fb-blue); color: #fff; box-shadow: none; }
.fb-size input:focus-visible + span { outline: 3px solid var(--fb-blue); outline-offset: 2px; }
.fb-save { font-style: normal; font-weight: 600; font-size: 0.8rem; color: var(--fb-spruce); }
.fb-size input:checked + span .fb-save { color: #e6f2e2; }
.fb-buy__price { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 1rem; }
.fb-buy__price b { font-size: 2.25rem; font-weight: 900; color: var(--fb-ink); letter-spacing: -0.02em; }
.fb-buy__price span { color: var(--fb-ink-2); }

/* ---------- The route: trail red, roast to door ---------- */
.fb-route {
	list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr);
	position: relative; color: var(--fb-ink); font-size: 0.95rem; line-height: 1.3;
}
.fb-route::before {
	content: ''; position: absolute; top: 7px; left: calc(16.66% ); right: calc(16.66%); height: 3px; background: var(--fb-red); border-radius: 2px;
}
.fb-route__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; position: relative; }
.fb-route__dot { width: 17px; height: 17px; border-radius: 50%; background: var(--fb-red); box-shadow: 0 0 0 3px var(--fb-paper); margin-bottom: 6px; }
.fb-route__label { font-weight: 700; }
.fb-route--compact { font-size: 0.85rem; margin: 0.75rem 0; }
.fb-route--compact .fb-route__dot { width: 12px; height: 12px; }
.fb-route--compact::before { top: 5px; height: 2px; }
.fb-delivery { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--fb-ink-2); text-align: center; }
.fb-mini-route { padding: 4px 0 8px; }

/* ---------- Cards and shelves ---------- */
.fb-shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.fb-shelf--gear { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.fb-split .fb-shelf, .fb-shelf--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fb-shelf, .fb-shelf--gear { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .fb-shelf, .fb-shelf--gear, .fb-split .fb-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
/* A band of coffees beside its heading: side by side only from 1200px, where every card has room for its name
   and notes; below that the heading sits above and the cards take the whole row (step 7). */
@media (max-width: 1199.98px) { .fb-split.fb-split--shelf { grid-template-columns: 1fr; } }
.fb-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--fb-r); box-shadow: inset 0 0 0 1px var(--fb-line); transition: transform 200ms var(--fb-ease), box-shadow 200ms var(--fb-ease); }
.fb-card__media { display: block; overflow: hidden; border-radius: var(--fb-r) var(--fb-r) 0 0; aspect-ratio: 1; background: #e9ecee; }
.fb-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms var(--fb-ease); }
.fb-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fb-card__name { margin: 4px 0 0; font-size: 1.2rem; }
.fb-card__name a { color: var(--fb-ink); text-decoration: none; }
.fb-card__name a::after { content: ''; position: absolute; inset: 0; border-radius: var(--fb-r); }
.fb-card__place { margin: 0; font-size: 0.92rem; color: var(--fb-ink); }
.fb-card__notes { margin: 0; font-size: 0.92rem; }
.fb-card__price { margin: auto 0 0; padding-top: 8px; font-size: 0.92rem; }
.fb-card__price b { font-size: 1.25rem; font-weight: 800; color: var(--fb-ink); margin-right: 0.25rem; }
.fb-card__suits { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; }
.fb-card :focus-visible { outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
	.fb-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--fb-line-2), 0 12px 28px -14px rgba(16, 21, 26, 0.3); }
	.fb-card:hover .fb-card__img { transform: scale(1.03); }
}

/* Roast owns its colour everywhere: chip, filter and legend. */
.fb-roast { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; line-height: 1; padding: 5px 9px; border-radius: 999px; color: var(--fb-ink); background: #eef1f4; }
.fb-roast::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.fb-roast--lys { background: var(--fb-roast-lys-field); } .fb-roast--lys::before { background: var(--fb-roast-lys); }
.fb-roast--middels { background: var(--fb-roast-middels-field); } .fb-roast--middels::before { background: var(--fb-roast-middels); }
.fb-roast--mork { background: var(--fb-roast-mork-field); } .fb-roast--mork::before { background: var(--fb-roast-mork); }
.fb-roast--koffeinfri { background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line-2); } .fb-roast--koffeinfri::before { background: #fff; box-shadow: inset 0 0 0 1.5px #8a96a3; }

/* Map-legend symbols for brewing methods. */
.fb-sym { display: inline-block; width: 14px; height: 14px; flex: none; vertical-align: -1px; }
.fb-sym--circle { border-radius: 50%; background: var(--fb-ink); }
.fb-sym--ring { border-radius: 50%; box-shadow: inset 0 0 0 3px var(--fb-ink); }
.fb-sym--square { background: var(--fb-ink); }
.fb-sym--triangle { background: var(--fb-spruce); clip-path: polygon(50% 4%, 100% 96%, 0 96%); }
.fb-sym--diamond { background: var(--fb-spruce); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.fb-sym--peak { width: 12px; height: 11px; background: #7a5a3c; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.fb-legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; font-size: 0.95rem; color: var(--fb-ink); }
.fb-legend li { display: inline-flex; align-items: center; gap: 0.45rem; }

/* ---------- Product page ---------- */
.fb-pdp__place { margin: 0.25rem 0 0; font-size: 1.1rem; font-weight: 600; color: var(--fb-ink); }
.fb-pdp__notes { margin: 0.15rem 0 0.9rem; font-size: 1.05rem; }
.fb-perkg { margin: 0.25rem 0 0; color: var(--fb-ink-2); }
.single-product .product_title { font-weight: 900; font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 0; }
.single-product .summary .price { color: var(--fb-ink); font-weight: 800; }
.single-product .woocommerce-variation-price .price, .single-product .product-type-simple .entry-summary > .price { font-size: 2rem; }
.single-product .variations th, .single-product .variations .label { font-weight: 700; color: var(--fb-ink); }
.fb-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--fb-r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--fb-line); margin: 48px 0 0; background: #fff; }
.fb-facts--plain { grid-template-columns: 1fr; max-width: 640px; }
.fb-facts__table { padding: 28px 32px; }
.fb-facts__table h2 { font-size: 1.6rem; margin: 0 0 0.75rem; }
.fb-facts dl { margin: 0; }
.fb-facts dl > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: 10px 0; border-top: 1px solid var(--fb-line); }
.fb-facts dt { font-weight: 700; color: var(--fb-ink); }
.fb-facts dd { margin: 0; color: var(--fb-ink); }
.fb-facts__map { position: relative; min-height: 280px; background: url('img/contour-900.webp') center / cover no-repeat, var(--fb-paper); }
.fb-facts__peak { position: absolute; left: 54%; top: 44%; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--fb-ink); background: rgba(252, 253, 253, 0.85); padding: 3px 7px; border-radius: 4px; }
@media (max-width: 760px) {
	.fb-facts { grid-template-columns: 1fr; }
	.fb-facts__map { min-height: 180px; }
	.fb-facts__table { padding: 22px 20px; }
	.fb-facts dl > div { grid-template-columns: 7.5rem 1fr; }
}
/* The tagline stays on one line under the wordmark. */
.site-branding .site-description { white-space: nowrap; }
@media (max-width: 480px) { .site-branding .site-description { font-size: 0.58rem !important; letter-spacing: 0.12em; } }

/* The fact box and the gear sit side by side on a wide screen. */
.fb-pdp-extra { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 48px; }
.fb-pdp-extra .fb-facts, .fb-pdp-extra .fb-pair { margin: 0; }
.fb-pdp-extra .fb-facts { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.fb-pdp-extra .fb-facts dl > div { grid-template-columns: 8rem 1fr; }
.fb-pdp-extra .fb-shelf--gear { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fb-pdp-extra .fb-facts--plain { grid-template-columns: 1fr; }
.fb-pdp-extra--gear { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); }
.fb-pdp-extra--gear .fb-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .fb-pdp-extra, .fb-pdp-extra--gear { grid-template-columns: 1fr; } .fb-pdp-extra--gear .fb-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .fb-pdp-extra--gear { grid-template-columns: 1fr; } }

/* Product page: the price per kilo beside the price, and on a phone the buy button in the first screen (step 3, finding M3). */
.single-product .product-type-variable .entry-summary > .price { display: none; }
.single-product .single_variation_wrap { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.single-product .single_variation_wrap > .woocommerce-variation { margin: 0 !important; }
.single-product .single_variation_wrap > .woocommerce-variation-add-to-cart { flex: 1 0 100%; margin-top: 12px; }
.single-product .woocommerce-variation-price .price { margin: 0; }
.single-product .fb-perkg { margin: 0; color: var(--fb-ink-2); }
.single-product .reset_variations { display: none !important; }
.single-product .woocommerce-product-details__short-description p { margin: 0 0 0.75rem; }
@media (max-width: 999px) {
	.single-product .site-main > [data-vertical-spacing] { padding-top: 12px !important; }
	.single-product .ct-breadcrumbs { display: none; }
	.single-product .product-entry-wrapper { gap: 12px !important; }
	.single-product .woocommerce-product-gallery { margin-bottom: 14px !important; }
	.single-product .woocommerce-product-gallery figure.ct-media-container { height: 200px !important; aspect-ratio: auto !important; background: #bec1c4; border-radius: var(--fb-r); }
	.single-product .woocommerce-product-gallery figure.ct-media-container img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: contain !important; }
	.single-product .woocommerce-product-gallery .flexy-pills, .single-product .woocommerce-product-gallery .ct-gallery-thumbnails { display: none; }
	.single-product .entry-summary .product_title { font-size: 1.9rem; margin-bottom: 4px; }
	.single-product .fb-pdp__place { font-size: 0.95rem; margin-bottom: 2px; }
	.single-product .woocommerce-product-details__short-description { font-size: 0.95rem; margin-bottom: 10px !important; }
	.single-product .woocommerce-product-details__short-description p { margin-bottom: 0; }
	.single-product table.variations { margin-bottom: 4px !important; }
	.single-product table.variations tr { display: block; margin-bottom: 6px; }
	.single-product table.variations th.label { display: block; padding: 0 0 3px; font-size: 0.88rem; line-height: 1.25; }
	.single-product table.variations td.value { display: block; padding: 0; }
	.single-product .woocommerce-variation-price .price { font-size: 1.45rem !important; line-height: 1.15; }
	.single-product .single_variation_wrap > .woocommerce-variation-add-to-cart { margin-top: 8px; }
	.single-product .fb-route { margin-top: 14px; }
}

/* Size and grind as buttons (Blocksy swatches). */
.ct-variation-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ct-variation-swatches .ct-swatch-container { margin: 0 !important; padding: 0; background: none; border: 0; }
.ct-variation-swatches[data-swatches-type="button"] .ct-tooltip { display: none !important; }
.ct-variation-swatches[data-swatches-type="button"] .ct-swatch {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; min-width: 64px; padding: 0 14px !important; border-radius: var(--fb-r) !important; font-family: var(--fb-font); font-size: 0.95rem; font-weight: 700;
	color: var(--fb-ink) !important; background: #fff !important; box-shadow: inset 0 0 0 1.5px var(--fb-line-2) !important; border: 0 !important;
	transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 140ms var(--fb-ease);
}
.ct-variation-swatches[data-swatches-type="button"] .ct-swatch-container[aria-pressed="true"] .ct-swatch { background: var(--fb-blue) !important; color: #fff !important; box-shadow: none !important; }
.ct-variation-swatches[data-swatches-type="button"] .ct-swatch-container:active .ct-swatch { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ct-variation-swatches[data-swatches-type="button"] .ct-swatch-container[aria-pressed="false"]:hover .ct-swatch { box-shadow: inset 0 0 0 1.5px var(--fb-ink) !important; } }
@media (prefers-reduced-motion: reduce) { .ct-variation-swatches .ct-swatch { transition: none; } .ct-variation-swatches .ct-swatch-container:active .ct-swatch { transform: none; } }

/* Related products: the same quiet card as the shelves. */
.single-product .related.products { margin-top: 56px; }
.single-product .related.products > h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.single-product .related .product { text-align: left; }
.single-product .related .woocommerce-loop-product__title { font-size: 1.15rem !important; line-height: 1.25; margin: 12px 0 2px; }
.single-product .related .fb-loop__place, .single-product .related .fb-loop__notes, .single-product .related .fb-loop__perkg { text-align: left; }

/* The floating buy bar on phones. */
.ct-floating-bar .ct-container { gap: 12px; }
.ct-floating-bar .single_add_to_cart_button, .ct-floating-bar .button { background: var(--fb-blue) !important; }

.fb-pair { margin: 48px 0 0; }
.fb-pair h2 { font-size: 1.6rem; margin: 0 0 0.25rem; }
.fb-pair__lead { margin: 0 0 1.25rem; }

/* ---------- The coffee guide: four questions in place, pictures for every answer ---------- */
.fb-kg { scroll-margin-top: 96px; }
.fb-kg[hidden], .fb-kg [hidden], .fb-kg-launch [hidden] { display: none !important; }
.fb-kg__bar { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; }
.fb-kg__count { margin: 0; font-weight: 700; font-size: 0.95rem; color: var(--fb-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-kg__track { flex: 1; height: 4px; border-radius: 2px; background: var(--fb-line); overflow: hidden; }
.fb-kg__fill { display: block; height: 100%; background: var(--fb-blue); transform-origin: left center; transform: scaleX(0.25); transition: transform 360ms var(--fb-ease); }
.fb-kg__close { margin-left: 4px; }
.fb-kg__q { font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.2; margin: 0 0 20px; text-wrap: balance; }
.fb-kg__q:focus { outline: none; }
.fb-kg__q:focus-visible { outline: 3px solid var(--fb-blue); outline-offset: 4px; }
.fb-kg .is-in { animation: fb-kg-in 260ms var(--fb-ease) both; }
@keyframes fb-kg-in { from { opacity: 0; transform: translateX(var(--kg-from, 14px)); } to { opacity: 1; transform: none; } }

.fb-kg__opts { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fb-kg__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) {
	.fb-kg__opts--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.fb-kg__opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.fb-kg__opts--2 { grid-template-columns: repeat(2, minmax(0, 240px)); }
	.fb-kg__opts--3 { grid-template-columns: repeat(3, minmax(0, 240px)); gap: 12px; }
}
@media (min-width: 1100px) { .fb-kg__opts--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.fb-kg__opt {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px;
	min-height: 148px; padding: 22px 10px 16px; border: 0; border-radius: var(--fb-r);
	background: #fff; box-shadow: inset 0 0 0 1.5px var(--fb-line-2); color: var(--fb-ink);
	font: inherit; text-align: center; cursor: pointer; -webkit-tap-highlight-color: transparent;
	transition: box-shadow 160ms var(--fb-ease), background-color 160ms var(--fb-ease), transform 140ms var(--fb-ease);
}
.fb-kg__opt .fb-ic { width: 56px; height: 56px; margin-bottom: 6px; }
.fb-kg__label { font-weight: 700; font-size: 1rem; line-height: 1.25; text-wrap: balance; }
.fb-kg__hint { font-size: 0.85rem; line-height: 1.35; color: var(--fb-ink-2); text-wrap: balance; }
.fb-kg__opt[aria-pressed="true"] { background: #f2f7fc; box-shadow: inset 0 0 0 2.5px var(--fb-blue); }
.fb-kg__opt:focus-visible { outline: 3px solid var(--fb-blue); outline-offset: 2px; }
.fb-kg__opt:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .fb-kg__opt:hover { box-shadow: inset 0 0 0 1.5px var(--fb-ink); } .fb-kg__opt[aria-pressed="true"]:hover { box-shadow: inset 0 0 0 2.5px var(--fb-blue); } }
.fb-kg__tick { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; background: var(--fb-blue); fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(0.8); transition: opacity 160ms var(--fb-ease), transform 160ms var(--fb-ease); }
.fb-kg__opt[aria-pressed="true"] .fb-kg__tick { opacity: 1; transform: none; }
@media (max-width: 639.98px) {
	.fb-kg__opt { min-height: 132px; padding: 18px 8px 14px; }
	.fb-kg__opt .fb-ic { width: 48px; height: 48px; }
	.fb-kg__opts--3 .fb-kg__label { font-size: 0.95rem; }
}
.fb-kg__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.fb-kg__link { min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--fb-blue); font: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .fb-kg__link:hover { color: var(--fb-blue-deep); text-decoration-thickness: 2px; } }

/* The pictograms: ink lines, roast colours from the shop's own roast chips. */
.fb-ic { width: 48px; height: 48px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fb-ic .fb-ic-fill { fill: var(--fb-roast-mork); }
.fb-ic .fb-ic-milk { fill: #ead8c0; }
.fb-ic .fb-ic-bean--lys { fill: var(--fb-roast-lys); }
.fb-ic .fb-ic-bean--middels { fill: var(--fb-roast-middels); }
.fb-ic .fb-ic-bean--mork { fill: var(--fb-roast-mork); }
.fb-ic .fb-ic-crease { stroke: #fff; stroke-width: 1.6; }

/* The result. */
.fb-kg__answers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 14px; color: var(--fb-ink-2); }
.fb-kg__answer { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 14px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line-2); color: var(--fb-ink); font: inherit; font-weight: 600; font-size: 0.92rem; cursor: pointer; transition: box-shadow 160ms var(--fb-ease), transform 140ms var(--fb-ease); }
.fb-kg__answer svg { width: 15px; height: 15px; fill: none; stroke: var(--fb-ink-2); stroke-width: 1.7; stroke-linejoin: round; }
.fb-kg__answer:active { transform: scale(0.97); }
.fb-kg__answer:focus-visible { outline: 3px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-kg__answer:hover { box-shadow: inset 0 0 0 1.5px var(--fb-ink); } }
.fb-kg__lead { max-width: 62ch; margin: 0 0 22px; color: var(--fb-ink-2); }
.fb-kg__picks { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.fb-kg__pick { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: var(--fb-r); box-shadow: inset 0 0 0 1px var(--fb-line); overflow: hidden; }
.fb-kg__pick:first-child { box-shadow: inset 0 0 0 2px var(--fb-ink); }
.fb-kg__media { display: block; background: #f4f5f3; }
.fb-kg__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.fb-kg__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 0; }
.fb-kg__name { margin: 4px 0 0; font-size: 1.3rem; line-height: 1.2; }
.fb-kg__name a { color: var(--fb-ink); text-decoration: none; }
.fb-kg__name a::after { content: ''; position: absolute; inset: 0; }
.fb-kg__media, .fb-kg__body { position: relative; }
@media (hover: hover) and (pointer: fine) { .fb-kg__name a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.fb-kg__place { margin: 0; font-size: 0.9rem; color: var(--fb-ink-2); }
.fb-kg__why { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; color: var(--fb-ink); font-size: 0.95rem; line-height: 1.35; }
.fb-kg__why li { display: flex; align-items: flex-start; gap: 8px; }
.fb-kg__ok { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--fb-spruce); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fb-kg__note { margin: 6px 0 0; font-size: 0.92rem; color: var(--fb-ink-2); }
.fb-kg__buy { padding: 16px 18px 18px; position: relative; z-index: 1; }
.fb-kg__buy .fb-buy__price { margin: 0 0 12px; }
.fb-kg__buy .fb-buy__price b { font-size: 1.6rem; }
.fb-kg__buy .fb-sizes { margin-bottom: 12px; }
@media (max-width: 639.98px) {
	.fb-kg__pick { grid-template-columns: 104px minmax(0, 1fr); }
	.fb-kg__media { grid-row: 1; align-self: start; margin: 16px 0 0 16px; border-radius: 4px; overflow: hidden; }
	.fb-kg__body { padding: 16px 16px 0 14px; }
	.fb-kg__name { font-size: 1.15rem; }
	.fb-kg__buy { grid-column: 1 / -1; padding: 14px 16px 16px; }
}
.fb-kg__gear { margin: 22px 0 0; max-width: 70ch; }
.fb-kg__end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 22px 0 0; }
.fb-kg__end a { display: inline-flex; align-items: center; min-height: 44px; }
.fb-nowrap { white-space: nowrap; }

/* Taste shortcuts on the homepage: each one a link to the coffees it names. */
.fb-tastes { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fb-tastes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fb-taste:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .fb-tastes { grid-template-columns: repeat(5, minmax(0, 1fr)); } .fb-taste:last-child:nth-child(odd) { grid-column: auto; } }
.fb-taste__link {
	display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto auto; column-gap: 16px; row-gap: 2px; align-items: center;
	height: 100%; min-height: 84px; padding: 14px 16px; border-radius: var(--fb-r); background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line);
	color: var(--fb-ink); text-decoration: none; transition: transform 200ms var(--fb-ease), box-shadow 200ms var(--fb-ease);
}
.fb-taste__link .fb-ic { grid-row: 1 / span 3; }
.fb-taste__name { font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.fb-taste__desc { font-size: 0.92rem; color: var(--fb-ink-2); line-height: 1.3; }
.fb-taste__count { font-size: 0.82rem; color: var(--fb-ink-2); line-height: 1.35; }
.fb-taste__link:focus-visible { outline: 3px solid var(--fb-blue); outline-offset: 2px; }
.fb-taste__link:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) { .fb-taste__link:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--fb-line-2), 0 12px 28px -14px rgba(16, 21, 26, 0.3); } }
@media (min-width: 1024px) {
	.fb-taste__link { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 4px; padding: 26px 14px 22px; align-content: start; }
	.fb-taste__link .fb-ic { grid-row: auto; width: 56px; height: 56px; margin-bottom: 8px; }
	.fb-taste__count { margin-top: 6px; }
}
.fb-kg-launch__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0; }
.fb-kg-launch__cta span { color: var(--fb-ink-2); }
.fb-kg-launch .fb-kg { margin-top: 4px; }

/* ---------- The office calculator and packages ---------- */
.fb-calc { display: grid; gap: 16px; }
.fb-calc__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fb-field { display: grid; gap: 6px; font-weight: 700; color: var(--fb-ink); }
.fb-field input, .fb-field select {
	min-height: 52px; font: inherit; font-size: 1.35rem; font-weight: 700; color: var(--fb-ink); padding: 0 14px;
	border-radius: var(--fb-r); border: 1.5px solid var(--fb-line-2); background: #fff; width: 100%;
}
.fb-field input:focus { border-color: var(--fb-blue); outline: none; box-shadow: 0 0 0 3px #cfe0f2; }
.fb-calc__out { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--fb-r); background: var(--fb-lake); color: var(--fb-ink); }
.fb-calc__kg { font-weight: 600; }
.fb-calc__pkg b { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; }
.fb-calc__note { margin: 0; font-size: 0.9rem; }
.fb-packages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 860px) { .fb-packages { grid-template-columns: 1fr; } }
.fb-package { background: #fff; border-radius: var(--fb-r); box-shadow: inset 0 0 0 1px var(--fb-line); padding: 28px 24px 24px; text-align: center; display: flex; flex-direction: column; gap: 4px; transition: box-shadow 200ms var(--fb-ease); }
.fb-package--pick { box-shadow: inset 0 0 0 2.5px var(--fb-blue); }
.fb-package__name { margin: 0; font-size: 1.6rem; }
.fb-package__people, .fb-package__kg, .fb-package__price { margin: 0; color: var(--fb-ink); }
.fb-package__kg b { font-size: 2rem; font-weight: 900; display: block; letter-spacing: -0.02em; }
.fb-package__price { margin: 6px 0 18px; }
.fb-package__price b { font-size: 1.6rem; font-weight: 800; }
.fb-package .fb-btn { margin-top: auto; }

/* ---------- Photographs ---------- */
.fb-photo { margin: 0; overflow: hidden; border-radius: var(--fb-r); }
.fb-photo img { display: block; width: 100%; height: auto; }
.fb-photo--4x5 img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.fb-photo--4x3 img { aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.fb-photo--1x1 img { aspect-ratio: 1; object-fit: cover; height: auto; }
.fb-photo--3x2 img { aspect-ratio: 3 / 2; object-fit: cover; height: auto; }
.fb-photo--wide img { aspect-ratio: 21 / 9; object-fit: cover; height: auto; }
@media (max-width: 900px) { .fb-photo--4x5 img { aspect-ratio: 4 / 3; } }

/* Block buttons wear the same action colour. */
.wp-block-button .wp-block-button__link {
	background: var(--fb-blue); color: #fff; padding: 0 1.5em; display: inline-flex; align-items: center; justify-content: center;
}
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--fb-ink); box-shadow: inset 0 0 0 1.5px var(--fb-ink); }
@media (hover: hover) and (pointer: fine) {
	.wp-block-button .wp-block-button__link:hover { background: var(--fb-blue-deep); color: #fff; }
	.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--fb-ink); color: #fff; }
}
.fb-buttons { margin-top: 1.75rem; gap: 12px; }
.fb-split__text > *:first-child { margin-top: 0; }
.fb-split__text h2 { margin-bottom: 0.5em; }
.fb-split__text .fb-route { margin: 1.5rem 0 1.75rem; max-width: 560px; }
.fb-split__text .fb-legend { margin: 0 0 0.5rem; }

/* Full-width sections inside the page. */
.entry-content > .alignfull, .entry-content > .fb-hero { margin-block: 0; }
.entry-content > .fb-section + .fb-section { margin-top: 0; }

/* ---------- Splits, steps, guides, questions ---------- */
.fb-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.fb-split--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.fb-split__media img { width: 100%; height: auto; border-radius: var(--fb-r); display: block; }
@media (max-width: 900px) { .fb-split, .fb-split--rev { grid-template-columns: 1fr; } .fb-split--rev .fb-split__media { order: -1; } }
.fb-facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--fb-line); margin: 0; padding: 0; list-style: none; }
.fb-facts-row li { padding: 18px 20px 0 0; }
.fb-facts-row b { display: block; font-size: 1.6rem; font-weight: 900; color: var(--fb-ink); letter-spacing: -0.02em; }
@media (max-width: 700px) { .fb-facts-row { grid-template-columns: 1fr; } .fb-facts-row li { padding: 14px 0; border-bottom: 1px solid var(--fb-line); } }
/* Its column decides, not the screen: three figures need 400px ("Brattelv", "Tirsdag" split in a narrower column). */
:where(*):has(> .fb-facts-row) { container-type: inline-size; }
@container (max-width: 399.98px) { .fb-facts-row { grid-template-columns: 1fr; } .fb-facts-row li { padding: 14px 0; border-bottom: 1px solid var(--fb-line); } }
.fb-recipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 1.5rem; border-radius: var(--fb-r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--fb-line); background: #fff; }
.fb-recipe > div { padding: 16px 18px; border-left: 1px solid var(--fb-line); }
.fb-recipe > div:first-child { border-left: 0; }
.fb-recipe dt { font-size: 0.85rem; font-weight: 700; color: var(--fb-ink-2); }
.fb-recipe dd { margin: 2px 0 0; font-size: 1.35rem; font-weight: 800; color: var(--fb-ink); }
@media (max-width: 700px) { .fb-recipe { grid-template-columns: 1fr 1fr; } .fb-recipe > div:nth-child(3) { border-left: 0; } .fb-recipe > div:nth-child(n+3) { border-top: 1px solid var(--fb-line); } }
/* The recipe sits in a guide's half column: 2 by 2 whenever that column is under 700px, so "Middels fin" and
   "94–96 °C" never split (step 7: four columns broke them at 1024px and on a phone held sideways). */
.fb-split--guide > * { container-type: inline-size; }
@container (max-width: 699.98px) { .fb-recipe { grid-template-columns: 1fr 1fr; } .fb-recipe > div:nth-child(3) { border-left: 0; } .fb-recipe > div:nth-child(n+3) { border-top: 1px solid var(--fb-line); } }
.fb-recipe dd { overflow-wrap: normal; }
.fb-steps { counter-reset: fb-step; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fb-steps li { counter-increment: fb-step; display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.fb-steps li::before { content: counter(fb-step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--fb-ink); color: #fff; font-weight: 800; font-size: 0.95rem; }
.fb-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .fb-guides { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.fb-guide { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border-radius: var(--fb-r); background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line); transition: transform 200ms var(--fb-ease), box-shadow 200ms var(--fb-ease); }
.fb-guide h3, .fb-guide .fb-guide__h { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.fb-guide h3 a, .fb-guide .fb-guide__h a { color: var(--fb-ink); text-decoration: none; }
.fb-guide h3 a::after, .fb-guide .fb-guide__h a::after { content: ''; position: absolute; inset: 0; }
.fb-guide p { margin: 0; }
@media (hover: hover) and (pointer: fine) { .fb-guide:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--fb-line-2), 0 12px 28px -14px rgba(16, 21, 26, 0.3); } }
.fb-faq details { border-top: 1px solid var(--fb-line); padding: 4px 0; }
.fb-faq details:last-child { border-bottom: 1px solid var(--fb-line); }
.fb-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; font-weight: 700; font-size: 1.1rem; color: var(--fb-ink); }
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after { content: ''; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; transition: transform 200ms var(--fb-ease); }
.fb-faq details[open] summary::after { transform: rotate(45deg); }
.fb-faq details > :not(summary) { margin: 0 0 1rem; max-width: 70ch; }

/* Forms (the request and contact forms). */
.fluentform .ff-el-input--label label, .fluentform label { font-weight: 700; color: var(--fb-ink); }
.fluentform .ff-el-form-control { min-height: 50px; border-radius: var(--fb-r); border: 1.5px solid var(--fb-line-2); font: inherit; color: var(--fb-ink); background: #fff; }
.fluentform .ff-el-form-control:focus { border-color: var(--fb-blue); box-shadow: 0 0 0 3px #cfe0f2; }
.fluentform .ff-btn-submit { min-height: 52px; border-radius: var(--fb-r) !important; background: var(--fb-blue) !important; font-weight: 700; width: 100%; }
.fb-form-card { background: #fff; border-radius: var(--fb-r); box-shadow: inset 0 0 0 1px var(--fb-line); padding: 28px; }
.fb-form-card h2 { margin-top: 0; }
.fb-note { font-size: 0.9rem; color: var(--fb-ink-2); }

/* Our own request forms. */
.fb-form { display: grid; gap: 16px; }
.fb-form__row { display: grid; gap: 6px; }
.fb-form label { font-weight: 700; color: var(--fb-ink); }
.fb-form__opt { font-weight: 400; color: var(--fb-ink-2); }
.fb-form input, .fb-form select, .fb-form textarea {
	width: 100%; min-height: 50px; font: inherit; color: var(--fb-ink); padding: 10px 14px; border-radius: var(--fb-r);
	border: 1.5px solid var(--fb-line-2); background: #fff;
}
.fb-form textarea { min-height: 110px; resize: vertical; }
.fb-form input:focus, .fb-form select:focus, .fb-form textarea:focus { border-color: var(--fb-blue); outline: none; box-shadow: 0 0 0 3px #cfe0f2; }
.fb-form .has-error input, .fb-form .has-error select, .fb-form .has-error textarea { border-color: #b3261e; }
.fb-form__err { margin: 0; color: #b3261e; font-size: 0.92rem; font-weight: 600; }
.fb-form__summary { margin: 0; padding: 12px 14px; border-radius: var(--fb-r); background: #fdecea; color: #8c1d18; font-weight: 600; }
.fb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-form-done { padding: 22px 24px; border-radius: var(--fb-r); background: var(--fb-forest); color: var(--fb-ink); }
.fb-form-done__title { font-weight: 800; font-size: 1.2rem; margin: 0 0 0.25rem; }
.fb-form-done p:last-child { margin-bottom: 0; }
.fb-404 .woocommerce-product-search { display: flex; gap: 8px; margin: 0 0 1rem; max-width: 520px; }
.fb-404 .woocommerce-product-search input[type="search"] { flex: 1; min-height: 50px; border-radius: var(--fb-r); border: 1.5px solid var(--fb-line-2); padding: 0 14px; font: inherit; }
.fb-404 .woocommerce-product-search button { min-height: 50px; padding: 0 18px; background: var(--fb-blue); color: #fff; border: 0; border-radius: var(--fb-r); font-weight: 700; }
.fb-404__links a { font-weight: 700; }

/* Proof as plain facts, the dealer list, contact facts. */
.fb-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 18px 0 0; padding: 0; }
.fb-proof li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line); color: var(--fb-ink); font-weight: 600; font-size: 0.92rem; }
.fb-proof li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fb-spruce); }
.fb-dealers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.fb-dealers li { display: grid; gap: 2px; padding: 20px 22px; border-radius: var(--fb-r); background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line); color: var(--fb-ink); }
.fb-contact { margin: 0 0 28px; display: grid; gap: 0; }
.fb-contact > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 12px 0; border-top: 1px solid var(--fb-line); }
.fb-contact dt { font-weight: 700; color: var(--fb-ink); }
.fb-contact dd { margin: 0; color: var(--fb-ink); }
.fb-split--finder, .fb-split--calc, .fb-split--guide { align-items: start; }
.fb-split--finder .fb-split__media, .fb-split--calc .fb-split__media, .fb-split--guide .fb-split__media { position: sticky; top: 24px; }
@media (max-width: 900px) { .fb-split--finder .fb-split__media, .fb-split--calc .fb-split__media, .fb-split--guide .fb-split__media { position: static; } }
.fb-split--guide .fb-recipe { margin-top: 0.5rem; }

/* ---------- Footer ---------- */
.fb-footer { background: var(--fb-timber); color: #d6dbe0; padding: 64px 0 28px; }
.fb-footer a { color: #fff; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .fb-footer a:hover { text-decoration: underline; } }
.fb-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .fb-footer__grid { grid-template-columns: 1fr 1fr; } .fb-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fb-footer__grid { grid-template-columns: 1fr; } }
.fb-footer p { margin: 0 0 0.35rem; }
.fb-footer__name { font-weight: 900; font-size: 32px; letter-spacing: -0.035em; color: #fff; line-height: 1; }
.fb-footer__sub { font-weight: 600; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; margin-bottom: 1rem !important; }
.fb-footer__h { font-weight: 800; color: #fff; margin-bottom: 0.5rem !important; }
.fb-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fb-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
.fb-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 6px; font-size: 0.9rem; }
.fb-demo { font-size: 0.9rem; line-height: 1.5; max-width: 72ch; color: #fff; }
.ct-footer { padding: 0 !important; background: var(--fb-timber) !important; }

/* ---------- Touch: 44 px targets ---------- */
@media (pointer: coarse), (max-width: 999px) {
	.ct-header a, .ct-header button, .ct-footer a, .woocommerce-breadcrumb a, .fb-head__link,
	.ct-panel-content a, .menu a { min-height: 44px; display: inline-flex; align-items: center; }
	.ct-header .ct-header-search, .ct-header .ct-header-cart .ct-cart-item, .ct-header .ct-header-trigger, .ct-header .ct-account-item {
		min-width: 44px; min-height: 44px; justify-content: center;
	}
}

/* ---------- Motion rests when asked ---------- */
@media (prefers-reduced-motion: reduce) {
	/* Movement goes; colour and fade stay, so states still read. */
	*, *::before, *::after { scroll-behavior: auto !important; }
	.fb-hero [data-enter], .fb-kg .is-in { animation: fb-fade 200ms ease both !important; }
	.fb-card:hover, .fb-guide:hover, .fb-package:hover, .fb-card:hover .fb-card__img, .fb-taste__link:hover { transform: none !important; }
	:active, :active > span, :active .ct-swatch, :active::before { transform: none !important; }
}

/* Shop and category pages: a shorter title band, so the coffees start in the first screen; the introduction shows on phones too (step 3, finding E4). */
.woocommerce .hero-section[data-type="type-2"] > .entry-header { min-height: 0 !important; padding: 40px 0 36px !important; }
.woocommerce .hero-section .page-title { font-size: clamp(2.2rem, 4.4vw, 3.6rem) !important; margin-bottom: 12px; }
.woocommerce .hero-section .page-description { max-width: 64ch; margin-inline: auto; font-size: 1.02rem; line-height: 1.6; }
@media (max-width: 689.98px) {
	.woocommerce .hero-section .page-description.ct-hidden-sm { display: block !important; font-size: 0.95rem; text-align: left; }
	.woocommerce .hero-section[data-type="type-2"] > .entry-header { padding: 24px 0 22px !important; }
}

/* Filters: a checkbox row with the same signs as on the coffees and the gear. */
.ct-filter-widget .ct-filter-control { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 3px 0; color: var(--fb-ink); text-decoration: none; }
.ct-filter-widget .ct-filter-control::before { content: ''; width: 18px; height: 18px; flex: none; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--fb-line-2); transition: background-color 140ms ease, box-shadow 140ms ease; }
.ct-filter-widget .ct-filter-control[aria-checked="true"]::before {
	box-shadow: none;
	background: var(--fb-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ct-filter-widget .ct-filter-control[aria-checked="true"] .ct-filter-label { font-weight: 700; }
.ct-filter-widget .ct-filter-label { display: inline-flex; align-items: center; gap: 8px; flex: 1; }
.ct-filter-widget[data-filter-param="filter_brenning"] .ct-filter-label::before,
.ct-filter-widget[data-filter-param="filter_passer"] .ct-filter-label::before { content: ''; width: 12px; height: 12px; flex: none; }
.ct-filter-widget[data-filter-param="filter_brenning"] .ct-filter-label::before { border-radius: 50%; }
[data-filter-param="filter_brenning"] [data-filter-value="lys"] .ct-filter-label::before { background: var(--fb-roast-lys); }
[data-filter-param="filter_brenning"] [data-filter-value="middels"] .ct-filter-label::before { background: var(--fb-roast-middels); }
[data-filter-param="filter_brenning"] [data-filter-value="mork"] .ct-filter-label::before { background: var(--fb-roast-mork); }
[data-filter-param="filter_brenning"] [data-filter-value="koffeinfri"] .ct-filter-label::before { background: #fff; box-shadow: inset 0 0 0 1.5px #8a96a3; }
[data-filter-param="filter_passer"] [data-filter-value="filter"] .ct-filter-label::before { border-radius: 50%; background: var(--fb-ink); }
[data-filter-param="filter_passer"] [data-filter-value="presskanne"] .ct-filter-label::before { border-radius: 50%; box-shadow: inset 0 0 0 3px var(--fb-ink); }
[data-filter-param="filter_passer"] [data-filter-value="aeropress"] .ct-filter-label::before { background: var(--fb-ink); }
[data-filter-param="filter_passer"] [data-filter-value="espresso"] .ct-filter-label::before { background: var(--fb-spruce); clip-path: polygon(50% 4%, 100% 96%, 0 96%); }
[data-filter-param="filter_passer"] [data-filter-value="kokekaffe"] .ct-filter-label::before { background: var(--fb-spruce); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ct-filter-widget .ct-filter-count { font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .ct-filter-widget .ct-filter-control[aria-checked="false"]:hover::before { box-shadow: inset 0 0 0 1.5px var(--fb-ink); } }
@media (pointer: coarse) { .ct-filter-widget .ct-filter-control { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .ct-filter-widget .ct-filter-control::before { transition: none; } }
#sidebar .ct-widget + .ct-widget { margin-top: 28px; }
#sidebar .widget-title { font-size: 1.15rem; margin: 0 0 8px; }
/* The filter button is for phones and tablets; the sidebar does the job on a wide screen. */
@media (min-width: 1000px) { .ct-toggle-filter-panel, [data-id="filters-toggle"] { display: none !important; } }
@media (max-width: 999.98px) { .woocommerce.archive #sidebar, .post-type-archive-product #sidebar { display: none !important; } }

/* Shop cards: left-aligned like the shelves, origin and notes under the name, the price always in view. */
[data-products] .product { text-align: left; }
[data-products] .product figure { margin-bottom: 0; }
[data-products] .woocommerce-loop-product__title { font-size: 1.2rem !important; line-height: 1.2; margin: 14px 0 4px !important; }
[data-products] .woocommerce-loop-product__title a { color: var(--fb-ink); }
[data-products] .entry-meta { display: none !important; }
[data-products] .fb-loop__place, [data-products] .fb-loop__notes, [data-products] .fb-loop__perkg, [data-products] .fb-loop__suits { text-align: left; margin: 0 0 4px; font-size: 0.92rem; color: var(--fb-ink-2); }
[data-products] .fb-loop__place { color: var(--fb-ink); font-weight: 600; }
[data-products] .fb-loop__perkg { font-size: 0.85rem; }
.fb-loop__suits { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fb-loop__suits > span:first-child { margin-right: 2px; }
[data-products] .ct-woo-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
[data-products] .ct-woo-card-actions .price { font-size: 1.1rem; font-weight: 800; color: var(--fb-ink); }
@media (max-width: 689.98px) {
	[data-products] { --shop-columns: repeat(2, minmax(0, 1fr)) !important; --grid-columns-gap: 14px; }
	[data-products] .woocommerce-loop-product__title { font-size: 1rem !important; margin-top: 10px !important; }
	[data-products] .fb-loop__notes { display: none; }
	[data-products] .fb-loop__place, [data-products] .fb-loop__perkg, [data-products] .fb-loop__suits { font-size: 0.82rem; }
	[data-products] .ct-woo-card-actions .button { display: none !important; }
	[data-products] .ct-woo-card-extra .ct-open-quick-view { display: none; }
}
[data-products] .product > *:not(figure), [data-products] .product .woocommerce-loop-product__title, [data-products] .product .fb-loop__perkg { text-align: left !important; justify-content: flex-start; }
[data-products] .product .ct-woo-card-actions { justify-content: space-between !important; }

/* Review fixes: the questions sit in tidy rows, the footer spans the page, long names break at a hyphen. */
.fb-faq .wp-block-details { margin: 0 !important; }
.fb-faq details > :not(summary) { margin-top: 0; }
.fb-footer { margin-inline: 0 !important; width: 100% !important; max-width: none !important; }
.fb-card__name, [data-products] .woocommerce-loop-product__title { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
.fb-faq summary { margin: 0 !important; }

/* Cart and checkout: the route box above the totals. */
.cart-collaterals .fb-route-box, .woocommerce-checkout .fb-route-box { margin: 0 0 20px; }
.fb-route-box { padding: 18px 20px; border-radius: var(--fb-r); background: var(--fb-forest); }
.fb-route-box__title { margin: 0 0 10px; font-weight: 800; color: var(--fb-ink); }
.fb-route-box .fb-delivery { margin: 10px 0 0; font-size: 0.9rem; }
.ct-shipping-progress-bar, [class*="shipping-progress"] { font-size: 0.92rem; }
/* Drawer: the checkout is the main action, the cart link the quiet one. */
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: #fff !important; color: var(--fb-blue) !important; box-shadow: inset 0 0 0 1.5px var(--fb-blue) !important; }
.woocommerce-mini-cart__buttons .button.checkout { background: var(--fb-blue) !important; color: #fff !important; }
/* Question groups are h2 for the outline, set at the size of a group label. */
h2.fb-faq__group { font-size: 1.3rem; margin: 2rem 0 0.5rem; }

/* Interaction polish (design-engineering review): every pressable answers the press, the drawer moves like a drawer. */
@keyframes fb-fade { from { opacity: 0; } to { opacity: 1; } }
:root { --fb-ease-drawer: cubic-bezier(0.32, 0.72, 0, 1); }
.fb-chip > span { transition: background-color 160ms var(--fb-ease), box-shadow 160ms var(--fb-ease), transform 140ms var(--fb-ease); }
.fb-chip:active > span { transform: scale(0.97); }
.ct-filter-widget .ct-filter-control::before { transition: background-color 140ms ease, box-shadow 140ms ease, transform 120ms var(--fb-ease); }
.ct-filter-widget .ct-filter-control:active::before { transform: scale(0.9); }
[data-behaviour*=side] .ct-panel-inner { transition: transform 220ms var(--fb-ease) !important; }
.ct-panel.active[data-behaviour*=side] .ct-panel-inner { transition: transform 340ms var(--fb-ease-drawer) !important; }
@media (prefers-reduced-motion: reduce) {
	[data-behaviour*=side] .ct-panel-inner, .ct-panel.active[data-behaviour*=side] .ct-panel-inner { transition: none !important; }
	.fb-chip:active > span, .ct-filter-widget .ct-filter-control:active::before { transform: none; }
}

/* Every figure lines up: fact rows, recipes, the delivery line and the business prices. */
.fb-facts-row b, .fb-recipe dd, .fb-delivery, .fb-route, .fb-package, .fb-calc, .fb-facts dd { font-variant-numeric: tabular-nums; }

/* The hero loop (wide screens only) and its pause button. */
.fb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: 0; transition: opacity 600ms ease; pointer-events: none; }
.fb-hero__video.is-on { opacity: 1; }
.fb-hero__pause {
	position: absolute; right: var(--fb-gutter); top: 20px; z-index: 2; display: grid; place-items: center;
	width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(16, 21, 26, 0.55); cursor: pointer;
	transition: background-color 160ms ease, transform 140ms var(--fb-ease);
}
.fb-hero__pause[hidden] { display: none; }
.fb-hero__pause:active { transform: scale(0.95); }
.fb-hero__pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-hero__pause:hover { background: rgba(16, 21, 26, 0.75); } }
.fb-hero__pause-icon { width: 12px; height: 14px; background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66%); }
.fb-hero__pause[aria-pressed="true"] .fb-hero__pause-icon { width: 13px; background: currentColor; clip-path: polygon(10% 0, 100% 50%, 10% 100%); }
@media (max-width: 1000px) { .fb-hero__video { object-position: 50% 62%; } .fb-hero__pause { top: 12px; right: 12px; } }
@media (prefers-reduced-motion: reduce) { .fb-hero__video { transition: none; } .fb-hero__pause:active { transform: none; } }

/* Our related row: the shelf card, four across, two on a phone. */
.fb-related { margin-top: 56px; margin-bottom: 24px; }
.fb-related > h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 0 0 20px; }
.fb-shelf--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .fb-shelf--related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fb-related .fb-shelf--gear { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .fb-related .fb-shelf--gear { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { html.fb-loaded .fb-band { background-image: url('img/map-band-900.webp'); } }

/* ---------- Tap targets (step 7): every control 44 px; links inside sentences at least 24 px ---------- */
.fb-footer__col a, .fb-404__links a, .fb-facts dd a, footer p a, .shipping-calculator-button, .ct-toggle-filter-panel { display: inline-flex; align-items: center; min-height: 44px; }
:where(main, .hero-section) p a:not([class*="btn"]):not(.wp-block-button__link):not(.button) { padding-block: 4px; }
.fb-card__name a, a.woocommerce-loop-product__link { display: block; padding-block: 13px; margin-block: -13px; }
.ct-wishlist-button-archive { width: 44px !important; height: 44px !important; }
.ct-wishlist-button-single { min-width: 44px; min-height: 44px; justify-content: center; }
.woocommerce-ordering select.orderby { min-width: 44px; min-height: 44px; }
.woocommerce-product-gallery__trigger { width: 44px !important; height: 44px !important; }
.quantity { --quantity-height: 46px; }
table.shop_table a.remove { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.woocommerce-form__label-for-checkbox input[type="checkbox"] { width: 24px; height: 24px; flex: none; margin: 0; }
form [class*="password-input"] .show-password-input { width: 44px !important; height: 44px !important; top: calc(var(--theme-form-field-height, 40px) / 2 - 22px) !important; inset-inline-end: 0 !important; -webkit-mask-size: 16px !important; mask-size: 16px !important; -webkit-mask-position: center !important; mask-position: center !important; -webkit-mask-repeat: no-repeat !important; mask-repeat: no-repeat !important; }
.fb-head__link a, .fb-buy__name a, main dd > a { display: inline-flex; align-items: center; min-height: 44px; }
.woocommerce-form__label-for-checkbox input[type="checkbox"] { width: 24px !important; height: 24px !important; margin: 0 !important; }
.ct-cart-actions { --theme-button-min-height: 48px; }
.shop_table .quantity[data-type] { --quantity-height: 46px !important; }
.fb-facts dd a { min-width: 44px; }
.woocommerce-tabs ul.tabs li a, .fb-link-line a, .lost_password a { display: inline-flex; align-items: center; min-height: 44px; }

/* The empty cart: this week's coffees and the guide. */
.fb-empty-cart { margin: 28px 0 32px; }
.fb-empty-cart h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); margin: 0 0 16px; }
.fb-empty-cart .fb-link-line { margin: 14px 0 0; font-weight: 700; }
.fb-empty-cart .fb-shelf { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .fb-empty-cart .fb-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Tap targets inside the cart drawer and the menu drawer (step 7). */
.ct-panel .ct-toggle-close { min-width: 44px; min-height: 44px; }
.mini_cart_item a.remove { width: 44px !important; min-height: 44px; }
.mini_cart_item .quantity[data-type] { --quantity-height: 44px !important; }
.ct-panel .ct-toggle-dropdown-mobile { flex: 0 0 44px !important; width: 44px !important; min-height: 44px; justify-content: center; }
/* The menu drawer is dark: its open and hover state takes a light blue (11:1) instead of the deep blue (2.3:1). */
#offcanvas { --theme-link-hover-color: #a9d0f5; --theme-link-active-color: #a9d0f5; }

/* iPhone check (step 7). */
/* The product page's own two-column rule beat the phone rule, so the map squeezed the facts: stack them. */
@media (max-width: 760px) {
	.fb-pdp-extra .fb-facts { grid-template-columns: 1fr; }
	.fb-pdp-extra .fb-facts dl > div { grid-template-columns: 7.5rem minmax(0, 1fr); }
	.fb-pdp-extra .fb-facts__map { min-height: 180px; }
}
/* The wishlist heart keeps its word on phones, so it does not float alone. */
.ct-wishlist-button-single { gap: 8px; }
.ct-wishlist-button-single .ct-label.ct-hidden-sm { display: inline !important; }
/* "(inkl. 110 kr MVA)" on one line under the total, not stacked three deep. */
.order-total .includes_tax, .cart-subtotal .includes_tax { display: block; white-space: nowrap; font-size: 0.85rem; font-weight: 400; margin-top: 2px; }
.fb-calc__pkg { text-wrap: balance; }

/* The cart drawer on a short screen (a phone held sideways, or a small phone with Safari's bars showing).
   Only the item list used to scroll, while the total, the route, the free-shipping bar and the buttons kept
   about 300px: the item shrank to a strip and "Kasse" fell below the screen with no way to reach it
   (step 7, Arnas's iPhone). Now the whole drawer scrolls as one and the two buttons stay pinned at the bottom. The theme loads its cart
   styles later than ours with rules of the same weight, hence the extra `html`. */
@media (max-height: 700px) {
	html #woo-cart-panel .ct-panel-content-inner { display: block; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 0; }
	html #woo-cart-panel .woocommerce-mini-cart { overflow: visible; max-height: none; }
	html #woo-cart-panel .woocommerce-mini-cart__buttons {
		position: sticky; bottom: 0; z-index: 1; margin-bottom: 0; padding-top: 12px;
		padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); background: var(--fb-paper); box-shadow: 0 -1px 0 var(--fb-line);
	}
}

/* Signed in only: on a phone held sideways WordPress's toolbar has no room for its right-hand menu (account, search),
   which then drops below the bar and over the schedule strip. Three items the demo does not need make room. */
@media (min-width: 783px) and (max-width: 1100px) {
	#wp-admin-bar-comments, #wp-admin-bar-customize, #wp-admin-bar-blocksy_preview_hooks { display: none !important; }
}

/* Subscribe and save in the buy box (inc/subscribe.php): two choices as cards, the chosen one in lake blue; the
   frequency appears once the subscription is chosen. */
.fb-sub { display: grid; gap: 10px; min-width: 0; margin: 6px 0 22px; padding: 0; border: 0; }
.fb-sub__opt {
	display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 2px 12px; align-items: start;
	padding: 14px 16px; border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; cursor: pointer;
	transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}
.fb-sub__opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--fb-blue); cursor: pointer; }
.fb-sub__opt:has(input:checked) { border-color: var(--fb-blue); box-shadow: inset 0 0 0 1px var(--fb-blue); background: #f4f8fc; }
.fb-sub__opt:has(input:focus-visible) { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-sub__opt:hover { border-color: var(--fb-blue); } }
.fb-sub__name { font-weight: 800; color: var(--fb-ink); }
.fb-sub__badge {
	display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--fb-forest);
	color: var(--fb-spruce); font-size: 0.8rem; font-weight: 800; line-height: 1.4; vertical-align: 1px; white-space: nowrap;
}
.fb-sub__note { display: block; margin-top: 4px; font-size: 0.9rem; line-height: 1.45; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-sub__price { text-align: right; font-weight: 800; color: var(--fb-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-sub__price s { display: block; margin-top: 2px; font-size: 0.85rem; font-weight: 400; color: var(--fb-ink-2); }
.fb-sub__freq { display: none; flex-wrap: wrap; gap: 8px; padding-left: 50px; }
.fb-sub:has(input[name="fb_sub"][value="1"]:checked) .fb-sub__freq { display: flex; }
.fb-sub__freq label { position: relative; }
.fb-sub__freq input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fb-sub__freq span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--fb-line-2);
	border-radius: var(--fb-r); background: #fff; font-weight: 700; color: var(--fb-ink); transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}
.fb-sub__freq input:checked + span { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-sub__freq input:focus-visible + span { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (max-width: 420px) { .fb-sub__opt { padding: 12px 14px; gap: 2px 10px; } .fb-sub__freq { padding-left: 0; } }
.fb-sub__more { display: none; margin: 0; padding-left: 50px; font-weight: 700; }
.fb-sub:has(input[name="fb_sub"][value="1"]:checked) .fb-sub__more { display: block; }
@media (max-width: 420px) { .fb-sub__more { padding-left: 0; } }

/* The savings table on the subscription page: one row per coffee, the subscription price in bold. On a phone each
   row becomes a small card with its own labels. */
.fb-subtable-wrap { max-width: 860px; margin-top: 1.5rem; border-radius: var(--fb-r); background: #fff; box-shadow: inset 0 0 0 1px var(--fb-line); overflow: hidden; }
.fb-subtable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fb-subtable th, .fb-subtable td { padding: 14px 18px; text-align: right; vertical-align: top; border-top: 1px solid var(--fb-line); white-space: nowrap; }
.fb-subtable thead th { border-top: 0; font-size: 0.85rem; font-weight: 700; color: var(--fb-ink-2); }
.fb-subtable th[scope="row"], .fb-subtable thead th:first-child { text-align: left; white-space: normal; }
.fb-subtable th[scope="row"] a { display: inline-flex; align-items: center; min-height: 28px; font-weight: 800; color: var(--fb-ink); text-decoration: none; }
.fb-subtable th[scope="row"] span { display: block; font-size: 0.85rem; font-weight: 400; color: var(--fb-ink-2); }
.fb-subtable td b { color: var(--fb-blue); font-weight: 800; }
.fb-subtable td:last-child { color: var(--fb-spruce); font-weight: 700; }
@media (hover: hover) and (pointer: fine) { .fb-subtable th[scope="row"] a:hover { color: var(--fb-blue); text-decoration: underline; } }
@media (max-width: 600px) {
	.fb-subtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.fb-subtable tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px; padding: 14px 16px; border-top: 1px solid var(--fb-line); }
	.fb-subtable tbody tr:first-child { border-top: 0; }
	.fb-subtable th, .fb-subtable td { padding: 0; border: 0; text-align: left; }
	.fb-subtable th[scope="row"] { grid-column: 1 / -1; }
	.fb-subtable th[scope="row"] a { min-height: 44px; }
	.fb-subtable td::before { content: attr(data-label); display: block; font-size: 0.8rem; font-weight: 400; color: var(--fb-ink-2); }
}

/* "Hva brygger du med?" above the coffee list (inc/brew-chips.php): one tap filters by brewing method. A wrapping
   row on a wide screen; on a phone one row to swipe, so the coffees stay near the top. */
.fb-brew { margin: 0 0 28px; min-width: 0; }
.fb-brew__h { margin: 0 0 10px; font-weight: 800; color: var(--fb-ink); }
.fb-brew__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fb-brew__list li { margin: 0; }
.fb-brew__chip {
	display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 14px 6px 8px;
	border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; color: var(--fb-ink);
	font-weight: 700; text-decoration: none; white-space: nowrap;
	transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-brew__chip .fb-ic { width: 38px; height: 38px; }
.fb-brew__name { display: inline-flex; align-items: center; gap: 8px; }
.fb-brew__count {
	min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--fb-forest); color: var(--fb-spruce);
	font-size: 0.8rem; font-weight: 800; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums;
}
.fb-brew__chip[aria-current] { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-brew__chip[aria-current] .fb-brew__count { background: rgba(255, 255, 255, 0.2); color: #fff; }
.fb-brew__chip:active { transform: scale(0.97); }
.fb-brew__chip:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-brew__chip:not([aria-current]):hover { border-color: var(--fb-blue); color: var(--fb-blue); } }
/* On a wide screen: six even tiles, the pictogram above the name, in one row. */
@media (min-width: 760.02px) {
	.fb-brew__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); }
	.fb-brew__chip { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; min-height: 104px; padding: 12px 8px; }
	.fb-brew__chip .fb-ic { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
	.fb-brew { margin-bottom: 20px; }
	.fb-brew__list { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; padding: 2px 2px 8px; scrollbar-width: none; }
	.fb-brew__list::-webkit-scrollbar { display: none; }
	.fb-brew__list li { flex: none; scroll-snap-align: start; }
	.fb-brew__chip { min-height: 52px; padding: 4px 12px 4px 6px; gap: 8px; }
	.fb-brew__chip .fb-ic { width: 34px; height: 34px; }
}

/* The tasting box under the guide's three results (inc/kasse.php): one bar, the text, the box price against the three
   bags bought one by one, and the button. Stacked on a phone. */
.fb-kg__kasse {
	display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px 24px;
	margin: 20px 0 8px; padding: 18px 22px; border-radius: var(--fb-r); background: var(--fb-forest);
	box-shadow: inset 0 0 0 1px rgba(63, 107, 58, 0.18);
}
.fb-kg__kasse p { margin: 0; }
.fb-kg__kasse-text p + p { margin-top: 2px; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-kg__kasse-h { font-weight: 800; font-size: 1.1rem; color: var(--fb-ink); }
.fb-kg__kasse-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.fb-kg__kasse-price b { font-size: 1.5rem; font-weight: 900; color: var(--fb-ink); }
.fb-kg__kasse-price s { margin-left: 6px; color: var(--fb-ink-2); }
.fb-kg__kasse .fb-btn { min-height: 48px; white-space: nowrap; }
.fb-kg__kasse .fb-btn[aria-busy] { opacity: 0.7; cursor: progress; }
@media (max-width: 860px) {
	.fb-kg__kasse { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
	.fb-kg__kasse-text { grid-column: 1 / -1; }
	.fb-kg__kasse .fb-btn { white-space: normal; }
}
@media (max-width: 420px) {
	.fb-kg__kasse { grid-template-columns: 1fr; }
	.fb-kg__kasse .fb-btn { width: 100%; }
}

/* "To måter å spare på kaffen" on the homepage (inc/offers.php): the one dark band between the light ones, two white
   cards, each a single link with the saving set large. */
.fb-offers { background: var(--fb-timber); color: #e6eaed; }
.fb-offers h2 { color: #fff; }
.fb-offers__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 1.5rem; }
.fb-offer {
	display: grid; align-content: start; justify-items: start; gap: 8px; padding: 28px 30px; border-radius: var(--fb-r);
	background: var(--fb-paper); color: var(--fb-ink); text-decoration: none;
	transition: transform 180ms var(--fb-ease), box-shadow 180ms ease;
}
.fb-offer .fb-ic { width: 52px; height: 52px; margin-bottom: 4px; color: var(--fb-ink); }
.fb-offer__label { font-weight: 800; color: var(--fb-ink-2); }
.fb-offer__big { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: var(--fb-ink); white-space: nowrap; }
.fb-offer__text { max-width: 46ch; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-offer__cta { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 800; color: var(--fb-blue); }
.fb-offer__cta::after {
	content: ''; display: inline-block; width: 0.9em; height: 0.9em; margin-left: 8px; background: currentColor;
	-webkit-mask: var(--fb-arrow) center / contain no-repeat; mask: var(--fb-arrow) center / contain no-repeat;
	transition: transform 180ms var(--fb-ease);
}
.fb-offer:active { transform: scale(0.99); }
.fb-offer:focus-visible { outline: 3px solid #a9d0f5; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
	.fb-offer:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
	.fb-offer:hover .fb-offer__cta::after { transform: translateX(3px); }
}
@media (prefers-reduced-motion: reduce) { .fb-offer, .fb-offer__cta::after { transition: none; } }
@media (max-width: 760px) { .fb-offers__grid { grid-template-columns: 1fr; gap: 14px; } .fb-offer { padding: 22px; } }

/* Quick buy (inc/quick.php): "Kjøp" on every coffee card, also on a phone (the theme hides its card button on touch),
   and the sheet it opens: centred on a wide screen, a bottom sheet on a phone. */
/* An earlier rule hides every card button on a phone ([data-products] .ct-woo-card-actions .button); "Kjøp" outranks it. */
[data-products] .ct-woo-card-actions .button.fb-quick, .ct-woo-card-actions .fb-quick { display: inline-flex !important; }
/* The theme draws card buttons as plain text; "Kjøp" is an outlined button that fills on hover. */
[data-products] .ct-woo-card-actions .button.fb-quick {
	align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--fb-blue) !important; border-radius: var(--fb-r);
	background: #fff !important; color: var(--fb-blue) !important; font-weight: 800; text-decoration: none;
	transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--fb-ease);
}
[data-products] .ct-woo-card-actions .button.fb-quick:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { [data-products] .ct-woo-card-actions .button.fb-quick:hover { background: var(--fb-blue) !important; color: #fff !important; } }
@media (max-width: 420px) { .fb-sheet__foot { grid-template-columns: 1fr; gap: 10px; } }
@media (max-width: 689.98px) {
	[data-products] .product .ct-woo-card-actions { flex-direction: column; align-items: stretch; gap: 8px; }
	[data-products] .ct-woo-card-actions .button.fb-quick { width: 100%; justify-content: center; min-height: 44px; }
}
.fb-card__quick {
	position: relative; z-index: 2;
	display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 12px; border: 1px solid var(--fb-blue);
	border-radius: var(--fb-r); color: var(--fb-blue); font-weight: 800; text-decoration: none;
	transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-card__quick:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .fb-card__quick:hover { background: var(--fb-blue); color: #fff; } }
html.fb-sheet-open { overflow: hidden; }
.fb-sheet {
	width: min(520px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 12px;
	background: var(--fb-paper); color: var(--fb-ink); box-shadow: 0 24px 60px rgba(16, 21, 26, 0.35); overflow: auto; overscroll-behavior: contain;
}
.fb-sheet::backdrop { background: rgba(16, 21, 26, 0.55); }
.fb-sheet[open] { animation: fb-sheet-in 220ms var(--fb-ease); }
@keyframes fb-sheet-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
@keyframes fb-sheet-up { from { transform: translateY(100%); } }
.fb-sheet__in { display: grid; gap: 18px; padding: 20px 22px calc(18px + env(safe-area-inset-bottom, 0px)); }
.fb-sheet__head { display: grid; grid-template-columns: 64px minmax(0, 1fr) 44px; gap: 14px; align-items: center; }
.fb-sheet__head img { width: 64px; height: 64px; border-radius: var(--fb-r); object-fit: cover; background: #e9ecef; }
.fb-sheet__h { margin: 0; font-size: 1.35rem; font-weight: 900; line-height: 1.15; }
.fb-sheet__place { margin: 2px 0 0; font-size: 0.9rem; color: var(--fb-ink-2); }
.fb-sheet__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--fb-ink); cursor: pointer; }
.fb-sheet__x:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-sheet__group { min-width: 0; margin: 0; padding: 0; border: 0; }
.fb-sheet__group legend { margin: 0 0 8px; padding: 0; font-weight: 800; font-size: 0.95rem; }
.fb-sheet__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-sheet__chip { position: relative; }
.fb-sheet__chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.fb-sheet__chip span {
	display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 14px; border: 1px solid var(--fb-line-2);
	border-radius: var(--fb-r); background: #fff; font-weight: 700; line-height: 1.2; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}
.fb-sheet__chip small { font-size: 0.75rem; font-weight: 800; color: var(--fb-spruce); }
.fb-sheet__chip input:checked + span { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-sheet__chip input:checked + span small { color: #fff; }
.fb-sheet__chip input:focus-visible + span { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-sheet__foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 14px; border-top: 1px solid var(--fb-line); }
.fb-sheet__price { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fb-sheet__price b { font-size: 1.6rem; font-weight: 900; }
.fb-sheet__price s { margin-left: 6px; color: var(--fb-ink-2); }
.fb-sheet__add { width: 100%; min-height: 50px; }
.fb-sheet__add[disabled] { opacity: 0.5; cursor: not-allowed; }
.fb-sheet__add[aria-busy] { opacity: 0.7; cursor: progress; }
.fb-sheet__more { margin: -8px 0 0; text-align: center; }
.fb-sheet__more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
@media (max-width: 600px) {
	.fb-sheet { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
	.fb-sheet[open] { animation: fb-sheet-up 260ms var(--fb-ease); }
	.fb-sheet__in { padding: 18px 16px calc(14px + env(safe-area-inset-bottom, 0px)); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .fb-sheet[open] { animation: none; } }

/* The cart's one suggestion (inc/suggest.php): a tinted row with the picture, what it is and why, and "Legg til". */
.fb-suggest {
	display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 12px 0 6px;
	padding: 12px; border-radius: var(--fb-r); background: var(--fb-forest); box-shadow: inset 0 0 0 1px rgba(63, 107, 58, 0.18);
}
.fb-suggest img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #fff; }
.fb-suggest p { margin: 0; font-size: 0.9rem; line-height: 1.35; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-suggest .fb-suggest__h { margin-bottom: 2px; font-weight: 800; color: var(--fb-ink); }
.fb-suggest__add {
	min-height: 44px; padding: 0 14px; border: 1px solid var(--fb-blue); border-radius: var(--fb-r); background: #fff; color: var(--fb-blue);
	font: inherit; font-weight: 800; white-space: nowrap; cursor: pointer; transition: background-color 140ms ease, color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-suggest__add:active { transform: scale(0.97); }
.fb-suggest__add[aria-busy] { opacity: 0.7; cursor: progress; }
@media (hover: hover) and (pointer: fine) { .fb-suggest__add:hover { background: var(--fb-blue); color: #fff; } }
.woocommerce-cart-form + .fb-suggest, .woocommerce-cart .fb-suggest { max-width: 640px; margin: 16px 0 24px; }
#woo-cart-panel .fb-suggest { grid-template-columns: 56px minmax(0, 1fr); }
/* Cart page: the totals heading no longer touches the delivery-route box above it. */
.cart_totals .fb-route-box + h2 { margin-top: 24px; }
#woo-cart-panel .fb-suggest__add { grid-column: 1 / -1; width: 100%; }

/* A shorter checkout (inc/checkout.php): optional fields folded behind a "+" link, and on a phone the order and its
   total at the top. */
/* The fields in a two-column grid (pairs share a row, on a phone too), and contact first whatever order WooCommerce's
   address script leaves the rows in. */
form.checkout .woocommerce-billing-fields__field-wrapper, form.checkout .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
form.checkout .woocommerce-billing-fields__field-wrapper > .form-row, form.checkout .woocommerce-shipping-fields__field-wrapper > .form-row { grid-column: 1 / -1; float: none; width: auto; }
form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-first, form.checkout .woocommerce-shipping-fields__field-wrapper > .form-row-first { grid-column: 1; }
form.checkout .woocommerce-billing-fields__field-wrapper > .form-row-last, form.checkout .woocommerce-shipping-fields__field-wrapper > .form-row-last { grid-column: 2; }
form.checkout #billing_email_field { order: -2; }
form.checkout #billing_phone_field { order: -1; }
.fb-co-folded > :not(.fb-co-more) { display: none !important; }
.fb-co-more {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: var(--fb-blue);
	font: inherit; font-weight: 700; cursor: pointer;
}
.fb-co-more::before { content: '+'; margin-right: 8px; font-size: 1.2em; font-weight: 800; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .fb-co-more:hover { text-decoration: underline; } }
.woocommerce-additional-fields:has(.fb-co-folded) > h3 { display: none; }
.fb-co-sum {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h t" "n go"; gap: 2px 12px; align-items: center;
	margin: 0 0 24px; padding: 14px 16px; border-radius: var(--fb-r); background: var(--fb-forest); color: var(--fb-ink); text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(63, 107, 58, 0.18);
}
.fb-co-sum__h { grid-area: h; font-weight: 800; }
.fb-co-sum__n { grid-area: n; font-size: 0.9rem; color: var(--fb-ink-2); }
.fb-co-sum__t { grid-area: t; font-size: 1.25rem; font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-co-sum__go { grid-area: go; font-size: 0.9rem; font-weight: 700; color: var(--fb-blue); text-align: right; }
.fb-co-sum__go::after { content: ' ↓'; }
@media (min-width: 1000px) { .fb-co-sum { display: none; } }

/* Smart search (inc/search.php): instant results under the header field, grouped, with picture, line and price. The
   theme's own live results stay hidden. */
form.ct-search-form, form[role="search"] { position: relative; }
.ct-search-form .ct-search-results { display: none !important; }
.fb-sr {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; max-height: min(72vh, 600px); overflow: auto;
	overscroll-behavior: contain; padding: 8px; border-radius: 10px; background: var(--fb-paper); color: var(--fb-ink);
	box-shadow: 0 18px 44px rgba(16, 21, 26, 0.22), 0 0 0 1px var(--fb-line); text-align: left;
}
.fb-sr[hidden] { display: none !important; }
.fb-sr__h { margin: 10px 10px 4px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--fb-ink-2); }
.fb-sr__list { margin: 0; padding: 0; list-style: none; }
.fb-sr .fb-sr__item {
	display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 56px; padding: 6px 10px;
	border-radius: 8px; color: var(--fb-ink); text-decoration: none;
}
.fb-sr__item img { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: #eceff1; }
.fb-sr__dot { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 6px; background: var(--fb-forest); color: var(--fb-spruce); }
.fb-sr__text { display: grid; min-width: 0; }
.fb-sr__name { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-sr__name mark { background: none; color: var(--fb-blue); }
.fb-sr__sub { font-size: 0.85rem; color: var(--fb-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-sr__price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-sr__item:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: -2px; background: #f2f6fa; }
@media (hover: hover) and (pointer: fine) { .fb-sr__item:hover { background: #f2f6fa; } }
.fb-sr .fb-sr__all { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 8px 2px 2px; border-radius: 8px; background: var(--fb-forest); color: var(--fb-blue); font-weight: 800; text-decoration: none; }
.fb-sr__all:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-sr__none { margin: 8px 10px; color: var(--fb-ink-2); text-wrap: pretty; }
/* The phone search sheet: the field at the top, where the results stay above the keyboard (the theme centres it). */
html #search-modal .ct-panel-content { justify-content: flex-start; padding-top: clamp(16px, 4vh, 40px); }
@media (max-width: 600px) { .fb-sr { max-height: calc(100dvh - 200px); } .fb-sr .fb-sr__item { gap: 10px; padding-inline: 8px; } .fb-sr__price { font-size: 0.9rem; } }

/* The gift page (inc/gifts.php): the Christmas order date on a dark card with the trail-red route, then the gift
   guide. The page's own product list and its count and sorting are replaced by the guide. */
.fb-gift-page ul.products, .fb-gift-page .woocommerce-result-count, .fb-gift-page .woocommerce-ordering,
.fb-gift-page .woo-listing-top, .fb-gift-page .woocommerce-pagination { display: none !important; }
.fb-xmas {
	container-type: inline-size; display: grid; gap: 4px 48px; margin: 0 0 48px; padding: clamp(22px, 4vw, 40px);
	border-radius: 12px; background: var(--fb-timber); color: #e6eaed;
}
.fb-xmas [hidden] { display: none !important; }
.fb-xmas__kicker { margin: 0; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #f2c1bf; }
.fb-xmas__h { margin: 6px 0 10px; color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.1; text-wrap: balance; }
.fb-xmas__lead { margin: 0; max-width: 36em; font-size: 1.1rem; line-height: 1.5; text-wrap: pretty; }
.fb-xmas__lead strong { color: #fff; }
.fb-xmas__route { margin-top: 28px; color: #fff; }
.fb-xmas__route .fb-route__dot { box-shadow: 0 0 0 3px var(--fb-timber); }
.fb-xmas__route .fb-route__date { color: #c9d0d6; }
@container (min-width: 860px) {
	.fb-xmas [data-fb-xmas-before] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); column-gap: 56px; align-items: center; }
	.fb-xmas__route { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}
.fb-xmas__card { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.fb-xmas__card .fb-ic { flex: none; width: 40px; height: 40px; color: #fff; }

.fb-gifts { margin: 0 0 24px; }
.fb-gifts__h { margin: 0 0 14px; }
.fb-gifts button { font: inherit; cursor: pointer; }
.fb-gifts .fb-brew__chip { background: #fff; color: var(--fb-ink); }
.fb-gifts .fb-brew__chip .fb-ic { color: currentColor; }
.fb-gifts .fb-brew__chip[aria-pressed="true"], .fb-gifts .fb-brew__chip[aria-pressed="true"]:hover { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-gifts__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 18px 0 22px; }
.fb-gifts__bands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fb-gifts__bands li { margin: 0; }
.fb-gifts__band, .fb-gifts__reset {
	min-height: 44px; padding: 0 16px; border: 1px solid var(--fb-line-2); border-radius: 999px; background: #fff; color: var(--fb-ink);
	font-weight: 700; white-space: nowrap; transition: border-color 140ms ease, background-color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-gifts__band[aria-pressed="true"] { border-color: var(--fb-blue); background: var(--fb-lake); color: var(--fb-blue-deep); }
.fb-gifts__band:active, .fb-gifts__reset:active { transform: scale(0.97); }
.fb-gifts__band:focus-visible, .fb-gifts__reset:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-gifts__band:not([aria-pressed="true"]):hover, .fb-gifts__reset:hover { border-color: var(--fb-blue); color: var(--fb-blue); } }
.fb-gifts__count { margin: 0; font-weight: 700; color: var(--fb-ink-2); font-variant-numeric: tabular-nums; }
.fb-gifts__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1100px) { .fb-gifts__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .fb-gifts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.fb-gifts__none { margin: 8px 0 0; color: var(--fb-ink-2); }
.fb-gifts__none .fb-gifts__reset { margin-left: 8px; }
.fb-gift {
	container-type: inline-size; display: flex; flex-direction: column; margin: 0; overflow: hidden;
	border: 1px solid var(--fb-line); border-radius: 10px; background: #fff;
}
.fb-gift[hidden] { display: none; }
.fb-gift__img { display: block; aspect-ratio: 1; overflow: hidden; background: #eceff1; }
.fb-gift__img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--fb-ease); }
@media (hover: hover) and (pointer: fine) { .fb-gift:hover .fb-gift__img img { transform: scale(1.03); } }
.fb-gift__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.fb-gift__name { margin: 0; font-size: 1.05rem; line-height: 1.25; }
.fb-gift__name a { color: var(--fb-ink); text-decoration: none; }
.fb-gift__name a:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-gift__line { margin: 0; font-size: 0.9rem; line-height: 1.4; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-gift__amounts { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; border: 0; min-width: 0; }
.fb-gift__amounts label { position: relative; margin: 0; }
.fb-gift__amounts input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.fb-gift__amounts span {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--fb-line-2); border-radius: var(--fb-r);
	font-weight: 700; color: var(--fb-ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.fb-gift__amounts input:checked + span { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-gift__amounts input:focus-visible + span { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-gift__foot { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: auto; padding-top: 10px; }
.fb-gift__price { font-weight: 800; color: var(--fb-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-gift .fb-gift__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--fb-r);
	background: var(--fb-blue); color: #fff; font-weight: 800; text-decoration: none; transition: background-color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-gift .fb-gift__btn:active { transform: scale(0.97); }
.fb-gift .fb-gift__btn:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
.fb-gift .fb-gift__btn[aria-busy] { opacity: 0.7; }
@media (hover: hover) and (pointer: fine) { .fb-gift .fb-gift__btn:hover { background: var(--fb-blue-deep); } }
@container (max-width: 260px) {
	.fb-gift__body { padding: 12px; }
	.fb-gift .fb-gift__btn { padding: 0 10px; }
}

/* The homepage's Christmas band (inc/gifts.php, 1 November to Christmas Eve): spruce green under the hero, the order
   date and three gifts that add in one tap. */
.fb-xmas-home { background: var(--fb-spruce); color: #eef4ec; }
.fb-xmas-home.fb-section { padding-block: clamp(40px, 6vw, 80px); }
.fb-xmas-home [hidden] { display: none !important; }
.fb-xmas-home h2 { margin: 6px 0 12px; color: #fff; text-wrap: balance; }
.fb-xmas-home .fb-xmas__kicker { color: #fde3e1; }
.fb-xmas-home__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: 48px; align-items: center; }
.fb-xmas-home__lead { max-width: 30em; margin: 0 0 24px; font-size: 1.1rem; line-height: 1.5; text-wrap: pretty; }
.fb-xmas-home__lead strong { color: #fff; }
.fb-xmas-home__link {
	display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: var(--fb-r); background: #fff;
	color: var(--fb-ink); font-weight: 800; text-decoration: none; transition: background-color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-xmas-home__link:active { transform: scale(0.97); }
.fb-xmas-home__link:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .fb-xmas-home__link:hover { background: var(--fb-forest); color: var(--fb-ink); } }
.fb-xmas-home__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.fb-xmas-home .fb-gift { color: var(--fb-ink); border-color: transparent; }
@media (max-width: 1100px) { .fb-xmas-home__in { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 760px) {
	.fb-xmas-home__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.fb-xmas-home__grid .fb-gift:nth-child(3) { display: none; }
}

/* Gifts on a phone: one column, the picture beside the text, so the button and the gift card's amounts each keep
   one line. */
@media (max-width: 560px) {
	.fb-gifts__grid, .fb-xmas-home__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fb-gift { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: start; gap: 4px 14px; padding: 12px; }
	.fb-gift__img { grid-column: 1; grid-row: 1 / span 3; width: 96px; border-radius: 8px; }
	.fb-gift__body { display: contents; }
	.fb-gift__name, .fb-gift__line, .fb-gift__amounts { grid-column: 2; }
	.fb-gift__amounts span { padding: 0 10px; }
	.fb-gift__foot { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; }
	.fb-gift .fb-gift__btn { flex: 0 1 auto; padding: 0 18px; }
}

/* The Christmas line in the homepage hero card (inc/gifts.php): a spruce pill to the gift guide. */
.fb-hero__xmas {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; padding: 6px 16px 6px 8px;
	border-radius: 999px; background: var(--fb-spruce); color: #fff; font-weight: 700; line-height: 1.3; text-decoration: none;
	transition: background-color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-hero__xmas [hidden] { display: none; }
.fb-hero__xmas .fb-ic { flex: none; width: 30px; height: 30px; color: #fff; }
.fb-hero__xmas:active { transform: scale(0.97); }
.fb-hero__xmas:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .fb-hero__xmas:hover { background: #335a2f; color: #fff; } }

/* The subscription planner (inc/plan.php): method and cups a day on the left, the worked-out subscription on the right. */
/* A link to #regn-ut lands with the section at the top edge: the theme's html scroll-padding-top (120 px) is for a
   sticky header, and this shop's header scrolls away. */
.fb-plan { background: var(--fb-lake); scroll-margin-top: -120px; }
.fb-plan[hidden] { display: none; }
.fb-plan__head { max-width: 42rem; margin-bottom: clamp(22px, 3vw, 36px); }
.fb-plan__head h2 { margin: 0 0 0.4em; }
.fb-plan__lead { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-plan__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.fb-plan__in { display: grid; gap: 28px; min-width: 0; }
.fb-plan__set { min-width: 0; margin: 0; padding: 0; border: 0; }
.fb-plan__set legend { margin: 0 0 10px; padding: 0; color: var(--fb-ink); font-size: 1.05rem; font-weight: 800; }
.fb-plan button { font: inherit; cursor: pointer; }
.fb-plan .fb-brew__chip { background: #fff; color: var(--fb-ink); }
.fb-plan .fb-brew__chip .fb-ic { color: currentColor; }
.fb-plan .fb-brew__chip[aria-pressed="true"], .fb-plan .fb-brew__chip[aria-pressed="true"]:hover { border-color: var(--fb-blue); background: var(--fb-blue); color: #fff; }
.fb-plan__step { display: inline-flex; align-items: center; border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; }
.fb-plan__step button {
	display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: var(--fb-r); background: transparent;
	color: var(--fb-blue); font-size: 1.7rem; font-weight: 700; line-height: 1; transition: background-color 140ms ease, transform 140ms var(--fb-ease);
}
.fb-plan__step button:active:not(:disabled) { transform: scale(0.94); }
.fb-plan__step button:disabled { color: var(--fb-line-2); cursor: default; }
.fb-plan__step button:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) { .fb-plan__step button:hover:not(:disabled) { background: var(--fb-lake); } }
.fb-plan__step output { min-width: 64px; color: var(--fb-ink); font-size: 1.6rem; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.fb-plan__hint { margin: 10px 0 0; color: var(--fb-ink-2); font-size: 0.95rem; }
.fb-plan__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.fb-plan__opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fb-plan__opt { position: relative; display: block; margin: 0; }
.fb-plan__opt input { position: absolute; inset: 0; z-index: 1; margin: 0; opacity: 0; cursor: pointer; }
.fb-plan__tile {
	display: flex; align-items: center; gap: 12px; height: 100%; min-height: 72px; padding: 8px 12px 8px 8px;
	border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; color: var(--fb-ink);
	transition: border-color 140ms ease, box-shadow 140ms ease;
}
.fb-plan__tile--text { padding-left: 14px; }
.fb-plan__tile img, .fb-plan__dot { flex: none; width: 56px; height: 56px; border-radius: 6px; object-fit: cover; background: #eceff1; }
.fb-plan__tx { display: grid; min-width: 0; }
.fb-plan__tx b { font-weight: 800; }
.fb-plan__tx small { color: var(--fb-ink-2); font-size: 0.85rem; line-height: 1.35; }
.fb-plan__opt input:checked + .fb-plan__tile { border-color: var(--fb-blue); box-shadow: inset 0 0 0 1px var(--fb-blue); background: #f6faff; }
.fb-plan__opt input:focus-visible + .fb-plan__tile { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-plan__opt:hover .fb-plan__tile { border-color: var(--fb-blue); } }
.fb-plan__out { position: sticky; top: 112px; min-width: 0; }
.fb-plan__card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--fb-line); border-radius: 12px; background: #fff; box-shadow: 0 18px 44px rgba(16, 21, 26, 0.12); }
.fb-plan__use { margin: 0 0 6px; color: var(--fb-ink-2); font-weight: 700; font-variant-numeric: tabular-nums; }
.fb-plan__rec { margin: 0 0 10px; color: var(--fb-ink); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.15; text-wrap: balance; }
.fb-plan__last { margin: 0 0 18px; color: var(--fb-ink-2); line-height: 1.45; text-wrap: pretty; }
.fb-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 12px; }
.fb-plan__price b { color: var(--fb-ink); font-size: 2rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-plan__price s { color: var(--fb-ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-plan__price span { color: var(--fb-ink-2); }
.fb-plan__facts { display: grid; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.fb-plan__facts li { margin: 0; padding-left: 26px; position: relative; font-weight: 700; color: var(--fb-ink); font-variant-numeric: tabular-nums; }
.fb-plan__facts li:empty { display: none; }
.fb-plan__facts li::before { content: ''; position: absolute; left: 4px; top: 0.35em; width: 10px; height: 10px; border-radius: 50%; background: var(--fb-spruce); }
.fb-plan__route { margin: 0 0 18px; padding: 14px 0 6px; border-top: 1px solid var(--fb-line); }
.fb-plan__route-h { margin: 0 0 4px; color: var(--fb-ink-2); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.fb-plan__route .fb-route { margin-top: 8px; }
.fb-plan__small { display: flex; flex-direction: column; align-items: center; margin: 12px 0 0; color: var(--fb-ink-2); font-size: 0.9rem; text-align: center; }
.fb-plan__once { display: inline-flex; align-items: center; min-height: 44px; }
.fb-plan__hint a { display: inline-block; padding-block: 9px; margin-block: -9px; }
.fb-plan__week { display: none; }
.fb-plan .fb-btn:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 900px) {
	.fb-plan__grid { grid-template-columns: minmax(0, 1fr); }
	.fb-plan__out { position: static; }
	.fb-plan__week { display: inline; }
}
/* The five ways of brewing are the first question: all of them stay in view on a phone, as tiles, not a sideways row. */
@media (max-width: 760px) {
	.fb-plan .fb-plan__methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); overflow: visible; padding: 0; scroll-snap-type: none; }
	.fb-plan .fb-plan__methods li { flex: none; }
	.fb-plan .fb-brew__chip { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 100%; min-height: 92px; padding: 10px 6px; text-align: center; }
	.fb-plan .fb-brew__chip .fb-ic { width: 36px; height: 36px; }
}
@media (max-width: 560px) {
	.fb-plan__opts, .fb-plan__opts--two { grid-template-columns: minmax(0, 1fr); }
	.fb-plan__opts--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fb-plan__opts--two .fb-plan__tile { padding: 8px 10px; }
}

/* The taste map (inc/taste-map.php): a trail map of the coffees. Pins and contour lines are laid out by the script. */
.fb-taste[hidden] { display: none; }
.fb-taste { scroll-margin-top: -120px; }
.fb-taste__head { max-width: 46rem; margin-bottom: clamp(20px, 3vw, 34px); }
.fb-taste__head h2 { margin: 0 0 0.4em; }
.fb-taste__lead { margin: 0; font-size: 1.15rem; line-height: 1.5; color: var(--fb-ink-2); text-wrap: pretty; }
.fb-taste__grid { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(250px, 0.8fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.fb-map {
	position: relative; isolation: isolate; aspect-ratio: 8 / 5; min-height: 340px; overflow: hidden; border-radius: 12px;
	background: var(--fb-paper); box-shadow: inset 0 0 0 1px var(--fb-line-2), 0 18px 44px rgba(16, 21, 26, 0.1);
}
.fb-map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.fb-map::before {
	content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background-image: linear-gradient(to right, rgba(16, 21, 26, 0.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(16, 21, 26, 0.07) 1px, transparent 1px);
	background-size: 25% 25%;
}
.fb-map__edge {
	position: absolute; z-index: 2; color: var(--fb-ink-2); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; line-height: 1;
	text-transform: uppercase; white-space: nowrap; pointer-events: none;
}
.fb-map__edge--n { top: 12px; left: 50%; transform: translateX(-50%); }
.fb-map__edge--s { bottom: 12px; left: 50%; transform: translateX(-50%); }
.fb-map__edge--w { left: 12px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.fb-map__edge--e { right: 12px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); }
.fb-map__compass { position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; color: var(--fb-ink); pointer-events: none; }
.fb-map__pins { position: absolute; inset: 0; z-index: 3; }
.fb-map--wait .fb-map__art, .fb-map--wait .fb-map__pins { visibility: hidden; }
.fb-map__pin {
	--dot: var(--fb-roast-middels);
	position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent;
	color: var(--fb-ink); font: inherit; text-align: left; cursor: pointer;
}
.fb-map__pin--lys { --dot: var(--fb-roast-lys); }
.fb-map__pin--middels { --dot: var(--fb-roast-middels); }
.fb-map__pin--mork { --dot: var(--fb-roast-mork); }
.fb-map__dot {
	position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; background: var(--dot);
	box-shadow: 0 0 0 3px #fff, 0 3px 8px rgba(16, 21, 26, 0.35); transition: transform 160ms var(--fb-ease), box-shadow 160ms var(--fb-ease);
}
.fb-map__pin--koffeinfri .fb-map__dot { background: #fff; box-shadow: inset 0 0 0 3px #8a96a3, 0 0 0 3px #fff, 0 3px 8px rgba(16, 21, 26, 0.35); }
.fb-map__name {
	position: absolute; top: 50%; left: calc(50% + 20px); display: grid; gap: 1px; transform: translateY(-50%); white-space: nowrap; line-height: 1.15;
	text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #fff;
}
.fb-map__pin--l .fb-map__name { left: auto; right: calc(50% + 20px); text-align: right; }
.fb-map__name b { font-size: 0.98rem; font-weight: 800; }
.fb-map__name small { color: var(--fb-ink-2); font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.fb-map--tight .fb-map__name small { display: none; }
.fb-map--tight .fb-map__pin:not(.is-on) .fb-map__name { display: none; }
.fb-map__pin:hover .fb-map__dot { transform: scale(1.15); }
.fb-map__pin.is-on { z-index: 2; }
.fb-map__pin.is-on .fb-map__dot { transform: scale(1.2); box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--fb-blue), 0 4px 10px rgba(16, 21, 26, 0.35); }
.fb-map__pin.is-on.fb-map__pin--koffeinfri .fb-map__dot { box-shadow: inset 0 0 0 3px #8a96a3, 0 0 0 3px #fff, 0 0 0 6px var(--fb-blue), 0 4px 10px rgba(16, 21, 26, 0.35); }
.fb-map__pin.is-on .fb-map__name b { color: var(--fb-blue-deep); }
.fb-map__pin:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: -4px; border-radius: 10px; }
.fb-map__pin:active .fb-map__dot { transform: scale(0.95); }
.fb-map__detail { min-width: 0; }
.fb-map__card[hidden] { display: none; }
.fb-map__card .fb-card { max-width: 380px; }
.fb-map__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--fb-ink-2); font-size: 0.9rem; }
.fb-map__legend li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.fb-map__key { width: 14px; height: 14px; border-radius: 50%; background: var(--fb-roast-middels); box-shadow: 0 0 0 2px #fff; }
.fb-map__key--lys { background: var(--fb-roast-lys); }
.fb-map__key--mork { background: var(--fb-roast-mork); }
.fb-map__key--koffeinfri { background: #fff; box-shadow: inset 0 0 0 2.5px #8a96a3, 0 0 0 2px #fff; }
.fb-taste__note { max-width: 46rem; margin: 12px 0 0; color: var(--fb-ink-2); font-size: 0.9rem; line-height: 1.5; text-wrap: pretty; }
@media (max-width: 900px) {
	.fb-taste__grid { grid-template-columns: minmax(0, 1fr); }
	.fb-map { aspect-ratio: 5 / 6; min-height: 0; }
	.fb-map__card .fb-card { flex-direction: row; max-width: none; }
	.fb-map__card .fb-card__media { flex: 0 0 132px; aspect-ratio: auto; border-radius: var(--fb-r) 0 0 var(--fb-r); }
	.fb-map__card .fb-card__body { padding: 12px 14px 14px; }
}
@media (min-width: 561px) and (max-width: 900px) { .fb-map { aspect-ratio: 4 / 3; } }
@media (max-width: 900px) and (orientation: landscape) { .fb-map { aspect-ratio: 2 / 1; } }
@media (max-width: 560px) {
	.fb-map { aspect-ratio: 4 / 5; }
	.fb-map__edge { font-size: 0.66rem; letter-spacing: 0.07em; }
	.fb-map__name b { font-size: 0.86rem; }
	.fb-map__name small { font-size: 0.72rem; }
}

/* The brew timer on the brewing guides (fb.js initBrew): one step at a time, in large type. */
.fb-brew__start { margin: 0 0 18px; }
.fb-brew__step { margin: 8px 0 20px; color: var(--fb-ink); font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem); font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.fb-brew__clock { margin: 0 0 12px; color: var(--fb-ink); font-size: clamp(3.2rem, 2.4rem + 4vw, 4.6rem); font-weight: 800; line-height: 1; text-align: center; font-variant-numeric: tabular-nums; }
.fb-brew__go { width: 100%; margin-bottom: 8px; }
.fb-brew__nav { display: flex; gap: 12px; justify-content: space-between; }
.fb-brew__nav .fb-btn { flex: 1; }
.fb-brew__nav .fb-btn:disabled { opacity: 0.4; }

/* The gift greeting at checkout (inc/gift-note.php): a fold-out, no script. */
.fb-giftnote { margin: 18px 0 0; border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; }
.fb-giftnote summary { display: flex; align-items: center; min-height: 52px; padding: 0 16px; color: var(--fb-blue); font-weight: 800; cursor: pointer; }
.fb-giftnote summary:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; border-radius: var(--fb-r); }
.fb-giftnote__body { display: grid; gap: 8px; padding: 0 16px 16px; }
.fb-giftnote__body label { font-weight: 700; color: var(--fb-ink); }
.fb-giftnote__body textarea { width: 100%; min-height: 96px; }
.fb-giftnote__help { margin: 0; color: var(--fb-ink-2); font-size: 0.9rem; }
.fb-giftnote__saved { margin: 12px 0; }

/* The coffee's own page: where it lies on the taste map (inc/taste-map.php, fb_taste_mini). */
.fb-taste-mini { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--fb-line); color: var(--fb-ink); text-decoration: none; }
.fb-taste-mini svg { display: block; width: 100%; height: auto; }
.fb-taste-mini__t { display: grid; gap: 4px; font-size: 0.9rem; line-height: 1.4; color: var(--fb-ink-2); }
.fb-taste-mini__t b { color: var(--fb-blue); font-size: 1rem; }
.fb-taste-mini:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 4px; border-radius: 8px; }
@media (hover: hover) and (pointer: fine) { .fb-taste-mini:hover .fb-taste-mini__t b { text-decoration: underline; } }

/* "Du så på" (fb.js initSeen): up to three coffees the visitor looked at, from this browser only. */
.fb-seen { padding-block: clamp(28px, 4vw, 48px); border-top: 1px solid var(--fb-line); }
.fb-seen h2 { margin: 0 0 14px; font-size: 1.25rem; }
.fb-seen__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fb-seen__list li { margin: 0; }
.fb-seen__list a { display: flex; align-items: center; gap: 14px; min-height: 80px; padding: 8px; border: 1px solid var(--fb-line); border-radius: var(--fb-r); background: #fff; color: var(--fb-ink); text-decoration: none; }
.fb-seen__list img, .fb-seen__list a > span:first-child:empty { flex: none; width: 64px; height: 64px; border-radius: 6px; object-fit: cover; background: #eceff1; }
.fb-seen__list a > span:last-child { display: grid; gap: 2px; }
.fb-seen__list small { color: var(--fb-blue); font-weight: 700; }
.fb-seen__list a:focus-visible { outline: 2px solid var(--fb-blue); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .fb-seen__list a:hover { border-color: var(--fb-blue); } }

/* Who the gift card is for (inc/gift-card.php). */
.fb-giftcard { display: grid; gap: 6px; margin: 0 0 16px; padding: 14px 16px 16px; border: 1px solid var(--fb-line-2); border-radius: var(--fb-r); background: #fff; }
.fb-giftcard legend { padding: 0 6px; font-weight: 800; color: var(--fb-ink); }
.fb-giftcard label { font-weight: 700; color: var(--fb-ink); }
.fb-giftcard input, .fb-giftcard textarea { width: 100%; }
.fb-giftcard__help { margin: 4px 0 0; color: var(--fb-ink-2); font-size: 0.9rem; }

.fb-sheet__cup { margin: 10px 0 0; color: var(--fb-ink-2); font-size: 0.9rem; font-variant-numeric: tabular-nums; }

/* "Åpen nå" beside the café's hours (fb.js initOpenNow). */
.fb-open { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 800; white-space: nowrap; }
.fb-open::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.fb-open--open { color: #86d17b; }
.fb-open--closed { color: #c9d0d6; }
main .fb-open--open { color: var(--fb-spruce); }
main .fb-open--closed { color: var(--fb-ink-2); }

/* iPhone held sideways (step 7, Arnas's screenshots). */
/* The theme asks for viewport-fit=cover, so the page keeps clear of the notch and Dynamic Island itself. */
/* Coloured bands run to the screen edge; only the content moves in: our gutter (top of file) and the theme's
   one row width (90vw, 88vw under 690px), both narrowed by the inset. */
html:root { --theme-container-edge-spacing: min(90vw, calc(100vw - 2 * var(--fb-safe) - 24px)); }
@media (max-width: 689.98px) { html:root { --theme-container-edge-spacing: min(88vw, calc(100vw - 2 * var(--fb-safe) - 24px)); } }
.ct-panel-inner { padding-right: env(safe-area-inset-right, 0px); }
@media (max-width: 1000px) { .fb-hero__pause { right: calc(12px + env(safe-area-inset-right, 0px)); } }
@media (max-width: 1000px) {
	/* The height cap turned into a width cap through the 5:4 ratio, leaving a small box on the left: keep it full width. */
	.fb-hero__img { width: 100%; }
}
@media (orientation: landscape) and (max-height: 500px) {
	.fb-photo img, .fb-split__media img { max-height: 70svh; object-fit: cover; }
}
.fb-facts-row + p { margin-top: 1.25rem; }
