@charset "utf-8";
/* CSS Document */
.gallery-container {
  width: 60vw;
  overflow: hidden;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.03);
}
.main-image {
  width: 100%;
  aspect-ratio: 1/0.9;
  position: relative;
  overflow: hidden;
  border: 0.1rem solid;
  border-image: linear-gradient(90deg, #543418, #c79d4d, #543418) 10;
}
.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.main-image img.active {
  display: block;
}
.thumbnail-container {
  position: relative;
  padding: 1.5rem 5rem;
  border-top: 0rem solid #eaeaea;
}
.thumbnails {
  display: flex;
  overflow: hidden;
  position: relative;
  height: 15rem;
}
.thumbnail-list {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  height: 100%;
}
.thumbnail-item {
  flex: 0 0 auto;
  width: 15rem;
  height: 15rem;
  margin: 0 0.5rem;
  cursor: pointer;
  position: relative;
  opacity: 0.7;
  transition: all 0.2s ease;
  border: 0.1rem solid;
  border-image: linear-gradient(90deg, #543418, #c79d4d, #543418) 10;
  overflow: hidden;
}
.thumbnail-item:hover {
  opacity: 0.9;
  transform: scale(1.1);
  border: 0.1rem solid;
  border-image: linear-gradient(90deg, #543418, #c79d4d, #543418) 10;
  overflow: hidden;
}
.thumbnail-item.active {
  opacity: 1;
  border: 0rem solid #4a6cf7;
}
.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0);
  border: none;
  width: 4rem;
  height: 10rem;
  color: #c88d49;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease;
  z-index: 10;
}
.arrow:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0);
}
.arrow.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.arrow-left {
  left: 0;
}
.arrow-right {
  right: 0;
}
@media (max-width: 320px) {
  .gallery-container {
    width: 100%;
  }
  .thumbnails {
    height: 30rem;
  }
  .thumbnail-item {
    width: 30rem;
    height: 30rem;
  }
  .thumbnail-item:hover {
    transform: scale(1);
  }
  .arrow {
    width: 10rem;
    height: 30rem;
    background: rgba(0, 0, 0, 0.8);
  }
  .arrow:hover:not(.disabled) {
    background: rgba(0, 0, 0, 0.8);
  }
}
/* Small Tablets */
@media (min-width: 321px) and (max-width: 767px) {
  .gallery-container {
    width: 100%;
  }
  .thumbnails {
    height: 30rem;
  }
  .thumbnail-item {
    width: 30rem;
    height: 30rem;
  }
  .thumbnail-item:hover {
    transform: scale(1);
  }
  .arrow {
    width: 10rem;
    height: 30rem;
    background: rgba(0, 0, 0, 0.8);
  }
  .arrow:hover:not(.disabled) {
    background: rgba(0, 0, 0, 0.8);
  }
}
/* Small Desktops */
@media (min-width: 768px) and (max-width: 1096px) {
  .gallery-container {
    width: 100%;
  }
  .thumbnails {
    height: 30rem;
  }
  .thumbnail-item {
    width: 30rem;
    height: 30rem;
  }
  .thumbnail-item:hover {
    transform: scale(1);
  }
  .arrow {
    width: 10rem;
    height: 30rem;
    background: rgba(0, 0, 0, 0.8);
  }
  .arrow:hover:not(.disabled) {
    background: rgba(0, 0, 0, 0.8);
  }
}
