/* ===================== Карточка товара ===================== */

.breadcrumbs--tight {
  padding: 16px 0 8px;
}

.product {
  padding-top: 16px;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.product__tabs-section {
  padding-top: 0;
}
.product__gallery {
  flex: 0 0 420px;
  max-width: 100%;
}
.product__main {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.product__main img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.product__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product__arrow--prev {
  left: 14px;
}
.product__arrow--next {
  right: 14px;
}
.product__arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.product__arrow:hover svg path {
  stroke: #fff;
}

.product__thumbs {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}
.product__thumb {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  line-height: 0;
}
.product__thumb.is-active {
  border-color: var(--orange);
}
.product__thumb img {
  width: 100%;
  height: 58px;
  object-fit: cover;
}

.product__info {
  flex: 1 1 480px;
}
.product__info h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1.2;
}
.product__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.product__sku {
  font-size: 14px;
  color: var(--text-gray);
}

.product__prices {
  margin-bottom: 24px;
}
.product__prices div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.product__prices b {
  font-size: 30px;
  font-weight: 800;
}
.product__prices span {
  font-size: 14px;
  color: var(--text-gray);
}

.product__order {
  padding: 16px 56px;
  margin-bottom: 36px;
}

.tabs__head {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.tabs__tab {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-gray);
  padding: 0 0 16px;
  position: relative;
}
.tabs__tab.is-active {
  color: var(--text);
}
.tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
}
.tabs__panel {
  display: none;
}
.tabs__panel.is-active {
  display: block;
}
.tabs__panel p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}
.tabs__map {
  width: 100%;
  border-radius: 14px;
}

.slider-arrows {
  display: flex;
  gap: 10px;
}

@media (max-width: 900px) {
  .product {
    gap: 32px;
  }
  .product__gallery {
    flex: 1 1 100%;
  }
  .product__info {
    flex: 1 1 100%;
  }
}

@media (max-width: 480px) {
  .product__info h1 {
    font-size: 24px;
  }
  .product__prices b {
    font-size: 24px;
  }
  .product__order {
    width: 100%;
    padding: 16px 24px;
  }
  .tabs__head {
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs__head::-webkit-scrollbar {
    display: none;
  }
  .tabs__tab {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 15px;
  }
}
