.cookie-consent-modal-open {
  overflow: hidden;
}

.cookie-consent-shell {
  position: relative;
  z-index: 1200;
}

.cookie-consent-trigger {
  position: fixed;
  left: 16px;
  bottom: 16px;
  border: 1px solid #333333;
  background: #ffffff;
  color: #333333;
  padding: 12px 18px;
  border-radius: 999px;
  font: 600 14px/1.2 "Montserrat", sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.cookie-consent-trigger.is-hidden {
  display: none;
}

.cookie-consent-bar {
  position: fixed;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  color: var(--cc-text);
  z-index: 1201;
}

.cookie-consent-bar--bottom {
  bottom: 24px;
}

.cookie-consent-bar--top {
  top: 24px;
}

.cookie-consent-bar__content {
  width: min(1320px, 100%);
  background: var(--cc-bg);
  border: 1px dotted var(--cc-border);
  color: var(--cc-text);
  padding: 28px 38px;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.cookie-consent-bar__description {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

.cookie-consent-bar__text {
  font: 400 18px/1.6 "Inter", sans-serif;
}

.cookie-consent-bar__policy {
  color: var(--cc-accent);
  text-decoration: none;
  font: 600 16px/1.4 "Montserrat", sans-serif;
}

.cookie-consent-bar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  justify-content: flex-end;
}

.cookie-consent-form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-consent-btn {
  border: 1px solid transparent;
  padding: 15px 20px;
  font: 600 15px/1.2 "Montserrat", sans-serif;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.cookie-consent-btn:hover {
  transform: translateY(-1px);
}

.cookie-consent-btn--primary {
  background: var(--cc-accent, #ff497c);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(255, 73, 124, 0.2);
}

.cookie-consent-btn--secondary {
  background: #333333;
  color: #ffffff;
}

.cookie-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 1202;
}

.cookie-consent-modal.is-hidden {
  display: none;
}

.cookie-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 19, 32, 0.55);
  backdrop-filter: blur(6px);
}

.cookie-consent-modal__dialog {
  position: relative;
  width: min(780px, 100vw - 32px);
  margin: 6vh auto 0;
  background: #ffffff;
  padding: 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.cookie-consent-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: 0;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.cookie-consent-modal__title {
  margin: 0 0 10px;
  font: 700 28px/1.15 "Montserrat", sans-serif;
  color: #0f1320;
}

.cookie-consent-modal__description {
  margin: 0 0 24px;
  font: 400 16px/1.6 "Inter", sans-serif;
  color: #4e5568;
}

.cookie-consent-form__categories {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.cookie-consent-category {
  display: block;
  padding: 18px 20px;
  background: #f7f7f8;
  border: 1px solid #d6dae4;
}

.cookie-consent-category__main {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.cookie-consent-category__copy {
  display: grid;
  gap: 8px;
}

.cookie-consent-category__name {
  font: 700 16px/1.3 "Montserrat", sans-serif;
  color: #0f1320;
}

.cookie-consent-category__description {
  font: 400 14px/1.5 "Inter", sans-serif;
  color: #5a6173;
}

.cookie-consent-category__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cookie-consent-category__toggle input {
  position: absolute;
  opacity: 0;
}

.cookie-consent-category__slider {
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #c0c5d2;
  position: relative;
  transition: background-color 0.16s ease;
}

.cookie-consent-category__slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.16s ease;
}

.cookie-consent-category__toggle input:checked + .cookie-consent-category__slider {
  background: #ff497c;
}

.cookie-consent-category__toggle input:checked + .cookie-consent-category__slider::after {
  transform: translateX(24px);
}

.cookie-consent-category.is-required {
  border-color: #ffccd9;
  background: #fff4f7;
}

@media (max-width: 960px) {
  .cookie-consent-bar {
    left: 12px;
    right: 12px;
  }
  .cookie-consent-bar__content,
  .cookie-consent-category__main,
  .cookie-consent-form__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-consent-bar__content {
    padding: 22px;
  }
  .cookie-consent-btn {
    width: 100%;
  }
  .cookie-consent-modal__dialog {
    margin-top: 20px;
    padding: 24px 18px;
  }
}
