.grid-auto-1fr {
  grid-template-columns: initial !important;
}

.product-view {
  display: grid;
  grid-template-columns: 400px 1fr 400px;
  grid-template-rows: auto 1fr auto;
  gap: 14px 50px;
  font-size: 15px;
}
.product-view .bread-crumbs {
  grid-row: 1/2;
  grid-column: 1/4;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.product-view .bread-crumbs a {
  white-space: nowrap;
}
.product-view .bread-crumbs a:hover {
  color: var(--target-default);
}
.product-view .product-gallery {
  grid-row: 2/3;
  grid-column: 1/2;
}
@media (max-width: 767px) {
  .product-view .product-gallery {
    position: initial;
  }
}
.product-view .body-part {
  grid-row: 2/3;
  grid-column: 2/3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-view .target-part {
  grid-row: 2/3;
  grid-column: 3/4;
}
@media (max-width: 767px) {
  .product-view .target-part {
    position: initial;
  }
}
@media (max-width: 767px) {
  .product-view {
    display: flex;
    flex-direction: column;
  }
}

.product-header .seller {
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-header .seller .author-link {
  color: #565251;
}
.product-header .exclusive-mark {
  background: var(--target-default);
  border-radius: 12px;
  padding: 3px 9px 3px 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-bottom: 6px;
  line-height: 14px;
}
.product-header .exclusive-mark i {
  font-size: 8px;
  line-height: 14px;
}

.product-title {
  font-size: 21px;
  line-height: 1.4;
  margin: 0;
  margin-bottom: 10px;
}

.fast-info .row-about {
  display: flex;
  align-items: flex-end;
  padding: 8px 0;
  line-height: 1.5em;
}
.fast-info .row-about .th {
  position: relative;
  min-width: 200px;
  color: var(--main-subtitle);
}
.fast-info .row-about .th .th-wrapper {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  width: fit-content;
}
.fast-info .row-about .th::after {
  border-bottom: 1px dotted rgba(204, 214, 228, 0.6);
  bottom: 3px;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}
.full-info .tabs {
  display: flex;
  box-shadow: inset 0 -1px 0 var(--border-color-light);
}
.full-info .tabs .tab-item {
  padding: 14px 20px;
  background: none;
  font-weight: 500;
}
.full-info .tabs .tab-item.active {
  background: none;
  color: var(--target-default);
  box-shadow: inset 0 -2px 0 var(--target-default);
}
@media (max-width: 767px) {
  .full-info .tabs {
    overflow-y: scroll;
    width: calc(100vw - 32px);
  }
  .full-info .tabs::-webkit-scrollbar {
    display: none;
  }
}
.full-info .tab-content .tab-pane {
  padding: 0px;
  margin-top: 14px;
  line-height: 1.5;
}
.full-info .tab-content .tab-pane.active {
  display: block;
}

.target-wrapper {
  max-width: 320px;
  border-radius: 10px;
  padding: 24px 16px;
  border: 2px solid var(--border-color-light);
}
.target-wrapper .hide-on-desk {
  display: none;
}
@media (max-width: 767px) {
  .target-wrapper {
    margin: 20px auto 0;
    position: fixed;
    left: 0;
    bottom: 50px;
    z-index: 2;
    padding: 8px 16px 12px 16px;
    margin: 0;
    width: 100%;
    max-width: unset;
    background: #fff;
    border-radius: 0;
    border: 0;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}
@media (max-width: 767px) {
  .product-gallery {
    margin: unset;
    max-width: calc(100vw - 32px);
    width: 100%;
  }
}

.swiper-container.main-slider {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.swiper-container.main-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.swiper-container .swiper-slide-active {
  border-radius: 8px;
  background-color: var(--brand-light);
  padding: 20px;
}
@media (max-width: 767px) {
  .swiper-container .swiper-slide-active {
    padding: 10px;
  }
}
.swiper-container.thumb-slider {
  margin-top: 10px;
  height: 80px;
}
.swiper-container.thumb-slider .swiper-slide {
  width: 80px;
  height: 80px;
  cursor: pointer;
  opacity: 0.6;
  border-radius: 8px;
  background-color: var(--brand-light);
}
.swiper-container.thumb-slider .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--target-default);
  box-sizing: border-box;
}
.swiper-container.thumb-slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.target-part .price-block {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.target-part .price-block .title {
  flex-grow: 1;
}
.target-part .price-block .cost {
  font-size: 28px;
  font-weight: 900;
  color: var(--target-default);
  white-space: nowrap;
}
.target-part .actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
@media (max-width: 767px) {
  .target-part .actions {
    flex-direction: row;
  }
}
.target-part .sub-info {
  margin-top: 10px;
  font-size: 13px;
  color: var(--main-subtitle);
  text-align: center;
}