/*
 * Global layer: typography, controls, forms and page chrome.
 *
 * Loads on every front-end view after the parent stylesheet. Everything here
 * reads tokens.css - no raw hex, radius or duration values.
 *
 * The parent theme ships very specific selectors, so some rules below carry a
 * matching specificity (an extra class, or the body prefix). That is deliberate
 * and preferred over !important, which would block client overrides.
 */

/* ---------------------------------------------------------------- Ground -- */

/* The design assumes border-box everywhere; without it any width:100% that
   also carries padding pushes the page into a horizontal scroll. */
.lb-scope *,
.lb-scope *::before,
.lb-scope *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	/* In-page anchors must clear the sticky header and filter bar. */
	scroll-padding-top: calc(var(--lb-sticky-bar) + var(--lb-s5));
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body.lb-scope {
	background: var(--lb-paper);
	color: var(--lb-ink);
	font-family: var(--lb-font-sans);
	font-size: var(--lb-fs-body);
	line-height: var(--lb-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-wrap: pretty;
}

.lb-scope ::selection {
	background: #E9DAFB;
	color: var(--lb-ink);
}

.lb-wrap {
	width: 100%;
	max-width: var(--lb-maxw);
	margin-inline: auto;
	padding-inline: var(--lb-gutter);
}

/* Full-bleed is faked: panels inset from the page edge. */
.lb-inset {
	padding-inline: var(--lb-inset);
}

/* ------------------------------------------------------------ Typography -- */

.lb-display,
.lb-h2,
.lb-h3 {
	font-family: var(--lb-font-serif);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.015em;
	color: inherit;
	margin: 0;
	text-wrap: balance;
}

.lb-display { font-size: var(--lb-fs-display); }
.lb-h2      { font-size: var(--lb-fs-h2); }
.lb-h3      { font-size: var(--lb-fs-h3); }

/* Every section heading carries a 52x2px sand rule beneath it. */
.lb-rule::after {
	content: "";
	display: block;
	width: 52px;
	height: 2px;
	margin-top: var(--lb-s4);
	background: var(--lb-sand);
}

.lb-eyebrow {
	display: inline-block;
	font-family: var(--lb-font-sans);
	font-size: var(--lb-fs-eyebrow);
	font-weight: 500;
	letter-spacing: var(--lb-ls-eyebrow);
	text-transform: uppercase;
	color: var(--lb-sand);
	margin: 0 0 var(--lb-s3);
}

.lb-eyebrow--mute { color: var(--lb-mute); }

.lb-lede {
	font-size: 17.5px;
	line-height: var(--lb-lh-body);
	color: var(--lb-mute);
	max-width: 62ch;
	margin: 0;
}

.lb-meta {
	font-size: var(--lb-fs-control);
	color: var(--lb-mute);
	letter-spacing: .01em;
}

/* Prices are always serif. */
.lb-price {
	font-family: var(--lb-font-serif);
	font-weight: 300;
	color: var(--lb-ink);
	letter-spacing: -.01em;
}

.lb-price__unit {
	font-family: var(--lb-font-sans);
	font-size: var(--lb-fs-control);
	color: var(--lb-mute);
	letter-spacing: .01em;
}

/* ---------------------------------------------------------------- Links --- */

.lb-scope a {
	text-decoration: none;
	transition: color var(--lb-dur) var(--lb-ease);
}

/* One visible focus treatment for every interactive element. */
.lb-scope a:focus-visible,
.lb-scope button:focus-visible,
.lb-scope input:focus-visible,
.lb-scope select:focus-visible,
.lb-scope textarea:focus-visible,
.lb-scope [tabindex]:focus-visible {
	outline: 2px solid var(--lb-violet);
	outline-offset: 2px;
}

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

.lb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--lb-s2);
	min-height: 44px;
	padding: 13px 26px;
	border: 1px solid transparent;
	border-radius: var(--lb-r-pill);
	font-family: var(--lb-font-sans);
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: .01em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	transition: background var(--lb-dur) var(--lb-ease),
	            color var(--lb-dur) var(--lb-ease),
	            border-color var(--lb-dur) var(--lb-ease),
	            box-shadow var(--lb-dur) var(--lb-ease),
	            transform var(--lb-dur) var(--lb-ease);
}

/* Violet is reserved for the primary action. */
.lb-btn--primary {
	background: var(--lb-violet);
	color: #fff;
}

.lb-btn--primary:hover,
.lb-btn--primary:focus-visible {
	background: var(--lb-violet-ink);
	color: #fff;
	box-shadow: var(--lb-sh-hover);
	transform: translateY(-2px);
}

.lb-btn--ink {
	background: var(--lb-ink);
	color: var(--lb-paper);
}

.lb-btn--ink:hover,
.lb-btn--ink:focus-visible {
	background: var(--lb-ink-2);
	color: var(--lb-paper);
	transform: translateY(-2px);
}

.lb-btn--outline {
	background: transparent;
	color: var(--lb-ink);
	border-color: var(--lb-line);
}

.lb-btn--outline:hover,
.lb-btn--outline:focus-visible {
	background: var(--lb-surface);
	color: var(--lb-ink);
	border-color: var(--lb-ink);
}

.lb-btn--block { width: 100%; }

.lb-btn[disabled],
.lb-btn[aria-disabled="true"] {
	opacity: .45;
	pointer-events: none;
}

/* Round icon control - carousel arrows, view details, add affordance. */
.lb-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-pill);
	background: var(--lb-surface);
	color: var(--lb-ink);
	cursor: pointer;
	appearance: none;
	transition: background var(--lb-dur) var(--lb-ease),
	            color var(--lb-dur) var(--lb-ease),
	            border-color var(--lb-dur) var(--lb-ease),
	            opacity var(--lb-dur) var(--lb-ease);
}

.lb-circle:hover:not([disabled]) {
	background: var(--lb-ink);
	color: var(--lb-paper);
	border-color: var(--lb-ink);
}

.lb-circle[disabled] {
	opacity: .3;
	cursor: default;
}

.lb-circle--sm { width: 38px; height: 38px; }
.lb-circle--soft { background: var(--lb-sand-soft); border-color: transparent; }

.lb-circle .lb-glyph { font-size: 17px; line-height: 1; }
.lb-circle--sm .lb-glyph { font-size: 14px; }

/* ------------------------------------------------- Pills, chips, badges --- */

.lb-pill {
	display: inline-flex;
	align-items: center;
	gap: var(--lb-s2);
	min-height: 40px;
	padding: 10px 17px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-pill);
	background: var(--lb-surface);
	color: var(--lb-ink);
	font-family: var(--lb-font-sans);
	font-size: var(--lb-fs-control);
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	appearance: none;
	white-space: nowrap;
	transition: background var(--lb-dur) var(--lb-ease),
	            color var(--lb-dur) var(--lb-ease),
	            border-color var(--lb-dur) var(--lb-ease);
}

.lb-pill:hover {
	border-color: var(--lb-ink);
	color: var(--lb-ink);
}

.lb-pill[aria-pressed="true"],
.lb-pill.is-active {
	background: var(--lb-ink);
	border-color: var(--lb-ink);
	color: var(--lb-paper);
}

.lb-pill__count {
	font-size: 11px;
	color: var(--lb-mute-2);
	font-variant-numeric: tabular-nums;
}

.lb-pill[aria-pressed="true"] .lb-pill__count,
.lb-pill.is-active .lb-pill__count {
	color: rgba(251, 249, 246, .72);
}

.lb-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--lb-s2);
	padding: 8px 14px;
	border: 0;
	border-radius: var(--lb-r-pill);
	background: var(--lb-violet-mist);
	color: var(--lb-violet-ink);
	font-size: var(--lb-fs-control);
	font-weight: 500;
	cursor: pointer;
}

.lb-chip:hover { background: #E3D2F8; }

.lb-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: var(--lb-r-pill);
	background: rgba(251, 249, 246, .92);
	color: var(--lb-ink);
	font-size: var(--lb-fs-eyebrow);
	font-weight: 500;
	letter-spacing: var(--lb-ls-eyebrow);
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}

.lb-badge--stock {
	background: var(--lb-ok-bg);
	color: var(--lb-ok);
	backdrop-filter: none;
}

/* ----------------------------------------------------------- Page shell --- */

/*
 * The parent clips the shell with `.site { overflow: hidden }`. That makes
 * .site a scroll container, and a sticky element sticks to its nearest scroll
 * container - so every `position: sticky` in this theme (the header, the shop
 * filter bar, the shop sidebar, the product gallery) was sticking to a box that
 * never scrolls, which means none of them stuck at all.
 *
 * `overflow-x: clip` clips without creating a scroll container, so the parent's
 * horizontal guard is kept and sticky works again. The pair has to be
 * clip/visible: `hidden` next to `visible` computes back to `auto` and would
 * add a scrollbar.
 */
.lb-scope #page.site {
	overflow-x: clip;
	overflow-y: visible;
}

/* ------------------------------------------------------------ Image well -- */

/* Placeholders are the warm well gradient, never grey. */
.lb-well {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--lb-well);
	border-radius: var(--lb-r-thumb);
}

.lb-well > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity var(--lb-dur) var(--lb-ease),
	            transform var(--lb-dur-slide) var(--lb-ease);
}

.lb-well__alt {
	position: absolute;
	inset: 0;
	opacity: 0;
}

/* Hover cross-fades to the alternate shot. */
.lb-well:hover .lb-well__alt,
.lb-card:hover .lb-well__alt { opacity: 1; }

/* With only one photograph there is nothing to cross-fade to, so it zooms
   instead and the card still answers the pointer. */
.lb-card:hover .lb-well--zoom > img { transform: scale(1.05); }

.lb-well--1-1      { aspect-ratio: 1 / 1; }
.lb-well--4-3      { aspect-ratio: 4 / 3; }
.lb-well--16-10    { aspect-ratio: 16 / 10; }

/*
 * Fit the whole picture inside the window instead of filling it. Catalogue
 * thumbnails are served uncropped, so a product that is taller or wider than
 * the window sits on the warm well rather than losing its top and bottom to
 * object-fit: cover.
 */
.lb-well.lb-well--fit > img { object-fit: contain; }
.lb-well--5-4      { aspect-ratio: 5 / 4; }
.lb-well--portrait { aspect-ratio: 3 / 4.6; }

/* --------------------------------------------------------------- Cards ---- */

/*
 * One product card, used wherever a product appears: the shop grid, the home
 * featured row, related and recently viewed, cross-sells and upsells, the
 * search popup results and both load-more endpoints. Every one of those renders
 * woocommerce/content-product.php, so this is the only place the card is
 * described and a change here reaches all of them.
 *
 * A bordered surface. The image is flush with the top edge, the text is padded
 * beneath it, and a divided band along the bottom carries the price and the
 * link. The border stays a hairline: it is there to give the grid its columns,
 * not to box each product in.
 *
 * `overflow: hidden` is what lets the image reach the edge and still take the
 * corner radius, so the well carries no radius of its own.
 *
 * Category and occasion tiles are deliberately not this component.
 */
.lb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--lb-surface);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-card);
	box-shadow: var(--lb-sh-rest);
	transition: border-color var(--lb-dur) var(--lb-ease),
	            box-shadow var(--lb-dur) var(--lb-ease),
	            transform var(--lb-dur) var(--lb-ease);
}

.lb-card:hover {
	border-color: var(--lb-sand-soft);
	box-shadow: var(--lb-sh-hover);
	transform: translateY(-4px);
}

.lb-card__well {
	border-radius: 0;
	box-shadow: none;
}

.lb-card__badge {
	position: absolute;
	top: var(--lb-s3);
	left: var(--lb-s3);
	z-index: 1;
}

/* The body grows so the foot band always sits on the card's bottom edge, which
   is what keeps a row of uneven cards aligned along the bottom. */
.lb-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: var(--lb-s2);
	padding: var(--lb-s4) var(--lb-s4) var(--lb-s3);
}

.lb-card__series { margin: 0; }

.lb-card__name {
	margin: 0;
	font-family: var(--lb-font-sans);
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.4;
}

.lb-card__name a { color: var(--lb-ink); }
.lb-card__name a:hover { color: var(--lb-violet-ink); }

/* Two lines each, so a long name cannot push a row of cards out of step. */
.lb-card__name a,
.lb-card__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.lb-card__excerpt {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: var(--lb-mute);
}

/*
 * The chip row: the stock line and the Rental / Sale label, both printed into
 * this position by rentopian-sync. `margin-top: auto` drops it to the foot of
 * the body, so the chips line up across a row whatever else each card carries.
 */
.lb-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--lb-s1);
}

/* The row is filled by hooks, so it can come back with nothing in it. */
.lb-card__meta:not(:has(*)) { display: none; }

.lb-card__meta .stock,
.lb-card__meta .rental-stock,
.lb-card__meta .out-of-stock,
.lb-card__meta .product-rental-type {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 4px 9px;
	border-radius: var(--lb-r-control);
	background: var(--lb-linen);
	color: var(--lb-mute);
	font-size: var(--lb-fs-control);
	font-weight: 500;
	line-height: 1.45;
	text-transform: none;
}

.lb-card__meta .stock { background: var(--lb-ok-bg); color: var(--lb-ok); }

/* The parent theme prints its colour dots into this row as well, at priority
   15. Its own rule carries `margin: 8px 0 0`, which would drop the dots below
   the chips they sit beside. */
.lb-card__meta .rentpro-loop-colors { margin: 0; }

/* --------- Foot band: price on the left, the way in on the right --------- */

.lb-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--lb-s3);
	padding: var(--lb-s3) var(--lb-s4);
	border-top: 1px solid var(--lb-line);
}

.lb-card__price { font-size: 19px; }

.lb-card__price del { opacity: .5; margin-right: var(--lb-s2); }
.lb-card__price ins { text-decoration: none; }

.lb-card__view {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 5px;
	margin-left: auto;
	color: var(--lb-violet-ink);
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
}

.lb-card__view .lb-glyph { transition: transform var(--lb-dur) var(--lb-ease); }

.lb-card:hover .lb-card__view .lb-glyph { transform: translateX(3px); }

/* The whole image is one link, laid over the picture inside the well. */
.lb-card__cover {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}

/* A card in a narrow column gives up some of its padding before it gives up
   any of its picture. */
@media (max-width: 599px) {
	.lb-card__name { font-size: 13.5px; }
	.lb-card__price { font-size: 17px; }
	.lb-card__body { padding: var(--lb-s3) var(--lb-s3) var(--lb-s2); }
	.lb-card__foot { padding: var(--lb-s2) var(--lb-s3); }
}


/* Pebble - the white rounded container used for filters and accordions. */
.lb-pebble {
	background: var(--lb-surface);
	border-radius: var(--lb-r-card);
	box-shadow: var(--lb-sh-rest);
	padding: var(--lb-s5);
}

.lb-panel {
	border-radius: var(--lb-r-panel);
	background: var(--lb-surface);
	box-shadow: var(--lb-sh-panel);
}

/* --------------------------------------------------------------- Forms ---- */

/*
 * Two things are held out of the generic field styling.
 *
 * Plugin cards ship their own controls, and rounding those would turn steppers
 * that are meant to be square into pills.
 *
 * Components that bring their own control styling are held out for a different
 * reason. This selector is `.lb-scope` plus an attribute selector plus a :not(),
 * which is more specific than a plain two-class component rule - so without the
 * exclusion the generic look silently wins on radius, height and background and
 * the component's own rules do nothing.
 */
.lb-scope input[type="text"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="email"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="tel"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="url"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="number"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="search"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope input[type="password"]:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope select:not([class*="rntp-"]):not(.lb-field__control),
.lb-scope textarea:not([class*="rntp-"]):not(.lb-field__control) {
	min-height: 44px;
	padding: 11px 18px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-pill);
	background: var(--lb-surface);
	color: var(--lb-ink);
	font-family: var(--lb-font-sans);
	font-size: 14px;
	transition: border-color var(--lb-dur) var(--lb-ease);
}

/*
 * A textarea is too tall to carry the pill radius the single-line controls use.
 * This has to repeat the shape of the selector above it: written as plain
 * `.lb-scope textarea` it is less specific than that rule and never applied, so
 * every textarea on the site rendered as a pill.
 */
.lb-scope textarea:not([class*="rntp-"]):not(.lb-field__control) {
	border-radius: var(--lb-r-thumb);
	min-height: 120px;
}

.lb-scope input:focus,
.lb-scope select:focus,
.lb-scope textarea:focus {
	border-color: var(--lb-ink);
}

.lb-label {
	display: block;
	font-size: var(--lb-fs-control);
	font-weight: 500;
	color: var(--lb-ink);
	margin-bottom: var(--lb-s2);
}

/* ------------------------------------------------------- Quantity pill ---- */

/* The number input keeps its name, value and classes so WooCommerce and
   rentopian-sync read it exactly as they do with the default markup. */
.lb-qty {
	display: inline-flex;
	align-items: center;
	gap: var(--lb-s1);
	padding: 4px;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-pill);
	background: var(--lb-surface);
}

.lb-qty__btn {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--lb-r-pill);
	background: transparent;
	color: var(--lb-ink);
	font-size: 17px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--lb-dur) var(--lb-ease);
}

.lb-qty__btn:hover { background: var(--lb-sand-soft); }
.lb-qty__btn[disabled] { opacity: .3; cursor: default; }

.lb-scope .lb-qty input.qty,
.lb-scope .lb-qty input[type="number"] {
	width: 56px;
	min-height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
	font-family: var(--lb-font-serif);
	font-size: 17px;
	color: var(--lb-ink);
	-moz-appearance: textfield;
}

.lb-qty input::-webkit-outer-spin-button,
.lb-qty input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* ------------------------------------------------------- Progress rail ---- */

.lb-rail {
	position: relative;
	height: 2px;
	width: 150px;
	background: var(--lb-line);
	border-radius: var(--lb-r-pill);
	overflow: hidden;
}

/*
 * The thumb of a scrollbar: width is the share of the track on screen, left is
 * how far it has travelled. It carries no transition on purpose - it is driven
 * from the scroll event, so a transition would make it lag behind the track it
 * is meant to be reporting.
 */
.lb-rail__fill {
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 0;
	background: var(--lb-sand);
	border-radius: inherit;
}

/* ------------------------------------------------------------- Scrims ----- */

.lb-scrim {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

/* Scrims hold >= .66 alpha across the text column, then fade. */
.lb-scrim--bottom {
	background: linear-gradient(
		to top,
		rgba(26, 22, 32, .88) 0%,
		rgba(26, 22, 32, .74) 34%,
		rgba(26, 22, 32, .2) 68%,
		rgba(26, 22, 32, 0) 100%
	);
}

.lb-scrim--left {
	background: linear-gradient(
		78deg,
		rgba(26, 22, 32, .92) 0%,
		rgba(26, 22, 32, .78) 38%,
		rgba(26, 22, 32, .28) 62%,
		rgba(26, 22, 32, 0) 88%
	);
}

/* ------------------------------------------------------ Section grounds --- */

/* 40px cap where one section meets the next. */
.lb-ground-linen {
	background: var(--lb-linen);
	border-radius: var(--lb-r-section) var(--lb-r-section) 0 0;
}

.lb-ground-ink {
	background: var(--lb-ink);
	color: var(--lb-paper);
	border-radius: var(--lb-r-section) var(--lb-r-section) 0 0;
}

.lb-ground-ink .lb-lede,
.lb-ground-ink .lb-meta { color: rgba(251, 249, 246, .66); }

.lb-ground-ink a { color: var(--lb-paper); }
.lb-ground-ink a:hover { color: var(--lb-sand); }

/* ------------------------------------------------------------- Utility ---- */

.lb-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.lb-section { padding-block: var(--lb-s8); }

@media (max-width: 899px) {
	.lb-section { padding-block: var(--lb-s7); }
}

/* --------------------------------------------- Parent theme adjustments --- */

/* The parent renders a title bar above archives and single products. The child
   supplies its own banner on those views, so the duplicate is hidden there
   rather than site-wide. */
body.lb-has-banner .page-title-bar,
body.lb-has-banner .title-bar,
body.lb-has-banner .rentpro-title-bar {
	display: none;
}

/* The parent's container adds side padding that fights the inset panels. */
body.lb-scope .page-content > .container,
body.lb-scope .page-content > .container-fluid {
	max-width: none;
	padding-inline: 0;
}

/* --------------------------------------------------------------- Footer -- */

.lb-footer {
	margin-top: var(--lb-s9);
	padding-top: var(--lb-s8);
}

/*
 * The brand column is wide and fixed; the rest share what is left and wrap on
 * their own. auto-fit rather than auto-fill so two columns spread across the
 * row instead of leaving a gap where a third would have been - the footer is
 * built to render with any of its bands missing.
 */
.lb-footer__inner {
	display: grid;
	grid-template-columns: minmax(260px, 1.4fr) repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--lb-s7);
	padding-bottom: var(--lb-s7);
}

.lb-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--lb-s3);
	max-width: 420px;
}

/* The mark is a rounded square, not a circle. Circles are kept for the utility
   controls - search, arrows, close - so the brand never reads as one. */
.lb-footer__mark {
	width: 56px;
	height: 56px;
	border-radius: var(--lb-r-thumb);
	object-fit: cover;
}

.lb-footer__name {
	font-family: var(--lb-font-serif);
	font-size: 26px;
	line-height: 1.15;
	color: var(--lb-paper);
}

.lb-footer__tagline {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(251, 249, 246, .72);
}

.lb-footer__heading {
	margin: 0 0 var(--lb-s4);
	color: var(--lb-sand);
}

.lb-footer__col {
	display: flex;
	flex-direction: column;
}

.lb-footer__menu {
	display: flex;
	flex-direction: column;
	gap: var(--lb-s3);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
}

.lb-footer__menu--inline {
	flex-direction: row;
	flex-wrap: wrap;
	gap: var(--lb-s4);
}

.lb-footer__contact {
	gap: var(--lb-s2);
	font-size: 14px;
	color: rgba(251, 249, 246, .72);
}

.lb-footer__address {
	margin: 0 0 var(--lb-s2);
	font-style: normal;
	line-height: 1.6;
}

.lb-scope .lb-footer__link {
	color: var(--lb-paper);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(251, 249, 246, .35);
	transition: text-decoration-color var(--lb-dur) var(--lb-ease);
}

.lb-scope .lb-footer__link:hover { text-decoration-color: var(--lb-sand); }

.lb-footer__hours {
	margin: var(--lb-s2) 0 0;
	line-height: 1.6;
}

.lb-footer__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--lb-s3);
	padding-block: var(--lb-s5);
	border-top: 1px solid rgba(251, 249, 246, .14);
}

.lb-footer__badges-label {
	margin-right: var(--lb-s2);
	color: var(--lb-sand);
}

.lb-footer__badge {
	padding: 6px 13px;
	border: 1px solid rgba(251, 249, 246, .22);
	border-radius: var(--lb-r-pill);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .08em;
	color: rgba(251, 249, 246, .82);
}

.lb-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--lb-s4);
	padding-block: var(--lb-s5);
	border-top: 1px solid rgba(251, 249, 246, .14);
}

.lb-footer__copy {
	margin: 0;
	font-size: 13px;
	color: rgba(251, 249, 246, .6);
}

.lb-footer__legal { margin-left: var(--lb-s3); }

.lb-footer__base-nav .lb-footer__menu { font-size: 13px; }

@media (max-width: 767px) {
	.lb-footer__inner { grid-template-columns: minmax(0, 1fr); gap: var(--lb-s6); }
	.lb-footer__base { justify-content: flex-start; }
}

/* Glyph icons sit on the text baseline of their control. */
.lb-glyph {
	display: inline-block;
	line-height: 1;
	font-style: normal;
}

/* The parent spaces stacked list items; the child lists are laid out with
   flex gaps, so the inherited top margin only doubles the spacing. */
.lb-scope .lb-menu li + li,
.lb-scope .lb-footer__menu li + li,
.lb-scope .lb-pebbles__grid li + li,
.lb-scope .lb-filter-group__list li + li,
.lb-scope .lb-thumbs__track li + li {
	margin: 0;
}

/* ------------------------------------------------------- Search popup ----- */

/* The plugin's close control is an oversized bare glyph; this brings it to the
   same round-button language as the rest of the chrome. */
.lb-scope .rental-plugin-popup-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-pill);
	background: var(--lb-surface);
	color: var(--lb-ink);
	font-family: var(--lb-font-sans);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background var(--lb-dur) var(--lb-ease),
	            color var(--lb-dur) var(--lb-ease),
	            border-color var(--lb-dur) var(--lb-ease);
}

.lb-scope .rental-plugin-popup-close:hover {
	background: var(--lb-ink);
	border-color: var(--lb-ink);
	color: var(--lb-paper);
}

/* The footer category column pairs each name with its live product count. The
   other footer menus keep their plain inline links. */
.lb-footer__menu--cats a {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--lb-s3);
}

.lb-footer__cat-count {
	flex: none;
	color: rgba(251, 249, 246, .45);
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------- Search overlay -- */

/*
 * rentopian-sync renders this popup into wp_footer and opens it from the
 * header's .page-open-popup-search button. The markup, the ids and the script
 * are the plugin's; only the appearance is restated here.
 *
 * The plugin styles it as `#rental-plugin-search-popup .thing`, so every rule
 * below adds the theme's body class to get above that without !important. The
 * plugin keeps ownership of opening, closing and submitting.
 */
.lb-scope #rental-plugin-search-popup .rental-plugin-popup-overlay {
	background: rgba(26, 22, 32, .55);
	backdrop-filter: blur(6px);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-popup-inner {
	max-width: min(620px, calc(100% - var(--lb-s6)));
	margin: 14vh auto 0;
	padding: var(--lb-s6);
	border-radius: var(--lb-r-card);
	background: var(--lb-surface);
	box-shadow: var(--lb-sh-panel);
}

/*
 * The close control is one of the theme's utility circles. The plugin sets only
 * `background: none; border: none`, which leaves the glyph taking its colour
 * from the parent theme's button rules - and against a white panel that is the
 * button text colour, so the multiplication sign is there but invisible. Colour
 * and size are both stated here.
 */
.lb-scope #rental-plugin-search-popup .rental-plugin-popup-close {
	position: absolute;
	top: var(--lb-s4);
	right: var(--lb-s4);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: var(--lb-r-pill);
	background: var(--lb-linen);
	color: var(--lb-ink);
	font-size: 19px;
	font-weight: 400;
	line-height: 1;
	cursor: pointer;
	transition: background var(--lb-dur) var(--lb-ease),
	            color var(--lb-dur) var(--lb-ease);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-popup-close:hover,
.lb-scope #rental-plugin-search-popup .rental-plugin-popup-close:focus-visible {
	background: var(--lb-sand-soft);
	color: var(--lb-ink);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-form {
	gap: var(--lb-s3);
	margin-top: var(--lb-s6);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-input {
	height: 52px;
	padding: 0 var(--lb-s4);
	border: 1px solid var(--lb-line);
	border-radius: var(--lb-r-control);
	background: var(--lb-paper);
	color: var(--lb-ink);
	font-size: 15px;
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-input::placeholder {
	color: var(--lb-mute);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-input:focus {
	outline: none;
	border-color: var(--lb-violet);
	box-shadow: var(--lb-ring-active);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-submit {
	height: 52px;
	padding: 0 var(--lb-s6);
	border: 0;
	border-radius: var(--lb-r-control);
	background: var(--lb-violet);
	color: #FFF;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .01em;
	cursor: pointer;
	transition: background var(--lb-dur) var(--lb-ease);
}

.lb-scope #rental-plugin-search-popup .rental-plugin-search-submit:hover {
	background: var(--lb-violet-ink);
}

/* On a phone the two controls stack rather than squeezing the input. */
@media (max-width: 479px) {
	.lb-scope #rental-plugin-search-popup .rental-plugin-popup-inner {
		margin-top: 9vh;
		padding: var(--lb-s5);
	}

	.lb-scope #rental-plugin-search-popup .rental-plugin-search-form {
		flex-wrap: wrap;
	}

	.lb-scope #rental-plugin-search-popup .rental-plugin-search-input,
	.lb-scope #rental-plugin-search-popup .rental-plugin-search-submit {
		flex: 1 0 100%;
	}
}
