.embla__viewport {
  overflow: hidden;
}

.embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  position: relative;

  img {
    height: 800px;
    justify-self: center;

    @media (max-width:450px) {
      height:auto;  
    }
  }
}

.embla__button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: white;
      border: none;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 4px rgba(0,0,0,0.2);
      z-index: 10;
    }

    .embla__button:disabled { opacity: 0.5; cursor: not-allowed; }
    .embla__prev { left: 3%; }
    .embla__next { right: 3%; }


    .embla-thumbs {
      overflow-x: auto; 
      padding-bottom: 10px;
    }

    /* Modern Webkit Scrollbar Styling (Chrome, Safari, Edge) */
    .embla-thumbs::-webkit-scrollbar {
      height: 4px; 
    }
    .embla-thumbs::-webkit-scrollbar-track {
      background: #e2e8f0; 
      border-radius: 10px;
    }
    .embla-thumbs::-webkit-scrollbar-thumb {
      background: #cbd5e1; 
      border-radius: 10px;
      transition: background-color 0.2s;
    }
    .embla-thumbs::-webkit-scrollbar-thumb:hover {
      background: #94a3b8; 
    }

     /* Firefox Scrollbar Styling */
    .embla-thumbs {
      scrollbar-width: thin;
      scrollbar-color: #cbd5e1 #e2e8f0;
    }


    
    .embla-thumbs__container {
      display: flex;
      touch-action: pan-y pinch-zoom;
      margin-left: -10px;
      justify-content: center;
    }
    .embla-thumbs__slide {
      flex: 0 0 auto; 
      min-width: 0;
      padding-left: 10px;
    }
    .embla-thumbs__button {
      background-color: transparent;
      display: block;
      width: 100%;
      max-width: 80px;
      border: 2px solid transparent;
      border-radius: 8px;
      padding: 0;
      overflow: hidden;
      cursor: pointer;
      opacity: 0.5;
      transition: opacity 0.2s, border-color 0.2s;
    }
    .embla-thumbs__img {
      display: block;
      width: 100%;
      height: 76px;
      object-fit: cover;
    }

    .embla-thumbs__slide.is-selected .embla-thumbs__button {
      opacity: 1;
      border-color: #3b82f6;
    }    

    .embla-main__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6); 
    color: #ffffff;
    padding: 12px 16px;
    margin-bottom: 0;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(4px); 
    }

    .embla:focus {
    outline: none;
    }