/* ==========================================================================
   MODNODESIGN — базовые стили
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Bitum', Arial, sans-serif;
    background: #ffffff;
    color: #000000;
    /* как в макете: Figma рендерит текст со сглаживанием без субпиксельного утолщения */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* ==========================================================================
   Контейнер: максимальная ширина контента и боковые отступы
   ========================================================================== */

:root {
    /* ширина макета и внутренняя ширина контента (1920 − 64 × 2) */
    --container-max: 1920px;
    --container-inner: 1792px;
    --container-pad: 64px;
    /* отступ от края экрана до контента: контейнер + боковой отступ */
    --gutter: max(var(--container-pad), calc((100vw - var(--container-inner)) / 2));
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* ==========================================================================
   Верхняя панель
   ========================================================================== */

.topbar {
    background: #000000;
}

.topbar__container {
    display: flex;
    justify-content: center;
}

.topbar__nav {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 40px;
    padding: 0 20px;
}

.topbar__link {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #7a7a7a;
    white-space: nowrap;
}

.topbar__link--drop {
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: normal;
}

.topbar__arrow {
    width: 11px;
    height: 11px;
}

/* ==========================================================================
   Первый экран
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 1080px;
    overflow: hidden;
    background-color: #ffffff;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 60.972%, rgba(0, 0, 0, 0.2) 100%);
}

.hero__media {
    position: absolute;
    left: 0;
    top: 0;
    /* 2023 / 1920 — кадр в макете шире фрейма и обрезается справа */
    width: 105.365%;
    height: 100%;
    overflow: hidden;
    background: #221d18;
}

/* видео повторяет кроп из макета: показывается участок 10.92%–89.08% по X
   и 12.91%–87.09% по Y, то есть масштаб 127.95% × 134.81% от блока */
.hero__video {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 127.95%;
    height: 134.81%;
    transform: translate(-50%, -50%);
    max-width: none;
    object-fit: cover;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58.796%, rgba(0, 0, 0, 0.7) 100%);
}

/* --- Шапка --- */

.header {
    position: absolute;
    left: calc(50% + 0.5px);
    top: var(--header-top, 32px);
    transform: translateX(-50%);
    /* ширина ведётся скриптом по мере прокрутки: 1221 → 960 */
    width: min(var(--header-width, 1221px), calc(100vw - 32px));
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: width, top;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--header-padding, 16px);
    border-radius: 16px;
    background: rgba(50, 40, 40, 0.2);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.header__catalog {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 186px;
    height: 50px;
    padding: 0 16px;
    border-radius: 8px;
    background: #ffffff;
}

.header__catalog-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.header__catalog-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 19.5px;
    letter-spacing: 0.52px;
    text-transform: uppercase;
    color: #000000;
    white-space: nowrap;
}

.header__logo {
    position: absolute;
    left: 50%;
    top: 26.65px;
    transform: translateX(-50%);
    width: 229.096px;
    height: 25.764px;
}

.header__logo img {
    width: 100%;
    height: 100%;
}

.header__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.header__action img {
    width: 20px;
    height: 20px;
}

.header__phone-wrap {
    border-left: 1px solid #c7c7c7;
    padding-left: 17px;
}

.header__phone {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    white-space: nowrap;
}

/* --- Заголовок --- */

.hero__title-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 290px;
    padding: 8px clamp(16px, 3.33vw, 64px);
}

.hero__title {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    line-height: 1.3;
    letter-spacing: -2.5px;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
    /* компенсация trailing letter-spacing: в Figma межбуквенный интервал
       не добавляется после последнего символа строки */
    padding-right: 2.5px;
}

/* ==========================================================================
   Секция «Более 10 000 позиций» — плиточный каталог
   ========================================================================== */

.catalog {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px var(--container-pad);
    background: #ffffff;
}

.catalog__head {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
    width: 100%;
}

.catalog__title {
    /* две колонки ровно пополам: (1792 - 48) / 2 = 872 */
    flex: 0 0 calc(50% - 24px);
    min-width: 0;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    /* 68 × 1.2 = 81.6 → 82 */
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.catalog__note-wrap {
    flex: 0 0 calc(50% - 24px);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 104px;
}

.catalog__note {
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.12px;
    color: #000000;
}

.catalog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(4, 297px);
    gap: 12px;
    width: 100%;
    height: 1224px;
}

.tile {
    position: relative;
    display: block;
    overflow: hidden;
    background: #d9d9d9;
}

.tile__img {
    position: absolute;
    max-width: none;
    /* в макете заливка картинок — FILL, то есть кадрирование по принципу cover */
    object-fit: cover;
}

.tile__caption {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.tile--dark .tile__caption {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.tile__label {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    /* 32 × 1.2 = 38.4 → 38 */
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
    white-space: nowrap;
}

/* Раскладка плиток и кадрирование картинок — как в макете */

.tile--sofa {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
}

.tile--sofa .tile__img {
    left: -42px;
    top: -538px;
    width: 933px;
    height: 1165px;
}

.tile--tables {
    grid-column: 3;
    grid-row: 1;
}

.tile--tables .tile__img,
.tile--wardrobes .tile__img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.tile--kids {
    grid-column: 4;
    grid-row: 1;
}

.tile--kids .tile__img {
    left: -11.5px;
    top: -189px;
    width: 464px;
    height: 580px;
}

.tile--wardrobes {
    grid-column: 3;
    grid-row: 2;
}

.tile--light {
    grid-column: 4;
    grid-row: 2 / span 2;
}

.tile--light .tile__img {
    left: -14.5px;
    top: -53.5px;
    width: 471px;
    height: 661px;
}

.tile--rugs {
    grid-column: 1;
    grid-row: 3;
}

.tile--rugs .tile__img {
    left: -23px;
    top: -258px;
    width: 512px;
    height: 640px;
}

.tile--decor {
    grid-column: 2;
    grid-row: 3;
}

.tile--decor .tile__img {
    left: -0.5px;
    top: -184px;
    width: 441px;
    height: 550px;
}

.tile--textile {
    grid-column: 3;
    grid-row: 3;
}

.tile--textile .tile__img {
    left: 0;
    top: -59px;
    width: 441px;
    height: 441px;
}

.tile--outdoor {
    grid-column: 1;
    grid-row: 4;
}

.tile--outdoor .tile__img {
    left: -1px;
    top: -125.5px;
    width: 442px;
    height: 550px;
}

.tile--beds {
    grid-column: 2 / span 2;
    grid-row: 4;
}

.tile--beds .tile__img {
    left: -11.5px;
    top: -505.5px;
    width: 903px;
    height: 1129px;
}

.tile--tableware {
    grid-column: 4;
    grid-row: 4;
}

.tile--tableware .tile__img {
    left: -11.5px;
    top: -140.5px;
    width: 464px;
    height: 580px;
}

/* ==========================================================================
   Секция «Дизайнеры рекомендуют»
   ========================================================================== */

.recommend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad) 120px;
    background: #ffffff;
}

.recommend__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.recommend__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 72px;
    padding-top: 15px;
}

.filter,
.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 57.125px;
    padding: 0 24.945px;
    border: 0.945px solid #000000;
    border-radius: 50px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 14.4px;
    letter-spacing: -0.12px;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.filter--active {
    padding: 0 24px;
    border: 0;
    background: #221d18;
    color: #ffffff;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 10px;
    width: 100%;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.product__link {
    display: block;
    width: 100%;
}

.product__img {
    width: 100%;
    height: 616px;
    object-fit: cover;
}

.product__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    text-align: center;
    color: #363636;
}

.product__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.product__name {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 15px;
    line-height: 21px;
    white-space: nowrap;
}

.product__desc {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    opacity: 0.5;
    white-space: nowrap;
}

.product__price {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    white-space: nowrap;
}

/* ==========================================================================
   Секция «Идеи дизайна интерьера»
   ========================================================================== */

.ideas {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    /* слева — по контейнеру, справа лента уходит за край экрана */
    padding: 0 0 120px var(--gutter);
    background: #ffffff;
    overflow: clip; /* clip, а не hidden: hidden делает блок скролл-контейнером
       и ломает появление по view() у вложенных элементов */
}

.ideas__title {
    padding-right: var(--gutter);
}

/* широкая кнопка не должна доезжать до края экрана — она часть контейнера */
.ideas > .ideas__all,
.blog > .ideas__all,
.reviews > .ideas__all {
    width: auto;
    margin-right: var(--gutter);
    align-self: stretch;
}

.ideas__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    /* 52 × 1.2 = 62.4 → 62 */
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.ideas__list {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding-bottom: 40px;
}

.idea {
    flex: 0 0 726px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.idea__media {
    position: relative;
    width: 100%;
    height: 368px;
    overflow: hidden;
}

.idea__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* первая карточка: в макете кадр обрезан по вертикали (CROP 62.5%–96.9%) */
.idea__img--crop {
    height: 290.65%;
    top: -181.74%;
    object-fit: fill;
}

.idea__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    padding-right: 152px;
}

.idea__tags {
    display: flex;
    gap: 8px;
    width: 100%;
}

.idea__name {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.idea__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.idea__avatar {
    flex-shrink: 0;
    width: 61px;
    height: 61px;
    border-radius: 16px;
    object-fit: cover;
}

.idea__avatar--empty {
    display: block;
    border-radius: 24px;
    background: #d9d9d9;
}

.idea__author-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.idea__author-name {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    white-space: nowrap;
}

.idea__author-role {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -0.12px;
    color: #b8b8b8;
    opacity: 0.6;
    white-space: nowrap;
}

.ideas__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 80px;
    border: 1px solid #000000;
    border-radius: 8px;
}

.ideas__all-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.ideas__all-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Секция «8 лет помогаем реализовывать интерьеры»
   ========================================================================== */

.about {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about__hero {
    position: relative;
    width: 100%;
    height: 905px;
    overflow: clip; /* clip, а не hidden: hidden делает блок скролл-контейнером
       и ломает появление по view() у вложенных элементов */
}

.about__media {
    /* фон растений — на всю ширину секции; пропорции кадра из макета
       сохранены: 1983 / 1920 по ширине и 1020 / 905 по высоте */
    position: absolute;
    left: -2.19%;
    top: 0;
    width: 103.28%;
    height: 112.71%;
}

.about__bg {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

/* содержимое блока — в контейнере: 1824 = 1920 − 48 × 2 (отступ из макета) */
.about__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1824px;
    height: 100%;
    margin: 0 auto;
}

.about__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 29, 24, 0.5);
}

.about__title {
    position: absolute;
    left: 0;
    top: 102.17px;
    width: 1175px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
}

.about__lead {
    position: absolute;
    left: 0;
    top: 291px;
    width: 734px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #ffffff;
}

.about__line {
    position: absolute;
    background: #cbc2bd;
    opacity: 0.3;
}

.about__line--v1 { left: 1807.49px; top: 430.72px; width: 1px; height: 132px; }
.about__line--h1 { left: 1458.55px; top: 633.5px;  width: 245px; height: 1px; }
.about__line--v2 { left: 1353.61px; top: 705.28px; width: 1px; height: 132px; }
.about__line--v3 { left: 1353.61px; top: 430.72px; width: 1px; height: 132px; }
.about__line--v4 { left: 899.73px;  top: 705.28px; width: 1px; height: 132px; }
.about__line--h2 { left: 1005.96px; top: 633.5px;  width: 244px; height: 1px; }
.about__line--v5 { left: 899.73px;  top: 430.72px; width: 1px; height: 132px; }

.about__stat {
    position: absolute;
}

.about__stat--1 { left: 935.94px; top: 413.23px; }
.about__stat--2 { left: 1388px;   top: 413.23px; }
.about__stat--3 { left: 936px;    top: 706px; }
.about__stat--4 { left: 1388px;   top: 705px; }

.about__stat-value {
    display: block;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 43px;
    line-height: 34px;
    color: #fdfdfd;
    white-space: nowrap;
}

.about__stat-label {
    display: block;
    width: 310px;
    margin-top: 19.78px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #ffffff;
    opacity: 0.7;
}

/* --- Три колонки аудиторий --- */

.audience {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.audience__col {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 374px;
    padding: 68px;
    overflow: hidden;
    background: #221d18;
}

.audience__col + .audience__col {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.audience__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.audience__icon {
    width: 32px;
    height: 32px;
}

.audience__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
}

.audience__text {
    width: 100%;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    /* 18 × 1.2 = 21.6 → 22 */
    line-height: 22px;
    color: #ffffff;
    opacity: 0.6;
}

.audience__link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.audience__link-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
}

.audience__link-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Секция-цитата «60% наших клиентов»
   ========================================================================== */

.pinterest {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
    height: 860px;
    padding: 0 328px;
    background: #d2cfcb;
}

.pinterest__quote {
    width: 1253px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    white-space: pre-wrap;
    color: #000000;
}

.pinterest__accent {
    color: #686460;
}

.pinterest__logo {
    /* логотип стоит прямо в строке перед словом Pinterest и масштабируется
       вместе с кеглем: 53 / 68 = 0.78em */
    display: inline-block;
    width: 0.78em;
    height: 0.78em;
    margin-right: 0.06em;
    vertical-align: -0.1em;
}

.idea__author-role--dark {
    color: #000000;
}

/* ==========================================================================
   Секция «Реальные проекты, а не просто красивые рендеры»
   ========================================================================== */

.projects {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-bottom: 120px;
    background: #ffffff;
}

.projects__media {
    position: relative;
    height: 1035px;
    align-self: start;
}

.projects__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.projects__photos {
    /* прижата к правому верхнему углу фото */
    position: absolute;
    right: 27px;
    top: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 40px;
    background: rgba(0, 0, 0, 0.3);
}

.projects__photos-icon {
    width: 24px;
    height: 24px;
}

.projects__photos-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 18.2px;
    color: #ffffff;
    white-space: nowrap;
}

.projects__view {
    /* по центру нижнего края фото */
    position: absolute;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 80px;
    padding: 0 40px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    overflow: hidden;
}

.projects__view-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
}

.projects__view-icon {
    width: 24px;
    height: 24px;
}

.projects__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 96px;
    padding: 48px;
    align-self: start;
}

.projects__note {
    width: 365px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
    opacity: 0.4;
}

.projects__title {
    width: 813px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

.projects__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.projects__item--muted {
    opacity: 0.4;
}

.projects__icon {
    width: 32px;
    height: 32px;
}

.projects__item-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 19px;
    width: 100%;
    text-align: center;
}

.projects__item-name {
    width: 100%;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.projects__item-desc {
    width: 100%;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -0.12px;
    color: #020919;
    opacity: 0.6;
}

/* ==========================================================================
   Секция «Полезные материалы»
   ========================================================================== */

.blog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 0 0 120px var(--gutter);
    background: #ffffff;
    overflow: clip; /* clip, а не hidden: hidden делает блок скролл-контейнером
       и ломает появление по view() у вложенных элементов */
}

.blog__head {
    padding-right: var(--gutter);
}

.blog__head {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}

.blog__title {
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.blog__nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.blog__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6px 18px;
    border-radius: 12px;
    background: #221d18;
    overflow: hidden;
}

.blog__arrow--prev {
    transform: rotate(180deg);
}

.blog__arrow img {
    width: 24px;
    height: 24px;
    max-width: none;
}

.blog__list {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding-bottom: 40px;
}

.post {
    flex: 0 0 726px;
    /* текст описания в макете шире колонки и выходит за неё — не даём ему распирать карточку */
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.post__media {
    position: relative;
    flex-shrink: 0;
    width: 272px;
    height: 368px;
}

.post__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.post__body {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.post__tags {
    display: flex;
    gap: 8px;
    width: 100%;
}

.tag--inter {
    padding: 0 16.945px;
    font-family: 'Inter', Arial, sans-serif;
    text-transform: none;
}

.post__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.post__text {
    width: 438px;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    /* 16 × 1.2 = 19.2 → 19 */
    line-height: 19px;
    color: #7a7a7a;
}

.ideas__all-text--bold {
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    letter-spacing: normal;
}

/* ==========================================================================
   Секция Instagram
   ========================================================================== */

.insta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad) 120px;
    background: #ffffff;
}

.insta__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.insta__logo {
    width: 100px;
    height: 100px;
}

.insta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 1782px;
    padding: 0 27.844px;
}

.insta__title {
    width: 996px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

.insta__accent {
    color: #d2cfcb;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.insta__sub {
    width: 996px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
}

.insta__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    overflow: hidden;
}

.insta__cell {
    position: relative;
    height: 687px;
    align-self: end;
    overflow: hidden;
}

.insta__link {
    position: relative;
    display: block;
    width: 444px;
    height: 789px;
}

.insta__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.insta__views {
    position: absolute;
    left: 0;
    bottom: 102px;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 103px;
    padding: 16px;
}

.insta__views-icon {
    width: 24px;
    height: 24px;
}

.insta__views-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
    white-space: nowrap;
}

/* ==========================================================================
   Форма заявки
   ========================================================================== */

.lead {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    /* до 1920 фото и тёмный фон уходят до краёв экрана,
       шире — секция стоит по центру, по бокам белый фон страницы */
    max-width: var(--container-max);
    margin: 0 auto;
    background: #221d18;
    overflow: clip; /* clip, а не hidden: hidden делает блок скролл-контейнером
       и ломает появление по view() у вложенных элементов */
}

.lead__media {
    position: relative;
    width: 952.195px;
    align-self: stretch;
}

.lead__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.lead__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 123px;
    padding: 64px;
    align-self: start;
}

.lead__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 794px;
}

.lead__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
}

.lead__text {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #ffffff;
    opacity: 0.8;
}

.lead__form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
}

.lead__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.lead__row {
    display: flex;
    gap: 16px;
    width: 100%;
}

.lead__field {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    align-items: center;
    height: 70px;
    padding: 24px 0 24px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.lead__field--area {
    align-items: flex-start;
    height: 103px;
}

.lead__input {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #ffffff;
}

.lead__input--area {
    height: 55px;
    resize: none;
}

.lead__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.lead__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 20px 98px;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.lead__submit-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.lead__submit-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Квиз «Для чего вам нужна мебель?»
   ========================================================================== */

.quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    background: #d2cfcb;
}

.quiz__hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    padding: 30px 0;
    overflow: hidden;
}

.quiz__hint-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--container-max);
    height: 50px;
    padding: 0 var(--container-pad);
}

.quiz__hint-avatar {
    flex-shrink: 0;
    width: 41px;
    height: 41px;
    border-radius: 16px;
    object-fit: cover;
}

.quiz__hint-text {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24.8px;
    letter-spacing: -0.1px;
    color: #565252;
    white-space: nowrap;
}

.quiz__progress {
    width: 100%;
    background: #bab6b0;
}

.quiz__progress-bar {
    display: block;
    width: 474px;
    height: 6px;
    background: #000000;
}

.quiz__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    width: 100%;
    max-width: var(--container-max);
    padding: 48px var(--container-pad);
}

.quiz__title {
    width: 100%;
    max-width: var(--container-inner);
    height: 82px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.quiz__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.quiz__option {
    display: flex;
    align-items: center;
    gap: 36px;
    height: 144px;
    padding: 32px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.quiz__option--active {
    border-color: #000000;
}

.quiz__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
}

.quiz__label {
    flex: 1 0 0;
    min-width: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 24px;
    /* 24 × 1.2 = 28.8 → 29 */
    line-height: 29px;
    letter-spacing: -0.12px;
    color: #000000;
}

.quiz__radio {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.quiz__radio--empty {
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 24px;
}

.quiz__foot {
    width: 100%;
    max-width: var(--container-max);
    padding: 0 var(--container-pad) 64px;
}

.quiz__foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-inner);
    margin: 0 auto;
}

.quiz__step {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 24.8px;
    letter-spacing: -0.1px;
    color: #565252;
    white-space: nowrap;
}

.quiz__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz__back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 6px 2px;
    border: 1px solid #221d18;
    border-radius: 8px;
    overflow: hidden;
    transform: rotate(180deg);
}

.quiz__back img {
    width: 24px;
    height: 24px;
}

.quiz__next {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 6px 18px;
    border-radius: 8px;
    background: #221d18;
    overflow: hidden;
}

.quiz__next-text {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
}

.quiz__next-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    padding: 16px 179px;
    background: #ffffff;
    overflow: hidden;
}

.footer__big {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 233px;
    /* 233 × 1.2 = 279.6 → 280 */
    line-height: 280px;
    text-transform: uppercase;
    text-align: center;
    color: #272727;
    white-space: nowrap;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer__link {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 32px;
    text-transform: uppercase;
    text-align: center;
    color: #272727;
    white-space: nowrap;
}

.footer__link--muted {
    opacity: 0.21;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 24.8px;
    letter-spacing: -0.1px;
    color: #565252;
}

.footer__address,
.footer__address {
    text-align: center;
    margin-bottom: 10px;
}

.footer__legal,
.footer__copy {
    margin: 0;
    white-space: pre;
}

.footer__copy {
    opacity: 0.4;
}

.footer__qr {
    position: absolute;
    left: 1450px;
    top: 188.23px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #ffffff;
}

.footer__qr-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
}

.footer__qr-text {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 19.5px;
    text-align: center;
    color: #7a7a7a;
    white-space: nowrap;
}

/* ==========================================================================
   Шапка, фиксированная при прокрутке
   ========================================================================== */

.header.header--fixed {
    /* специфичность выше, чем у .header--solid со внутренних страниц,
       иначе там шапка остаётся в потоке */
    position: fixed;
    left: 50%;
    top: var(--header-top, 32px);
    transform: translateX(-50%);
    z-index: 90;
}

/* тень появляется не сразу, а когда шапка уже заметно сжалась */
.header--shrunk {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* на внутренних страницах шапка не прозрачная */
.header--solid.header--fixed {
    background: #322828;
}

/* место, которое занимала шапка в потоке, чтобы контент не прыгал */
.page-header.is-fixed {
    min-height: 178px;
}

/* ==========================================================================
   Шапка внутренних страниц
   ========================================================================== */

.page-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 0 64px;
    background: #ffffff;
}

.header--solid {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    background: #322828;
}

/* ==========================================================================
   Каталог: крошки, заголовок раздела, подкатегории
   ========================================================================== */

.cathead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    height: 400px;
    padding: 0 8px;
    background: #ffffff;
}

.cathead__crumbs {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #000000;
}

.cathead__crumbs-current {
    color: rgba(0, 0, 0, 0.5);
}

.cathead__title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 8px;
    text-align: center;
}

.cathead__title {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
    white-space: nowrap;
}

.cathead__sub {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.6;
}

.subcats {
    display: flex;
    align-items: flex-start;
    gap: 29px;
}

.subcat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 136px;
}

.subcat__media {
    position: relative;
    display: block;
    width: 99px;
    height: 130px;
}

.subcat__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.subcat__name {
    width: 100%;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #000000;
}

/* --- Каталог: фильтры --- */

.catfilters {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 32px 64px;
    background: #ffffff;
}

.catfilters__left {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.catfilters__row {
    display: flex;
    align-items: center;
    gap: 29px;
    width: 100%;
}

.catfilter {
    display: flex;
    align-items: center;
    gap: 7px;
}

.catfilter--muted {
    opacity: 0.5;
}

.catfilter__text,
.catchip__text,
.catfilters__count {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.catfilter__caret {
    width: 8px;
    height: 4px;
}

.catchips {
    display: flex;
    align-items: center;
    gap: 6px;
}

.catchip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #f2f2f2;
}

.catchip--clear {
    gap: 0;
    background: #ffffff;
}

.catchip__cross {
    width: 9px;
    height: 9px;
}

.catfilters__count {
    margin: 0;
}

/* --- Каталог: сетка товаров --- */

.catgrid {
    display: grid;
    grid-template-columns: repeat(4, 436px);
    justify-content: space-between;
    column-gap: 16px;
    row-gap: 40px;
    padding: 0 64px 40px;
    background: #ffffff;
}

.catgrid .product {
    align-self: start;
}

/* --- Пагинация --- */

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
    background: #ffffff;
}

.pager__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 8px;
    opacity: 0.4;
    overflow: hidden;
}

.pager__arrow--prev {
    transform: rotate(180deg);
}

.pager__arrow img {
    width: 24px;
    height: 24px;
    max-width: none;
}

.pager__page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
    overflow: hidden;
}

.pager__page--current {
    border-color: #221d18;
}

/* --- Блок «Не нашли точную модель» --- */

.lead__rich {
    width: 100%;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
}

.lead__rich-text {
    margin: 0 0 16px;
}

.lead__list {
    margin: 0;
    padding-left: 22.5px;
    list-style: disc;
}

.lead__list-item {
    margin-bottom: 8px;
}

.lead__list-item:last-child {
    margin-bottom: 0;
}

/* --- Ткани и палитры --- */

.fabrics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 320px;
    /* обводка в макете внутренняя и не добавляет высоты — поэтому inset-тень, а не border */
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.fabrics__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.fabrics__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    width: 100%;
    text-align: center;
}

.fabrics__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
    text-align: center;
}

.fabrics__text {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
}

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

.fabrics__item {
    position: relative;
    display: block;
    width: 163px;
    height: 163px;
}

.fabrics__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.fabrics__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 32px;
    border-radius: 8px;
    background: #000000;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

/* --- Как проходит заказ --- */

.steps {
    display: flex;
    align-items: flex-start;
    gap: 55px;
    padding: 120px 64px;
    background: #ffffff;
}

.steps__left,
.steps__right {
    flex: 1 0 0;
    min-width: 0;
}

.steps__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.steps__heading {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.steps__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.steps__ol {
    width: 100%;
    margin: 0;
    padding-left: 30px;
    list-style: decimal;
}

.steps__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
}

.steps__text {
    width: 100%;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    /* 16 × 1.4 = 22.4 → 22 */
    line-height: 22px;
    color: #7a7a7a;
}

/* --- Проверяем товар до отправки --- */

.checkblock {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 64px 120px;
    background: #ffffff;
}

.checkblock__inner {
    display: flex;
    align-items: stretch;
    gap: 48px;
    width: 100%;
    padding: 64px;
    background: #221d18;
    overflow: hidden;
}

.checkblock__left {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
}

.checkblock__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #ffffff;
}

.checkblock__text {
    width: 100%;
    opacity: 0.6;
}

.checkblock__p {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    /* 20 × 1.4 = 28 */
    line-height: 28px;
    letter-spacing: -0.12px;
    color: #ffffff;
}

.checkblock__button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #ffffff;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
}

.checkblock__media {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    background: #000000;
    overflow: hidden;
}

.checkblock__img {
    position: absolute;
    left: 0;
    top: -113px;
    width: 844px;
    height: 687px;
    max-width: none;
    object-fit: cover;
}

.projects--inner .projects__list {
    padding: 48px 48px 0;
}

/* --- Блок «Вы дизайнер?» --- */

.fabrics--designer {
    box-shadow: inset 0 1px 0 #d2cfcb, inset 0 -1px 0 #d2cfcb;
}

.designer__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.designer__feats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    gap: 15px 36px;
    width: 100%;
}

.designer__feat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.designer__feat-icon {
    width: 32px;
    height: 32px;
}

.designer__feat-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    /* 14 × 1.2 = 16.8 → 17 */
    line-height: 17px;
    letter-spacing: -0.12px;
    color: #000000;
    white-space: nowrap;
}

/* --- SEO-текст в две колонки --- */

.seotext {
    display: flex;
    align-items: flex-start;
    gap: 104px;
    padding: 120px 64px;
    background: #ffffff;
}

.seotext__left,
.seotext__right {
    flex: 1 0 0;
    min-width: 0;
}

.seotext__right {
    padding-top: 24px;
}

.seotext__heading {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.seotext__p {
    width: 100%;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #000000;
}

.topbar--inner {
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.steps__item--fixed {
    height: 62px;
}

/* --- Выпадающий список фильтра --- */

.catdrop {
    position: absolute;
    left: 110px;
    top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 196px;
    padding: 24px;
    background: #000000;
}

.catdrop__item {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 32px;
    color: #ffffff;
}

.catdrop__item--muted {
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Карточка товара
   ========================================================================== */

.crumbs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px 40px;
    background: #ffffff;
}

.crumbs__link {
    color: #000000;
}

.pcard {
    display: flex;
    align-items: flex-start;
    gap: 57px;
    padding: 0 64px 72px;
    background: #ffffff;
}

.pcard__gallery {
    flex: 1 0 0;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8.701754px;
}

.pcard__shot {
    position: relative;
    display: block;
    aspect-ratio: 720 / 900;
}

.pcard__shot--tall {
    aspect-ratio: 960 / 1200;
}

.pcard__shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.pcard__info {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
}

.pcard__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.pcard__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.pcard__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.pcard__sub {
    width: 794px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.6;
}

.pcard__color {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 387px;
    height: 82px;
    padding: 15px 17px;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 8px;
    text-align: left;
}

.pcard__color-img {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.pcard__color-text {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pcard__color-label {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
    color: #7a7a7a;
}

.pcard__color-value {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    color: #000000;
}

.pcard__color-arrow {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.pcard__price {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
    white-space: nowrap;
}

.pcard__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.pcard__buttons {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
}

.pcard__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px;
    border-radius: 8px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
}

.pcard__btn--primary {
    background: #000000;
    color: #ffffff;
}

.pcard__btn--ghost {
    color: #000000;
    box-shadow: inset 0 0 0 1px #000000;
}

.pcard__fav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #000000;
    overflow: hidden;
}

.pcard__fav img {
    width: 20px;
    height: 20px;
}

.pcard__note {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.5;
    white-space: nowrap;
}

.pcard__bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 39px;
    width: 100%;
}

.pcard__manager {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;
    width: 100%;
    padding: 24px;
    border-radius: 8px;
    background: #d2cfcb;
}

.pcard__manager-quote {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
}

.pcard__manager-person {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pcard__manager-avatar {
    width: 81px;
    height: 81px;
    border-radius: 16px;
    object-fit: cover;
}

.pcard__manager-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.pcard__manager-name {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #000000;
    white-space: nowrap;
}

.pcard__manager-role {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.6;
    white-space: nowrap;
}

.pcard__messengers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pcard__messenger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(34, 29, 24, 0.2);
    border-radius: 8px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
}

.pcard__messenger img {
    width: 15px;
    height: 15px;
}

.pcard__feats {
    /* ровная сетка 2 × 2: иконки и подписи стоят колонка в колонку */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: start;
    gap: 15px 36px;
}

/* --- Характеристики товара --- */

.specs {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 64px;
    padding: 32px 0 56px;
    box-shadow: inset 0 1px 0 #000000;
    background: #ffffff;
}

.specs__title {
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.specs__table {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
}

.specs__names {
    width: 154px;
    opacity: 0.4;
}

.specs__values {
    width: 560px;
}

.specs__row {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    white-space: pre-wrap;
}

/* --- Аккордеон карточки товара --- */

.accord {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin: 0 64px;
    padding-bottom: 120px;
    background: #ffffff;
}

.accord__line {
    display: block;
    width: 100%;
    /* тень от элемента нулевой высоты не рисуется — линия задана фоном */
    height: 1px;
    background: #000000;
}

.accord__item {
    /* без gap: закрытая часть не должна оставлять пустое место */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accord__row {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin-top: 40px;
    cursor: pointer;
}

.accord__body {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    transition: grid-template-rows 0.35s ease;
}

.accord__body > * {
    overflow: hidden;
}

.accord__row--open + .accord__body {
    grid-template-rows: 1fr;
}

.accord__text {
    max-width: 1100px;
    margin: 0;
    padding-top: 24px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #7a7a7a;
}

.accord__title {
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.accord__plus {
    flex-shrink: 0;
    width: 44px;
    height: 42px;
    transition: transform 0.3s ease;
}

.accord__row--open .accord__plus {
    /* плюс превращается в крестик — знак «свернуть» */
    transform: rotate(45deg);
}

/* --- Блок тканей на карточке товара --- */

.fabrics--product {
    padding: 0 320px 120px;
    box-shadow: none;
}

.fabrics__buttons {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.fabrics__button--wide {
    width: 288px;
    padding: 20px 24px;
}

.fabrics__button--ghost {
    background: #ffffff;
    color: #000000;
    box-shadow: inset 0 0 0 1px #000000;
}

/* --- Похожие модели --- */

.similar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 0 64px 120px;
    background: #ffffff;
}

.similar__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

/* --- Часто задают --- */

.faq {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 64px 120px;
    background: #ffffff;
}

.faq__title {
    width: 884px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.faq__list {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 80px;
}

.faq__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 32px 0;
    box-shadow: inset 0 -1px 0 #000000;
    overflow: hidden;
}

.faq__row--open {
    align-items: flex-start;
}

.faq__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 619px;
}

/* ответ раскрывается по высоте содержимого: 0fr → 1fr анимируется */
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    transition: grid-template-rows 0.35s ease;
}

.faq__answer > * {
    overflow: hidden;
}

.faq__row--open .faq__answer {
    grid-template-rows: 1fr;
}

.faq__q {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    white-space: nowrap;
}

.faq__row--open .faq__q {
    white-space: normal;
}

.faq__a {
    width: 100%;
    margin: 0;
    /* отступ от вопроса живёт внутри раскрывающейся части, иначе он виден и в закрытом ряду */
    padding-top: 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #7a7a7a;
}

.faq__row {
    cursor: pointer;
}

.faq__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.faq__row--open .faq__icon {
    transform: rotate(-90deg);
}

/* ==========================================================================
   Портфолио (идеи дизайна интерьера)
   ========================================================================== */

.pfhead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-bottom: 48px;
    background: #ffffff;
}

.pfhead__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

.pfhead__filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.pfitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 80px;
    background: #ffffff;
}

.pfitem__gallery {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    width: 1852px;
    height: 622px;
}

.pfitem__main {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    height: 100%;
    overflow: hidden;
}

.pfitem__main-img {
    position: absolute;
    left: 0;
    top: -115.77%;
    width: 100%;
    height: 268.09%;
    max-width: none;
}

.pfitem__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 502px;
    height: 100%;
}

.pfitem__side-shot {
    position: relative;
    flex: 1 0 0;
    min-height: 0;
    width: 100%;
    overflow: hidden;
}

.pfitem__side-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.pfitem__side-img--crop {
    top: -84.03%;
    height: 207.1%;
    object-fit: fill;
}

.pfitem__bottom {
    display: flex;
    align-items: flex-end;
    gap: 160px;
    width: 100%;
    padding: 0 200px;
}

.pfitem__text {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.pfitem__tags {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.pfitem__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}

.pfitem__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.pfitem__desc {
    width: 100%;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #7a7a7a;
}

.pfitem__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 369px;
    height: 80px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #000000;
    overflow: hidden;
}

.pager--portfolio {
    padding-bottom: 60px;
}

/* --- Квиз со списком (портфолио) --- */

.quiz2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

.quiz2__hint {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: 110px;
    padding: 30px 0;
    background: #d2cfcb;
    overflow: hidden;
}

.quiz2__hint-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: var(--container-max);
    height: 50px;
    padding: 0 40px;
}

.quiz2__hint-avatar {
    flex-shrink: 0;
    width: 61px;
    height: 61px;
    border-radius: 16px;
    object-fit: cover;
}

.quiz2__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 45px 40px 55px;
    background: #d2cfcb;
}

.quiz2__title {
    width: 100%;
    max-width: 1832px;
    margin: 0 0 40px;
    text-align: left;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
    white-space: nowrap;
}

.quiz2__grid {
    display: grid;
    grid-template-columns: repeat(2, 909px);
    padding: 16px 0;
}

.quiz2__option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 909px;
    padding: 16px 0;
}

.quiz2__radio {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #3e3c3a;
    border-radius: 10px;
    opacity: 0.6;
}

.quiz2__radio--on {
    opacity: 1;
}

.quiz2__radio--on::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #3e3c3a;
}

.quiz2__label {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 24px;
    line-height: 29px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.quiz2__label--muted {
    font-weight: 300;
    opacity: 0.8;
}

.quiz2__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 99.398px;
    padding: 0 64px 45px;
    background: #d2cfcb;
}

.pfitem__main-img--plain {
    top: 0;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Коллекции
   ========================================================================== */

.colhead {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 0 8px 80px;
    background: #ffffff;
}

.collection {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    padding: 0 64px 72px;
    background: #ffffff;
}

.collection__media {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    height: 964.375px;
}

.collection__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.collection__info {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 48px;
    width: 867.5px;
}

.collection__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.collection__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.collection__desc {
    width: 794px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.6;
}

.collection__colors {
    display: flex;
    align-items: center;
    gap: 16px;
}

.collection__color {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 72px;
}

.collection__dot {
    width: 44px;
    height: 44px;
    border-radius: 22px;
}

.collection__dot[data-tone="sand"] { background: #d4c5b0; }
.collection__dot[data-tone="cream"] { background: #e8e0d5; }
.collection__dot[data-tone="latte"] { background: #b5a898; }
.collection__dot[data-tone="mocca"] { background: #7a6e65; }

.collection__tone {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.5;
    white-space: nowrap;
}

.collection__tags {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.collection__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #000000;
    overflow: hidden;
}

.collection__button-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.collection__button-count {
    color: rgba(0, 0, 0, 0.6);
}

.collection__button-icon {
    width: 24px;
    height: 24px;
}

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

.collection__thumb {
    position: relative;
    display: block;
    width: 163px;
    height: 216px;
    overflow: hidden;
}

.collection__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.collection__thumb-img--crop {
    top: -181.74%;
    height: 290.65%;
    object-fit: fill;
}

.fabrics--collections {
    box-shadow: inset 0 -1px 0 #000000;
}

.collection--reverse {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Сотрудничество
   ========================================================================== */

.coop {
    display: flex;
    align-items: flex-start;
    gap: 57px;
    padding: 0 64px 120px;
    background: #ffffff;
}

.coop__left {
    flex: 1 0 0;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
}

.coop__top {
    flex: 1 0 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
}

.coop__head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.coop__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.coop__sub {
    width: 794px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.6;
}

.coop__buttons {
    display: flex;
    align-items: center;
    gap: 9px;
}

.coop__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 48px;
    width: 100%;
    padding: 40px;
    background: #d2cfcb;
}

.coop__stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.coop__stat-value {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 43px;
    line-height: 34px;
    color: #000000;
    white-space: nowrap;
}

.coop__stat-label {
    margin-top: 20px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #000000;
    opacity: 0.7;
}

.coop__media {
    position: relative;
    flex: 1 0 0;
    min-width: 0;
    aspect-ratio: 960 / 1200;
}

.coop__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* --- Преимущества сотрудничества --- */

.benefits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 55px;
    padding: 0 232px 120px;
    background: #ffffff;
}

.benefits__head {
    width: 100%;
    padding-right: 152px;
}

.benefits__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 64px;
    width: 100%;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.benefit__icon {
    width: 48px;
    height: 48px;
}

.benefit__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    color: #000000;
}

.benefit__text {
    width: 100%;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: #7a7a7a;
}

.steps--coop {
    gap: 55px;
    padding: 0 64px 120px;
}

.steps--coop .steps__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.steps__lead {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22.5px;
    color: #7a7a7a;
    white-space: nowrap;
}

/* --- Отзывы дизайнеров --- */

.reviews {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding: 120px 0 120px var(--gutter);
    background: #d2cfcb;
    overflow: clip; /* clip, а не hidden: hidden делает блок скролл-контейнером
       и ломает появление по view() у вложенных элементов */
}

.reviews__title {
    padding-right: var(--gutter);
}

.reviews__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 52px;
    line-height: 62px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.reviews__list {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
    padding-bottom: 40px;
}

.review {
    flex: 0 0 726px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-right: 96px;
}

.review__quote {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 24px;
    /* 24 × 1.4 = 33.6 → 34 */
    line-height: 34px;
    letter-spacing: -0.12px;
    color: #000000;
}

.review__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding-right: 152px;
}

.review__tags {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.review__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.faq--coop {
    gap: 55px;
    padding: 120px 64px;
}

.faq--coop .faq__title {
    width: 884px;
    flex-shrink: 0;
}

.faq__list--coop {
    padding-left: 0;
}

.idea__body--coop {
    gap: 12px;
}

.idea__body--coop .idea__name {
    order: 1;
}

.idea__body--coop .idea__author {
    order: 2;
}

.idea__body--coop .idea__tags {
    order: 3;
}

/* ==========================================================================
   Оверлей меню каталога
   ========================================================================== */

.menu {
    position: relative;
    width: 100%;
    height: 1080px;
    background: #ffffff;
}

.menu__close {
    position: absolute;
    left: 1837px;
    top: 0;
    width: 83px;
    height: 83px;
}

.menu__close img {
    width: 100%;
    height: 100%;
}

.menu__cats {
    position: absolute;
    left: 167px;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 38.4px;
    width: 793px;
}

.menu__cat {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 32px;
    line-height: 38px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.menu__cat--active {
    color: rgba(0, 0, 0, 0.5);
}

.menu__cats-arrow {
    position: absolute;
    left: 242px;
    top: 6px;
    width: 24px;
    height: 24px;
}

.menu__content {
    position: absolute;
    left: 672px;
    top: 119px;
    width: 961px;
}

.menu__title {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
    white-space: nowrap;
}

.menu__row {
    display: flex;
    align-items: flex-start;
    gap: 29px;
    margin-top: 43px;
}

.menu__row + .menu__row {
    margin-top: 28px;
}

.menu__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 136px;
}

.menu__item-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 99 / 130;
}

.menu__item-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.menu__item-name {
    width: 100%;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    text-align: center;
    color: #000000;
}

.menu__all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 956px;
    height: 80px;
    margin-top: 43px;
    border-radius: 8px;
    box-shadow: inset 0 0 0 1px #000000;
    overflow: hidden;
}

.menu__all-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: -0.12px;
    text-align: center;
    color: #000000;
    white-space: nowrap;
}

.menu__all-icon {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   Интерактив: слайдеры, квиз, модальное меню
   ========================================================================== */

/* --- Swiper --- */

.ideas__slider,
.blog__slider,
.reviews__slider {
    width: 100%;
}

/* clip вместо hidden: скролл-контейнер ломает появление карточек по view().
   Селектор с классом самого Swiper — иначе побеждает стиль библиотеки */
.ideas__slider.swiper,
.blog__slider.swiper,
.reviews__slider.swiper {
    overflow-x: clip;
    overflow-y: clip;
}

.ideas__slider .swiper-wrapper,
.blog__slider .swiper-wrapper,
.reviews__slider .swiper-wrapper {
    align-items: flex-start;
}

.ideas__slider .swiper-slide,
.blog__slider .swiper-slide,
.reviews__slider .swiper-slide {
    width: auto;
    height: auto;
}

.blog__arrow {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blog__arrow:hover {
    opacity: 0.8;
}

.blog__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* --- Квиз --- */

.quiz__progress-bar {
    transition: width 0.35s ease;
}

.quiz__option {
    cursor: pointer;
    text-align: left;
    background: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quiz__option:hover {
    border-color: rgba(0, 0, 0, 0.55);
}

.quiz__option--active {
    border-color: #000000;
}

.quiz__radio--on {
    position: relative;
    border-color: #000000;
}

.quiz__radio--on::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #000000;
}

.quiz__next,
.quiz__back {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quiz__next:hover,
.quiz__back:hover {
    opacity: 0.85;
}

.quiz__next.is-disabled,
.quiz__back.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.quiz__next.is-hidden,
.quiz__back.is-hidden {
    display: none;
}

.quiz__grid--form {
    grid-template-columns: minmax(0, 1fr);
}

.quiz__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 900px;
}

.quiz__field {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
}

.quiz__field.is-error {
    border-color: #b3261e;
}

.quiz__input {
    width: 100%;
    border: 0;
    background: none;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #000000;
}

.quiz__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.quiz__submit {
    grid-column: 1 / -1;
    height: 70px;
    border-radius: 8px;
    background: #221d18;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quiz__submit:hover {
    opacity: 0.88;
}

.quiz__policy {
    grid-column: 1 / -1;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #565252;
}

.quiz__done {
    max-width: 900px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
}

.quiz2__option {
    cursor: pointer;
    text-align: left;
    background: none;
}

.quiz2__option:hover .quiz2__label {
    opacity: 1;
}

/* --- Модальное окно каталога --- */

body.is-locked {
    overflow: hidden;
}

.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 40px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
}

.catalog-modal.is-open {
    display: block;
    animation: modal-fade 0.25s ease;
}

@keyframes modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.catalog-modal .menu {
    position: relative;
    max-width: 1920px;
    min-height: 0;
    margin: 0 auto;
    border-radius: 16px;
    animation: modal-rise 0.3s ease;
}

@keyframes modal-rise {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.catalog-modal .menu__close {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.catalog-modal .menu__close:hover {
    opacity: 0.7;
}

.catalog-modal .menu__cat {
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.catalog-modal .menu__cat:hover {
    opacity: 0.55;
}

.header__catalog {
    cursor: pointer;
}

/* ==========================================================================
   Каталог 2: заголовок раздела, фильтры-сайдбар и сетка товаров (148:2073)
   ========================================================================== */

.cat2head {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.cat2head__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    padding-bottom: 48px;
}

.cat2head__title {
    width: 100%;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 68px;
    line-height: 82px;
    letter-spacing: -2px;
    text-transform: lowercase;
    text-align: center;
    color: #000000;
}

.cat2 {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad) 120px;
}

.cat2__inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: var(--container-inner);
    margin: 0 auto;
}

/* --- сайдбар фильтров --- */

.cat2__aside {
    display: flex;
    flex-direction: column;
    gap: 36px;
    flex: 0 0 233px;
    width: 233px;
}

.filters2__group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding: 32px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filters2__title {
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
}

.filters2__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.filters2__list--fixed {
    height: 180px;
}

.filters2__item {
    display: flex;
    align-items: center;
    width: 100%;
}

.filters2__link {
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.filters2__item--active .filters2__link {
    opacity: 0.4;
}

.filters2__link:hover {
    opacity: 0.55;
}

.filters2__check {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    cursor: pointer;
}

.filters2__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.filters2__box {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 2px;
    background: #ededed;
    transition: background-color 0.2s ease;
}

.filters2__input:checked + .filters2__box {
    background: #000000 url("../assets/icons/checkbox-checked.f90efd6f62aa.svg") center / 16px 16px no-repeat;
}

.filters2__check:hover .filters2__box {
    background-color: #e0e0e0;
}

.filters2__input:checked + .filters2__box,
.filters2__check:hover .filters2__input:checked + .filters2__box {
    background-color: #000000;
}

.filters2__label {
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    white-space: nowrap;
}

.filters2__more {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.filters2__more-text {
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 15px;
    line-height: 20px;
    color: #000000;
    white-space: nowrap;
}

.filters2__more-icon {
    display: block;
    width: 24px;
    height: 24px;
    margin-left: 1px;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.filters2__more:hover .filters2__more-icon {
    transform: rotate(90deg) translateX(3px);
}

/* --- сетка товаров --- */

.cat2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.pcard2 {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
    padding-bottom: 32px;
    text-decoration: none;
}

.pcard2__media {
    display: block;
    width: 100%;
    /* пропорции фото — 3:4, как в Instagram */
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.pcard2__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pcard2:hover .pcard2__media img {
    transform: scale(1.04);
}

.pcard2__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    text-align: center;
    color: #363636;
    margin-top: 15px;
}

.pcard2__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
}

.pcard2__name {
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 15px;
    line-height: 21px;
    color: #363636;
    white-space: nowrap;
}

.pcard2__desc {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #363636;
    opacity: 0.5;
    white-space: nowrap;
}

.pcard2__price {
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 21px;
    color: #363636;
    white-space: nowrap;
}

/* ==========================================================================
   Появление при прокрутке — на чистом CSS (scroll-driven animations)
   Работает без JS: таймлайн привязан к тому, как блок входит в экран.
   Анимируем блоки целиком, а не каждую карточку: на каждом кадре прокрутки
   браузер пересчитывает все активные анимации, и трёх десятков элементов
   хватало, чтобы скролл начал подтормаживать.
   ========================================================================== */

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* у фотографий только прозрачность: сдвиг заставляет браузер
   перерисовывать крупные картинки на каждом кадре */
@keyframes reveal-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {

        /* --- заголовки секций --- */
        .home .catalog__title,
        .home .recommend__title,
        .home .ideas__title,
        .home .about__title,
        .home .about__lead,
        .home .audience__title,
        .home .pinterest__text,
        .home .projects__title,
        .home .blog__title,
        .home .insta__title,
        .home .lead__title,
        .home .quiz__title {
            animation: reveal-up linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 60%;
        }

        /* --- фотографии: блоками, а не по одной карточке --- */
        .home .catalog__grid,
        .home .products,
        .home .ideas__slider,
        .home .blog__slider,
        .home .insta__grid,
        .home .projects__media,
        .home .lead__media {
            animation: reveal-fade linear both;
            animation-timeline: view();
            animation-range: entry 0% entry 45%;
            /* без этого браузер растеризует блок с фотографиями прямо во время
               появления и роняет один-два кадра; со слоем прокрутка ровная */
            will-change: opacity;
        }
    }
}

@media (min-width: 1920px) {

    .quiz {
        margin-top: 100px;
    }
}

/* ==========================================================================
   Ховер-эффекты (единые для всего сайта)
   ========================================================================== */

.tile,
.product__link,
.idea__media,
.post__media,
.subcat__media,
.insta__link,
.collection__thumb,
.fabrics__item,
.menu__item-media {
    overflow: hidden;
}

.tile__img,
.product__img,
.idea__img,
.post__img,
.subcat__img,
.insta__img,
.collection__thumb img,
.fabrics__item img,
.menu__item-media img {
    transition: transform 0.45s ease;
}

.tile:hover .tile__img,
.product__link:hover .product__img,
.idea:hover .idea__img,
.post:hover .post__img,
.subcat:hover .subcat__img,
.insta__link:hover .insta__img,
.collection__thumb:hover img,
.fabrics__item:hover img,
.menu__item:hover .menu__item-media img {
    transform: scale(1.05);
}

.product__name,
.idea__name,
.post__title,
.pfitem__title,
.menu__item-name,
.subcat__name {
    transition: opacity 0.2s ease;
}

.product:hover .product__name,
.idea:hover .idea__name,
.post:hover .post__title,
.menu__item:hover .menu__item-name,
.subcat:hover .subcat__name {
    opacity: 0.6;
}

.topbar__link,
.footer__link,
.header__phone,
.catfilter,
.catchip,
.pager__page,
.pager__arrow,
.header__action {
    transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar__link:hover,
.footer__link:hover,
.header__phone:hover,
.catfilter:hover,
.catchip:hover,
.header__action:hover {
    opacity: 0.7;
}

.filter,
.tag {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter:hover,
.tag:hover {
    background: #221d18;
    color: #ffffff;
}

.filter--active:hover {
    opacity: 0.88;
}

.lead__submit,
.fabrics__button,
.pcard__btn,
.checkblock__button,
.collection__button,
.ideas__all,
.pfitem__button,
.menu__all,
.projects__view {
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lead__submit:hover,
.fabrics__button:hover,
.pcard__btn:hover,
.checkblock__button:hover,
.projects__view:hover {
    opacity: 0.85;
}

.collection__button:hover,
.ideas__all:hover,
.pfitem__button:hover,
.menu__all:hover,
.pcard__btn--ghost:hover,
.pcard__fav:hover {
    background: #221d18;
    color: #ffffff;
}

.collection__button:hover .collection__button-text,
.collection__button:hover .collection__button-count,
.ideas__all:hover .ideas__all-text,
.pfitem__button:hover .ideas__all-text,
.menu__all:hover .menu__all-text {
    color: #ffffff;
}

.collection__button:hover .collection__button-icon,
.ideas__all:hover .ideas__all-icon,
.pfitem__button:hover .ideas__all-icon,
.menu__all:hover .menu__all-icon,
.pcard__fav:hover img {
    filter: invert(1);
}

.faq__row,
.accord__row {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.faq__row:hover,
.accord__row:hover {
    opacity: 0.65;
}

.pager__page:hover {
    border-color: rgba(34, 29, 24, 0.4);
}

.lead__input:focus,
.quiz__input:focus {
    outline: none;
}

.lead__field:focus-within {
    background: rgba(255, 255, 255, 0.12);
}

.quiz__field:focus-within {
    border-color: #221d18;
}

/* ==========================================================================
   Страница дизайн-системы (ui.html)
   ========================================================================== */

.ds-page {
    background: #ffffff;
}

.ds-head {
    padding: 80px clamp(16px, 3.33vw, 64px) 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ds-head__label {
    margin: 0 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.ds-head__title {
    margin: 0 0 16px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(36px, 4.7vw, 90px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.ds-head__text {
    max-width: 720px;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #565252;
}

.ds-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.ds-nav__link {
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ds-nav__link:hover {
    background: #221d18;
    color: #ffffff;
}

.ds-section {
    padding: 64px clamp(16px, 3.33vw, 64px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ds-title {
    margin: 0 0 32px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(28px, 2.7vw, 52px);
    line-height: 1.2;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.ds-subtitle {
    margin: 40px 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.ds-subtitle:first-of-type {
    margin-top: 0;
}

.ds-note {
    max-width: 860px;
    margin: 0 0 32px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    color: #565252;
}

.ds-note b {
    color: #000000;
}

.ds-colors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.ds-color {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-color__box {
    height: 88px;
    border-radius: 8px;
}

.ds-color__box--bordered {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ds-color__hex {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #000000;
    text-transform: uppercase;
}

.ds-color__name {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #7a7a7a;
}

.ds-types {
    display: flex;
    flex-direction: column;
}

.ds-type {
    display: flex;
    align-items: baseline;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ds-type__meta {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-type__size {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #000000;
}

.ds-type__font {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #7a7a7a;
}

.ds-type__sample {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Bitum', Arial, sans-serif;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.ds-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ds-row--dark {
    padding: 24px;
    border-radius: 8px;
    background: #d2cfcb;
}

.ds-pager {
    justify-content: flex-start;
    padding-bottom: 0;
}

.ds-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

.ds-cards .product__img {
    height: 380px;
}

.ds-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.ds-tiles .tile {
    height: 280px;
}

.ds-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-idea,
.ds-post {
    flex: 1 1 auto;
    width: 100%;
}

.ds-idea .idea__media {
    height: 260px;
}

.ds-idea .idea__body,
.ds-post .post__body {
    padding-right: 0;
}

.ds-post .post__text {
    width: 100%;
}

.ds-quiz-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.ds-form-dark {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 860px;
    padding: 32px;
    border-radius: 8px;
    background: #221d18;
}

.ds-form-light {
    max-width: 860px;
}

.ds-section code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f2f2f2;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #000000;
}

/* ==========================================================================
   Фокус: убираем синюю системную обводку, оставляем аккуратную
   только для навигации с клавиатуры
   ========================================================================== */

* {
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
label:focus,
[tabindex]:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid rgba(34, 29, 24, 0.45);
    outline-offset: 3px;
}

/* на тёмных фонах обводка светлая */

.lead :focus-visible,
.audience :focus-visible,
.checkblock :focus-visible,
.quiz__next:focus-visible,
.topbar :focus-visible,
.header :focus-visible {
    outline-color: rgba(255, 255, 255, 0.6);
}

input,
textarea,
button,
select {
    box-shadow: none;
}

input:focus,
textarea:focus {
    box-shadow: none;
}

/* ==========================================================================
   Адаптив: экраны уже макета (макет нарисован под 1920)
   Пропорции первого экрана сохраняются, шапка сжимается вместе с шириной окна
   ========================================================================== */

@media (max-width: 1919px) {

    .hero {
        /* 1080 / 1920 — та же пропорция, что в макете */
        height: 56.25vw;
    }

    .header {
        width: min(var(--header-width, 1221px), calc(100vw - 32px));
    }

    .hero__title-wrap {
        height: 26.852%;
    }

    .hero__title {
        /* 76 / 1920 */
        font-size: 3.958vw;
        letter-spacing: -0.13vw;
        padding-right: 0.13vw;
    }
}

/* ==========================================================================
   Интерактив: слайдеры, квиз, модальное меню
   ========================================================================== */

/* --- Swiper --- */

.ideas__slider,
.blog__slider,
.reviews__slider {
    width: 100%;
    overflow: hidden;
}

.ideas__slider .swiper-wrapper,
.blog__slider .swiper-wrapper,
.reviews__slider .swiper-wrapper {
    align-items: flex-start;
}

.ideas__slider .swiper-slide,
.blog__slider .swiper-slide,
.reviews__slider .swiper-slide {
    width: auto;
    height: auto;
}

.blog__arrow {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.blog__arrow:hover {
    opacity: 0.8;
}

.blog__arrow.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* --- Квиз --- */

.quiz__progress-bar {
    transition: width 0.35s ease;
}

.quiz__option {
    cursor: pointer;
    text-align: left;
    background: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.quiz__option:hover {
    border-color: rgba(0, 0, 0, 0.55);
}

.quiz__option--active {
    border-color: #000000;
}

.quiz__radio--on {
    position: relative;
    border-color: #000000;
}

.quiz__radio--on::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #000000;
}

.quiz__next,
.quiz__back {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quiz__next:hover,
.quiz__back:hover {
    opacity: 0.85;
}

.quiz__next.is-disabled,
.quiz__back.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.quiz__next.is-hidden,
.quiz__back.is-hidden {
    display: none;
}

.quiz__grid--form {
    grid-template-columns: minmax(0, 1fr);
}

.quiz__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 900px;
}

.quiz__field {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
}

.quiz__field.is-error {
    border-color: #b3261e;
}

.quiz__input {
    width: 100%;
    border: 0;
    background: none;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 19px;
    letter-spacing: -0.12px;
    color: #000000;
}

.quiz__input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.quiz__submit {
    grid-column: 1 / -1;
    height: 70px;
    border-radius: 8px;
    background: #221d18;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quiz__submit:hover {
    opacity: 0.88;
}

.quiz__policy {
    grid-column: 1 / -1;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #565252;
}

.quiz__done {
    max-width: 900px;
    margin: 0;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
}

.quiz2__option {
    cursor: pointer;
    text-align: left;
    background: none;
}

.quiz2__option:hover .quiz2__label {
    opacity: 1;
}

/* --- Модальное окно каталога --- */

body.is-locked {
    overflow: hidden;
}

.catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 40px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    overflow-y: auto;
}

.catalog-modal.is-open {
    display: block;
    animation: modal-fade 0.25s ease;
}

@keyframes modal-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.catalog-modal .menu {
    position: relative;
    max-width: 1920px;
    min-height: 0;
    margin: 0 auto;
    border-radius: 16px;
    animation: modal-rise 0.3s ease;
}

@keyframes modal-rise {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.catalog-modal .menu__close {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.catalog-modal .menu__close:hover {
    opacity: 0.7;
}

.catalog-modal .menu__cat {
    cursor: pointer;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.catalog-modal .menu__cat:hover {
    opacity: 0.55;
}

.header__catalog {
    cursor: pointer;
}

/* ==========================================================================
   Ховер-эффекты (единые для всего сайта)
   ========================================================================== */

.tile,
.product__link,
.idea__media,
.post__media,
.subcat__media,
.insta__link,
.collection__thumb,
.fabrics__item,
.menu__item-media {
    overflow: hidden;
}

.tile__img,
.product__img,
.idea__img,
.post__img,
.subcat__img,
.insta__img,
.collection__thumb img,
.fabrics__item img,
.menu__item-media img {
    transition: transform 0.45s ease;
}

.tile:hover .tile__img,
.product__link:hover .product__img,
.idea:hover .idea__img,
.post:hover .post__img,
.subcat:hover .subcat__img,
.insta__link:hover .insta__img,
.collection__thumb:hover img,
.fabrics__item:hover img,
.menu__item:hover .menu__item-media img {
    transform: scale(1.05);
}

.product__name,
.idea__name,
.post__title,
.pfitem__title,
.menu__item-name,
.subcat__name {
    transition: opacity 0.2s ease;
}

.product:hover .product__name,
.idea:hover .idea__name,
.post:hover .post__title,
.menu__item:hover .menu__item-name,
.subcat:hover .subcat__name {
    opacity: 0.6;
}

.topbar__link,
.footer__link,
.header__phone,
.catfilter,
.catchip,
.pager__page,
.pager__arrow,
.header__action {
    transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar__link:hover,
.footer__link:hover,
.header__phone:hover,
.catfilter:hover,
.catchip:hover,
.header__action:hover {
    opacity: 0.7;
}

.filter,
.tag {
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter:hover,
.tag:hover {
    background: #221d18;
    color: #ffffff;
}

.filter--active:hover {
    opacity: 0.88;
}

.lead__submit,
.fabrics__button,
.pcard__btn,
.checkblock__button,
.collection__button,
.ideas__all,
.pfitem__button,
.menu__all,
.projects__view {
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lead__submit:hover,
.fabrics__button:hover,
.pcard__btn:hover,
.checkblock__button:hover,
.projects__view:hover {
    opacity: 0.85;
}

.collection__button:hover,
.ideas__all:hover,
.pfitem__button:hover,
.menu__all:hover,
.pcard__btn--ghost:hover,
.pcard__fav:hover {
    background: #221d18;
    color: #ffffff;
}

.collection__button:hover .collection__button-text,
.collection__button:hover .collection__button-count,
.ideas__all:hover .ideas__all-text,
.pfitem__button:hover .ideas__all-text,
.menu__all:hover .menu__all-text {
    color: #ffffff;
}

.collection__button:hover .collection__button-icon,
.ideas__all:hover .ideas__all-icon,
.pfitem__button:hover .ideas__all-icon,
.menu__all:hover .menu__all-icon,
.pcard__fav:hover img {
    filter: invert(1);
}

.faq__row,
.accord__row {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.faq__row:hover,
.accord__row:hover {
    opacity: 0.65;
}

.pager__page:hover {
    border-color: rgba(34, 29, 24, 0.4);
}

.lead__input:focus,
.quiz__input:focus {
    outline: none;
}

.lead__field:focus-within {
    background: rgba(255, 255, 255, 0.12);
}

.quiz__field:focus-within {
    border-color: #221d18;
}

/* ==========================================================================
   Страница дизайн-системы (ui.html)
   ========================================================================== */

.ds-page {
    background: #ffffff;
}

.ds-head {
    padding: 80px clamp(16px, 3.33vw, 64px) 48px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ds-head__label {
    margin: 0 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.ds-head__title {
    margin: 0 0 16px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(36px, 4.7vw, 90px);
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.ds-head__text {
    max-width: 720px;
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #565252;
}

.ds-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 32px;
}

.ds-nav__link {
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
    font-family: 'Bitum', Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ds-nav__link:hover {
    background: #221d18;
    color: #ffffff;
}

.ds-section {
    padding: 64px clamp(16px, 3.33vw, 64px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.ds-title {
    margin: 0 0 32px;
    font-family: 'Bitum', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(28px, 2.7vw, 52px);
    line-height: 1.2;
    letter-spacing: -2px;
    text-transform: lowercase;
    color: #000000;
}

.ds-subtitle {
    margin: 40px 0 16px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    color: #7a7a7a;
}

.ds-subtitle:first-of-type {
    margin-top: 0;
}

.ds-note {
    max-width: 860px;
    margin: 0 0 32px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 23px;
    color: #565252;
}

.ds-note b {
    color: #000000;
}

.ds-colors {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.ds-color {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ds-color__box {
    height: 88px;
    border-radius: 8px;
}

.ds-color__box--bordered {
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.ds-color__hex {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #000000;
    text-transform: uppercase;
}

.ds-color__name {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
    color: #7a7a7a;
}

.ds-types {
    display: flex;
    flex-direction: column;
}

.ds-type {
    display: flex;
    align-items: baseline;
    gap: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.ds-type__meta {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ds-type__size {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 18px;
    color: #000000;
}

.ds-type__font {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: #7a7a7a;
}

.ds-type__sample {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Bitum', Arial, sans-serif;
    color: #000000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ds-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.ds-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.ds-row--dark {
    padding: 24px;
    border-radius: 8px;
    background: #d2cfcb;
}

.ds-pager {
    justify-content: flex-start;
    padding-bottom: 0;
}

.ds-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

.ds-cards .product__img {
    height: 380px;
}

.ds-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.ds-tiles .tile {
    height: 280px;
}

.ds-tile__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ds-idea,
.ds-post {
    flex: 1 1 auto;
    width: 100%;
}

.ds-idea .idea__media {
    height: 260px;
}

.ds-idea .idea__body,
.ds-post .post__body {
    padding-right: 0;
}

.ds-post .post__text {
    width: 100%;
}

.ds-quiz-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.ds-form-dark {
    display: flex;
    flex-direction: column;
    gap: 26px;
    max-width: 860px;
    padding: 32px;
    border-radius: 8px;
    background: #221d18;
}

.ds-form-light {
    max-width: 860px;
}

.ds-section code {
    padding: 2px 6px;
    border-radius: 4px;
    background: #f2f2f2;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    color: #000000;
}

/* ==========================================================================
   Фокус: убираем синюю системную обводку, оставляем аккуратную
   только для навигации с клавиатуры
   ========================================================================== */

* {
    -webkit-tap-highlight-color: transparent;
}

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
label:focus,
[tabindex]:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid rgba(34, 29, 24, 0.45);
    outline-offset: 3px;
}

/* на тёмных фонах обводка светлая */

.lead :focus-visible,
.audience :focus-visible,
.checkblock :focus-visible,
.quiz__next:focus-visible,
.topbar :focus-visible,
.header :focus-visible {
    outline-color: rgba(255, 255, 255, 0.6);
}

input,
textarea,
button,
select {
    box-shadow: none;
}

input:focus,
textarea:focus {
    box-shadow: none;
}

/* ==========================================================================
   Адаптив: 1600 / 1440 / 1280 / 1024 / 768 / 480
   Макет нарисован под 1920, поэтому ниже — пропорциональное сжатие
   и перестроение сеток. Никаких наложений: все фиксированные ширины
   переводятся в проценты, ленты уходят в горизонтальный скролл.
   ========================================================================== */

@media (max-width: 1919px) {

    :root {
        --container-pad: clamp(16px, 3.33vw, 64px);
    }

    /* --- общие горизонтальные отступы --- */

    .catalog,
    .recommend,
    .projects__list,
    .insta,
    .catgrid,
    .catfilters,
    .steps,
    .checkblock,
    .seotext,
    .pcard,
    .specs,
    .accord,
    .similar,
    .faq,
    .collection,
    .coop,
    .reviews,
    .pfitem__bottom {
        padding-left: clamp(16px, 3.33vw, 64px);
        padding-right: clamp(16px, 3.33vw, 64px);
    }

    .specs,
    .accord {
        margin-left: 0;
        margin-right: 0;
    }

    .fabrics,
    .benefits {
        padding-left: clamp(16px, 12vw, 320px);
        padding-right: clamp(16px, 12vw, 320px);
    }

    .pinterest {
        padding-left: clamp(16px, 17vw, 328px);
        padding-right: clamp(16px, 17vw, 328px);
    }

    .footer {
        padding-left: clamp(16px, 9.3vw, 179px);
        padding-right: clamp(16px, 9.3vw, 179px);
    }

    /* --- типографика --- */

    .about__title,
    .catalog__title,
    .recommend__title,
    .insta__title,
    .steps__heading,
    .seotext__heading,
    .cathead__title,
    .pfhead__title,
    .quiz__title,
    .quiz2__title,
    .pcard__title,
    .pcard__price,
    .similar__title,
    .faq__title,
    .collection__title,
    .coop__title,
    .menu__title {
        font-size: clamp(30px, 3.54vw, 68px);
        line-height: 1.2;
    }

    .ideas__title,
    .fabrics__title,
    .projects__title,
    .blog__title,
    .lead__title,
    .checkblock__title,
    .benefits__title,
    .reviews__title,
    .specs__title,
    .accord__title,
    .pinterest__quote {
        font-size: clamp(26px, 2.7vw, 52px);
        line-height: 1.2;
    }

    .tile__label,
    .idea__name,
    .post__title,
    .audience__title,
    .projects__item-name,
    .pfitem__title,
    .review__title,
    .menu__cat {
        font-size: clamp(20px, 1.67vw, 32px);
        line-height: 1.2;
    }

    /* --- первый экран --- */

    .header {
        width: min(var(--header-width, 1221px), calc(100vw - 32px));
    }

    /* --- каталог-плитки --- */

    .catalog__head {
        gap: clamp(16px, 2.5vw, 48px);
    }

    .catalog__note-wrap {
        padding-right: clamp(0px, 5.4vw, 104px);
    }

    .catalog__grid {
        height: auto;
        grid-auto-rows: minmax(0, 1fr);
        aspect-ratio: 1792 / 1224;
    }

    /* --- товары --- */

    .catgrid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
    }

    .product__img,
    .catgrid .product__img {
        height: clamp(240px, 32vw, 616px);
    }

    /* --- ленты с горизонтальной прокруткой --- */

    .ideas__list,
    .blog__list,
    .reviews__list {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .ideas__list::-webkit-scrollbar,
    .blog__list::-webkit-scrollbar,
    .reviews__list::-webkit-scrollbar {
        display: none;
    }

    /* --- «8 лет помогаем»: из абсолютных координат в сетку --- */

    .about__hero {
        height: auto;
        min-height: 47.14vw;
        padding: clamp(40px, 5.3vw, 102px) clamp(16px, 2.5vw, 48px) clamp(40px, 4vw, 76px);
    }

    .about__inner {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        align-content: center;
        column-gap: clamp(16px, 2.5vw, 48px);
        row-gap: clamp(20px, 3vw, 56px);
        height: auto;
    }

    /* абсолютное фото не должно перекрывать текст */
    .about__media {
        z-index: 0;
    }

    .about__title,
    .about__lead,
    .about__stat {
        position: relative;
        z-index: 2;
        /* сбрасываем координаты из макетной абсолютной раскладки,
           иначе relative-элементы уезжают на эти значения */
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
    }

    .about__title {
        grid-column: 1 / 3;
        grid-row: 1;
        width: 100%;
        max-width: 15ch;
    }

    /* принудительный перенос из макета мешает, когда строка и так узкая:
       прячем сам <br>, пробел перед ним в разметке разделяет слова */
    .about__title br {
        display: none;
    }

    .about__lead {
        grid-column: 1 / 3;
        grid-row: 2;
        align-self: start;
        width: 100%;
        max-width: 46ch;
        margin-top: 0;
        font-size: clamp(14px, 1.04vw, 20px);
        line-height: 1.35;
    }

    .about__stat {
        width: 100%;
    }

    .about__stat--1 { grid-column: 3; grid-row: 1; align-self: end; }
    .about__stat--2 { grid-column: 4; grid-row: 1; align-self: end; }
    .about__stat--3 { grid-column: 3; grid-row: 2; align-self: start; }
    .about__stat--4 { grid-column: 4; grid-row: 2; align-self: start; }

    .about__line {
        display: none;
    }

    .about__stat-value {
        font-size: clamp(24px, 2.24vw, 43px);
        line-height: 1.1;
    }

    .about__stat-label {
        width: 100%;
        margin-top: clamp(8px, 1vw, 19.78px);
        font-size: clamp(12px, 0.83vw, 16px);
    }

    .audience__col {
        height: auto;
        min-height: 374px;
        padding: clamp(20px, 3.54vw, 68px);
    }

    /* --- цитата Pinterest --- */

    .pinterest {
        height: auto;
        padding-top: clamp(60px, 8vw, 154px);
        padding-bottom: clamp(60px, 8vw, 154px);
        gap: clamp(32px, 4.2vw, 80px);
    }

    .pinterest__quote {
        width: 100%;
        max-width: 1253px;
    }

    .pinterest__logo {
        display: inline-block;
    }

    .checkblock__img {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* --- реальные проекты --- */

    .projects__media {
        height: auto;
        aspect-ratio: 955 / 1035;
    }

    .projects__photos {
        right: clamp(8px, 1.4vw, 27px);
        top: clamp(8px, 1.5vw, 28px);
    }

    .projects__view {
        bottom: clamp(12px, 3vw, 58px);
        white-space: nowrap;
    }

    .projects__title {
        width: 100%;
        max-width: 813px;
    }

    .projects__note {
        width: min(365px, 100%);
    }

    .projects__list {
        gap: clamp(32px, 5vw, 96px);
    }

    /* --- Instagram --- */

    .insta__container {
        width: 100%;
        padding: 0;
    }

    .insta__title,
    .insta__sub {
        width: 100%;
        max-width: 996px;
    }

    .insta__cell {
        height: clamp(280px, 35.8vw, 687px);
    }

    .insta__link {
        width: 100%;
        height: clamp(320px, 41vw, 789px);
    }

    /* --- форма заявки --- */

    .lead {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .lead__media {
        width: 100%;
    }

    .lead__body {
        padding: clamp(20px, 3.33vw, 64px);
        gap: clamp(32px, 6.4vw, 123px);
    }

    .lead__head,
    .pcard__sub,
    .coop__sub,
    .collection__desc {
        width: 100%;
    }

    .lead__submit,
    .fabrics__button {
        padding-left: clamp(16px, 5vw, 98px);
        padding-right: clamp(16px, 5vw, 98px);
    }

    /* --- квиз --- */

    .quiz {
        width: 100%;
    }

    .quiz__hint-inner,
    .quiz2__hint-inner,
    .quiz__foot-inner,
    .quiz2__title {
        width: 100%;
    }

    .quiz__hint-text {
        white-space: normal;
    }

    .quiz__title {
        width: 100%;
        height: auto;
    }

    .quiz2__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .quiz2__option {
        width: 100%;
    }

    /* --- подвал --- */

    .footer__big {
        font-size: clamp(40px, 12.1vw, 233px);
        line-height: 1.2;
    }

    .footer__link {
        font-size: clamp(20px, 2.08vw, 40px);
        line-height: 1.2;
    }

    .footer__qr {
        left: auto;
        right: clamp(16px, 4vw, 76px);
        top: clamp(120px, 9.8vw, 188px);
    }

    .footer__legal {
        white-space: normal;
        text-align: center;
    }

    /* --- карточка товара --- */

    .pcard__color,
    .pcard__note,
    .pcard__manager-quote {
        max-width: 100%;
    }

    .pcard__note {
        white-space: normal;
    }

    .specs__names {
        width: clamp(90px, 8vw, 154px);
    }

    .specs__values {
        width: auto;
        flex: 1 1 auto;
    }

    .faq__title {
        width: clamp(240px, 46vw, 884px);
    }

    .faq__text {
        width: 100%;
        padding-right: 16px;
    }

    .faq__q {
        white-space: normal;
    }

    /* --- портфолио --- */

    .pfitem__gallery {
        width: 100%;
        height: clamp(260px, 32.4vw, 622px);
        padding: 0;
    }

    .pfitem__side {
        width: clamp(160px, 26vw, 502px);
    }

    .pfitem__bottom {
        gap: clamp(24px, 8.3vw, 160px);
    }

    .pfitem__button {
        width: clamp(240px, 19.2vw, 369px);
        height: clamp(56px, 4.2vw, 80px);
    }

    /* --- коллекции --- */

    .collection__info {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
    }

    .collection__media {
        height: auto;
        aspect-ratio: 869 / 964;
    }

    .collection__thumbs,
    .fabrics__row {
        flex-wrap: wrap;
    }

    /* --- сотрудничество --- */

    .coop__left {
        align-self: flex-start;
    }

    .coop__top {
        flex: 0 0 auto;
    }

    .coop__stats {
        padding: clamp(20px, 2vw, 40px);
    }

    .benefits__grid {
        gap: clamp(24px, 3.33vw, 64px);
    }

    .benefits__head {
        padding-right: clamp(0px, 8vw, 152px);
    }

    .steps__lead {
        white-space: normal;
    }

    .review {
        flex-basis: min(726px, 80vw);
        padding-right: clamp(16px, 5vw, 96px);
    }

    .review__meta {
        padding-right: clamp(0px, 8vw, 152px);
    }

    /* --- меню каталога --- */

    .menu {
        height: auto;
        min-height: 100vh;
        padding: clamp(24px, 6.8vw, 130px) clamp(16px, 3.33vw, 64px) 60px;
        display: flex;
        gap: clamp(24px, 5vw, 96px);
    }

    .menu__cats,
    .menu__content {
        position: static;
        width: auto;
    }

    .menu__cats {
        flex: 0 0 clamp(180px, 21vw, 400px);
        gap: clamp(16px, 2vw, 38.4px);
    }

    .menu__content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .menu__row {
        flex-wrap: wrap;
        gap: clamp(12px, 1.5vw, 29px);
    }

    .menu__item {
        width: clamp(96px, 7.1vw, 136px);
    }

    .menu__all {
        width: 100%;
    }

    .menu__close {
        left: auto;
        right: 0;
    }

    .menu__cats-arrow {
        display: none;
    }

    /* Каталог 2 */
    .cat2head__title {
        font-size: clamp(34px, 3.54vw, 68px);
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .cat2head__inner {
        gap: clamp(16px, 1.67vw, 32px);
        padding-bottom: clamp(24px, 2.5vw, 48px);
    }

    .cat2 {
        padding-bottom: clamp(56px, 6.25vw, 120px);
    }

    .cat2__inner {
        gap: clamp(24px, 2.08vw, 40px);
    }

    .pcard2 {
        gap: clamp(16px, 1.67vw, 32px);
        padding-bottom: clamp(16px, 1.67vw, 32px);
    }

}

/* --- 1440 и уже: сетки становятся плотнее --- */

@media (max-width: 1440px) {

    .filters,
    .pfhead__filters {
        flex-wrap: wrap;
    }

    .catfilters__row {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .catdrop {
        top: 52px;
    }

    /* выпадающий список фильтра — демонстрационное состояние из макета,
       на узких экранах не показываем, чтобы не перекрывал чипы */
    .catdrop {
        display: none;
    }

    .designer__feat-text,
    .footer__address,
    .footer__copy {
        white-space: normal;
    }

    .about__lead {
        max-width: 42ch;
    }
}

/* --- 1280 и уже --- */

@media (max-width: 1280px) {

    .catgrid,
    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .projects__item-name,
    .review__quote {
        font-size: clamp(18px, 2vw, 24px);
    }

    .pcard__buttons,
    .coop__buttons,
    .fabrics__buttons {
        flex-wrap: wrap;
    }

    .footer__qr {
        position: static;
        align-self: flex-end;
        margin-top: -24px;
    }

    /* Каталог 2 */
    .cat2__grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

/* --- 1024 и уже: две колонки схлопываются в одну --- */

@media (max-width: 1024px) {

    .catalog__head,
    .steps,
    .seotext,
    .pcard,
    .specs,
    .faq,
    .collection,
    .collection--reverse,
    .coop,
    .lead,
    .projects,
    .checkblock__inner {
        flex-direction: column;
        display: flex;
    }

    .lead,
    .projects {
        display: flex;
    }

    .lead__media,
    .projects__media,
    .coop__media,
    .collection__media,
    .checkblock__media {
        width: 100%;
    }

    .checkblock__media {
        height: clamp(240px, 50vw, 480px);
    }

    .catalog__title,
    .catalog__note-wrap {
        flex: 0 0 auto;
        width: 100%;
    }

    .catalog__note-wrap {
        padding-right: 0;
    }

    .catgrid,
    .products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalog__grid {
        aspect-ratio: auto;
        height: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 240px;
    }

    .tile--sofa,
    .tile--beds {
        grid-column: span 2;
    }

    .tile--light {
        grid-row: span 2;
    }

    .tile--tables,
    .tile--kids,
    .tile--wardrobes,
    .tile--rugs,
    .tile--decor,
    .tile--textile,
    .tile--outdoor,
    .tile--tableware {
        grid-column: span 1;
        grid-row: span 1;
    }

    .tile__img {
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    .insta__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 10px;
    }

    .insta__cell {
        height: clamp(280px, 46vw, 480px);
    }

    .insta__link {
        height: 100%;
    }

    .quiz__grid,
    .quiz2__grid,
    .coop__stats,
    .benefits__grid,
    .pcard__gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .quiz__option {
        height: auto;
        min-height: 100px;
        padding: 20px;
        gap: 20px;
    }

    .quiz__label {
        line-height: 1.3;
    }

    .audience {
        flex-direction: column;
    }

    .audience__col + .audience__col {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .about__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about__title,
    .about__lead {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .about__title {
        max-width: 18ch;
    }

    .about__title { grid-row: 1; }
    .about__lead  { grid-row: 2; }

    .about__stat--1 { grid-column: 1; grid-row: 3; align-self: start; }
    .about__stat--2 { grid-column: 2; grid-row: 3; align-self: start; }
    .about__stat--3 { grid-column: 1; grid-row: 4; align-self: start; }
    .about__stat--4 { grid-column: 2; grid-row: 4; align-self: start; }

    .pfitem__gallery {
        flex-direction: column;
        height: auto;
    }

    .pfitem__main {
        width: 100%;
        height: clamp(220px, 46vw, 420px);
    }

    .pfitem__side {
        flex-direction: row;
        width: 100%;
        height: clamp(120px, 24vw, 220px);
    }

    .pfitem__side-shot {
        flex: 1 1 0;
        height: 100%;
    }

    .pfitem__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .pfitem__button {
        width: 100%;
    }

    .faq__title,
    .faq__list,
    .faq__list--coop {
        width: 100%;
        padding-left: 0;
    }

    .specs__table {
        width: 100%;
    }

    .menu {
        flex-direction: column;
    }

    .menu__cats {
        flex: 0 0 auto;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews__list,
    .ideas__list,
    .blog__list {
        gap: 16px;
    }

    .idea,
    .post {
        flex: 0 0 min(560px, 84vw);
    }

    /* Каталог 2 */
    .cat2__inner {
        flex-direction: column;
    }

    .cat2__aside {
        flex: 0 0 auto;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px 40px;
    }

    .filters2__group {
        flex: 1 1 220px;
    }

    .filters2__list--fixed {
        height: auto;
    }

    .cat2__grid {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

}

/* --- 768 и уже --- */

@media (max-width: 768px) {

    .topbar {
        display: none;
    }

    .page-header {
        padding: 16px 0 24px;
    }

    .header {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        padding: 12px;
    }

    .header__logo {
        position: static;
        transform: none;
        order: -1;
        margin: 0 auto;
    }

    .hero {
        height: 100vh;
        min-height: 520px;
    }

    .hero__title-wrap {
        height: auto;
        padding-bottom: 6vh;
    }

    .hero__title {
        font-size: clamp(24px, 7vw, 44px);
        letter-spacing: -1px;
        white-space: normal;
    }

    .catgrid,
    .products,
    .catalog__grid,
    .insta__grid,
    .benefits__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .tile--sofa,
    .tile--beds,
    .tile--light {
        grid-column: span 1;
        grid-row: span 1;
    }

    .catalog__grid {
        grid-auto-rows: 220px;
    }

    .idea,
    .post,
    .review {
        flex: 0 0 88vw;
    }

    .post {
        flex-direction: column;
    }

    .post__media {
        width: 100%;
        height: 260px;
    }

    .post__text {
        width: 100%;
    }

    .filters,
    .pfhead__filters,
    .catfilters {
        justify-content: flex-start;
    }

    .catfilters {
        flex-direction: column;
        gap: 16px;
    }

    .footer__links {
        gap: 16px;
    }

    .footer__qr {
        align-self: center;
        margin-top: 0;
    }

    .quiz2__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .menu__cats {
        grid-template-columns: minmax(0, 1fr);
    }

    .menu__item {
        width: calc(50% - 8px);
    }

    .pcard__buttons {
        width: 100%;
    }

    .pcard__btn {
        flex: 1 1 auto;
    }
}

/* --- 480 и уже --- */

@media (max-width: 480px) {

    .header__catalog-text,
    .header__phone-wrap {
        display: none;
    }

    .fabrics__item,
    .collection__thumb {
        width: calc(50% - 6px);
    }

    .fabrics__item {
        height: auto;
        aspect-ratio: 1;
    }

    .collection__thumb {
        height: auto;
        aspect-ratio: 163 / 216;
    }

    .menu__item {
        width: calc(50% - 8px);
    }

    .specs {
        gap: 24px;
    }

    .specs__table {
        gap: 16px;
    }

    /* Каталог 2 */
    .cat2__grid {
        grid-template-columns: 1fr;
    }

    .cat2__aside {
        flex-direction: column;
        gap: 24px;
    }

}
