

/* Start:/local/templates/hobbyka/components/bitrix/news.detail/gallery/style.css?17869739034640*/
.gallery-detail-page {
  display: block;
}

.gallery-detail-page__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-detail-page__meta li {
  padding: 10px 14px;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fbf9f4;
  color: #45413b;
  line-height: 1.4;
}

.gallery-detail-page__hero {
  display: block;
  padding: 0;
  background: transparent;
  max-height: 450px;
}

.gallery-detail-page__hero .image {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  object-position: center;
}

.gallery-detail-page__content {
  max-width: 920px;
  color: #45413b;
  font-size: 16px;
  line-height: 1.7;
}

.gallery-detail-page__content > *:first-child {
  margin-top: 0;
}

.gallery-detail-page__content > *:last-child {
  margin-bottom: 0;
}

.gallery-products-block {
  margin-top: 30px;
}

.gallery-products-block .product-slider-wrap {
  margin-top: 16px;
}

.gallery-detail-page__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-detail-page__media-item {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gallery-detail-page__media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
  aspect-ratio: 4 / 3;
}

.gallery-detail-page__media-frame .image {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.gallery-detail-page__media-item--video .gallery-detail-page__media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.08) 0%, rgba(14, 14, 14, 0.5) 100%);
}

.gallery-detail-page__media-item--video .gallery-detail-page__media-frame {
  aspect-ratio: 4 / 3;
  background: transparent;
}

.gallery-detail-page__media-item--video .gallery-detail-page__media-frame .image {
  object-fit: cover;
  object-position: center;
}

.gallery-detail-page__media-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px;
}

.gallery-detail-page__media-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.gallery-detail-page__media-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #1d1d1d;
}

.gallery-detail-page__media-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1d1d1d;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
}

.gallery-detail-page__media-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #181818 0%, #3e3e3e 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery-detail-page__media-item--rutube .gallery-detail-page__media-frame {
  background: linear-gradient(135deg, #101010 0%, #343434 100%);
}

@media (max-width: 767px) {
  .gallery-detail-page__meta li {
    width: 100%;
    border-radius: 14px;
  }

  .gallery-detail-page__hero {
    padding: 0;
    max-height: 320px;
  }

  .gallery-detail-page__hero .image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 320px;
  }

  .gallery-detail-page__content {
    font-size: 15px;
    line-height: 1.6;
  }

  .gallery-detail-page__media {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-detail-page__media-frame {
    border-radius: 16px;
  }

  .gallery-detail-page__media-play {
    width: 60px;
    height: 60px;
  }

  .gallery-detail-page__media-label {
    font-size: 12px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-detail-page__hero {
    max-height: 380px;
  }

  .gallery-detail-page__hero .image {
    max-height: 380px;
  }

  .gallery-detail-page__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* End */


/* Start:/local/templates/hobbyka/components/bitrix/catalog.element/card_details/customization-catalog.css?17931938292813*/
.hk-custom-banner{box-sizing:border-box;display:grid;grid-template-columns:1fr 1fr;max-width:1280px;width:100%;height:400px;margin:0 auto;background:#fff;border-radius:24px;overflow:hidden;color:#111}
.hk-custom-banner__copy{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:32px 40px;gap:20px;min-width:0}
.hk-custom-banner__copy h2{margin:0;font-size:clamp(32px,3.4vw,48px);line-height:1.05;font-weight:700;color:#111;text-shadow:none}
.hk-custom-banner__copy p{margin:0;max-width:440px;font-size:18px;line-height:1.45;color:#292929;text-shadow:none}
.hk-custom-banner__copy .btn{min-height:48px;padding:14px 24px;white-space:normal}
.hk-custom-banner__image{min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hk-custom-banner__image img{display:block;width:100%;height:100%;max-height:400px;object-fit:contain}
.hk-custom-collection{padding-top:24px;padding-bottom:48px}.hk-custom-collection h1{margin:24px 0;font-size:clamp(28px,3vw,40px);line-height:1.15}.hk-custom-collection__intro{max-width:920px;margin-bottom:32px;line-height:1.6}
.hk-custom-collection__toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.hk-custom-collection__toolbar form{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hk-custom-collection__toolbar select{max-width:100%;padding:10px;border:1px solid #bbb;border-radius:6px;background:#fff}.hk-custom-collection .category{width:100%}
.hk-custom-mini-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:#fff0ac;color:#292929;font-size:12px;line-height:1.2;text-decoration:none}
@media(max-width:991px){.hk-custom-banner{height:auto;grid-template-columns:1fr;border-radius:16px}.hk-custom-banner__image{grid-row:1;height:200px}.hk-custom-banner__image img{height:200px;width:auto;max-width:100%}.hk-custom-banner__copy{padding:16px 24px 24px;gap:10px}.hk-custom-banner__copy h2{font-size:28px}.hk-custom-banner__copy p{font-size:14px;line-height:1.4}.hk-custom-banner__copy .btn{min-height:40px;padding:11px 20px}.hk-custom-collection__toolbar{align-items:flex-start;flex-direction:column}.hk-custom-collection__toolbar form{width:100%}.hk-custom-collection__toolbar select{flex:1;min-width:0}}
.homepage-promo-slider-wrap .banner-slider:has([data-customization-slide].swiper-slide-active) .swiper-pagination-bullet{background:#292929}

/* Keep the customization link visible when native mobile card captions are hidden. */
@media(max-width:991px){.card-list .card-product.card-product--customization .card__caption,.category .card-product.card-product--customization .card__caption{display:flex;margin-bottom:8px}.card-product--customization .card__caption .card__act,.card-product--customization .card__caption .tag-copy{display:none}}

/* End */
/* /local/templates/hobbyka/components/bitrix/news.detail/gallery/style.css?17869739034640 */
/* /local/templates/hobbyka/components/bitrix/catalog.element/card_details/customization-catalog.css?17931938292813 */
