.product-detail {
  display: flex;
  column-gap: 67px;
  align-items: start;

  @container xlarge (min-width: 0) {
    column-gap: 24px;
  }

  @container small (min-width: 0) {
    flex-direction: column;
    row-gap: 24px;
  }
}
.product-detail:not(:last-child) {
  margin-bottom: 120px;
}

/* IMAGES */
.product-detail__images {
  width: 100%;
  display: flex;
  column-gap: 24px;
  align-items: stretch;
}
.product-detail__gallery {
  width: 50%;
  display: grid;
  row-gap: 24px;
  column-gap: 24px;
  grid-template-columns: repeat(2, 1fr);

  @container medium (min-width: 0) {
    display: none;
  }
}
.product-detail__slider {
  width: 50%;
  min-width: 160px;
  /* height: calc(504px + 154 * var(--window-resize)); */
  overflow: hidden;
  position: relative;
  aspect-ratio: 9/12;

  @container medium (min-width: 0) {
    width: 100%;
  }
}
.product-detail__image {
  height: 100%;
  overflow: hidden;
}
.product-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail__obraz {
  --icon-size: 23px;
  --button-width: max-content;
  --button-height: 37px;
  --button-offset: 12px;

  z-index: 1;
  position: absolute;
  left: 20px;
  top: 20px;
  font-size: calc(12px + 0 * var(--window-resize));
}
.product-detail__obraz .icon {
  order: 5;
}

/* INFO */
.product-detail__info {
  width: 100%;
  min-width: 300px;
  max-width: 413px;

  @container xlarge (min-width: 0) {
    max-width: 350px;
  }

  @container small (min-width: 0) {
    max-width: 100%;
  }
}
.product-detail__info .separator {
  margin-top: 24px;
  margin-bottom: 24px;
}

.product-detail__top {
  display: flex;
  column-gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.product-detail__collection {
  --link-color: var(--primary-accent2);

  font-weight: 500;
  font-size: calc(12px + 0 * var(--window-resize));
}
.product-detail__article {
  --icon-size: 16px;
  --icon-fill: var(--primary-accent4);
  --link-color: var(--primary-accent4);

  display: flex;
  column-gap: 9px;
  align-items: center;

  font-weight: 300;
  font-size: calc(14px + 0 * var(--window-resize));
}
.product-detail__article .icon {
  order: 5;
}

.product-detail__name {
  font-weight: 300;
  font-size: calc(24px + 0 * var(--window-resize));
}
.product-detail__name:not(:first-child) {
  margin-top: 16px;
}

.product-detail__prices {
  display: flex;
  column-gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 17px;
  margin-bottom: 9px;
  white-space: nowrap;
}
.product-detail__price {
  font-weight: 700;
  font-size: calc(24px + 0 * var(--window-resize));
}
.product-detail__oldprice {
  font-weight: 500;
  text-decoration: line-through;
  font-size: calc(20px + 0 * var(--window-resize));
  color: var(--primary-accent4);
}
.product-detail__discount {
  font-weight: 500;
  font-size: calc(20px + 0 * var(--window-resize));
  color: var(--primary-accent2);
}

.product-detail__buy {
  display: flex;
  row-gap: 24px;
  column-gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.product-detail__basket {
  --button-width: 100%;
  width: calc(100% - 76px);
}
.product-detail__credit {
  width: 100%;
}
.product-detail__credit .button {
  --icon-size: 12px;
  --button-width: 100%;
  --button-color: var(--primary-accent4);
}
.product-detail__credit .icon--podeli {
  --icon-size: auto;
  --icon-fill: var(--primary-accent2);
  margin-right: 24px;
}
.product-detail__credit .icon--podeli path[fill="black"] {
  fill: black;
}
.product-detail__credit:hover .icon--podeli path {
  fill: var(--primary-accent) !important;
}
.product-detail__credit .icon--arrow-right {
  order: 5;
  margin-left: auto;
}

.product-detail__size {
  font-weight: 500;
  font-size: calc(16px - 2 * var(--window-resize));
  color: var(--primary-accent4);
  margin-top: 28px;
}
.product-detail__size span {
  color: var(--primary-color);
}

.product-detail__tabs .tabs__contents {
  font-weight: 500;
}

.product-stickers {
  display: flex;
  column-gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  pointer-events: none;

  @container medium (min-width: 0) {
    column-gap: 9px;
  }
}
.product-sticker {
  height: 40px;
  border-radius: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 500;
  white-space: nowrap;
  font-size: calc(12px + 2 * var(--window-resize));
  color: var(--primary-color);

  @container medium (min-width: 0) {
    height: 30px;
    border-radius: 30px;
    padding: 0 12px;
  }
}
.product-sticker.sale {
  color: var(--primary-accent);
  background-color: var(--primary-accent2);
}