.sh-slideshow {

  /* Gallery Thumbnails */
  .gallery {
    display: flex;
  }

  .gallery-item {
    border-right: 1px solid #e0e0e0;
    padding: 0 8px;
    width: 120px;

    &:last-child {
      border-right: none;
    }
  }

  .title {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
  }

  .thumbnail {
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    height: 70px;
    object-fit: cover;
    transition: 0.3s;
    width: 100%;
  }

  .thumbnail:hover {
    border-color: #005fff;
  }

  /* Popup Overlay */
  .popup-overlay {
    background-color: rgba(0, 0, 0, 0.6);
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    transition: .5s;
    width: 100%;
    z-index: 1000;
  }

  &.show .popup-overlay {
    opacity: 1;
  }

  .slide-header {
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 60px;
    justify-content: center;
    padding: 2px 18px 6px;
    position: relative;
  }

  .slide-header h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
  }

  .slide-header p {
    font-size: 15px;
    margin: 0;
  }

  .popup-loading {
    align-items: center;
    background-color: #fff;
    border-radius: 6px;
    display: flex;
    height: 80px;
    justify-content: center;
    left: 50%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    z-index: 1000;

    &::before {
      animation: spin 2s linear infinite;
      border: 2px solid;
      border-color: #ccc transparent #ccc transparent;
      border-radius: 999px;
      content: "";
      height: 50%;
      width: 50%;
    }
  }

  .popup-content {
    background: #f2f2f2;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    height: 80vh;
    left: 50%;
    max-height: 660px;
    max-width: 880px;
    opacity: 0;
    position: fixed;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    transition: .5s;
    visibility: hidden;
    width: 80%;
    z-index: 1000;
  }

  &.loaded .popup-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    visibility: visible;
  }

  .btn.close-btn {
    background-color: #9a9aa4;
    color: #fff;
    font-size: 18px;
    height: 24px;
    position: absolute;
    right: 18px;
    top: calc(50% - 12px);
    width: 24px;
  }

  .btn.close-btn:hover {
    background-color: #6b6b6b;
  }

  /* Slideshow Styles */
  .slideshow-container {
    background-color: #fff;
    border-radius: 2px;
    flex: 1 0 0;
    margin: 0 18px;
    position: relative;
  }

  .slide-item {
    display: none;
    height: 100%;
    padding: 18px;
  }

  .slide-item.active {
    display: block;
  }

  .slide {
    cursor: grab;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
  }

  &.dragging .slide {
    cursor: grabbing;
  }

  .slide img {
    border-radius: 2px;
    position: absolute;
    transition: 0.3s;
  }

  .controls {
    align-items: center;
    display: flex;
    height: 60px;
    justify-content: space-between;
    margin: 0 18px;
  }

  .progress {
    align-items: center;
    display: flex;
    gap: 8px;
  }

  .btn {
    height: 30px;
    padding: 2px;
    width: 30px;
  }

  .slide-switch {
    background-color: #9a9aa4;
    border-radius: 99px;
    color: #fff;
    height: 27px;
    width: 27px;
  }

  .slide-switch:hover {
    background-color: #6b6b6b;
  }

}