.discount-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.discount-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.discount-banner__modal {
  position: relative;
  width: 400px;
  min-height: 250px;
  background: #fff url('/images/5-percent.jpg') center center no-repeat;
  background-size: contain;
  border-radius: 10px;
  padding: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border: 1px solid #e9ecef;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.discount-banner__close {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  font-size: 32px;
  line-height: 1;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-weight: 300;
}

.discount-banner__close:hover {
  background-color: #f8f9fa;
  color: #dc3545;
  transform: scale(1.1);
}

.discount-banner__buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.discount-banner__btn {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: block;
  text-align: center;
  font-weight: 300;
}

.discount-banner__btn--details {
  color: #000;
  border: 1px solid #000;
}

.discount-banner__btn--details:hover {
  background-color: #000;
  color: white;
  text-decoration: none;
}

.discount-banner__btn--close {
  background-color: #e40752;
  color: white;
}

.discount-banner__btn--close:hover {
  background-color: #c50646;
}

@media (max-width: 480px) {
  .discount-banner__modal {
    width: 90%;
    min-height: 213px;
    max-width: 340px;
    padding: 8px;
  }

  .discount-banner__btn {
    font-size: 13px;
  }
}
