/*
 * THE 2026-10-15 LIGHT REDESIGN - the shared parts every page uses.
 *
 * Source: Figma 8hGceEJEbGObnlhadghgL2, page "Dizainas": the desktop home 18:638 (1359 wide), the
 * mobile home 107:91 (390), the mobile menu 113:252 and the components "Produkto kortelė" 85:2,
 * "Patirties kortelė" 108:230 and "Mygtukas - kontūrinis" 115:253. Every value below is read from a
 * node (named beside it); the home's sections (assets/home.css) and the other pages build on these.
 *
 * SCALE: the design is drawn at 1359. From 1359 up the desktop layout keeps the frame's proportions
 * (--u is one design pixel), as the site did before the redesign; below it --u is 1px and the
 * layout is fluid. Under 1024 the mobile frame (390) applies.
 *
 * HEADINGS: Geist 400 with one word in Instrument Serif italic, about 1.06 times the Geist size
 * (Figma runs: 51/54, 60/64, 40/42, 116/123, 68/72, 76/80). In the editor that word is simply
 * italic (<em>), so the client gets the look by making a word italic.
 */

:root {
	--u: 1px;
	--lbs-cream: #f3ece0;
	--lbs-card: #ece4d5;
	--lbs-card-deep: #eae0cf;
	--lbs-chip: #e0d5c1;
	--lbs-taupe: #b0a391;
	--lbs-navy: #1e2d4f;
	--lbs-ink: #1b2a47;
	--lbs-slate: #5f6878;
	--lbs-slate-dark: #465064;
	--lbs-grey: #787e8a;
	--lbs-light: #f0e8d6;
	--lbs-warm: #f7e8cb;
	--lbs-brown: #26201a;
	--lbs-geist: Geist, system-ui, sans-serif;
	--lbs-serif: "Instrument Serif", Georgia, serif;
	--lbs-inter: Inter, system-ui, sans-serif;
	/* Section side gutter: 80 of 1359 (every desktop band), 20 of 390 (mobile bands). */
	--lbs-gutter: 20px;
	/* Photo bands inset from the page edge: 16 of 1359, 8 of 390. */
	--lbs-inset: 8px;
	/* TYPE SCALE (docs/DESIGN-SYSTEM-2026-10.md "Type scale"): one step per job, mobile px here,
	   desktop design px x --u below. Nothing on the site goes under 11px. */
	--lbs-t-hero: 106px;
	--lbs-t-quote: 48px;
	--lbs-t-h1: 42px;
	--lbs-t-h1-split: 38px;
	--lbs-t-card-xl: 52px;
	--lbs-t-h2-intro: 34px;
	--lbs-t-h2: 32px;
	--lbs-t-h3-xl: 22px;
	--lbs-t-price: 30px;
	--lbs-t-h3-l: 24px;
	--lbs-t-h3: 22px;
	--lbs-t-h4: 17px;
	--lbs-t-h4-ftr: 16px;
	--lbs-t-pill: 16px;
	--lbs-t-lead: 16px;
	--lbs-t-body-l: 15px;
	--lbs-t-body: 14px;
	--lbs-t-field: 15px;
	--lbs-t-ui: 15px;
	--lbs-t-meta: 13px;
	--lbs-t-label: 11px;
	--lbs-t-label-news: 12px;
	--lbs-t-chip: 11px;
	/* Paragraph line-heights for body-l (32 desktop / 24 mobile). */
	--lbs-lh-body-l: 24px;
}
@media (min-width: 1024px) {
	:root {
		--lbs-gutter: calc(80 * var(--u));
		--lbs-inset: calc(16 * var(--u));
		--lbs-t-hero: calc(152 * var(--u));
		--lbs-t-quote: calc(116 * var(--u));
		--lbs-t-h1: calc(76 * var(--u));
		--lbs-t-h1-split: calc(68 * var(--u));
		--lbs-t-card-xl: calc(60 * var(--u));
		--lbs-t-h2-intro: calc(51 * var(--u));
		--lbs-t-h2: calc(40 * var(--u));
		--lbs-t-h3-xl: calc(30 * var(--u));
		--lbs-t-price: calc(30 * var(--u));
		--lbs-t-h3-l: calc(26 * var(--u));
		--lbs-t-h3: calc(22 * var(--u));
		--lbs-t-h4: calc(18 * var(--u));
		--lbs-t-h4-ftr: calc(16 * var(--u));
		--lbs-t-pill: calc(17 * var(--u));
		--lbs-t-lead: calc(22 * var(--u));
		--lbs-t-body-l: calc(16 * var(--u));
		--lbs-t-body: calc(14 * var(--u));
		--lbs-t-field: calc(15 * var(--u));
		--lbs-t-ui: calc(15 * var(--u));
		--lbs-t-meta: calc(13 * var(--u));
		--lbs-t-label: calc(12 * var(--u));
		--lbs-t-label-news: calc(12 * var(--u));
		--lbs-t-chip: calc(11 * var(--u));
		--lbs-lh-body-l: calc(32 * var(--u));
	}
}
@media (min-width: 1360px) {
	:root {
		--u: calc(100vw / 1359);
	}
}

body {
	background-color: var(--lbs-cream);
	color: var(--lbs-ink);
	font-family: var(--lbs-inter);
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* The serif accent word inside any Geist heading. */
:where(h1, h2, h3, h4, h5, h6, .lbs-h) em,
:where(h1, h2, h3, h4, h5, h6, .lbs-h) i {
	font-family: var(--lbs-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 1.06em;
	letter-spacing: 0;
}

/* ---------- Layout ---------- */

.lbs-band {
	padding-left: var(--lbs-gutter);
	padding-right: var(--lbs-gutter);
}
.lbs-band--inset {
	padding-left: var(--lbs-inset);
	padding-right: var(--lbs-inset);
}
.lbs-band > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

/* ---------- Section heading row: "Mūsų pasirinkimas" + "Visi produktai →" (18:693) ---------- */

.lbs-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
}
.lbs-title {
	margin: 0 !important;
	font-family: var(--lbs-geist);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--lbs-ink);
}
@media (min-width: 1024px) {
	/* 18:698: 40/44, its box 46.2 (the serif run's line). */
	.lbs-title {
		margin-top: calc(8 * var(--u)) !important;
		font-size: calc(40 * var(--u));
		line-height: calc(46.2 * var(--u));
	}
}
.lbs-head .lbs-more {
	display: none;
}
@media (min-width: 1024px) {
	.lbs-head .lbs-more {
		display: block;
	}
}
/* "Visi produktai →" (18:700): Inter 500 14/15, slate, the reference's grow-in underline on hover. */
.lbs-more {
	margin: 0;
	font-family: var(--lbs-inter);
	font-weight: 500;
	font-size: calc(14 * var(--u));
	line-height: calc(15 * var(--u));
	color: var(--lbs-slate);
	white-space: nowrap;
}
.lbs-more a,
.lbs-link a {
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
	transition: background-size 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	padding-bottom: 1px;
}
.lbs-more a:hover,
.lbs-more a:focus-visible,
.lbs-link a:hover,
.lbs-link a:focus-visible {
	background-size: 100% 1px;
}
/* The mobile frame moves "Visi ... →" under the list as an outline button (115:258). */
.lbs-more-mobile {
	display: flex;
	justify-content: center;
	margin: 0;
}
@media (min-width: 1024px) {
	.lbs-more-mobile {
		display: none !important;
	}
}

/* ---------- Buttons ---------- */

/* Shared pill: Inter 500, radius 999, centred text. */
.lbs-pill .wp-block-button__link,
a.lbs-pill,
.lbs-pill > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid transparent;
	font-family: var(--lbs-inter);
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
/* "Mygtukas - kontūrinis" 115:253: border navy/0.35, Inter 500 15/18.2, navy, 13/24. */
.lbs-pill--outline .wp-block-button__link,
.lbs-pill--outline > a {
	padding: 13px 24px;
	border-color: rgba(30, 45, 79, 0.35);
	background: transparent;
	color: var(--lbs-navy);
	font-size: 15px;
	line-height: 18.2px;
}
.lbs-pill--outline .wp-block-button__link:hover,
.lbs-pill--outline > a:hover {
	border-color: var(--lbs-navy);
}
/* On a photo, light (hero 18:652): #f7e8cb, navy text. */
.lbs-pill--light .wp-block-button__link,
.lbs-pill--light > a {
	background-color: var(--lbs-warm);
	color: var(--lbs-navy);
}
/* On a photo, outline (hero 18:654): border #f0e8d6/0.35, #f0e8d6 text. */
.lbs-pill--ghost .wp-block-button__link,
.lbs-pill--ghost > a {
	background: transparent;
	border-color: rgba(240, 232, 214, 0.35);
	color: var(--lbs-light);
}
.lbs-pill--ghost .wp-block-button__link:hover,
.lbs-pill--ghost > a:hover {
	border-color: rgba(240, 232, 214, 0.7);
}
/* Navy (the experience price pill 18:862, used as the dark button on light pages). */
.lbs-pill--navy .wp-block-button__link,
.lbs-pill--navy > a {
	background-color: var(--lbs-navy);
	color: var(--lbs-cream);
}

/* ---------- Chips ---------- */

/* Facts (18:858): #e0d5c1, Inter 500 11/13.5 upper .123em, #787e8a, 7/12. */
.lbs-chip {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: calc(7 * var(--u)) calc(12 * var(--u));
	border-radius: 999px;
	background-color: var(--lbs-chip);
	color: var(--lbs-grey);
	font-family: var(--lbs-inter);
	font-weight: 500;
	font-size: calc(11 * var(--u));
	line-height: calc(13.5 * var(--u));
	letter-spacing: 0.123em;
	text-transform: uppercase;
	white-space: nowrap;
}
/* News topic (18:918): navy, #f3ece0, Inter 500 12/15, 5/11. */
.lbs-chip--navy,
.lbs-chip--date {
	padding: calc(5 * var(--u)) calc(11 * var(--u));
	font-size: calc(12 * var(--u));
	line-height: calc(15 * var(--u));
	letter-spacing: 0;
	text-transform: none;
}
.lbs-chip--navy {
	background-color: var(--lbs-navy);
	color: var(--lbs-cream);
}
/* News date (18:924): #e0d5c1, #465064, Inter 500 12/13.5. */
.lbs-chip--date {
	color: var(--lbs-slate-dark);
	line-height: calc(14 * var(--u));
}
/* On a photo (18:849): #26201a/0.75, #f7e8cb, Inter 500 10.23/13.8, 6.16/12.31. */
.lbs-chip--photo {
	padding: calc(6 * var(--u)) calc(12 * var(--u));
	background-color: rgba(38, 32, 26, 0.75);
	color: var(--lbs-warm);
	font-size: var(--lbs-t-chip);
	line-height: calc(13.8 * var(--u));
	letter-spacing: 0;
	text-transform: none;
}
.lbs-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: calc(6 * var(--u));
	margin: 0;
}

/* ---------- Product card ("Produkto kortelė" 85:2) ---------- */

.lbs-pcard {
	display: flex;
	flex-direction: column;
	gap: calc(10 * var(--u));
	margin: 0;
	padding: calc(10 * var(--u));
	border: 1px solid rgba(27, 42, 71, 0.05);
	border-radius: calc(16 * var(--u));
	background-color: var(--lbs-card);
	box-sizing: border-box;
	min-width: 0;
}
.lbs-pcard > * {
	margin: 0 !important;
}
.lbs-pcard .wp-block-cover.lbs-pcard__photo {
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 0 !important;
	padding: 0 !important;
	border-radius: calc(10 * var(--u));
	overflow: hidden;
	flex: 1 1 auto;
}
/* Photo shade 85:7: #14120f 0 at 50% to 0.55 at 100%. */
.lbs-pcard__photo .wp-block-cover__background {
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(20, 18, 15, 0) 50%, rgba(20, 18, 15, 0.55) 100%) !important;
}
.lbs-pcard__photo .wp-block-cover__image-background {
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.lbs-pcard:hover .lbs-pcard__photo .wp-block-cover__image-background {
	transform: scale(1.04);
}
/* The words over the photo: price bottom-left (16 in), the two buttons bottom-right (12 in). */
.lbs-pcard__photo .wp-block-cover__inner-container {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: calc(8 * var(--u));
	width: 100%;
	padding: 0 calc(12 * var(--u)) calc(12 * var(--u)) calc(16 * var(--u));
	box-sizing: border-box;
	color: var(--lbs-cream);
}
.lbs-pcard__price {
	margin-bottom: calc(3 * var(--u)) !important;
}
.lbs-pcard__photo .wp-block-cover__inner-container > * {
	margin: 0;
}
/* Price 85:10: Geist 400 30/39 -0.02em, #f3ece0 (40/52 on the big card). */
.lbs-pcard__price {
	font-family: var(--lbs-geist);
	font-weight: 400;
	font-size: calc(30 * var(--u));
	line-height: calc(39 * var(--u));
	letter-spacing: -0.02em;
	color: var(--lbs-cream);
	white-space: nowrap;
}
/* "Ruošiame prekybai" where an unpriced product's price is (client 2026-10-28): the chip's type on a navy
   pill, so it fits any card and reads as a state, not as a price. */
.lbs-pcard .lbs-pcard__photo .lbs-pcard__price.lbs-price-soon {
	margin-bottom: 0 !important;
	padding: calc(6 * var(--u)) calc(12 * var(--u));
	border-radius: 999px;
	background-color: var(--lbs-navy);
	font-family: var(--lbs-inter);
	font-weight: 500;
	font-size: var(--lbs-t-chip);
	line-height: calc(13.3 * var(--u));
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
/* "NAUJA" 85:8: navy pill top-left (calc(12 * var(--u)) in), Inter 500 11/13.3 .12em, 6/12. */
.lbs-pcard__badge {
	position: absolute;
	top: calc(12 * var(--u));
	left: calc(12 * var(--u));
	z-index: 2;
	margin: 0 !important;
	padding: calc(6 * var(--u)) calc(12 * var(--u));
	border-radius: 999px;
	background-color: var(--lbs-navy);
	color: var(--lbs-cream);
	font-family: var(--lbs-inter);
	font-weight: 500;
	font-size: calc(11 * var(--u));
	line-height: calc(13.3 * var(--u));
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
/* Actions 85:20: two calc(44 * var(--u)) #f3ece0 circles, 8 apart; icons calc(18 * var(--u)) navy-ink, stroke 1.75. */
.lbs-pcard__actions {
	display: flex;
	gap: calc(8 * var(--u));
	flex: none;
}
.lbs-pcard__actions a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(44 * var(--u));
	height: calc(44 * var(--u));
	border-radius: 999px;
	background-color: var(--lbs-cream);
	transition: background-color 0.2s ease;
}
.lbs-pcard__actions a:hover {
	background-color: #fff;
}
.lbs-pcard__actions a::before {
	content: "";
	width: calc(18 * var(--u));
	height: calc(18 * var(--u));
	background-color: var(--lbs-ink);
	-webkit-mask: var(--lbs-ico) center / contain no-repeat;
	mask: var(--lbs-ico) center / contain no-repeat;
}
.lbs-pcard__actions .lbs-act--cart {
	--lbs-ico: url(icons/cart.svg);
}
.lbs-pcard__actions .lbs-act--go {
	--lbs-ico: url(icons/arrow-up-right.svg);
}
/* The wishlist's heart (inc/wishlist.php): a smaller cream circle in the photo's top-right corner,
   opposite the "Nauja" label; filled once saved. */
.lbs-pcard__actions .lbs-act--wish {
	--lbs-ico: url(icons/heart.svg);
	position: absolute;
	top: calc(12 * var(--u));
	right: calc(12 * var(--u));
	z-index: 2;
	width: calc(36 * var(--u));
	height: calc(36 * var(--u));
}
.lbs-pcard__actions .lbs-act--wish::before {
	width: calc(16 * var(--u));
	height: calc(16 * var(--u));
}
.lbs-pcard__actions .lbs-act--wish.is-on {
	--lbs-ico: url(icons/heart-fill.svg);
}
.lbs-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
/* Text 85:3: 4/10/8/10, gap 2; name Geist 500 22/26.4 -0.01em; line Inter 400 13/18.2 slate. */
.lbs-pcard__text {
	display: flex;
	flex-direction: column;
	gap: calc(2 * var(--u));
	padding: calc(4 * var(--u)) calc(10 * var(--u)) calc(8 * var(--u));
}
.lbs-pcard__text > * {
	margin: 0 !important;
}
.lbs-pcard__name {
	font-family: var(--lbs-geist);
	font-weight: 500;
	font-size: calc(22 * var(--u));
	line-height: calc(26.4 * var(--u));
	letter-spacing: -0.01em;
	color: var(--lbs-ink);
}
.lbs-pcard__name a {
	color: inherit;
	text-decoration: none;
}
.lbs-pcard__line {
	font-family: var(--lbs-inter);
	font-weight: 400;
	font-size: calc(13 * var(--u));
	line-height: calc(18.2 * var(--u));
	color: var(--lbs-slate);
}
/* The short description in a weight-only card (inc/product-lists.php): two lines at most, the weight under it. */
.lbs-pcard__sum {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lbs-pcard__weight {
	display: block;
	margin-top: calc(4 * var(--u));
	color: var(--lbs-grey, var(--lbs-slate));
	font-size: calc(12 * var(--u));
}

/* ---------- Experience card ("Patirties kortelė" 108:230, home 18:846) ---------- */

.lbs-xcard {
	display: flex;
	flex-direction: column;
	gap: calc(14 * var(--u));
	margin: 0;
	padding: calc(10 * var(--u)) calc(10 * var(--u)) calc(16 * var(--u));
	border: 1px solid rgba(27, 42, 71, 0.05);
	border-radius: calc(16 * var(--u));
	background-color: var(--lbs-card);
	box-sizing: border-box;
	min-width: 0;
}
.lbs-xcard > * {
	margin: 0 !important;
}
.lbs-xcard .wp-block-cover.lbs-xcard__photo {
	min-height: 0 !important;
	aspect-ratio: 362 / 288;
	padding: calc(16 * var(--u)) !important;
	align-items: flex-start;
	border-radius: calc(10 * var(--u));
	overflow: hidden;
	background-color: var(--lbs-card-deep);
}
.lbs-xcard__photo .wp-block-cover__background {
	opacity: 0 !important;
}
.lbs-xcard__photo .wp-block-cover__image-background {
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.lbs-xcard:hover .lbs-xcard__photo .wp-block-cover__image-background {
	transform: scale(1.04);
}
.lbs-xcard__photo .wp-block-cover__inner-container {
	display: flex;
	width: 100%;
}
.lbs-xcard__photo .wp-block-cover__inner-container > * {
	margin: 0;
}
.lbs-xcard__text {
	display: flex;
	flex-direction: column;
	gap: calc(8 * var(--u));
	padding: 0 calc(8 * var(--u));
}
.lbs-xcard__text > * {
	margin: 0 !important;
}
/* Name 18:853: Geist 500 22/27.5 -0.01em. */
.lbs-xcard__name {
	font-family: var(--lbs-geist);
	font-weight: 500;
	font-size: calc(22 * var(--u));
	line-height: calc(27.5 * var(--u));
	letter-spacing: -0.01em;
	color: var(--lbs-ink);
}
.lbs-xcard__name a {
	color: inherit;
	text-decoration: none;
}
/* Text 18:855: Inter 400 14/22.8 slate, two lines. */
.lbs-xcard__desc {
	font-family: var(--lbs-inter);
	font-size: calc(14 * var(--u));
	line-height: calc(22.8 * var(--u));
	color: var(--lbs-slate);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* Bottom row 18:856: chips left, price pill right, 10 above. */
.lbs-xcard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: calc(8 * var(--u));
	padding-top: calc(10 * var(--u));
}
.lbs-xcard__foot > * {
	margin: 0 !important;
}
/* Price pill 18:862: navy, 5/5/5/16, gap 10; Geist 500 17/20 #f3ece0; arrow circle 30 #f3ece0. */
.lbs-price-pill {
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--u));
	margin: 0;
	padding: calc(5 * var(--u)) calc(5 * var(--u)) calc(5 * var(--u)) calc(16 * var(--u));
	border-radius: 999px;
	background-color: var(--lbs-navy);
	color: var(--lbs-cream);
	font-family: var(--lbs-geist);
	font-weight: 500;
	font-size: calc(17 * var(--u));
	line-height: calc(20 * var(--u));
	white-space: nowrap;
	text-decoration: none;
}
.lbs-price-pill a {
	display: inline-flex;
	align-items: center;
	gap: calc(10 * var(--u));
	color: inherit;
	text-decoration: none;
}
.lbs-price-pill a::after,
a.lbs-price-pill::after {
	content: "";
	width: calc(30 * var(--u));
	height: calc(30 * var(--u));
	border-radius: 999px;
	background: var(--lbs-cream) url(icons/arrow-small.svg) center / calc(14 * var(--u)) calc(14 * var(--u)) no-repeat;
	flex: none;
}

/* ---------- Hero-style photo card: rounded photo, dark shade, light words (18:790, 47:3) ---------- */

.lbs-photo-band .wp-block-cover {
	border-radius: 20px;
	overflow: hidden;
}
@media (min-width: 1024px) {
	.lbs-photo-band .wp-block-cover {
		border-radius: calc(24 * var(--u));
	}
}

/* ---------- Mobile type ramp (107:91) ---------- */

@media (max-width: 1023px) {
	.lbs-xcard__name,
	.lbs-pcard__name {
		font-size: 22px;
		line-height: 26.4px;
	}
	.lbs-xcard__desc {
		font-size: 14px;
		line-height: 21px;
	}
	.lbs-price-pill {
		font-size: 16px;
		line-height: 20.8px;
	}
	.lbs-price-pill a::after,
	a.lbs-price-pill::after {
		width: 28px;
		height: 28px;
	}
}
