/* ------------------------------------------------------------------
   Раздел «Ручки дверные на раздельном основании».
   Палитра proem.local: #0f0f0f / #222224, золото #e1b261.
   ------------------------------------------------------------------ */

.rk-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Кнопки ---------- */
.rk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: 'Syne', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .4px;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.rk-btn--gold {
    background: #e1b261;
    color: #141414;
}
.rk-btn--gold:hover {
    background: #ffffff;
    color: #141414;
    text-decoration: none;
}
.rk-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
    color: #ffffff;
}
.rk-btn--ghost:hover {
    border-color: #e1b261;
    color: #e1b261;
    text-decoration: none;
}
.rk-btn--more {
    min-width: 260px;
    background: #0f0f0f;
    border-color: #0f0f0f;
    color: #ffffff;
}
.rk-btn--more:hover {
    background: #e1b261;
    border-color: #e1b261;
    color: #141414;
}
.rk-btn--more[disabled] {
    opacity: .45;
    cursor: default;
}

/* ---------- Первый экран ---------- */
.rk-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 0 60px;
    background: #0f0f0f;
    color: #ffffff;
}
.rk-hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
}
.rk-hero__bg:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, #0f0f0f 30%, rgba(15, 15, 15, .85) 62%, rgba(15, 15, 15, .45) 100%);
}
.rk-hero .rk-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 48px;
}
.rk-hero__inner {
    flex: 1 1 auto;
    max-width: 720px;
}
.rk-hero__kicker {
    margin: 26px 0 12px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #e1b261;
}
.rk-hero__title {
    margin: 0 0 22px;
    font-size: 54px;
    line-height: 1.08;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.rk-hero__descr {
    max-width: 640px;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 26px;
    color: #d6d6d6;
}
.rk-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    margin: 0 0 30px;
    padding: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.rk-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.rk-stat__value {
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 600;
    color: #e1b261;
}
.rk-stat__label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #9a9a9a;
}
.rk-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.rk-hero__img {
    flex: 0 0 380px;
    max-width: 380px;
    margin: 0;
    text-align: center;
}
.rk-hero__img img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
}

/* ---------- Хлебные крошки ---------- */
.rk-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #8f8f8f;
}
.rk-crumbs a {
    color: #8f8f8f;
    text-decoration: none;
}
.rk-crumbs a:hover {
    color: #e1b261;
}
.rk-crumbs__muted {
    color: #6f6f6f;
}
.rk-crumbs__current {
    color: #e1b261;
}


/* ---------- Секция каталога ---------- */
.rk-section {
    padding: 64px 0 80px;
    background: #f6f5f3;
}
.rk-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 34px;
}
.rk-section__title {
    margin: 0 0 8px;
    font-family: 'Syne', sans-serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 600;
    color: #0f0f0f;
}
.rk-section__sub {
    margin: 0;
    font-size: 15px;
    color: #6d6d6d;
}

/* ---------- Каркас: фильтры + сетка ---------- */
.rk-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.rk-sidebar {
    flex: 0 0 270px;
    max-width: 270px;
    position: sticky;
    top: 20px;
}
.rk-main {
    flex: 1 1 auto;
    min-width: 0;
}

/* ---------- Фильтры ---------- */
.rk-filters {
    background: #ffffff;
    border: 1px solid #e6e4e0;
    border-radius: 4px;
    overflow: hidden;
}
.rk-filters__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid #eeece8;
}
.rk-filters__title {
    margin: 0;
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0f0f0f;
}
.rk-filters__reset {
    padding: 0;
    background: none;
    border: 0;
    font-size: 12px;
    color: #a08350;
    text-decoration: underline;
    cursor: pointer;
}
.rk-filters__reset:hover {
    color: #0f0f0f;
}
.rk-filter {
    border-bottom: 1px solid #f0eeea;
}
.rk-filter:last-child {
    border-bottom: 0;
}
.rk-filter__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: 0;
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    color: #222224;
    cursor: pointer;
}
.rk-filter__head i {
    font-size: 11px;
    color: #9b9b9b;
    transition: transform .2s ease;
}
.rk-filter.is-collapsed .rk-filter__head i {
    transform: rotate(-90deg);
}
.rk-filter__body {
    padding: 0 18px 14px;
}
.rk-filter.is-collapsed .rk-filter__body {
    display: none;
}
.rk-filter__search {
    width: 100%;
    margin: 0 0 10px;
    padding: 7px 10px;
    border: 1px solid #e2e0dc;
    border-radius: 3px;
    font-size: 13px;
    color: #222224;
    outline: none;
}
.rk-filter__search:focus {
    border-color: #e1b261;
}
.rk-filter__list {
    max-height: 230px;
    overflow-y: auto;
    padding-right: 4px;
}
.rk-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
    line-height: 18px;
    color: #3b3b3b;
    cursor: pointer;
    user-select: none;
}
.rk-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.rk-check__box {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 2px;
    border: 1px solid #c9c7c2;
    border-radius: 2px;
    background: #ffffff;
    position: relative;
}
.rk-check input:checked + .rk-check__box {
    background: #0f0f0f;
    border-color: #0f0f0f;
}
.rk-check input:checked + .rk-check__box:after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0;
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.rk-check:hover .rk-check__box {
    border-color: #e1b261;
}
.rk-check__text {
    flex: 1 1 auto;
}
.rk-check__count {
    color: #a5a29c;
    font-size: 12px;
}
.rk-check.is-empty {
    opacity: .45;
}
.rk-filter__empty {
    padding: 4px 0 0;
    font-size: 12px;
    color: #a5a29c;
}

/* ---------- Панель над сеткой ---------- */
.rk-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e6e4e0;
    border-radius: 4px;
}

/* ---------- Сетка карточек ---------- */
.rk-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.rk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6e4e0;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.rk-card:hover {
    border-color: #dcd8d0;
    box-shadow: 0 14px 34px rgba(15, 15, 15, .09);
}
.rk-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    padding: 16px;
    background: #ffffff;
}
.rk-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}
.rk-card:hover .rk-card__media img {
    transform: scale(1.04);
}
.rk-card__noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f6f5f3;
    border-radius: 3px;
    font-size: 12px;
    color: #a5a29c;
}
.rk-card__brand {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 7px;
    background: #f2f0ec;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #6d6b66;
    z-index: 2;
}
.rk-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 7px;
    padding: 0 16px 16px;
}
.rk-card__form {
    font-size: 11px;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #a08350;
}
.rk-card__name {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #0f0f0f;
}
.rk-card__colors {
    margin: 0;
    font-size: 12px;
    line-height: 17px;
    color: #8a8882;
}
.rk-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f1efeb;
    font-size: 12px;
    color: #a5a29c;
}
.rk-card__id {
    letter-spacing: .4px;
}
.rk-card__zoom {
    color: #0f0f0f;
    text-decoration: none;
}
.rk-card__zoom:hover {
    color: #a08350;
}

/* ---------- Пустое состояние и «показать ещё» ---------- */
.rk-empty {
    display: none;
    padding: 60px 20px;
    background: #ffffff;
    border: 1px solid #e6e4e0;
    border-radius: 4px;
    text-align: center;
}
.rk-empty.is-visible {
    display: block;
}
.rk-empty__title {
    margin: 0 0 8px;
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    color: #0f0f0f;
}
.rk-empty__text {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6d6d6d;
}
.rk-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 34px 0 0;
}
.rk-more__hint {
    font-size: 12px;
    color: #8a8882;
}
.rk-more.is-hidden {
    display: none;
}

/* ---------- Блок заявки ---------- */
.rk-cta {
    padding: 60px 0;
    background: #0f0f0f;
    color: #ffffff;
}
.rk-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.rk-cta__title {
    margin: 0 0 10px;
    font-family: 'Syne', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    color: #ffffff;
}
.rk-cta__text {
    max-width: 640px;
    margin: 0;
    font-size: 15px;
    line-height: 24px;
    color: #c9c9c9;
}

/* ---------- Служебные элементы панели ---------- */
.rk-toolbar__found {
    margin-right: auto;
    font-size: 13px;
    color: #6d6d6d;
}
.rk-toolbar__found b {
    color: #0f0f0f;
    font-weight: 600;
}
.rk-toolbar__search {
    width: 220px;
    padding: 8px 12px;
    border: 1px solid #e2e0dc;
    border-radius: 3px;
    font-size: 13px;
    outline: none;
}
.rk-toolbar__search:focus {
    border-color: #e1b261;
}
.rk-toolbar__sort {
    padding: 8px 10px;
    border: 1px solid #e2e0dc;
    border-radius: 3px;
    background: #ffffff;
    font-size: 13px;
    color: #222224;
    outline: none;
}
.rk-toolbar__reset {
    display: none;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid #d8d5cf;
    border-radius: 3px;
    font-size: 13px;
    color: #222224;
    cursor: pointer;
}
.rk-toolbar__reset:hover {
    border-color: #0f0f0f;
}
.rk-toolbar__reset.is-visible {
    display: inline-block;
}
.rk-toolbar__toggle {
    display: none;
    padding: 8px 14px;
    background: #0f0f0f;
    border: 1px solid #0f0f0f;
    border-radius: 3px;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1199px) {
    .rk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .rk-hero__title {
        font-size: 44px;
    }
    .rk-hero__img {
        flex-basis: 300px;
        max-width: 300px;
    }
}
@media (max-width: 991px) {
    .rk-hero {
        padding: 48px 0 44px;
    }
    .rk-hero .rk-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .rk-hero__img {
        flex-basis: auto;
        max-width: 240px;
    }
    .rk-layout {
        flex-direction: column;
        gap: 20px;
    }
    .rk-sidebar {
        position: static;
        flex: 1 1 auto;
        max-width: none;
        width: 100%;
    }
    .rk-sidebar.is-mobile-hidden {
        display: none;
    }
    .rk-toolbar__toggle {
        display: inline-block;
    }
    .rk-filters {
        display: flex;
        flex-wrap: wrap;
    }
    .rk-filters__head {
        flex: 1 0 100%;
    }
    .rk-filter {
        flex: 1 0 33.333%;
        border-bottom: 0;
        border-right: 1px solid #f0eeea;
    }
    .rk-filter:last-child {
        border-right: 0;
    }
    .rk-filter__body {
        padding-bottom: 8px;
    }
    .rk-filter__list {
        max-height: 180px;
    }
    .rk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .rk-hero__title {
        font-size: 32px;
    }
    .rk-hero__descr {
        font-size: 15px;
        line-height: 24px;
    }
    .rk-hero__stats {
        gap: 24px;
    }
    .rk-stat__value {
        font-size: 24px;
    }
    .rk-section {
        padding: 40px 0 56px;
    }
    .rk-section__title {
        font-size: 26px;
    }
    .rk-filter {
        flex: 1 0 100%;
        border-right: 0;
        border-bottom: 1px solid #f0eeea;
    }
    .rk-toolbar__search {
        width: 100%;
    }
    .rk-toolbar__found {
        flex: 1 0 100%;
        margin-right: 0;
    }
    .rk-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
    .rk-card__body {
        padding: 0 12px 12px;
    }
    .rk-card__media {
        padding: 10px;
    }
    .rk-cta__title {
        font-size: 24px;
    }
}
@media (max-width: 479px) {
    .rk-hero__title {
        font-size: 26px;
    }
    .rk-hero__actions .rk-btn {
        width: 100%;
    }
    .rk-grid {
        grid-template-columns: 1fr;
    }
    .rk-btn--more {
        width: 100%;
        min-width: 0;
    }
}


