section.catalog-cat-page,
section.collection {
    margin-top: 60px;
    margin-bottom: 60px;
}

.catalog-cat-page .section-wrap {
    max-width: 1788px;
    margin-inline: auto;
}
.catalog-cat-page.section-first .section-wrap {
    padding-left: 345px;
}
.catalog-cat-page .title-block {
    margin: 50px 0;
}

.catalog-cat-page .title-block h1,
.catalog-cat-page .title {
    color: #000;
    font-size: 23px;
    padding-left: 30px;
    position: relative;
    text-transform: uppercase;
    margin-top: ;
}

.catalog-cat-page .title-block h1::before,
.catalog-cat-page .title::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 50px;
    background: #ed2024;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.catalog-cat-page .section-text {
    color: rgba(0, 0, 0, 1);
    font-size: 14px;
}

.bold {
    font-weight: bold;
}

.category-page-product-list.section-wrap {
    max-width: 1788px;
}

.category-page-product-list .prod-grid-wrapper {
    flex: 1;
}

.category-page-product-list .product-list-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

section.faq-block {
    margin: 80px auto;
}

.bottom-text-section {
    background: #f0f0f0;
    padding-block: 60px;
    margin-block: 60px;
}

.bottom-text-section .title {
    margin-bottom: 30px;
}

.faq-block .title,
.bottom-text-section .title {
    color: #000;
    font-size: 23px;
    padding-left: 30px;
    position: relative;
    text-transform: uppercase;
}

.faq-block .title::before,
.bottom-text-section .title::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 50px;
    background: #ed2024;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.bottom-text-section .text-wrapper {
    margin: 0 auto 50px;
    padding: 0 20px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #000;
    max-width: 1000px;
    margin-inline: auto;
}

.bottom-text-section .text-wrapper .text {
    margin-block: 50px;
}

.blockquote {
    margin-bottom: 30px;
}

.collection-wrapper {
    clip-path: polygon(100px 0%, 100% 0%, calc(100% - 80px) 100%, 0% 100%);
    min-height: 400px;
    background-size: cover;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.collection-wrapper .collection-label {
    position: absolute;
    background-color: #e31e24;
    padding: 20px 24px 20px 40px;
    min-width: 30%;
    max-width: 100%;
    box-sizing: border-box;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
}

.collection-wrapper .collection-label .collection-label-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-wrapper,
.tags-wrapper {
    max-width: 1788px;
    margin: 50px auto;
    width: 100%;
}

.tags-wrapper .tags__items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 0;
}

.tags-wrapper .tags__items-link {
    padding: 7px 17px;
    background: rgba(244, 245, 247, 1);
    border-radius: 26px;
    color: rgba(114, 114, 114, 1);
    line-height: 24px;
    font-size: 16px;
}

.tags-wrapper .tags__items-link:hover {
    color: white;
    background: rgba(184, 184, 184, 1);
}

.prod-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 25px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.prod-count {
    display: flex;
    align-items: center;
}

.prod-sorting {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prod-sorting .sorting-select {
    margin-bottom: 0;
}

.sorting-title {
    font-size: 14px;
    color: #2c2c2c;
    font-weight: 400;
}

.count-select,
.sorting-select {
    height: 40px;
    padding: 0 35px 0 15px;
    font-size: 14px;
    color: #2c2c2c;
    background-color: #fff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.count-select:hover,
.sorting-select:hover {
    border-color: #b5b5b5;
}

.count-select:focus,
.sorting-select:focus {
    border-color: #a0a0a0;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.02);
}

.prod-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.catalog-section {
    display: grid;
}

.catalog-section .catalog-section-button-wrapper {
    grid-column: 1 / -1;
    /* Растягивает блок на всю ширину сетки */
    width: 100%;
}

.catalog-section-button-wrapper {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    align-items: center;
}

.catalog-section-button-wrapper .btn.btn-primary.btn-md {
    border: 1px solid rgba(174, 174, 174, 1);
    color: rgba(174, 174, 174, 1);
    display: inline-block;
    max-width: 200px;
    background: transparent;
}

#real-lazy-btn-1 {
    display: none;
}

/* Блок с ценой */
.filter-price-category {
    margin-bottom: 25px;
    padding: 10px 0;
}

.price-title {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    color: #000;
}

/* Ползунок */
.price-slider-wrapper {
    position: relative;
    width: 100%;
}

.range-slider {
    position: relative;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 15px 0 20px 0;
}

.range-track {
    position: absolute;
    height: 100%;
    background: #555555;
    top: 0;
    left: 0%;
    right: 0%;
    border-radius: 2px;
}

.range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    height: 4px;
    top: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Кнопка-ползунок (Thumbs) */
.range-slider input[type="range"]::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: #4a4a4a;
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    margin-top: -3px;
}

.range-slider input.range-max::-webkit-slider-thumb {
    background: #ff2222;
}

.range-slider input[type="range"]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    border: none;
    border-radius: 50%;
    background: #4a4a4a;
    pointer-events: auto;
    cursor: pointer;
}
.range-slider input.range-max::-moz-range-thumb {
    background: #ff2222;
}

/* Подписи снизу */
.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    font-family: inherit;
}

@media (min-width: 1024px) and (max-width: 1728px) {
  section {
    padding-inline: 60px;
  }
  section .section-wrap {
    padding: 0;
  }
  .tags-wrapper,
  .catalog-cat-page .section-wrap {
    max-width: 100%;
  }
  .tags-wrapper,
  .category-page-product-list.section-wrap {
    max-width: 100%;
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media screen and (min-width: 1728px) {

    .category-page-product-list.section-wrap,
    .tags-wrapper .tags__items {
        padding: 0 20px;
    }
}

@media screen and (max-width: 596px) {
    section.collection {
        padding: 0 20px;
    }
    .collection-wrapper {
        min-height: 150px;
        clip-path: polygon(50px 0%, 100% 0%, calc(100% - 50px) 100%, 0% 100%);
        background-position: center;
        background-repeat: no-repeat;
    }
    .collection-wrapper .collection-label {
        min-width: 70%;
        padding: 12px 24px 12px 40px;
    }
    .prod-count,
    .pager-catalog-section {
        display: none;
    }
}
.category-image-wrap.section-wrap {
    max-width: 1788px;
    margin-bottom: 50px;
    padding: 0 20px;
}
.category-image {
    clip-path: polygon(80px 0%, 100% 0%, calc(100% - 80px) 100%, 0% 100%);
    height: 420px;
    background: center center no-repeat;
    background-size: cover;
    display: flex;
      align-items: flex-end;
      justify-content: flex-end;
      width: 100%;
    overflow: hidden;
      box-sizing: border-box;
}
.category-image-label {
    background-color: #e31e24;
    padding: 22px 24px 22px 40px;
    min-width: 40%;
    max-width: 100%;
    box-sizing: border-box;
    clip-path: polygon(13px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
}
.category-image-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: sans-serif;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media screen and (max-width: 992px) {
    .category-image {
        height: 300px;
    }
    .category-image-label {
        min-width: 75%;
        clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
    }
}
@media screen and (max-width: 600px) {
    .category-image {
        height: 160px;
        clip-path: polygon(50px 0%, 100% 0%, calc(100% - 50px) 100%, 0% 100%);
    }
    .category-image-label {
        min-width: 90%;
        clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 65px);
        padding: 5px 25px 5px 35px;
      }
    .category-image-name {
        font-size: 13px;
        font-weight: 400;
    }
}
@media (min-width: 1024px) and (max-width: 1728px) {
  .catalog-cat-page.section-first .section-wrap {
    padding-left: 325px;
  }
}
@media (max-width: 1023px) {
  .catalog-cat-page.section-first .section-wrap {
    padding-left: 20px;
  }
}
.category-page-product-list .prod-grid {
    row-gap: 45px;
}