
/* Polshtuki category previews */
.t-catalog__parts-back-img-top-circle > .t-catalog__parts-image-wrapper > img.t-catalog__parts-img-cover {
    box-sizing: border-box;
    object-fit: contain !important;
    object-position: center;
    padding: 15%;
}

/* Static storefront cover: keep the whole square product image on narrow screens. */
@media screen and (max-width: 960px) {
  #rec5916769201 .t1241 .t-container .t1241__image { height: auto; }
  #rec5916769201 .t1241__cover { height: auto; aspect-ratio: 1 / 1; }
}

/* Polshtuki compact catalog and review layout */
#rec5245807901 {
  position: relative;
  top: -66px;
}
#rec5245807901 a[name="catalog"] {
  display: block;
  height: 0;
  scroll-margin-top: 24px;
}
#rec5245808001 .js-block-header {
  margin-bottom: 18px;
}
#rec5245808001 .js-block-header > .t-col {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
}
#rec5245808001 .js-block-header-title,
#rec5245808001 .js-block-header-descr {
  margin: 0;
  padding: 0;
}
#rec5245808001 .js-block-header-descr {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  max-width: none;
}
#rec5245808001 .js-block-header-descr a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  background: #f4eee7;
  color: #594333;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}
#rec5245808001 .js-block-header-descr a:hover,
#rec5245808001 .js-block-header-descr a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
#rec5916221501 .t1196__bgimg {
  background-size: contain;
  background-color: #f5f1ed;
}
@media screen and (max-width: 480px) {
  #rec5245808001 .js-block-header {
    margin-bottom: 14px;
  }
  #rec5245808001 .js-block-header > .t-col {
    gap: 8px;
  }
  #rec5245808001 .js-block-header-title {
    flex-basis: 100%;
  }
}

/* Polshtuki side controls and work examples */
#rec5917425301 .t1196__bgimg {
  background-size: contain;
  background-color: #fff;
}
@media screen and (max-width: 960px) {
  :is(#rec5916221501, #rec5917425301) .t1196__controls_slider {
    display: flex;
    padding-inline: 8px;
  }
  :is(#rec5916221501, #rec5917425301) .t1196__controls_slider button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Show the work-example arrows only when more than three cards are present. */
#rec5917425301:not(:has(#carousel_5917425301 > .t1196__item ~ .t1196__item ~ .t1196__item ~ .t1196__item)) .t1196__controls_slider {
  display: none;
}
