#sp-cookie-consent {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9999;
  width: min(420px, calc(100vw - 32px));
  color: #1f242c;
  font-family: inherit;
}

#sp-cookie-consent .sp-cookie-consent__panel,
#sp-cookie-consent .sp-cookie-consent__modal-panel {
  background: #e1e5eb;
  border: 1px solid rgba(31, 36, 44, 0.12);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.2);
}

#sp-cookie-consent .sp-cookie-consent__panel {
  border-radius: 28px;
  padding: 24px 22px 22px;
}

#sp-cookie-consent .sp-cookie-consent__header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

#sp-cookie-consent .sp-cookie-consent__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(216, 158, 123, 0.16);
  border: 1px solid rgba(216, 158, 123, 0.26);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d89e7b;
}

#sp-cookie-consent .sp-cookie-consent__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

#sp-cookie-consent .sp-cookie-consent__eyebrow {
  margin: 0 0 4px;
  color: #5e6978;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#sp-cookie-consent .sp-cookie-consent__title {
  margin: 0;
  color: #1f242c;
  font-family: inherit;
  font-size: 1.55rem;
  line-height: 1.1;
  font-weight: 700;
}

#sp-cookie-consent .sp-cookie-consent__text,
#sp-cookie-consent .sp-cookie-consent__modal-text {
  margin: 14px 0 0;
  color: #3f4753;
  font-size: 0.98rem;
  line-height: 1.55;
}

#sp-cookie-consent .sp-cookie-consent__privacy {
  margin: 14px 0 0;
}

#sp-cookie-consent .sp-cookie-consent__privacy-link {
  color: #d89e7b;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}

#sp-cookie-consent .sp-cookie-consent__privacy-link:hover,
#sp-cookie-consent .sp-cookie-consent__privacy-link:focus-visible {
  text-decoration: underline;
}

#sp-cookie-consent .sp-cookie-consent__actions,
#sp-cookie-consent .sp-cookie-consent__modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

#sp-cookie-consent .sp-cookie-consent__overlay[hidden],
#sp-cookie-consent .sp-cookie-consent__modal[hidden] {
  display: none !important;
}

#sp-cookie-consent .sp-cookie-consent__modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

#sp-cookie-consent .sp-cookie-consent__overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(10, 10, 10, 0.64);
}

#sp-cookie-consent .sp-cookie-consent__modal-panel {
  position: relative;
  width: min(560px, calc(100vw - 24px));
  max-height: min(84vh, 840px);
  overflow: auto;
  border-radius: 28px;
  padding: 24px;
}

#sp-cookie-consent .sp-cookie-consent__modal-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

#sp-cookie-consent .sp-cookie-consent__modal-title {
  margin: 0;
  color: #1f242c;
  font-size: 1.3rem;
  line-height: 1.2;
}

#sp-cookie-consent .sp-cookie-consent__close {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: #1f242c;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

#sp-cookie-consent .sp-cookie-consent__toggles {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

#sp-cookie-consent .sp-cookie-consent__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(31, 36, 44, 0.1);
  color: #1f242c;
}

#sp-cookie-consent .sp-cookie-consent__toggle strong,
#sp-cookie-consent .sp-cookie-consent__toggle small {
  display: block;
}

#sp-cookie-consent .sp-cookie-consent__toggle small {
  margin-top: 4px;
  color: #5e6978;
  font-size: 0.84rem;
}

#sp-cookie-consent .sp-cookie-consent__toggle input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #d89e7b;
  flex: 0 0 auto;
}

#sp-cookie-consent .sp-cookie-consent__toggle--disabled {
  opacity: 0.85;
}

#sp-cookie-consent .sp-cookie-consent__toggle--disabled input {
  opacity: 0.65;
}

#sp-cookie-consent .sp-cookie-consent__button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 32px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

#sp-cookie-consent .sp-cookie-consent__button:hover,
#sp-cookie-consent .sp-cookie-consent__button:focus-visible {
  transform: translateY(-1px);
}

#sp-cookie-consent .sp-cookie-consent__button--primary {
  background: #d89e7b;
  color: #1f242c;
  box-shadow: 0 10px 24px rgba(216, 158, 123, 0.18);
}

#sp-cookie-consent .sp-cookie-consent__button--secondary {
  background: #2f343b;
  color: #fff;
  border: 1px solid rgba(31, 36, 44, 0.14);
}

#sp-cookie-consent .sp-cookie-consent__button--ghost {
  background: transparent;
  color: #d89e7b;
  border: 1px solid rgba(216, 158, 123, 0.42);
}

#sp-cookie-consent .sp-cookie-consent__button--ghost:hover,
#sp-cookie-consent .sp-cookie-consent__button--ghost:focus-visible {
  background: rgba(216, 158, 123, 0.08);
}

body.sp-cookie-consent-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  #sp-cookie-consent {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

  #sp-cookie-consent .sp-cookie-consent__panel,
  #sp-cookie-consent .sp-cookie-consent__modal-panel {
    border-radius: 24px;
  }

  #sp-cookie-consent .sp-cookie-consent__actions,
  #sp-cookie-consent .sp-cookie-consent__modal-actions {
    flex-direction: column;
  }

  #sp-cookie-consent .sp-cookie-consent__button {
    width: 100%;
  }

  #sp-cookie-consent .sp-cookie-consent__toggle {
    align-items: flex-start;
    flex-direction: column;
  }

  #sp-cookie-consent .sp-cookie-consent__toggle input[type="checkbox"] {
    align-self: flex-end;
  }
}
