/**
 * Bio-Lec Rentals — scoped styles.
 *
 * Everything is nested under .biolec-rental so it cannot affect the rest of
 * the site. The only exceptions are the cart/checkout rules at the bottom,
 * which have to target WooCommerce's own block classes; those are gated on the
 * body classes WooCommerce adds, and only load when the basket holds a rental.
 */

.biolec-rental {
  --navy: #0C2D4A;
  --blue: #144E81;
  --accent: #2D7DC2;
  --sky: #8CB4DD;
  --tint: #F3F7FB;
  --pale: #E3EEF9;
  --border: #DBE9F7;
  --field-border: #C2D6EA;
  --muted: #5C7186;
  --body-text: #33475C;
  --white: #FFFFFF;

  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-field: 6px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(20, 78, 129, 0.04), 0 8px 24px rgba(20, 78, 129, 0.06);
  --shadow-card-hover: 0 2px 4px rgba(20, 78, 129, 0.06), 0 16px 32px rgba(20, 78, 129, 0.08);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --shell: 1400px;
  --gutter: 24px;

  --font: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Quicksand', 'Trebuchet MS', sans-serif;

  font-family: var(--font);
  color: var(--navy);
  line-height: 1.55;
}

.biolec-rental *, .biolec-rental *::before, .biolec-rental *::after { box-sizing: border-box; }
.biolec-rental h1, .biolec-rental h2, .biolec-rental h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.biolec-rental a { color: var(--blue); text-decoration: none; }
.biolec-rental a:hover { text-decoration: underline; text-underline-offset: 3px; }
.biolec-rental img { max-width: 100%; height: auto; }
.biolec-rental button, .biolec-rental input, .biolec-rental select { font-family: var(--font); font-size: 16px; }

.biolec-shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}
.biolec-shell--narrow { max-width: 820px; }
.biolec-rental .section { padding-top: 64px; padding-bottom: 64px; }
.biolec-rental .section--tint { background: var(--tint); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.biolec-rental .section--navy { background: var(--blue); color: var(--white); }
.biolec-rental .section--navy .section-title, .biolec-rental .section--navy h3 { color: var(--white); }
.biolec-rental .section--navy .eyebrow { color: var(--sky); }
.biolec-rental .text-center { text-align: center; }

.biolec-rental .eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}
.biolec-rental .section-title { margin: 0; font-size: 32px; }
.biolec-rental .section-lead { margin: 0; font-size: 16px; line-height: 1.75; color: var(--body-text); }
.biolec-rental .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.biolec-rental .section-head a { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Buttons */
.biolec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background 160ms var(--ease), color 160ms var(--ease);
}
.biolec-btn:hover { text-decoration: none; }
.biolec-btn--primary { background: var(--accent); color: var(--white); }
.biolec-btn--primary:hover { background: var(--blue); color: var(--white); }
/* The theme styles every link inside .blm-page, and `.blm-page a` (0,1,1)
   outranks `.biolec-btn--primary` (0,1,0), so buttons rendered as <a> lost
   their white text. Scoping to the module beats it without !important. */
.biolec-rental a.biolec-btn--primary,
.biolec-rental a.biolec-btn--primary:hover,
.biolec-rental a.biolec-btn--primary:focus { color: var(--white); }
.biolec-rental a.biolec-btn--ghost,
.biolec-rental a.biolec-btn--ghost:hover,
.biolec-rental a.biolec-btn--ghost:focus { color: var(--blue); }
.biolec-btn--ghost { background: var(--white); color: var(--blue); border: 1px solid var(--blue); }
.biolec-btn--ghost:hover { background: var(--pale); }
.biolec-btn--lg { min-height: 48px; padding: 0 28px; font-size: 16px; font-weight: 700; }
.biolec-btn--sm { min-height: 40px; padding: 0 20px; font-size: 14px; }
.biolec-btn--block { width: 100%; }

/* Fields */
.biolec-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.biolec-field input, .biolec-field select {
  min-height: 44px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-field);
  font-size: 15px;
  width: 100%;
}
.biolec-field input:focus, .biolec-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 125, 194, 0.18);
}

/* Grid, cards, panels */
.biolec-grid { display: grid; gap: 24px; }
.biolec-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.biolec-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  color: var(--navy);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.biolec-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); text-decoration: none; }
.biolec-card__media { height: 190px; background: var(--pale); overflow: hidden; box-sizing: border-box; padding: 12px; }
.biolec-card__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.biolec-card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 6px; }
.biolec-card__title { margin: 0; font-size: 20px; }
.biolec-card__desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.biolec-card__price { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.biolec-panel {
  padding: 28px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.biolec-rental .product-illustration { width: 100%; height: 100%; object-fit: contain; display: block; background: var(--tint); }
.biolec-rental .media-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; min-height: 160px; padding: 16px;
  text-align: center; font-size: 13px; color: var(--muted);
  background: repeating-linear-gradient(45deg, var(--pale), var(--pale) 12px, #EDF4FB 12px, #EDF4FB 24px);
}

/* Hero */
.biolec-rental .hero {
  padding: 72px var(--gutter) 56px;
  text-align: center;
  background: radial-gradient(ellipse 60% 50% at 50% 20%, rgba(45, 125, 194, 0.10), transparent 70%);
}
.biolec-rental .hero__title { margin: 0 auto 16px; max-width: 820px; font-size: 48px; line-height: 1.15; }
.biolec-rental .hero__title em { font-style: italic; }
.biolec-rental .hero__lead { margin: 0 auto 40px; max-width: 620px; font-size: 18px; line-height: 1.75; color: var(--body-text); }
.biolec-rental .hero__note { margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.biolec-rental .search-card {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  text-align: left;
}

/* Regions, steps, checklist */
.biolec-rental .location__flag {
  margin: 20px 0 12px;
  font-size: 56px;
  line-height: 1;
  text-align: center;
}
/* WordPress swaps the emoji character for <img class="emoji"> in the browser
   and sizes it 1em with !important, which ignores the font-size above. Size
   the injected image directly, and match the !important to win.
   Block, not inline: at this size an inline image sits on the text baseline
   and overflows the top of the card. */
.biolec-rental .location__flag img.emoji,
.biolec-rental .location__flag img.wp-smiley {
  display: block !important;
  width: 56px !important;
  height: 56px !important;
  margin: 0 auto !important;
  vertical-align: middle !important;
}
.biolec-rental .location h3, .biolec-rental .step h3 { margin: 0 0 6px; font-size: 20px; }
.biolec-rental .location p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.biolec-rental .location__phone { margin: 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.biolec-rental .step__n {
  width: 44px; height: 44px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pale); color: var(--blue);
  border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.biolec-rental .step h3 { margin-bottom: 8px; font-size: 22px; }
.biolec-rental .step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body-text); }
.biolec-rental .checklist { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.biolec-rental .checklist--tight { gap: 10px; }
.biolec-rental .checklist li { display: flex; align-items: flex-start; gap: 12px; }
.biolec-rental .checklist__tick { color: var(--accent); font-weight: 700; font-size: 16px; line-height: 1.55; }
.biolec-rental .checklist p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--navy); }
.biolec-rental .split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.biolec-rental .split--top { align-items: start; }
.biolec-rental .split__media { height: 420px; border-radius: var(--radius-card); overflow: hidden; background: var(--pale); }
.biolec-rental .split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Reviews */
.biolec-rental .quote {
  margin: 0; display: flex; flex-direction: column; gap: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  padding: 28px; text-align: left;
}
.biolec-rental .quote__head { display: flex; align-items: center; gap: 10px; }
.biolec-rental .quote__initial {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky); color: var(--navy);
  border-radius: var(--radius-pill); font-weight: 700; font-size: 15px;
}
.biolec-rental .quote__name { margin: 0; font-size: 14px; font-weight: 600; color: var(--white); }
.biolec-rental .quote__verified { margin: 0; font-size: 12px; color: var(--sky); }
.biolec-rental .quote__stars { margin-left: auto; color: var(--sky); font-size: 14px; letter-spacing: 2px; }
.biolec-rental .quote blockquote { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.biolec-rental .quote figcaption { font-size: 12px; letter-spacing: 0.04em; color: var(--sky); text-transform: uppercase; font-weight: 600; }

/* FAQ */
.biolec-rental .faq-list { display: flex; flex-direction: column; gap: 12px; }
.biolec-rental .faq { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.biolec-rental .faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  width: 100%; padding: 18px 24px;
  background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--navy); text-align: left;
}
.biolec-rental .faq__mark { color: var(--blue); }
.biolec-rental .faq__a { margin: 0; padding: 0 24px 20px; font-size: 15px; line-height: 1.75; color: var(--body-text); }
.biolec-rental .faq__a[hidden] { display: none; }
.biolec-rental .faq__a p { margin: 0; }

.biolec-rental .cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.biolec-rental .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 13px; color: var(--muted); }
.biolec-rental .breadcrumb span[aria-hidden] { color: var(--field-border); }

/* ---- Catalogue --------------------------------------------------------- */
.biolec-rental .catalogue-head { background: var(--tint); border-bottom: 1px solid var(--border); padding: 28px 0 32px; }
.biolec-rental .catalogue-title { margin: 0 0 20px; font-size: 32px; }
.biolec-rental .catalogue-search {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.biolec-rental .catalogue {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 64px;
  align-items: start;
}
.biolec-rental .filters-rail { display: flex; flex-direction: column; gap: 16px; }
.biolec-rental .filters-rail__block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 20px; box-shadow: var(--shadow-card);
}
.biolec-rental .filters-rail__block--help { background: var(--pale); border-color: var(--pale); box-shadow: none; }
.biolec-rental .filters-rail__title {
  margin: 0 0 12px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.biolec-rental .filters-rail__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.biolec-rental .filters-rail__block--help .biolec-btn { margin-top: 12px; }
.biolec-rental .filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.biolec-rental .filter-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: var(--radius-field);
  color: var(--body-text); font-size: 15px; font-weight: 500;
}
.biolec-rental .filter-list a:hover { background: var(--tint); color: var(--blue); text-decoration: none; }
.biolec-rental .filter-list a.is-active { background: var(--blue); color: var(--white); font-weight: 600; }
.biolec-rental .filter-list__count { font-size: 12px; color: var(--muted); }
.biolec-rental .filter-list a.is-active .filter-list__count { color: rgba(255, 255, 255, 0.7); }
.biolec-rental .filter-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.biolec-rental .filter-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--body-text); }
.biolec-rental .filter-facts strong { color: var(--blue); }

.biolec-rental .results__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.biolec-rental .results__count { margin: 0; font-size: 15px; color: var(--body-text); }
.biolec-rental .results__sort select {
  min-height: 40px; padding: 6px 12px;
  background: var(--white); border: 1px solid var(--field-border);
  border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--blue);
}
.biolec-rental .results__list { display: flex; flex-direction: column; gap: 16px; }
.biolec-rental .result {
  display: grid;
  /* The price rail carries three rows of "label + badge + figure" now, and at
     210px the longest label had to be clipped to "Up to...". Widened enough for
     "Up to 60 days" beside a saving badge; the middle column is minmax(0, 1fr)
     so it gives up the space rather than the image. */
  grid-template-columns: 240px minmax(0, 1fr) 264px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.biolec-rental .result:hover { box-shadow: var(--shadow-card-hover); border-color: var(--field-border); }
/* One container, every card the same shape, and the whole product inside it.

   This was object-fit: cover against a min-height, which did two unhelpful
   things: it cropped the equipment - wheelchairs lost their wheels and frames
   lost their handles - and it let cards be different heights depending on the
   photo. contain shows the item whole, the fixed ratio keeps the grid even,
   and the padding stops the image touching the edges, which is what made the
   crop look deliberate rather than tidy. */
/* The panel fills the card's height rather than taking a 4:3 box of its own.
   The photos are square, so a 240x180 box drew them at 180 wide inside a 212
   wide area - empty pale down both sides, and 120px of unused card height
   beside it, because the row is as tall as the text and price rail next to it.
   Letting the grid stretch this cell gives a 240x304 panel and a 212px photo
   instead of 152px. min-height only matters if a card is ever shorter than the
   panel needs. */
.biolec-rental .result__media {
  position: relative; display: block; box-sizing: border-box;
  background: var(--pale);
  min-height: var(--card-media-min, 200px);
  padding: 14px;
}
.biolec-rental .result__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.biolec-rental .result__flag {
  position: absolute; top: 12px; left: 12px; padding: 4px 10px;
  border-radius: var(--radius-pill); background: var(--navy); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.biolec-rental .result__body { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.biolec-rental .result__cat { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.biolec-rental .result__title { margin: 0; font-size: 21px; }
.biolec-rental .result__title a { color: var(--navy); }
.biolec-rental .result__title a:hover { color: var(--blue); text-decoration: none; }
.biolec-rental .result__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.biolec-rental .result__specs > div {
  display: flex; gap: 6px; align-items: baseline;
  padding: 5px 10px; background: var(--tint);
  border-radius: var(--radius-field); font-size: 13px;
}
.biolec-rental .result__specs dt { color: var(--muted); margin: 0; }
.biolec-rental .result__specs dd { margin: 0; font-weight: 600; color: var(--navy); }
.biolec-rental .result__rating { margin: 0; font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.biolec-rental .result__rating .stars { color: var(--accent); }
.biolec-rental .result__rating strong { color: var(--navy); }
.biolec-rental .result__perks { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.biolec-rental .result__perks li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.biolec-rental .perk-icon { color: var(--accent); }
.biolec-rental .result__rail {
  padding: 20px 24px; background: var(--tint); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center; gap: 2px; text-align: right;
}
.biolec-rental .result__rail-label { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.biolec-rental .result__total { margin: 0; font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.15; }
.biolec-rental .result__meta { margin: 0; font-size: 13px; color: var(--muted); }
.biolec-rental .result__cta { margin-top: 14px; width: 100%; }
.biolec-rental .result__hint { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.biolec-rental .results__empty {
  padding: 56px 24px; text-align: center; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius-card);
}
.biolec-rental .results__empty h2 { margin: 0 0 8px; font-size: 22px; }
.biolec-rental .results__empty p { margin: 0 0 20px; color: var(--muted); }
.biolec-rental .pagination { margin-top: 40px; display: flex; justify-content: center; gap: 8px; }
.biolec-rental .pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--field-border); border-radius: var(--radius-pill);
  color: var(--blue); font-weight: 600; font-size: 14px;
}
.biolec-rental .pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---- Single product ---------------------------------------------------- */
.biolec-rental .product-page { padding-top: 24px; padding-bottom: 72px; }
.biolec-rental .product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.biolec-rental .product-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 32px; margin-bottom: 40px; align-items: start; }
/* The photo keeps the left column across both rows; the heading and the bullet
   points stack down the right, exactly as when they were one intro block. The
   placement is explicit because the markup now leads with the heading. */
.biolec-rental .product-hero__media { grid-column: 1; grid-row: 1 / span 2; }
.biolec-rental .product-hero__head  { grid-column: 2; grid-row: 1; }
.biolec-rental .product-hero__body  { grid-column: 2; grid-row: 2; }
/* The media column holds the gallery: a fixed-height main image with an
   optional thumb strip beneath it. Height lives on the main image, not the
   wrapper, so the thumbs are not clipped by its overflow. */
.biolec-rental .product-hero__media { background: transparent; }
/* The product photos are square (549x549). A fixed 360px height in a ~500px
   column made the box far wider than it was tall, and cover then threw away
   nearly half the image - which is where the supplier's logo lived, and the
   wheelchair's footplates. A square box with contain shows the whole thing. */
.biolec-rental .product-gallery__main {
  aspect-ratio: var(--gallery-media, 1 / 1);
  box-sizing: border-box;
  padding: 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--pale);
}
.biolec-rental .product-gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.biolec-rental .product-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.biolec-rental .product-gallery__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--pale);
  box-sizing: border-box;
  padding: 4px;
  cursor: pointer;
  transition: border-color 160ms var(--ease);
}
.biolec-rental .product-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.biolec-rental .product-gallery__thumb:hover { border-color: var(--accent); }
.biolec-rental .product-gallery__thumb.is-active { border-color: var(--blue); }
.biolec-rental .product-hero__cat { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.biolec-rental .product-hero__title { margin: 0 0 8px; font-size: 32px; line-height: 1.15; }
.biolec-rental .product-hero__rating { margin: 0 0 14px; font-size: 14px; color: var(--muted); display: flex; gap: 6px; align-items: baseline; }
.biolec-rental .product-hero__rating .stars { color: var(--accent); }
.biolec-rental .product-hero__rating strong { color: var(--navy); }
.biolec-rental .product-hero__excerpt p { margin: 0 0 16px; font-size: 16px; line-height: 1.7; color: var(--body-text); }
.biolec-rental .highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.biolec-rental .highlight { padding: 12px 14px; background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.biolec-rental .highlight dt { margin: 0 0 2px; font-size: 12px; color: var(--muted); }
.biolec-rental .highlight dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--navy); }
.biolec-rental .product-block { margin-bottom: 40px; }
.biolec-rental .product-block__title { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.biolec-rental .product-block__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.biolec-rental .spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0; }
.biolec-rental .spec-grid__row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.biolec-rental .spec-grid dt { margin: 0; font-size: 15px; color: var(--muted); }
.biolec-rental .spec-grid dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--navy); text-align: right; }
.biolec-rental .delivery-grid { display: flex; flex-direction: column; gap: 10px; }
.biolec-rental .delivery-option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px; align-items: center; padding: 16px 18px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.biolec-rental .delivery-option__icon { font-size: 20px; }
.biolec-rental .delivery-option__name { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--navy); }
.biolec-rental .delivery-option__desc { margin: 0; font-size: 13px; color: var(--muted); }
.biolec-rental .delivery-option__cost { font-size: 15px; font-weight: 700; color: var(--blue); white-space: nowrap; }
.biolec-rental .info-list { list-style: none; margin: 0; padding: 0; }
.biolec-rental .info-list li { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.biolec-rental .info-list__k { font-size: 15px; color: var(--muted); }
.biolec-rental .info-list__v { font-size: 15px; font-weight: 600; color: var(--navy); text-align: right; }

/* Booking rail */
.biolec-rental .booking-rail { position: sticky; top: 96px; }
.biolec-rental .booking-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-card-hover);
}
.biolec-rental .booking-card__label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.biolec-rental .booking-card__price { margin: 0; font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.biolec-rental .booking-card__price span { font-size: 15px; font-weight: 500; color: var(--muted); }
.biolec-rental .booking-card__week { margin: 6px 0 18px; font-size: 14px; color: var(--muted); }
.biolec-rental .booking-card__note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); text-align: center; }
.biolec-rental .booking-card__help { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); text-align: center; }
.biolec-rental .booking-card__help p { margin: 0 0 10px; font-size: 14px; color: var(--body-text); }
.biolec-rental .booking-card form.cart { margin: 0; padding: 0; background: none; border: none; }
.biolec-rental .booking-card form.cart .quantity { float: none; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.biolec-rental .booking-card form.cart .quantity input.qty {
  min-height: 48px; width: 84px; padding: 0 8px; text-align: center;
  border: 1px solid var(--field-border); border-radius: var(--radius-field);
}
.biolec-rental .booking-card button.single_add_to_cart_button {
  width: 100%; min-height: 50px; font-size: 16px; font-weight: 700;
  background: var(--accent); color: var(--white);
  border: none; border-radius: var(--radius-pill); cursor: pointer;
}
.biolec-rental .booking-card button.single_add_to_cart_button:hover { background: var(--blue); }
.biolec-rental .booking-card .stock { font-size: 13px; color: var(--muted); }
.biolec-rental .price-unit, .biolec-rental .price-week { font-size: 15px; font-weight: 500; color: var(--muted); }

/* Rental date picker */
.biolec-rental .rental-dates { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.biolec-rental .rental-dates__title { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--navy); }
.biolec-rental .rental-dates__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biolec-rental .rental-dates__summary { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.biolec-rental .rental-dates__summary.is-quoted { color: var(--navy); font-weight: 600; }
.biolec-rental .rental-dates__summary.is-error { color: #A32020; font-weight: 600; }

/* ---- Drawer ------------------------------------------------------------ */
.biolec-rental .drawer { position: fixed; inset: 0; z-index: 99999; }
.biolec-rental .drawer[hidden] { display: none; }
.biolec-rental .drawer__backdrop { position: absolute; inset: 0; background: rgba(12, 45, 74, 0.45); opacity: 0; transition: opacity 240ms var(--ease); }
.biolec-rental .drawer.is-open .drawer__backdrop { opacity: 1; }
.biolec-rental .drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(12, 45, 74, 0.18);
  transform: translateX(100%);
  transition: transform 260ms var(--ease);
}
.biolec-rental .drawer.is-open .drawer__panel { transform: translateX(0); }
body.drawer-open { overflow: hidden; }
.biolec-rental .drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.biolec-rental .drawer__title { margin: 0; font-size: 20px; }
.biolec-rental .drawer__close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--tint); border: none; border-radius: var(--radius-pill);
  font-size: 22px; line-height: 1; color: var(--navy); cursor: pointer;
}
.biolec-rental .drawer__body { flex: 1; overflow-y: auto; display: flex; flex-direction: column; }
.biolec-rental .drawer__items { list-style: none; margin: 0; padding: 8px 24px; flex: 1; }
.biolec-rental .drawer-item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.biolec-rental .drawer-item__media { width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden; background: var(--pale); }
.biolec-rental .drawer-item__media img { width: 100%; height: 100%; object-fit: cover; }
.biolec-rental .drawer-item__name { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--navy); }
.biolec-rental .drawer-item__dates { margin: 0; font-size: 13px; font-weight: 600; color: var(--blue); }
.biolec-rental .drawer-item__meta { margin: 2px 0 0; font-size: 12px; color: var(--muted); }
.biolec-rental .drawer-item__price { margin: 6px 0 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.biolec-rental .drawer-item__remove {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-pill);
  color: var(--muted); font-size: 16px; line-height: 1; cursor: pointer;
}
.biolec-rental .drawer-item__remove:hover { border-color: #E0A0A0; color: #A32020; }
.biolec-rental .drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); background: var(--tint); }
.biolec-rental .drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.biolec-rental .drawer__row strong { font-size: 22px; color: var(--navy); }
.biolec-rental .drawer__note { margin: 6px 0 16px; font-size: 12px; color: var(--muted); }
.biolec-rental .drawer__foot .biolec-btn + .biolec-btn { margin-top: 10px; }
.biolec-rental .drawer__empty { padding: 56px 32px; text-align: center; margin: auto; }
.biolec-rental .drawer__empty-icon { margin: 0 0 12px; font-size: 34px; }
.biolec-rental .drawer__empty-title { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--navy); }
.biolec-rental .drawer__empty-text { margin: 0 0 20px; font-size: 14px; color: var(--muted); }

/* ---- Rental rows in cart and checkout ----------------------------------
   These have to reach WooCommerce's own block classes, so they sit outside
   .biolec-rental. They only style the rental date rows, nothing structural. */
.wc-block-components-product-details__delivery,
.wc-block-components-product-details__collection,
.wc-block-components-product-details__hire-length { font-size: 13px; }
.wc-block-components-product-details { line-height: 1.6; }
.woocommerce-cart dl.variation dt, .woocommerce-checkout dl.variation dt { font-weight: 600; }

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .biolec-rental .product-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 28px; }
  .biolec-rental .catalogue { grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
  .biolec-rental .result { grid-template-columns: 200px minmax(0, 1fr) 240px; }
}

@media (max-width: 1080px) {
  .biolec-rental .product-layout { grid-template-columns: 1fr; }
  .biolec-rental .booking-rail { position: static; }
  .biolec-rental .booking-card { max-width: 520px; }
  .biolec-rental .product-hero { grid-template-columns: 1fr; gap: 24px; }
  .biolec-rental .search-card, .biolec-rental .catalogue-search { grid-template-columns: 1fr 1fr; }
  .biolec-rental .search-card .biolec-btn, .biolec-rental .catalogue-search .biolec-btn { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .biolec-rental { --gutter: 24px; }
  .biolec-rental .biolec-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .biolec-rental .split { grid-template-columns: 1fr; gap: 32px; }
  .biolec-rental .split__media { height: 300px; }
  .biolec-rental .hero__title { font-size: 34px; }
  .biolec-rental .catalogue { grid-template-columns: 1fr; }
  .biolec-rental .filters-rail { position: static; }
  .biolec-rental .filter-list { flex-direction: row; flex-wrap: wrap; }
  .biolec-rental .filter-list a { border: 1px solid var(--field-border); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 14px; }
  .biolec-rental .filters-rail__block--help { display: none; }
  .biolec-rental .result { grid-template-columns: 180px minmax(0, 1fr); }
  .biolec-rental .result__rail {
    grid-column: 1 / -1; border-left: none; border-top: 1px solid var(--border);
    flex-direction: row; align-items: center; justify-content: space-between;
    text-align: left; flex-wrap: wrap; gap: 8px 16px;
  }
  .biolec-rental .result__rail-label { width: 100%; margin: 0; }
  .biolec-rental .result__cta { margin: 0; width: auto; }
  .biolec-rental .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .biolec-rental .biolec-grid--3 { grid-template-columns: 1fr; }
  .biolec-rental .search-card, .biolec-rental .catalogue-search { grid-template-columns: 1fr; }
  .biolec-rental .result { grid-template-columns: 1fr; }
  /* Stacked: no row height to fill, so a square box - the same shape as the
     photos and as the gallery on the product page. */
  .biolec-rental .result__media { aspect-ratio: var(--card-media, 1 / 1); min-height: 0; padding: 12px; }
  .biolec-rental .highlights { grid-template-columns: 1fr; }
  .biolec-rental .rental-dates__row { grid-template-columns: 1fr; }
  .biolec-rental .hero__title { font-size: 28px; }
  .biolec-rental .catalogue-title, .biolec-rental .section-title { font-size: 26px; }
  .biolec-rental .product-hero__title { font-size: 26px; }
  .biolec-rental .info-list li, .biolec-rental .spec-grid__row { flex-direction: column; gap: 2px; }
  .biolec-rental .info-list__v, .biolec-rental .spec-grid dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .biolec-rental * { transition: none !important; }
}
.biolec-rental .biolec-card__media--sm { height: 150px; }
/* Split-payment rows in the checkout review table.
   The checkout is rendered by FunnelKit, which title-cases and re-pads every
   cell in this table. These target only our own two rows, so nothing else in
   the table is affected — but they need !important to beat it. */
.woocommerce-checkout tr.biolec-cod-deduction th,
.woocommerce-checkout tr.biolec-cod-deduction td,
.woocommerce-checkout tr.biolec-cod-note td {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  vertical-align: middle !important;
  border-top: 1px solid #E6E4DC;
}
.woocommerce-checkout tr.biolec-cod-deduction th {
  padding: 14px 0 !important;
  text-align: left !important;
  font-weight: 600 !important;
  color: #0A4A7A !important;
}
.woocommerce-checkout tr.biolec-cod-deduction td {
  padding: 14px 0 !important;
  text-align: right !important;
  font-weight: 600 !important;
  color: #0A4A7A !important;
  white-space: nowrap;
}
.woocommerce-checkout tr.biolec-cod-note td {
  padding: 12px 14px !important;
  text-align: left !important;
  color: #0A4A7A !important;
  background: #E7F2FB;
  border-radius: 10px;
  border-top: none;
}
.woocommerce-checkout tr.biolec-cod-note .woocommerce-Price-amount { font-weight: 700; }

/* One-day price needs a line of context under it: the figure includes delivery
   and is a starting point, not a daily rate to be multiplied. */
.booking-card__incl {
  margin: 6px 0 14px;
  color: #5b6470;
  font-size: 13px;
  line-height: 1.5;
}

/* --- Delivery location select --------------------------------------------
   A real list rather than a text box: the nine places the vendor delivers to
   are the only ones that can be priced, so typing anything else could only
   fail. Styled to match the date inputs beside it, with the native arrow
   replaced so it does not read as a browser default dropped into the page. */

.biolec-field select {
  width: 100%;
  padding: 11px 38px 11px 13px;
  border: 1px solid #d5dae1;
  border-radius: 8px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%235b6470' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 11px;
  color: #1b2430;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.biolec-field select:hover {
  border-color: #b6bec8;
}

.biolec-field select:focus {
  outline: none;
  border-color: #1b7f79;
  box-shadow: 0 0 0 3px rgba(27, 127, 121, 0.15);
}

/* The placeholder option reads as a prompt until a real choice is made. */
.biolec-field select:invalid,
.biolec-field select option[value=""] {
  color: #78828e;
}

/* --- Cart and checkout: the payment split --------------------------------
   Three rows that have to be read as one sum, so they are grouped and the
   amount taken today is the one that stands out. */

.biolec-cod-deduction th,
.biolec-cod-deduction td {
  color: #5b6470;
}

tr.biolec-split th,
tr.biolec-split td {
  padding-top: 9px;
  padding-bottom: 9px;
  border-top: 1px solid #e6e9ed;
}

tr.biolec-split--now th,
tr.biolec-split--now td {
  color: #14403d;
  font-size: 17px;
  font-weight: 700;
}

tr.biolec-split--later th,
tr.biolec-split--later td {
  color: #5b6470;
  font-weight: 500;
}

tr.biolec-split-note td {
  padding-top: 10px;
  border-top: 0;
  color: #5b6470;
  font-size: 13px;
  line-height: 1.55;
}

/* The drawer foot carries the same three figures as the checkout, so a
   customer who never opens the cart page still sees what is due at the door. */
.drawer__row--now strong {
  color: #14403d;
  font-size: 17px;
}

.drawer__row--later {
  color: #5b6470;
}

.drawer__row--later strong {
  font-weight: 500;
}

/* --- Rental basket: one column of figures, each said once -----------------
   WooCommerce prints a subtotal and a total that are both the commission, with
   the hire total and the balance between them. Four numbers for a two-number
   transaction is what made the column unreadable, so the duplicates go and
   what remains reads top to bottom: what the hire costs, what the driver
   collects, what you pay today. Shipping has nothing to show either - delivery
   is inside the price. */

.biolec-rental-cart .cart-subtotal,
.biolec-rental-cart .wfacp-order-summary .cart-subtotal {
  display: none !important;
}

/* The shipping row stays visible on rentals. It reads "free", because delivery
   is already inside the hire price - and a rental checkout that never mentions
   delivery at all reads as though delivery is not included. */
.biolec-rental-cart .woocommerce-shipping-totals th,
.biolec-rental-cart tr.shipping th {
  font-weight: 600;
}

/* The amount actually being charged is the one to land on. */
.biolec-rental-cart tr.order-total th,
.biolec-rental-cart tr.order-total td {
  color: #14403d !important;
  font-size: 18px;
}

.biolec-rental-cart tr.order-total td .amount,
.biolec-rental-cart tr.order-total td bdi {
  font-weight: 700;
}

/* =========================================================================
   Rental search widget
   One control on the landing page, the catalogue and the product page. The
   variants differ only in chrome — the grid and the calendar are shared, so a
   customer who used it once already knows how the next one behaves.
   ========================================================================= */

.blm-search {
  margin: 0 auto;
  max-width: 1000px;
  text-align: left;
}

/* The calendar is absolutely positioned against this, so it must be the
   positioned ancestor. Without it the panel resolves against whatever is
   positioned further up the tree - or the page itself - and lands somewhere
   far below the field it belongs to. */
.blm-search__dates {
  position: relative;
}

.blm-search--hero {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(16, 32, 48, 0.14);
}

.blm-search__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}



.blm-search .biolec-field,
.blm-search__grid .biolec-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #5b6470;
  font-size: 13px;
  font-weight: 600;
}

.biolec-field__label {
  display: block;
  margin-bottom: 6px;
  color: #5b6470;
  font-size: 13px;
  font-weight: 600;
}

.blm-search__go {
  height: 46px;
  padding: 0 26px;
  white-space: nowrap;
}

.blm-search__note {
  margin: 10px 2px 0;
  min-height: 20px;
  color: #5b6470;
  font-size: 13px;
  font-weight: 600;
}

/* --- The date-range trigger ---------------------------------------------- */

/* Also a button, so the theme fills it blue and hangs a sparkle on it. Reset
   hard: this has to read as a form field sitting beside the selects. */
.blm-daterange {
  display: flex !important;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 0;
  height: 46px;
  margin: 0;
  padding: 0 13px !important;
  border: 1px solid #d5dae1 !important;
  border-radius: 8px !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1b2430 !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blm-daterange::after {
  content: none !important;
  display: none !important;
}

.blm-daterange::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zM5 9h14v10H5V9z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zM5 9h14v10H5V9z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.blm-daterange:hover {
  border-color: #b6bec8 !important;
  background: #fff !important;
  color: #1b2430 !important;
}

.blm-daterange[aria-expanded="true"] {
  border-color: #1668c1 !important;
  box-shadow: 0 0 0 3px rgba(22, 104, 193, 0.15) !important;
}

.blm-daterange__value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* --- The calendar panel --------------------------------------------------
   The theme styles every button on the site as a filled pill and hangs
   decorative sparkles off its pseudo-elements. A calendar is 42 buttons, so
   without a reset it arrives as a wall of blue lozenges. Everything inside the
   panel is therefore stripped back to nothing first and restyled here. */

.blm-cal {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  left: 0;
  max-width: calc(100vw - 24px);
  padding: 18px 18px 14px;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(16, 32, 48, 0.2);
  color: #1f2733;
  font-size: 14px;
  line-height: 1.4;
}

.blm-cal button {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  background-image: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-decoration: none;
  min-height: 0;
  min-width: 0;
  width: auto;
  cursor: pointer;
  transition: none;
}

.blm-cal button::before,
.blm-cal button::after,
.blm-cal span::before,
.blm-cal span::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.blm-cal button:hover,
.blm-cal button:focus {
  background: none;
  color: inherit;
  box-shadow: none;
  transform: none;
}

/* --- Months side by side --------------------------------------------------- */

.blm-cal__months {
  display: flex;
  gap: 30px;
}

.blm-cal__month {
  width: 238px;
}

.blm-cal__mh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
}

.blm-cal__mt {
  color: #1f2733;
  font-size: 15px;
  font-weight: 700;
}

.blm-cal__spacer {
  width: 28px;
  height: 28px;
}

.blm-cal__arrow {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 28px !important;
  height: 28px;
  border-radius: 7px !important;
  color: #6b7480 !important;
  font-size: 19px !important;
  line-height: 1;
}

.blm-cal__arrow:hover:not(:disabled) {
  background: #f1f3f6 !important;
  color: #1f2733 !important;
}

.blm-cal__arrow:disabled {
  opacity: 0.3;
  cursor: default;
}

.blm-cal__wd,
.blm-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.blm-cal__wd span {
  padding-bottom: 8px;
  color: #98a1ad;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* --- Days ------------------------------------------------------------------ */

.blm-cal__d {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 8px !important;
  color: #1f2733 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.blm-cal__d:hover:not(:disabled):not(.is-edge) {
  background: #f1f3f6 !important;
}

/* Spill days from the neighbouring month, and anything inside the lead time:
   present so the grid keeps its shape, but plainly not selectable. */
.blm-cal__d.is-out,
.blm-cal__d.is-off {
  color: #c2c8d0 !important;
  cursor: default;
}

.blm-cal__d.is-out {
  visibility: visible;
}

/* The span between the two ends reads as one block, so the length of the hire
   is visible at a glance rather than counted. */
.blm-cal__d.is-between {
  background: #e8f0fe !important;
  border-radius: 0 !important;
  color: #1f2733 !important;
}

.blm-cal__d.is-edge {
  background: #1668c1 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* --- Readout and actions --------------------------------------------------- */

.blm-cal__readout {
  margin: 16px 0 12px;
  padding: 11px 14px;
  border-radius: 9px;
  background: #f6f7f9;
  color: #3c4653;
  font-size: 14px;
  text-align: center;
}

.blm-cal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.blm-cal__btn {
  padding: 9px 22px !important;
  border-radius: 9px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

.blm-cal__btn--ghost {
  background: #f1f3f6 !important;
  color: #3c4653 !important;
}

.blm-cal__btn--ghost:hover {
  background: #e5e8ed !important;
}

.blm-cal__btn--go {
  background: #1668c1 !important;
  color: #fff !important;
}

.blm-cal__btn--go:hover {
  background: #1258a6 !important;
}

/* Set by the script once it has measured the room actually available, which a
   media query cannot know: the same widget sits in a full-width hero and in a
   narrow product sidebar on the very same screen size. */
.blm-cal.is-right {
  left: auto;
  right: 0;
}

.blm-cal.is-single .blm-cal__month + .blm-cal__month {
  display: none;
}

.blm-cal.is-single .blm-cal__months {
  gap: 0;
}



@media (max-width: 560px) {
  .blm-cal {
    left: 50%;
    transform: translateX(-50%);
    padding: 14px;
  }

  /* One month on a narrow screen; two would overflow and scroll sideways. */
  .blm-cal__months {
    gap: 0;
  }

  .blm-cal__month + .blm-cal__month {
    display: none;
  }

  .blm-cal__month {
    width: min(280px, 78vw);
  }
}

/* The booking card must not clip the calendar that opens out of it. */
.booking-card,
.booking-rail,
.rental-dates {
  overflow: visible;
}

/* --- Time picker ----------------------------------------------------------
   The time decides the price here, so it gets a real control rather than a
   rough window. Same reset discipline as the calendar: the theme styles every
   button as a filled pill. */

.blm-search__time {
  position: relative;
}

.blm-timepick {
  display: flex !important;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 0;
  height: 46px;
  margin: 0;
  padding: 0 13px !important;
  border: 1px solid #d5dae1 !important;
  border-radius: 8px !important;
  background: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #1b2430 !important;
  font: inherit;
  font-size: 15px !important;
  font-weight: 500 !important;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.blm-timepick::after {
  content: none !important;
  display: none !important;
}

.blm-timepick::before {
  content: "";
  flex: none;
  width: 17px;
  height: 17px;
  background: currentColor;
  opacity: 0.55;
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.blm-timepick:hover {
  border-color: #b6bec8 !important;
  background: #fff !important;
  color: #1b2430 !important;
}

.blm-timepick[aria-expanded="true"] {
  border-color: #1668c1 !important;
  box-shadow: 0 0 0 3px rgba(22, 104, 193, 0.15) !important;
}

.blm-clock {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  left: 0;
  width: 194px;
  padding: 12px;
  border: 1px solid #e4e7ec;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(16, 32, 48, 0.2);
}

.blm-clock button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  background-image: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  min-height: 0;
  min-width: 0;
  width: auto;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.blm-clock button::before,
.blm-clock button::after {
  content: none !important;
  display: none !important;
}

/* --- The readout doubles as the hour/minute switch ------------------------ */

.blm-clock__read {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 10px;
}

.blm-clock__part {
  padding: 3px 7px !important;
  border-radius: 7px !important;
  background: #f1f3f6 !important;
  color: #6b7480 !important;
  font-size: 21px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

.blm-clock__part.is-on {
  background: #e4eefb !important;
  color: #1668c1 !important;
}

.blm-clock__colon {
  color: #6b7480;
  font-size: 20px;
  font-weight: 600;
}

.blm-clock__ampm {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: auto;
}

.blm-clock__half {
  padding: 3px 9px !important;
  border-radius: 6px !important;
  background: #f1f3f6 !important;
  color: #6b7480 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.blm-clock__half.is-on {
  background: #1668c1 !important;
  color: #fff !important;
}

/* --- The dial -------------------------------------------------------------- */

.blm-clock__face {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto;
  border-radius: 50%;
  background: #f4f6f8;
  /* The hand is dragged, so the browser must not claim the gesture for
     scrolling or text selection. */
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
}

.blm-clock__face svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.blm-clock__face line {
  stroke: #1668c1;
  stroke-width: 1.4;
}

.blm-clock__face circle {
  fill: #1668c1;
}

.blm-clock__n {
  position: absolute;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 25px !important;
  height: 25px;
  border-radius: 50% !important;
  transform: translate(-50%, -50%);
  color: #1f2733 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  /* The dial handles the pointer: a number swallowing it would break a drag
     the moment it crossed one. */
  pointer-events: none;
}

.blm-clock__n.is-on {
  background: #1668c1 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

/* --- Actions --------------------------------------------------------------- */

.blm-clock__foot {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.blm-clock__btn {
  padding: 7px 14px !important;
  border-radius: 8px !important;
  background: #f1f3f6 !important;
  color: #3c4653 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.blm-clock__btn:hover {
  background: #e5e8ed !important;
}

.blm-clock__btn--go {
  background: #1668c1 !important;
  color: #fff !important;
}

.blm-clock__btn--go:hover {
  background: #1258a6 !important;
}

/* Six columns now the two windows became two times. */
.blm-search__grid {
  grid-template-columns: 1.1fr 1.3fr 0.9fr 0.9fr auto;
}

/* =========================================================================
   Equipment categories

   Plain tiles: the name, how many items, an arrow. No picture.

   They used to be 4:5 photo tiles, which made fourteen categories about 1,500
   pixels of page - four rows of large images - before a visitor reached
   anything they could book. A category is not a thing you look at, it is a
   thing you pick, and a photograph of one wheelchair standing for "Wheelchairs"
   was never honest about what was in there anyway.

   The effect on hover is deliberately small: the tile lifts, the border takes
   the accent colour, and the arrow slides. Enough to read as a button without
   fourteen of them shouting at once.
   ========================================================================= */

.biolec-rental .biolec-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.biolec-rental .biolec-grid--cats {
  gap: 14px;
}

.blm-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88px;
  padding: 16px 52px 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease,
              background 0.2s ease, box-shadow 0.2s ease;
}

/* The accent edge grows from nothing rather than appearing, so a row of tiles
   does not flicker as the pointer crosses it. */
.blm-cat::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height 0.22s ease;
}

.blm-cat:hover,
.blm-cat:focus-visible {
  transform: translateY(-2px);
  border-color: var(--field-border);
  background: var(--tint);
  box-shadow: 0 10px 22px rgba(12, 45, 74, 0.10);
  text-decoration: none;
  color: var(--navy);
}

.blm-cat:hover::before,
.blm-cat:focus-visible::before {
  height: 56%;
}

.blm-cat__title {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.blm-cat__count {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.blm-cat__go {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  transition: transform 0.22s ease;
}

.blm-cat__go::before,
.blm-cat__go::after {
  content: "";
  position: absolute;
  top: 50%;
}

.blm-cat__go::before {
  left: 0;
  width: 13px;
  height: 1.6px;
  background: var(--accent);
  transform: translateY(-50%);
}

.blm-cat__go::after {
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.6px solid var(--accent);
  border-right: 1.6px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.blm-cat:hover .blm-cat__go,
.blm-cat:focus-visible .blm-cat__go {
  transform: translateX(3px);
}

@media (max-width: 1080px) { .biolec-rental .biolec-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px)  { .biolec-rental .biolec-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Stays two across on a phone. One column was right when these were tall photo
   tiles; for a name and a count it would be fourteen rows and about 1,400px of
   scrolling. The arrow goes instead - a tile is obviously tappable, and giving
   its 52px back to the text is what lets "Electric Stair Climber" sit on two
   lines rather than three. */
@media (max-width: 460px) {
  .biolec-rental .biolec-grid--cats { gap: 10px; }

  .blm-cat {
    min-height: 76px;
    padding: 14px 14px 14px 16px;
  }

  .blm-cat__go { display: none; }

  .blm-cat__title { font-size: 14.5px; }
}

/* =========================================================================
   Where we deliver — a panel per country, a card per city
   ========================================================================= */

/* One country per row. Five city cards will not fit in a half-width column,
   and a country with two cities looks wrong stretched beside one with nine. */
.blm-countries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.blm-country {
  padding: 20px 22px 22px;
  border: 1px solid #e3e8ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 32, 48, 0.04);
}

.blm-country__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eef1f4;
}

.blm-country__flag { font-size: 26px; line-height: 1; }

.blm-country__name {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1b2430;
}

.blm-country__count {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef4f4;
  color: #14403d;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.blm-cities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.blm-city {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f6f7;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.blm-city:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(16, 32, 48, 0.14);
  text-decoration: none;
}

.blm-city__media {
  position: relative;
  display: block;
  height: 78px;
  overflow: hidden;
}

.blm-city__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.blm-city:hover .blm-city__media img { transform: scale(1.07); }

/* No photograph for this city: draw a tile instead of showing an empty frame.
   The hue is derived from the name, so each city keeps its own colour and the
   set still looks like one family. */
.blm-city--drawn .blm-city__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 25%, hsl(var(--blm-hue, 180) 42% 92%) 0%, hsl(var(--blm-hue, 180) 34% 82%) 100%);
}

.blm-city__mark {
  font-size: 26px;
  line-height: 1;
  filter: saturate(1.05);
}

.blm-city__name {
  display: block;
  padding: 9px 10px 11px;
  color: #1b2430;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 900px) {
  .blm-cities { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .blm-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .blm-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blm-city__media { height: 66px; }
}

/* --- Time fields: fill the column, never wrap ----------------------------- */
/* In the booking sidebar these sit two to a row, so "10:00 am" was wrapping
   onto a second line inside the control and the labels were breaking in half.
   The value is the whole point of the field; it has to stay on one line. */

.blm-search__time .biolec-field__label {
  white-space: nowrap;
}

.blm-timepick {
  width: 100%;
  gap: 7px !important;
  padding: 0 10px !important;
  white-space: nowrap;
}

.blm-timepick > span {
  overflow: visible;
}

/* The clock glyph is decoration; when space is tight the time wins. */
@media (max-width: 420px) {
  .blm-timepick::before { display: none; }
}

/* --- Today, and what is selected ------------------------------------------ */

/* A ring rather than a fill: today is a landmark for orientation, not a
   choice the customer has made. The fill stays reserved for the dates they
   actually picked, so the two can never be confused. */
.blm-cal__d.is-today {
  box-shadow: inset 0 0 0 1.5px #1668c1;
  font-weight: 700 !important;
}

.blm-cal__d.is-today.is-out,
.blm-cal__d.is-today.is-off {
  box-shadow: inset 0 0 0 1.5px #c2c8d0;
}

/* Selected beats today: once it is an end of the range it reads as chosen. */
.blm-cal__d.is-edge.is-today {
  box-shadow: none;
}

.blm-cal__d.is-between.is-today {
  box-shadow: inset 0 0 0 1.5px #1668c1;
}

/* =========================================================================
   Booking card layout — must come last, and outrank .blm-search__grid

   The five-column search-bar rule further up shares this rule's specificity,
   so whichever came last won. It did, and the booking card was being laid out
   in five columns inside a sidebar — which is why the two time fields were
   getting a fifth of the width each and clipping their own labels. Scoping to
   .rental-dates raises the specificity so this wins wherever it sits.

   Location and dates take a full row each; the two times share one.
   ========================================================================= */

.rental-dates .blm-search__grid--product {
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}

.rental-dates .blm-search__grid--product > .biolec-field,
.rental-dates .blm-search__grid--product > .blm-search__dates {
  grid-column: 1 / -1;
}

/* The two times, side by side, each getting a real half. */
.rental-dates .blm-search__grid--product > .blm-search__time {
  grid-column: span 1;
}



/* =========================================================================
   Booking card price — the main number on the page
   ========================================================================= */

.booking-card__price {
  margin: 2px 0 4px;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #14403d;
}

.booking-card__price .woocommerce-Price-amount,
.booking-card__price bdi {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.booking-card__price .woocommerce-Price-currencySymbol {
  font-size: 0.62em;
  font-weight: 700;
  vertical-align: 0.28em;
  margin-right: 1px;
}

.booking-card__incl {
  margin: 0 0 16px;
  color: #5b6470;
  font-size: 13px;
  line-height: 1.5;
}

/* --- The three hire lengths ------------------------------------------------
   A day, three days, a week. Shown together so the rate improving with length
   is visible, rather than something the customer has to work out. */

.blm-tiers {
  display: flex;
  gap: 8px;
  margin: 12px 0 14px;
  padding: 0;
  list-style: none;
}

.blm-tier {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #e3e8ec;
  border-radius: 10px;
  background: #fbfcfc;
  text-align: center;
}

.blm-tier__len {
  display: block;
  color: #6b7480;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.blm-tier__amt {
  display: block;
  margin-top: 3px;
  color: #1b2430;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.blm-tier__amt .woocommerce-Price-currencySymbol {
  font-size: 0.8em;
}

/* =========================================================================
   Related products — four across
   ========================================================================= */

.blm-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.blm-rel {
  display: block;
  overflow: hidden;
  border: 1px solid #e3e8ec;
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blm-rel:hover {
  transform: translateY(-3px);
  border-color: #cfd8de;
  box-shadow: 0 14px 30px rgba(16, 32, 48, 0.12);
  text-decoration: none;
}

.blm-rel__media {
  display: block;
  height: 168px;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f9f9 0%, #eef4f4 100%);
}

.blm-rel__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  transition: transform 0.45s ease;
}

.blm-rel:hover .blm-rel__media img {
  transform: scale(1.05);
}

.blm-rel__body {
  display: block;
  padding: 14px 15px 16px;
}

/* Two lines, then stop — so every card in the row is the same height. */
.blm-rel__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  color: #1b2430;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.blm-rel__price {
  display: block;
  margin-top: 7px;
  color: #14403d;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 1000px) { .blm-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .blm-related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px)  { .blm-related { grid-template-columns: 1fr; } }

/* --- Tiers, now the only price on the card -------------------------------
   The single "from" figure above them is gone, so these carry the price on
   their own and need more presence. */

.blm-tiers {
  margin: 4px 0 16px !important;
  gap: 9px !important;
}

.blm-tier {
  position: relative;
  padding: 12px 8px 11px !important;
}

.blm-tier__amt {
  font-size: 17px !important;
}

/* The middle and long options carry a saving, so they get a little more
   weight than the single day - the eye should land on them first. */
.blm-tier--deal {
  border-color: #cfe0dd;
  background: #f7fbfa;
}

.blm-tier--deal .blm-tier__amt {
  color: #14403d;
}

.blm-tier__off {
  display: block;
  margin-top: 5px;
  padding: 2px 0;
  border-radius: 999px;
  background: #e6f4ef;
  color: #14403d;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .blm-tiers { flex-wrap: wrap; }
  .blm-tier { flex: 1 1 30%; }
}

/* =========================================================================
   The search widget on a narrow screen

   Below the desktop row it takes the booking card's shape: location and dates
   get a row each because their values are long and must not be truncated, and
   the two times share a row because "10:00 am" is short and stacking them
   pushes the Search button off the first screenful. Same arrangement in the
   hero, the catalogue and the product card, so it is learned once.
   ========================================================================= */

@media (max-width: 900px) {
  .blm-search .blm-search__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
  }

  .blm-search .blm-search__grid > .biolec-field,
  .blm-search .blm-search__grid > .blm-search__dates,
  .blm-search .blm-search__grid > .blm-search__go {
    grid-column: 1 / -1;
  }

  .blm-search .blm-search__grid > .blm-search__time {
    grid-column: span 1;
  }

  .blm-search__go {
    width: 100%;
  }
}

/* Only where two really will not fit does anything stack further. */
@media (max-width: 360px) {
  .blm-search .blm-search__grid,
  .rental-dates .blm-search__grid--product {
    grid-template-columns: 1fr;
  }

  .blm-search .blm-search__grid > .blm-search__time,
  .rental-dates .blm-search__grid--product > .blm-search__time {
    grid-column: 1 / -1;
  }
}

/* =========================================================================
   Catalogue filters — a panel that collapses on small screens

   Built on <details>, so the open/closed state is the browser's job: no
   script, keyboard and screen-reader support for free, and nothing to go
   wrong when the results reload. On desktop it is forced open and the toggle
   is hidden, so the rail looks exactly as it always did.
   ========================================================================= */

.biolec-rental .filters-rail__toggle {
  display: none;
}

/* Desktop: always open, whatever the element's own state says.

   Two rules because browsers hide a closed <details> two different ways: older
   engines via display:none on the non-summary children, and current Chrome via
   content-visibility on the ::details-content pseudo. Overriding only one of
   them leaves the rail blank in the other. */
@media (min-width: 861px) {
  .biolec-rental details.filters-rail > *:not(.filters-rail__toggle) {
    display: block;
  }

  .biolec-rental details.filters-rail::details-content {
    content-visibility: visible;
    block-size: auto;
  }
}

@media (max-width: 860px) {
  .biolec-rental .filters-rail {
    position: static;
    display: block;
    margin-bottom: 18px;
    border: 1px solid #e3e8ec;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
  }

  .biolec-rental .filters-rail__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #1b2430;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  /* Safari still draws its own triangle without this. */
  .biolec-rental .filters-rail__toggle::-webkit-details-marker {
    display: none;
  }

  /* A chevron that turns when the panel opens, drawn rather than an image. */
  .biolec-rental .filters-rail__toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    margin-left: auto;
    border-right: 2px solid #6b7480;
    border-bottom: 2px solid #6b7480;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s ease;
  }

  .biolec-rental .filters-rail[open] .filters-rail__toggle::after {
    transform: rotate(-135deg) translate(-2px, -2px);
  }

  .biolec-rental .filters-rail__toggle-label::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-right: 8px;
    vertical-align: -3px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v2l-7 7v6l-4-2v-4L3 7V5z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18v2l-7 7v6l-4-2v-4L3 7V5z'/%3E%3C/svg%3E") no-repeat center / contain;
  }

  .biolec-rental .filters-rail__toggle-count {
    color: #6b7480;
    font-size: 13px;
    font-weight: 500;
  }

  /* The blocks lose their own cards inside the panel: one border, not five. */
  .biolec-rental .filters-rail__block {
    border: 0;
    border-top: 1px solid #eef1f4;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 16px 16px;
  }

  .biolec-rental .filters-rail__block--help {
    display: block;
    background: #fbfcfc;
  }
}

/* =========================================================================
   Gap between the filter cards

   The rail used to be a flex column with gap:16px, and that worked while it
   was an <aside>. As a <details>, Chrome wraps everything after the summary in
   a ::details-content box — so the flex container now has two children, the
   summary and that wrapper, and the gap lands between those instead of between
   the cards inside. The cards ended up flush against each other.

   Margins on the cards themselves do not care how the browser wraps the
   content, so they hold in every engine.
   ========================================================================= */

@media (min-width: 861px) {
  .biolec-rental .filters-rail__block {
    margin-bottom: 16px;
  }

  .biolec-rental .filters-rail__block:last-child {
    margin-bottom: 0;
  }

  /* Belt and braces: where ::details-content is supported, give it the column
     layout the rail itself used to have. */
  .biolec-rental details.filters-rail::details-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .biolec-rental details.filters-rail::details-content .filters-rail__block {
    margin-bottom: 0;
  }
}

/* The rail scrolls with the page. It was sticky, which pinned it by its top
   edge and left the lower half unreachable once it grew taller than the
   screen; the fix for that was an inner scrollbar, which looked worse than the
   problem. Plain flow is the right answer for a rail this tall. */
@media (min-width: 861px) {
  .biolec-rental .filters-rail {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* =========================================================================
   Delivery block — the places these products actually go
   ========================================================================= */

.biolec-rental .filter-country {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font-size: 14px;
}

.biolec-rental .filter-country__name {
  font-weight: 600;
  color: #1b2430;
}

.biolec-rental .filter-country__cost {
  margin-left: auto;
  color: #14403d;
  font-size: 12px;
  font-weight: 700;
}

.biolec-rental .filter-places {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.biolec-rental .filter-places li {
  margin: 0;
}

.biolec-rental .filter-places a {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid #e3e8ec;
  border-radius: 999px;
  background: #fbfcfc;
  color: #3c4653;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.biolec-rental .filter-places a:hover {
  border-color: #b6bec8;
  background: #f4f7f7;
  text-decoration: none;
}

/* The chosen place. Clicking it again clears the filter, so it reads as a
   toggle rather than a dead end. */
.biolec-rental .filter-places a.is-active {
  border-color: #14403d;
  background: #14403d;
  color: #fff;
}

.biolec-rental .filter-places a.is-active::after {
  content: " ×";
  font-weight: 700;
}

/* =========================================================================
   Catalogue card on a phone — one column, one element per row

   Image, then title, then price, then the button, each on its own row. The
   two-column version left the picture in a tall narrow cell with empty space
   above and below it, because the row height was set by the text beside it.
   Stacking removes that problem entirely.
   ========================================================================= */

@media (max-width: 600px) {
  .biolec-rental .result {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
  }

  .biolec-rental .result__media {
    width: 100%;
    /* Square rather than a fixed 190px: the photos are square, so a short wide
       box drew them small with pale either side. */
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .biolec-rental .result__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
  }

  .biolec-rental .result__body {
    padding: 12px 14px 0;
  }

  /* Detail rather than identity — all of it is on the product page. */
  .biolec-rental .result__cat,
  .biolec-rental .result__specs,
  .biolec-rental .result__rating,
  .biolec-rental .result__perks,
  .biolec-rental .result__rail-label,
  .biolec-rental .result__meta,
  .biolec-rental .result__hint,
  .biolec-rental .result__flag {
    display: none !important;
  }

  .biolec-rental .result__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
  }

  /* The price rail becomes two more stacked rows rather than a side column. */
  .biolec-rental .result__rail {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 10px 14px 14px;
    border: 0 !important;
    background: none !important;
  }

  .biolec-rental .result__total {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #14403d;
  }

  .biolec-rental .result__cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
  }
}

/* =========================================================================
   Single product on a phone — heading, photo, booking card

   On a wide screen the booking card sits in a rail beside the product. Once
   the layout collapses to one column it would fall below the gallery, the
   description and the specs, so the price and the dates — the two things
   someone came for — end up several screens down. Hoisting the whole rail to
   the very top fixed that but overshot: the first thing on the page became a
   date picker for a product you had not yet seen a photo or a name of.

   The order that actually reads is heading, photo, booking card, then the
   bullet points and everything else.

   Getting there needs the rail and the two hero pieces to sit in one flex
   container, and they do not — the rail is a sibling of <main>, the others are
   nested inside it. display: contents dissolves those two wrappers for the
   width of a phone so every piece becomes a direct child of .product-layout
   and can be ordered freely. It is applied to a plain <div> and to <main>;
   current browsers keep the landmark role of an element with display: contents,
   and the markup is unchanged either way.

   Only the hoisted pieces carry an order. Everything else keeps the default 0
   and so follows them in markup order.
   ========================================================================= */

@media (max-width: 860px) {
  .biolec-rental .product-layout {
    display: flex;
    flex-direction: column;
    gap: 28px;
    /* The two-column rule sets align-items: start, which on a column flex
       container shrinks every row to its content width instead of filling -
       the specifications table came out narrower than the blocks around it. */
    align-items: stretch;
  }

  .biolec-rental .product-main,
  .biolec-rental .product-hero {
    display: contents;
  }

  .biolec-rental .product-hero__head  { order: -4; }
  .biolec-rental .product-hero__media { order: -3; }
  .biolec-rental .booking-rail        { order: -2; }
  .biolec-rental .product-hero__body  { order: -1; }

  /* The photo fills the column on a phone, and is centred rather than stretched
     once the column is wider than the card beside it would have been. */
  .biolec-rental .product-hero__media,
  .biolec-rental .booking-card {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ---------------------------------------------------------------------------
   "Also available" - the hand-picked links to other sizes and styles, sitting
   between the rental dates and the Add to booking button.
   --------------------------------------------------------------------------- */

.blm-also {
  margin: 0 0 16px;
}

.blm-also__title {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #5b6b7c;
}

.blm-also__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blm-also__list a {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #d7e0e9;
  border-radius: 999px;
  background: #fff;
  color: #0c2d4a;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}

.blm-also__list a:hover,
.blm-also__list a:focus {
  border-color: #2d7dc2;
  color: #2d7dc2;
}

/* ---------------------------------------------------------------------------
   Single product: the intro bullets, the attribute table and the description.

   These override the earlier rules in this file rather than replacing them, so
   the older declarations stay readable as history. Source order decides.
   --------------------------------------------------------------------------- */

/* The excerpt is a list of what the machine does. A tick reads as "included"
   at a glance, which a disc bullet does not. The marker is drawn rather than
   typed so it never inherits the text colour of a link or heading. */
.biolec-rental .product-hero__excerpt ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.biolec-rental .product-hero__excerpt li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 30px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text);
}

.biolec-rental .product-hero__excerpt li::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f2ea;
}

.biolec-rental .product-hero__excerpt li::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 6px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #1f8a4c;
  border-bottom: 2px solid #1f8a4c;
  transform: rotate(-45deg);
}

/* Attributes: a full-width two-column table under the gallery, showing every
   attribute the product has rather than the first four. Rows alternate so a
   long list stays trackable across the gap between the columns. */
.biolec-rental .spec-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 40px;
}

.biolec-rental .spec-grid__row {
  align-items: baseline;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
  border-radius: 6px;
}

.biolec-rental .spec-grid__row:nth-child(odd) {
  background: var(--tint);
}

.biolec-rental .spec-grid dt {
  flex: 0 0 auto;
  font-size: 14px;
}

.biolec-rental .spec-grid dd {
  font-size: 14px;
  line-height: 1.5;
}

/* Description: measured line length, real spacing between paragraphs, and
   headings that separate the feature lists the vendor copy tends to contain. */
.biolec-rental .product-block--prose .entry-content {
  max-width: 74ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-text);
}

.biolec-rental .product-block--prose .entry-content > *:first-child {
  margin-top: 0;
}

.biolec-rental .product-block--prose .entry-content > *:last-child {
  margin-bottom: 0;
}

.biolec-rental .product-block--prose .entry-content p {
  margin: 0 0 18px;
}

.biolec-rental .product-block--prose .entry-content h2,
.biolec-rental .product-block--prose .entry-content h3,
.biolec-rental .product-block--prose .entry-content h4,
.biolec-rental .product-block--prose .entry-content strong {
  color: var(--navy);
}

.biolec-rental .product-block--prose .entry-content h2,
.biolec-rental .product-block--prose .entry-content h3,
.biolec-rental .product-block--prose .entry-content h4 {
  margin: 28px 0 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}

.biolec-rental .product-block--prose .entry-content ul,
.biolec-rental .product-block--prose .entry-content ol {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.biolec-rental .product-block--prose .entry-content li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 22px;
}

/* A small square rather than a tick: these are description points, not the
   headline claims the excerpt carries, and repeating the tick would flatten
   the difference between the two lists. */
.biolec-rental .product-block--prose .entry-content li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.biolec-rental .product-block--prose .entry-content ol {
  counter-reset: blm-step;
}

.biolec-rental .product-block--prose .entry-content ol li {
  counter-increment: blm-step;
}

.biolec-rental .product-block--prose .entry-content ol li::before {
  content: counter(blm-step) ".";
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 860px) {
  .biolec-rental .spec-grid__row {
    padding: 10px 12px;
  }
}

/* --- Tiers: three columns, one row ----------------------------------------
   A column per hire length, label above price. Side by side the three figures
   can be read across in one glance, which is the whole point of showing them -
   a week beside a day is an argument for the week.

   These were briefly stacked as full-width rows, because AED 2,250.64 could
   not fit in a third of the card. Rounding to whole units removed that
   problem: AED 2,251 fits where the pence version did not, so the columns are
   back. min-width: 0 on the cell and a smaller figure below 380px keep it that
   way if a longer currency ever turns up.
   --------------------------------------------------------------------------- */

.blm-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px !important;
  margin: 4px 0 16px !important;
}

.blm-tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  padding: 10px 6px 11px !important;
  text-align: center;
}

.blm-tier__len {
  order: 1;
  margin: 0;
  white-space: nowrap;
}

.blm-tier__amt {
  order: 2;
  margin: 0;
  font-size: 18px !important;
  white-space: nowrap;
}

.blm-tier__off {
  order: 3;
  display: inline-block;
  margin-top: 2px;
  padding: 2px 7px;
}

/* The symbol is not the information - the number is. Set smaller and raised to
   sit against the top of the digits, so "352" reads as the price and the " a3"
   as a unit on it. Sized in em so it tracks the figure at every breakpoint, and
   so a three-letter symbol like AED shrinks with it rather than crowding the
   column out. */
.blm-tier__amt .woocommerce-Price-currencySymbol {
  font-size: 0.62em;
  font-weight: 600;
  vertical-align: 0.3em;
  margin-right: 1px;
  opacity: 0.75;
}

/* Only two tiers, or one: let them share the width rather than leaving a gap
   where the third would have been. */
.blm-tiers:has(.blm-tier:nth-child(2):last-child) {
  grid-template-columns: repeat(2, 1fr);
}

.blm-tiers:has(.blm-tier:only-child) {
  grid-template-columns: 1fr;
}

@media (max-width: 380px) {
  .blm-tier {
    padding: 9px 4px 10px !important;
  }

  .blm-tier__amt {
    font-size: 16px !important;
  }

  .blm-tier__off {
    padding: 2px 5px;
    font-size: 10px;
  }
}

/* --- Calendar: never cut off, tighter on a phone --------------------------
   The date field sits low in the booking card, so a panel always pinned below
   it ran off the bottom of the window and the last week of the month could not
   be reached at all. The script measures the room and adds .is-up when there is
   more of it above the field; the max-height is the backstop for a window too
   short for either side.
   --------------------------------------------------------------------------- */

.blm-cal.is-up {
  top: auto;
  bottom: calc(100% + 8px);
}

.blm-cal {
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-width: 560px) {
  /* Wholesale trim: the phone panel was laid out at desktop spacing, which is
     what pushed it past the bottom of the screen in the first place. Smaller
     cells and tighter gaps mean it usually fits below the field with no flip
     and no scrolling. */
  .blm-cal {
    padding: 12px 12px 10px;
    font-size: 13px;
    border-radius: 12px;
  }

  .blm-cal.is-up {
    bottom: calc(100% + 6px);
  }

  .blm-cal__month {
    width: min(272px, 80vw);
  }

  .blm-cal__mh {
    margin-bottom: 6px;
  }

  .blm-cal__mt {
    font-size: 14px;
  }

  .blm-cal__wd span {
    padding-bottom: 4px;
    font-size: 11px;
  }

  .blm-cal__d {
    height: 30px;
    font-size: 13px !important;
    border-radius: 7px !important;
  }

  .blm-cal__arrow {
    width: 26px;
    height: 26px;
  }

  .blm-cal__readout {
    margin-top: 8px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .blm-cal__foot {
    margin-top: 8px;
    gap: 6px;
  }

  .blm-cal__btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Beside the field rather than above it. On a product page the booking card is
   a narrow rail with the description column empty next to it, and that space is
   level with the date field - so the panel opens where the eye already is
   instead of jumping to the top of the window. The script sets `top` to pull it
   back up if it would overhang the bottom. */
.blm-cal.is-side {
  top: 0;
  bottom: auto;
  left: auto;
  right: calc(100% + 12px);
  transform: none;
}

@media (max-width: 560px) {
  /* No column to sit in on a phone: the field spans the screen. */
  .blm-cal.is-side {
    top: calc(100% + 8px) !important;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Tighter grid. The cells were sized for a standalone datepicker; in the
   booking rail the extra height only made the panel taller than the space it
   had to open into. */
.blm-cal__month {
  width: 210px;
}

.blm-cal__months {
  gap: 22px;
}

.blm-cal__d {
  height: 29px;
  font-size: 13px !important;
}

.blm-cal__wd span {
  padding-bottom: 5px;
  font-size: 11px;
}

@media (max-width: 560px) {
  .blm-cal__month {
    width: min(252px, 78vw);
  }

  .blm-cal__d {
    height: 28px;
  }
}

/* The forward arrow, when only one month is drawn. It sits in the first
   month's header, which otherwise holds an empty spacer on that side. */
.blm-cal__arrow--solo {
  display: none;
}

.blm-cal.is-single .blm-cal__arrow--solo {
  display: flex;
}

/* Why the far end of the calendar is closed off. Reads as an explanation, not
   an error - nothing has gone wrong, the booking is simply longer than the
   price list covers. */
.blm-cal__cap {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff6e8;
  color: #7a4a08;
  font-size: 12px;
  line-height: 1.45;
}

/* The split inside the FunnelKit slide-in cart. Its own row markup is reused,
   so only the emphasis is set here: the amount being charged today is the one
   to land on, and the balance is the one not to miss. */
.fkcart-summary-line-item.biolec-fk-split .fkcart-summary-amount {
  font-weight: 600;
}

.biolec-fk-note .fkcart-summary-text {
  color: #7a4a08;
  font-size: 12px;
  line-height: 1.45;
}

.biolec-fk-note .fkcart-summary-text .amount,
.biolec-fk-note .fkcart-summary-text bdi {
  color: inherit;
  font-weight: 700;
}

/* The split against each line in the FunnelKit drawer. Kept quiet: it explains
   the item's price, it is not competing with it. */
.biolec-fk-line {
  margin: 6px 0 2px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(12, 45, 74, 0.04);
  font-size: 12px;
  line-height: 1.5;
}

.biolec-fk-line__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #5c7186;
}

.biolec-fk-line__row .amount,
.biolec-fk-line__row bdi {
  font-weight: 600;
  color: #33475c;
}

.biolec-fk-line__row--later span,
.biolec-fk-line__row--later .amount,
.biolec-fk-line__row--later bdi {
  color: #7a4a08;
}

/* Whose clock the times are on. Quiet — it is a clarification, not an
   instruction, and it sits between the time fields and the running quote. */
.biolec-rental .rental-dates__tz {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.biolec-rental .rental-dates__tz::before {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  /* The clock hands, drawn rather than typed so no emoji font is involved. */
  background:
    linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 50% 50% / 3px 1.5px no-repeat;
  background-origin: content-box;
  opacity: 0.85;
}

/* ---------------------------------------------------------------------------
   Delivery address at checkout. Shown only when something is being hired, so
   it reads as part of the booking rather than another block of shop fields.
   --------------------------------------------------------------------------- */

.biolec-address {
  margin: 24px 0 8px;
  padding: 18px 18px 6px;
  border: 1px solid var(--border, #DBE9F7);
  border-radius: 12px;
  background: var(--tint, #F3F7FB);
}

.biolec-address h3 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #0C2D4A);
}

.biolec-address__city {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted, #5C7186);
}

.biolec-address .form-row {
  margin: 0 0 12px;
  padding: 0;
  float: none;
  width: 100%;
}

.biolec-address label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #0C2D4A);
}

.biolec-address input[type="text"],
.biolec-address textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--field-border, #C2D6EA);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.biolec-address textarea {
  min-height: 72px;
  resize: vertical;
}

.biolec-address input:focus,
.biolec-address textarea:focus {
  border-color: var(--accent, #2D7DC2);
  outline: 2px solid rgba(45, 125, 194, 0.15);
  outline-offset: 0;
}

/* Two across where there is room: building and room belong side by side, and
   so do area and phone. */
@media (min-width: 620px) {
  .biolec-address {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
  }

  .biolec-address h3,
  .biolec-address__city,
  .biolec-address #biolec_access_field {
    grid-column: 1 / -1;
  }
}

/* --- Tier cards inside a catalogue result ---------------------------------
   One band per row, whether there are two of them or three. The rail is about
   200px: side by side, "Up to 44 days" has nowhere to go and the figure gets
   pushed off the edge of the card.

   Scoped to .result deliberately. The shared .blm-tiers rule is a three-column
   grid for the booking card, and at equal specificity whichever stylesheet
   loaded last would win - which, behind a page cache serving a stale bundle,
   is not something source order can decide. One level deeper settles it.

   Laid out with block and flex rather than a grid, so no grid-template-columns
   from anywhere can split the rows into columns again.
   --------------------------------------------------------------------------- */

.result .blm-tiers--card {
  display: block;
  margin: 2px 0 10px !important;
  padding: 0;
  list-style: none;
}

.result .blm-tiers--card .blm-tier {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 7px;
  width: 100%;
  margin: 0 0 6px;
  padding: 8px 10px !important;
  text-align: left;
}

.result .blm-tiers--card .blm-tier:last-child {
  margin-bottom: 0;
}

/* Allowed to shrink and clip: the price must never be the thing that gets
   pushed out, because it is the only part of the row nobody can guess. */
.result .blm-tiers--card .blm-tier__len {
  order: 1;
  flex: 0 1 auto;
  min-width: 0;
  font-size: 11.5px;
  line-height: 1.3;
  white-space: nowrap;
  /* The rail is wide enough for every label the catalogue produces today. The
     clip stays as a backstop for a longer currency - "AED 2,251" beside a badge
     takes noticeably more room than the pound figures do. */
  overflow: hidden;
  text-overflow: ellipsis;
}

.result .blm-tiers--card .blm-tier__off {
  order: 2;
  flex: 0 0 auto;
  margin: 0;
  padding: 1px 6px;
  font-size: 10px;
}

.result .blm-tiers--card .blm-tier__amt {
  order: 3;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 16px !important;
  white-space: nowrap;
}

@media (max-width: 860px) {
  /* The phone card stays image, title, price, button - so the headline band is
     the price and the rest would be clutter. */
  .result .blm-tiers--card .blm-tier + .blm-tier {
    display: none;
  }

  .result .blm-tiers--card .blm-tier:first-child {
    border: 0;
    background: none;
    padding: 0 !important;
  }

  .result .blm-tiers--card .blm-tier:first-child .blm-tier__amt {
    font-size: 17px !important;
  }
}

/* A field the booking cannot be made without, pointed at rather than scolded.
   Cleared by the script the moment the customer touches it. */
.biolec-rental .biolec-field.is-missing .blm-daterange,
.biolec-rental .biolec-field.is-missing select,
.biolec-rental .biolec-field.is-missing input {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}

.biolec-rental .rental-dates__summary.is-error {
  color: #c0392b;
  font-weight: 600;
}

/* ── How it gets to them: delivery or collection ────────────────────────
   Two cards rather than a dropdown, because the difference between the
   options is a price and a dropdown hides prices until it is opened. */
.blm-method{margin:0 0 14px}
/* Stacked, not side by side. In a 330px booking column two cards leave ~150px
   each, which wraps 'Delivery & collection' onto three lines and reads as
   broken. Full width puts the name and the price on one line. */
.blm-method__cards{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.blm-method__card{position:relative;display:flex;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid var(--line,#DBE5EE);border-radius:12px;background:#fff;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}
.blm-method__card:hover{border-color:var(--blue-500,#2F9BDF)}
.blm-method__card.is-on{border-color:var(--blue-700,#0165B7);background:var(--blue-50,#F0F5FA);box-shadow:0 1px 3px rgba(1,101,183,.10)}
.blm-method__card input{margin:2px 0 0;accent-color:var(--blue-700,#0165B7);flex:0 0 auto}
.blm-method__body{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.blm-method__name{font-size:14px;font-weight:600;line-height:1.3;color:var(--ink-800,#1E293B)}
.blm-method__note{font-size:12.5px;line-height:1.45;color:var(--ink-500,#64748B)}
.blm-method__shop{display:block;margin-top:3px;font-weight:600;color:var(--blue-700,#0165B7)}
.blm-method__price{flex:0 0 auto;align-self:center;font-size:14px;font-weight:700;white-space:nowrap;color:var(--ink-800,#1E293B)}
.blm-method__card.is-on .blm-method__price{color:var(--blue-700,#0165B7)}

/* The location question is meaningless once collection is chosen, so it is put
   away. A class rather than the hidden attribute: these fields are labels the
   theme gives an explicit display, and an explicit display beats [hidden]. */
.blm-method-hide{display:none !important}

/* ── Collection details on the order and in emails ──────────────────── */
.blm-collect{margin:22px 0;padding:18px 20px;background:#F0F5FA;border:1px solid #DBE5EE;border-left:4px solid #0165B7;border-radius:10px}
.blm-collect__title{margin:0 0 8px;font-size:16px;line-height:1.3}
.blm-collect__address{margin:0 0 10px;font-size:15px;line-height:1.6;font-weight:600}
.blm-collect__line{margin:0 0 6px;font-size:14px;line-height:1.5}
.blm-collect__note{margin:10px 0 0;font-size:13px;line-height:1.5;color:#5C6B79}

/* Out-of-hours notice, under the time pickers. Amber rather than red: the
   booking is allowed, it just needs confirming, and red would read as refused. */
.biolec-rental .rental-dates__hours {
  margin: 8px 0 0; padding: 9px 12px;
  background: #FBF1E2; border: 1px solid #F0DCB8; border-radius: 10px;
  color: #8A5A12; font-size: 12.5px; line-height: 1.5;
}
.biolec-rental .rental-dates__hours[hidden] { display: none; }
