html, body {
  height: 100%;
  min-height: 100%;
}
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.product-page {
  margin: 40px auto;
  max-width: 1240px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}
.product-page__main-grid {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}
.product-page__left {
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}
.product-page__right {
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  min-width: 0;
  justify-self: start;
  padding-right: 30px;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}
.product-page__right h1,
.product-page__right .product-category,
.product-page__right .product-description {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  hyphens: none;
}
@media (max-width: 1000px) {
  .product-page__left{
    max-width: 400px;
  }
  .product-page__main-grid {
    grid-template-columns: 400px 1fr;
  }
}
@media (max-width: 500px) {
  .product-page__main-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .product-page__main-grid {
    gap: 20px;
  }
}
.page-end {
    display: grid;
    grid-template-columns: 1fr 3fr;
    height: 200px;
    color: var(--color-text);
    gap: 40px;
    padding: 40px;
    width: 100%;      /* Растягиваем на всю ширину */
    min-width: 0;     /* Не ограничиваем минимальную ширину */
    box-sizing: border-box;
    /* position: relative;  Убрано */
}
body > .wrapper > .page-end {
  position: static !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
}

/* --- Скелетон и lazy-load ProductsRowSlider --- */
.lazy-products-slider {
    min-height: 320px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
}
.products-row-slider-skeleton {
    min-height: 246px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    border-radius: 14px;
    background: linear-gradient(90deg, #181818 25%, #232323 50%, #181818 75%);
    opacity: 0.7;
    animation: skeleton-loading 1.2s infinite linear;
}
@keyframes skeleton-loading {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.15); }
    100% { filter: brightness(1); }
}

/* --- Переопределение для page-end только на странице объявления --- */
.page-end-outer {
  width: 100%;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
.page-end-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.page-end {
  width: 100% !important;
  min-width: 0 !important;
  position: relative !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
}
body > .wrapper > .page-end {
  position: relative !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
}