main {
  margin-top: 60px;
  background-color: var(--beige);
}
.container {
  position: relative;
}
.details-product .images img {
  width: 300px;
}
.details-product .data {
  padding-top: 30px;
}
.details-product .data h4 {
  font-weight: bold;
}
.details-product .data .price {
  color: var(--red);
  font-size: 25px;
  font-weight: bold;
}
.details-product .data .price i {
  color: #000;
}
.details-product .data .price span {
  text-decoration: line-through;
  color: var(--gray);
  margin-right: 10px;
}
.details-product .data .description {
  font-size: 16px;
  text-align: right;
}
.details-product .data .colors {
  margin-top: 0;
}
.details-product .data .colors,
.details-product .data .size .selected-size p {
  font-size: 20px;
  font-weight: bold;
}
.details-product .data .colors span,
.details-product .data .size .selected-size p span {
  font-weight: 500;
  color: var(--red);
}
.details-product .data .colors button {
  margin-bottom: 5px;
  width: 60px;
  height: 60px;
  outline: none;
  border-radius: 5px;
  border: 3px solid var(--green);
}
.details-product .data .colors button.active {
  border-color: var(--red);
}
.details-product .data .colors img {
  border-radius: 2px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-product .data .size {
  margin-top: 10px;
}
.details-product .data .size .selected-size {
  display: flex;
  align-items: flex-start;
  margin-top: 15px;
}
.details-product .data .size .selected-size button {
  margin-left: 40px;
  border: none;
  outline: none;
  background-color: var(--red);
  color: var(--beige);
  padding: 5px 15px;
  border-radius: 5px;
  transition: 0.3s;
}
.details-product .data .size .selected-size button:hover {
  background-color: var(--green);
}
.details-product .data .size .size-option {
  margin-bottom: 20px;
}
.details-product .data .size .size-option button {
  border: 1px solid var(--red);
  background-color: var(--beige);
  padding: 5px 15px;
  border-radius: 5px;
  transition: 0.3s;
  margin-top: 10px;
}
.details-product .data .size .size-option button:hover,
.details-product .data .size .size-option button.active,
.details-product .data .cart button:hover {
  background-color: var(--red);
  color: var(--beige);
}
.details-product .data .quantity {
  width: fit-content;
  border: 2px solid #bbbbbb;
  border-radius: 5px;
  margin-right: 10px;
}
.details-product .data .cart {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.details-product .data .cart button,
.details-product .data .cart input {
  padding: 5px 10px;
  border: none;
  background-color: transparent;
  outline: none;
  width: fit-content;
}
.details-product .data .cart input {
  width: 60px;
}
.details-product .data .cart .cart-btn {
  background-color: var(--red);
  width: 300px;
  color: var(--beige);
  transition: 0.3s;
  border-radius: 5px;
}
.details-product .data .cart .cart-btn:hover {
  background-color: var(--green);
}

.alert {
  width: fit-content;
  position: fixed;
  top: 70px;
  right: -100%;
  z-index: 100;
}

@keyframes appear-alert {
  0% {
    right: -100%;
  }
  10% {
    right: 0;
  }
  60% {
    right: 0;
  }
  100% {
    right: -100%;
  }
}

.modal-dialog {
  height: 600px;
  max-width: 600px;
}
.carousel-inner img {
  width: 100%;
  height: 500px;
  object-fit: fill;
}

.details-product .swiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.details-product .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.details-product .swiper {
  height: 300px;
  margin: 30px;
  border-radius: 10px;
  margin-left: auto;
  margin-right: auto;
}

.details-product .swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  height: 300px;
  cursor: pointer;
}
.details-product .swiper .swiper-slide img {
  border-radius: 10px;
}
.details-product .mySwiper2 {
  height: 80%;
}

.details-product .mySwiper {
  height: 600px;
  box-sizing: border-box;
  padding: 10px 0;
}
.details-product .mySwiper2 {
  height: 600px;
}
.details-product .mySwiper .swiper-slide {
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.details-product .mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

.details-product .swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-product .mySwiper2 .swiper-slide.out-of-stock,
.details-product .data .colors button.out-of-stock {
  position: relative;
}
.details-product .mySwiper2 .swiper-slide.out-of-stock::after {
  content: "Out Of Stock";
  font-size: 20px;
  background-color: var(--red);
  border-radius: 5px;
  color: var(--beige);
  padding: 5px 15px;
  position: absolute;
  top: 0px;
  left: 0;
}
.details-product .data .colors button.out-of-stock {
  cursor: not-allowed;
  opacity: 0.7;
}
.details-product .data .colors button.out-of-stock::before {
  content: "";
  background-color: var(--green);
  transform: rotate(45deg);
  width: 3px;
  height: 77px;
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  margin-inline: auto;
  z-index: 2000;
}
.details-product .swiper .swiper-slide {
  height: 100%;
}
.details-product .swiper .swiper-button-next:after,
.details-product .swiper .swiper-button-prev:after {
  font-size: 25px;
  font-weight: bold;
}
.details-product .swiper .swiper-button-next,
.details-product .swiper .swiper-button-prev {
  color: var(--beige);
  background-color: var(--red);
  border-radius: 5px;
  padding-inline: 20px;
}

.img-zoom-container {
  position: relative;
}

.img-zoom-lens {
  position: absolute;
  border: 2px solid var(--red);
  border-radius: 5px;
  width: 150px;
  height: 150px;
  opacity: 0.4;
  background-color: white;
  display: none;
  pointer-events: none;
}

.img-zoom-result {
  border: 1px solid var(--red);
  border-radius: 5px;
  width: 500px;
  height: 500px;
  display: none;
  background-repeat: no-repeat;
  position: absolute;
  top: 50px;
  left: 100px;
}

/* Start question Style */

.questions {
  margin-top: 30px;
  padding-bottom: 30px;
}
.questions .accordion-item {
  margin: 10px 0;
}
.questions ol {
  padding: 20px;
}
.questions .title {
  margin: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion {
  text-align: right;
}
.accordion-button {
  background-color: #fff;
  text-align: right;
  justify-content: space-between;
  font-size: 21px;
}
.accordion-item {
  border: none;
}
.accordion-button::after {
  color: var(--red);
  margin-left: 0;
}
.accordion-button:not(.collapsed) {
  background-color: var(--green);
  color: var(--beige);
  outline: none;
}
.accordion-button:not(.collapsed)::after {
  color: var(--beige);
}
.accordion-button:focus {
  border: none;
  box-shadow: none;
}
/* End question Style */

/* Start Related Section */

.related-products {
  padding: 30px 0;
}
.related-products h2 {
  color: var(--green);
  width: fit-content;
  display: flex;
  align-items: center;
  text-align: left;
  position: relative;
  left: 20px;
}
.questions .title h2 {
  position: relative;
  left: 20px;
  color: var(--green);
}
.related-products .title {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}
.related-products .title h2,
.questions .title h2 {
  font-weight: 600;
}
.related-products .title h2::before,
.questions .title h2::before {
  content: "";
  width: 5px;
  height: 70px;
  border-radius: 10px;
  background-color: var(--red);
  position: absolute;
  left: -15px;
  top: -10px;
}
.related-products .title .arrows {
  position: absolute;
  right: 0;
  width: 150px;
}
.related-products .title .swiper-button-next,
.related-products .title .swiper-button-prev {
  border-radius: 5px;
  width: fit-content;
  color: var(--beige);
  background-color: var(--red);
  font-size: 15px;
  padding: 5px 15px;
  /* width: 30px;
  height: 30px; */
}
.related-products .title .swiper-button-prev {
  left: 55px;
}
.related-products .title .swiper-button-next:after,
.related-products .title .swiper-button-prev:after {
  font-size: 15px;
  font-weight: bold;
}
.related-products .swiper {
  min-height: 450px;
  height: 450px;
}
.related-products .swiper-slide {
  box-shadow: 0 0 10px #e6e6e6;
  border-radius: 5px;
  background-color: #fff;
  height: 400px;
}
.related-products .swiper .swiper-pagination-bullet {
  background-color: var(--red) !important;
}
.related-products .swiper-slide .data {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.related-products .swiper-slide .data p,
.related-products .swiper-slide .data h5 {
  margin: 0 15px;
}
.related-products .card p.price span {
  font-size: 17px;
  color: var(--gray);
  text-decoration: line-through;
}
.related-products .swiper-slide img {
  width: 50px;
  height: 50px;
}
.related-products .card {
  background-color: #fff;
  border-radius: 5px;
  border: none;
  padding: 0;
  height: 400px;
  width: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.related-products .card .icons {
  margin: 10px;
  border-radius: 5px;
  padding: 5px 10px;
  background-color: var(--beige);
  color: var(--red);
  z-index: 3;
  position: absolute;
  right: -100%;
  transition: 0.5s;
}
.related-products .card .icons a {
  display: block;
  margin: 10px 0;
  color: var(--red);
  transition: 0.3s;
}
.related-products .card:hover .icons {
  right: 0px;
}
.related-products .card .icons a:hover {
  color: var(--green);
}
.related-products .images img:hover.back {
  opacity: 0;
}
.related-products .images img:hover.front {
  transform: scale(1.05);
}
.related-products .images {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.related-products .card .images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.7s;
  position: absolute;
}
.related-products .card p {
  width: 100%;
  font-size: 20px;
  text-align: center;
  position: absolute;
}
.related-products .card p.name {
  bottom: 50px;
}
.related-products .card p.price {
  color: var(--red);
  bottom: 20px;
}
.related-products .card .colors {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
}
.related-products .card .colors img {
  border-radius: 50%;
  margin: 2px;
  border: 3px solid var(--green);
  width: 25px;
  height: 25px;
  object-fit: cover;
}
.related-products .card .colors img.active {
  transform: scale(1.2);
  border-color: var(--red);
}
.related-products .card .colors img.sold-out {
  opacity: 0.7;
}
.related-products .card .colors div.sold-out {
  width: fit-content;
  position: relative;
}
.related-products .card .colors div.sold-out::after {
  content: "";
  width: 25px;
  height: 2px;
  margin-inline: auto;
  background-color: var(--red);
  transform: rotate(45deg);
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
}
/* End Related Section */

/* Start Responsive Style */
@media (max-width: 992px) {
  .details-product .data {
    order: 2;
  }
  .details-product .images {
    order: 1;
  }
  .details-product .mySwiper .swiper-slide {
    width: 25%;
  }
  .details-product .mySwiper2 {
    height: 400px;
    margin-bottom: 10px;
  }
  .details-product .mySwiper {
    height: 150px;
    margin-top: 0;
  }
  .img-zoom-lens {
    display: none;
  }
  .img-zoom-result {
    display: none;
  }
}
@media (max-width: 552px) {
  .details-product .cart .quantity {
    margin-bottom: 15px;
  }
}
