.depot-modal-mask {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(0, 0, 0, 0.45);
}

.depot-modal-mask.is-open {
  display: flex;
}

.depot-modal {
  position: relative;
  width: min(992px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden auto;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  font-family: "Source Sans 3", Arial, sans-serif;
}

.depot-modal__hero {
  position: relative;
  height: clamp(220px, 34vw, 360px);
  overflow: hidden;
  background: #f5f5f5;
}

.depot-modal__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.depot-modal__hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 56px;
  pointer-events: none;
}

.depot-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 2px solid #000;
  border-radius: 99999px;
  background: rgba(255, 255, 255, 0.68);
  color: #000;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.depot-modal__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.depot-modal__body {
  padding: 8px 24px 32px;
}

.depot-modal__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

.depot-modal__title {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  font-weight: 700;
  color: #000;
}

.depot-modal__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #292929;
}

.depot-modal__benefits {
  margin: 0;
  padding: 24px 28px;
  list-style: none;
  border-radius: 32px;
  background: #f2e7ff;
  color: #52198a;
}

.depot-modal__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.depot-modal__benefits li:last-child {
  margin-bottom: 0;
}

.depot-modal__check {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  color: #52198a;
}

.depot-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.depot-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 99999px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

.depot-modal__btn--secondary {
  background: #fff;
  color: #000;
  border-color: #000;
}

.depot-modal__btn--secondary:hover {
  background: rgba(0, 0, 0, 0.06);
}

.depot-modal__btn--primary {
  background: #000;
  color: #fff;
}

.depot-modal__btn--primary:hover {
  background: rgba(0, 0, 0, 0.73);
}

#depotarten .sc-iLFOWm {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

#depotarten .sc-iLFOWm .breKNt {
  margin: 0 16px 16px 0 !important;
  flex-shrink: 0;
  align-self: auto;
  pointer-events: auto;
  position: relative;
  z-index: 5;
}

#depotarten .fvdvyw > * {
  overflow: visible;
  text-overflow: unset;
}

body.depot-modal-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .depot-modal__close {
    top: 24px;
    right: 24px;
  }

  .depot-modal__body {
    padding: 12px 40px 40px;
  }

  .depot-modal__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 32px;
  }

  .depot-modal__benefits {
    padding: 28px 32px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .depot-modal {
    width: min(608px, 100%);
  }
}
