/* Demo modalı: ürün listesi eklenince içerik uzuyor; modal viewport'a sığsın,
   form kısmı kendi içinde kaysın, sol görsel paneli aşırı gerilip kaymasın. */
#demoModal .modal-content,
#argeModal .modal-content { max-height: min(90vh, 620px); }
#demoModal .modal-content > .row,
#argeModal .modal-content > .row { max-height: min(90vh, 620px); align-items: stretch; }
#demoModal .demo-img-panel,
#argeModal .arge-img-panel {
  min-height: 100%;
  background-size: cover !important;
  background-position: center !important;
}
#demoModal .col-lg-7,
#argeModal .col-lg-7 { max-height: min(90vh, 620px); overflow-y: auto; }
#demoModal .col-lg-7::-webkit-scrollbar,
#argeModal .col-lg-7::-webkit-scrollbar { width: 7px; }
#demoModal .col-lg-7::-webkit-scrollbar-thumb,
#argeModal .col-lg-7::-webkit-scrollbar-thumb { background: #cfdae1; border-radius: 4px; }

/* İlgilendiğiniz ürün(ler) çoklu seçim alanı */
.vita-product-select {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e4edf1;
}
.vita-product-select .vps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  max-height: 210px;
  overflow-y: auto;
  padding: 2px 8px 2px 2px;
  scrollbar-width: thin;
}
.vita-product-select .vps-grid::-webkit-scrollbar { width: 6px; }
.vita-product-select .vps-grid::-webkit-scrollbar-thumb {
  background: #cfdae1; border-radius: 3px;
}
.vita-product-select .vps-card {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}
.vita-product-select .vps-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vita-product-select .vps-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e4edf1;
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s, background .18s, box-shadow .18s;
  height: 100%;
}
.vita-product-select .vps-card:hover .vps-body {
  border-color: #a8d8ea;
  background: #f6fbfd;
}
.vita-product-select .vps-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}
.vita-product-select .vps-ico-font {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #eaf6fa;
  color: #2ca8c2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.vita-product-select .vps-check:checked + .vps-body .vps-ico-font {
  background: #2ca8c2;
  color: #fff;
}
.vita-product-select .vps-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.vita-product-select .vps-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0A304B;
  line-height: 1.2;
}
.vita-product-select .vps-desc {
  font-size: 0.68rem;
  color: #6b7688;
  line-height: 1.25;
  margin-top: 2px;
}
.vita-product-select .vps-tick {
  margin-left: auto;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #cfdae1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8rem;
  transition: background .18s, border-color .18s;
}
.vita-product-select .vps-tick i { line-height: 1; opacity: 0; transition: opacity .18s; }
.vita-product-select .vps-check:checked + .vps-body {
  border-color: #2ca8c2;
  background: #eaf6fa;
  box-shadow: 0 4px 14px rgba(44,168,194,.14);
}
.vita-product-select .vps-check:checked + .vps-body .vps-tick {
  background: #2ca8c2;
  border-color: #2ca8c2;
}
.vita-product-select .vps-check:checked + .vps-body .vps-tick i { opacity: 1; }
.vita-product-select .vps-check:focus-visible + .vps-body {
  outline: 2px solid #2ca8c2;
  outline-offset: 2px;
}
.vita-product-select.vps-invalid .vps-grid {
  border: 1px solid #dc3545;
  border-radius: 10px;
  padding: 6px;
}
@media (max-width: 575px) {
  .vita-product-select .vps-grid { grid-template-columns: 1fr; }
}
/* RTL (Arapça) */
[dir="rtl"] .vita-product-select .vps-tick { margin-left: 0; margin-right: auto; }
