.floater-ew-ccp {
  position: fixed;
  right: 0;
  z-index: 10;
  width: 100%;
  background: linear-gradient(88deg, rgba(22, 29, 31, 0.4) -9.82%, rgba(157, 207, 218, 0.4) 172.25%), #000;
  bottom: 0;

  @media (width >= 768px) {
    max-width: 360px;
    top: 50%;
    bottom: unset;
    transform: translateY(-50%);
  }

  .floater-ew-ccp__container {
    color: var(--tertiary-white);
    padding: 16px 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
    @media (width >= 768px) {
      gap: 16px;
    }
  }
  .floater-ew-ccp__container:has(.floater-ew-ccp__toggle--collapsed) {
    display: flex;
    flex-direction: row-reverse;
    margin-right: 0;
  }
  .floater-ew-ccp__toggle {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--tertiary-white);
    font-size: var(--heading-font-15-mob-sub-heading);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-300);
  }
  .floater-ew-ccp__toggle.floater-ew-ccp__toggle--collapsed {
    position: unset;
  }
  .floater-ew-ccp__toggle:hover {
    opacity: 0.8;
  }

  .floater-ew-ccp__toggle::before {
    content: url('/icons/minus.svg');
  }

  .floater-ew-ccp__toggle--collapsed::before {
    content: url('/icons/add-white.svg');
  }

  .floater-ew-ccp__title :is(h1, h2, h3, h4, h5, h6) {
    color: var(--tertiary-white);
    font-size: var(--body-font-size-xs);
    font-style: normal;
    font-weight: var(--fw-500);
    line-height: var(--heading-lh-19-mob-text-small);
    margin: 0;
  }

  .floater-ew-ccp__buttons {
    display: flex;
    gap: 16px;
    align-items: center;
  }

  .floater-ew-ccp__buttons[hidden] {
    display: none;
  }

  .floater-ew-ccp__button {
    text-decoration: none;
    font-size: var(--heading-font-18-mob-text-small);
    font-weight: var(--fw-400);
    cursor: pointer;
    border: none;
  }

  .floater-ew-ccp__button--primary a {
    display: flex;
    height: 32px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    background: var(--tertiary-white);
    color: var(--primary-main);
    text-align: center;
    font-style: normal;
    font-weight: var(--fw-400);
    line-height: var(--heading-lh-19-mob-text-small);
  }

  .floater-ew-ccp__button--primary a:hover {
    background-color: var(--light-color);
    color: var(--tertiary-black);
    text-decoration: none;
  }

  .floater-ew-ccp__button--secondary a {
    background-color: transparent;
    color: var(--tertiary-white);
    text-align: right;
    font-style: normal;
    font-weight: var(--fw-400);
    line-height: var(--heading-lh-19-mob-text-small);
  }

  .floater-ew-ccp__button--secondary a:hover {
    color: var(--dark-color);
    text-decoration: none;
  }

  .floater-ew-ccp__button--secondary a:after {
    position: relative;
    top: 2px;
    content: url('/icons/arrow-white-north-east.svg');
    padding-left: 8px;
  }
}

.floater-ew-ccp--rotated {
  right: 25px;
  top: 45%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: right;
  max-width: fit-content;
  height: fit-content;
}
