.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  .product-block-mob {
    display: flex;
    justify-content: space-between;
  }

  .product-icon-mob {
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: end;
    gap: 10px;
    margin-right: 15px;
  }
  .additional-text {
    display: none;
  }
}

.no-select {
  user-select: none;
}
.product-card {
  display: flex;
  flex-direction: row;

  padding: 20px;
  border-radius: 8px;
}
.product-tabs,
.product-container {
  width: 100%;
  overflow: hidden;
}

.copy-icon,
.delivery-icon {
  cursor: pointer;
}
.product-code {
  position: relative;
  display: inline-block;
}

.copy-icon {
  margin-left: 5px;
  width: 20px;
  height: 20px;
}
.delivery-icon {
  width: 25px;
  height: 25px;
  margin-right: 5px;
  vertical-align: middle;
}

.copy-check {
  position: absolute;
  top: -5px;
  font-size: 17px;
  color: green;
  display: none;
}

/************** Naviagation ********************/
.middleware {
  margin-top: 55px;
}

.product-tabs {
  background-color: var(--views-color);
  border-radius: 11px 11px 0 0;
  padding: 20px 25px;
  margin-bottom: 22px;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  position: relative;
}

.product-tabs.fixed {
  position: fixed;
  margin-top: 55px;
  top: -5px;
  left: 0;
  right: 0;
  z-index: 15;
  background-color: rgba(217, 217, 217, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.product-tabs .nav-tabs {
  border-bottom: none;
  margin-bottom: 0;
  align-items: baseline;
  justify-content: space-around;
}

.product-tabs .nav-tabs .nav-link {
  font-size: 16px;
  font-weight: 500;
  color: #68686a;
  padding: 10px 15px;
  border-radius: 0;
  border: none;
  background-color: transparent;
  text-decoration: none;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}

.product-tabs .nav-tabs .nav-link.active {
  color: var(--red-color);
  border-bottom: 2px solid var(--red-color);
}

.product-tabs .nav-tabs .nav-link:hover {
  color: var(--red-color);
  border-bottom: 2px solid var(--red-color);
}

.card-img-mini {
  width: 60px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 5px;
}

.product-name-mini {
  font-weight: 400;
  font-size: 13px;
  line-height: 135%;

  width: 170px;
  margin: 0 10px;
}

.product-name-mini p {
  text-align: left;
  margin-bottom: 0;
}

.product-price-mini {
  font-weight: 700;
  font-size: 20px;
  line-height: 135%;
}

.btn-buy-mini {
  border-radius: 5px;
  overflow: hidden;
  outline: none;
  border: none;
  transition: transform 0.2s;
}

.btn-buy-mini:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .product-tabs .nav-tabs {
    display: flex;
    justify-content: center;
  }

  .product-tabs {
    border-radius: 0;
    margin: 10px 0;
    padding: 10px 0;
  }

  .product-image-overlay {
    max-width: 100%;
    margin-left: 11px;
  }

  .product-name-mini {
    width: 130px;
  }
  .product-name-mini p {
    text-align: left;
  }

  .middleware {
    margin-top: 25px;
  }
}

/* Slider block */

.main-slider .slick-track {
  display: flex;
  align-items: center;
  justify-content: center;
}

#slider-accessories.slick-slider .slick-list,
#slider-similar.slick-slider .slick-list,
#slider-viwed.slick-slider .slick-list,
#slider-similar.slick-slider .slick-list,
#slider-seria.slick-slider .slick-list {
  padding-top: 10px;
}
.product-container {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.product-image-slider,
.product-info {
  background-size: cover;
  background-position: center;
}

.slider-product-overlay {
  background-color: var(--views-color);
  padding-top: 50px;
  padding-right: 5px;
}

.product-overlay {
  padding-top: 10px;
  margin-top: 10px;
  background-color: white;
}
.product-image-slider {
  position: relative;
  justify-content: center;
}
.thumbnail-slider {
  width: 100%;
  overflow: hidden;
  cursor: pointer;
}
.thumbnail-slider img:hover {
  border: solid 1px var(--red-color);
}

.thumbnail-slider .slick-current img {
  border: solid 1px var(--red-color);
}
.main-slider {
  margin-left: 10px;
  min-width: 250px;
  min-height: 250px;
}
.main-slider img {
  width: auto;
  max-width: 100%;
  max-height: 500px;
  display: block;
  margin: auto;
}

.thumbnail-slider img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.thumbnail-slider-container {
  display: none;
}

/* Desktop Styles */
@media (min-width: 992px) {
  .thumbnail-slider-container {
    margin-left: 20px;
    margin-right: 10px;
  }
  .thumbnail-slider {
    width: 82px;
  }
  .product-image-slider {
    display: flex;
    align-items: center;
  }
  .thumbnail-slider-container {
    display: block;
  }

  /* .thumbnail-slider {
    width: 20%;
  } */
  .main-slider {
    width: 70%;
  }
}

@media (max-width: 992px) {
  .main-slider-arrows {
    display: none !important;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  .product-container {
    flex-wrap: wrap;
  }

  .product-image-overlay {
    margin-left: 0;
    margin-right: 0;
    /* width: 120%; */
  }
  .slick-dotted.slick-slider {
    margin-bottom: 30px;
  }
}

.mfp-hide {
  display: none;
}

.popup-slider {
  display: flex;
  overflow-x: auto;
}

.popup-slider img {
  width: auto;
  max-height: 90vh;
  margin: auto;
  display: block;
}

/* Thumbnail Slider Arrows */

.thumbnail-slider .arrow-up,
.thumbnail-slider .arrow-down {
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.product-image-slider .arrow-up,
.product-image-slider .arrow-down {
  margin-left: 15px;
}
.thumbnail-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Main Image Slider Arrows */
.main-slider-arrows {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 10px;
  margin-left: 15%;
}

.main-slider-arrows .arrow-left,
.main-slider-arrows .arrow-right {
  cursor: pointer;
}

.main-slider-arrows .arrow-left {
  transform: none;
}

.main-slider-arrows .arrow-right {
  transform: none;
}

.feature-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 10px;
  margin-top: 20px;
  padding: 20px;
  min-height: 80px;
}

.feature-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  text-align: center;
  margin-bottom: 20px;
}

.feature-icon {
  border: 1px solid #ebebeb;
  background: #fff;
  width: 50px;
  height: 50px;
  padding: 7px;
  margin: 0 auto 10px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.feature-tooltip {
  position: absolute;
  top: calc(100%);
  left: 50%;
  transform: translateX(-20%);
  width: 200px;
  background-color: #2b2d33;
  color: #cbcbcb;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  font-size: 14px;
  line-height: 23px;
  z-index: 10;
}

.feature-tooltip .feature-title {
  color: #f2f2f2;
  font-size: 16px;
  margin-bottom: 5px;
}

@media (min-width: 992px) {
  .feature-item:hover .feature-tooltip {
    opacity: 1;
    visibility: visible;
  }
}
.icon {
  /*margin-bottom: 10px;*/
  z-index: 1;
}
.header-secondary {
  color: #414141;
  font-size: 20px;
  margin-bottom: 15px;
}

.accessories-text {
  /* font-weight: 700; */
  font-size: 20px;
  line-height: 100%;
  text-align: left;
  color: #68686a;
}

/* Product info */

.product-title {
  margin-top: 30px;
  max-width: 470px;
  font-weight: 400;
  font-size: 32px;
  line-height: 135%;
  color: #3d3b3b;
}
.product-info {
  display: flex;
  flex-direction: column;
}

.product-block {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-right: 5px;
}

.product-block-second {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-right: 5px;
}
.product-icon-overlay {
  display: flex;
}
.product-info-content {
  display: flex;
  justify-content: space-between;
}

.product-info-icons {
  display: flex;
  justify-content: end;
}

.product-mini-block {
  display: flex;
  align-items: center;
}

.product-tabs.fixed:last-child {
  justify-self: end;
}

@media (max-width: 1199px) {
  .product-tabs .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    border-bottom: none;
    padding: 0 15px;
  }
  /* Основні стилі для табів */
  .product-tabs .nav-tabs.container {
    padding-bottom: 5px; /* Для відступу при скролі */
  }

  /* Стилі для нефіксованого стану (перенесення табів) */
  .product-tabs:not(.fixed) .nav-tabs.container {
    overflow-x: hidden !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* Стилі для фіксованого стану (горизонтальний скролл) */
  .product-tabs.fixed .nav-tabs.container {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    white-space: nowrap;
  }

  .product-tabs .nav-tabs .nav-item {
    flex: none;
    width: auto;
    margin-bottom: 8px;
  }

  .product-tabs .nav-tabs .nav-link {
    background-color: #e8e3e0;

    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: none;
  }

  .product-tabs .nav-tabs .nav-link:hover {
    background-color: var(--red-color);
    color: white;
    border-bottom: none;
    transform: translateY(-1px);
  }

  .product-tabs .nav-tabs .nav-link.active {
    background-color: var(--red-color);
    color: white;
    border-bottom: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  /* Hide the last nav item (mini product info) on mobile */
  .product-tabs .nav-tabs .nav-item:last-child {
    display: none;
  }

  .product-block {
    flex-direction: column;
  }

  .product-info-content {
    flex-direction: column;
  }

  .product-icon-overlay {
    flex-direction: column;
    align-items: end;
    gap: 10px;
    margin-right: 20px;
  }

  .product-info-icons {
    display: flex;
    justify-content: start;
  }

  .card-price-block {
    flex-direction: row;
  }
}
/* Приховати скроллбар для кращого вигляду */
.product-tabs .nav-tabs.container::-webkit-scrollbar {
  height: 4px;
}

.product-tabs .nav-tabs.container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}
/* Additional styles for smaller screens */
@media (max-width: 767px) {
  .product-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding: 10px 0;
  }

  .product-tabs .nav-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
    width: auto;
    padding: 0 15px;
  }
  .product-tabs .nav-tabs {
    padding: 0 10px;
    gap: 6px;
  }

  .product-tabs .nav-tabs .nav-link {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 10px;
  }
}
.product-articl-mini {
  display: none;
}

@media (max-width: 420px) {
  .product-name-mini {
    display: none;
  }
  .product-articl-mini {
    display: block;
    font-size: 16px;
    margin: 5px;
  }
  .product-price-mini {
    font-size: 16px;
  }
  .btn-buy-mini img {
    width: 40px;
  }
}
.product-info-block {
  padding: 15px;
  margin-bottom: 10px;
  background-color: var(--views-color);
}

.additional-item {
  position: relative;
  width: 70px;
  height: 70px;
}

.additional-item img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border: 2px solid transparent;
  transition: border 0.3s ease;
  object-fit: contain;
  background-color: white;
}

.additional-item:hover img {
  border-color: red;
}

.additional-text {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, 10px);
  max-width: 110%;
  font-size: 10px;
  color: black;
  background-color: var(--primary-background-color);
  padding: 5px;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.additional-item:hover .additional-text {
  opacity: 1;
  visibility: visible;
}

.product-info h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.product-info .product-code {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.product-info .availability {
  font-size: 20px;
  color: #129647;
  margin-bottom: 20px;
}

.product-info .no-availability {
  font-size: 20px;
  color: var(--red-color);
  margin-bottom: 20px;
}

.product-info .card-price {
  font-weight: 700;
  font-size: 40px;
  line-height: 1.2;
  color: var(--red-color);
}

.card-price-block {
  display: flex;
  gap: 10px;
}
.card-price span {
  font-size: 24px;
}

.card-old-price {
  font-weight: 300;
  font-size: 24px;
  line-height: 2.3;
  color: #68686a;
}

.card-old-price.strikethrough {
  position: relative;
}

.card-old-price.strikethrough::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: var(--red-color);
}
.product-info .actions {
  display: flex;
  gap: 25px;
}

.product-info .actions .btn {
  font-weight: 400;
  font-size: 30px;
  line-height: 66%;
  width: 190px;
  height: 55px;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.product-info .actions .btn-buy {
  background-color: var(--red-color);
  color: #fff;
}

.product-info .actions .btn-buy-one-click,
.product-info .actions .btn-found-cheaper {
  background-color: transparent;
  font-size: 20px;
  color: gray;
  border: 2px solid gray;
}

.btn-buy-one-click,
.btn-found-cheaper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .product-info-price { */
/* padding: 55px 25px 20px;
} */
/* *************Promotional block************ */

/* .desktop-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-promo {
  display: none;
}
.promo-left {
  display: flex;
  flex-direction: column;
}

.promo-right {
  text-align: left;
}

.promo-block,
.promo-block-mob {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #e43c46 0%, #c10510 100%);
  border-radius: 25px;
  color: white;
  padding: 15px 20px;
  font-family: Arial, sans-serif;
  text-align: center;
  width: 97%;
  margin-bottom: 10px;
}

.promo-left .promo-title,
.promo-left .promo-description {
  text-align: left;
}
.promo-left {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.promo-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.promo-title {
  font-size: 36px;
  line-height: 23px;
  font-weight: 700;
  margin-bottom: 25px;
}

.promo-description {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 25px;
  color: white;
  cursor: pointer;
  text-decoration: none;
}

.promo-description:hover {
  text-decoration: underline;
}

.promo-timer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;

}

.timer-text {
  font-size: 16px;
  font-weight: 500;
  text-align: left;

  align-self: center;
}

.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  text-align: center;
}

.timer-value {
  font-family: monospace;
  font-size: 32px;
  line-height: 14px;
  font-weight: 400;
  font-weight: bold;
}

.timer-label {
  font-size: 14px;
  text-transform: lowercase;
  margin-top: 5px;
}

.timer-separator {
  font-size: 32px;
  font-weight: bold;
} */
.desktop-promo {
  display: flex;
  flex-direction: column; /* Змінено на колонку */
}

.mobile-promo {
  display: none;
}

/* Верхня частина з title та timer */
.promo-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px; /* Відстань між верхньою частиною та описом */
}

.promo-left {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.promo-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.promo-block,
.promo-block-mob {
  box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
  background: linear-gradient(180deg, #e43c46 0%, #c10510 100%);
  border-radius: 25px;
  color: white;
  padding: 25px 30px;
  font-family: Arial, sans-serif;
  width: 97%;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.promo-left .promo-title {
  text-align: left;
}

.promo-title {
  display: flex;
  align-items: center;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 0;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.promo-icon {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.promo-description {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 0;
  color: white;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  text-align: left;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.promo-description:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.promo-timer {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px 20px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-text {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  min-width: 120px;
  align-self: center;
  margin-left: 5px;
  text-align: center;
}

.timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px;
  text-align: center;
}

.timer-value {
  font-family: monospace;
  font-size: 32px;
  line-height: 1;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.timer-label {
  font-size: 12px;
  text-transform: lowercase;
  margin-top: 4px;
  opacity: 0.8;
}

.timer-separator {
  font-size: 32px;
  font-weight: bold;
  opacity: 0.7;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

/* Green Gift Block */
/* .gift-block {
  background: linear-gradient(135deg, #2d7d32 0%, #1b5e20 100%);
  border-radius: 25px;
  color: white;
  padding: 20px 30px;
  margin-bottom: 15px;
  box-shadow: 0 8px 32px rgba(45, 125, 50, 0.3);
  position: relative;
  overflow: hidden;
}

.gift-block::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.gift-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gift-left {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-title {
  display: flex;
  align-items: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.gift-icon {
  width: 45px;
  height: 45px;
  margin-right: 15px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.gift-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-image {
  width: 80px;
  height: 60px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.product-code {
  font-size: 14px;
  opacity: 0.8;
}

.gift-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.gift-timer-text {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
  min-width: 120px;
}

.gift-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #1b5e20;
  padding: 12px 16px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gift-timer .timer-value {
  color: #1b5e20;
  font-size: 24px;
}

.gift-timer .timer-label {
  color: #2d7d32;
  opacity: 0.8;
}

.gift-timer .timer-separator {
  color: #1b5e20;
  opacity: 0.6;
}

.price-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 20px;
}

.old-price {
  font-size: 18px;
  text-decoration: line-through;
  opacity: 0.7;
  margin-bottom: 5px;
}

.new-price {
  font-size: 24px;
  font-weight: bold;
  color: #4caf50;
} */
/* *******for mobile********** */

.promo-arrow-mob {
  position: absolute;
  bottom: -7px;
  left: 30%;
  width: 40px;
  height: 20px;
  overflow: visible;
}

.promo-arrow-mob path {
  fill: #e12b36;
}

@media (max-width: 1400px) {
  .desktop-promo {
    display: none;
  }
  .mobile-promo {
    display: block;
  }
  .promo-title,
  .promo-description {
    margin-bottom: 13px;
  }

  .promo-timer {
    margin-top: 13px;
    gap: 0;
  }
}
/* ********************************************** */
.btn-buy-one-click span {
  font-weight: 400;
  font-size: 20px;
  line-height: 70%;
}
.basket-icon {
  width: 51px;
  height: 51px;
}

.actions .btn-buy-one-click:hover,
.actions .btn-found-cheaper:hover {
  background-color: transparent;
  font-size: 20px;
  color: var(--red-color);
  border: 2px solid var(--red-color);
}

.product-info .payment-options {
  display: flex;
  align-items: center;
  fill: gray;
}

.product-info .payment-options img {
  width: 50px;
  height: auto;
}

.option-text {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: max-content;
  max-width: 200px;
  padding: 8px;
  font-size: 14px;
  background-color: var(--primary-background-color);
  color: black;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: normal;
  text-align: center;
  z-index: 10;
}

.option-text:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 1400px) {
  .product-info .actions {
    flex-direction: column;
    align-items: center;
  }
  .actions .btn {
    max-width: 400px;
    height: 55px;
  }
}

.accessory-card {
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

.accessory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accessory-card:hover,
.accessory-card.active {
  border: 2px solid var(--red-color);
}

.accessory-price-block {
  font-weight: 700;
  font-size: 20px;
  min-height: 30px;
  height: 30px;
}
.accessory-price {
  font-weight: 700;
  color: var(--red-color);
}

.accessory-text {
  font-weight: 400;
  text-align: center;
  line-height: 1.1;
}

/* Pay methods */
.pay-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.credit-images {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.credit-images {
  display: flex;
  gap: 40px;
  align-items: center;
}

.credit-icon {
  width: 60px;
  height: 40px;
  background-color: white;
  border-radius: 8px;
  object-fit: cover;
}

.credit-icon-wrapper {
  position: relative;
  width: 60px;
  height: 40px;
  border-radius: 8px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Special styles for the last image */
.last-icon {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background-color: transparent;
}

/* Badge styles */
.credit-icon-wrapper .badge {
  position: absolute;
  bottom: 2px;
  left: 100%;
  transform: translateX(-50%);
  background-color: rgba(19, 19, 19, 0.7);
  color: white;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 50%;
  text-align: center;
}

.small-icon {
  height: 20px;
  margin: auto 10px;
}
.credit-icon {
  cursor: pointer;
}
/*************** Modals*************/
#foundCheaperModal .modal-content,
#buyOneClickModal .modal-content,
#privatModal .modal-content,
#frankeModal .modal-content,
#monoModal .modal-content,
#pumbModal .modal-content {
  background: var(--primary-background-color);
}

.modal-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 129%;
}

.close {
  outline: none;
  border: none;
  background-color: transparent;
  font-size: 24px;
}

#foundCheaperModal input,
#buyOneClickModal input,
#privatModal input,
#privatModal select,
#frankeModal input,
#monoModal input,
#monoModal select,
#pumbModal input,
#pumbModal select {
  border-radius: 6px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  padding: 15px;
}

.one-click-btn {
  border-radius: 13px;
  padding: 14px 20px;
  width: 98%;
  height: 60px;
  font-size: 20px;
  margin: 0 auto 10px;
}

.gray-text {
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  color: #68686a;
}
.red-text {
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  color: var(--red-color);
}
.credit-text {
  font-weight: 400;
  font-size: 25px;
  line-height: 129%;
}

.gray-line {
  border: 1px solid #cdcec9;
  max-width: 475px;
  margin: 20px auto;
  height: 0;
}

.small-text {
  color: #68686a;
  font-size: 15px;
  line-height: 0.8;
}

.franke-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
}

.text-bold {
  font-weight: bold;
}

.form-check-input {
  border-radius: 50%;
  margin-top: 0.2rem;
}

.form-check {
  display: flex;
  align-items: center;
}

.payment-summary {
  margin: 0;
  font-size: 0.9rem;
  color: #68686a;
}

#frankeForm .jq-radio {
  border-radius: 50%;
}

#frankeForm .jq-checkbox,
.jq-radio {
  border: 1px solid var(--red-color);
}

#frankeForm .jq-radio.checked .jq-radio__div {
  border-radius: 50%;
  background-color: var(--red-color);
}

.modal-subtitle {
  font-weight: 700;
  font-size: 20px;
  line-height: 129%;
}

/* ************Table********* */

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: left;
  border: 1px solid #ddd;
}

.product-table td,
.product-table th {
  padding: 10px 15px;
  border: 1px solid #ddd;
}

.section-header {
  background-color: #f4f4f4;
  font-weight: bold;
}

.name {
  background-color: #f9f9f9;
  font-weight: bold;
}

.product-table tr:nth-child(even) {
  background-color: #f2f2f2;
}
.product-table td.name {
  width: 35%;
}
/* ***********Description********** */
.product-description {
  font-size: 16px;
  line-height: 1.6;
  margin: 20px 0;
  color: #333;
  padding-right: 11px;
}

.product-description p {
  margin-bottom: 10px;
}

.product-description ul {
  margin-left: 20px;
  padding-left: 10px;
}

.product-description li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.product-description strong {
  color: #5a5a5a;
}

.product-description img {
  max-width: 100%;
}

/* ***********Sliders********** */
.slider-header {
  padding-top: 50px;
  padding-bottom: 30px;
  font-weight: 700;
  font-size: 36px;
  line-height: 129%;
}

.slider-overlay {
  background-color: var(--views-color);
}

#slider-accessories .product_item,
#slider-similar .product_item,
#slider-viwed .product_item {
  padding-bottom: 70px;
}

.slick-prev,
.slick-next {
  background: none;
  border: none;
  outline: none;
}

.slick-prev::before,
.slick-next::before {
  content: "";
}
#slider-accessories .slick-prev,
#slider-similar .slick-prev,
#slider-viwed .slick-prev,
#slider-accessories .slick-next,
#slider-similar .slick-next,
#slider-viwed .slick-next {
  padding-bottom: 170px;
}

#slider-accessories .slick-dots,
#slider-similar .slick-dots,
#slider-viwed .slick-dots {
  bottom: 30px;
}

.review-main-header {
  font-weight: 700;
  font-size: 32px;
  line-height: 129%;
}
.subtitle {
  font-size: 32px;
  font-weight: 400;
  line-height: 129%;
  color: #68686a;
}
.review-tabs {
  display: flex;
}
.review-tabs .tab {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 8px;
  padding: 5px 15px;
  margin-right: 10px;
  margin-top: 15px;
  border-radius: 10px;
  font-weight: bold;
}

.review-tabs .tab.active {
  border-color: var(--red-color);
  color: var(--red-color);
}

.rating-categories {
  display: flex;
  justify-content: space-between;
  max-width: 400px;
}

.rating-categories span {
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font-size: 32px;
  color: #ccc;
  padding: 0 10px;
  transition: all 0.2s ease;
  position: relative;
}

.rating-categories span small {
  display: block;
  font-size: 12px;
  margin-top: 5px;
  color: #666;
}

.rating-categories span:hover,
.rating-categories span.active {
  color: #e36240;
  transform: scale(1.1);
}

.rating-categories span:hover small,
.rating-categories span.active small {
  color: #e36240;
}

.rating-categories span:hover,
.rating-categories span.active {
  color: #e36240;
}
.form-buttons .btn {
  border-radius: 100px;
}
/* Review */

.reviews-list,
.questions-list {
  margin-top: 20px;
}

.review-item,
.question-item {
  border-bottom: 1px solid #eee;
  padding: 10px 0;
  font-family: sans-serif;
}

.review-header,
.question-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 14px;
}

.review-header strong,
.question-header strong {
  font-weight: 600;
}

.review-header .stars {
  color: var(--red-color);
  font-size: 14px;
}

.review-header .date,
.question-header .date {
  margin-left: auto;
  color: #999;
  font-size: 13px;
}

.review-body,
.question-body,
.answer-body {
  font-size: 15px;
  margin: 8px 0;
  color: #333;
}

.review-footer,
.question-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.review-footer .reply,
.question-footer .reply {
  color: var(--red-color);
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}

.review-footer .likes {
  display: flex;
  gap: 12px;
}

.review-footer .likes span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: #444;
}

.icon-review {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.answer-item {
  background: #f9f9f9;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

.answer-header {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 5px;
}

.answer-header strong {
  font-weight: 600;
}

.answer-header .date {
  color: #999;
  font-size: 13px;
}

/* Tab buttons styles */
.review-tabs .tab {
  background: none;
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  color: #666;
  font-size: 16px;
}

.review-tabs .tab.active {
  color: var(--red-color);
  font-weight: bold;
}

.review-tabs .tab .count {
  color: #999;
  font-weight: normal;
}

.review-tabs .tab.active .count {
  color: var(--red-color);
}
.review-photos {
  display: flex;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.review-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

.review-photo:hover {
  transform: scale(1.05);
}
/* New styles for the upload photo button */
.btn-outline-danger {
  border-color: var(--red-color);
  color: var(--red-color);
}
.btn-outline-danger:hover {
  background-color: var(--red-color);
  color: white;
}
/* **************New delivery styles********** */
.delivery-block {
  min-height: 360px;
}
.delivery-container {
  max-width: 100%;
  margin: 0 auto;
  height: 300px;
}
.delivery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.delivery-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.delivery-cards-slider .slick-prev,
.delivery-cards-slider .slick-next {
  position: absolute;
  top: 100%;
  transform: translateY(20px);
  cursor: pointer;
  z-index: 1;
}

/* Ліва стрілка */
.delivery-cards-slider .slick-prev {
  left: 45%;
  transform: translateX(-50%) translateY(10px);
}

/* Права стрілка */
.delivery-cards-slider .slick-next {
  right: 45%;
  transform: translateX(50%) translateY(10px);
}
.delivery-cards-slider .slick-prev img,
.delivery-cards-slider .slick-next img {
  width: 20px;
  height: 20px;
}

.delivery-cards-slider .slick-dots {
  bottom: -20px;
}

/* Tab Styling */
.nav-tabs {
  border: none;
  margin-bottom: 20px;
}

.nav-tabs .nav-link {
  border: none;
  color: #666;
  padding: 5px 15px;
}

.nav-tabs .nav-link.active {
  color: var(--red-color);
  font-weight: bold;
  border-bottom: 2px solid var(--red-color);
  background: none;
}

/* Delivery Cards */
.delivery-slider-wrapper {
  position: relative;
  padding-bottom: 40px;
}

.delivery-slide {
  padding: 10px;
}

.delivery-card {
  position: relative;
  width: 150px;
  height: 190px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.6s, box-shadow 0.3s ease; /* Об'єднано переходи */
  transform-style: preserve-3d;
}
.flip-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.flip-icon img {
  width: 100%;
  height: 100%;
}

.delivery-card:hover .flip-icon {
  opacity: 1;
}
.delivery-card-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.delivery-card.flipped {
  transform: rotateY(180deg);
}

.delivery-card-front,
.delivery-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
}

.delivery-card-back {
  transform: rotateY(180deg);
  /* background: #f8f8f8; */
}
.delivery-card.no-flip {
  cursor: default; /* Змінити курсор на стандартний */
}

.delivery-card:hover {
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.3);
}
.delivery-icon {
  width: 24px;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.delivery-card-title {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  height: 35px;
  margin-bottom: 10px;
  margin-right: 2px;
  margin-left: 2px;
}

.delivery-card-info {
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  width: 100%;
  overflow: hidden;
  padding-left: 10px;
}

.delivery-card-info p {
  margin: 2px 0;
  white-space: nowrap;
  color: #666;
}

.delivery-card-info span {
  margin: 2px 0;
  color: #666;
  font-size: 12px;
}
.delivery-timing {
  font-size: 11px;
  color: #666;
  margin-bottom: 8px;
  margin-left: 2px;
  margin-right: 2px;
}
.delivery-cards-slider {
  opacity: 0; /* Приховати слайдер */
}

.delivery-cards-slider.slick-initialized {
  opacity: 1; /* Показати слайдер */
}
.delivery-link {
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  color: var(--red-color);
  cursor: pointer;
}
.delivery-link:hover {
  text-decoration: underline;
}

.delivery-price {
  font-weight: bold;
  font-size: 16px;
  line-height: 1.2;
  margin-top: 15px;
}

@media (max-width: 767px) {
  .delivery-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-tabs {
    width: 100%;
    display: flex;
  }

  .nav-tabs .nav-link {
    width: 100%;
    text-align: center;
  }

  .delivery-slider-wrapper {
    max-width: 312px;
    margin: 0 auto;
  }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 374px) {
  .delivery-title {
    font-size: 18px;
  }

  .nav-tabs .nav-link {
    padding: 5px 10px;
    font-size: 14px;
  }
}
/* **************************************** */
.delivery-text-secondary {
  font-weight: 400;
  font-size: 13px;
  line-height: 154%;
  color: #68686a;
  max-width: 180px;
}

.card-price-block p {
  white-space: nowrap;
}

.custom-popup.hidden {
  display: none;
}

.custom-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
  transition: transform 0.2s ease-in-out;
  overflow: hidden;
}

/* ******Custom popup******** */
.custom-popup-content,
#errorPopup .custom-popup-content {
  position: relative;
  background: transparent;
  border: none;
  overflow: visible;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.custom-popup-image,
#errorPopup .custom-popup-image {
  max-width: 100%;
  height: auto;
  display: block;
  animation: fadeInImage 0.6s ease-in-out forwards;
}

.custom-popup-close,
#errorPopup .custom-popup-close {
  position: absolute;
  top: 31%;
  right: 8%;
  font-size: 32px;
  color: #00000094;
  background: transparent;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  border: none;
  opacity: 0;
  transition: transform 0.2s ease-in-out;
  animation: fadeInClose 0.6s ease-in-out forwards;
  animation-delay: 0.5s;
}

#errorPopup .custom-popup-close {
  top: 6% !important;
}

/* Анімація для появи зображення */
@keyframes fadeInImage {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* Анімація для появи хрестика */
@keyframes fadeInClose {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.custom-popup-close:hover,
#errorPopup .custom-popup-close:hover {
  transform: scale(1.2);
}

/* *********accessory-popover********* */
.accessory-popover {
  padding: 10px;
  max-width: 300px;
}

.accessory-popover p {
  margin: 5px 0;
  color: #333;
}

.popover {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.popover .popover-body {
  padding: 10px;
}

/* ************Video btn*********** */
.video-btn-container {
  position: absolute;
  right: 80px;
  bottom: 55px;
  z-index: 10;
}
.video-container-parent {
  position: relative;
}
.video-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

.video-btn:hover {
  background: #f5f5f5;
}

.video-btn img {
  width: 24px;
  height: 24px;
}

.video-btn-text {
  font-size: 14px;
  color: #333;
}

@media (max-width: 768px) {
  .video-btn-container {
    right: 20px;
    bottom: 10px;
  }
}
.main-slider video,
.main-slider iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
}

/* Для мобільних пристроїв */
@media (max-width: 768px) {
  .main-slider video,
  .main-slider iframe {
    max-height: 50vh;
  }
}

/* waranty section */
.warranty-block {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.warranty-subtitle {
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-transform: lowercase;
  font-style: italic;
  margin-left: 3.3rem;
}
.warranty-item {
  border: 1px solid #dfdfdf;
  border-radius: 16px;
  padding: 10px 32px;
  background-color: white;
  margin-bottom: 20px;
  min-width: 268px;
}
.warranty-number {
  color: var(--red-color);
  font-weight: bold;
  font-size: 20px;
  line-height: 120%;
}
.warranty-text {
  font-weight: 400;
  font-size: 16px;
  color: #0a0a0a;
}
