.modal[data-yas-complect-ui] {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: flex;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  background-color: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(2px);
}
.modal[data-yas-complect-ui].show {
  opacity: 1;
  visibility: visible;
}

#yas-complect-soputs-modal.modal.modal-soputs {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-end !important;
  align-items: stretch !important;
  padding: 0 !important;
}

#yas-complect-soputs-modal .modal-soputs__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(420px, 100vw) !important;
  min-width: min(420px, 100vw);
  max-width: min(420px, 100vw) !important;
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(31, 45, 80, 0.18);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#yas-complect-soputs-modal.show .modal-soputs__inner {
  transform: translateX(0);
}

#yas-complect-soputs-modal .modal-soputs__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 18px 20px 16px;
  border-bottom: 1px solid #e6e8f0;
  background: #fff;
}

#yas-complect-soputs-modal .modal-soputs__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1b1c28;
}

#yas-complect-soputs-modal .modal-soputs__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  position: relative;
  top: auto;
  right: auto;
  left: auto !important;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid #e6e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  opacity: 0.92;
  transition: opacity 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
#yas-complect-soputs-modal .modal-soputs__close:hover {
  opacity: 1;
  border-color: #3498db;
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.14);
}
#yas-complect-soputs-modal .modal-soputs__close::after {
  content: "";
  display: block;
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  width: 12px;
  height: 12px;
  margin: 0;
  background: url("/local/templates/ssn-1/resources/417e68d399fa648ce8fa998634bd0348.png") center center/contain no-repeat;
}

#yas-complect-soputs-modal .modal-soputs__products {
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  padding: 8px 20px 24px;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#yas-complect-soputs-modal .modal-soputs__product {
  padding: 16px 0;
  border-bottom: 1px solid #e6e8f0;
}
#yas-complect-soputs-modal .modal-soputs__product:last-child {
  border-bottom: none;
}

#yas-complect-soputs-modal .modal-soputs__product-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 14px;
}

#yas-complect-soputs-modal .modal-soputs__product-pic {
  flex: 0 0 80px !important;
  width: 80px !important;
  max-width: 80px !important;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e8f0;
  border-radius: 10px;
  background: #f6f8fc;
  overflow: hidden;
}
#yas-complect-soputs-modal .modal-soputs__product-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#yas-complect-soputs-modal .modal-soputs__product-info {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

#yas-complect-soputs-modal .modal-soputs__product-name {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}
#yas-complect-soputs-modal .modal-soputs__product-name a {
  color: #1b1c28;
  text-decoration: none;
  transition: color 0.18s ease;
}
#yas-complect-soputs-modal .modal-soputs__product-name a:hover {
  color: #3498db;
}

#yas-complect-soputs-modal .modal-soputs__product-price {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  color: #1b1c28;
}
#yas-complect-soputs-modal .modal-soputs__product-price b {
  font-weight: 700;
}

#yas-complect-soputs-modal .modal-soputs__product-discount {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: line-through;
  color: #e74c3c;
}

#yas-complect-soputs-modal .modal-soputs__product-btn {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  margin: 12px 0 0;
}
#yas-complect-soputs-modal .modal-soputs__product-btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #3aa0de 0%, #3498db 55%, #2c7fb8 100%);
  box-shadow: 0 6px 18px rgba(52, 152, 219, 0.28);
  transition: opacity 0.18s ease, box-shadow 0.18s ease;
}
#yas-complect-soputs-modal .modal-soputs__product-btn a:hover {
  opacity: 0.92;
  box-shadow: 0 8px 22px rgba(52, 152, 219, 0.34);
}

.modal-buy-success {
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal[data-yas-complect-ui] .modal-complect__inner {
  position: relative;
  width: min(640px, 100vw - 32px);
  max-width: 640px;
  margin: 16px;
  padding: 28px 28px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(31, 45, 80, 0.2);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.modal-buy-success.show .modal-complect__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-buy-success__title {
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e8f0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: #3498db;
}

.modal-buy-success__info {
  max-height: min(60vh, 420px);
  margin: 0 -4px;
  padding: 0 4px;
  overflow-y: auto;
}

.modal-buy-success__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e6e8f0;
}
.modal-buy-success__item:last-child {
  border-bottom: none;
}

.modal-buy-success__item-img {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e6e8f0;
  border-radius: 8px;
  background: #f6f8fc;
  overflow: hidden;
}
.modal-buy-success__item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-buy-success__item-name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #1b1c28;
}

.modal-buy-success__item-price b {
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
}

.modal-buy-success__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid #e6e8f0;
}
.modal-buy-success__btns a:not(.btn-continue) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #3aa0de 0%, #3498db 55%, #2c7fb8 100%);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.32);
}
.modal-buy-success__btns a.btn-continue {
  color: #3498db !important;
  background: #fff !important;
  border: 1.5px solid #3498db;
  box-shadow: none;
}
.modal-buy-success__btns a.btn-continue:hover {
  background: #eaf4fb !important;
}

.modal-buy-success .close-modal:not(.btn-continue) {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid #e6e8f0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.modal-buy-success .close-modal:not(.btn-continue)::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 12px;
  height: 12px;
  background: url("/local/templates/ssn-1/resources/417e68d399fa648ce8fa998634bd0348.png") center/contain no-repeat;
}

.yas-complect-item-modal {
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}

.yas-complect-item-modal__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 28px 72px rgba(31, 45, 80, 0.22);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

.yas-complect-item-modal.show .yas-complect-item-modal__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 575.98px) {
  #yas-complect-soputs-modal .modal-soputs__inner {
    width: 100vw !important;
    min-width: 100vw;
    max-width: 100vw !important;
  }
  #yas-complect-soputs-modal .modal-soputs__head {
    padding: 16px 16px 14px;
  }
  #yas-complect-soputs-modal .modal-soputs__title {
    font-size: 16px;
  }
  #yas-complect-soputs-modal .modal-soputs__products {
    padding: 8px 16px 20px;
  }
  .modal-buy-success .modal-complect__inner {
    padding: 22px 18px 18px;
  }
  .modal-buy-success__title {
    font-size: 18px;
  }
  .modal-buy-success__btns {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .modal-buy-success__btns a {
    width: 100%;
  }
}

/*# sourceMappingURL=yas-pdp-complect-modals.css.map */
