#ckc-popup-home.ckcPopupHome {
  --ckc-popup-accent: #6366f1;
  --ckc-popup-btn-bg: #24b9d7;
  --ckc-popup-btn-color: #ffffff;
  --ckc-popup-btn-hover: #1d93ab;
  --ckc-popup-btn-hover-color: #ffffff;
  --ckc-popup-control-radius: 12px;
  --ckc-popup-surface: #ffffff;
  --ckc-popup-surface-muted: #f8fafc;
  --ckc-popup-text: #0f172a;
  --ckc-popup-text-muted: #64748b;
  --ckc-popup-border: rgba(15, 23, 42, 0.08);
  --ckc-popup-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  --ckc-popup-radius: 24px;
  --ckc-popup-transition: 320ms cubic-bezier(0.22, 1, 0.36, 1);

  position: fixed;
  inset: 0;
  z-index: 11000;
  display: none;
  box-sizing: border-box;
  padding: 0;
  font-family: inherit;
}

#ckc-popup-home.ckcPopupHome--visible {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}

#ckc-popup-home .ckcPopupHome__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  opacity: 0;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    opacity var(--ckc-popup-transition),
    backdrop-filter var(--ckc-popup-transition);
}

#ckc-popup-home.ckcPopupHome--animated .ckcPopupHome__overlay {
  opacity: 1;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#ckc-popup-home .ckcPopupHome__modal {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  max-width: none;
  max-height: none;
  overflow: hidden;
  background: var(--ckc-popup-surface);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;
  transform: none;
  font-family: inherit;
  transition: opacity var(--ckc-popup-transition);
}

#ckc-popup-home .ckcPopupHome__modal:focus,
#ckc-popup-home .ckcPopupHome__modal:focus-visible {
  outline: none;
}

#ckc-popup-home.ckcPopupHome--animated .ckcPopupHome__modal {
  opacity: 1;
}

#ckc-popup-home .ckcPopupHome__handle {
  display: none;
}

#ckc-popup-home .ckcPopupHome__layout {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-height: 0;
}

#ckc-popup-home .ckcPopupHome__media {
  display: none;
}

#ckc-popup-home .ckcPopupHome__content {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--ckc-popup-surface);
}

#ckc-popup-home button,
#ckc-popup-home input,
#ckc-popup-home select,
#ckc-popup-home textarea {
  font-family: inherit;
}

#ckc-popup-home .ckcPopupHome__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  right: calc(12px + env(safe-area-inset-right));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--ckc-popup-text);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ckc-popup-border);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

#ckc-popup-home .ckcPopupHome__close:hover {
  color: #fff;
  background: var(--ckc-popup-text);
  transform: scale(1.04);
}

#ckc-popup-home .ckcPopupHome__close:focus-visible {
  outline: 2px solid var(--ckc-popup-accent);
  outline-offset: 2px;
}

#ckc-popup-home .ckcPopupHome__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: calc(56px + env(safe-area-inset-top))
    calc(24px + env(safe-area-inset-right)) 12px
    calc(24px + env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
}

#ckc-popup-home .ckcPopupHome__title {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ckc-popup-text);
  text-wrap: balance;
}

#ckc-popup-home .ckcPopupHome__description {
  margin-bottom: 4px;
  font-size: clamp(0.9375rem, 1.8vw, 1rem);
  line-height: 1.65;
  color: var(--ckc-popup-text-muted);
}

#ckc-popup-home .ckcPopupHome__description p:last-child {
  margin-bottom: 0;
}

#ckc-popup-home .ckcPopupHome__description a {
  color: var(--ckc-popup-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

#ckc-popup-home .ckcPopupHome__form {
  margin-top: 20px;
}

#ckc-popup-home .ckcPopupHome__newsletter-message[hidden] {
  display: none !important;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter {
  margin: 0;
  padding: 0;
  width: 100% !important;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter > .row {
  margin-top: 1rem;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter > .row,
#ckc-popup-home .ckcPopupHome__form .block_newsletter form .row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter > .row > [class*="col-"],
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  form
  .row
  > [class*="col-"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: 0 0 auto;
}

#ckc-popup-home .ckcPopupHome__form #block-newsletter-label,
#ckc-popup-home .fbNewsletter__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0;
  line-height: 0;
  font-weight: 600;
  color: #34373c;
}

#ckc-popup-home .fbNewsletter__offer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  color: #34373c;
}

#ckc-popup-home .fbNewsletter__offer strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f2532f;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  form
  .row
  > .col-xs-12:first-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter .input-wrapper {
  order: 1;
  width: 100%;
  margin-bottom: 0;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter .clearfix {
  display: none;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter .hidden-sm-up {
  display: none !important;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter .hidden-xs-down {
  display: block !important;
  float: none;
  width: 100%;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter > h4 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ckc-popup-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter form {
  width: 100%;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter input[type="email"] {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  font-size: 1rem;
  color: var(--ckc-popup-text);
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--ckc-popup-control-radius);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  input[type="email"]:focus {
  border-color: var(--ckc-popup-accent);
  outline: none;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter input[type="submit"],
#ckc-popup-home .ckcPopupHome__form .block_newsletter button[type="submit"] {
  order: 2;
  position: relative;
  right: auto;
  bottom: auto;
  float: none !important;
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ckc-popup-btn-color);
  cursor: pointer;
  background-color: var(--ckc-popup-btn-bg);
  background-image: none;
  border: 0;
  border-radius: var(--ckc-popup-control-radius);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  input[type="submit"]:hover,
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  input[type="submit"]:focus,
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  input[type="submit"]:active,
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  button[type="submit"]:hover,
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  button[type="submit"]:focus,
#ckc-popup-home
  .ckcPopupHome__form
  .block_newsletter
  button[type="submit"]:active {
  color: var(--ckc-popup-btn-hover-color);
  background-color: var(--ckc-popup-btn-hover);
  background-image: none;
  border-color: transparent;
}

#ckc-popup-home.ckcPopupHome--form-row
  .ckcPopupHome__form
  .block_newsletter
  form
  .row
  > .col-xs-12:first-child {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#ckc-popup-home.ckcPopupHome--form-row
  .ckcPopupHome__form
  .block_newsletter
  .input-wrapper {
  flex: 4 1 0;
  width: auto;
  max-width: none;
  min-width: 0;
  order: 1;
}

#ckc-popup-home.ckcPopupHome--form-row
  .ckcPopupHome__form
  .block_newsletter
  .hidden-xs-down,
#ckc-popup-home.ckcPopupHome--form-row
  .ckcPopupHome__form
  .block_newsletter
  input[type="submit"],
#ckc-popup-home.ckcPopupHome--form-row
  .ckcPopupHome__form
  .block_newsletter
  button[type="submit"] {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  min-width: 48px;
  padding: 0;
}

#ckc-popup-home.ckcPopupHome--form-row .ckcPopupHome__submit-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: 48px;
  text-transform: none;
  letter-spacing: 0;
}

#ckc-popup-home.ckcPopupHome--form-row .ckcPopupHome__submit-icon svg {
  display: block;
  width: 22px;
  height: 22px;
  margin-left: auto;
  margin-right: auto;
}

#ckc-popup-home .ckcPopupHome__form .block_newsletter p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ckc-popup-text-muted);
}

#ckc-popup-home .ckcPopupHome__newsletter-message,
#ckc-popup-home .ckcPopupHome__form .notification,
#ckc-popup-home .ckcPopupHome__form .alert,
#ckc-popup-home .ckcPopupHome__form .block_newsletter p.alert {
  display: block;
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 0.875rem;
  line-height: 1.45;
  border-radius: 10px;
}

#ckc-popup-home .ckcPopupHome__newsletter-message.alert-success,
#ckc-popup-home .ckcPopupHome__form .notification-success,
#ckc-popup-home .ckcPopupHome__form .alert-success,
#ckc-popup-home .ckcPopupHome__form .block_newsletter p.alert-success {
  color: #166534;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
}

#ckc-popup-home .ckcPopupHome__newsletter-message.alert-danger,
#ckc-popup-home .ckcPopupHome__form .notification-error,
#ckc-popup-home .ckcPopupHome__form .alert-danger,
#ckc-popup-home .ckcPopupHome__form .block_newsletter p.alert-danger {
  color: #991b1b;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

#ckc-popup-home .ckcPopupHome__footer {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  padding: 4px calc(20px + env(safe-area-inset-right))
    calc(14px + env(safe-area-inset-bottom))
    calc(20px + env(safe-area-inset-left));
}

#ckc-popup-home .ckcPopupHome__dismiss {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 4px 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(100, 116, 139, 0.75);
  text-align: right;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: color 180ms ease;
}

#ckc-popup-home .ckcPopupHome__dismiss:hover {
  color: var(--ckc-popup-text-muted);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#ckc-popup-home .ckcPopupHome__dismiss:focus-visible {
  outline: 2px solid var(--ckc-popup-accent);
  outline-offset: 2px;
}

body.ckcPopupHome-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  #ckc-popup-home.ckcPopupHome--visible {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  #ckc-popup-home .ckcPopupHome__modal {
    border-radius: var(--ckc-popup-radius);
  }

  #ckc-popup-home.ckcPopupHome--media-mobile .ckcPopupHome__media {
    display: block;
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: min(200px, 28vh);
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  }

  #ckc-popup-home.ckcPopupHome--media-mobile .ckcPopupHome__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #ckc-popup-home.ckcPopupHome--media-mobile .ckcPopupHome__body {
    padding-top: 20px;
  }
}

@media (min-width: 768px) {
  #ckc-popup-home.ckcPopupHome--visible {
    align-items: center;
    justify-content: center;
    padding: 24px;
  }

  #ckc-popup-home .ckcPopupHome__modal {
    flex: 0 0 auto;
    width: min(550px, calc(100vw - 48px));
    max-width: none;
    max-height: none;
    /* border: 1px solid var(--ckc-popup-border); */
    border-radius: var(--ckc-popup-radius);
    box-shadow: var(--ckc-popup-shadow);
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition:
      transform var(--ckc-popup-transition),
      opacity var(--ckc-popup-transition);
  }

  #ckc-popup-home.ckcPopupHome--animated .ckcPopupHome__modal {
    transform: translateY(0) scale(1);
  }

  #ckc-popup-home .ckcPopupHome__handle {
    display: none;
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__modal {
    width: min(920px, calc(100vw - 48px));
    height: min(400px, calc(100vh - 48px));
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__layout {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(320px, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__media {
    display: block;
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__content {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    border-left: 1px solid var(--ckc-popup-border);
  }

  #ckc-popup-home:not(.ckcPopupHome--has-media) .ckcPopupHome__layout {
    height: 100%;
  }

  #ckc-popup-home .ckcPopupHome__close {
    top: 12px;
    right: 12px;
  }

  #ckc-popup-home .ckcPopupHome__body {
    padding: 28px 28px 16px;
  }

  #ckc-popup-home .ckcPopupHome__footer {
    padding: 4px 24px 18px;
  }
}

@media (min-width: 1024px) {
  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__modal {
    width: min(980px, calc(100vw - 48px));
  }

  #ckc-popup-home.ckcPopupHome--has-media .ckcPopupHome__layout {
    grid-template-columns: minmax(320px, 44%) minmax(360px, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  #ckc-popup-home.ckcPopupHome,
  #ckc-popup-home .ckcPopupHome__overlay,
  #ckc-popup-home .ckcPopupHome__modal,
  #ckc-popup-home .ckcPopupHome__close,
  #ckc-popup-home .ckcPopupHome__dismiss,
  #ckc-popup-home .ckcPopupHome__form .block_newsletter input {
    transition: none;
  }
}

#ckc-popup-home
  .ckcPopupHome__modal
  .block_newsletter
  form
  button[type="submit"]:before {
  display: none !important;
}

#ckc-popup-home:not(.ckcPopupHome--form-row)
  .ckcPopupHome__modal
  .newsletter-form.fbNewsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
