/* R-Build – Products page and listings, product page, and the product lists on the segment pages. */

.rb-cat, .rb-pdp {
	font-family: 'Assistant', sans-serif;
	color: var(--rb-body);
	background: #fff;
	font-size: 16px;
	line-height: 1.6;
}
.rb-cat [hidden], .rb-pdp [hidden], .rb-dialog [hidden] { display: none !important; }
/* Impreza's page wrapper uses overflow:hidden, which disables position:sticky inside it. clip keeps the
   same visual clipping without creating a scroll container. */
body.rb-catalogue-page .l-canvas, body.rb-product-page .l-canvas { overflow: clip; }
.rb-cat h1, .rb-cat h2, .rb-cat h3, .rb-cat h4,
.rb-pdp h1, .rb-pdp h2, .rb-pdp h3, .rb-pdp h4 {
	font-family: inherit; letter-spacing: 0; text-transform: none; padding: 0;
}
.rb-cat a, .rb-pdp a { text-decoration: none; }
.rb-muted { color: var(--rb-faded); font-size: 15px; margin: 14px 0 0; }

/* ---------- Hero / band ---------- */
.rb-hero, .rb-band { position: relative; overflow: hidden; background: var(--rb-navy); color: #fff; }
/* --rb-head: Impreza header height when it overlaps the page (fixed or transparent header), see rb-site.css. */
/* Header, title and search close together (client, 30 Oct 2026). */
.rb-hero { padding: calc(var(--rb-head, 0px) + 20px) 0 40px; }
.rb-band { padding: calc(var(--rb-head, 0px) + 18px) 0 18px; }
.rb-hero__photo, .rb-band__photo {
	position: absolute; top: 0; right: 0; bottom: 0; width: 46%;
	clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
	background: url(../img/rb-band.jpg) center / cover no-repeat;
}
.rb-band__photo { width: 34%; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); }
.rb-hero__photo::after, .rb-band__photo::after { content: ""; position: absolute; inset: 0; background: rgba(36, 67, 95, .78); }
.rb-hero__inner, .rb-band .rb-wrap { position: relative; }
.rb-hero__eyebrow { margin: 22px 0 0; font-size: 14.4px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.rb-hero__title { margin: 10px 0 0; max-width: 700px; font-size: clamp(32px, calc(22px + 1.6vw), 46px); font-weight: 800; line-height: 1.15; color: #fff; }
.rb-hero__eyebrow + .rb-hero__title { margin-top: 8px; }
.rb-search { margin-top: 20px; max-width: 760px; display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: var(--rb-radius); }
:is(.rb-cat, .rb-pdp) .rb-search input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 54px; margin: 0; padding: 0 16px;
	border: 0; border-radius: 0; box-shadow: none; background: transparent;
	font-family: inherit; font-size: 17px; color: var(--rb-heading);
}
.rb-search input[type="search"]:focus { outline: 2px solid var(--rb-navy); outline-offset: -2px; }
.rb-search .rb-btn { min-height: 54px; padding: 0 26px; }

/* ---------- Browse by + chips ---------- */
.rb-tabs { display: flex; align-items: center; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--rb-line); }
.rb-tabs__label { margin-right: 8px; font-size: 14.4px; white-space: nowrap; }
.rb-tab {
	display: inline-flex; align-items: center; gap: 6px; height: 60px; padding: 0 16px;
	font-size: 16px; font-weight: 600; color: var(--rb-body); white-space: nowrap;
}
.rb-tab:hover { color: var(--rb-navy); }
.rb-tab.is-active { font-weight: 700; color: var(--rb-navy); box-shadow: inset 0 -3px 0 var(--rb-navy); }
.rb-chips-row { border-bottom: 1px solid var(--rb-line); }
.rb-chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 14px; padding-bottom: 14px; scrollbar-width: none; }
.rb-chips::-webkit-scrollbar { display: none; }
@media (min-width: 1101px) { .rb-chips { flex-wrap: wrap; overflow: visible; } }
.rb-chip {
	flex-shrink: 0; display: inline-flex; align-items: center; height: 40px; padding: 0 14px;
	border-radius: var(--rb-radius); background: var(--rb-alt); color: var(--rb-heading);
	font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .3s ease, color .3s ease;
}
.rb-chip:hover { background: var(--rb-line); color: var(--rb-heading); }
.rb-chip.is-active { background: var(--rb-navy); color: #fff; font-weight: 700; }

/* ---------- Products page: brands, products by brand (right column, above All products) ---------- */
.rb-cat-sec { padding-bottom: 64px; }
.rb-cat-sec, .rb-list-sec { scroll-margin-top: calc(var(--header-sticky-height, 60px) + 24px); }
.rb-cat-sec__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; }
.rb-cat-sec__title { margin: 0; font-size: clamp(24px, calc(18px + 1vw), 32px); font-weight: 700; line-height: 1.2; color: var(--rb-heading); }
/* The brand logos: .rb-logo-row in rb-site.css. */
.rb-cat-brands { margin-top: 28px; }
.rb-cat-brandrow { margin-top: 32px; scroll-margin-top: calc(var(--header-sticky-height, 60px) + 24px); }
.rb-cat-brandrow + .rb-cat-brandrow { margin-top: 48px; }
.rb-cat-brandrow__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 20px; }
.rb-cat-brandrow__title { margin: 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--rb-heading); }

/* Second search box, above the full list. */
.rb-search--list { margin-top: 20px; max-width: none; gap: 8px; padding: 0; background: transparent; }
.rb-cat .rb-search--list input[type="search"] {
	height: 48px; border: 1px solid var(--rb-input); border-radius: var(--rb-radius);
	box-shadow: inset 0 1px 0 rgba(0, 0, 0, .08); background: #fff; font-size: 16px;
}
.rb-search--list .rb-btn { min-height: 48px; padding: 0 22px; }

/* ---------- Layout ---------- */
.rb-body { padding: 40px 0 64px; }
.rb-layout { display: flex; gap: 48px; align-items: flex-start; }
.rb-rail { flex: 0 0 264px; max-width: 264px; display: flex; flex-direction: column; gap: 20px; }
.rb-rail__head { display: none; }
.rb-results { flex: 1 1 auto; min-width: 0; }

/* Enquiry box */
.rb-enq-box { padding: 22px; background: var(--rb-navy); color: #fff; }
.rb-enq-box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rb-enq-box__head h2 { margin: 0; font-size: 19.2px; font-weight: 700; color: #fff; }
.rb-enq-box__count { font-size: 14px; color: rgba(255, 255, 255, .86); }
.rb-enq-box__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.rb-enq-box__list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font-size: 14.4px; line-height: 20px; color: #fff; }
.rb-enq-box__list li span span { color: rgba(255, 255, 255, .72); }
.rb-enq-box__list button { width: 36px; height: 36px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; }
.rb-enq-box__empty { margin: 12px 0 0; font-size: 14.4px; line-height: 22px; color: rgba(255, 255, 255, .9); }
.rb-enq-box__actions { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }

/* Filters: dropdowns (Solutions, Brand, Category) */
.rb-dds { display: flex; flex-direction: column; gap: 10px; }
.rb-dd { background: #fff; border: 1px solid var(--rb-input); border-radius: var(--rb-radius); }
.rb-dd[open] { border-color: var(--rb-navy-2); }
.rb-dd__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 10px; min-height: 58px; padding: 8px 12px 8px 14px; list-style: none; cursor: pointer; }
.rb-dd__head::-webkit-details-marker { display: none; }
.rb-dd__head:focus-visible { outline: 2px solid var(--rb-navy); outline-offset: 2px; border-radius: var(--rb-radius); }
.rb-dd__label { grid-column: 1; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--rb-heading); }
.rb-dd__value { grid-column: 1; font-size: 14px; line-height: 1.35; color: var(--rb-faded, #727F9F); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-dd.has-value .rb-dd__value { color: var(--rb-navy-2); font-weight: 600; }
.rb-dd__icon { grid-column: 2; grid-row: 1 / span 2; display: flex; color: var(--rb-navy-2); transition: transform .3s ease; }
.rb-dd[open] .rb-dd__icon { transform: rotate(180deg); }
.rb-dd__panel { max-height: 280px; overflow-y: auto; padding: 2px 14px 10px; border-top: 1px solid var(--rb-line); }
.rb-check { display: flex; align-items: center; gap: 10px; min-height: 40px; margin: 0; font-size: 15px; line-height: 1.3; color: var(--rb-body); cursor: pointer; }
.rb-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--rb-navy); flex-shrink: 0; }
.rb-check span:first-of-type { flex: 1; }
.rb-filter-form { display: flex; flex-direction: column; gap: 20px; }
.rb-filter-form__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rb-js .rb-filter-form__actions { display: none; }

/* Toolbar */
.rb-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--rb-line); }
.rb-toolbar__title { margin: 0; font-size: clamp(24px, calc(18px + 1vw), 32px); font-weight: 700; line-height: 1.2; color: var(--rb-heading); }
.rb-toolbar__tools { display: flex; align-items: center; gap: 8px; }
.rb-sort { margin: 0; }
:is(.rb-cat, .rb-pdp) .rb-sort select {
	height: 44px; min-width: 215px; margin: 0; padding: 0 34px 0 12px; line-height: 42px;
	border: 1px solid var(--rb-input); border-radius: var(--rb-radius);
	font-family: inherit; font-size: 15px; color: var(--rb-heading); background-color: #fff;
}
.rb-filters-toggle { display: none; min-height: 44px; padding: 0 16px; font-size: 15px; }

.rb-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.rb-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; background: var(--rb-alt); border-radius: var(--rb-radius); font-size: 14.4px; font-weight: 700; color: var(--rb-heading); }
.rb-pill:hover { background: var(--rb-line); color: var(--rb-heading); }
.rb-pills__clear { margin-left: 4px; font-size: 14.4px; font-weight: 700; color: var(--rb-navy-2); }

/* Grid + cards */
.rb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.rb-grid--list { margin-top: 28px; }
.rb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Positioned, so its screen-reader labels (absolute) stay inside the card and inside the phone card scrollers. */
.rb-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.rb-card.is-new { animation: rb-rise .5s var(--rb-ease) both; }
@keyframes rb-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rb-card__media { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--rb-alt); color: #8C99B6; overflow: hidden; }
.rb-card__img { width: 80%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--rb-ease); }
.rb-card:hover .rb-card__img { transform: scale(1.04); }
.rb-pack { max-width: 60%; height: auto; }
.rb-badge { position: absolute; left: 12px; top: 12px; padding: 4px 8px; background: #fff; font-size: 12.8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; color: var(--rb-heading); }
.rb-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.rb-card__meta { margin: 0; font-size: 12.8px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; color: var(--rb-body); }
.rb-card__title { margin: 4px 0 0; font-size: 18px; font-weight: 700; line-height: 1.25; }
.rb-card__title a { color: var(--rb-heading); }
.rb-card__title a:hover { color: var(--rb-navy-2); }
.rb-card__desc { margin: 6px 0 0; font-size: 14.4px; line-height: 22px; color: var(--rb-body); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rb-card__actions { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rb-card__actions .rb-btn { min-height: 44px; padding: 0 10px; font-size: 15px; }

/* Small product boxes inside the segment pages' dropdowns. */
.rb-ptiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; margin: 20px 0 24px; }
.rb-ptile { display: flex; flex-direction: column; height: 100%; color: var(--rb-heading); }
.rb-ptile__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: var(--rb-alt); color: #8C99B6; overflow: hidden; }
.rb-ptile__media img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.rb-ptile:hover .rb-ptile__media img { transform: scale(1.05); }
.rb-ptile__name { margin-top: 8px; font-size: 14.4px; font-weight: 700; line-height: 1.3; color: var(--rb-heading); transition: color .2s ease; }
.rb-ptile:hover .rb-ptile__name { color: var(--rb-navy-2); }

.rb-enq-toggle__added { display: none; }
.rb-enq-toggle.is-added { background: #fff; color: var(--rb-navy) !important; border-color: var(--rb-navy); }
.rb-enq-toggle.is-added .rb-enq-toggle__add { display: none; }
.rb-enq-toggle.is-added .rb-enq-toggle__added { display: inline-flex; align-items: center; gap: 6px; }

/* View more */
.rb-more { max-width: 440px; margin: 40px auto 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.rb-more__btn { width: 100%; min-height: 52px; }

.rb-empty { margin-top: 28px; padding: 40px; background: var(--rb-alt); }
.rb-empty h3 { margin: 0; font-size: 24px; font-weight: 700; color: var(--rb-heading); }
.rb-empty p { margin: 10px 0 0; max-width: 560px; }
.rb-empty__actions { margin-top: 20px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Help band */
.rb-help { position: relative; overflow: hidden; background: var(--rb-navy); color: #fff; }
.rb-help::before { content: ""; position: absolute; left: 0; top: 0; width: 440px; height: 254px; background: var(--rb-navy-2); clip-path: polygon(0 0, 100% 0, 0 100%); }
.rb-help__inner { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.rb-help__text { max-width: 600px; }
.rb-help h2 { margin: 0; font-size: clamp(26px, 1vw + 19px, 33.4px); font-weight: 700; line-height: 1.2; color: #fff; }
.rb-help p { margin: 10px 0 0; font-size: 16px; line-height: 28px; color: rgba(255, 255, 255, .9); }
.rb-help__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Sticky enquiry bar (tablet/mobile) */
.rb-enq-bar { position: sticky; bottom: 0; z-index: 60; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px; background: var(--rb-navy); color: #fff; }
.rb-enq-bar__text { margin: 0; min-width: 0; font-size: 15px; line-height: 20px; color: #fff; }
.rb-enq-bar__text strong { display: block; }
.rb-enq-bar__text span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255, 255, 255, .82); }
.rb-enq-bar__actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Product page ---------- */
.rb-pdp-top { padding: 44px 0 64px; }
.rb-pdp-top__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: start; }
.rb-gallery__main { position: relative; margin: 0; aspect-ratio: 1 / 1; max-height: 540px; display: flex; align-items: center; justify-content: center; background: var(--rb-alt); color: #8C99B6; }
.rb-gallery__img { width: 80%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s ease; }
.rb-gallery__main .rb-badge { left: 16px; top: 16px; }
.rb-gallery__thumbs { margin-top: 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.rb-gallery__thumb { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 6px; border: 0; background: var(--rb-alt); cursor: pointer; }
.rb-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rb-gallery__thumb.is-active { box-shadow: inset 0 0 0 2px var(--rb-navy); }
.rb-brand-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--rb-navy-2); }
.rb-brand-link span { display: inline-flex; align-items: center; gap: 6px; }
.rb-brand-link__logo { width: auto; height: 44px; max-width: 110px; object-fit: contain; }
.rb-pdp-title { margin: 10px 0 0; font-size: clamp(32px, calc(10px + 2.6vw), 46px); font-weight: 800; line-height: 1.12; color: var(--rb-heading); }
.rb-pdp-meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; }
.rb-pdp-meta a { font-weight: 700; color: var(--rb-navy-2); }
.rb-pdp-summary { margin: 18px 0 0; font-size: 17.6px; line-height: 29px; color: var(--rb-body); }
.rb-buybox { margin-top: 26px; padding: 24px; background: var(--rb-alt); display: flex; flex-direction: column; gap: 10px; }
.rb-buybox__label { font-size: 15px; font-weight: 700; color: var(--rb-heading); }
.rb-buybox__label span { font-weight: 400; color: var(--rb-body); }
.rb-buybox__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.rb-buybox__row .rb-btn, .rb-buybox > .rb-btn { min-height: 52px; }
.rb-buybox__added { margin: 0; font-size: 15px; color: var(--rb-heading); }
.rb-buybox__note { margin: 4px 0 0; font-size: 14.4px; color: var(--rb-body); }
.rb-buybox__note a { font-weight: 700; color: var(--rb-navy-2); }

.rb-section-nav { position: sticky; top: var(--rb-sticky-top, 0px); z-index: 30; background: #fff; border-top: 1px solid var(--rb-line); border-bottom: 1px solid var(--rb-line); }
.rb-section-nav .rb-wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.rb-section-nav .rb-wrap::-webkit-scrollbar { display: none; }
.rb-section-nav a { display: inline-flex; align-items: center; height: 56px; padding: 0 16px; font-size: 16px; font-weight: 600; color: var(--rb-body); white-space: nowrap; }
.rb-section-nav a:hover { color: var(--rb-navy); }
.rb-section-nav a.is-active { font-weight: 700; color: var(--rb-navy); box-shadow: inset 0 -3px 0 var(--rb-navy); }

/* Scoped to the product page: the segment pages load this file for their product lists and have their own .rb-sec. */
.rb-pdp .rb-sec { position: relative; overflow: hidden; padding: 64px 0; scroll-margin-top: 80px; }
.rb-pdp .rb-sec [id] { scroll-margin-top: 130px; }
.rb-pdp .rb-sec--alt { background: var(--rb-alt); }
.rb-pdp .rb-sec__wedge { position: absolute; right: 0; bottom: 0; width: 440px; height: 254px; background: var(--rb-line); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.rb-pdp .rb-sec h2 { margin: 0 0 20px; font-size: clamp(26px, calc(19px + 1vw), 33.4px); font-weight: 700; line-height: 1.2; color: var(--rb-heading); }
.rb-pdp .rb-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.rb-pdp .rb-sec__head h2 { margin: 0; }
.rb-pdp .rb-prose { max-width: 820px; }
.rb-pdp .rb-prose p { margin: 0 0 14px; font-size: 16px; line-height: 28px; }
.rb-specs-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.rb-specs { margin: 0; }
.rb-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rb-line); }
.rb-specs dt { font-size: 15px; font-weight: 700; color: var(--rb-heading); }
.rb-specs dd { margin: 0; font-size: 15px; color: var(--rb-body); }
.rb-downloads { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rb-downloads li { margin: 0; }
.rb-downloads a { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--rb-line); color: var(--rb-heading); transition: background .3s ease; }
.rb-downloads a:hover { background: var(--rb-alt); color: var(--rb-heading); }
.rb-downloads a > svg { color: var(--rb-navy-2); flex-shrink: 0; }
.rb-downloads__text { flex: 1; display: flex; flex-direction: column; }
.rb-downloads__text span { font-size: 14px; color: var(--rb-body); }
.rb-downloads-empty { padding: 22px; background: var(--rb-alt); }
.rb-downloads-empty p { margin: 0 0 14px; }
.rb-used-grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.rb-used { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rb-used li { margin: 0; }
.rb-used a { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; background: #fff; border-radius: var(--rb-radius); font-size: 15px; font-weight: 700; color: var(--rb-heading); }
.rb-similar { display: flex; flex-direction: column; }
.rb-similar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; border-bottom: 1px solid #CCD3E0; color: var(--rb-heading); }
.rb-similar__row > span { display: flex; flex-direction: column; }
.rb-similar__row svg { color: var(--rb-navy-2); transition: transform .25s ease; }
.rb-similar__row:hover svg { transform: translateX(3px); }
.rb-similar__label { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rb-body); }
.rb-similar__name { font-size: 19.2px; font-weight: 700; }

.rb-actionbar { display: none; }

/* ---------- Breakpoints ---------- */
@media (min-width: 1101px) {
	.rb-enq-bar { display: none !important; }
	/* The left column stays on screen; it scrolls by itself if an open dropdown makes it taller than the window. */
	.rb-rail {
		position: sticky; top: calc(var(--header-sticky-height, 60px) + 24px);
		max-height: calc(100vh - var(--header-sticky-height, 60px) - 48px);
		overflow-y: auto; overscroll-behavior: contain;
	}
	.admin-bar .rb-rail { top: calc(var(--header-sticky-height, 60px) + 56px); max-height: calc(100vh - var(--header-sticky-height, 60px) - 80px); }
	.rb-cat-brands { gap: 20px 24px; }
	.rb-cat-brands img { width: calc(var(--w) * .78); }
}

@media (max-width: 1100px) {
	.rb-layout { display: block; }
	.rb-rail {
		position: fixed; top: 0; left: 0; bottom: 0; z-index: 99995;
		width: min(380px, 88vw); max-width: none; padding: 20px 22px 28px;
		background: #fff; overflow-y: auto;
		transform: translateX(-105%); visibility: hidden;
		transition: transform .35s var(--rb-ease), visibility 0s linear .35s;
		box-shadow: 12px 0 32px rgba(11, 43, 63, .25);
	}
	body.rb-filters-open .rb-rail { transform: none; visibility: visible; transition: transform .35s var(--rb-ease); }
	.rb-rail-scrim { position: fixed; inset: 0; z-index: 99994; background: rgba(11, 43, 63, .5); }
	.rb-rail__head { display: flex; justify-content: space-between; align-items: center; }
	.rb-rail__head h2 { margin: 0; font-size: 22px; font-weight: 700; color: var(--rb-heading); }
	.rb-rail .rb-enq-box { display: none; }
	.rb-js .rb-filter-form__actions { display: flex; position: sticky; bottom: -28px; padding: 12px 0 0; background: #fff; }
	.rb-filters-toggle { display: inline-flex; }
	.rb-grid, .rb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rb-grid--scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rb-ptiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rb-enq-bar:not([hidden]) { display: flex; }
	.rb-enq-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; }
	body.rb-has-bar { padding-bottom: 72px; }
	/* The product action bar has its own WhatsApp button. */
	body.rb-product-page .rb-wa-float { display: none; }
	.rb-actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9980; display: flex; align-items: center; gap: 10px; padding: 10px 24px; background: #fff; box-shadow: 0 -1px 0 var(--rb-line); }
	.rb-actionbar__name { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
	.rb-actionbar__name strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--rb-heading); }
	.rb-actionbar__name span { font-size: 14px; color: var(--rb-body); }
	.rb-actionbar .rb-btn { min-height: 52px; }
}

@media (max-width: 900px) {
	.rb-hero__photo { width: 36%; }
	.rb-cat-sec { padding: 48px 0; }
	.rb-pdp-top__grid, .rb-specs-grid, .rb-used-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.rb-gallery__main { max-height: 440px; }
}

@media (max-width: 600px) {
	.rb-hero { padding: calc(var(--rb-head, 0px) + 16px) 0 28px; }
	.rb-hero__photo, .rb-band__photo { display: none; }
	.rb-search .rb-btn { padding: 0 16px; }
	.rb-search .rb-btn span { display: none; }
	.rb-cat-sec { padding-bottom: 40px; }
	.rb-cat-brands { margin-top: 20px; }
	.rb-cat-brandrow { margin-top: 28px; }
	.rb-cat-brandrow + .rb-cat-brandrow { margin-top: 40px; }
	.rb-cat-brandrow__head { margin-bottom: 12px; }
	.rb-cat-brandrow__title { font-size: 20px; }
	.rb-ptiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.rb-tabs { gap: 0; }
	.rb-tabs__label { display: none; }
	.rb-tab { flex: 1; justify-content: center; flex-direction: column; gap: 0; height: 58px; padding: 0 8px; font-size: 15px; }
	.rb-chips-row .rb-wrap { padding-right: 0; }
	.rb-body { padding-top: 20px; }
	.rb-toolbar { align-items: flex-end; }
	.rb-toolbar__title { font-size: 20px; }
	.rb-sort select { min-width: 0; width: 150px; }
	.rb-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.rb-grid--list { margin-top: 4px; }
	.rb-grid > .rb-card { padding: 20px 0 24px; border-bottom: 1px solid var(--rb-line); }
	.rb-card__media { aspect-ratio: 16 / 11; }
	.rb-card__title { font-size: 20px; }
	.rb-card__desc { font-size: 15px; line-height: 23px; -webkit-line-clamp: 4; }
	.rb-card__actions .rb-btn { min-height: 48px; }
	.rb-grid--4, .rb-grid--scroll { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding-bottom: 6px; }
	.rb-grid--4 > .rb-card, .rb-grid--scroll > .rb-card { flex: 0 0 76%; padding: 0; border: 0; scroll-snap-align: start; }
	.rb-enq-bar { padding: 10px 16px; }
	.rb-pdp-top { padding: 24px 0 40px; }
	.rb-buybox { padding: 18px; }
	.rb-buybox__row { grid-template-columns: minmax(0, 1fr); }
	.rb-pdp .rb-sec { padding: 44px 0; }
	.rb-pdp .rb-sec__wedge, .rb-help::before { width: 220px; height: 127px; }
	.rb-help__actions .rb-btn { width: 100%; }
	.rb-actionbar { padding: 10px 16px; }
	.rb-actionbar__name { display: none; }
	.rb-actionbar .rb-btn { flex: 1; }
	.rb-empty { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.rb-cat *, .rb-pdp * { animation: none !important; transition: none !important; }
}

/* ---------- Brand and category squares in sliders (the user's sketch of 17 Nov 2026) ---------- */
.rb-cat-sec__tools { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.rb-slider__nav { display: flex; gap: 8px; }
.rb-slider__nav[hidden] { display: none; }
.rb-slider__btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border: 1px solid var(--rb-line); border-radius: var(--rb-radius); background: #fff; color: var(--rb-navy);
	cursor: pointer; transition: background .3s ease, color .3s ease, opacity .2s ease;
}
.rb-slider__btn:hover:not(:disabled) { background: var(--rb-navy); color: #fff; }
.rb-slider__btn:focus-visible { outline: 2px solid var(--rb-navy); outline-offset: 2px; }
.rb-slider__btn:disabled { opacity: .35; cursor: default; }
.rb-slider__track {
	--per: 5; --gap: 16px;
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	gap: 20px var(--gap); margin-top: 24px; overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scrollbar-width: none;
}
.rb-slider__track::-webkit-scrollbar { display: none; }
.rb-slider__track--2 { grid-template-rows: repeat(2, auto); }
.rb-slider__track > li { scroll-snap-align: start; min-width: 0; }
.rb-square { display: flex; flex-direction: column; gap: 10px; color: var(--rb-heading); text-decoration: none; }
.rb-square__media {
	position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1;
	background: var(--rb-alt); color: #8C99B6; overflow: hidden;
}
.rb-squares--brands .rb-square__media img { width: min(var(--w) * .82, 78%); height: auto; max-height: 56%; object-fit: contain; transition: transform .3s ease; }
/* Category squares: a product photo (back on 22 Nov 2026, replacing the 18 Nov icons). */
.rb-square__img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--rb-ease); }
.rb-square__name { font-size: 16px; font-weight: 700; line-height: 1.3; }
a.rb-square:hover .rb-square__media img { transform: scale(1.06); }
a.rb-square:hover .rb-square__name { color: var(--rb-navy-2); }
a.rb-square:focus-visible { outline: 2px solid var(--rb-navy); outline-offset: 4px; }
.rb-cat-sec#rb-categories { scroll-margin-top: calc(var(--header-sticky-height, 60px) + 24px); }
@media (max-width: 1100px) {
	.rb-slider__track { --per: 4; }
}
@media (max-width: 600px) {
	.rb-slider__track { --per: 2.4; --gap: 12px; margin-top: 16px; }
	.rb-square__name { font-size: 15px; }
	.rb-slider__btn { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.rb-square__media img, .rb-slider__btn { transition: none; }
}
