.urun-detay {
  margin-top: 2em;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4em;
  padding-bottom: 3.65em;
}

.urun-detay .image-swiper-container {
  width: 31.25%;
}
.urun-detay .image-swiper-container .main-image {
  border: 1px solid black;
}
.urun-detay .image-swiper-container .main-image .swiper {
  padding: 1.5em;
}
.urun-detay .image-swiper-container .main-image .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.urun-detay .image-swiper-container .thumb-gallery {
  padding: 0 1em;
  margin: 0.75em 0 0 0;
  position: relative;
}
.urun-detay .image-swiper-container .thumbsSwiper {
  padding-bottom: 2px;
}
.urun-detay .image-swiper-container  button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: black;
  z-index: 101;
  opacity: 1;
  visibility: visible;
  font-size: 2em;
}
.urun-detay .image-swiper-container  .next-btn {
  right: -5%;
}
.urun-detay .image-swiper-container  .prev-btn {
  left: -5%;
}
.swiper-slide.swiper-slide-visible.swiper-slide-fully-visible.swiper-slide-thumb-active{
  border-color: var(--primary) !important;
}

.urun-detay .image-swiper-container .thumbsSwiper .swiper-wrapper {
  z-index: 100;
}
.urun-detay .image-swiper-container .thumbsSwiper .swiper-slide {
  padding: 0.1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid var(--secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}
.urun-detay .image-swiper-container .thumbsSwiper .swiper-slide img {
  height: 99%;
  max-width: 99%;
  width: auto;
}
.urun-detay .detail {
  width: 31.25%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 3.35em;
  position: relative;
}
.urun-detay .detail h1.title {
  color: var(--secondary);
  text-transform: uppercase;
  font-size: 26px;
  font-style: normal;
  font-weight: 560;
}
.urun-detay .detail .code {
  width: 100%;
  background-color: rgba(85, 87, 91, 0.35);
  color: var(--white);
  text-transform: capitalize;
  /* overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; */

}
.urun-detay .detail .description {
  width: 100%;
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* Price section in detail */
.urun-detay .detail .prices {
  background-color: var(--primary);
  display: flex;
  justify-content: space-between;
  padding: 0.2em 0.5em;
  color: var(--white);
}
p.price
{
    font-size: 1em;
    display: flex;
    justify-content: left;
    align-items: center;
}
.urun-detay .detail button {
  color: var(--white);
}
.urun-detay .detail .prices .buttons,
.urun-detay .detail .prices .quantity {
  --quantity-button-size: 1.333em;
  font-weight: 400;
  display: flex;
  height: 100%;
}
.urun-detay .detail .prices .buttons {
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.urun-detay .detail .prices .quantity input.quantity {
  all: unset;
  max-width: calc(var(--quantity-button-size) * 1.25);
  min-width: var(--quantity-button-size);
  height: var(--quantity-button-size);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--primary);
  background-color: var(--secondary-light);
  box-sizing: border-box;
  border: none;
  -webkit-appearance: none;
  appearance: none;
}
.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.quantity input[type="number"] {
  -moz-appearance: textfield;
}
.urun-detay .detail .prices .quantity button,
.urun-detay .detail .prices .quantity button i,
.urun-detay .detail .prices .quantity .current {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: var(--quantity-button-size);
  height: var(--quantity-button-size);
  cursor: default;
}
.urun-detay .detail .prices .quantity button i {
  font-size: calc(var(--quantity-button-size) / 1.333em);
  width: calc(var(--quantity-button-size) / 3);
  height: calc(var(--quantity-button-size) / 3);
}
.urun-detay .detail .prices .quantity button {
    background-color: var(--secondary-light);
    color: var(--primary-lighter);
    will-change: color, background-color;
    transition: color 0.4s ease-out, background-color 0.4s ease-out;
}
.urun-detay .detail .prices .quantity input
{
    height: inherit;
}
.urun-detay .detail .prices .quantity button.active {
  background-color: var(--white);
  color: var(--primary);
  cursor: pointer;
}
.urun-detay .detail .prices .quantity button.active * {
  cursor: pointer;
}

.urun-detay .detail .prices .quantity button.active:hover {
  background-color: var(--white-hover);
}
.urun-detay .detail .prices .quantity .current {
  color: var(--primary);
  background-color: var(--secondary-light);
}
.urun-detay .detail .prices .add {
  display: flex;
  gap: 0.5em;
  cursor: pointer;
}

.urun-detay .detail .prices .add:disabled{
  color: color-mix(in srgb, white 70%, black 30%);
}

.urun-detay .detail .prices .add * {
  cursor: pointer;
}
.urun-detay .detail .prices .add p {
  text-transform: capitalize;
}
.urun-detay .detail .prices .add i {
  width: var(--quantity-button-size);
  position: relative;
  display: flex;
}
.urun-detay .detail .prices .add i::before
{
    width: fit-content;
    height: fit-content;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* types */
.urun-detay .divider {
  background: var(--secondary);
  height: 2px;
  margin: 4px 0;
}
.urun-detay .types {
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
}
.urun-detay .types .divider {
  margin-bottom: 12px;
}
.urun-detay .types .slider {
  --item-size: 4.5em;
  padding-right: calc(var(--item-size) / 3);
  width: 100%;
}
.urun-detay .types .slider .slider-wrapper {
  transform: translate(0%, -50%);
}
.urun-detay .types .slider .slide {
  width: var(--item-size) !important;
  height: var(--item-size) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--secondary);
}
.urun-detay .type.color .slider .slide img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.urun-detay .types .slider #next-btn {
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--secondary);
  transform: translate(+10%, -50%);
  font-size: 2em;
}
.urun-detay .specs {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.urun-detay .spec h4.title {
  font-size: 1em;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}

.urun-detay .download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  right: 0;
  gap: 0.6em;
}
.urun-detay .download-buttons a {
  padding: 0.3em 0.6em;
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}
.urun-detay .download-buttons a::after {
  font-family: bootstrap-icons !important;
  content: "\F30A";
  font-size: 0.8em;
  margin-left: 0.75em;
}

.recommended {
  width: 100vw;
}
.recommended h3
{
  width: fit-content;
  margin: 0 auto !important;
  font-size: 2em;
  font-style: normal;
  font-weight: 400;
  line-height: 58px;
  letter-spacing: 1.659px;
  text-transform: uppercase;
  margin-bottom: 0.25em !important;
  color: var(--secondary);
}
.recommended .swiper-slide {
  width: 207px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
}
.recommended .swiper-slide .title {
  width: 100%;
  padding-top: 2px;
  height: 24px;
  background-color: var(--secondary-light);
}
.recommended .swiper-slide .title h2 {
  font-size: 1em;
  text-transform: capitalize;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .urun-detay .types .slider {
    --item-size: 12em;
  }
  .urun-detay .detail {
    padding-bottom: 5em;
  }
  .urun-detay .image-swiper-container .main-image .swiper {
    width: 95vw;
    height: 95vw;
  }
  .urun-detay {
    margin-top: 0;
    flex-direction: column;
  }

  .urun-detay .image-swiper-container {
    width: 95%;
    margin: 0 auto;
  }

  .urun-detay .detail {
    width: 95%;
    margin: 0 auto;
  }
  .urun-detay .types {
    font-size: unset;
  }
  .urun-detay h4
  {
    font-size: 2em;
  }
  .recommended .swiper-slide .title
  {
    width: 100%;
    height: auto;
  }
  .recommended .swiper-slide img
  {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 640px) {
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 8px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
