/* ==========================================================================
   Печати ТУТ — стили сайта
   Простая светлая тема, жёлтый цвет только для кнопок и акцентов.
   ========================================================================== */

/* Montserrat (SIL OFL 1.1, fonts/OFL-Montserrat.txt): вариативный шрифт на своём сервере,
   без запросов к Google Fonts. Браузер качает только нужные наборы символов. */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/montserrat-cyrillic-wght-normal.6fd02dd74afd.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/montserrat-latin-wght-normal.311d352d9323.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url("../fonts/montserrat-latin-ext-wght-normal.d16dfe26bcd7.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --yellow: #FBDA33;
    --yellow-hover: #EFCB14;
    --yellow-bg: #FFF9DB;
    --ink: #1A1A1A;
    --ink-soft: #444;
    --muted: #777;
    --bg: #FFFFFF;
    --bg-alt: #F5F5F2;
    --line: #E3E3DE;

    --radius: 6px;

    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;

    --container: 1140px;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, p {
    margin: 0;
}

h1, h2, h3 {
    line-height: 1.25;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 300;
    background: var(--ink);
    color: #fff;
    padding: 10px 16px;
}
.skip-link:focus {
    top: 12px;
}

/* ---------- Каркас ---------- */

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

.section {
    padding: var(--space-6) 0;
}
.section--alt {
    background: var(--bg-alt);
}

.section__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.section__more {
    margin-top: var(--space-4);
}

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 22px;
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
    background: var(--yellow);
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.btn:hover {
    background: var(--yellow-hover);
    border-color: var(--yellow-hover);
}
.btn--ghost {
    background: transparent;
    border-color: var(--ink);
}
.btn--ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.btn--block {
    width: 100%;
}
.btn svg {
    flex: none;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-height: 68px;
}
.header__logo img {
    height: 42px;
    width: auto;
}
.nav {
    margin-left: auto;
}
.nav__list {
    display: flex;
    gap: var(--space-3);
}
.nav__link {
    display: block;
    padding: 8px 0;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}
.nav__link:hover {
    border-bottom-color: var(--yellow);
}
.nav__link[aria-current="page"] {
    border-bottom-color: var(--yellow);
    font-weight: 600;
}
.header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}
.header__phone:hover {
    text-decoration: underline;
}

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
}
.burger__bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(2) {
    opacity: 0;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Верхний блок ---------- */

.hero {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: var(--space-5) 0;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: center;
}
.hero__title {
    font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem);
    font-weight: 700;
}
.hero__lead {
    margin-top: var(--space-2);
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 480px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-4);
}
.hero__media img {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
}

/* ---------- Карточки товаров ---------- */

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
}
.card:hover,
.card:focus-within {
    border-color: var(--ink);
}
/* Ссылка на страницу товара растянута на всю карточку, кнопка «Заказать» — поверх неё */
.card__link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.card__link:focus-visible {
    outline: none;
}
/* Одинаковая область фото для всех товаров */
.card__media {
    aspect-ratio: 1 / 1;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 16px;
}
/* contain, а не cover: фото с товаром у края не обрезается */
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: var(--space-2);
}
.card__title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card__price {
    font-size: 1.1rem;
    font-weight: 700;
}
.card__price small {
    font-weight: 400;
    color: var(--muted);
    font-size: .9rem;
}
.card__cta {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: var(--space-1);
}

/* ---------- Преимущества / шаги ---------- */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}
.feature__icon img {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-2);
}
.feature__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.feature__text {
    color: var(--ink-soft);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    counter-reset: step;
}
.step::before {
    counter-increment: step;
    content: counter(step) ".";
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--yellow-hover);
    line-height: 1;
    margin-bottom: var(--space-1);
}
.step__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.step__text {
    color: var(--ink-soft);
}

/* ---------- Блок с контактами ---------- */

.cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--yellow);
    border-radius: var(--radius);
}
.cta__title {
    font-size: 1.5rem;
    font-weight: 700;
}
.cta__text {
    margin-top: 4px;
}
.cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}
.cta .btn {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.cta .btn:hover {
    background: #000;
    border-color: #000;
}
.cta .btn--ghost {
    background: transparent;
    color: var(--ink);
}
.cta .btn--ghost:hover {
    background: var(--ink);
    color: #fff;
}

/* ---------- Страницы: каталог, категория, контакты ---------- */

.page {
    padding: var(--space-3) 0 var(--space-6);
}
.page__title {
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.4rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-2);
    font-size: 14px;
    color: var(--muted);
}
.breadcrumbs a:hover {
    color: var(--ink);
    text-decoration: underline;
}
.breadcrumbs li + li::before {
    content: "/";
    margin-right: 8px;
}

.catalog-block + .catalog-block {
    margin-top: var(--space-6);
}
.catalog-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid var(--yellow);
}
.catalog-block__title {
    font-size: 1.4rem;
    font-weight: 700;
}
.catalog-block__title a:hover {
    text-decoration: underline;
}
.link-arrow {
    white-space: nowrap;
    text-decoration: underline;
}
.link-arrow:hover {
    color: var(--muted);
}

.empty {
    padding: var(--space-4);
    background: var(--bg-alt);
    border-radius: var(--radius);
}

.contact-list {
    display: grid;
    gap: var(--space-3);
    max-width: 560px;
}
.contact-item {
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--line);
}
.contact-item__label {
    font-size: 14px;
    color: var(--muted);
}
.contact-item__value {
    font-size: 1.25rem;
    font-weight: 600;
    overflow-wrap: anywhere;
}
a.contact-item__value:hover {
    text-decoration: underline;
}
.map {
    margin-top: var(--space-5);
    min-height: 320px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
}

/* ---------- Футер ---------- */

.footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--line);
}
.footer__top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: var(--space-4);
    padding: var(--space-5) 0;
}
.footer__logo img {
    height: 42px;
    width: auto;
}
.footer__about {
    margin-top: var(--space-2);
    color: var(--ink-soft);
    max-width: 300px;
}
.footer__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
}
.footer__list li + li {
    margin-top: 8px;
}
.footer__list a:hover {
    text-decoration: underline;
}
.footer__contact {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-1) var(--space-3);
    padding: var(--space-3) 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1) var(--space-3);
}
.footer__legal a:hover {
    color: var(--ink);
    text-decoration: underline;
}

/* ---------- Окно «как заказать» ---------- */

#popup-1 {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: var(--space-2);
    background: rgba(0, 0, 0, .5);
}
.popup-content {
    width: min(420px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: var(--space-4) var(--space-3);
    background: #fff;
    border-radius: var(--radius);
    text-align: center;
}
.popup-window {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}
.popup-window .card__media {
    width: 180px;
    border: 1px solid var(--line);
}
.popup-window .popup-title {
    font-size: 1.2rem;
    font-weight: 700;
}
.popup-lead {
    color: var(--ink-soft);
}
.popup-contact-block {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    width: 100%;
    margin: var(--space-2) 0;
}
.popup-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-weight: 600;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: left;
}
.popup-contact:hover {
    background: var(--yellow-bg);
}
.popup-contact svg {
    flex: none;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-1);
    margin-top: var(--space-5);
}
.pagination__link {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 500;
}
a.pagination__link:hover {
    border-color: var(--ink);
}
.pagination__link.is-current {
    background: var(--yellow);
    border-color: var(--yellow);
    font-weight: 700;
}

/* ---------- Страница товара ---------- */

.product {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-5);
    align-items: start;
}
.product__media {
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.product__title {
    font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: var(--space-2);
}
.product__price {
    font-size: 1.8rem;
    font-weight: 700;
}
.product__price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--muted);
}
.product__stock {
    margin-top: 4px;
    color: #2E7D32;
    font-weight: 500;
}
.product__stock--out {
    color: var(--muted);
}
.product__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-3) 0 var(--space-2);
}
.product__note {
    color: var(--ink-soft);
    font-size: 15px;
}
.product__note a {
    text-decoration: underline;
}
.product__description {
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--line);
}
.product__subtitle {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-1);
}
.product__description p + p,
.seo-text p + p {
    margin-top: var(--space-1);
}
.related {
    margin-top: var(--space-6);
}

/* ---------- Частые вопросы и SEO-текст ---------- */

.faq {
    display: grid;
    gap: var(--space-1);
    max-width: 820px;
}
.faq__item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.faq__question {
    padding: var(--space-2);
    font-weight: 600;
    cursor: pointer;
}
.faq__item[open] .faq__question {
    padding-bottom: var(--space-1);
}
.faq__answer {
    padding: 0 var(--space-2) var(--space-2);
    color: var(--ink-soft);
}
.seo-text {
    max-width: 820px;
    margin-top: var(--space-5);
    color: var(--ink-soft);
}
.footer__hours {
    color: var(--muted);
}
.map-title {
    margin-top: var(--space-5);
}
.section__lead {
    max-width: 640px;
    color: var(--ink-soft);
}
.reviews {
    margin-top: var(--space-5);
}
.reviews .section__title {
    margin-bottom: var(--space-1);
}
.reviews__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-2);
}
.map-title + .map {
    margin-top: var(--space-3);
}
address {
    font-style: normal;
}

/* ---------- Услуги и статьи ---------- */

.link-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-3);
}
.link-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: var(--space-3);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .15s;
}
.link-card:hover {
    border-color: var(--ink);
}
.link-card__date {
    font-size: 14px;
    color: var(--muted);
}
.link-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
}
.link-card__text {
    color: var(--ink-soft);
}
.link-card__more {
    margin-top: auto;
    padding-top: var(--space-1);
    font-weight: 600;
    text-decoration: underline;
}

.content {
    max-width: 820px;
}
.content .page__title {
    margin-bottom: var(--space-2);
}
.content__meta {
    margin-top: calc(-1 * var(--space-1));
    margin-bottom: var(--space-2);
    font-size: 14px;
    color: var(--muted);
}
.content__lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: var(--space-4);
}
.rich-text h2 {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.3;
    margin: var(--space-4) 0 var(--space-2);
}
.rich-text h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: var(--space-3) 0 var(--space-1);
}
.rich-text p,
.rich-text ul {
    margin-bottom: var(--space-2);
}
.rich-text ul {
    list-style: disc;
    padding-left: 1.4em;
}
.rich-text li + li {
    margin-top: 6px;
}
.rich-text a {
    text-decoration: underline;
}
.rich-text a:hover {
    color: var(--muted);
}
.page__cta {
    margin-top: var(--space-5);
}
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}
.tag-list a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-weight: 500;
}
.tag-list a:hover {
    border-color: var(--ink);
}

/* ---------- Юридические страницы ---------- */

.legal-page {
    max-width: 900px;
    margin: var(--space-5) auto var(--space-6);
    padding: 0 var(--space-3);
}
.legal-page h1 {
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--space-4);
    overflow-wrap: break-word;
}
.legal-content {
    line-height: 1.8;
    overflow-wrap: break-word;
}
.legal-content section {
    margin-bottom: var(--space-4);
}
.legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.legal-content p {
    margin-bottom: 10px;
    font-size: 15px;
}
.legal-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 10px;
}
.legal-content ul li {
    margin-bottom: 8px;
    font-size: 15px;
}
.legal-content a {
    text-decoration: underline;
}
.legal-requisites,
.legal-requisites-box {
    background: var(--bg-alt);
    padding: var(--space-3);
    border-radius: var(--radius);
}
.legal-back-link {
    margin: var(--space-5) 0;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: var(--radius);
    background: var(--yellow);
    font-weight: 600;
}
.button:hover {
    background: var(--yellow-hover);
}

/* ---------- Уведомление о cookie ---------- */

.cookie-banner {
    position: fixed;
    left: var(--space-2);
    right: var(--space-2);
    bottom: var(--space-2);
    z-index: 150;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    max-width: 860px;
    margin: 0 auto;
    padding: var(--space-2) var(--space-3);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner__text {
    flex: 1;
    font-size: 14px;
}
.cookie-banner__text a {
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: var(--space-1);
    flex-shrink: 0;
}

/* ---------- Панель на мобильных ---------- */

.mobile-bar {
    display: none;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero__inner {
        grid-template-columns: 1fr;
    }
    .hero__media img {
        margin: 0;
        max-width: 420px;
    }
    .features,
    .steps {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    .footer__top {
        grid-template-columns: 1fr 1fr;
    }
    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .product {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }
    .product__media {
        max-width: 480px;
    }
    :root {
        --space-6: 48px;
        --space-5: 36px;
    }
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .burger {
        display: block;
        margin-left: auto;
    }
    .header__phone-text {
        display: none;
    }
    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin: 0;
        padding: 0 var(--space-3);
        background: #fff;
        border-bottom: 1px solid var(--line);
        display: none;
    }
    .nav.is-open {
        display: block;
    }
    .nav__list {
        flex-direction: column;
        gap: 0;
    }
    .nav__link {
        padding: 14px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 var(--space-2);
    }
    .hero {
        padding: var(--space-4) 0;
    }
    .hero__actions .btn {
        width: 100%;
    }
    .grid {
        gap: var(--space-2);
    }
    .card__body {
        padding: 12px;
    }
    .card__title {
        font-size: .92rem;
    }
    .footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
    .catalog-block__head {
        flex-direction: column;
        gap: 4px;
    }
    .product__actions .btn {
        width: 100%;
    }
    .cta {
        padding: var(--space-3);
    }
    .cta__actions,
    .cta__actions .btn {
        width: 100%;
    }
    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: flex;
        gap: var(--space-1);
        padding: 10px var(--space-2) calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--line);
    }
    .mobile-bar .btn {
        flex: 1;
    }
    body {
        padding-bottom: 72px;
    }
    .cookie-banner {
        bottom: 80px;
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-2);
    }
}

@media (max-width: 380px) {
    .grid {
        grid-template-columns: 1fr;
    }
}
