/* ==========================================================================
   Rentals refresh (Sabrina, 2026-09-29). Loads last on the homepage and the
   rentals page only. Art: views/assets/images/rentals-refresh/ (from
   final assets/Rentals Page, laid out as its mockup.png).

   1. Puffy category pills (shared by both pages)
   2. Homepage "Find your kind of fun" section (built by rentals-refresh.js)
   3. Rentals page: background and category cards only
   ========================================================================== */

:root {
  --rx-ivory: #FDF5E8;
  --rx-navy: #0F1C3F;
  --rx-gold: #B8863F;
  --rx-gold-deep: #9A6B2A;
}

/* ---------- 1. Puffy category pills --------------------------------------
   Each pill is its own inflatable art, 9-sliced so the icon cap and the
   rounded end keep their shape while the middle grows with the label.
   Source pills are 700px wide; icon cap 235px, end cap 90px. */
.rx-pill,
body .catalog .filters .filter[data-rx-pill] {
  --h: 54px;
  --ph: 190;
  --pill: url('../images/rentals-refresh/pill-popular.webp');
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  height: var(--h);
  min-height: 44px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 calc(var(--h) * 60 / var(--ph)) 0 calc(var(--h) * 232 / var(--ph));
  border: 0;
  border-radius: 999px;
  background: none;
  box-shadow: none;
  color: var(--rx-navy);
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1)), filter 180ms ease;
  -webkit-tap-highlight-color: transparent;
}
.rx-pill::before,
body .catalog .filters .filter[data-rx-pill]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  margin: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0 calc(var(--h) * 90 / var(--ph)) 0 calc(var(--h) * 235 / var(--ph));
  border-image: var(--pill) 0 90 0 235 fill / 0 calc(var(--h) * 90 / var(--ph)) 0 calc(var(--h) * 235 / var(--ph)) stretch;
  background: none;
  transform: none;
  opacity: 1;
}
.rx-pill::after,
body .catalog .filters .filter[data-rx-pill]::after {
  content: '';
  position: absolute;
  inset: 5px 4px 7px;
  z-index: -1;
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgb(184 134 63 / 0);
  transition: box-shadow 200ms ease;
  pointer-events: none;
}
.rx-pill[data-rx-pill="popular"], .filter[data-rx-pill="popular"] { --pill: url('../images/rentals-refresh/pill-popular.webp'); --ph: 188; }
.rx-pill[data-rx-pill="water"], .filter[data-rx-pill="water"] { --pill: url('../images/rentals-refresh/pill-water.webp'); --ph: 202; }
.rx-pill[data-rx-pill="deluxe"], .filter[data-rx-pill="deluxe"] { --pill: url('../images/rentals-refresh/pill-deluxe.webp'); --ph: 202; }
.rx-pill[data-rx-pill="obstacle"], .filter[data-rx-pill="obstacle"] { --pill: url('../images/rentals-refresh/pill-obstacle.webp'); --ph: 185; }
.rx-pill[data-rx-pill="classic"], .filter[data-rx-pill="classic"] { --pill: url('../images/rentals-refresh/pill-classic.webp'); --ph: 189; }
.rx-pill[data-rx-pill="ultimate"], .filter[data-rx-pill="ultimate"] { --pill: url('../images/rentals-refresh/pill-ultimate.webp'); --ph: 182; }
.rx-pill[data-rx-pill="hearts"], .filter[data-rx-pill="hearts"],
.rx-pill[data-rx-pill="extras"], .filter[data-rx-pill="extras"] { --pill: url('../images/rentals-refresh/pill-hearts.webp'); --ph: 200; }
/* Extras: the hearts pill in a warm peach tint so it reads apart from Disney. */
.rx-pill[data-rx-pill="extras"]::before,
body .catalog .filters .filter[data-rx-pill="extras"]::before { filter: hue-rotate(38deg) saturate(1.15); }

@media (hover: hover) {
  .rx-pill:hover,
  body .catalog .filters .filter[data-rx-pill]:hover { transform: translateY(-2px); }
}
.rx-pill:active,
body .catalog .filters .filter[data-rx-pill]:active { transform: translateY(1px) scale(0.98); }
.rx-pill[aria-pressed="true"],
body .catalog .filters .filter[data-rx-pill][aria-pressed="true"] { transform: translateY(-2px); }
.rx-pill[aria-pressed="true"]::after,
body .catalog .filters .filter[data-rx-pill][aria-pressed="true"]::after { box-shadow: 0 8px 18px -8px rgb(154 107 42 / 0.55); }
.rx-pill:focus-visible,
body .catalog .filters .filter[data-rx-pill]:focus-visible { outline: 2px solid var(--rx-navy); outline-offset: 3px; }

/* ---------- 2. Homepage section ------------------------------------------ */
section.featured.has-rx {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(72px, 7vw, 110px) clamp(20px, 3vw, 56px) clamp(72px, 7vw, 110px) !important;
  background: var(--rx-ivory) !important;
}
section.featured.has-rx > :not(.rx):not(.rx-clouds):not(.rx__decor) { display: none !important; }

.rx {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 2.1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 56px);
  width: min(100%, 1560px);
  margin-inline: auto;
}

/* Decor: watercolour blobs at the edges and a little confetti. */
.rx__decor { position: absolute; inset: calc(-1 * clamp(72px, 7vw, 110px)) calc(-1 * clamp(20px, 3vw, 56px)); z-index: -1; pointer-events: none; }
.rx__d { position: absolute; height: auto; max-width: none; user-select: none; }
.rx__d--lilac-a { left: -6%; top: -8%; width: 24%; opacity: 0.85; }
.rx__d--lilac-b { left: 58%; top: -12%; width: 26%; opacity: 0.8; }
.rx__d--peach { right: -6%; top: -10%; width: 20%; opacity: 0.75; }
.rx__d--edge-a { left: -3%; bottom: -10%; width: 36%; opacity: 0.85; }
.rx__d--edge-b { right: -4%; bottom: -8%; width: 42%; opacity: 0.8; }
.rx__d--confetti-a { right: 5%; top: 7%; width: 11%; }
.rx__d--confetti-b { left: 30%; bottom: 5%; width: 5%; transform: rotate(-20deg); }
.rx__d--confetti-c { right: 8%; bottom: 12%; width: 7%; }

/* Intro column. */
.rx__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.rx__eyebrow {
  margin: 0 0 14px 6px;
  color: var(--rx-gold);
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}
section.featured.has-rx .rx__title {
  margin: 0;
  color: var(--rx-navy);
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: clamp(54px, 5.4vw, 88px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-align: left;
  text-wrap: balance;
}
.rx__fun {
  color: var(--rx-gold);
  font-family: var(--font-script, Allura, cursive);
  font-size: 1.28em;
  line-height: 0.6;
  letter-spacing: 0;
}
.rx__dot { font-family: var(--font-display, 'DM Serif Display', Georgia, serif); font-size: 0.6em; }
.rx__swash { display: block; width: min(78%, 400px); height: 22px; margin: 4px 0 30px 8%; color: var(--rx-gold); }
.rx__swash svg { display: block; width: 100%; height: 100%; }

.rx__pills { display: flex; flex-wrap: wrap; gap: 12px 10px; margin: 0 0 30px; }

.rx__all {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 390px);
  aspect-ratio: 900 / 224;
  padding: 0 0 4%;
  color: #FFFDF6;
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: clamp(22px, 1.9vw, 28px);
  text-decoration: none;
  text-shadow: 0 1px 2px rgb(102 66 18 / 0.55);
  transition: transform 180ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}
.rx__all::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/rentals-refresh/btn-gold.webp') center / 100% 100% no-repeat; }
.rx__all-arrow { font-family: var(--font-body, Manrope, sans-serif); font-size: 0.95em; transition: transform 180ms ease; }
@media (hover: hover) {
  .rx__all:hover { transform: translateY(-2px); }
  .rx__all:hover .rx__all-arrow { transform: translateX(4px); }
}
.rx__all:active { transform: translateY(1px) scale(0.985); }
.rx__all:focus-visible { outline: 2px solid var(--rx-navy); outline-offset: 4px; border-radius: 999px; }

/* Stage: lead product plus the next two, arrows at the sides. */
.rx__stage { position: relative; min-width: 0; padding: 0 30px 56px; }
.rx__track {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr;
  align-items: end;
  gap: clamp(8px, 1.4vw, 24px);
  min-height: clamp(420px, 36vw, 600px);
}
.rx__empty { grid-column: 1 / -1; align-self: center; text-align: center; color: var(--rx-navy); font-family: var(--font-display, 'DM Serif Display', Georgia, serif); font-size: 24px; }

.rx-slide { position: relative; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rx-slide__media { position: relative; display: block; width: 100%; }
.rx-slide--lead .rx-slide__media { aspect-ratio: 1 / 0.86; }
.rx-slide--side .rx-slide__media { aspect-ratio: 1 / 1.12; }

/* Cut-out on the blue watercolour splash. */
.rx-slide__media.is-cutout .rx-slide__blob { position: absolute; left: -6%; top: 2%; width: 100%; height: auto; max-width: none; }
.rx-slide__media.is-cutout .rx-slide__img { position: absolute; left: 4%; right: 2%; bottom: 0; width: 94%; height: 96%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 16px 14px rgb(15 28 63 / 0.22)); }

/* Photo clipped into a watercolour blob; the photo's light ground takes the
   blob's colour. */
.rx-slide__shape {
  position: absolute;
  inset: 0;
  display: block;
  background: url('../images/rentals-refresh/blob-peach.webp') center / 100% 100% no-repeat;
  -webkit-mask: url('../images/rentals-refresh/blob-peach.webp') center / 100% 100% no-repeat;
  mask: url('../images/rentals-refresh/blob-peach.webp') center / 100% 100% no-repeat;
}
.rx-slide--lead .rx-slide__shape,
.rx-slide--side + .rx-slide--side .rx-slide__shape {
  background-image: url('../images/rentals-refresh/blob-blue.webp');
  -webkit-mask-image: url('../images/rentals-refresh/blob-blue.webp');
  mask-image: url('../images/rentals-refresh/blob-blue.webp');
}
.rx-slide__shape .rx-slide__img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; mix-blend-mode: multiply; }
.rx-slide--lead .rx-slide__shape .rx-slide__img { object-fit: contain; object-position: 50% 80%; transform: scale(0.9); transform-origin: 50% 90%; }

/* Caption: a cream inflatable pill with a pale-gold See More button. */
.rx-slide__caption {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: -12%;
  padding: 0 0 0;
}
.rx-slide--lead .rx-slide__caption { width: 78%; margin-top: -9%; }
.rx-slide__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  aspect-ratio: 900 / 229;
  padding: 0 11% 7%;
}
.rx-slide__row::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/rentals-refresh/btn-cream.webp') center / 100% 100% no-repeat; filter: drop-shadow(0 10px 14px rgb(120 90 40 / 0.14)); }
.rx-slide__name {
  min-width: 0;
  overflow: hidden;
  color: var(--rx-navy);
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.1;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rx-slide--lead .rx-slide__name { font-size: clamp(17px, 1.5vw, 24px); }
.rx-slide__price { flex: none; color: var(--rx-gold); font-family: var(--font-display, 'DM Serif Display', Georgia, serif); font-size: clamp(18px, 1.6vw, 26px); line-height: 1; }
.rx-slide--lead .rx-slide__price { font-size: clamp(22px, 2.1vw, 34px); }
.rx-slide__price.is-text { font-size: 13px; font-family: var(--font-body, Manrope, sans-serif); font-weight: 600; white-space: nowrap; }
.rx-slide__more {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  width: 58%;
  aspect-ratio: 900 / 224;
  margin-top: -9%;
  color: var(--rx-navy);
  font-family: var(--font-display, 'DM Serif Display', Georgia, serif);
  font-size: clamp(13px, 1vw, 17px);
  text-decoration: none;
  transition: transform 180ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}
.rx-slide__more::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../images/rentals-refresh/btn-gold.webp') center / 100% 100% no-repeat; filter: brightness(1.32) saturate(0.72); }
.rx-slide--lead .rx-slide__more { width: 52%; font-size: clamp(15px, 1.25vw, 20px); }
@media (hover: hover) {
  .rx-slide__more:hover { transform: translateY(-2px); }
  .rx-slide__name:hover { text-decoration: underline; text-decoration-color: var(--rx-gold); text-underline-offset: 3px; }
}
.rx-slide__more:active { transform: translateY(1px) scale(0.98); }
.rx-slide__more:focus-visible, .rx-slide__name:focus-visible { outline: 2px solid var(--rx-navy); outline-offset: 3px; border-radius: 999px; }

/* Doodles around the lead product. */
.rx__art { position: absolute; inset: 0; pointer-events: none; }
.rx__art img { position: absolute; height: auto; max-width: none; }
.rx__crown { left: 31%; top: -4%; width: 7%; transform: rotate(8deg); }
.rx__sparkle { left: 3%; top: 4%; width: 4.2%; }
.rx__pointer { left: 3%; bottom: 13%; width: 6%; transform: scaleY(-1) rotate(-12deg); opacity: 0.9; }

.rx__arrow {
  position: absolute;
  top: 40%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
  -webkit-tap-highlight-color: transparent;
}
.rx__arrow img { width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgb(15 28 63 / 0.16)); }
.rx__arrow--prev { left: 0; }
.rx__arrow--next { right: 0; }
@media (hover: hover) { .rx__arrow:hover { transform: scale(1.06); } }
.rx__arrow:active { transform: scale(0.94); }
.rx__arrow:focus-visible { outline: 2px solid var(--rx-navy); outline-offset: 2px; }
.rx__arrow[hidden] { display: none; }

.rx__dots { position: absolute; left: 50%; bottom: 8px; display: flex; align-items: center; gap: 10px; transform: translateX(-50%); }
.rx__dot-i { width: 11px; height: 11px; background: url('../images/rentals-refresh/dot-cream.webp') center / contain no-repeat; transition: width 240ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1)); }
.rx__dot-i.is-active { width: 40px; background-image: url('../images/rentals-refresh/dot-gold.webp'); background-size: 100% 100%; }
.rx__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Slide change: a short drift in the travel direction. */
@keyframes rx-in-next { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes rx-in-prev { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
.rx-slide.is-in-next { animation: rx-in-next 320ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1)) both; }
.rx-slide.is-in-prev { animation: rx-in-prev 320ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1)) both; }
@media (prefers-reduced-motion: reduce) {
  .rx-slide.is-in-next, .rx-slide.is-in-prev { animation: none; }
  .rx-pill, .rx__all, .rx-slide__more, .rx__arrow, .rx__dot-i { transition: none; }
}

/* Desktop tuning after the first render. */
section.featured.has-rx .rx__eyebrow { font-size: 13px !important; font-weight: 700 !important; letter-spacing: 0.34em !important; line-height: 1.2 !important; text-transform: uppercase !important; color: var(--rx-gold) !important; }
section.featured.has-rx .rx__title { font-size: clamp(56px, 5.6vw, 92px) !important; line-height: 0.98 !important; }
@media (min-width: 1100px) {
  .rx { grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr); }
  .rx__pills { gap: 12px 10px; max-width: 540px; }
  .rx-pill { --h: 50px; font-size: 16px; }
  .rx__track { grid-template-columns: 2.25fr 1fr 1fr; min-height: clamp(460px, 40vw, 660px); }
}
.rx-slide__name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; text-overflow: clip; }
.rx-slide--side .rx-slide__name { font-size: clamp(13px, 1vw, 16px); }
.rx-slide--side .rx-slide__row { padding: 0 9% 7% 10%; gap: 6px; }
.rx-slide--side .rx-slide__price { font-size: clamp(16px, 1.3vw, 21px); }
/* Doodles sit on the lead product: crown on its top right, sparkle top left,
   the hand-drawn arrow pointing at its name. */
.rx__crown { left: 38%; top: 6%; width: 7%; }
.rx__sparkle { left: 6%; top: 10%; width: 4%; }
.rx__pointer { left: 2%; bottom: 14%; width: 6%; }

.rx__line { white-space: nowrap; }
section.featured.has-rx .rx__title { font-size: clamp(50px, 4.9vw, 84px) !important; }
@media (min-width: 1100px) {
  .rx__track { grid-template-columns: 1.75fr 1fr 1fr; }
  .rx-slide--side .rx-slide__media { aspect-ratio: 1 / 1.05; }
}
.rx-slide--side .rx-slide__caption { width: 112%; }

/* 768 to 1099: intro above, stage below. */
@media (min-width: 768px) and (max-width: 1099px) {
  .rx { grid-template-columns: minmax(0, 1fr); }
  .rx__intro { align-items: center; text-align: center; }
  section.featured.has-rx .rx__title { text-align: center; }
  .rx__eyebrow { margin-left: 0; }
  .rx__swash { margin-inline: auto; }
  .rx__pills { justify-content: center; }
  .rx__all { align-self: center; }
}

/* ---------- Phone (Fable 5.1 layout): stacked, one slide with a peek ---- */
@media (max-width: 767px) {
  section.featured.has-rx { padding: 56px 0 72px !important; }
  .rx { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .rx__decor { inset: -56px 0 -72px; }
  .rx__d--lilac-a { left: -22%; top: -2%; width: 58%; opacity: 0.6; }
  .rx__d--peach { right: -24%; top: 4%; width: 46%; opacity: 0.55; }
  .rx__d--lilac-b, .rx__d--edge-a, .rx__d--edge-b, .rx__d--confetti-a { display: none; }
  .rx__d--confetti-b { left: 2%; bottom: 1.5%; width: 16%; }
  .rx__d--confetti-c { right: 3%; bottom: 3%; width: 18%; }
  .rx__intro { align-items: center; padding: 0 20px; text-align: center; }
  .rx__eyebrow { margin: 0 0 12px; font-size: 11px; letter-spacing: 0.2em; }
  section.featured.has-rx .rx__title { font-size: 40px; line-height: 1.05; text-align: center; }
  .rx__swash { width: 150px; height: 16px; margin: 2px auto 24px; }
  .rx__pills {
    flex-wrap: nowrap;
    align-self: stretch;
    gap: 10px;
    margin: 0 -20px 24px;
    padding: 6px 20px 10px;
    overflow-x: auto;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .rx__pills::-webkit-scrollbar { display: none; }
  .rx-pill { --h: 48px; flex: none; font-size: 15px; scroll-snap-align: start; }
  .rx__all { order: 3; align-self: center; width: calc(100% - 40px); max-width: 360px; margin-top: 32px; font-size: 21px; }
  .rx__stage { order: 2; padding: 0 0 64px; }
  .rx__track {
    display: flex;
    gap: 12px;
    min-height: 0;
    padding: 0 20px;
    overflow: hidden;
    align-items: flex-start;
  }
  .rx-slide { flex: none; width: 82vw; }
  .rx-slide--side ~ .rx-slide--side { display: none; }
  .rx-slide--lead .rx-slide__media, .rx-slide--side .rx-slide__media { aspect-ratio: 1 / 0.92; }
  .rx-slide--side .rx-slide__shape {
    background-image: url('../images/rentals-refresh/blob-blue.webp');
    -webkit-mask-image: url('../images/rentals-refresh/blob-blue.webp');
    mask-image: url('../images/rentals-refresh/blob-blue.webp');
  }
  .rx-slide .rx-slide__caption { width: 100%; margin-top: -10%; }
  .rx-slide__name { font-size: 17px; }
  .rx-slide--lead .rx-slide__name { font-size: 18px; }
  .rx-slide__price, .rx-slide--lead .rx-slide__price { font-size: 22px; }
  .rx-slide__more, .rx-slide--lead .rx-slide__more { width: 56%; min-height: 40px; font-size: 16px; }
  .rx__art { display: none; }
  .rx__arrow { top: auto; bottom: 0; width: 48px; height: 48px; }
  .rx__arrow--prev { left: calc(50% - 128px); }
  .rx__arrow--next { right: calc(50% - 128px); }
  .rx__dots { bottom: 19px; gap: 8px; }
  .rx__dot-i { width: 9px; height: 9px; }
  .rx__dot-i.is-active { width: 24px; height: 9px; }
}

/* ---------- 3. Rentals page: background and category cards -------------- */
/* Background: the mockup's ivory with lilac and peach watercolour at the
   edges and a little confetti, replacing the sky. */
body section.catalog { background: var(--rx-ivory) !important; }
body section.catalog::before {
  background:
    url('../images/rentals-refresh/confetti-streamers.webp') right 7% top 70px / min(12vw, 170px) auto no-repeat,
    url('../images/rentals-refresh/confetti-small.webp') left 26% top 360px / min(4vw, 56px) auto no-repeat,
    url('../images/rentals-refresh/blob-lilac-a.webp') left -5vw top -4vw / min(26vw, 380px) auto no-repeat,
    url('../images/rentals-refresh/blob-lilac-b.webp') left 58% top -7vw / min(26vw, 380px) auto no-repeat,
    url('../images/rentals-refresh/blob-peach.webp') right -5vw top -3vw / min(22vw, 320px) auto no-repeat,
    url('../images/rentals-refresh/edge-lilac-peach.webp') left -3vw bottom 0 / min(30vw, 440px) auto no-repeat,
    url('../images/rentals-refresh/edge-wave.webp') right -4vw bottom 0 / min(34vw, 500px) auto no-repeat,
    var(--rx-ivory) !important;
  opacity: 1 !important;
  filter: none !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent) !important;
  mask-image: linear-gradient(to bottom, #000 78%, transparent) !important;
}

/* Category cards become the puffy pills; the row stays where it is. */
body .catalog .filters:has(.filter[data-rx-pill]) {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 14px 12px !important;
  grid-template-columns: none !important;
}
body .catalog .filters .filter[data-rx-pill] {
  --h: 58px;
  flex: none !important;
  font-size: 18px !important;
  background-image: none !important;
  background-color: transparent !important;
}
body .catalog .filters .filter[data-rx-pill] > * { position: relative; z-index: 1; }
@media (max-width: 767px) {
  body .catalog .filters .filter[data-rx-pill] { --h: 48px; font-size: 15px !important; }
  body section.catalog::before {
    background:
      url('../images/rentals-refresh/confetti-small.webp') right 4% top 80px / 64px auto no-repeat,
      url('../images/rentals-refresh/blob-lilac-a.webp') left -22vw top -8vw / 60vw auto no-repeat,
      url('../images/rentals-refresh/blob-peach.webp') right -22vw top 0 / 48vw auto no-repeat,
      var(--rx-ivory) !important;
  }
}

/* ---------- Fixes after the first full check ---------------------------- */
/* Rentals page: each filter gets its own pill art (beats the base rule). */
body .catalog .filters .filter[data-rx-pill="popular"] { --pill: url('../images/rentals-refresh/pill-popular.webp'); --ph: 188; }
body .catalog .filters .filter[data-rx-pill="water"] { --pill: url('../images/rentals-refresh/pill-water.webp'); --ph: 202; }
body .catalog .filters .filter[data-rx-pill="deluxe"] { --pill: url('../images/rentals-refresh/pill-deluxe.webp'); --ph: 202; }
body .catalog .filters .filter[data-rx-pill="obstacle"] { --pill: url('../images/rentals-refresh/pill-obstacle.webp'); --ph: 185; }
body .catalog .filters .filter[data-rx-pill="classic"] { --pill: url('../images/rentals-refresh/pill-classic.webp'); --ph: 189; }
body .catalog .filters .filter[data-rx-pill="ultimate"] { --pill: url('../images/rentals-refresh/pill-ultimate.webp'); --ph: 182; }
body .catalog .filters .filter[data-rx-pill="hearts"],
body .catalog .filters .filter[data-rx-pill="extras"] { --pill: url('../images/rentals-refresh/pill-hearts.webp'); --ph: 200; }
/* Two even rows of four on desktop. */
@media (min-width: 768px) {
  body .catalog .filters:has(.filter[data-rx-pill]) { max-width: 1060px !important; margin-inline: auto !important; }
}
/* Phone: one swipeable row, first pill on the gutter, the next peeking. */
@media (max-width: 767px) {
  body .catalog .filters:has(.filter[data-rx-pill]) {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin-inline: -20px !important;
    padding: 6px 20px 12px !important;
    overflow-x: auto !important;
    scroll-padding-inline: 20px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  body .catalog .filters:has(.filter[data-rx-pill])::-webkit-scrollbar { display: none; }
  body .catalog .filters .filter[data-rx-pill] { scroll-snap-align: start; }

  /* Homepage phone order (Fable 5.1): heading, pills, carousel, then
     View all rentals as the section's exit. */
  section.featured.has-rx { padding-top: 88px !important; }
  .rx__intro { display: contents; }
  .rx__eyebrow { order: 0; align-self: center; }
  section.featured.has-rx .rx__title { order: 1; padding: 0 20px; }
  .rx__swash { order: 2; align-self: center; }
  .rx__pills { order: 3; margin: 0 0 24px; }
  .rx__stage { order: 4; }
  .rx__all { order: 5; }
}

/* ==========================================================================
   Round 2 (Sabrina, 2026-09-29)
   - Art stays inside the section (clipped hard; no bleed into the hero).
   - Watercolour fills the ground, bleeding off the left and right screen
     edges only, never cut flat at the section's top or bottom.
   - Products are transparent cut-outs standing over their blobs, whole.
   - Each title card wears its own product page's Check Availability style.
   - Arrows centred on the products (placed by the script).
   - No hand-drawn arrow. Category pills spread out.
   ========================================================================== */
section.featured.has-rx { overflow: clip !important; clip-path: inset(0); }
section.featured.has-rx > .rx__decor { display: block !important; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.rx > .rx__decor { display: none; }
.rx__d { position: absolute; height: auto; max-width: none; user-select: none; }
.rx__d--edge-left { left: 0; bottom: 3%; width: 26%; opacity: 0.9; }
.rx__d--lilac-left { left: -7%; top: 3%; width: 21%; opacity: 0.85; }
.rx__d--peach-left { left: 17%; top: 38%; width: 13%; opacity: 0.55; }
.rx__d--lilac-top { left: 43%; top: 2%; width: 20%; opacity: 0.7; }
.rx__d--blue-mid { left: 60%; top: 30%; width: 16%; opacity: 0.35; }
.rx__d--peach-right { right: -6%; top: 3%; width: 20%; opacity: 0.8; }
.rx__d--lilac-right { right: -8%; top: 40%; width: 19%; opacity: 0.75; }
.rx__d--wave-bottom { right: -4%; bottom: 2%; width: 38%; opacity: 0.8; }
.rx__d--lilac-bottom { left: 34%; bottom: 2%; width: 20%; opacity: 0.6; }
.rx__d--confetti-a { right: 5%; top: 6%; width: 9%; opacity: 1; }
.rx__d--confetti-b { left: 30%; bottom: 6%; width: 4.5%; transform: rotate(-20deg); opacity: 1; }
.rx__d--confetti-c { right: 9%; bottom: 14%; width: 6%; opacity: 1; }

.rx__pointer { display: none !important; }
.rx__pills { gap: 18px 16px; margin-bottom: 34px; }
@media (min-width: 1100px) { .rx__pills { max-width: 600px; } }

/* Products: blob behind, the whole cut-out standing over it. */
.rx-slide__media { position: relative; display: block; width: 100%; }
.rx-slide--lead .rx-slide__media { aspect-ratio: 1 / 0.9; }
.rx-slide--side .rx-slide__media { aspect-ratio: 1 / 1.05; }
.rx-slide__blob { position: absolute; left: 8%; top: 12%; width: 84%; height: auto; max-width: none; opacity: 0.95; }
.rx-slide--lead .rx-slide__blob { left: 2%; top: 6%; width: 96%; }
.rx-slide__blob--2 { opacity: 0.7; }
.rx-slide__img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 92%;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 16px 14px rgb(15 28 63 / 0.2));
}
.rx-slide__media.is-cutout, .rx-slide__media.is-photo, .rx-slide__shape { all: unset; }

/* Title card: the product's own Check Availability button. */
.rx-slide__caption { width: 100%; margin-top: -4%; gap: 8px; }
.rx-slide--lead .rx-slide__caption { width: 74%; margin-top: -3%; }
.rx-slide__row { display: none; }
.rx-slide__title {
  --rx-cta-bg: linear-gradient(#FFFBF1, #F3E6C8);
  --rx-cta-sh: 0 0 0 2px #D9BE86 inset, 0 5px 0 #C9A765, 0 10px 18px rgb(120 90 40 / 0.16);
  --rx-cta-r: 999px;
  --rx-cta-c: #0F1C3F;
  --rx-cta-f: var(--font-display, 'DM Serif Display', Georgia, serif);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 20px;
  border-radius: var(--rx-cta-r);
  background: var(--rx-cta-bg);
  box-shadow: var(--rx-cta-sh);
  color: var(--rx-cta-c);
  font-family: var(--rx-cta-f);
  text-decoration: none;
  transition: transform 180ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1));
}
.rx-slide--lead .rx-slide__title { min-height: 64px; padding: 10px 26px; }
.rx-slide__title.has-shell {
  min-height: 0;
  aspect-ratio: 960 / 313;
  padding: 0 15% 2%;
  border-radius: 0;
  background: var(--rx-shell) center / 100% 100% no-repeat;
  box-shadow: none;
}
.rx-slide__title .rx-slide__name {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font: inherit;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.12;
  text-align: left;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.rx-slide--lead .rx-slide__title .rx-slide__name { font-size: clamp(17px, 1.45vw, 23px); }
.rx-slide__title .rx-slide__price { flex: none; color: inherit; font: inherit; font-size: clamp(16px, 1.3vw, 21px); line-height: 1; }
.rx-slide--lead .rx-slide__title .rx-slide__price { font-size: clamp(20px, 1.9vw, 30px); }
.rx-slide__title .rx-slide__price.is-text { font-size: 12px; font-family: var(--font-body, Manrope, sans-serif); font-weight: 700; }
@media (hover: hover) { .rx-slide__title:hover { transform: translateY(-2px); } }
.rx-slide__title:active { transform: translateY(1px) scale(0.985); }
.rx-slide__title:focus-visible { outline: 2px solid var(--rx-navy); outline-offset: 3px; }
.rx-slide__more { margin-top: 0; width: 46%; }
.rx-slide--lead .rx-slide__more { width: 40%; }

/* Arrows: vertical position comes from the script (product centre). */
.rx__arrow { top: 40%; transform: translateY(-50%); }
@media (hover: hover) { .rx__arrow:hover { transform: translateY(-50%) scale(1.06); } }
.rx__arrow:active { transform: translateY(-50%) scale(0.94); }

/* Doodles on the lead product. */
.rx__crown { left: 36%; top: 2%; width: 7%; }
.rx__sparkle { left: 5%; top: 8%; width: 4%; }

@media (min-width: 1100px) {
  .rx__track { grid-template-columns: 1.7fr 1fr 1fr; align-items: end; }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1099px) {
  .rx__d--lilac-top, .rx__d--blue-mid { display: none; }
}

/* Phone: arrows on the product's sides, dots beneath. */
@media (max-width: 767px) {
  section.featured.has-rx > .rx__decor { inset: 0; }
  .rx__d--edge-left { left: 0; bottom: 1%; width: 62%; }
  .rx__d--lilac-left { left: -20%; top: 1%; width: 56%; opacity: 0.6; }
  .rx__d--peach-right { right: -22%; top: 3%; width: 50%; opacity: 0.6; }
  .rx__d--lilac-right { right: -24%; top: 34%; width: 52%; opacity: 0.55; }
  .rx__d--peach-left { left: -18%; top: 46%; width: 44%; opacity: 0.45; }
  .rx__d--wave-bottom { right: -10%; bottom: 1%; width: 80%; opacity: 0.7; }
  .rx__d--lilac-top, .rx__d--blue-mid, .rx__d--lilac-bottom, .rx__d--confetti-a { display: none; }
  .rx__d--confetti-b { left: 4%; bottom: 3%; width: 14%; }
  .rx__d--confetti-c { right: 4%; bottom: 5%; width: 16%; }
  .rx__pills { gap: 12px; }
  .rx-slide--lead .rx-slide__media, .rx-slide--side .rx-slide__media { aspect-ratio: 1 / 0.95; }
  .rx-slide .rx-slide__caption { width: 100%; margin-top: -2%; }
  .rx-slide__title, .rx-slide--lead .rx-slide__title { min-height: 58px; padding: 8px 20px; }
  .rx-slide__title .rx-slide__name, .rx-slide--lead .rx-slide__title .rx-slide__name { font-size: 17px; }
  .rx-slide__title .rx-slide__price, .rx-slide--lead .rx-slide__title .rx-slide__price { font-size: 21px; }
  .rx-slide__more, .rx-slide--lead .rx-slide__more { width: 52%; }
  .rx__stage { padding-bottom: 40px; }
  .rx__arrow { bottom: auto; width: 46px; height: 46px; }
  .rx__arrow--prev { left: 6px; }
  .rx__arrow--next { right: 6px; }
  .rx__dots { bottom: 6px; }
}
/* Blob larger than the product so the watercolour shows around it. */
.rx-slide__blob { left: -8%; top: -2%; width: 116%; opacity: 1; }
.rx-slide--lead .rx-slide__blob { left: -6%; top: -4%; width: 112%; }
.rx-slide__blob--2 { opacity: 0.8; }
.rx-slide__img { left: 6%; right: 6%; width: 88%; height: 88%; }
.rx-slide--lead .rx-slide__img { left: 5%; right: 5%; width: 90%; height: 90%; }
@media (min-width: 768px) {
  .rx__stage { padding-inline: 76px; }
  .rx__track { gap: clamp(20px, 2.4vw, 40px); }
}
@media (min-width: 1100px) {
  .rx { grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); }
  .rx__stage { padding-inline: 68px; }
}
.rx-slide--lead .rx-slide__caption { width: 92%; }
.rx-slide__more { white-space: nowrap; min-width: 120px; }
.rx-slide--lead .rx-slide__more { min-width: 150px; }
@media (min-width: 1100px) {
  .rx { grid-template-columns: minmax(430px, 1fr) minmax(0, 2fr); gap: clamp(16px, 2vw, 40px); }
  .rx__pills { gap: 18px 14px; }
  .rx__stage { padding-inline: 64px; }
}
/* Plaque-style title cards (Batman, Avengers, Frozen, Tinker Bell, Scooby):
   name above price, centred on the plaque face. */
.rx-slide__title.has-shell { flex-direction: column; justify-content: center; gap: 2px; aspect-ratio: 960 / 380; padding: 2% 17% 4%; text-align: center; }
.rx-slide__title.has-shell .rx-slide__name { text-align: center; font-size: clamp(12px, 0.95vw, 15px); -webkit-line-clamp: 2; }
.rx-slide--lead .rx-slide__title.has-shell .rx-slide__name { font-size: clamp(15px, 1.3vw, 20px); }
.rx-slide__title.has-shell .rx-slide__price { font-size: clamp(14px, 1.1vw, 18px); }
.rx-slide--lead .rx-slide__title.has-shell .rx-slide__price { font-size: clamp(18px, 1.6vw, 26px); }
/* Rentals page ground: watercolour sized to the screen, flush with both
   edges at every width, a taller band that fades softly into the page. */
body section.catalog::before {
  height: min(720px, 62vw) !important;
  background:
    url('../images/rentals-refresh/confetti-streamers.webp') right 8% top 80px / clamp(110px, 10vw, 190px) auto no-repeat,
    url('../images/rentals-refresh/confetti-small.webp') left 22% top 58% / clamp(40px, 3.4vw, 64px) auto no-repeat,
    url('../images/rentals-refresh/blob-lilac-a.webp') left -6vw top -3vw / 26vw auto no-repeat,
    url('../images/rentals-refresh/blob-lilac-b.webp') left 56% top -5vw / 24vw auto no-repeat,
    url('../images/rentals-refresh/blob-peach.webp') right -6vw top -2vw / 24vw auto no-repeat,
    url('../images/rentals-refresh/blob-lilac-a.webp') right -9vw top 40% / 22vw auto no-repeat,
    url('../images/rentals-refresh/edge-lilac-peach.webp') left 0 top 36% / 28vw auto no-repeat,
    url('../images/rentals-refresh/edge-wave.webp') right -3vw top 52% / 34vw auto no-repeat,
    var(--rx-ivory) !important;
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, rgb(0 0 0 / 0.5) 80%, transparent) !important;
  mask-image: linear-gradient(to bottom, #000 58%, rgb(0 0 0 / 0.5) 80%, transparent) !important;
}
@media (max-width: 767px) {
  body section.catalog::before {
    height: 520px !important;
    background:
      url('../images/rentals-refresh/confetti-small.webp') right 5% top 90px / 60px auto no-repeat,
      url('../images/rentals-refresh/blob-lilac-a.webp') left -20vw top -6vw / 64vw auto no-repeat,
      url('../images/rentals-refresh/blob-peach.webp') right -22vw top 2vw / 54vw auto no-repeat,
      url('../images/rentals-refresh/edge-lilac-peach.webp') left 0 top 52% / 58vw auto no-repeat,
      url('../images/rentals-refresh/blob-lilac-b.webp') right -18vw top 58% / 50vw auto no-repeat,
      var(--rx-ivory) !important;
  }
}

/* ==========================================================================
   Round 3 (Sabrina, 2026-09-30)
   - Products much bigger, three sizes: lead biggest, middle smallest, third big.
   - Two overlapping blobs in different colours behind each product.
   - Confetti bursts out from behind the lead title card and View all rentals,
     replacing the random clusters.
   ========================================================================== */
@media (min-width: 1100px) {
  .rx { grid-template-columns: minmax(400px, 0.78fr) minmax(0, 2.22fr); gap: 0; }
  .rx__stage { padding-inline: 56px; }
  .rx__track {
    grid-template-columns: 1.55fr 0.82fr 1.12fr;
    align-items: end;
    gap: 0;
    min-height: clamp(520px, 44vw, 780px);
  }
  /* Neighbours tuck slightly behind each other so the row reads as one scene. */
  .rx-slide--mid { margin-inline: -3%; z-index: 1; }
  .rx-slide--lead { z-index: 2; }
  .rx-slide--side { z-index: 2; }
}
.rx-slide--lead .rx-slide__media { aspect-ratio: 1 / 0.95; }
.rx-slide--mid .rx-slide__media { aspect-ratio: 1 / 1.02; }
.rx-slide--side .rx-slide__media { aspect-ratio: 1 / 1.02; }
.rx-slide__img, .rx-slide--lead .rx-slide__img { left: 0; right: 0; width: 100%; height: 96%; }

/* Blob pairs: A sits back-left, B front-right, overlapping. */
.rx-slide__blob { position: absolute; height: auto; max-width: none; }
.rx-slide__blob--a { left: -12%; top: -6%; width: 104%; opacity: 0.95; }
.rx-slide__blob--b { left: 18%; top: 18%; width: 96%; opacity: 0.85; mix-blend-mode: multiply; }
.rx-slide--lead .rx-slide__blob--a { left: -10%; top: -8%; width: 100%; }
.rx-slide--lead .rx-slide__blob--b { left: 22%; top: 16%; width: 92%; }
/* Colour tints over the three source washes (blue, peach, lilac). */
.rx-tint--blue { filter: none; }
.rx-tint--pink { filter: hue-rotate(125deg) saturate(1.25); }
.rx-tint--mint { filter: hue-rotate(-60deg) saturate(1.1); }
.rx-tint--peach { filter: none; }
.rx-tint--yellow { filter: hue-rotate(18deg) saturate(1.6) brightness(1.04); }
.rx-tint--lilac { filter: none; }
img.rx-tint--lilac[src*="blob-blue"], img.rx-tint--lilac[src*="splash-blue"] { filter: hue-rotate(55deg) saturate(1.1); }
img.rx-tint--pink[src*="lilac"] { filter: hue-rotate(50deg) saturate(1.3); }

/* Middle card sizes. */
.rx-slide--mid .rx-slide__title .rx-slide__name { font-size: clamp(13px, 0.95vw, 15px); }
.rx-slide--mid .rx-slide__title .rx-slide__price { font-size: clamp(15px, 1.2vw, 19px); }
.rx-slide--side .rx-slide__title .rx-slide__name { font-size: clamp(15px, 1.15vw, 19px); }
.rx-slide--side .rx-slide__title .rx-slide__price { font-size: clamp(18px, 1.5vw, 24px); }
.rx-slide--lead .rx-slide__caption { width: 80%; }
.rx-slide--side .rx-slide__caption { width: 96%; }

/* No more random confetti on the ground. */
.rx__d--confetti-a, .rx__d--confetti-b, .rx__d--confetti-c { display: none !important; }

/* Confetti bursts. */
.rx__all-wrap { position: relative; isolation: isolate; width: min(100%, 390px); }
.rx__all-wrap .rx__all { width: 100%; }
.rx-burst { position: absolute; z-index: -1; pointer-events: none; }
.rx-burst img { position: absolute; height: auto; max-width: none; }
.rx-burst--all { inset: 0; }
.rx-burst--all .rx-burst__main { right: -22%; top: -58%; width: 52%; transform: rotate(8deg); }
.rx-burst--all .rx-burst__l { left: -8%; top: -44%; width: 22%; transform: rotate(-28deg) scaleX(-1); }
.rx-slide__caption { position: relative; isolation: isolate; }
.rx-burst--card { inset: 0; }
.rx-burst--card .rx-burst__l { left: -14%; top: -60%; width: 20%; transform: rotate(-24deg) scaleX(-1); }
.rx-burst--card .rx-burst__r { right: -14%; top: -64%; width: 22%; transform: rotate(14deg); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rx-pop { from { opacity: 0; transform: translateY(14px) scale(0.8); } to { opacity: 1; } }
  .rx-burst img { animation: rx-pop 520ms var(--ease-enter, cubic-bezier(0.22, 1, 0.36, 1)) both; }
  .rx-burst img + img { animation-delay: 80ms; }
}

/* Tablet: trio still side by side under the intro. */
@media (min-width: 768px) and (max-width: 1099px) {
  .rx__track { grid-template-columns: 1.5fr 0.85fr 1.1fr; gap: 0; min-height: 0; }
  .rx__all-wrap { align-self: center; }
}

/* Phone: one big product, the smaller middle one peeking. */
@media (max-width: 767px) {
  .rx__all-wrap { order: 5; align-self: center; width: calc(100% - 40px); max-width: 360px; margin-top: 40px; }
  .rx__all-wrap .rx__all { margin-top: 0; }
  .rx-slide--side { display: none !important; }
  .rx-slide--mid { display: flex; flex: none; width: 82vw; }
  .rx-slide--lead { width: 84vw; }
  .rx-burst--card .rx-burst__l { left: -6%; top: -50%; width: 18%; }
  .rx-burst--card .rx-burst__r { right: -6%; top: -54%; width: 20%; }
}
@media (min-width: 1100px) {
  .rx { grid-template-columns: minmax(470px, 0.82fr) minmax(0, 2.18fr); }
  .rx__pills { gap: 16px 12px; }
}
.rx-burst--all .rx-burst__main { right: -20%; top: auto; bottom: -46%; width: 46%; transform: rotate(18deg); }
.rx-burst--all .rx-burst__l { left: auto; right: 6%; top: -34%; width: 16%; transform: rotate(10deg); }
/* Names always whole: no truncation, sizes that fit each card. */
.rx-slide__title .rx-slide__name { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rx-slide__title.has-shell { aspect-ratio: 960 / 430; padding: 4% 16% 7%; }
.rx-slide__title.has-shell .rx-slide__name,
.rx-slide--side .rx-slide__title.has-shell .rx-slide__name,
.rx-slide--mid .rx-slide__title.has-shell .rx-slide__name { font-size: clamp(12px, 0.95vw, 15px); line-height: 1.1; }
.rx-slide--side .rx-slide__title.has-shell .rx-slide__price,
.rx-slide--mid .rx-slide__title.has-shell .rx-slide__price { font-size: clamp(15px, 1.2vw, 19px); }
@media (min-width: 1100px) and (max-width: 1399px) {
  .rx-slide--lead .rx-slide__title .rx-slide__name { font-size: 17px; }
  .rx-slide--lead .rx-slide__title .rx-slide__price { font-size: 22px; }
  .rx-slide--mid .rx-slide__title { padding-inline: 14px; }
  .rx-slide--mid .rx-slide__title .rx-slide__name { font-size: 12.5px; }
  .rx-slide--mid .rx-slide__title .rx-slide__price { font-size: 15px; }
  .rx-slide--mid .rx-slide__caption { width: 104%; }
}
@media (min-width: 1100px) and (max-width: 1399px) {
  .rx-slide--lead .rx-slide__caption { width: 90%; }
  .rx-slide--lead .rx-slide__title { padding-inline: 20px; }
}

/* ==========================================================================
   Round 4 (Sabrina, 2026-09-30): much bigger products, bold overlapping
   blobs in their true colours, big falling confetti across the section.
   ========================================================================== */
/* Falling confetti: large pieces, gently drifting down on a loop. */
.rx__fall { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.rx__piece { position: absolute; height: auto; max-width: none; transform: rotate(var(--r, 0deg)); opacity: 0.95; filter: drop-shadow(0 3px 4px rgb(15 28 63 / 0.12)); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rx-fall { 0% { transform: translateY(-10px) rotate(var(--r, 0deg)); } 50% { transform: translateY(14px) rotate(calc(var(--r, 0deg) + 14deg)); } 100% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
  .rx__piece { animation: rx-fall 6s ease-in-out infinite; }
}
/* The small bursts are replaced by the falling confetti. */
.rx-burst { display: none !important; }
/* No floating crown or sparkle. */
.rx__art { display: none !important; }

/* Bold blobs: true colours, full strength, bigger than the product. */
.rx-slide__blob { filter: none !important; mix-blend-mode: normal !important; }
.rx-slide__blob--a { left: -14%; top: -10%; width: 112%; opacity: 1; }
.rx-slide__blob--b { left: 20%; top: 14%; width: 100%; opacity: 0.9; }

@media (min-width: 1100px) {
  section.featured.has-rx { padding-top: 64px !important; padding-bottom: 64px !important; }
  .rx { grid-template-columns: minmax(440px, 0.7fr) minmax(0, 2.3fr); align-items: center; }
  .rx__stage { padding-inline: 40px; }
  .rx__track { grid-template-columns: 1.6fr 0.75fr 1.15fr; min-height: 0; }
  .rx-slide--lead .rx-slide__media { aspect-ratio: 1 / 1.08; }
  .rx-slide--mid .rx-slide__media { aspect-ratio: 1 / 1.1; }
  .rx-slide--side .rx-slide__media { aspect-ratio: 1 / 1.08; }
  .rx-slide--lead { margin-right: -4%; }
  .rx-slide--side { margin-left: -5%; }
  .rx-slide--mid { margin-inline: 0; }
}
section.featured.has-rx > .rx__fall { display: block !important; }

/* ==========================================================================
   Client (2026-10-02): computers and tablets stack the section again.
   Title, then the category cards lined up, then five products across, then
   View all rentals.
   ========================================================================== */
@media (min-width: 768px) {
  .rx { display: flex !important; flex-direction: column; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
  .rx__intro { display: contents; }
  section.featured.has-rx .rx__title { order: 1; text-align: center; }
  .rx__swash { order: 2; align-self: center; margin-top: calc(-1 * clamp(14px, 1.6vw, 26px)); }
  .rx__pills { order: 3; justify-content: center; max-width: none !important; margin: 0 !important; }
  .rx__stage { order: 4; width: 100%; padding: 0 clamp(48px, 5vw, 72px) 56px !important; }
  .rx__all-wrap { order: 5; align-self: center; }
  .rx__track.is-row { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; min-height: 0 !important; align-items: end; gap: clamp(10px, 1.6vw, 28px); }
  .rx__track.is-row .rx-slide { margin: 0 !important; }
  .rx__track.is-row .rx-slide__media { aspect-ratio: 1 / 1.05 !important; }
  .rx__track.is-row .rx-slide__caption { width: 100% !important; margin-top: -4%; }
}
@media (min-width: 1200px) {
  .rx__pills { flex-wrap: nowrap !important; gap: 10px !important; }
  .rx__pills .rx-pill { --h: 46px; font-size: 15px; flex: none; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  .rx__pills { gap: 6px !important; }
  .rx__pills .rx-pill { --h: 42px; font-size: 13.5px; }
}

/* Client (2026-10-02): cloud art instead of the watercolour blobs, and the rentals page cards in the row. */
section.featured.has-rx > .rx__decor { overflow: hidden; }
.rx__clouds { position: absolute; left: 0; bottom: 0; width: 100%; height: 42%; max-width: none; object-fit: cover; object-position: 50% 0; user-select: none; }
.rx__track.is-row .rx-card { margin: 0; min-width: 0; align-self: start; }
.rx__track.is-row .rx-card .card__media { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 18px; }
.rx__track.is-row .rx-card .card__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .rx__track.is-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; padding: 0 20px !important; overflow: visible !important; min-height: 0 !important; }
  .rx__track.is-row .rx-card { width: auto; }
  .rx__track.is-row .rx-card .card__info { gap: 8px; }
}
@media (max-width: 767px) {
  .rx__stage .rx__arrow { top: auto !important; bottom: 0 !important; transform: none; }
  .rx__stage { padding-bottom: 64px !important; }
}

/* ==========================================================================
   Clouds (Sabrina, 2026-10-03): the folder's pastel clouds drift across the
   homepage rentals section and the rentals page like real clouds, slowly,
   each at its own speed with a gentle rise and fall. A cloud stops while the
   pointer is over it. They replace the falling confetti; on the rentals page
   they replace all other background art, and the sort control is removed.
   ========================================================================== */
.rx-clouds { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
section.featured.has-rx > .rx-clouds { z-index: -1; }
.rx-cloud { position: absolute; left: 0; display: block; transform: translateX(-100%); will-change: transform; }
.rx-cloud__bob { display: block; }
.rx-cloud img { display: block; width: 100%; height: auto; max-width: none; filter: drop-shadow(0 10px 14px rgb(120 120 160 / 0.10)); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes rx-cloud-drift { from { transform: translateX(-100%); } to { transform: translateX(var(--span, 100vw)); } }
  @keyframes rx-cloud-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
  .rx-cloud { animation: rx-cloud-drift linear infinite; }
  .rx-cloud__bob { animation: rx-cloud-bob 9s ease-in-out infinite; }
  .rx-cloud.is-paused, .rx-cloud.is-paused .rx-cloud__bob { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .rx-cloud:nth-child(3n+1) { transform: translateX(8vw); }
  .rx-cloud:nth-child(3n+2) { transform: translateX(46vw); }
  .rx-cloud:nth-child(3n) { transform: translateX(78vw); }
}
@media (max-width: 767px) { .rx-cloud { scale: 0.6; transform-origin: 0 0; } }

/* Homepage section: no confetti left anywhere. */
section.featured.has-rx > .rx__fall, .rx__piece, .rx-burst { display: none !important; }

/* Rentals page: plain page colour, clouds only, no sort control. */
body section.catalog::before { display: none !important; background: none !important; }
body section.catalog { background: var(--rx-ivory) !important; position: relative; isolation: isolate; }
body section.catalog > :not(.rx-clouds) { position: relative; z-index: 1; }
body .catalog .catalog-control--sort { display: none !important; }
body .catalog .catalog-filter-toggle, body .catalog .catalog-controls, body .catalog .toolbar__divider { display: none !important; }
body section > .rx-clouds { position: absolute !important; inset: 0 !important; height: auto !important; }
body section.catalog > .rx-clouds { z-index: 0 !important; }
body section.featured.has-rx > .rx-clouds { z-index: 0 !important; }
body section > .rx-clouds { display: block !important; }
body section.featured.has-rx > .rx { position: relative; z-index: 2 !important; }
body section.featured.has-rx > .rx__decor { z-index: 1 !important; }

/* Client 2026-10-14: no gold ring on the selected homepage pill; it lifts with a soft shadow, as on the rentals page. */
html body .rx-pill[aria-pressed="true"]::after { box-shadow: 0 10px 20px -8px rgb(8 21 43 / .35) !important; outline: 0 !important; }
html body .rx-pill:focus:not(:focus-visible) { outline: 0 !important; }

/* Category order: Classic, Deluxe, Ultimate, Disney Collection, Obstacle Courses, Party Extras, Water Slides,
   Public Events; "All rentals" is an underlined text link on its own line under them, like the homepage's. */
body .catalog .filters .filter[data-filter="classic-houses"] { order: 1; }
body .catalog .filters .filter[data-filter="deluxe-houses"] { order: 2; }
body .catalog .filters .filter[data-filter="ultimate-houses"] { order: 3; }
body .catalog .filters .filter[data-filter="disney"] { order: 4; }
body .catalog .filters .filter[data-filter="obstacle-courses"] { order: 5; }
body .catalog .filters .filter--party-extras { order: 6; }
body .catalog .filters .filter[data-filter="water"] { order: 7; }
body .catalog .filters .filter[data-filter="public-events"] { order: 8; }
body .catalog .filter[data-rx-pill="link"] {
  order: 9; flex: 0 0 100% !important; width: 100% !important; height: auto !important; min-height: 0 !important;
  margin: 2px 0 0 !important; padding: 6px 0 !important; border: 0 !important; box-shadow: none !important;
  background: none !important; transform: none !important;
  font-family: var(--font-display, 'DM Serif Display', serif) !important; font-size: clamp(18px, 1.5vw, 22px) !important;
  color: #16161F !important; text-align: center; text-decoration: underline !important;
  text-decoration-thickness: 1.5px !important; text-underline-offset: 5px !important;
  transition: text-decoration-thickness 160ms ease-out, text-underline-offset 160ms ease-out;
}
body .catalog .filter[data-rx-pill="link"]::before,
body .catalog .filter[data-rx-pill="link"]::after { content: none !important; display: none !important; }
body .catalog .filter[data-rx-pill="link"][aria-pressed="true"] { transform: none !important; text-decoration-thickness: 2.5px !important; }
@media (hover: hover) and (pointer: fine) {
  body .catalog .filter[data-rx-pill="link"]:hover { transform: none !important; text-decoration-thickness: 2.5px !important; text-underline-offset: 7px !important; }
}
@media (max-width: 767px) { body .catalog .filter[data-rx-pill="link"] { font-size: 17px !important; } }

body .catalog .rx-all-link { display: flex; justify-content: center; flex: 0 0 100% !important; width: 100% !important; margin: 10px 0 0; }
body .catalog .rx-all-link .filter[data-rx-pill="link"] { flex: none !important; width: auto !important; }

/* Phones: one "Search by category" button in place of the category buttons; it opens the categories
   full screen in the site menu's style (menu.css). PC keeps the buttons. */
html body #main .catalog .filters .filter.rx-catopen { display: none !important; }
@media (max-width: 767px) {
  html body #main .catalog .filters .filter:not(.rx-catopen) { display: none !important; }
  html body #main .catalog .filters .filter.rx-catopen { display: flex !important; order: 0; width: min(100%, 320px) !important; margin: 0 auto !important; }
  html body #main .catalog .filters:has(.rx-catopen) { display: flex !important; justify-content: center !important; width: 100% !important; overflow: visible !important; transform: none !important; }
}
.rx-catmenu .menu__link { background: none; border: 0; cursor: pointer; font-size: min(9.4vw, 7.6vh, 3.4rem); }
.rx-catmenu .menu__list { gap: 12px; padding: 4px 0; }
.rx-catmenu .menu__link.rx-pill { --h: 54px; display: inline-flex; padding: 0 calc(var(--h) * 60 / var(--ph)) 0 calc(var(--h) * 232 / var(--ph)); font-size: 18px; font-weight: 400; line-height: 1.1; letter-spacing: 0; white-space: nowrap; color: var(--rx-navy); }
.rx-catmenu .menu__link.rx-pill { box-sizing: border-box; width: min(260px, calc(100vw - 48px)); justify-content: center; }
.rx-catmenu .menu__link.rx-pill[aria-current="true"] { text-decoration: none; transform: translateY(-2px); }
.rx-catmenu .menu__link.rx-pill[aria-current="true"]::after { box-shadow: 0 8px 18px -8px rgb(154 107 42 / 0.55); }
.rx-catmenu .menu__link.rx-catall { font-size: 17px; margin-top: 4px; white-space: nowrap; }
.rx-catmenu .menu__link[aria-current="true"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.rx-catmenu.is-open .menu__item:nth-child(7) { transition-delay: 360ms; }
.rx-catmenu.is-open .menu__item:nth-child(8) { transition-delay: 410ms; }
.rx-catmenu.is-open .menu__item:nth-child(9) { transition-delay: 460ms; }
html.rx-catmenu-open, html.rx-catmenu-open body { overflow: hidden; }
