/* Perspiq cookie consent */
:root {
  --perspiq-pink: #c06f98;
}

/* Override legacy WordPress rules that hid CookieYes on some page IDs. */
#perspiq-cookie-banner.perspiq-cookie-banner:not(.cky-hide) {
  display: block !important;
  visibility: visible !important;
}

#perspiq-cookie-banner.perspiq-cookie-banner:not(.cky-hide) .cky-consent-bar {
  display: block !important;
  visibility: visible !important;
}

.cky-overlay {
  background: #000;
  opacity: 0.4;
  position: fixed;
  inset: 0;
  z-index: 99999998;
}

.cky-hide {
  display: none !important;
}

.cky-consent-container {
  position: fixed;
  width: 100%;
  box-sizing: border-box;
  z-index: 99999999;
}

.cky-consent-container .cky-consent-bar {
  background: #fff;
  border: 1px solid #f4f4f4;
  padding: 16.5px 24px;
  box-shadow: 0 -1px 10px 0 #acabab4d;
}

.cky-banner-bottom {
  bottom: 0;
  left: 0;
}

.cky-notice-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  line-height: 24px;
}

.cky-notice-des {
  color: #212121;
  font-size: 14px;
  line-height: 24px;
}

.cky-notice-des p {
  margin: 0;
}

.cky-notice-des a.cky-policy {
  color: var(--perspiq-pink);
  text-decoration: underline;
  white-space: nowrap;
}

.cky-notice-btn-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.cky-btn {
  font-size: 14px;
  font-family: inherit;
  line-height: 24px;
  padding: 8px 20px;
  font-weight: 500;
  border-radius: 2px;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
  border: 2px solid var(--perspiq-pink);
}

.cky-btn:hover {
  opacity: 0.85;
}

.cky-btn-accept {
  background: var(--perspiq-pink);
  color: #fff;
  border-color: var(--perspiq-pink);
}

.cky-btn-reject {
  color: var(--perspiq-pink);
  background: transparent;
  border-color: var(--perspiq-pink);
}

.cky-btn-revisit-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--perspiq-pink);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  position: fixed;
  z-index: 999999;
  cursor: pointer;
  border: none;
  bottom: 15px;
  left: 15px;
  padding: 0;
}

.cky-btn-revisit-wrapper svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

@media (max-width: 768px) {
  .cky-notice-group {
    flex-direction: column;
    align-items: stretch;
  }

  .cky-notice-btn-wrapper {
    flex-wrap: wrap;
  }

  .cky-btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 576px) {
  .cky-consent-container .cky-consent-bar {
    padding: 16.5px 16px;
  }

  .cky-notice-btn-wrapper {
    flex-direction: column;
    width: 100%;
  }

  .cky-btn {
    width: 100%;
  }
}
