.hidden {
  display: none !important;
}

body .tw-layer .modal-wrapper .modal-dialog {
  width: 100%;
}

@media (max-width: 1023.98px) {
  body .tw-layer .modal-wrapper #modal-product .modal-content .product-picture {
    width: 100%;
    max-width: 100%;
  }

  body .tw-layer .modal-wrapper #modal-product .modal-content .product-picture .main-slider {
    flex: 1 1 auto;
    min-width: 0;
  }
}

@media (min-width: 1024px) {
  body .tw-layer .modal-wrapper #modal-product .modal-content .product-picture {
    max-height: none;
  }

  body .tw-layer .modal-wrapper #modal-product .modal-content .modal-body {
    padding-bottom: 3rem;
  }
}

@keyframes ig-legacy-modal-in {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.modal.show .modal-dialog {
  animation: ig-legacy-modal-in .25s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .modal.show .modal-dialog {
    animation: none;
  }
}
