.rb-catalog,
.rb-product-page {
    --rb-blue: #005da3;
    --rb-dark: #12212f;
    --rb-red: #e52329;
    --rb-soft: #eef1f4;
    --rb-line: #d9dfe5;
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--rb-dark);
}

.rb-catalog {
    padding: 64px 20px 96px;
    background: #fff;
}

.rb-catalog__inner {
    padding: 56px 48px 60px;
    border-radius: 22px;
    background: #efefef;
}

.rb-catalog__head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 56px;
    align-items: end;
    margin-bottom: 34px;
}

.rb-eyebrow,
.rb-card__category,
.rb-product__category {
    display: block;
    margin-bottom: 12px;
    color: var(--rb-blue);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.rb-catalog h2 {
    max-width: 720px;
    margin: 0;
    color: var(--rb-dark);
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 750;
    letter-spacing: -.045em;
    line-height: .98;
}

.rb-catalog__summary p {
    margin: 0 0 18px;
    color: #53616d;
    font-size: 16px;
    line-height: 1.65;
}

.rb-catalog__count {
    color: var(--rb-dark);
    font-size: 13px;
    font-weight: 700;
}

.rb-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.rb-filters button {
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #cbd2d8;
    border-radius: 999px;
    background: transparent;
    color: #354553;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.rb-filters button:hover,
.rb-filters button:focus-visible,
.rb-filters button.is-active {
    border-color: var(--rb-blue);
    background: var(--rb-blue);
    color: #fff;
    outline: none;
}

.rb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rb-card {
    overflow: hidden;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(18, 33, 47, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(18, 33, 47, .12);
}

.rb-card.is-filter-hidden,
.rb-card.is-limit-hidden {
    display: none;
}

.rb-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dfe4e8;
}

.rb-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.rb-card:hover .rb-card__media img {
    transform: scale(1.035);
}

.rb-card__badge,
.rb-card__badge-wrap .rb-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--rb-red);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
}

.rb-card__badge-wrap {
    position: relative;
    min-height: 54px;
}

.rb-card__body {
    padding: 22px 22px 24px;
}

.rb-card__category {
    margin-bottom: 8px;
    font-size: 10px;
}

.rb-card h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 720;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.rb-card h3 a {
    color: inherit;
    text-decoration: none;
}

.rb-card__spec {
    min-height: 44px;
    margin: 10px 0 18px;
    color: #6a7680;
    font-size: 13px;
    line-height: 1.6;
}

.rb-card__price {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 20px;
}

.rb-card__price strong {
    color: var(--rb-dark);
    font-size: 18px;
}

.rb-card__price del {
    color: #8c969e;
    font-size: 13px;
}

.rb-card__link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: var(--rb-blue);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.rb-catalog__more,
.rb-product__order {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    margin: 34px auto 0;
    padding: 12px 26px;
    border: 0;
    border-radius: 4px;
    background: var(--rb-blue);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.rb-catalog__more {
    display: flex;
}

.rb-catalog__more[hidden] {
    display: none;
}

.rb-product-page {
    padding: 200px 20px 96px;
    background: #fff;
}

body.single-roller_blind #breadcrumbs {
    display: none;
}

.rb-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.rb-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    color: #72808b;
    font-size: 12px;
}

.rb-breadcrumbs a {
    color: var(--rb-blue);
    text-decoration: none;
}

.rb-breadcrumbs a:hover,
.rb-breadcrumbs a:focus-visible {
    text-decoration: underline;
}

.rb-product {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
    gap: 58px;
    align-items: start;
}

.rb-product__main-image {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: var(--rb-soft);
}

.rb-product__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-product__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
    margin-top: 10px;
}

.rb-product__thumb {
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    aspect-ratio: 1;
    background: var(--rb-soft);
    cursor: pointer;
}

.rb-product__thumb.is-active {
    border-color: var(--rb-blue);
}

.rb-product__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-product__category {
    margin-bottom: 10px;
}

.rb-product h1 {
    margin: 0;
    color: var(--rb-dark);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.rb-product__badge {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--rb-red);
    color: #fff;
    font-size: 11px;
    font-weight: 750;
    text-transform: uppercase;
}

.rb-product__prices {
    display: flex;
    gap: 14px;
    align-items: baseline;
    margin-top: 22px;
}

.rb-product__prices strong {
    color: var(--rb-dark);
    font-size: 28px;
}

.rb-product__prices del {
    color: #87939c;
    font-size: 15px;
}

.rb-product__short {
    margin: 20px 0 0;
    color: #53616d;
    line-height: 1.65;
}

.rb-product__meta {
    margin-top: 28px;
    border-top: 1px solid var(--rb-line);
}

.rb-product__meta div,
.rb-specs div {
    display: grid;
    grid-template-columns: minmax(120px, .75fr) minmax(0, 1.25fr);
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--rb-line);
    font-size: 13px;
}

.rb-product__meta dt,
.rb-specs dt {
    color: #7a8791;
}

.rb-product__meta dd,
.rb-specs dd {
    margin: 0;
    color: var(--rb-dark);
    font-weight: 650;
}

.rb-product__order {
    margin: 28px 0 0;
}

.rb-product__back {
    display: inline-flex;
    margin: 18px 0 0 18px;
    color: var(--rb-blue);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.rb-product-section {
    margin-top: 76px;
}

.rb-product-section h2 {
    margin: 0 0 24px;
    color: var(--rb-dark);
    font-size: clamp(28px, 3vw, 42px);
    letter-spacing: -.035em;
}

.rb-product-description {
    max-width: 820px;
    color: #475762;
    font-size: 16px;
    line-height: 1.75;
}

.rb-product-faq details {
    border-top: 1px solid var(--rb-line);
}

.rb-product-faq details:last-child {
    border-bottom: 1px solid var(--rb-line);
}

.rb-product-faq summary {
    padding: 19px 0;
    color: var(--rb-dark);
    cursor: pointer;
    font-weight: 700;
}

.rb-product-faq details p {
    max-width: 820px;
    margin: 0 0 20px;
    color: #53616d;
    line-height: 1.65;
}

.rb-related {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 980px) {
    .rb-grid,
    .rb-related {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rb-product {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 720px) {
    .rb-catalog {
        padding: 40px 12px 64px;
    }

    .rb-catalog__inner {
        padding: 38px 18px 42px;
        border-radius: 16px;
    }

    .rb-catalog__head {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rb-grid,
    .rb-related {
        grid-template-columns: 1fr;
    }

    .rb-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .rb-filters button {
        flex: 0 0 auto;
    }

    .rb-product-page {
        padding: 112px 16px 64px;
    }
}
