.rsi-promotion,
.rsi-promotion * {
  box-sizing: border-box;
}

.rsi-promotion {
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(233, 185, 73, 0.35);
  border-radius: 24px;
  background: #171814;
  color: #fffdf8;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.4);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
  text-align: left;
}

.rsi-promotion:not([open]) {
  display: none;
}
.rsi-promotion::backdrop {
  background: rgba(12, 16, 12, 0.7);
  backdrop-filter: blur(5px);
}
.rsi-promotion p {
  margin: 0;
}
.rsi-promotion__layout {
  display: grid;
  grid-template-columns: 44% 56%;
}
.rsi-promotion__visual {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 12px;
  overflow: hidden;
  background: #fffdf8;
  color: #171814;
}
.rsi-promotion__logo {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.rsi-promotion__scooter {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
  margin: 8px 0 18px;
}
.rsi-promotion__location {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}
.rsi-promotion__content {
  min-width: 0;
  padding: 48px 32px 32px;
}
.rsi-promotion .rsi-promotion__eyebrow {
  margin: 0 0 12px;
  color: #e9b949;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.rsi-promotion h2 {
  margin: 0;
  color: #fffdf8;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.rsi-promotion .rsi-promotion__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 13px 0 16px;
  color: #e9b949;
  font-size: 76px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.065em;
}
.rsi-promotion__currency {
  margin-left: 3px;
  font-size: 46px;
  letter-spacing: -0.04em;
}
.rsi-promotion__per-day {
  color: #eee9dc;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.rsi-promotion__validity {
  font-size: 14px;
  font-weight: 650;
}
.rsi-promotion .rsi-promotion__minimum {
  margin: 0 0 12px;
  padding: 8px 11px;
  border-left: 3px solid #e9b949;
  border-radius: 0 6px 6px 0;
  background: rgba(233, 185, 73, 0.12);
  color: #fffdf8;
  font-size: 14px;
  font-weight: 750;
}
.rsi-promotion .rsi-promotion__telephone-only {
  margin-top: 9px;
  color: #c9c7bd;
  font-size: 13px;
}
.rsi-promotion__call {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 12px 14px;
  border: 1px solid #d99d17;
  border-radius: 13px;
  background: #e9b949;
  color: #171814;
  text-decoration: none;
}
.rsi-promotion__call:hover {
  background: #f4c85f;
  color: #171814;
}
.rsi-promotion__call-label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}
.rsi-promotion__call strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.3;
}
.rsi-promotion__close {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 253, 248, 0.25);
  border-radius: 50%;
  background: #171814;
  color: #fffdf8;
  cursor: pointer;
}
.rsi-promotion__close:hover {
  background: #36382e;
}
.rsi-promotion :is(a, button):focus-visible {
  outline: 3px solid #fffdf8;
  outline-offset: 4px;
}
.rsi-promotion__call:focus-visible {
  outline-color: #e9b949;
}

@media (max-width: 600px) {
  .rsi-promotion {
    width: min(390px, calc(100% - 28px));
    border-radius: 20px;
  }
  .rsi-promotion__layout {
    grid-template-columns: 1fr;
  }
  .rsi-promotion__visual {
    height: 166px;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start;
    padding: 12px 18px 25px;
  }
  .rsi-promotion__logo {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
  }
  .rsi-promotion__scooter {
    width: calc(100% - 84px);
    height: 125px;
    max-height: none;
    margin: 0;
  }
  .rsi-promotion__location {
    position: absolute;
    bottom: 12px;
    left: 18px;
    right: 18px;
    font-size: 9px;
  }
  .rsi-promotion__content {
    padding: 23px 23px 24px;
  }
  .rsi-promotion h2 {
    font-size: 30px;
  }
  .rsi-promotion .rsi-promotion__eyebrow {
    margin-bottom: 9px;
    font-size: 10px;
  }
  .rsi-promotion .rsi-promotion__price {
    margin: 11px 0 13px;
    font-size: 66px;
  }
  .rsi-promotion__currency {
    font-size: 40px;
  }
  .rsi-promotion__validity {
    font-size: 13px;
  }
  .rsi-promotion .rsi-promotion__telephone-only {
    margin-top: 7px;
    font-size: 12px;
  }
  .rsi-promotion__call {
    min-height: 60px;
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .rsi-promotion[open] {
    animation: rsi-promotion-appear 180ms ease-out;
  }
  @keyframes rsi-promotion-appear {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
