.bazario-product-image {
  position: relative;

  .main-slider {
    margin-bottom: 15px;

    .slides {
      li {
        outline: none;

        a {
          display: block;
          position: relative;
          overflow: hidden;
        }

        img {
          width: 100%;
          display: block;
          transition: transform 0.3s ease;
          border-radius: 8px;
        }

        &:hover {
          img {
            transform: scale(1.05);
          }
        }
      }
    }
  }

  .flex-control-nav {
    &.flex-control-thumbs {
      text-align: center;
      margin: 0;
      padding: 0;

      ul {
        list-style: none;
        margin: 0;
        padding: 0;

        li {
          display: inline-block;
          margin: 0 5px;
          cursor: pointer;

          img {
            width: 60px; // Thumbnail width
            height: auto;
            border: 2px solid transparent;
            border-radius: 4px;
            transition: border 0.3s ease;
          }

          &:hover,
          &.flex-active {
            img {
              border-color: #8fa775; // Highlight color
            }
          }
        }
      }
    }
  }

  .bazario-product-image-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #8fa775;
    border: none;
    padding: 8px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;

    &:hover {
      background: #7a966b;
    }
  }

  .flex-direction-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    justify-content: space-between;
    z-index: 10;
    margin: 0;
    padding: 0;
    list-style: none;

    li {
      list-style-type: none;

      a {
        display: block;
        font-size: 0;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        color: #000;
        opacity: 0.5;
        transition: opacity 0.3s ease;

        &:hover {
          opacity: 1;
        }
      }

      .flex-prev,
      .flex-next {
        position: relative;
        width: auto;
        height: auto;
        background: none;
        border-radius: 0;
        font-size: 20px;
        line-height: 40px;
      }

      .flex-prev::before,
      .flex-next::before {
        font-family: 'eicons';
        font-size: 20px;
        line-height: 40px;
      }

      .flex-prev::before {
        content: '\e8bf'; // Previous icon
      }

      .flex-next::before {
        content: '\e8c0'; // Next icon
      }
    }
  }
}