/* Merch Page CSS */

/* .banner-image {
  background-image: url('/wp-content/themes/joi-theme/images/merch-banner.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100vw;
  height: 0;
  padding-top: 32.52%;
  margin-left: -8px;
} */

.line-through {
  text-decoration: line-through;
  color: var(--purple);
}

.out-of-stock {
  color: var(--purple);
}

.variant-selector.disabled {
  background-color: #f0f0f0;
  border-color: #a4a4a4;
  color: #a4a4a4;
}

.add-to-cart.mbm_add_to_cart[disabled],
.add-to-cart.mbm_add_to_cart[disabled]:hover {
  background-color: #f0f0f0;
  border-color: #a4a4a4;
  color: #a4a4a4;
}

.banner-image {
  height: 580px;
  overflow: hidden;
  display: flex;
  /* border: 10px solid #9e797f; */
  border: 10px solid var(--tan);
  margin-bottom: 80px;
}

.section>.container {
  padding-bottom: 80px!important;
  padding-top: 0!important;
}

.banner-single-image {
  height: 100%;
  width: 10%;
  /* outline: 10px solid #9e797f; */
  outline: 10px solid var(--tan);
}

.banner-stacked-container {
  display: flex;
  flex-direction: column;
  width: 40%;
  height: 100%;
}

.banner-stacked-container div {
  height: 50%;
  /* outline: 10px solid #9e797f; */
  outline: 10px solid var(--tan);
  z-index: 10;
}

.banner-stacked-container.first div:first-of-type {
  height: 60%;
}

.banner-stacked-container.first div:nth-of-type(2n) {
  height: 40%;
}

.banner-single-image.second {
  width: 25%;
}

.banner-stacked-container.second {
  width: 25%;
}

.banner-stacked-container.second>div:first-of-type {
  height: 80%;
}

.banner-stacked-container.second div:nth-of-type(2n) {
  height: 20%;
}


#left_image,
#left_image_stacked_first,
#left_image_stacked_second,
#right_image,
#right_image_stacked_first,
#right_image_stacked_second {
  background-image: url('/wp-content/uploads/2023/02/alexandra-tran-yKlzaQNb-QY-unsplash-1-1568x1045.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
}

#left_image {
  background-image: url('/wp-content/themes/joi-theme/images/timo-stern-EvcUtLF12XQ-unsplash.jpg');
}

#left_image_stacked_first {
  background-image: url('/wp-content/themes/joi-theme/images/toa-heftiba-2ey7dmVEQv4-unsplash.jpg');
}

#right_image {
  background-image: url('/wp-content/themes/joi-theme/images/toa-heftiba-9vNFtkm-Pus-unsplash.jpg');
}

#right_image_stacked_second {
  background-image: url('/wp-content/themes/joi-theme/images/toa-heftiba-EgF7nWCbW8w-unsplash.jpg');
}

.right_image_stacked_carousel {
  height: 100%;
}

.right_image_stacked_carousel>div {
  height: 100%;
}

.left_image_stacked_carousel {
  height: 100%;
}

.left_image_stacked_carousel>div {
  height: 100% !important;
}

.banner-image div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 991px) {
  .banner-image {
    height: 600px;
  }

  .banner-single-image.first {
    width: 25%;
  }

  .banner-stacked-container.first {
    width: 50%;
  }

  .banner-stacked-container.first>div:first-of-type {
    display: none;
  }

  .banner-stacked-container.first div:nth-of-type(2n) {
    height: 100%;
  }

  .banner-single-image.second {
    width: 25%;
  }

  .banner-stacked-container.second {
    display: none;
  }
}

@media (max-width: 767px) {
  .banner-single-image.first {
    display: none;
  }

  .banner-stacked-container.first>div:first-of-type {
    display: none;
  }

  .banner-stacked-container.first {
    width: 100%;
  }

  .banner-stacked-container.first div:nth-of-type(2n) {
    height: 100%;
  }

  .banner-single-image.second {
    display: none;
  }

  .banner-stacked-container.second {
    display: none;
  }
}

.product-container {
  margin: 0 20px;
  margin-bottom: 20px;
}

.product-image {
  position: relative;
  background-color: #fff;
  margin-bottom: 20px;
}

.second-image {
  position: absolute;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
}

.first-image {
  opacity: 1;
}

/* .second-image {
  margin-left: 20px;
} */

/* .product-image:hover .first-image {
  opacity: 0;
} */

.product-image:hover .second-image {
  opacity: 1;
}

.product-image:hover .add-to-cart {
  opacity: 1;
}

.product-image:hover .add-to-cart[disabled] {
  opacity: 0;
}

.add-to-cart.shopify_cart_add_btn {
  background-color: var(--goldenrod);
  color: #7f505b;
  border-color: #7f505b;
}

.add-to-cart.shopify_cart_add_btn:hover {
  background-color: var(--goldenrod-dark);
}

.product-image:hover .variant-selector-container {
  opacity: 1;
}

.product-image:hover .variant-selector-text {
  opacity: 1;
}

.add-to-cart {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -60px;
  padding-top: 6px;
  padding-bottom: 4px;
  width: 160px;
  display: block;
  background-color: #fff;
  border: 2px solid #000;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.product-image img {
  height: 100%;
  width: 100%;
  max-width: 284px;
  max-height: 284px;
  background-color: #fff;
}

.product-title-container {
  display: flex;
  justify-content: space-between;
}

.product-title-container .title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.product-title-container .price {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.description,
.color {
  font-size: 14px;
  margin-bottom: 0;
}

#main-content .splide__slide {
  max-width: 324px;
}

@media (max-width: 768px) {
  /* .splide__slide {
    max-width: none;
  } */

  #main-content .splide__arrows.splide__arrows--ltr {
    top: 40%;
  }

}

#main-content .splide__arrows.splide__arrows--ltr {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
}

#main-content .splide__arrows.splide__arrows--ltr button {
  background: transparent;
  border: none;
}

#main-content .splide__arrows.splide__arrows--ltr button svg {
  height: 60px;
  width: 60px;
  fill: var(--purple);
}

#main-content .splide__arrow.splide__arrow--prev {
  margin-left: -80px;
}

#main-content .splide__arrow.splide__arrow--next {
  margin-right: -80px;
}

#main-content .splide__arrow.splide__arrow--prev svg {
  transform: rotate(180deg);
}

.variant-selector[data-is-variant-selected="true"] {
  border-color: var(--royal-orange);
  background: #fff;
}

.variant-selector[data-is-variant-selected="true"]:after {
  transform: scale(1);
}

.variant-selector-text {
  position: absolute;
  left: 0;
  margin-top: -150px;
  margin-left: 32px;
  margin-bottom: 0;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.variant-selector-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -120px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.variant-selector {
  width: 46px;
  position: relative;
  margin: 0 4px;
  padding: 0.5rem 0.5rem !important;
  color: var(--purple-dark);
  border: 2px solid var(--purple);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.variant-selector:after {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Font Awesome 5 Free";
  content: "\f058";
  color: var(--tan);
  position: absolute;
  font-size: 1rem;
  top: -9px;
  right: -9px;
  font-weight: 900;
  background: var(--royal-orange);
  border-radius: 100%;
  height: 18px;
  width: 18px;
  line-height: 18px;
  padding: 10px;
  transform: scale(0);
  transform-origin: center;
  transition: all .3s;
}

.variant-selector.dissabled {
  pointer-events: none;
  background-color: #efeeef;
  font-weight: 500;
  opacity: 0.5;
  filter: grayscale(1);
}

.variant-selector.dissabled::before {
  position: absolute;
  content: "";
  left: 0;
  top: 50%;
  right: 0;
  border-top: 1px solid;
  border-color: inherit;
  -webkit-transform: rotate(-5deg);
  -moz-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);
  -o-transform: rotate(-5deg);
  transform: rotate(-52deg);
}

#main-content .banner-stacked-container .splide div {
  outline: none;
}
#main-content .banner-stacked-container .splide__slide {
  max-width: none;
}