/* ==========================================================================
   Filmcare skin for booqable.js widgets.

   booqable.js injects its own stylesheets after ours, so selectors here are
   scoped under .fc-bq (theme wrapper around every widget) or the portal ids
   (#booqable-sidebar-inner, #booqable-quickview, #rental-options-wizard) to
   win on specificity. !important is used only where Booqable itself uses it
   (.bq-branded colours) or sets layout inline/with media queries.

   Selectors use Booqable's stable bq-* / booqable-* classes. The styled-
   components classes (e.g. "Collection-hcKCxl icWgzy") change per Booqable
   release; where unavoidable they're matched by prefix ([class*="Collection-"]).
   ========================================================================== */

/* ---------- Booqable's own custom properties → Filmcare tokens ----------
   html:root beats Booqable's :root. Values reference --c-* tokens, so night
   mode follows automatically. */
html:root {
	--bq-store-brand-color: #1F6FE5;
	--bq-store-brand-text-color: #FFFFFF;

	/* Rental-period wizard (modal) */
	--bq-rental-options-font-family: var(--font-body);
	--bq-rental-options-background-default: var(--c-surface);
	--bq-rental-options-background-light: var(--c-band);
	--bq-rental-options-background-highlight: var(--c-selected-bg);
	--bq-rental-options-background-accent: var(--c-primary);
	--bq-rental-options-background-accent-hover: #1858B8;
	--bq-rental-options-text-default: var(--c-text);
	--bq-rental-options-text-light: var(--c-muted);
	--bq-rental-options-text-on-accent: #FFFFFF;
	--bq-rental-options-border-light: var(--c-border);
	--bq-rental-options-border-medium: var(--c-border-strong);
	--bq-rental-options-border-strong: var(--c-text);
	--bq-rental-options-color-focus: var(--c-ring);
	--bq-rental-options-color-error: var(--c-error);
	--bq-rental-options-color-success: var(--c-ok);
	--bq-rental-options-border-radius-default: var(--radius-input);
	--bq-rental-options-border-radius-block: var(--radius-card);
	--bq-rental-options-border-radius-button: var(--radius-pill);
	--bq-rental-options-button-height: 48px;
	--bq-rental-options-backdrop-padding: 16px;

	/* Date picker (cart sidebar / clean state) */
	--date-picker-background-color: var(--c-surface);
	--date-picker-text-color: var(--c-text);
	--date-picker-icon-color: var(--c-primary);
	--date-picker-placeholder-color: var(--c-muted);
	--date-picker-section-border: 1px solid var(--c-border);
	--date-picker-border-radius: var(--radius-card);
	--date-picker-box-shadow: none;
	--date-picker-error-color: var(--c-error);
}

/* Skin-only tokens (light), with dark values for the toggle AND the system setting. */
:root { --fc-pill-bg: #EEF0F3; --fc-pill-fg: #566070; --fc-ok-bg: #E3F3E8; --fc-no-bg: #FCE8E6; --fc-header-ring: #FFFFFF; --fc-cal-ok: #DCEFE3; --fc-cal-ok-strong: #A9D8B8; }
:root[data-theme="dark"] { --fc-pill-bg: #2A313C; --fc-pill-fg: #C3CAD4; --fc-ok-bg: #163525; --fc-no-bg: #3D1B1B; --fc-header-ring: #6AA6FF; --fc-cal-ok: #1B4330; --fc-cal-ok-strong: #2C6B49; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --fc-pill-bg: #2A313C; --fc-pill-fg: #C3CAD4; --fc-ok-bg: #163525; --fc-no-bg: #3D1B1B; --fc-header-ring: #6AA6FF; --fc-cal-ok: #1B4330; --fc-cal-ok-strong: #2C6B49; }
}

/* Period picker inside the wizard reads its own palette; point it at ours. */
html:root .shop-period-picker {
	--bq-period-picker-font-family: var(--font-body);
	--bq-period-picker-bg-base: var(--c-surface);
	--bq-period-picker-text-strong: var(--c-text);
	--bq-period-picker-text-regular: var(--c-text);
	--bq-period-picker-text-light: var(--c-soft);
	--bq-period-picker-text-xlight: var(--c-muted);
	--bq-period-picker-text-xxlight: var(--c-muted);
	--bq-period-picker-neutral-100: var(--c-text);
	--bq-period-picker-neutral-inverse: var(--c-bg);
	--bq-period-picker-period-start-end-bg: var(--c-primary);
	--bq-period-picker-period-start-end-color: #FFFFFF;
	--bq-period-picker-focus-outline-color: var(--c-ring);
	--bq-period-picker-blue-100: var(--c-primary);
	/* Availability colours: Booqable's "sage" theme is a pale green that the
	   light date text disappears on in night mode. Ours follows light/dark. */
	--bq-period-picker-availability-lighter: var(--fc-cal-ok);
	--bq-period-picker-availability-stronger: var(--fc-cal-ok-strong);
}
.period-picker-container .day-cell.available .day-circle,
.period-picker-portal .day-cell.available .day-circle { color: var(--c-text); }
.period-picker-container .day-cell:not(.disabled) .qty-number,
.period-picker-portal .day-cell:not(.disabled) .qty-number { color: var(--c-ok); font-weight: 600; }
.period-picker-container .day-cell:is(.period-start, .period-end, .period-start-end) .qty-number,
.period-picker-portal .day-cell:is(.period-start, .period-end, .period-start-end) .qty-number { color: inherit; }

/* ---------- Fonts: Open Sans everywhere, Poppins for product names ---------- */
.fc-bq *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(svg):not(path):not(.bq-product-name),
#booqable-sidebar-inner *:not(i):not(svg):not(path):not(.bq-product-name):not(.bq-title),
#booqable-quickview *:not(i):not(svg):not(path):not(.bq-product-name),
#rental-options-wizard *:not(i):not(svg):not(path) {
	font-family: var(--font-body) !important;
}
.fc-bq .bq-product-name,
#booqable-quickview .bq-product-name {
	font-family: var(--font-head) !important;
}

.fc-bq .booqable-component,
.fc-bq [class*="Themed-"] { color: var(--c-text); font-size: 15px; }

/* ---------- Brand colour: #2B80FF fails 4.5:1 with white text; use #1F6FE5 ---------- */
.fc-bq .bq-branded,
#booqable-sidebar-inner .bq-branded,
#booqable-quickview .bq-branded {
	background: var(--c-primary) !important;
	color: #FFFFFF !important;
}

/* ---------- Header cart button ([booqable_cart_button]) ---------- */
.fc-cart { position: relative; display: inline-flex; }
.fc-cart .fc-bq,
.fc-cart .booqable-cart-button,
.fc-cart .booqable-component,
.fc-cart [class*="Wrapper-"] { display: inline-flex !important; }
.fc-cart .bq-cart-button {
	display: inline-flex; align-items: center; gap: 10px;
	height: var(--tap); min-width: var(--tap); padding: 0 18px; margin: 0;
	border: 0; border-radius: var(--radius-pill);
	background: var(--c-header-btn); color: var(--c-on-header-btn);
	font-family: var(--font-body); font-size: 14px; font-weight: 700;
	letter-spacing: var(--tracking-caps); text-transform: uppercase; line-height: 1;
	position: relative; cursor: pointer;
}
.fc-cart .bq-cart-button svg { width: 18px; height: 18px; order: 0; color: currentColor; }
.fc-cart .bq-cart-button svg * { stroke: currentColor; }
.fc-cart .bq-cart-button::after { content: "Cart"; order: 1; }
.fc-cart .bq-cart-button .bq-cart-button__line-count {
	order: 2; position: static; transform: none;
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 22px; padding: 0 6px; margin: 0;
	border-radius: var(--radius-pill);
	background: var(--c-header-badge) !important; color: var(--c-on-header-badge) !important;
	font-size: 12px; font-weight: 700; letter-spacing: 0; line-height: 1;
}
.fc-header .fc-cart .bq-cart-button:focus-visible { outline: 3px solid var(--fc-header-ring); outline-offset: 2px; }
/* Focus ring: white on the blue header, brand ring on the dark header (--fc-header-ring below). */
.fc-header .fc-cart .bq-cart-button:focus-visible { outline-color: var(--fc-header-ring); }

@media (max-width: 640px) {
	.fc-cart .bq-cart-button { width: var(--tap); padding: 0; justify-content: center; }
	.fc-cart .bq-cart-button::after { content: none; }
	.fc-cart .bq-cart-button .bq-cart-button__line-count {
		position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px;
		font-size: 11px; border: 2px solid var(--c-header);
	}
}

/* ---------- Rental period button ([booqable_datepicker]) ---------- */
.fc-bq--datepicker .bq-date-picker-button { margin: 0; }
.fc-bq--datepicker .bq-date-picker-button-wrapper {
	width: 100%; min-height: 56px; margin: 0; padding: 8px 16px 8px 52px; position: relative;
	display: flex; align-items: center; justify-content: flex-start; text-align: left;
	background: var(--c-surface); color: var(--c-text);
	border: 1px solid var(--c-border-strong); border-radius: var(--radius-card);
	font-size: 16px; font-weight: 700; cursor: pointer;
}
.fc-bq--datepicker .bq-date-picker-button-wrapper::before {
	content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	background: var(--c-link);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fc-bq--datepicker .bq-date-picker-button-wrapper:hover { border-color: var(--c-primary); }
.fc-bq--datepicker .bq-date-picker-button-text,
.fc-bq--datepicker .bq-date-picker-button-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; color: var(--c-text); }
.fc-bq--datepicker .bq-date-picker-button-expanded-title { font-weight: 400; color: var(--c-muted); }
.fc-bq--datepicker .bq-date-picker-button-dates svg { color: var(--c-muted); }

/* ---------- Search + sort bar ([booqable_bar]) ---------- */
.fc-bq--bar .booqable-filter-bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
	margin: 0; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
.fc-bq--bar .bq-product-search-component {
	flex: 1 1 280px; position: relative; display: flex; align-items: center;
	height: var(--tap); margin: 0; overflow: hidden;
	background: var(--c-field); border: 1px solid var(--c-border-strong); border-radius: var(--radius-pill);
}
.fc-bq--bar .bq-product-search-component:focus-within { border-color: var(--c-ring); box-shadow: 0 0 0 2px var(--c-ring); }
.fc-bq--bar .bq-product-search-icon {
	position: absolute; left: 0; top: 0; bottom: 0; width: 44px; height: auto; margin: 0;
	display: flex; align-items: center; justify-content: center; pointer-events: none;
	background: transparent !important; color: var(--c-muted) !important; border-radius: 0;
}
.fc-bq--bar .bq-product-search-icon i { color: var(--c-muted) !important; font-size: 15px; }
.fc-bq--bar .bq-product-search-input {
	width: 100%; height: 100%; margin: 0; padding: 0 16px 0 42px !important;
	background: transparent; border: 0; box-shadow: none; outline: none;
	color: var(--c-text); font-size: 15px;
}
.fc-bq--bar .bq-product-search-input::placeholder { color: var(--c-muted); opacity: 1; }
.fc-bq--bar .bq-sorting-select {
	flex: 0 0 auto; position: relative; height: var(--tap); margin: 0; padding: 0 14px;
	display: flex; align-items: center;
	background: var(--c-field); border: 1px solid var(--c-border-strong); border-radius: var(--radius-pill);
}
.fc-bq--bar select.bq-sort {
	height: 100%; min-width: 150px; padding: 0 22px 0 4px; border: 0; background: transparent;
	color: var(--c-text); font-size: 14px; cursor: pointer;
}
.fc-bq--bar select.bq-sort option { background: var(--c-surface); color: var(--c-text); }
.fc-bq--bar .bq-sorting-select::after { border-color: var(--c-muted) !important; }
@media (max-width: 640px) {
	.fc-bq--bar .bq-product-search-input { font-size: 16px; }   /* no iOS zoom */
	.fc-bq--bar .bq-sorting-select { flex: 1 1 100%; }
	.fc-bq--bar select.bq-sort { width: 100%; }
}

/* ---------- Collections ([booqable_collections]) ---------- */
.fc-bq--collections .bq-sidebar-component { margin: 0; padding: 0; }
.fc-bq--collections ul { list-style: none; margin: 0; padding: 0; }
.fc-bq--collections ul ul { padding-left: 14px; margin: 2px 0 4px; border-left: 1px solid var(--c-border); margin-left: 14px; }
.fc-bq--collections li { margin: 0; padding: 0; }
.fc-bq--collections li > div {
	display: flex; align-items: center; gap: 6px;
	min-height: 40px; margin: 1px 0; padding: 8px 10px; border-radius: var(--radius-input);
	color: var(--c-soft); font-size: 15px; font-weight: 400; line-height: 1.3; cursor: pointer;
	background: transparent;
}
.fc-bq--collections li > div:hover { background: var(--c-band); color: var(--c-text); }
.fc-bq--collections li > div[data-fc-active] { background: var(--c-selected-bg); color: var(--c-text); font-weight: 700; }
.fc-bq--collections li > div > div { flex: 1; min-width: 0; color: inherit; font-weight: inherit; }
.fc-bq--collections li > div > span { margin-left: auto; color: var(--c-muted); font-size: 13px; font-weight: 400; }
.fc-bq--collections li > div > i { order: 3; color: var(--c-muted); font-size: 11px; width: 14px; }

/* Mobile: collections as chips; an opened parent shows its children as a second chip row. */
@media (max-width: 640px) {
	.fc-bq--collections .bq-sidebar-component > ul { display: flex; flex-wrap: wrap; gap: 8px; }
	.fc-bq--collections li { display: contents; }
	.fc-bq--collections ul ul {
		order: 1; flex: 0 0 100%; display: flex; flex-wrap: wrap; gap: 6px;
		margin: 2px 0 0; padding: 10px 0 0; border-left: 0; border-top: 1px solid var(--c-border);
	}
	.fc-bq--collections li > div {
		min-height: 40px; margin: 0; padding: 0 14px; gap: 6px;
		border: 1px solid var(--c-border-strong); border-radius: var(--radius-pill);
		font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--c-text);
	}
	.fc-bq--collections ul ul li > div { min-height: 36px; font-size: 13px; background: var(--c-band); border-color: var(--c-border); }
	.fc-bq--collections li > div[data-fc-active] { border-color: var(--c-primary); background: var(--c-selected-bg); }
	.fc-bq--collections li > div > span { display: none; }
	.fc-bq--collections li > div > div { flex: none; }
}

/* ---------- Product list ([booqable_list]) ---------- */
.fc-bq .booqable-product-list-wrapper { margin: 0; padding: 0; }
.fc-bq .booqable-product-list-notice {
	margin: 0 0 16px; padding: 12px 16px; text-align: center;
	background: var(--c-band); color: var(--c-soft); border: 1px solid var(--c-border); border-radius: var(--radius-card);
	font-size: 14px;
}
.fc-bq .booqable-product-list-notice.clickable { cursor: pointer; color: var(--c-link); text-decoration: underline; text-underline-offset: 0.15em; }
.fc-bq .booqable-product-list-grid .booqable-product-list-notice { grid-column: 1 / -1; }
.fc-bq .booqable-product-list-grid {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 16px; margin: 0 !important; padding: 0 !important;
}
.fc-bq .booqable-product-list .booqable-product {
	width: auto !important; max-width: none !important; min-width: 0 !important; flex: none !important;
	margin: 0 !important; padding: 0 !important; cursor: pointer; border-radius: var(--radius-card);
}
.fc-bq .booqable-product:focus-visible { outline: 3px solid var(--c-ring); outline-offset: 2px; }
.fc-bq .booqable-product-list .booqable-product-wrapper { height: 100%; width: auto !important; min-width: 0 !important; margin: 0; padding: 0; }
.fc-bq .booqable-product-inner {
	height: 100%; display: flex; flex-direction: column; overflow: hidden;
	background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-card); box-shadow: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fc-bq .booqable-product:hover .booqable-product-inner { border-color: var(--c-border-strong); box-shadow: 0 4px 14px rgba(18, 22, 28, 0.08); }
/* Photos are shot on white: keep the photo well white in both modes. */
.fc-bq .booqable-product [class*="BFocalImage"] { background: #FFFFFF; border-radius: 0; }
.fc-bq .booqable-product img { object-fit: contain; }
.fc-bq .booqable-product .bq-details {
	flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
	padding: 12px 14px 14px; border-top: 1px solid var(--c-border);
}
.fc-bq .booqable-product .bq-details > div:first-child:empty { display: none; }
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-button[data-link] { display: none !important; } /* only opens the pop-up */
.fc-bq .booqable-product-list .booqable-product .bq-product-title-wrapper { width: 100%; margin: 0; padding: 0; min-height: 0; }
.fc-bq .booqable-product-list .booqable-product .bq-product-name {
	margin: 0; color: var(--c-text); font-size: 15px; font-weight: 600; line-height: 1.3;
	white-space: normal !important; text-overflow: clip !important;
	display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-price-details {
	margin-top: auto; display: flex !important; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; color: var(--c-text);
}
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-price { order: 0; font-size: 16px; font-weight: 700; color: var(--c-text); }
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-duration { order: 1; font-size: 13px; color: var(--c-muted); }
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-duration::before { content: "/ "; }
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-status { margin-top: 0 !important; position: static; }

/* Availability pill (only shown once a rental period is set) */
.fc-bq .bq-status.bq-branded {
	display: inline-flex; align-items: center; gap: 3px; margin: 0; padding: 3px 10px;
	border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; line-height: 1.4;
	background: var(--fc-pill-bg) !important; color: var(--fc-pill-fg) !important;
}
.fc-bq .bq-status.bq-branded.bq-available { background: var(--fc-ok-bg) !important; color: var(--c-ok) !important; }
/* Booqable's own red "Unavailable" (white on #F85454 ≈ 3:1) → soft red pill with dark red text
   (light 5.6:1, dark 6.7:1). The word itself carries the meaning, not only the colour. */
.fc-bq .bq-status.bq-unavailable,
.fc-bq .booqable-product-list .booqable-product .bq-details .bq-status.bq-unavailable {
	display: inline-flex; align-items: center; margin: 0; padding: 3px 10px;
	border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; line-height: 1.4;
	background: var(--fc-no-bg) !important; color: var(--c-error) !important;
}

/* Pagination / load more (Booqable buttons) */
.fc-bq .booqable-product-list-wrapper .bq-button:not([data-link]),
.fc-bq .booqable-product-list-wrapper button[class*="Button-"] {
	min-height: var(--tap); padding: 0 20px; border: 1px solid var(--c-ink); border-radius: var(--radius-pill);
	background: transparent !important; color: var(--c-text) !important; font-weight: 700; font-size: 15px;
}

@media (max-width: 640px) {
	.fc-bq .booqable-product-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.fc-bq .booqable-product .bq-details { padding: 10px; }
	.fc-bq .booqable-product .bq-product-name { font-size: 14px; }
}

/* ---------- Product detail ([booqable_detail]) ---------- */
/* Booqable's own two-column layout (photo left, details right) is kept:
   only the card frame and colours change. */
.fc-bq--detail .booqable-component-product-detail { background: transparent !important; box-shadow: none !important; border-radius: 0; }
.fc-bq--detail .booqable-product-detail-wrapper { margin: 0; background: transparent; border: 0; box-shadow: none; color: var(--c-text); }
.fc-bq--detail [class*="MainImageContainer-"],
.fc-bq--detail [class*="MainImage-"] [class*="BFocalImage"] { background: #FFFFFF; border-radius: var(--radius-card); }
.fc-bq--detail [class*="ProductImage-"] { border-radius: var(--radius-card); }
.fc-bq--detail [class*="Controls-"] i { color: var(--c-muted); }
.fc-bq--detail [class*="GalleryImageContainer-"] { border-radius: var(--radius-sm); background: #FFFFFF; }
.fc-bq--detail .bq-content .bq-product-name {
	margin: 0 0 12px; color: var(--c-text); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
}
.fc-bq--detail .bq-actions > * + * { margin-top: 10px; }
.fc-bq--detail .bq-price-details { display: flex; flex-direction: column; gap: 2px; }
.fc-bq--detail .bq-content .bq-price-details .bq-duration { font-size: 13px; color: var(--c-muted); }
.fc-bq--detail .bq-content .bq-price-details .bq-price { font-size: 24px !important; font-weight: 700 !important; color: var(--c-text); }
.fc-bq--detail .bq-status.bq-branded { align-self: flex-start; }
.fc-bq--detail bq-product-availability-calendar { color: var(--c-link); font-size: 14px; }
.fc-bq--detail .bq-control { display: flex; align-items: stretch; gap: 10px; max-width: 380px; }
.fc-bq--detail .bq-control [class*="InputField-"] { flex: 0 0 84px; width: 84px; margin: 0; }
.fc-bq--detail .bq-control [class*="Spacer-"] { display: none; }
.fc-bq--detail input.bq-quantity {
	width: 100%; height: 48px; padding: 0 12px; margin: 0;
	background: var(--c-field); color: var(--c-text); border: 1px solid var(--c-border-strong); border-radius: var(--radius-input);
	font-size: 16px;
}
.fc-bq--detail .bq-control [class*="ButtonContainer-"] { flex: 1; display: flex; }
.fc-bq--detail .bq-control button.bq-button {
	flex: 1; width: 100%; height: 48px; padding: 0 24px; margin: 0;
	background: var(--c-primary) !important; color: #FFFFFF !important; border: 0; border-radius: var(--radius-pill) !important;
	font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0; box-shadow: none; cursor: pointer;
}
.fc-bq--detail .bq-control button.bq-button * { color: #FFFFFF !important; }
.fc-bq--detail .bq-control button.bq-button:hover { filter: brightness(1.06); }
.fc-bq--detail .bq-product-description {
	margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--c-border);
	color: var(--c-soft); font-size: 15px; line-height: 1.6;
}
.fc-bq--detail .bq-product-description * { color: inherit; }
.fc-bq--detail .bq-product-description strong { color: var(--c-text); }
.fc-bq--detail .bq-product-description ul { padding-left: 1.2em; }

/* ---------- Mini cart (portal opened by the header cart button) ---------- */
#booqable-sidebar-inner {
	background: var(--c-surface) !important; color: var(--c-text);
	border: 1px solid var(--c-border); border-radius: var(--radius-card); overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
#booqable-sidebar-inner .bq-sidebar-head,
#booqable-sidebar-inner .bq-sidebar-head .bq-branded { background: var(--c-header) !important; color: var(--c-header-text) !important; }
#booqable-sidebar-inner .bq-title { font-family: var(--font-head) !important; font-weight: 600; letter-spacing: 0.02em; }
#booqable-sidebar-inner .bq-sidebar-head [class*="DatesBase-"] { border-color: rgba(255, 255, 255, 0.5) !important; border-radius: var(--radius-input); }
#booqable-sidebar-lines { background: var(--c-band) !important; }
#booqable-sidebar-inner .bq-list-item {
	background: var(--c-surface) !important; color: var(--c-text);
	border: 1px solid var(--c-border); border-radius: var(--radius-card); box-shadow: none;
}
#booqable-sidebar-inner .bq-product-name { color: var(--c-text); font-family: var(--font-head) !important; font-weight: 600; }
#booqable-sidebar-inner .bq-price { color: var(--c-text); font-weight: 700; }
#booqable-sidebar-inner .bq-quantity-toggle,
#booqable-sidebar-inner .bq-remove-product {
	min-width: 32px; min-height: 32px; border-radius: var(--radius-pill);
	background: var(--c-field); color: var(--c-text); border: 1px solid var(--c-border-strong);
}
#booqable-sidebar-inner .bq-remove-product { border-color: transparent; background: transparent; }
#booqable-sidebar-summary { background: var(--c-surface) !important; color: var(--c-text); border-top: 1px solid var(--c-border); }
#booqable-sidebar-summary .bq-detail { color: var(--c-text); }
#booqable-sidebar-summary .bq-detail:not(.bq-strong) { color: var(--c-muted); }
#booqable-sidebar-inner .button-group { gap: 8px; }
#booqable-sidebar-inner .button-group .bq-button {
	min-height: var(--tap); border-radius: var(--radius-pill) !important;
	font-size: 15px; font-weight: 700; text-transform: none; letter-spacing: 0;
}
#booqable-sidebar-inner .button-group a.bq-button { background: transparent !important; color: var(--c-text) !important; border: 1px solid var(--c-ink); }
#booqable-sidebar-inner .bq-disabled,
.fc-bq .bq-disabled { background: var(--c-disabled) !important; color: var(--c-on-disabled) !important; cursor: not-allowed; }
#booqable-sidebar-inner .bq-poweredby a,
.fc-bq .bq-poweredby a { color: var(--c-muted); }

/* ---------- Full cart page ([booqable_embeddable_cart]) ---------- */
.fc-bq--cart .bq-cart { color: var(--c-text); }
.fc-bq--cart .bq-cart .row { display: flex; flex-wrap: wrap; gap: 24px; margin: 0; }
.fc-bq--cart .bq-cart__lines { flex: 999 1 520px; min-width: 0; max-width: none; padding: 0; }
.fc-bq--cart .bq-cart__sidebar { flex: 1 1 320px; min-width: 0; max-width: none; padding: 0; }
.fc-bq--cart .bq-cart-items table { width: 100%; border-collapse: collapse; }
.fc-bq--cart .bq-cart-items thead td {
	padding: 8px 10px; border-bottom: 1px solid var(--c-border-strong);
	color: var(--c-muted); font-size: 12px; font-weight: 700; letter-spacing: var(--tracking-caps); text-transform: uppercase;
}
.fc-bq--cart .bq-cart-item td { padding: 12px 10px; border-bottom: 1px solid var(--c-border); vertical-align: middle; color: var(--c-text); }
.fc-bq--cart .bq-cart-item .bq-product-photo [class*="BFocalImage"] { background: #FFFFFF; border-radius: var(--radius-sm); }
.fc-bq--cart .bq-cart-item .bq-product-name { color: var(--c-text); font-size: 15px; font-weight: 600; }
.fc-bq--cart .bq-quantity.enabled { display: inline-flex; align-items: center; gap: 4px; }
.fc-bq--cart .bq-quantity-toggle,
.fc-bq--cart .bq-remove-product {
	width: 36px; height: 36px; border-radius: var(--radius-pill);
	background: var(--c-field); color: var(--c-text); border: 1px solid var(--c-border-strong); cursor: pointer;
}
.fc-bq--cart .bq-remove-product { background: transparent; border-color: transparent; color: var(--c-muted); }
.fc-bq--cart input.bq-quantity {
	width: 52px; height: 36px; text-align: center;
	background: var(--c-field); color: var(--c-text); border: 1px solid var(--c-border-strong); border-radius: var(--radius-input);
}
.fc-bq--cart .bq-price { font-weight: 700; color: var(--c-text); }
.fc-bq--cart .bq-clean { padding: 32px 16px; text-align: center; color: var(--c-muted); background: var(--c-band); border-radius: var(--radius-card); }
.fc-bq--cart .bq-cart-sidebar {
	display: flex; flex-direction: column; gap: 12px; padding: 20px;
	background: var(--c-band); border: 1px solid var(--c-border); border-radius: var(--radius-card);
}
.fc-bq--cart .bq-cart-sidebar hr { border: 0; border-top: 1px solid var(--c-border); margin: 4px 0; }
.fc-bq--cart .bq-totals .bq-detail { display: flex; justify-content: space-between; gap: 12px; color: var(--c-muted); padding: 2px 0; }
.fc-bq--cart .bq-totals .bq-detail.bq-strong { color: var(--c-text); font-weight: 700; }
.fc-bq--cart .bq-cart-error { display: flex; align-items: center; gap: 8px; color: var(--c-limited); font-size: 14px; }
.fc-bq--cart .bq-checkout-button {
	width: 100%; min-height: 52px; margin: 0; border-radius: var(--radius-pill) !important;
	font-size: 16px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.fc-bq--cart .bq-back-button { background: transparent !important; color: var(--c-text) !important; border: 1px solid var(--c-ink) !important; }

/* ---------- Quick view pop-up (still used by Booqable outside list cards) ---------- */
#booqable-quickview-wrapper.open { background: var(--c-overlay); }
#booqable-quickview-inner { background: var(--c-surface) !important; color: var(--c-text); border-radius: var(--radius-card); }
#booqable-quickview .bq-close { color: var(--c-text); background: transparent; }
#booqable-quickview .bq-product-description { color: var(--c-soft); }

/* ---------- Rental-period wizard (modal) ---------- */
#rental-options-wizard .rental-options-modal { background: var(--c-surface); color: var(--c-text); border-radius: var(--radius-card); }
.rental-options-backdrop { background: var(--c-overlay) !important; }
.fc-bq--cart .bq-service-lines,
#booqable-sidebar-summary .bq-service-lines { background: transparent !important; }

/* ---------- Specificity fixes (Booqable's client CSS sets these with stronger selectors) ---------- */
.fc-bq .booqable-product-list .booqable-product .booqable-product-inner { background: var(--c-surface) !important; box-shadow: none !important; }
.fc-bq .booqable-product-list .booqable-product:hover .booqable-product-inner { box-shadow: 0 4px 14px rgba(18, 22, 28, 0.08) !important; }
.fc-bq .booqable-product-list .booqable-product .bq-product-title-wrapper,
.fc-bq .booqable-product-list .booqable-product .bq-product-name { height: auto !important; max-height: none !important; }
.fc-bq .booqable-product-list .booqable-product .bq-product-name { max-height: 2.6em !important; }
.fc-bq--bar .bq-product-search-component .bq-product-search-input { color: var(--c-text) !important; background: transparent !important; }
.fc-bq--bar .bq-sorting-select select.bq-sort { color: var(--c-text) !important; background: transparent !important; }
.fc-bq--bar .bq-sorting-select { background: var(--c-field) !important; }
.fc-bq--bar .booqable-filter-bar .bq-product-search-component { margin: 0 !important; max-width: none !important; }
@media (max-width: 640px) {
	.fc-bq--bar .booqable-filter-bar .bq-product-search-component { flex: 1 1 100%; width: 100%; }
	.fc-bq--datepicker .bq-date-picker-button-wrapper { font-size: 15px; }
	.fc-bq--datepicker .bq-date-picker-button-dates,
	.fc-bq--datepicker .bq-date-picker-button-text { justify-content: flex-start; text-align: left; width: 100%; }
}
.fc-bq--detail .bq-control input.bq-quantity,
.fc-bq--cart input.bq-quantity { color: var(--c-text) !important; background: var(--c-field) !important; -webkit-text-fill-color: var(--c-text); }
.fc-bq--detail bq-product-availability-calendar { display: block; margin-top: 6px; }

/* Mini cart: Booqable's mobile (full-screen) variant uses id-level selectors */
html body #booqable-sidebar-inner #booqable-sidebar-summary { background: var(--c-surface) !important; color: var(--c-text) !important; }
html body #booqable-sidebar-inner #booqable-sidebar-summary .bq-detail { color: var(--c-muted) !important; }
html body #booqable-sidebar-inner #booqable-sidebar-summary .bq-detail.bq-strong { color: var(--c-text) !important; }
html body #booqable-sidebar-inner .bq-list-item .bq-price { color: var(--c-text) !important; }
html body #booqable-sidebar-inner .bq-list-item .bq-quantity,
html body #booqable-sidebar-inner .bq-list-item .bq-quantity-toggle { color: var(--c-text) !important; }
html body #booqable-sidebar-inner .bq-list-item .bq-remove-product { color: var(--c-muted) !important; }
html body #booqable-sidebar-inner .button-group a.bq-button { background: transparent !important; color: var(--c-text) !important; border: 1px solid var(--c-ink) !important; }
html body #booqable-sidebar-inner .button-group .bq-button.bq-disabled { background: var(--c-disabled) !important; color: var(--c-on-disabled) !important; }
html body #booqable-sidebar-inner #booqable-sidebar-lines .bq-list .bq-list-item .bq-line-footer .bq-price { color: var(--c-text) !important; }

/* ---------- Pagination ----------
   Booqable draws a joined segmented bar (bordered spans, -1px overlaps,
   rounded first/last corners). Reset that and draw separate round buttons. */
.fc-bq .booqable-pagination { margin: 32px 0 0; padding: 0; background: transparent; text-align: center; }
.fc-bq .booqable-pagination .bq-pagination-inner {
	display: flex !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px;
	margin: 0; padding: 0; border: 0; background: transparent;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page {
	display: inline-flex !important; width: auto !important; height: auto !important;
	margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: transparent !important; box-shadow: none !important;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page > button,
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page.bq-pagination-current {
	display: inline-flex !important; align-items: center; justify-content: center;
	min-width: var(--tap) !important; width: auto !important; height: var(--tap) !important;
	margin: 0 !important; padding: 0 14px !important;
	border: 1px solid var(--c-border-strong) !important; border-radius: var(--radius-pill) !important;
	background: var(--c-surface) !important; color: var(--c-text) !important;
	font-size: 15px; font-weight: 600; line-height: 1; box-shadow: none !important; cursor: pointer;
	transition: border-color .15s ease, background-color .15s ease;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page > button:hover {
	border-color: var(--c-primary) !important; background: var(--c-selected-bg) !important;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page > button:focus-visible {
	outline: 3px solid var(--c-ring); outline-offset: 2px;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page.bq-pagination-current.bq-branded {
	background: var(--c-primary) !important; color: #FFFFFF !important; border-color: var(--c-primary) !important;
	font-weight: 700; cursor: default;
}
.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page i { font-size: 15px; color: inherit; }
@media (max-width: 640px) {
	/* prev · 5 pages · next stay on one line at 360 px */
	.fc-bq .booqable-pagination .bq-pagination-inner { gap: 6px; }
	.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page > button,
	.fc-bq .booqable-pagination .bq-pagination-inner .bq-pagination-page.bq-pagination-current {
		min-width: 40px !important; height: 40px !important; padding: 0 10px !important; font-size: 14px;
	}
}

/* ---------- Sort select: fit inside its pill ----------
   Booqable's container had padding and the select a fixed min-width, so the
   select stuck out of the pill and its focus ring was drawn around that.
   Now the select fills the pill exactly; focus is shown on the pill itself. */
.fc-bq--bar .booqable-filter-bar .bq-sorting-select {
	position: relative; display: inline-flex !important; align-items: stretch;
	width: auto !important; min-width: 0 !important; height: var(--tap); padding: 0 !important; overflow: hidden;
	border: 1px solid var(--c-border-strong); border-radius: var(--radius-pill);
	background: var(--c-field) !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.fc-bq--bar .booqable-filter-bar .bq-sorting-select select.bq-sort {
	width: auto !important; min-width: 0 !important; height: auto !important; margin: 0 !important;
	padding: 0 40px 0 18px !important; border: 0 !important; border-radius: 0;
	-webkit-appearance: none; appearance: none; background: transparent !important;
	color: var(--c-text) !important; font-size: 14px; line-height: normal; cursor: pointer;
	outline: none !important; box-shadow: none !important;
}
/* Chevron instead of Booqable's "=" mark */
.fc-bq--bar .booqable-filter-bar .bq-sorting-select::after {
	content: "" !important; position: absolute; right: 18px; top: 50%; left: auto; bottom: auto;
	width: 8px !important; height: 8px !important; margin-top: -6px;
	border: 0 !important; border-right: 2px solid var(--c-muted) !important; border-bottom: 2px solid var(--c-muted) !important;
	background: none !important; transform: rotate(45deg); pointer-events: none;
}
.fc-bq--bar .booqable-filter-bar .bq-sorting-select:hover { border-color: var(--c-primary); }
/* Focus: one clean ring that follows the pill, same for search and sort */
.fc-bq--bar .booqable-filter-bar .bq-sorting-select:focus-within,
.fc-bq--bar .booqable-filter-bar .bq-product-search-component:focus-within {
	border-color: var(--c-ring) !important; box-shadow: 0 0 0 1px var(--c-ring) !important;
}
@media (max-width: 640px) {
	.fc-bq--bar .booqable-filter-bar .bq-sorting-select { flex: 1 1 100%; width: 100% !important; }
	.fc-bq--bar .booqable-filter-bar .bq-sorting-select select.bq-sort { width: 100% !important; font-size: 16px; }
}
