/* ==========================================================
   Pages :: Help — «Помощь покупателю» (22.11.2026)
   ========================================================== */

.pages-help {
    width: 100%;
    box-sizing: border-box;
    color: #272727;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

.pages-help p,
.pages-help li {
    text-indent: 0;
}

.pages-help a {
    color: #8b171d;
    text-decoration: none;
    border-bottom: 1px solid rgba(139, 23, 29, .22);
}

.pages-help a:hover {
    color: #641217;
    border-bottom-color: currentColor;
}

.help-hero,
.help-section {
    margin: 0 0 22px;
    padding: 28px 32px;
    border: 1px solid #e5dedd;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .055);
}

.help-hero h1 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.2;
}

.help-hero p {
    max-width: 760px;
    margin: 0 0 18px;
    font-size: 16px;
}

.help-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pages-help .help-nav a {
    padding: 7px 14px;
    border: 1px solid #e0d6d5;
    border-radius: 20px;
    background: #faf7f6;
    font-size: 14px;
}

.pages-help .help-nav a:hover {
    border-color: #8b171d;
}

.help-section {
    scroll-margin-top: 16px;
}

.help-section h2 {
    margin: 0 0 16px;
    color: #8b171d;
    font-size: 24px;
    line-height: 1.25;
}

.help-steps {
    margin: 0 0 18px;
    padding-left: 22px;
}

.help-steps li {
    margin: 0 0 8px;
}

.help-section details {
    border-top: 1px solid #eee5e4;
}

.help-section details:last-of-type {
    border-bottom: 1px solid #eee5e4;
}

.help-section summary {
    position: relative;
    padding: 13px 34px 13px 0;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.help-section summary::-webkit-details-marker {
    display: none;
}

.help-section summary::after {
    content: '+';
    position: absolute;
    top: 9px;
    right: 4px;
    color: #8b171d;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.help-section details[open] summary::after {
    content: '−';
}

.help-section details p {
    max-width: 820px;
    margin: 0 0 14px;
}

.help-more {
    margin: 16px 0 0;
}

@media (max-width: 600px) {
    .help-hero,
    .help-section {
        padding: 20px 16px;
        border-radius: 10px;
    }

    .help-hero h1 {
        font-size: 26px;
    }

    .help-section h2 {
        font-size: 21px;
    }

    .help-section summary {
        font-size: 16px;
    }
}
