/* ==========================================================================
   CirclesCo Popups — Frontend Styles
   ========================================================================== */

/* ------------------------------------------------------------------
   Overlay
   ------------------------------------------------------------------ */
.ccp-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ccp-popup.is-open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------------
   Inner container
   ------------------------------------------------------------------ */
.ccp-popup__inner {
  position: relative;
  display: flex;
  max-width: 700px;
  width: 92%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.ccp-popup.is-open .ccp-popup__inner {
  transform: scale(1);
  opacity: 1;
}

/* ------------------------------------------------------------------
   Image area
   ------------------------------------------------------------------ */
.ccp-popup__image {
  flex: 0 0 45%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100%;
  border-radius: 14px 0 0 14px;
}

/* ------------------------------------------------------------------
   Content area
   ------------------------------------------------------------------ */
.ccp-popup__content {
  flex: 0 0 55%;
  padding: 36px;
  box-sizing: border-box;
}

/* ------------------------------------------------------------------
   Layout variants
   ------------------------------------------------------------------ */
.ccp-layout-image-right .ccp-popup__inner {
  flex-direction: row-reverse;
}
.ccp-layout-image-right .ccp-popup__image {
  border-radius: 0 14px 14px 0;
}

.ccp-layout-image-top .ccp-popup__inner {
  flex-direction: column;
}
.ccp-layout-image-top .ccp-popup__image {
  flex: 0 0 200px;
  height: 200px;
  min-height: 200px;
  width: 100%;
  border-radius: 14px 14px 0 0;
}
.ccp-layout-image-top .ccp-popup__content {
  flex: 1 1 auto;
  width: 100%;
}

.ccp-layout-no-image .ccp-popup__content,
.ccp-popup.ccp-noimg .ccp-popup__content {
  flex: 1 1 auto;
  width: 100%;
}

.ccp-popup__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.3;
  font-family: var(--ccp-font-title, inherit);
}

.ccp-popup__body {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 20px;
  font-family: var(--ccp-font-body, inherit);
}

.ccp-popup__form input[type="text"],
.ccp-popup__form input[type="email"],
.ccp-popup__form input[type="url"],
.ccp-popup__form select,
.ccp-popup__source,
.ccp-popup__submit {
  font-family: var(--ccp-font-input, inherit);
}

/* ------------------------------------------------------------------
   Form
   ------------------------------------------------------------------ */
.ccp-popup__form input[type="text"],
.ccp-popup__form input[type="email"],
.ccp-popup__form input[type="url"] {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease;
}

.ccp-popup__form input[type="text"]:focus,
.ccp-popup__form input[type="email"]:focus,
.ccp-popup__form input[type="url"]:focus {
  border-color: var(--ccp-btn-bg, #1264ff);
}

.ccp-popup__form select,
.ccp-popup__source {
  display: block;
  width: 100% !important;
  max-width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  margin-bottom: 10px;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239b9b97' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color 0.2s ease;
}

.ccp-popup__form select:focus,
.ccp-popup__source:focus {
  border-color: var(--ccp-btn-bg, #1264ff);
}

.ccp-popup__submit {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  background: var(--ccp-btn-bg, #1264ff);
  transition: background 0.2s ease;
}

.ccp-popup__submit:hover {
  background: var(--ccp-btn-hover, #0d4fcc);
}

.ccp-popup__submit.is-success {
  background: #16a34a !important;
  cursor: default;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  animation: ccpBtnSuccess 0.35s ease;
}

.ccp-popup__submit.is-success svg {
  flex-shrink: 0;
  color: #fff;
}

@keyframes ccpBtnSuccess {
  0%   { transform: scale(0.96); }
  55%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.ccp-popup__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------
   CTA button (Content popups — links out instead of submitting)
   ------------------------------------------------------------------ */
.ccp-popup__cta {
  display: block;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  color: #fff !important;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
  background: var(--ccp-btn-bg, #1264ff);
  font-family: var(--ccp-font-input, inherit);
  transition: background 0.2s ease;
}

.ccp-popup__cta:hover,
.ccp-popup__cta:focus {
  background: var(--ccp-btn-hover, #0d4fcc);
  color: #fff !important;
  text-decoration: none !important;
}

/* ------------------------------------------------------------------
   Image-only popups — the image IS the popup, no card around it
   ------------------------------------------------------------------ */
.ccp-type-image .ccp-popup__inner {
  display: block;
  width: auto;
  max-width: min(var(--ccp-img-w, 600px), 92vw);
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.ccp-popup__image-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.ccp-popup__image-full {
  display: block;
  width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ccp-type-image .ccp-popup__close {
  top: -14px;
  right: -14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.ccp-type-image .ccp-popup__close:hover {
  background: #f1f1ef;
}

/* ------------------------------------------------------------------
   Slider popups — an announcement deck, one slide at a time
   ------------------------------------------------------------------ */
.ccp-type-slider .ccp-popup__inner,
.ccp-type-slider-content .ccp-popup__inner {
  display: block;
  width: auto;
  /* The arrows sit outside the artwork, so the deck cannot use the full width
     of the screen — it leaves a lane for them on each side. */
  max-width: min(var(--ccp-img-w, 600px), calc(100vw - 150px));
  overflow: visible;
}

/* Images-only decks are the image and nothing else, like an image popup. */
.ccp-type-slider .ccp-popup__inner {
  background: none;
  box-shadow: none;
  border-radius: 0;
}

.ccp-slider {
  position: relative;
}

.ccp-slider__viewport {
  overflow: hidden;
  border-radius: 14px;
}

.ccp-type-slider .ccp-slider__viewport {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ccp-slider__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ccp-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

/* Clones exist only to give the track somewhere to travel on a wrap. They are
   never focusable, never selectable, and never counted. */
.ccp-slider__slide--clone {
  pointer-events: none;
  user-select: none;
}

/* Fade stacks every slide in one grid cell, so the deck is as tall as its
   tallest slide and nothing jumps when the slide changes. */
.ccp-slider--fade .ccp-slider__track {
  display: grid;
  transform: none !important;
}

.ccp-slider--fade .ccp-slider__slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ccp-slider--fade .ccp-slider__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* A visitor who asked for reduced motion gets the change, not the travel. */
.ccp-slider--no-motion .ccp-slider__track,
.ccp-slider--no-motion .ccp-slider__slide {
  transition: none;
}

/* --- Media: every slide wears slide one's aspect ratio --- */
.ccp-slider__media {
  display: block;
  width: 100%;
  aspect-ratio: var(--ccp-slide-ar, auto);
  background: #f0f0ee;
  line-height: 0;
  text-decoration: none;
}

.ccp-slider__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop and zoom to fill, never letterbox */
  object-position: center;
}

/* --- Text under the image (Slider + Content only) --- */
.ccp-slider__body {
  padding: 22px 26px 26px;
  background: #fff;
  box-sizing: border-box;
}

.ccp-slider__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
  line-height: 1.3;
  font-family: var(--ccp-font-title, inherit);
}

.ccp-slider__text {
  font-size: 14px;
  color: #666;
  line-height: 1.55;
  margin: 0;
  font-family: var(--ccp-font-body, inherit);
}

.ccp-slider__body .ccp-popup__cta {
  margin-top: 16px;
  width: auto;
  display: inline-block;
  padding: 12px 22px;
}

/* --- Arrows, over the media --- */
.ccp-slider__arrow {
  position: absolute;
  /* Bounded by the top of the deck and the top of the dots row, with auto
     margins doing the centring — so the arrows line up on the middle of the
     IMAGE rather than the middle of the image-plus-dots, which is what a
     plain 50% would give and always sits slightly low. */
  top: 0;
  bottom: var(--ccp-dots-space, 25px);
  margin-top: auto;
  margin-bottom: auto;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: #1a1a18;
  transition: background 0.15s ease, transform 0.15s ease;
  z-index: 3;
}

.ccp-slider__arrow:hover {
  background: #fff;
  transform: scale(1.06);
}

/* Outside the artwork, 20px clear of it — nothing covers the image. */
.ccp-slider__arrow--prev { right: 100%; left: auto; margin-right: 20px; }
.ccp-slider__arrow--next { left: 100%; right: auto; margin-left: 20px; }

.ccp-slider__arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* The close button shares the top-right corner with the next arrow. */
.ccp-type-slider .ccp-popup__close,
.ccp-type-slider-content .ccp-popup__close {
  top: -14px;
  right: -14px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  z-index: 4;
}

/* --- Dots, below the deck --- */
.ccp-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--ccp-dots-space, 25px);
  padding: 14px 0 0;
  box-sizing: content-box;
}

.ccp-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

/* On a content deck the dots sit on the page background, not on the image. */
.ccp-type-slider-content .ccp-slider__dot {
  background: #d4d4d1;
}

.ccp-slider__dot:hover { transform: scale(1.25); }

.ccp-slider__dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

.ccp-type-slider-content .ccp-slider__dot.is-active {
  background: #1a1a18;
}

@media (max-width: 600px) {
  .ccp-type-slider .ccp-popup__inner,
  .ccp-type-slider-content .ccp-popup__inner {
    max-width: 92vw;      /* arrows are back inside, so take the full width */
  }

  .ccp-type-slider .ccp-popup__close,
  .ccp-type-slider-content .ccp-popup__close {
    top: 8px;
    right: 8px;
  }

  /* On a phone there is no lane beside the artwork, and an arrow ON the image
     covers the thing you came to look at. The controls become one bar under
     the deck instead: back on the left, dots in the middle, forward on the
     right — all of it thumb-reachable and none of it over the picture.
     Placed by grid area, so the DOM order stays as it is for a screen reader. */
  .ccp-slider {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "media media media"
      "prev  dots  next";
    align-items: center;      /* arrows and dots share one centre line */
    row-gap: 12px;
  }

  .ccp-slider__viewport { grid-area: media; }

  .ccp-slider__arrow {
    grid-area: prev;
    position: static;
    top: auto;
    bottom: auto;
    transform: none;
    width: 38px;
    height: 38px;
    margin: 0;                /* the row-gap does the spacing, so nothing drifts */
    justify-self: start;
  }

  .ccp-slider__arrow--next {
    grid-area: next;
    justify-self: end;
  }

  .ccp-slider__arrow:hover,
  .ccp-slider__arrow:active {
    transform: none;
  }

  .ccp-slider__dots {
    grid-area: dots;
    height: auto;
    padding: 0 8px;
  }
  .ccp-slider__body { padding: 18px 20px 22px; }
}

/* ------------------------------------------------------------------
   Close button
   ------------------------------------------------------------------ */
.ccp-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
  z-index: 2;
}

.ccp-popup__close:hover {
  background: rgba(0, 0, 0, 0.18);
}

.ccp-popup__close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #333;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------
   Message area
   ------------------------------------------------------------------ */
.ccp-popup__message {
  font-size: 13px;
  margin-top: 8px;
}

.ccp-popup__message.is-success {
  color: #1a8d1a;
}

.ccp-popup__message.is-error {
  color: #d32f2f;
}

/* ------------------------------------------------------------------
   Mobile (stack vertically)
   ------------------------------------------------------------------ */
@media (max-width: 600px) {
  .ccp-popup__inner {
    flex-direction: column;
    max-width: 95%;
  }

  .ccp-popup__image {
    flex: none;
    width: 100%;
    max-height: 200px;
    min-height: 160px;
    border-radius: 14px 14px 0 0;
  }

  .ccp-popup__content {
    flex: none;
    width: 100%;
    padding: 24px;
  }

  .ccp-type-image .ccp-popup__inner {
    max-width: 92vw;
  }

  .ccp-type-image .ccp-popup__close {
    top: 8px;
    right: 8px;
  }
}

/* 5.0 positions. Native dialogs keep focus inside the active overlay. */
.ccp-v5[hidden],.ccp-v5 [hidden],.ccp-side-tab[hidden] { display:none!important; }
.ccp-v5 { box-sizing:border-box; font-family:var(--ccp-font-body,system-ui,sans-serif); color:#1a1a1a; }
dialog.ccp-v5 { display:none; inset:0; margin:auto; padding:0; border:0; width:min(92vw,760px); height:fit-content; max-height:90dvh; background:transparent; backdrop-filter:none; border-radius:var(--ccp-radius,20px); overflow:auto; }
dialog.ccp-v5[open] { display:block; }
dialog.ccp-v5::backdrop { background:rgba(0,0,0,.55); overflow:hidden; overscroll-behavior:contain; }
dialog.ccp-v5:modal { overscroll-behavior:contain; }
.ccp-v5 .ccp-popup__inner { max-width:none; width:100%; border-radius:var(--ccp-radius,20px); transform:translateY(12px); transition:opacity 220ms ease-out,transform 220ms ease-out; box-shadow:0 16px 60px #0002; }
.ccp-v5.is-open .ccp-popup__inner { transform:translateY(0); }
.ccp-v5 .ccp-popup__image { border-radius:0; min-height:240px; }
.ccp-v5 .ccp-popup__content { flex:1; min-width:0; padding:clamp(24px,5vw,44px); overflow-wrap:anywhere; }
.ccp-v5 .ccp-popup__content:only-of-type { width:100%; }
.ccp-v5:not(:has(.ccp-popup__image)) .ccp-popup__content { flex-basis:100%; }
.ccp-v5 .ccp-popup__title { font-size:clamp(24px,3vw,36px); letter-spacing:-.035em; line-height:1.1; }
.ccp-v5 .ccp-popup__body { font-size:16px; line-height:1.55; }
.ccp-v5 .ccp-popup__close { font-size:28px; width:44px; height:44px; z-index:4; border:0; cursor:pointer; }
.ccp-v5 .ccp-popup__form label,.ccp-giving label { display:block; margin:10px 0; font-size:14px; line-height:1.45; }
.ccp-v5 input:not([type=checkbox]):not([type=radio]),.ccp-v5 textarea,.ccp-v5 select { box-sizing:border-box; width:100%; padding:12px 14px; border:1px solid #ddd; border-radius:6px; font:inherit; background:#fff; color:#222; }
.ccp-v5 input[type=checkbox],.ccp-v5 input[type=radio] { width:18px; height:18px; margin-right:8px; vertical-align:middle; accent-color:var(--ccp-btn-bg); }
.ccp-v5 :is(input,select,textarea):focus { outline:none!important; box-shadow:none!important; border-color:#ddd!important; background:#fff!important; }
.ccp-v5 :is(button,a):focus { outline:none!important; box-shadow:none!important; }
.ccp-v5 fieldset { border:0; padding:0; margin:12px 0; min-width:0; }
.ccp-v5 legend { font-weight:600; margin-bottom:8px; }
.ccp-consent { font-size:12px; line-height:1.5; color:#666; }
.ccp-kicker { font-size:14px; font-weight:700; display:inline-block; margin-bottom:14px; }
.ccp-kicker-highlight { background:var(--ccp-kicker,#e3f542); padding:4px 8px; }
.ccp-layout-bleed-left .ccp-popup__image,.ccp-layout-bleed-right .ccp-popup__image { flex:0 0 50%; align-self:stretch; }
.ccp-layout-bleed-left .ccp-popup__content,.ccp-layout-bleed-right .ccp-popup__content { align-self:center; text-align:center; }
.ccp-layout-bleed-right .ccp-popup__inner { flex-direction:row-reverse; }
.ccp-position-fullscreen { width:100vw!important; max-width:100vw!important; height:100dvh!important; max-height:100dvh!important; border-radius:0!important; }
.ccp-position-fullscreen .ccp-popup__inner { min-height:100dvh; border-radius:0; }
.ccp-position-slide_in,.ccp-type-toasts { inset:auto 24px 24px auto; width:min(390px,calc(100vw - 32px)); background:none; backdrop-filter:none; }
.ccp-corner-bottom_left.ccp-position-slide_in,.ccp-corner-bottom_left.ccp-type-toasts { left:24px; right:auto; }
.ccp-position-slide_in .ccp-popup__inner,.ccp-type-toasts .ccp-popup__inner { flex-direction:column; }
.ccp-position-bar_top,.ccp-position-bar_bottom { width:100%; inset:auto 0 0; background:none; backdrop-filter:none; }
.ccp-position-bar_top { inset:0 0 auto; }
.ccp-position-bar_top .ccp-popup__inner,.ccp-position-bar_bottom .ccp-popup__inner { border-radius:0; }
.ccp-position-bar_top .ccp-popup__content,.ccp-position-bar_bottom .ccp-popup__content { padding:16px 64px 16px 24px; }
.ccp-position-bar_top .ccp-popup__image,.ccp-position-bar_bottom .ccp-popup__image { display:none; }
.ccp-position-bar_top .ccp-popup__title,.ccp-position-bar_bottom .ccp-popup__title { font-size:22px; }
.ccp-position-bar_top .ccp-popup__form,.ccp-position-bar_bottom .ccp-popup__form { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.ccp-position-bar_top [data-step],.ccp-position-bar_bottom [data-step] { display:flex; gap:12px; flex:1; }
.ccp-position-bar_top .ccp-popup__submit,.ccp-position-bar_bottom .ccp-popup__submit { width:auto; }
html.ccp-has-top-bar { padding-top:var(--ccp-top-bar-height,100px); }
.ccp-position-inline { position:relative; inset:auto; width:100%; background:none; backdrop-filter:none; opacity:1; visibility:visible; z-index:1; }
.ccp-side-tab { position:fixed; top:50%; z-index:999998; writing-mode:vertical-rl; padding:18px 12px; background:#111; color:white; border:0; cursor:pointer; }
.ccp-side-tab-left { left:0; border-radius:0 8px 8px 0; }.ccp-side-tab-right { right:0; border-radius:8px 0 0 8px; }
.ccp-countdown { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }.ccp-countdown span { padding:10px; background:#f3f3f3; border-radius:6px; font-variant-numeric:tabular-nums; }
.ccp-success { padding:40px; width:100%; box-sizing:border-box; }.ccp-coupon { border:1px dashed #999; padding:16px; display:flex; gap:16px; align-items:center; justify-content:space-between; }
.ccp-v5 progress { width:100%; height:12px; accent-color:var(--ccp-btn-bg); }
.ccp-v5 iframe,.ccp-v5 video { width:100%; aspect-ratio:16/9; border:0; }
.ccp-toast img { width:48px; height:48px; border-radius:50%; object-fit:cover; float:left; margin-right:12px; }.ccp-toast-text { font-weight:600; }
.ccp-progress { font-size:12px; padding:12px 0; }.ccp-grab { display:none; }.ccp-honeypot { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.ccp-interests-chips { display:flex; flex-wrap:wrap; gap:8px; }.ccp-interests-chips label { margin:0!important; padding:8px 12px; border:1px solid #ddd; border-radius:8px; }
@media(max-width:639px) {
  .ccp-v5 .ccp-popup__inner { flex-direction:column; }.ccp-v5 .ccp-popup__image { min-height:160px; flex-basis:160px; width:100%; }
  dialog.ccp-mobile-bottom_sheet { margin:auto 0 0; width:100%; max-width:100%; max-height:85dvh; border-radius:var(--ccp-radius) var(--ccp-radius) 0 0; }
  .ccp-mobile-bottom_sheet .ccp-grab { display:block; position:absolute; top:8px; left:calc(50% - 20px); width:40px; height:4px; border-radius:4px; background:#bbb; z-index:2; }
  .ccp-mobile-bottom_sheet .ccp-popup__inner { border-radius:var(--ccp-radius) var(--ccp-radius) 0 0; }
  .ccp-position-fullscreen.ccp-mobile-bottom_sheet { height:auto!important; max-height:85dvh!important; }.ccp-position-fullscreen.ccp-mobile-bottom_sheet .ccp-popup__inner { min-height:0; }
  .ccp-position-bar_top [data-step],.ccp-position-bar_bottom [data-step] { flex-direction:column; gap:0; }
  .ccp-position-bar_top,.ccp-position-bar_bottom { max-height:85dvh; overflow:auto; }.ccp-position-bar_bottom .ccp-popup__form { display:block; }
}
@media(prefers-reduced-motion:reduce) { .ccp-v5,.ccp-v5 * { transition:none!important; animation:none!important; scroll-behavior:auto!important; } }
.ccp-progress { display:flex; align-items:center; gap:8px; }.ccp-progress-dot { display:inline-block; width:8px; height:8px; border-radius:50%; background:#ddd; }.ccp-progress-dot[aria-current=step] { background:var(--ccp-btn-bg); }.ccp-progress-label { margin-left:4px; }
.ccp-v5.ccp-type-toasts .ccp-popup__content>.ccp-popup__title,.ccp-v5.ccp-type-toasts .ccp-popup__content>.ccp-popup__body { display:none; }
@keyframes ccp-v5-enter { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.ccp-v5.is-open .ccp-popup__inner { animation:ccp-v5-enter 220ms ease-out; }
@media(prefers-reduced-motion:reduce) { .ccp-v5.is-open .ccp-popup__inner { animation:none; } }

/* Selected interests remain visible independently of focus. */
.ccp-interests-chips label:has(input:checked) { border-color:var(--ccp-btn-bg, #1264ff); box-shadow:inset 0 0 0 1px var(--ccp-btn-bg, #1264ff); }
/* Pills share one row evenly when they all fit; when they don't, they wrap and each row splits its space (3 pills: 2 on top, 1 full width below). */
.ccp-interests-chips label { flex:1 1 0; min-width:max-content; box-sizing:border-box; display:flex; align-items:center; gap:6px; padding:10px 12px!important; white-space:nowrap; }
.ccp-interests-chips input { margin:0 6px 0 0!important; flex:0 0 auto; }
.ccp-interests-chips input[type=checkbox], .ccp-interests-chips input[type=radio] { accent-color:var(--ccp-btn-bg, #1264ff); }
/* Owner rule: form labels, typed text and consent copy are always left-aligned, even in a centered layout. Only a code (coupon) stays centered. */
.ccp-popup form, .ccp-popup form label, .ccp-popup form legend, .ccp-popup form input, .ccp-popup form textarea, .ccp-popup form select, .ccp-popup .ccp-consent, .ccp-popup form p { text-align:left; }
.ccp-popup form .ccp-sms, .ccp-popup form label:has(input[type=checkbox]) { justify-content:flex-start; }
.ccp-popup form button, .ccp-popup form .ccp-popup__submit { text-align:center; }
