.custom-radio {
  display: inline-block;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border: 2px solid #e9e9e9;
  border-radius: 50%;
  text-align: center;
  line-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-radio input:checked ~ .radio-text {
  background-color: #4caf50;
  color: white;
}

.slider {
  padding: 32px;
  color: #fff;
}
.slider .swiper-container {
  width: 100%;
  height: 100%;
}
.slider__flex {
  display: flex;
  align-items: flex-start;
}
.slider__col {
  display: flex;
  flex-direction: column;
  width: 150px;
  margin-right: 32px;
}
.slider__prev,
.slider__next {
  cursor: pointer;
  text-align: center;
  font-size: 14px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.slider__prev:focus,
.slider__next:focus {
  outline: none;
}
.slider__thumbs {
  height: calc(400px - 96px);
}
.slider__thumbs .slider__image {
  transition: 0.25s;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  opacity: 0.5;
}
.slider__thumbs .slider__image:hover {
  opacity: 1;
}
.slider__thumbs .swiper-slide-thumb-active .slider__image {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  opacity: 1;
}
.slider__images {
  height: 400px;
}
.slider__images .slider__image img {
  transition: 3s;
}
.slider__images .slider__image:hover img {
  transform: scale(1.1);
}
.slider__image {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.slider__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

.qty-container {
  border: 1px solid #e9e9e9;
  border-radius: 25px;
  width: fit-content;
}

.mt-10 {
  margin-top: 75px;
}

.qty-btn-minus,
.qty-btn-plus {
  border: none;
  background: none;
}

.qty-btn-minusdetail,
.qty-btn-plusdetail {
  border: none;
  background: none;
}

.input-qty {
  width: 100px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold !important;
}

.swiper-button-next,
.swiper-button-prev {
  top: 15px !important;
  left: auto !important;
  color: #ffffff !important;
  background: var(--primary-color) !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  z-index: 1 !important;
}

.swiper-button-next {
  right: 0 !important;
}

.swiper-button-prev {
  right: 60px !important;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  background-color: #ebebeb !important;
  color: #000000 !important;
}

.btn-close {
  color: red;
}

.nav-tabs .nav-link:hover {
  border-color: var(--secondary-color) !important;
}

.size-nav.active {
  border-bottom: 3px solid var(--secondary-color) !important;
  border: none;
  color: var(--secondary-color) !important;
  font-weight: 500;
}

.cart-product-title {
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.product-slider{
  height: 400px !important;
}

.attribute-btn {
  margin: 5px;
  padding: 6px 10px;
  background-color: #f8f8f8;
  /* border-radius: 100%; */
  font-size: 15px;
  font-weight: 600;
  border: 1px solid darkgray;
  color: black;
  cursor: pointer;
}

.attribute-btn.selected {
  background-color: rgba(24, 24, 24, 1);
  color: white;

}
.attribute-btn:hover {
  border: 1px solid darkgray;
  

}

.related-product{
  height: 250px;
}

@media (max-width: 992px) {
  .slider__flex {
    flex-direction: column-reverse;
  }
  .slider__col {
    flex-direction: row;
    align-items: center;
    margin-right: 0;
    margin-top: 24px;
    width: 100%;
  }
  .slider__images {
    width: 100%;
  }
  .slider__thumbs {
    height: 100px;
    width: calc(100% - 96px);
    margin: 0 16px;
  }
  .slider__prev,
  .slider__next {
    height: auto;
    width: 32px;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px !important;
    font-weight: bold !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    top: 15px !important;
    width: 35px !important;
    height: 35px !important;
  }
  .swiper-button-prev {
    right: 40px !important;
  }
  .cart-product-title {
    width: 150px;
  }
}
