.product-detail {
  padding: 60px 0;
  display: flex;
}

.product-detail .left {
  position: relative;
  height: 100% !important;
}

.product-detail .right .product-title {
  color: var(--text-color);
  font-size: 27.298px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.298px;
  letter-spacing: 0.819px;
  padding-bottom: 18px;
}

.review {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review .stars {
  display: flex;
  gap: 5px;
}

.review .star-icon {
  width: 15px;
  height: 15px;
}

.review .total {
  color: var(--text-color);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  opacity: 0.5;
}

.review .quantity {
  color: var(--text-color);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  opacity: 0.5;
  padding-left: 12px;
  border-left: 1px solid var(--text-color);
}

.left {
  width: 500px;
  height: 500px;
}

.main-slider {
  width: 500px;
  height: 630px;
  overflow: hidden;
}

.main-slider .swiper-button-next:after,
.main-slider .swiper-button-prev:after {
  font-size: 20px;
  color: var(--white);
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
  background-color: #33333399;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999999;
}

.main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
}

.thumbs-slider {
  margin-top: 20px;
  width: 100%;
  overflow: hidden;
}

.thumbs-slider .swiper-slide img {
  width: 115px;
  height: 105px;
  object-fit: cover;
  cursor: pointer;
  filter: brightness(0.5);
  transition: filter 0.3s ease;
}

.thumbs-slider .swiper-slide-thumb-active img {
  filter: brightness(1);
}

.product-detail .right {
  padding-left: 60px;
}

.product-detail .right .product-code {
  color: #9d9d9d;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  padding: 15px 0;
}

.product-detail .right .product-price {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-detail .right .product-price .price {
  color: var(--text-color);
  font-size: 32.898px;
  font-style: normal;
  font-weight: 500;
  line-height: 31.374px;
  letter-spacing: 0.987px;
}

.product-detail .right .fav-btn {
  display: flex;
  width: 35.429px;
  height: 35.429px;
  padding: 3.543px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 3.543px;
  border: 0.886px solid rgba(0, 0, 0, 0.5);
}

.product-detail .right .product-size {
  padding: 10px 0;
}

.product-detail .right .size-title {
  color: var(--text-color);
  font-size: 18.48px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.72px;
}

.product-detail .right .model-body {
  color: var(--text-color);
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px;
  padding: 20px 0 18px 0;
  border-bottom: 1px solid var(--black);
}

.button-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 30px 0;
}

.button-group .add-to-cart-detail {
  display: inline-flex;
  padding: 10px 48px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  background: var(--text-color);
  color: var(--white);
  height: 45px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.button-group .add-to-cart-detail:hover {
  background-color: var(--primary);
  color: var(--white);
}

.button-group .whatsapp-btn {
  width: 240px;
  height: 45px;
  border-radius: 4px;
  background: #1bda6f;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.share {
  display: flex;
  gap: 12px;
}

.socials {
  display: flex;
  gap: 4px;
}

.quantity-input {
  display: inline-flex;
  height: 45px;
}

.quantity-btn {
  background-color: var(--white);
  border: none;
  padding: 0 10px;
  font-size: 18px;
  cursor: pointer;
  outline: none;
}

#decrease {
  display: flex;
  width: 40px;
  height: 100%;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 4px 0px 0px 4px;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

#increase {
  display: flex;
  width: 41px;
  height: 100%;
  padding: 10px 8px 10px 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 0px 4px 4px 0px;
  background: var(--text-color);
  color: var(--white);
}

input[type="number"] {
  border-top: 1px solid rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  display: flex;
  width: 80px;
  padding: 8px 0px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--black);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  height: 100%;
  text-align: center;
  border-left: none;
  border-right: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.radio-group {
  display: flex;
  gap: 8px;
  padding-top: 10px;
}

.radio-button {
  width: 44.88px;
  height: 30.36px;
  flex-shrink: 0;
  border-radius: 5.28px;
  border: 1.32px solid rgba(63, 63, 63, 0.67);
  transition: var(--transition);
}

.radio-button input {
  display: none;
}

.radio-button label {
  color: var(--text-color);
  font-size: 19.8px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.72px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  height: 100%;
}

input[type="radio"]:checked + label {
  color: var(--white);
  background: var(--text-color);
}

input[type="radio"]:disabled + label {
  cursor: not-allowed;
  color: rgba(51, 51, 51, 0.67);
  font-size: 19.8px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.72px; /* 140% */
  position: relative;
}

input[type="radio"]:disabled + label::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: rgba(51, 51, 51, 0.67);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transition: var(--transition);
}

@media (max-width: 1024px) {
  .product-detail {
    flex-direction: row !important;
  }

  .left,
  .main-slider {
    width: 450px;
    margin-bottom: 20px;
  }

  .main-slider .swiper-slide img {
    max-width: 450px;
    width: 100%;
    height: auto;
  }

  .thumbs-slider .swiper-slide img {
    max-width: 115px;
    width: 100%;
    height: auto;
  }

  .product-detail .right {
    padding-left: 20px;
  }

  .product-detail .right .product-title {
    font-size: 24px;
    line-height: 32px;
  }

  .product-detail .right .product-code,
  .review .total,
  .review .quantity,
  .product-detail .right .model-body {
    font-size: 13px;
  }

  .product-detail .right .product-price .price {
    font-size: 28px;
    line-height: 28px;
  }

  .button-group .add-to-cart-detail,
  .button-group .whatsapp-btn {
    width: 100%;
    justify-content: center;
  }

  .button-group {
    flex-direction: column;
    gap: 16px;
  }

  .quantity-input {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .product-detail {
    flex-direction: column !important;
  }

  .product-detail .left,
  .product-detail .right {
    max-width: 450px;
  }

  .product-detail .right {
    padding-left: 0;
  }

  .main-slider .swiper-slide img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  .thumbs-slider .swiper-slide img {
    max-width: 90px;
    width: 100%;
    height: auto;
  }

  .product-detail .right .product-title {
    font-size: 20px;
  }

  .product-detail .right .product-price .price {
    font-size: 24px;
  }

  .quantity-input {
    flex-direction: row;
    justify-content: center;
  }

  .quantity-btn,
  input[type="number"] {
    font-size: 18px;
  }

  .button-group {
    gap: 12px;
  }

  .button-group .whatsapp-btn {
    width: 100%;
  }

  .product-detail .right .model-body {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .left,
  .main-slider {
    width: 100%;
  }

  .product-detail {
    padding: 0 16px;
  }

  .product-detail .right .product-title {
    font-size: 18px;
  }

  .product-detail .right .product-price .price {
    font-size: 22px;
  }

  .button-group {
    gap: 10px;
  }

  .quantity-btn,
  input[type="number"] {
    font-size: 16px;
  }
}



.add-to-cart-detail:disabled  {
  background-color: #ccc; 
  color: #999; 
  cursor: not-allowed !important;
  opacity: 0.6; 
  box-shadow: none;
  border-color: #ccc;
}

.add-to-cart-detail:disabled.add-to-cart-detail:hover {
  background-color: #ccc; 
  color: #999; 
  cursor: not-allowed !important;
  opacity: 0.6; 
  box-shadow: none;
  border-color: #ccc;
}

