/* Checkout: the highlighted reservation counter (Matt approved, 2 Nov 2026) and, on phones, the before/after
   reel under the Pay button (Marko, 2 Nov 2026: the before/after was hidden in the collapsed order summary).
   Script: checkout-reel.js. Images are the real customer transformations from the offer page
   (sections/new/real-transformations/images/cards). */

/* ---- reservation counter ---- */
.co2-checkout .co2-reserve {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px 11px 14px; margin-bottom: 20px; border-radius: 12px;
  background: #fff0ea; border: 1px solid #ffd3c2; color: #212428;
  font-size: 14px; line-height: 1.35;
}
.co2-checkout .co2-reserve svg { width: 18px; height: 18px; color: #ff5429; flex: none; }
.co2-checkout .co2-reserve > span { flex: 1; min-width: 0; }
.co2-checkout .co2-reserve b#reserveClock {
  display: inline-flex; align-items: center; gap: 7px; margin-left: 2px; padding: 4px 10px 4px 9px; border-radius: 999px;
  background: #212428; color: #fff; font-size: 15px; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums;
  vertical-align: 1px; white-space: nowrap;
}
.co2-checkout .co2-reserve b#reserveClock::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5429;
  box-shadow: 0 0 0 0 rgba(255, 84, 41, .6); animation: co2-pulse 1.6s ease-out infinite;
}
@keyframes co2-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 41, .6); } 70% { box-shadow: 0 0 0 7px rgba(255, 84, 41, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 84, 41, 0); } }
/* after the hold and its one extension: the static line, still in the highlighted strip */
.co2-checkout .co2-reserve.is-expired { background: #fff0ea; color: #212428; }

/* ---- before/after reel: under the Pay button on phones, in the summary's card on desktop ---- */
.co2-reel { display: none; }
@media (max-width: 899px) {
  #baReel { display: block; margin: 22px 0 6px; }
  /* the same proof inside the collapsed summary would now be a duplicate */
  .co2-sumbody .co2-social { display: none; }
}
@media (min-width: 900px) {
  #baReelDesk { display: block; }
  /* the reel takes the place of the static pair and the rotating quote (its names would not match the photos) */
  .co2-social .co2-social__ba, .co2-social #socialQuote { display: none; }
}
.co2-reel__h { font-family: var(--heading-font-family, "Canela", Georgia, serif); font-weight: 300; font-size: 21px; line-height: 1.2; color: #212428; text-align: center; margin: 0 0 12px; }
.co2-reel__stage { position: relative; aspect-ratio: 3 / 2; touch-action: pan-y; container-type: size; }
/* each photo whole, at its own shape, centred: the stage never crops (Marko, 2 Nov) */
.co2-reel__slide { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .9s ease; }
.co2-reel__slide.is-on { opacity: 1; }
.co2-reel__pic { position: relative; display: block; max-width: 100%; max-height: 100%; }
.co2-reel__pic img { display: block; max-width: 100cqw; max-height: 100cqh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 6px 20px rgba(33, 36, 40, .10); }
.co2-reel__tag { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 6px; background: rgba(255, 255, 255, .92); color: #212428; font-style: normal; font-size: 12px; font-weight: 600; }
.co2-reel__tag--r { left: calc(50% + 7px); }
.co2-reel__quote { margin: 12px 0 0; min-height: 40px; text-align: center; font-size: 14px; line-height: 1.45; color: #212428; text-wrap: balance; }
.co2-reel__quote b { font-weight: 600; }
.co2-reel__cap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-height: 22px; }
.co2-reel__who { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: #212428; transition: opacity .4s ease; }
.co2-reel__who b { font-weight: 600; }
.co2-reel__who span { color: #6b6e71; }
.co2-reel__dots { display: flex; gap: 2px; }
.co2-reel__dot { width: 18px; height: 22px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.co2-reel__dot::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: #d4d6d9; transition: width .3s ease, background .3s ease; }
.co2-reel__dot[aria-current="true"]::after { width: 16px; background: #212428; }
.co2-reel__dot:focus-visible { outline: 2px solid #ff5429; outline-offset: 1px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .co2-checkout .co2-reserve b#reserveClock::before { animation: none; }
  .co2-reel__slide { transition: none; }
  .co2-reel__slide.is-on img { animation: none; }
}
