/* Phone rental cards (Sabrina, 2026-10-09), rentals page and homepage rentals section. Pairs with card-slides.js.
   Photo carousel (product, inside with animated feature icons and arrows, outdoor), tier word dropped from the name,
   "w/ hoop & slide" words: on the same line on the rentals page, under the name on the homepage.
   Phone only, except the inside photo, which is also the computer hover on Deluxe and Ultimate cards (2026-10-10). */
.cfs, .cfs-ui, .cfs-w{ display:none; }

@media (max-width:767px){
  /* The photo frame: the product photo and the extra photos slide side by side. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs{ overflow:hidden!important; isolation:isolate; touch-action:pan-y; --cfs-pos:0; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs > .square-pair--display{ translate:calc(var(--cfs-pos) * -100%) 0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs > .cfs{ display:block!important; position:absolute!important; inset:0!important; z-index:3!important; pointer-events:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs .cfs__p{
    position:absolute!important; inset:0!important; overflow:hidden!important; background:#EDE5D0;
    translate:calc((var(--k) - var(--cfs-pos)) * 100%) 0!important;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs.cfs-anim > .square-pair--display,
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs.cfs-anim .cfs__p{ transition:translate 380ms cubic-bezier(.22,1,.36,1)!important; }
}

/* The inside photo, its arrows and its animated icons: shared by the phone slide and the computer hover. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media:is(.has-cfs,.has-cfs-hover) .cfs__img{
    position:absolute!important; inset:0!important; width:100%!important; height:100%!important; max-width:none!important;
    object-fit:cover!important; object-position:50% 50%!important; opacity:1!important; visibility:visible!important; translate:none!important; scale:1!important; transform:none!important;
  }

  /* Inside photo: an arrow from each feature icon to the real feature. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-ar{
    position:absolute!important; inset:0!important; width:100%!important; height:100%!important; z-index:1; overflow:visible;
    filter:drop-shadow(0 0 1.5px rgba(8,21,43,.55));
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-ar path{
    fill:none; stroke:#fff; stroke-width:.9; stroke-linecap:round; stroke-linejoin:round;
    stroke-dasharray:1 1; stroke-dashoffset:1;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfs-ar__line{ stroke-dashoffset:0; transition:stroke-dashoffset 460ms cubic-bezier(.65,0,.35,1) 420ms; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfs-ar__head{ stroke-dashoffset:0; transition:stroke-dashoffset 180ms ease-out 860ms; }

  /* Feature icons: cream discs with a small label, popping in one after another. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip{
    position:absolute!important; z-index:2; translate:-50% -50%; display:flex; flex-direction:column; align-items:center; gap:2px;
    opacity:0; scale:.6; transition:opacity 160ms ease-out, scale 160ms ease-out;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfs-chip{
    opacity:1; scale:1;
    transition:opacity 320ms cubic-bezier(.22,1,.36,1) calc(180ms + var(--i) * 90ms), scale 520ms cubic-bezier(.34,1.56,.64,1) calc(180ms + var(--i) * 90ms);
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip__ic{
    display:grid; place-items:center; width:50px; height:50px; border-radius:50%;
    background:rgba(255,250,240,.94); box-shadow:0 8px 18px -10px rgba(8,21,43,.55);
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip__ic svg{ width:38px; height:38px; overflow:visible; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip b{
    font:700 11px/1 Manrope, system-ui, sans-serif; letter-spacing:0; color:#16161F; white-space:nowrap;
    background:rgba(255,250,240,.94); border-radius:6px; padding:3px 6px;
  }
  /* Homepage cards are narrower: smaller icons. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card .cfs-chip__ic{ width:40px; height:40px; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card .cfs-chip__ic svg{ width:30px; height:30px; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card .cfs-chip b{ font-size:10px; }

  /* Each icon plays its own little loop while its photo is showing (same loops as the computer hover). */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip__ic svg *{ transform-box:fill-box; }
  @media (prefers-reduced-motion:no-preference){
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfx-roll{ animation:cfs-roll 1.6s cubic-bezier(.5,0,.75,1) 700ms infinite both; }
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfx-shot{ animation:cfs-shot 1.7s cubic-bezier(.35,0,.65,1) 600ms infinite both; }
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfx-pop{ transform-origin:50% 100%; animation:cfs-pop 1.8s cubic-bezier(.34,1.56,.64,1) 800ms infinite both; }
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfx-pop--2{ animation-delay:950ms; }
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs__p.is-on .cfx-pop--3{ animation-delay:1100ms; }
  }
  @media (prefers-reduced-motion:reduce){
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-ar path{ stroke-dashoffset:0!important; transition:none!important; }
    html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-chip{ transition:none!important; }
  }

/* Computers (Sabrina, 2026-10-10): hovering a Deluxe or Ultimate card shows the inside photo with the arrows and
   animated icons, in place of the outdoor photo and the small icon row. */
@media (min-width:768px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs-hover{ isolation:isolate; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs-hover > .cfs-hov{
    display:block!important; position:absolute!important; inset:0!important; z-index:3!important; pointer-events:none!important; overflow:hidden!important;
    background:#EDE5D0; opacity:0; transition:opacity 220ms cubic-bezier(.22,1,.36,1);
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card__media.has-cfs-hover > .cfs-hov.is-on{ opacity:1; transition:opacity 300ms cubic-bezier(.22,1,.36,1); }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs-hover .square-pair--outdoor{ opacity:0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs-hover > .cfx{ display:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs-hover .card__price{ z-index:6!important; }
}

@media (max-width:767px){
  /* Arrows and dots over the photo. Plain black arrows, no frame, with a faint white glow so they read on busy photos. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs > .cfs-ui{ display:block!important; position:absolute!important; z-index:5!important; pointer-events:none!important; margin:0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav{
    pointer-events:auto; position:absolute!important; top:50%!important; translate:0 -50%; width:40px!important; height:56px!important; min-width:0!important; min-height:0!important;
    display:grid!important; place-items:center; margin:0!important; padding:0!important; background:none!important; border:0!important; box-shadow:none!important; border-radius:0!important;
    color:#16161F!important; cursor:pointer; -webkit-tap-highlight-color:transparent;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav[hidden]{ display:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav--prev{ left:0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav--next{ right:0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav svg{
    width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; opacity:.85;
    filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 5px rgba(255,255,255,.7));
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-nav:active svg{ scale:.88; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-dots{ position:absolute; left:0; right:0; bottom:10px; display:flex; justify-content:center; gap:6px; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-dots i{
    width:6px; height:6px; border-radius:50%; background:#16161F; opacity:.28;
    box-shadow:0 0 0 1.5px rgba(255,255,255,.55); transition:opacity 200ms ease-out;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .cfs-dots i.is-on{ opacity:.85; }

  /* Names: no Classic / Deluxe / Ultimate; the features follow the name. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs .cfs-tier{ display:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card .cfs-w{
    display:inline!important; margin-left:6px; white-space:nowrap;
    font:500 12.5px/1.2 Manrope, system-ui, sans-serif!important; letter-spacing:0!important; color:#5B6B7A!important;
  }
  /* Homepage: the words sit right under the name. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card.has-cfs .carousel-card__caption:has(> .cfs-w){
    display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; column-gap:10px!important; row-gap:0!important; align-items:center!important;
  }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card.has-cfs .carousel-card__caption:has(> .cfs-w) > .card__name{ grid-column:1!important; grid-row:1!important; align-self:end!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card.has-cfs .carousel-card__caption > .cfs-w{ display:block!important; grid-column:1!important; grid-row:2!important; align-self:start!important; margin:1px 0 0!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx-card.has-cfs .carousel-card__caption:has(> .cfs-w) > .card__cta{ grid-column:2!important; grid-row:1 / span 2!important; }

  /* Rentals page: name and words on one line. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__name{ white-space:nowrap!important; display:block!important; -webkit-line-clamp:unset!important; overflow:hidden!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__info{ display:flex!important; flex-direction:row!important; align-items:center!important; min-width:0!important; max-width:100%!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__info > .card__name{ flex:1 1 0!important; min-width:0!important; width:auto!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__info > .card__cta{ flex:0 0 auto!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__name > a{ display:inline!important; white-space:nowrap!important; }
  /* Only on a card whose line does not fit: a smaller See more, then smaller words (set by card-slides.js). */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-tight .card__info{ gap:6px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-tight .card__cta{ width:100px!important; height:34px!important; font-size:14px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-tight[style*="--cfs-k"] .card__name > a{ font-size:calc(16px * var(--cfs-k))!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-tight[style*="--cfs-k"] .card__name .cfs-w{ font-size:calc(12.5px * var(--cfs-k))!important; margin-left:5px!important; }

  /* The price stays on top of every photo. */
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .card.has-cfs .card__price{ z-index:6!important; }
}

@keyframes cfs-roll{
  0%{ transform:translate(0,0) rotate(0deg); opacity:0; }
  8%{ opacity:1; }
  30%{ transform:translate(13px,8px) rotate(140deg); }
  55%{ transform:translate(22px,26px) rotate(300deg); }
  80%{ transform:translate(33px,38px) rotate(460deg); opacity:1; }
  92%,100%{ transform:translate(38px,40px) rotate(520deg); opacity:0; }
}
@keyframes cfs-shot{
  0%{ transform:translate(-20px,24px); opacity:0; }
  10%{ opacity:1; }
  42%{ transform:translate(-8px,-10px); }
  58%{ transform:translate(0,-2px); }
  78%{ transform:translate(0,18px); opacity:1; }
  90%,100%{ transform:translate(0,24px); opacity:0; }
}
@keyframes cfs-pop{
  0%{ transform:scaleY(.3); }
  22%{ transform:scaleY(1.12); }
  36%{ transform:scaleY(.95); }
  48%,82%{ transform:scaleY(1); }
  100%{ transform:scaleY(.3); }
}

/* Computers (Sabrina 2026-10-12): same approved titles as phones on the rentals page. */
@media (min-width:768px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-pc-name .cfs-tier{ display:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.cfs-pc-name .card__name .cfs-w{
    display:inline!important; margin-left:6px; white-space:nowrap;
    font:500 13px/1.2 Manrope, system-ui, sans-serif!important; letter-spacing:0!important; color:#5B6B7A!important;
  }
}

/* Homepage rentals cards on computers (Sabrina, 2026-10-17): the same approved titles as the rentals page, on one line. */
@media (min-width:768px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) :is(.rx-card, .rail .card).cfs-pc-name .cfs-tier{ display:none!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) :is(.rx-card, .rail .card).cfs-pc-name .card__name .cfs-w{
    display:block!important; margin:3px 0 0!important; white-space:nowrap;
    font:500 0.62em/1.2 Manrope, system-ui, sans-serif!important; letter-spacing:0!important; color:#5B6B7A!important;
  }
}
/* The name itself stays on one line beside See more; the words sit under it. */
@media (min-width:768px){ html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rail .card.cfs-pc-name .card__name{ white-space:nowrap!important; } }
/* Homepage rentals row (Sabrina 2026-10-18): the rentals page sizes exactly, never shrunk: name 19px, w/ words 13px under it. */
@media (min-width:768px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name, html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name > a{ font-size:19px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name .cfs-w{ display:block!important; margin:3px 0 0!important; font-size:13px!important; } /* every homepage card the same: words under the name */
}
/* Homepage rentals row on phones (Sabrina's one-line title rule, 2026-10-18): the name never breaks onto a second line;
   preview-polish.js shrinks it just enough to sit beside See more. */
@media (max-width:767px){ html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name > a, html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name{ white-space:nowrap!important; } }
/* Phones (Sabrina 2026-10-18): on the rentals page too, the w/ words sit right under the name, as on the homepage. */
@media (max-width:767px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .catalog .card.has-cfs .card__name .cfs-w{ display:block!important; margin:2px 0 0!important; }
}

/* Every rental card shows its tier after the name ("Mickey Mouse Classic"), on computers and phones. */
html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5):not(#c6) .card .cfs-tier{ display:inline!important; }

/* Homepage on computers: the name column ends where See more begins, and each name stays on one line. Only a name that
   does not fit gets a smaller See more, then smaller lettering (set by card-slides.js). */
@media (min-width:768px){
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .carousel-card__caption{ grid-template-columns:minmax(0,1fr) 118px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card .card__name{ white-space:nowrap!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card.cfs-tight .carousel-card__caption{ grid-template-columns:minmax(0,1fr) 100px!important; column-gap:6px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card.cfs-tight .card__cta{ width:100px!important; height:34px!important; font-size:14px!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card.cfs-tight[style*="--cfs-k"] .card__name{ font-size:calc(19px * var(--cfs-k))!important; }
  html body:not(#c1):not(#c2):not(#c3):not(#c4):not(#c5) .rx__track .card.cfs-tight[style*="--cfs-k"] .card__name .cfs-w{ font-size:calc(13px * var(--cfs-k))!important; }
}
