
/* KRAPIVA: product page full width desktop fix */

@media screen and (min-width: 981px) {
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready {
    width: 100% !important;
    max-width: none !important;
  }

  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .krf-top,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .krf-top,
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-container.krf-top,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-container.krf-top {
    width: calc(100vw - 48px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 430px !important;
    gap: 56px !important;
    align-items: start !important;
  }

  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .krf-gallery,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .krf-gallery {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .krf-stage,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .krf-stage {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }

  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-catalog__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-store__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-store__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-catalog__prod-popup__info {
    width: 430px !important;
    max-width: 430px !important;
    min-width: 0 !important;
    justify-self: start !important;
  }

  html body #allrecords[data-product-page="y"] .krf-after {
    width: calc(100vw - 48px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Средние экраны: чуть компактнее, чтобы правая колонка не давила фото */
@media screen and (min-width: 981px) and (max-width: 1280px) {
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .krf-top,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .krf-top,
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-container.krf-top,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-container.krf-top {
    width: calc(100vw - 32px) !important;
    grid-template-columns: minmax(0, 1fr) 400px !important;
    gap: 36px !important;
  }

  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-catalog__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-store__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-catalog__prod-snippet__container.krf-ready .t-store__prod-popup__info,
  html body #allrecords[data-product-page="y"] .t-store__prod-snippet__container.krf-ready .t-catalog__prod-popup__info {
    width: 400px !important;
    max-width: 400px !important;
  }

  html body #allrecords[data-product-page="y"] .krf-after {
    width: calc(100vw - 32px) !important;
  }
}
</style>