.mobile-menu { display: none; }

.page-support .contact-widget,
.page-login .contact-widget,
.page-register .contact-widget,
body[class*="page-password_"] .contact-widget,
body[class*="page-registration_"] .contact-widget { display: none; }

@media (max-width: 720px) {
    :root { --mobile-ink: #111217; --mobile-paper: #f2f0e9; --mobile-lime: #baff29; }
    html { scroll-padding-top: 76px; }
    body:not(.customer-auth-body) main { overflow: clip; }

    /* Отдельная мобильная шапка и меню. */
    .public-header,
    .profit-home .public-header,
    .editorial-public .public-header {
        position: sticky;
        top: 0;
        z-index: 120;
        width: 100%;
        min-height: 66px;
        padding: 7px 14px;
        border-bottom: 2px solid var(--mobile-ink);
        background: rgba(242,240,233,.94);
        backdrop-filter: blur(16px);
    }
    .public-header .public-nav { display: none; }
    .public-header .deepseller-brand { gap: 10px; }
    .public-header .deepseller-brand__mark,
    .profit-home .public-header .deepseller-brand__mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        padding: 4px;
        border: 2px solid var(--mobile-ink);
        border-radius: 13px 5px 13px 5px;
        background: var(--mobile-ink);
        box-shadow: 3px 3px 0 var(--mobile-lime);
        transform: none;
    }
    .public-header .deepseller-brand__name,
    .profit-home .public-header .deepseller-brand__name { color: var(--mobile-ink); font-size: 18px; }
    .public-header .deepseller-brand__signature { display: none; }

    .mobile-menu { position: relative; display: block; margin-left: auto; }
    .mobile-menu > summary { list-style: none; }
    .mobile-menu > summary::-webkit-details-marker { display: none; }
    .mobile-menu__toggle {
        display: flex;
        min-height: 44px;
        padding: 0 6px 0 13px;
        align-items: center;
        gap: 10px;
        border: 2px solid var(--mobile-ink);
        border-radius: 999px;
        background: #fff;
        color: var(--mobile-ink);
        font-size: .69rem;
        font-weight: 900;
        cursor: pointer;
    }
    .mobile-menu__toggle > i { display: grid; width: 30px; height: 30px; place-content: center; gap: 5px; border-radius: 50%; background: var(--mobile-ink); }
    .mobile-menu__toggle b { display: block; width: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .18s ease; }
    .mobile-menu[open] .mobile-menu__toggle b:first-child { transform: translateY(3.5px) rotate(45deg); }
    .mobile-menu[open] .mobile-menu__toggle b:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .mobile-menu__sheet {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        z-index: 130;
        display: grid;
        gap: 14px;
        max-height: calc(100dvh - 176px);
        padding: 20px;
        overflow-y: auto;
        border: 2px solid var(--mobile-ink);
        border-radius: 24px 8px 24px 8px;
        background: #fbfaf5;
        box-shadow: 8px 8px 0 var(--mobile-ink);
    }
    .mobile-menu__eyebrow { margin: 0; color: #676b73; font-size: .6rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
    .mobile-menu__sheet > strong { font-size: 1.75rem; letter-spacing: -.055em; }
    .mobile-menu__sheet nav { display: grid; border-top: 2px solid var(--mobile-ink); }
    .mobile-menu__sheet nav a { display: grid; grid-template-columns: 28px 1fr auto; min-height: 55px; padding: 0 3px; align-items: center; border-bottom: 1px solid rgba(17,18,23,.18); color: var(--mobile-ink); text-decoration: none; }
    .mobile-menu__sheet nav a[aria-current="page"] { margin-inline: -10px; padding-inline: 13px; background: var(--mobile-lime); }
    .mobile-menu__sheet nav span { color: #777b83; font: 800 .58rem/1 Consolas, monospace; }
    .mobile-menu__sheet nav b { font-size: .86rem; }
    .mobile-menu__sheet nav i { font-size: 1rem; font-style: normal; }
    .mobile-menu__service { display: flex; flex-wrap: wrap; gap: 8px; }
    .mobile-menu__service a { display: inline-flex; min-height: 42px; padding: 8px 11px; align-items: center; border: 1px solid rgba(17,18,23,.28); border-radius: 999px; color: #4f535b; font-size: .7rem; text-decoration: none; }
    .mobile-menu__account { display: flex; min-height: 52px; padding: 0 15px; align-items: center; justify-content: space-between; border: 2px solid var(--mobile-ink); border-radius: 14px; background: var(--mobile-ink); color: #fff; font-size: .76rem; font-weight: 850; text-decoration: none; }
    .mobile-menu__account span { color: var(--mobile-lime); font-size: 1.1rem; }

    .public-footer { display: none; }
    .contact-widget,
    .profit-home .contact-widget { right: 5px; bottom: calc(10px + env(safe-area-inset-bottom)); }
    .contact-widget__toggle-circle,
    .profit-home .contact-widget__toggle-circle {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
        border-radius: 15px 5px 15px 5px;
    }
    .contact-widget__toggle-circle svg,
    .profit-home .contact-widget__toggle-circle svg { width: 22px; height: 22px; }
    .page-support .contact-widget,
    .page-login .contact-widget,
    .page-register .contact-widget,
    body[class*="page-password_"] .contact-widget,
    body[class*="page-registration_"] .contact-widget { display: none; }
    .contact-widget__menu,
    .profit-home .contact-widget__menu { max-height: calc(100dvh - 190px); overflow-y: auto; }

    /* Главная: самостоятельная последовательность экранов и свайп-карточек. */
    .page-home .profit-canvas { padding-top: 0; }
    .page-home .profit-hero { gap: 26px; width: 100%; padding: 34px 14px 38px; }
    .page-home .profit-kicker { font-size: .59rem; line-height: 1.35; }
    .page-home .profit-hero__statement { max-width: 100%; margin-top: 16px; font-size: clamp(2.9rem, 14vw, 4rem); line-height: .91; overflow-wrap: anywhere; }
    .page-home .profit-hero__lead { margin-top: 22px; font-size: .96rem; line-height: 1.55; }
    .page-home .profit-actions { display: grid; gap: 9px; }
    .page-home .profit-button { width: 100%; min-height: 54px; padding-inline: 16px; }
    .page-home .profit-contacts a { display: inline-flex; min-height: 44px; align-items: center; }
    .page-home .search-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
    .page-home .search-doors > span { grid-column: 1 / -1; font-size: .64rem; }
    .page-home .search-doors a { display: grid; min-height: 50px; padding: 10px; place-items: center; border: 2px solid var(--mobile-ink); border-radius: 13px; background: #fff; font-size: .68rem; text-align: center; }
    .page-home .profit-system { min-height: 390px; margin-top: 4px; border-radius: 28px 8px 28px 8px; }
    .page-home .profit-system__core { width: 168px; height: 168px; }
    .page-home .profit-proof { display: flex; width: 100%; padding: 18px 14px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .page-home .profit-proof::-webkit-scrollbar,
    .page-home .change-stream::-webkit-scrollbar { display: none; }
    .page-home .profit-proof p { min-width: 72vw; padding: 18px; flex: 0 0 auto; scroll-snap-align: center; border: 2px solid var(--mobile-ink); border-radius: 17px; background: #fff; box-shadow: 4px 4px 0 var(--mobile-ink); }
    .page-home .change-field,
    .page-home .repricer-section,
    .page-home .seller-note,
    .page-home .profit-final { width: calc(100% - 20px); }
    .page-home .change-stream { display: flex; gap: 10px; margin-inline: -8px; padding: 4px 8px 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
    .page-home .change-stream article { min-width: 78vw; flex: 0 0 auto; scroll-snap-align: center; }
    .page-home .profit-heading h2 { font-size: clamp(2.15rem, 10.5vw, 3rem); line-height: .96; }
    .page-home .mechanic { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; border-width: 2px; border-radius: 22px 7px 22px 7px; }
    .page-home .mechanic__number { position: absolute; top: 15px; right: 16px; }
    .page-home .mechanic__copy h3 { padding-right: 30px; font-size: 1.75rem; line-height: 1; }
    .page-home .tariff-flow,
    .page-home .catalog-field,
    .page-home .margin-formula,
    .page-home .publish-line,
    .page-home .promo-gate { min-height: 170px; }
    .page-home .repricer-copy ul { gap: 8px; }
    .page-home .repricer-copy li { grid-template-columns: 1fr; gap: 7px; padding: 14px 0; }
    .page-home .repricer-copy__winner { margin: 10px -8px 0; padding: 18px !important; border: 2px solid var(--mobile-ink); border-radius: 17px; background: var(--mobile-lime); box-shadow: 4px 4px 0 var(--mobile-ink); }
    .page-home .calculator-links { gap: 10px; }
    .page-home .calculator-links a { grid-template-columns: 54px 1fr auto; min-height: 88px; padding: 12px; border-width: 2px; }
    .page-home .seller-note { grid-template-columns: 66px 1fr; }
    .page-home .profit-faq details { border-bottom-width: 2px; }
    .page-home .profit-final { margin-bottom: 24px; }
    .page-home .profit-contacts { width: 100%; padding: 48px 14px 110px; }

    /* Тарифы: карточки листаются по одной, сравнение превращается в читаемые блоки. */
    .page-pricing .pricing-body { width: 100%; padding: 34px 14px 70px; }
    .page-pricing .pricing-heading { gap: 9px; margin-bottom: 26px; }
    .page-pricing .pricing-heading h1 { font-size: clamp(2.75rem, 12vw, 3.45rem); line-height: .93; }
    .page-pricing .pricing-grid { display: flex; gap: 12px; margin-inline: -14px; padding: 4px 14px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .page-pricing .pricing-grid::-webkit-scrollbar { display: none; }
    .page-pricing .pricing-card { width: min(88vw, 360px); min-width: min(88vw, 360px); max-width: min(88vw, 360px); padding: 20px; flex: 0 0 min(88vw, 360px); overflow: hidden; scroll-snap-align: center; border-radius: 22px 7px 22px 7px; box-shadow: 5px 5px 0 var(--mobile-ink); }
    .page-pricing .pricing-card > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .page-pricing .pricing-card h2 { font-size: 1.65rem; line-height: 1.03; }
    .page-pricing .pricing-price strong { font-size: 2.8rem; }
    .page-pricing .pricing-card__action { position: static; width: 100%; min-height: 52px; margin-top: auto; }
    .page-pricing .pricing-card__microcopy { font-size: .7rem; line-height: 1.5; }
    .page-pricing .pricing-explainer { margin-top: 46px; padding-top: 34px; }
    .page-pricing .pricing-explainer__heading { grid-template-columns: 1fr; gap: 16px; }
    .page-pricing .pricing-explainer__heading h2 { font-size: 2.55rem; }
    .page-pricing .pricing-explainer__heading > p { font-size: .9rem; line-height: 1.55; }
    .page-pricing .pricing-explainer__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
    .page-pricing .pricing-explainer__grid article { min-height: 0; padding: 20px; border-radius: 19px 6px 19px 6px; }
    .page-pricing .pricing-explainer__grid h3 { margin-top: 26px; font-size: 1.65rem; }
    .page-pricing .pricing-explainer__note { grid-template-columns: 1fr; gap: 18px; padding: 20px; border-radius: 6px 19px 6px 19px; }
    .page-pricing .pricing-explainer__note .button { width: 100%; }

    /* Калькуляторы: ввод по этапам, результат — отдельный финальный экран. */
    .editorial-calculator .calculator-page,
    .editorial-calculator .calculator-hub { width: 100%; padding: 34px 14px 58px; }
    .editorial-calculator .calculator-page__header,
    .editorial-calculator .calculator-hub__intro { gap: 18px; margin-bottom: 24px; }
    .editorial-calculator .calculator-page__header h1,
    .editorial-calculator .calculator-hub__intro h1 { font-size: clamp(2.75rem, 12.6vw, 3.7rem); line-height: .92; }
    .editorial-calculator .marketplace-switch { position: sticky; top: 82px; z-index: 20; width: 100%; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 7px 18px rgba(17,18,23,.12); }
    .editorial-calculator .calculator-tool { width: 100%; margin: 0; }
    .editorial-calculator .calculator-form { padding: 15px; }
    .editorial-calculator .calculator-fields,
    .editorial-calculator .calculator-fields + .calculator-fields { padding: 15px; }
    .editorial-calculator .calculator-fields input,
    .editorial-calculator .calculator-fields select,
    .editorial-calculator .calculator-segmented { min-height: 52px; }
    .editorial-calculator .calculator-submit { min-height: 58px; }
    .editorial-calculator .calculator-result { min-height: 360px; }
    .editorial-calculator .calculator-choice { grid-template-columns: 1fr; gap: 11px; margin-top: 28px; }
    .editorial-calculator .calculator-choice__item { min-height: 132px; padding: 18px; }
    .editorial-calculator .calculator-seo,
    .editorial-calculator .calculator-faq,
    .editorial-calculator .calculator-cta { width: calc(100% - 28px); padding-block: 48px; }

    /* Ведение магазина: действие, условия и команда идут до длинного описания. */
    .editorial-management .management-hero { width: 100%; padding: 34px 14px 32px; grid-template-columns: minmax(0, 1fr); }
    .editorial-management .management-hero > *,
    .editorial-management .management-hero h1,
    .editorial-management .management-collage { min-width: 0; max-width: 100%; }
    .editorial-management .management-hero h1 { font-size: clamp(2.8rem, 12.5vw, 3.7rem); }
    .editorial-management .management-hero .actions { display: grid; gap: 8px; }
    .editorial-management .management-hero .button { width: 100%; min-height: 54px; }
    .editorial-management .management-hero__facts { display: flex; gap: 8px; padding: 18px 0 8px; overflow-x: auto; scrollbar-width: none; }
    .editorial-management .management-hero__facts li { min-width: 44vw; padding: 14px; flex: 0 0 auto; border: 1px solid rgba(17,18,23,.2); border-radius: 13px; background: #fff; }
    .editorial-management .management-collage { margin-top: 22px; }
    .editorial-management .management-trust { display: flex; width: 100%; padding-inline: 14px; overflow-x: auto; white-space: nowrap; }
    .editorial-management .management-section { width: 100%; padding: 52px 14px; }
    .editorial-management .management-heading { gap: 18px; }
    .editorial-management .management-heading h2 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
    .editorial-management .management-scope-grid { grid-template-columns: 1fr; gap: 10px; }
    .editorial-management .management-scope-card { min-height: 0; padding: 20px; border-radius: 19px 6px 19px 6px; }
    .editorial-management .management-card-icon { width: 46px; height: 46px; }
    .editorial-management .management-economics__formula { display: flex; padding-bottom: 10px; overflow-x: auto; }
    .editorial-management .management-economics__formula span { min-width: 145px; }
    .editorial-management .management-price { grid-template-columns: 1fr; }

    /* Поддержка, документы и подключение WB — отдельные мобильные карточки. */
    .editorial-page .service-hero { width: 100%; padding: 34px 14px 24px; }
    .editorial-page .service-hero h1 { font-size: clamp(2.8rem, 12vw, 3.7rem); line-height: .92; }
    .editorial-page .service-body:not(.pricing-body) { width: calc(100% - 28px); margin-bottom: 58px; padding: 18px; border-radius: 20px 7px 20px 7px; }
    .page-support .support-contact-grid { grid-template-columns: 1fr; gap: 10px; }
    .page-support .support-contact-card { min-height: 132px; padding: 18px; border-radius: 18px 6px 18px 6px; }
    .page-support .support-contact-card:nth-child(2) { background: #dce8ff; }
    .page-support .support-contact-card:nth-child(3) { background: #efffbf; }
    .page-support .support-contact-card:nth-child(4) { background: #ffd8e9; }
    .page-support .support-contact-card:nth-child(5) { background: #fff0bd; }
    .page-support .support-contact-card__arrow { width: 42px; height: 42px; border: 2px solid var(--mobile-ink); border-radius: 50%; }
    .page-support .support-prep { grid-template-columns: 1fr; gap: 24px; margin-top: 42px; }
    .page-support .support-checklist li { grid-template-columns: 42px 1fr; padding: 16px 0; }
    .page-privacy .legal-document,
    .page-terms .legal-document { padding: 0; }
    .page-privacy .service-hero h1,
    .page-terms .service-hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
    .editorial-calculator .calculator-field__hint { font-size: .78rem; line-height: 1.5; }
    .page-privacy .legal-document section,
    .page-terms .legal-document section { margin: 0 0 10px; padding: 18px; border: 1px solid rgba(17,18,23,.22); border-radius: 16px; background: #fff; }
    .page-privacy .legal-document h2,
    .page-terms .legal-document h2 { font-size: 1.25rem; line-height: 1.15; }
    .page-privacy .legal-document p,
    .page-privacy .legal-document li,
    .page-terms .legal-document p,
    .page-terms .legal-document li { color: #4f535b; font-size: .86rem; line-height: 1.6; }
    .page-cloud .service-body { background: #dce8ff !important; }
    .page-cloud .service-body ol { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: mobile-step; }
    .page-cloud .service-body li { display: grid; grid-template-columns: 42px 1fr; min-height: 72px; padding: 14px; align-items: center; gap: 12px; border: 2px solid var(--mobile-ink); border-radius: 15px; background: #fff; counter-increment: mobile-step; }
    .page-cloud .service-body li::before { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--mobile-lime); content: counter(mobile-step, decimal-leading-zero); font: 850 .64rem/1 Consolas, monospace; }

    /* Авторизация и платёжные экраны — одна колонка, крупные поля и действия. */
    .customer-auth-body { background: var(--mobile-paper); }
    .customer-auth-body .login-shell { width: 100%; min-height: 100dvh; padding: 24px 14px; align-content: center; }
    .customer-auth-body .login-shell > div { width: 100%; }
    .customer-auth-body .login-card { width: 100%; padding: 20px; border: 2px solid var(--mobile-ink); border-radius: 22px 7px 22px 7px; background: #fff; box-shadow: 7px 7px 0 var(--mobile-lime); }
    .customer-auth-body .login-card input[type=email],
    .customer-auth-body .login-card input[type=password],
    .customer-auth-body .login-card input[type=text] { min-height: 54px; border: 2px solid var(--mobile-ink); border-radius: 12px; background: #fbfaf5; color: var(--mobile-ink); }
    .customer-auth-body .login-card .button { width: 100%; min-height: 54px; }
}

@media (max-width: 370px) {
    .mobile-menu__toggle > span { display: none; }
    .page-home .profit-hero__statement { font-size: 2.7rem; }
    .editorial-management .management-collage__top > span { max-width: 130px; }
}
