﻿.Product-Detail .btn {
  border: none;
}

.HorizontalTabs #technicals li {
  list-style: disc;
  cursor: pointer;
  list-style-position: inside;
}

.Product-Detail .product li.active {
  border-bottom: 0.1rem solid var(--accent-color3);
}

.Product-Detail .MagicScroll-horizontal :where(.mcs-button-arrow-prev, .mcs-button-arrow-next) {
  top: calc(50% - 8px) !important;
}

@media only screen and (max-width: 600px) {
  .technicals .technical-list-value {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .technicals .technical-list-key {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.Product-Detail .bootstrap-touchspin .input-group-text {
  flex: 0 0 20%;
  display: block;
  cursor: pointer;
  background: transparent;
}

.Product-Detail .bootstrap-touchspin .input-group-text .btn {
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 50%;
  color: var(--White);
  aspect-ratio: 1;
  line-height: 0;
  aspect-ratio: 1;
  width: 100%;
}

.Product-Detail .bootstrap-touchspin .input-group-text .btn.bootstrap-touchspin-down {
  background: var(--dsilver);
}

.Product-Detail .bootstrap-touchspin .input-group-text .btn.bootstrap-touchspin-up {
  background: var(--accent-color);
}

.Product-Detail .bootstrap-touchspin .input-group-text .btn-default {
  width: 100%;
}

.Product-Detail .bootstrap-touchspin {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: calc(infinity * 1px);
  background: var(--lsilver);
  padding: 0.3rem !important;
  height: 3.5rem;
  flex-direction: row-reverse;
}

.Product-Detail .bootstrap-touchspin [required] {
  border: 0 !important;
  -webkit-box-align: center;
  text-align: center !important;
}

.Product-Detail .bootstrap-touchspin .input-group-btn button {
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
}


.Product-Detail .form-control::placeholder {
  padding: 1em;
  text-align: right;
}

.Product-Detail .price-wrapper .form-control {
  height: auto;
  background: none;
  text-align: center !important;
  max-width: 4rem;
  border: none;
  width: 4rem;
}

.Product-Detail .form-control {
  height: 3rem;
  background: none;
  width: 100%;
  -webkit-box-align: center;
  border-radius: calc(var(--b-radius)* 2);
  border: 0.1em solid var(--accent-color);
}

.Product-Detail textarea.form-control {
  height: 10rem;
}

.HorizontalTabs #technicals .technical-checkboxlist {
  display: flex;
  gap: 2rem;
  font-size: 1.2rem;
  color: var(--accent-color3);
}


.Product-Detail .model-options {
  border-top: 0.1em solid var(--light-silver);
}


.Product-Detail .addToBasket {
  border: 0
}

.Product-Detail .addToBasket[disabled] {
  filter: blur(4px);
  cursor: not-allowed;
}

.ProductGallery-Thumbs img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.maximize-btn {
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: pointer;
  z-index: 1;

  svg {
    width: 15px;
    height: 15px;
    stroke: #000;
  }
}

.Product-Detail .ProductDescription a {
  color: var(--accent-color);
}

.MainDetail .product-shape {
  --r: 34px;
  --s: 220px;
  --a: 60deg;
  background: #fff;
  border-radius: var(--r);
  --_m: 100% / calc(2 * var(--r)) var(--r) no-repeat radial-gradient(50% 100% at top, #000 calc(100% - 1px), #0000);
  --_d: (var(--s) + var(--r)) * cos(var(--a));
  mask: calc(50% + var(--_d)) var(--_m), calc(50% - var(--_d)) var(--_m), radial-gradient(var(--s) at 50% calc(100% + sin(var(--a)) * var(--s)), #0000 100%, #000 calc(100% + 1px)) 0 calc(var(--r) * (sin(var(--a)) - 1)) no-repeat, linear-gradient(90deg, #000 calc(50% - var(--_d)), #0000 0 calc(50% + var(--_d)), #000 0);
  width: 100%;
  height: 100%;
}

.Product-Detail .MainDetail,
.tab-contents,
.comments-container {
  border-radius: 24px;
  background: #FFF;
  box-shadow: -4px 0px 4px 0px rgba(0, 0, 0, 0.05), -2px 0px 4px 0px rgba(0, 0, 0, 0.05) inset;
  padding: 2rem 1rem;
}


.Product-Detail .ProductGallery-Thumbs .swiper-slide {
  width: 80px !important;
  height: 80px !important;
  flex: 0 0 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.Product-Detail .ProductGallery-Thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: 0.3s;
  padding: 10px;
}

.Product-Detail .ProductGallery-Thumbs .active-thumbnail img {
  border-color: var(--accent-color2) !important;
}

.Product-Detail .ProductGallery-Thumbs img:hover {
  border-color: var(--accent-color);
}

.Product-Detail .custom-prev,
.Product-Detail .custom-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--accent-color2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
}

.Product-Detail .custom-prev svg,
.Product-Detail .custom-next svg {
  width: 24px;
  height: 24px;
}

.Product-Detail .custom-prev svg path,
.Product-Detail .custom-next svg path {
  stroke: white;
}

.Product-Detail .custom-prev {
  right: 0;
}

.Product-Detail .custom-next {
  left: 0;
}

.Product-Detail .custom-prev.swiper-button-disabled,
.Product-Detail .custom-next.swiper-button-disabled {
  background-color: var(--dsilver);
  cursor: not-allowed;
}

.Product-Detail .lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.Product-Detail .blur-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: #00000070;
  z-index: 1;
}

.Product-Detail .lightbox-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.Product-Detail .lightbox-content {
  position: relative;
  width: 80%;
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .Product-Detail .lightbox-content {
    width: 100vw;
  }
}

.Product-Detail .lightbox img {
  max-width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: 10px;
  z-index: 5;
}

.Product-Detail .close-lightbox {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #777;
  color: white;
  border: none;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
}

.Product-Detail .lightbox-nav {
  position: absolute;
  top: 50%;
  width: 90%;
  display: flex;
  justify-content: space-between;
  z-index: 6;
  transform: translateY(-50%);
}

.Product-Detail .lightbox-prev,
.Product-Detail .lightbox-next {
  font-size: 30px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

/* دکمه‌های نویگیشن */
.lightbox-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.lightbox-dots span {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: var(--color-gray);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lightbox-dots span.active {
  background: var(--color-secondary100);
}

.Product-Detail .lightbox-prev,
.Product-Detail .lightbox-next {
  font-size: 24px;
  color: white;
  background: var(--accent-color);
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  width: 38px;
  height: 38px;
}

.Product-Detail .lightbox-prev.disabled,
.Product-Detail .lightbox-next.disabled {
  background: var(--accent-color3) !important;
  cursor: not-allowed;
}

.product-details__short-description {
  background: var(--lsilver);
}

.product-details__short-description,
.HorizontalTabs .tab-content {

  padding: 2rem;

  font-size: 1.2rem;

  color: var(--accent-color3);

  border-radius: calc(var(--b-radius) * 3.5);

  height: 100%;

  display: flex;

  flex-direction: column;

  justify-content: space-between;
}

.product-details__short-description a,
.HorizontalTabs .tab-content a {
  color: var(--accent-color2)
}

.jadval-size-btn {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
}

.addToBasket {
  border-radius: calc(var(--b-radius) * 4.5);
  padding: 1rem;
}

.advanced-option-selector .attributes-group {
  flex: 1 0 auto;
}

.Product-Detail li {
  list-style: none;
}


.HorizontalTabs {
  position: relative;
  height: 100%;
  display: block
}

.HorizontalTabs .tab {
  display: flex;
  padding: 1rem;
  margin-top: 1rem;
  justify-content: space-between;
}

.HorizontalTabs .tab :where(h1, h2, h3, h4, h5, h6, strong) {
  background: var(--silver);
  padding: 0.8rem 1.8rem;
  border-radius: calc(infinity * 1px);
  color: var(--Black);
  cursor: pointer;
  height: initial;
}

.HorizontalTabs .tab .tab-buttons {
  display: flex;
  gap: 1rem;
}

.HorizontalTabs .tab :where(h1, h2, h3, h4, h5, h6, strong).active {
  background: var(--accent-color2);
  color: var(--White);
}

.HorizontalTabs .tab-content {
  display: none;
  opacity: 0;
  animation: .4s linear tabfade
}

.HorizontalTabs .tab-content.active {
  display: block;
  opacity: 1
}

@keyframes tabfade {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

.share-button {
  background: var(--accent-color2);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-content: center;
  cursor: pointer;
  height: inherit;
  width: 4rem;
}

[data-name="Description"] {
  scroll-margin-top: 10rem;
}

html {
  scroll-behavior: smooth;
}

.addToBasket.btn-disabled {

  filter: blur(4px);
  cursor: not-allowed;

}

#notavailable {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent-color2);
}