

/* Start:/local/templates/500na700/css/help.css?178997807813656*/
/* =============================================================================
   Раздел «Помощь» и политика конфиденциальности.

   Общий каркас для /help/* и /privacy-policy/: заголовок, навигация по
   разделу, колонка текста, строки-факты, таблица, аккордеон.

   Подключается только на этих страницах (SetAdditionalCSS в самих файлах),
   поэтому имена внутри .mnn-help можно держать короткими.

   Типографика та же, что у блога и /primerka/: Cormorant Garamond italic в
   заголовках, Open Sans в тексте, цвета из palette.css. Cormorant объявлен
   глобально в fonts-display.css.
   ============================================================================= */

.mnn-help {
    --hp-line: rgba(21, 31, 28, .14);

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--mn-black);
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 0 72px;
}

.mnn-help *,
.mnn-help__body * {
    box-sizing: border-box;
}

/* Ссылки везде внутри раздела, а не только в текстовой колонке: они есть и
   в лиде (FAQ), и в строке контактов на «Акциях» — без этого правила там
   остаётся синий цвет браузера. */
.mnn-help a {
    color: var(--mn-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(21, 31, 28, .35);
}

.mnn-help a:hover {
    border-bottom-color: var(--mn-black);
}

/* у навигации, крошек и вкладок своё оформление */
.mnn-help__nav a,
.mnn-help__crumbs a,
.mnn-help__toc a {
    border-bottom: 0;
}

/* ===== шапка ===== */
.mnn-help__crumbs {
    font-size: 12px;
    line-height: 1.5;
    color: var(--mn-grey);
    padding-top: 28px;
    margin: 0 0 18px;
}

.mnn-help__crumbs a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(21, 31, 28, .25);
}

.mnn-help__crumbs a:hover {
    color: var(--mn-black);
}

.mnn-help__crumbs span {
    margin: 0 6px;
    color: rgba(21, 31, 28, .35);
}

.mnn-help__h1 {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mn-black);
    margin: 0;
    max-width: 20ch;
}

.mnn-help__h1 em {
    font-style: italic;
    color: var(--mn-wine);
}

.mnn-help__lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--mn-grey);
    max-width: 62ch;
    margin: 16px 0 0;
}

/* ===== навигация по разделу ===== */
.mnn-help__nav {
    margin: 30px 0 0;
    padding: 0 0 2px;
    border-bottom: 1px solid var(--hp-line);
    display: flex;
    gap: 22px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.mnn-help__nav::-webkit-scrollbar {
    display: none;
}

.mnn-help__nav a {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1.4;
    color: var(--mn-grey);
    text-decoration: none;
    padding: 0 0 12px;
    border-bottom: 1px solid transparent;
    transition: color .2s ease;
}

.mnn-help__nav a:hover {
    color: var(--mn-black);
}

.mnn-help__nav a.is-current {
    color: var(--mn-wine);
    border-bottom-color: var(--mn-wine);
}

/* ===== колонка текста ===== */
/* Тот же блок используется в попапе «таблица размеров» на карточке товара —
   там он вставляется без родителя .mnn-help, поэтому шрифт, цвет и переменную
   линии повторяем здесь. Иначе попап наследует шрифт документа. */
.mnn-help__body {
    --hp-line: rgba(21, 31, 28, .14);

    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--mn-black);
    max-width: 68ch;
    margin: 0;
    padding-top: 8px;
}

.mnn-help__body h2 {
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mn-black);
    margin: 48px 0 14px;
}

.mnn-help__body h2:first-child {
    margin-top: 28px;
}

.mnn-help__body h3 {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: var(--mn-black);
    margin: 26px 0 8px;
}

.mnn-help__body p {
    margin: 0 0 14px;
}

.mnn-help__body p:last-child {
    margin-bottom: 0;
}

.mnn-help__body a {
    color: var(--mn-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(21, 31, 28, .35);
}

.mnn-help__body a:hover {
    border-bottom-color: var(--mn-black);
}

/* списки — тире, без точек */
.mnn-help__body ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.mnn-help__body ul li {
    position: relative;
    padding-left: 22px;
    margin: 0 0 8px;
}

.mnn-help__body ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--mn-grey);
}

.mnn-help__body ol {
    margin: 0 0 14px;
    padding-left: 22px;
}

.mnn-help__body ol li {
    margin: 0 0 8px;
}

/* ===== строки-факты ===== */
.mnn-facts {
    margin: 18px 0 24px;
    border-top: 1px solid var(--hp-line);
}

.mnn-facts__row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid var(--hp-line);
}

.mnn-facts__label {
    flex: 1 1 auto;
    font-size: 13px;
    line-height: 1.5;
    color: var(--mn-grey);
}

.mnn-facts__value {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1.5;
    text-align: right;
}

/* ===== примечание и призыв ===== */
.mnn-help__note {
    font-size: 14px;
    line-height: 1.6;
    color: var(--mn-grey);
    padding: 14px 0 0;
    margin: 0 0 6px;
}

.mnn-help__cta {
    margin: 40px 0 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--hp-line);
    font-size: 15px;
    line-height: 1.6;
}

.mnn-help__cta a {
    color: var(--mn-wine);
    text-decoration: none;
    border-bottom: 1px solid rgba(111, 37, 52, .4);
}

.mnn-help__cta a:hover {
    border-bottom-color: var(--mn-wine);
}

/* ===== оглавление-якоря ===== */
.mnn-help__toc {
    font-size: 15px;
    line-height: 1.9;
    color: var(--mn-grey);
    margin: 24px 0 0;
    padding: 0 0 4px;
}

.mnn-help__toc a {
    color: var(--mn-grey);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.mnn-help__toc a:hover {
    color: var(--mn-black);
    border-bottom-color: rgba(21, 31, 28, .35);
}

.mnn-help__toc span {
    margin: 0 8px;
    color: rgba(21, 31, 28, .3);
}

/* ===== таблица размеров ===== */
.mnn-help__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 16px 0 8px;
}

.mnn-help__table {
    width: 100%;
    min-width: 460px;
    border-collapse: collapse;
    border: 0;
}

.mnn-help__table th,
.mnn-help__table td {
    border: 0;
    border-bottom: 1px solid var(--hp-line);
    padding: 11px 14px 11px 0;
    text-align: left;
    background: none;
}

.mnn-help__table thead th {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mn-grey);
    white-space: nowrap;
}

.mnn-help__table tbody td {
    font-size: 15px;
    color: var(--mn-black);
}

.mnn-help__table tbody td:first-child,
.mnn-help__table tbody th:first-child {
    font-weight: 600;
    white-space: nowrap;
}

.mnn-help__table tbody tr:last-child td,
.mnn-help__table tbody tr:last-child th {
    border-bottom: 0;
}

/* ===== аккордеон (вопросы, условия акций) =====
   Классы те же, что в карточке товара: их открывает общий
   accordion("accordion") из main.js, своего скрипта не нужно. */
.mnn-help .accordion-item {
    margin: 0;
    border-bottom: 1px solid var(--hp-line);
}

.mnn-help .accordion-item__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 0;
    text-decoration: none;
    border: 0;
    color: var(--mn-black);
    cursor: pointer;
}

.mnn-help .accordion-item__header-title {
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--mn-black);
    margin: 0;
}

.mnn-help .accordion-item__header-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
}

.mnn-help .accordion-item__header-icon svg {
    width: 9px;
    height: 6px;
    fill: var(--mn-wine);
}

.mnn-help .accordion-item__content {
    padding: 0 0 18px;
}

.mnn-help .accordion-item__content p {
    font-size: 15px;
    line-height: 1.65;
    color: #3a2f33;
    margin: 0 0 10px;
}

.mnn-help .accordion-item__content p:last-child {
    margin-bottom: 0;
}

/* ===== вкладки (акции) ===== */
.mnn-help__tabs {
    display: flex;
    gap: 26px;
    margin: 26px 0 4px;
    border-bottom: 1px solid var(--hp-line);
}

.mnn-help__tabs button {
    appearance: none;
    background: none;
    border: 0;
    padding: 0 0 12px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: var(--mn-grey);
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: color .2s ease;
}

.mnn-help__tabs button:hover {
    color: var(--mn-black);
}

.mnn-help__tabs button.is-active {
    color: var(--mn-wine);
    border-bottom-color: var(--mn-wine);
}

.mnn-help__tabs .mnn-help__count {
    font-size: 12px;
    color: var(--mn-grey);
    margin-left: 6px;
}

/* До 992px шапка становится фиксированной (header_mobile, высота 70px) и
   накрывает начало страницы — отступаем, как это сделано на /primerka/. */
@media (max-width: 992px) {
    .mnn-help__crumbs {
        padding-top: 90px;
    }
}

/* ===== планшет ===== */
@media (max-width: 1200px) {
    .mnn-help {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== телефон ===== */
@media (max-width: 767px) {
    .mnn-help {
        padding-bottom: 48px;
    }

    .mnn-help__crumbs {
        margin-bottom: 14px;
    }

    .mnn-help__h1 {
        font-size: 34px;
        max-width: none;
    }

    .mnn-help__lead {
        font-size: 16px;
        margin-top: 14px;
    }

    /* навигация уезжает за края экрана — так видно, что её можно листать */
    .mnn-help__nav {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        gap: 18px;
    }

    .mnn-help__body h2 {
        font-size: 26px;
        margin-top: 38px;
    }

    .mnn-facts__row {
        gap: 14px;
    }

    .mnn-facts__value {
        font-size: 15px;
    }

    .mnn-help__scroll {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}


/* =============================================================================
   ПОПАП «ТАБЛИЦА РАЗМЕРОВ» В КАРТОЧКЕ ТОВАРА

   Содержимое общее со страницей /help/size-table/ — partial/size-table.php,
   поэтому и оформление живёт здесь же. Раньше попап рисовал компонент
   news.list со своими стилями; теперь их заменяют правила ниже.
   ============================================================================= */

.size-table__modal {
    width: 560px;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    max-height: 86vh;
}

.size-table__modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex: 0 0 auto;
    padding-bottom: 14px;
}

.size-table__modal__title {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 28px;
    line-height: 32px;
    color: var(--mn-black);
}

.size-table__modal__close {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: -10px -10px -10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mn-black);
}

.size-table__modal__close svg {
    width: 16px;
    height: 16px;
}

/* прокручивается только содержимое: заголовок остаётся на месте */
.size-table__modal__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.size-table__modal__content h2:first-child {
    margin-top: 0;
}

@media (max-width: 600px) {
    .size-table__modal {
        width: 100%;
        max-height: 88vh;
    }

    .size-table__modal__title {
        font-size: 24px;
    }
}

/* End */
/* /local/templates/500na700/css/help.css?178997807813656 */
