.sms-admin-wrap .sms-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0 0;
}

.sms-admin-wrap .sms-image-item {
  width: 140px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  padding: 8px;
  background: #fff;
  cursor: move;
  list-style: none;
}

.sms-admin-wrap .sms-image-item.is-dragging {
  opacity: 0.45;
}

.sms-admin-wrap .sms-image-item img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: contain;
  background: #f6f7f7;
  border-radius: 4px;
}

.sms-admin-wrap .sms-image-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
}

.sms-slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 24px auto;
}

.sms-viewport {
  overflow: hidden;
  width: 100%;
  transition: height 0.35s ease;
}

.sms-track {
  display: flex;
  transition: transform 0.55s ease;
  will-change: transform;
}

.sms-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sms-slide-image {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
}

.sms-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
}

.sms-prev {
  left: 12px;
}

.sms-next {
  right: 12px;
}

.sms-arrow:hover,
.sms-arrow:focus {
  background: rgba(0,0,0,0.75);
  color: #fff;
}

@media (max-width: 782px) {
  .sms-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}
