.stock-banner{
  display: flex;
  justify-content: space-between;
  background-color: #E5EAEC;
  border-radius: 20px;
  overflow: hidden;
  margin: 30px 0 0;
}
.stock-banner__text-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
}
.stock-banner__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.stock-banner__label-value{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2px 10px;
  width: max-content;
  background: #B12535;
  border-radius: 4px;

  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #FFFFFF;
}
.stock-banner__label-text{
  font-weight: 500;
  font-size: 14px;
  color: #000000;
}
.stock-banner__title{
  text-align: left;
  font-family: 'Druk Cyr';
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  margin: 0;
  color: #000000;
  margin-bottom: 20px;
}
.stock-banner__description{
  font-weight: 600;
  font-size: 14px;
  line-height: 114%;
  color: #000000;
  margin-bottom: 20px;
}
.stock-banner__button{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 30px;
  margin-top: auto;
  background: #E5EAEC;
  border: 1px solid #7D858C;
  border-radius: 5px;

  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  color: #7D858C;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}
.stock-banner__button:hover {
  background-color: #B12535;
  color: #fff;
}

.stock-banner__button.stock-banner__button--close {
  background-color: #B12535;
  color: #fff;
  margin: auto;
}
.stock-banner__button.stock-banner__button--close:hover {
  background-color: rgba(156,46,49,0.7);
}

.stock-banner__image{
  flex-shrink: 0;
  width: 330px;
  aspect-ratio: 330 / 270;
  mask-image: url(../img/stock-banner-mask.svg);
  mask-repeat: no-repeat;
  mask-size: cover;
  mask-position: left center;
  object-fit: cover;
  object-position: left;
}

.stock-banner__modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(.8, 0, .2, 1);
  visibility: hidden;
  z-index: 100;
}

.stock-banner__modal.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.3s cubic-bezier(.8, 0, .2, 1);
}

.stock-banner__modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  width: min(calc(100% - 30px), 800px);
  max-height: 90vh;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(50vh);
  transition: transform 0.3s cubic-bezier(.8, 0, .2, 1);
}

.stock-banner__modal.active .stock-banner__modal-content {
  transform: translateY(0);
}

.stock-banner__modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background-image: url("../img/close-icon.svg");
  background-repeat: no-repeat;
  background-color: transparent;
  background-position: center;
  background-size: cover;
  border: none;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.stock-banner__modal-body {
  font-weight: 500;
  display: flex;
  flex-direction: column;
  max-height: calc(90vh - 180px);
  overflow-y: auto;
}

.stock-banner__modal-header {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #E5EAEC;
  padding-bottom: 10px;
}

.stock-banner__modal-footer {
  margin-top: 20px;
  border-top: 1px solid #E5EAEC;
  padding-top: 10px;
}
.cross-site-link{
  margin: 30px auto;
  max-width: 280px;
}

@media screen and (max-width: 1200px) {
  .stock-banner__image {
    display: none;
  }
}