/*
 * Агроверо — адаптер к стилям прототипа (seed.css).
 * 1) нативные элементы форм вместо React-компонентов прототипа, выглядят так же;
 * 2) элементы, которых не было в прототипе (форма заявки в карточке, ошибки, корзина);
 * 3) мобильная вёрстка — в прототипе её нет (body{min-width:1260px}).
 */

/* ---------- Нативный чекбокс/радио в стиле .checkbox.t-check ---------- */
.check-label input.checkbox {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--seed-snow);
    box-shadow: inset 0 0 0 1px var(--seed-frost);
    display: grid;
    place-items: center;
    cursor: pointer;
}
.check-label input.checkbox:checked {
    background: var(--seed-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%23fcfcf7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
    box-shadow: none;
}
.check-label input.checkbox:focus-visible { outline: 2px solid var(--seed-sage); outline-offset: 2px; }
.filter-options .check-label { margin: 0; }

/* ---------- Переключатель «Любая / Новая / Б/у» на радиокнопках ---------- */
.condition-switch.t-tabs { display: grid; }
.condition-switch .t-tab { display: grid; place-items: center; height: 100%; padding: 0 8px; border-radius: 10px; cursor: pointer; font-weight: 600; font-variation-settings: "wdth" 120; font-size: 15px; color: var(--seed-forest); }
.condition-switch .t-tab input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.condition-switch .t-tab:has(input:checked) { background: var(--seed-forest) !important; color: var(--seed-snow); }
.condition-switch .t-tab:has(input:focus-visible) { outline: 2px solid var(--seed-lime); outline-offset: 2px; }
.condition-switch .t-tab:hover:not(:has(input:checked)) { background: var(--seed-stone) !important; }
body:has(main>.hero) .quick .condition-switch .t-tab { border-radius: 11px; padding-inline: 16px; }
body:has(main>.hero) .quick .condition-switch .t-tab:has(input:checked) { background: #183217 !important; }
body:has(main>.hero) .quick .condition-switch .t-tab:hover:not(:has(input:checked)) { background: #dcdcd5 !important; }

/* ---------- Ссылки там, где в прототипе были кнопки ---------- */
.quick-tags a { background: var(--seed-stone); border: 0; border-radius: 6px; padding: 9px 13px; font-size: 14px; }
.quick-tags a:hover { background: var(--seed-forest); color: var(--seed-snow); }
.pagination a { border: 1px solid var(--line); background: var(--seed-snow); border-radius: 7px; min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 6px; font-size: 14px; }
.pagination a[aria-current=page] { background: var(--seed-forest); color: var(--seed-snow); border-color: var(--seed-forest); }
.results-toolbar button.selected { background: var(--seed-stone); }
.header-actions .nav-icon b[hidden] { display: none !important; }

/* ---------- Каталог ---------- */
.filter-actions { display: grid; gap: 8px; margin-top: 8px; }
.filter-actions .btn { width: 100%; }
.only-mobile { display: none !important; }
.catalog-all { margin: 32px 0 0; }
.seo-text { margin-top: 40px; color: var(--seed-pewter); line-height: 1.7; max-width: 90ch; }
.seo-text-wide { max-width: none; margin: 40px 0; padding: 32px; border-radius: 20px; background: var(--card-surface, #efefe9); color: var(--seed-forest); }

/* ---------- Карточка объявления: форма заявки ---------- */
.btn-block { width: 100%; }
.purchase-label { color: var(--seed-pewter); font-size: 14px; display: block; margin-bottom: 8px; }
.purchase-panel .card-actions.full { margin-top: 18px; }
.lead-form { display: grid; gap: 12px; margin-bottom: 24px; }
.lead-form h3 { margin: 0 0 4px; font-size: 19px; font-weight: 500; }
.lead-form .field input, .lead-form .field textarea { background: var(--seed-snow); }
.lead-form .field textarea { resize: vertical; }
.check-label.consent { align-items: flex-start; margin: 4px 0; }
.check-label.consent span { color: var(--seed-pewter); font-size: 13px; line-height: 1.5; }
.check-label.consent a { text-decoration: underline; }
.check-label.consent input.checkbox { margin-top: 2px; }
.lead-done { background: var(--seed-lime); border-radius: 12px; padding: 18px; margin-bottom: 24px; }
.lead-done h3 { margin: 0 0 6px; }
.lead-done p, .sold-note { margin: 0; font-size: 14px; line-height: 1.6; }
.sold-note { margin: 16px 0; color: var(--seed-pewter); }
.error { color: #8a1c12; background: #f6e3df; padding: 10px 12px; border-radius: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spec-table dd a { text-decoration: underline; text-underline-offset: 3px; }

.mobile-buy { display: none; }

/* ---------- Корзина заявок ---------- */
.request-item { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.request-thumb { display: block; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: var(--card-surface, var(--seed-stone)); }
.request-thumb img { width: 100%; height: 100%; object-fit: cover; }
.request-item .compact-specs { margin: 6px 0; }
.request-item-side { display: grid; gap: 8px; justify-items: end; }
.request-item-side .price { font-size: 20px; white-space: nowrap; }
.notice-success { background: var(--seed-lime); }
.notice h3 { margin: 0 0 6px; }
.notice .btn { margin-top: 12px; }
.request-form > .error, .request-form > .check-label { margin: 12px 0; }
.request-form .field textarea { resize: vertical; }

/* ---------- Прочее ---------- */
.compare-scroll { overflow-x: auto; }
.compare-table td:first-child { color: var(--seed-pewter); }
.prose { max-width: 75ch; line-height: 1.7; }
.empty-404 { margin: 40px 0; }

/* ======================= Адаптивная вёрстка ======================= */
@media (max-width: 1259px) {
    body { min-width: 0; }
    .wrap { width: calc(100% - 48px); }
    .cards, .results .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .category-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .activity-grid { grid-template-columns: repeat(3, 1fr); }
    .brand-strip { grid-template-columns: repeat(4, 1fr); }
    .brand-grid { grid-template-columns: repeat(3, 1fr); }
    .catalog-root { display: block; columns: 2; column-gap: 18px; }
    .catalog-column { display: contents; }
    .catalog-root section { break-inside: avoid; margin-bottom: 18px; }
    .product-workspace { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
    .product-overview { grid-template-columns: 1fr; }
    body:has(main>.hero) .quick-fields { grid-template-columns: 1fr 1fr; }
    body:has(main>.hero) .quick-fields > .btn { grid-column: 1 / -1; }
    body:has(main>.hero) .hero-heading { grid-template-columns: 1fr; gap: 18px; }
    .header-actions > a { width: 46px; }
    .topbar nav { gap: 16px; font-size: 14px; }
}

@media (max-width: 900px) {
    .wrap { width: calc(100% - 32px); }
    .topbar nav { display: none; }
    .topbar > .wrap { height: 40px; }
    header { padding-block: 10px; }
    .header { flex-wrap: wrap; height: auto; gap: 10px; }
    .header .brand-logo { font-size: 21px; margin-right: auto; }
    .header .brand-logo img { width: 24px; height: auto; }
    .header > .btn { height: 46px; padding-inline: 14px; order: 3; }
    .header .search { order: 4; flex: 1 1 100%; height: 48px; }
    .header-actions { order: 2; gap: 4px; }
    .header-actions > a { width: 42px; height: 46px; }
    body:has(main>.hero) header { top: 40px; }

    body:has(main>.hero) .hero { min-height: 0; padding-top: 250px; }
    body:has(main>.hero) .hero h1 { font-size: 36px; }
    body:has(main>.hero) .hero-heading { margin-bottom: 24px; }
    body:has(main>.hero) .quick { padding: 14px; border-radius: 20px; }
    body:has(main>.hero) .quick-fields { grid-template-columns: 1fr; gap: 10px; }
    body:has(main>.hero) .quick .field select, body:has(main>.hero) .quick .condition-switch,
    body:has(main>.hero) .quick .budget-inputs, body:has(main>.hero) .quick .budget-inputs label,
    body:has(main>.hero) .quick-fields > .btn { height: 56px; }

    .section-heading { flex-wrap: wrap; gap: 8px; }
    .cards, .results .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
    .category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .category-tile { height: 200px; padding: 0 12px 14px; }
    .category-tile img { height: 92px; top: 10px; }
    .category-tile h3 { font-size: 16px; }
    .collection-links { grid-template-columns: 1fr; }
    .activity-grid { grid-template-columns: repeat(2, 1fr); }
    .activity-grid > a { min-height: 130px; padding: 18px; }
    .brand-strip { grid-template-columns: repeat(2, 1fr); }
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .about-block { grid-template-columns: 1fr; gap: 24px; padding: 26px; margin: 40px 0; }
    .import-banner { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; margin: 48px 0; }
    .import-banner h2 { font-size: 28px; }
    .import-origins { flex-wrap: wrap; }
    .import-banner .btn { align-self: stretch; width: 100%; height: auto; min-height: 52px; padding: 14px 18px; white-space: normal; text-align: center; line-height: 1.3; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-bottom { flex-wrap: wrap; gap: 12px 20px; }

    .catalog-root { columns: 1; }
    .catalog-layout { grid-template-columns: 1fr; }
    .catalog-layout .filters { order: 2; }
    .only-mobile { display: inline-flex !important; }
    .results-toolbar { flex-wrap: wrap; }
    .results-toolbar > span { flex-basis: 100%; }
    .results-toolbar button[data-view] { display: none; }
    .list-view .product-card { grid-template-columns: 1fr; }

    .product-heading { flex-direction: column; gap: 6px; margin-bottom: 18px; }
    .mobile-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card-surface, var(--seed-stone)); border-radius: 14px; padding: 14px 16px; margin-bottom: 18px; }
    .mobile-buy .price { font-size: 24px; font-weight: 600; font-variation-settings: "wdth" 120; }
    .crumbs { flex-wrap: wrap; row-gap: 4px; }
    .gallery-stage { aspect-ratio: 4 / 3; }
    .product-heading h1 { font-size: 28px; }
    .product-workspace { grid-template-columns: 1fr; }
    .purchase-column { position: static; }
    .request-layout { grid-template-columns: 1fr; }
    .request-summary { position: static; }
    .form-grid { grid-template-columns: 1fr; }
    .request-item { grid-template-columns: 96px minmax(0, 1fr); }
    .request-item-side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .page-heading { gap: 8px 16px; }
    .compare-table th, .compare-table td { min-width: 180px; padding: 12px; }
    .compare-table th:first-child { width: 130px; min-width: 120px; }
}

@media (max-width: 520px) {
    .header > .btn { flex: 1; }
    .cards, .results .cards { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .card-actions > .btn:first-child { font-size: 14px; }
}
[data-filter-item][hidden] { display: none !important; }

/* ---------- Подтверждение телефона ---------- */
.verify-page { display: grid; place-items: center; padding: 24px 0 40px; }
.verify-box { width: 100%; max-width: 460px; margin-top: 0; display: grid; gap: 14px; }
.verify-box h1 { margin: 0; font-size: 30px; }
.verify-box .lead { margin: 0; }
.verify-box form { display: grid; gap: 12px; }
.verify-box .field input { font-size: 24px; letter-spacing: .4em; text-align: center; }
.dev-code { background: #fff4cc; margin: 0; }
.verify-resend { justify-items: center; }

/* ======================= Кабинеты: продавец и модерация ======================= */
.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin: 8px 0 18px; }
.account-head h1 { margin: 0; }
.account-head .muted { font-size: 15px; }
.account-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.account-nav a { background: var(--seed-stone); border-radius: 10px; padding: 10px 14px; font-size: 15px; font-weight: 600; font-variation-settings: "wdth" 120; }
.account-nav a[aria-current=page] { background: var(--seed-forest); color: var(--seed-snow); }
.account-nav a b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 6px; padding: 0 5px; border-radius: 99px; background: var(--seed-lime); color: #000; font-size: 12px; }
.account-nav form { margin-left: auto; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs a { border: 1px solid var(--seed-frost); border-radius: 99px; padding: 6px 12px; font-size: 14px; }
.tabs a[aria-current=page] { background: var(--seed-forest); color: var(--seed-snow); border-color: var(--seed-forest); }
.tabs a b { margin-left: 4px; }
.flash { background: var(--seed-lime); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-size: 15px; }
.flash-error { background: #f6e3df; color: #8a1c12; }
.panel { background: var(--card-surface, var(--seed-stone)); border-radius: 18px; padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h2 { font-size: 20px; margin: 0 0 14px; }
.panel h3 { font-size: 16px; margin: 0 0 10px; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--card-surface, var(--seed-stone)); border-radius: 16px; padding: 18px; }
.stat span { color: var(--seed-pewter); font-size: 14px; display: block; margin-bottom: 6px; }
.stat strong { font-size: 26px; font-weight: 600; font-variation-settings: "wdth" 120; }
.table-wrap { overflow-x: auto; background: var(--seed-snow); border: 1px solid var(--seed-stone); border-radius: 16px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--seed-stone); vertical-align: top; }
.data-table th { color: var(--seed-pewter); font-weight: 500; white-space: nowrap; background: var(--seed-snow); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table a { text-decoration: underline; text-underline-offset: 3px; }
.pos { color: #1f6b2c; }
.neg { color: #8a1c12; }
.badge-s { display: inline-block; border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--seed-stone); }
.badge-s.s-verified, .badge-s.s-needs_pricing { background: #fff1c2; }
.badge-s.s-awaiting_payment { background: #ffe0c7; }
.badge-s.s-delivered, .badge-s.s-closed { background: var(--seed-lime); }
.badge-s.s-disputed { background: #f6d7d2; }
.badge-s.s-refunded, .badge-s.s-rejected, .badge-s.s-unverified { background: var(--seed-frost); }
.lead-contact { background: var(--seed-snow); border-radius: 12px; padding: 12px 14px; margin-top: 10px; display: grid; gap: 3px; }
.lead-contact a { font-size: 18px; font-weight: 600; }
.lead-locked { color: var(--seed-pewter); font-size: 14px; margin-top: 8px; }
.lead-cards { display: grid; gap: 14px; }
.lead-card { background: var(--card-surface, var(--seed-stone)); border-radius: 16px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.lead-card h3 { margin: 0 0 6px; font-size: 17px; }
.lead-card .meta { color: var(--seed-pewter); font-size: 14px; display: flex; gap: 12px; flex-wrap: wrap; }
.lead-side { display: grid; gap: 10px; align-content: start; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.inline-form select, .inline-form input, .form-stack select, .form-stack input, .form-stack textarea { border: 1px solid var(--seed-frost); background: var(--seed-snow); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; }
.form-stack { display: grid; gap: 10px; }
.form-stack label { display: grid; gap: 5px; font-size: 14px; color: var(--seed-pewter); }
.field-label { font-size: 14px; color: var(--seed-pewter); }
.form-stack > .form-stack { gap: 5px; }
.form-stack textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
details.dispute summary { cursor: pointer; font-size: 14px; text-decoration: underline; }
details.dispute[open] { display: grid; gap: 8px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.timeline li { border-left: 3px solid var(--seed-frost); padding: 2px 0 2px 12px; font-size: 14px; }
.timeline li b { display: block; font-weight: 600; }
.timeline .muted { font-size: 13px; }
.kv { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 14px; font-size: 14px; margin: 0; }
.kv dd { overflow-wrap: anywhere; }
.panel-grid > * { min-width: 0; }
.kv dt { color: var(--seed-pewter); }
.kv dd { margin: 0; }
.actions-grid { display: grid; gap: 14px; }
.actions-grid form { display: grid; gap: 8px; border-top: 1px solid var(--seed-frost); padding-top: 14px; }
.actions-grid form:first-child { border-top: 0; padding-top: 0; }
.login-box { max-width: 420px; margin: 20px auto 40px; }
.login-box form { display: grid; gap: 14px; }
.demo-hint { font-size: 13px; color: var(--seed-pewter); line-height: 1.6; }

@media (max-width: 900px) {
    .panel-grid, .lead-card { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr; }
    .kv { grid-template-columns: 1fr; }
    .account-nav form { margin-left: 0; }
}
.actions-grid input, .actions-grid textarea { border: 1px solid var(--seed-frost); background: var(--seed-snow); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; width: 100%; }
.actions-grid textarea { min-height: 70px; resize: vertical; }
.data-table details summary { cursor: pointer; text-decoration: underline; }
.data-table details[open] { min-width: 280px; }
/* В seed.css у .muted стоит white-space:nowrap (для коротких подписей) — длинным текстам разрешаем перенос */
p.muted, div.muted, dd.muted, li .muted, .lead-locked, .lead-contact .muted, .demo-hint { white-space: normal; }

/* ======================= Продвижение и реклама ======================= */
.product-card.is-highlighted { box-shadow: 0 0 0 2px var(--seed-lime), 0 8px 24px #1c3a1314; background-color: #f6ffe9; }
.product-card.is-pinned { box-shadow: 0 0 0 2px var(--seed-forest); }
.promo-badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--seed-lime); color: var(--seed-forest); border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 600; font-variation-settings: "wdth" 120; }
.is-pinned .promo-badge { background: var(--seed-forest); color: var(--seed-snow); }
.product-image { position: relative; }
.ad-banner { position: relative; margin: 0 0 24px; }
.ad-banner a { display: block; border-radius: 18px; overflow: hidden; background: var(--seed-stone); }
.ad-banner img { width: 100%; height: auto; display: block; aspect-ratio: 6 / 1; object-fit: cover; }
.ad-label { position: absolute; top: 8px; right: 10px; background: rgb(252 252 247 / 90%); color: var(--seed-pewter); font-size: 11px; border-radius: 6px; padding: 2px 7px; }
@media (max-width: 700px) { .ad-banner img { aspect-ratio: 2 / 1; } }

/* Кабинет: тарифы продвижения, календарь баннеров */
.tariff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.tariff { background: var(--seed-snow); border: 1px solid var(--seed-stone); border-radius: 16px; padding: 16px; display: grid; gap: 8px; align-content: start; }
.tariff h3 { margin: 0; font-size: 16px; }
.tariff .price { font-size: 22px; font-weight: 600; font-variation-settings: "wdth" 120; }
.tariff p { margin: 0; color: var(--seed-pewter); font-size: 14px; line-height: 1.5; }
.tariff form { display: grid; gap: 8px; margin-top: 6px; }
.tariff input[type=date] { border: 1px solid var(--seed-frost); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 14px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; font-size: 12px; }
.cal .dow { color: var(--seed-pewter); text-align: center; padding: 2px 0; }
.cal .day { border-radius: 8px; padding: 6px 2px; text-align: center; background: var(--seed-lime); }
.cal .day.busy { background: #f0d2cc; color: #8a1c12; text-decoration: line-through; }
.cal .day.blank { background: transparent; }
.cal .month { grid-column: 1 / -1; font-weight: 600; font-size: 13px; margin-top: 8px; }
.legend { display: flex; gap: 14px; font-size: 13px; color: var(--seed-pewter); margin: 8px 0; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 4px; }
.banner-thumb { width: 180px; border-radius: 8px; display: block; }

/* ---------- Каталог: подразделы, быстрые фильтры, выбранные условия, подсказка «Показать», перелинковка ---------- */
.subtiles a { border: 1px solid var(--seed-stone); background: var(--seed-snow); border-radius: 8px; flex: none; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 155px; padding: 12px 20px; font-size: 14px; line-height: 1.35; color: var(--seed-forest); }
.subtiles a:hover { border-color: var(--seed-sage); }
.subtiles a.selected { outline: 2px solid var(--seed-forest); outline-offset: -1px; background: var(--seed-snow) !important; color: var(--seed-forest) !important; font-weight: 600; }
.subtiles a.selected img { filter: none; opacity: 1; }
.quick-tags a.selected { background: var(--seed-forest); color: var(--seed-snow); }
.active-filters a { background: var(--seed-stone); border-radius: 5px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 14px; color: var(--seed-forest); }
.active-filters a:hover { background: var(--seed-sage); }
.filters { position: relative; }
.show-hint { position: absolute; left: calc(100% + 12px); z-index: 30; white-space: nowrap; filter: drop-shadow(0 6px 16px rgba(20, 40, 20, .18)); }
.show-hint::before { content: ''; position: absolute; left: -6px; top: 14px; border: 6px solid transparent; border-left: 0; border-right-color: var(--seed-forest); }
.show-hint .btn { min-height: 40px; }
.show-hint.is-empty .btn { background: var(--seed-pewter); border-color: var(--seed-pewter); }
.seo-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 32px; margin: 56px 0 8px; padding-top: 32px; border-top: 1px solid var(--seed-stone); }
.seo-links h2 { font-size: 17px; margin: 0 0 12px; }
.seo-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.seo-links li { font-size: 14px; line-height: 1.35; }
.seo-links a { color: var(--seed-forest); }
.seo-links a:hover { text-decoration: underline; }
.seo-links small { color: var(--seed-pewter); font-size: 12px; margin-left: 4px; }
.seo-links [aria-current] { color: var(--seed-pewter); }
@media (max-width: 900px) {
    .show-hint { position: fixed; left: 16px; right: 16px; bottom: 16px; top: auto !important; }
    .show-hint::before { display: none; }
    .show-hint .btn { width: 100%; }
}

/* ---------- Админка: SEO, продавцы, таблицы с фильтрами ---------- */
.toolbar-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.toolbar-form select, .toolbar-form input { border: 1px solid var(--seed-frost); background: var(--seed-snow); border-radius: 10px; padding: 8px 11px; font: inherit; font-size: 14px; min-width: 0; }
.toolbar-form input[type=search] { flex: 1 1 220px; }
.toolbar-form .grow { flex: 1 1 auto; }
.filter-panel { background: var(--card-surface, var(--seed-stone)); border-radius: 16px; padding: 14px; margin-bottom: 14px; display: grid; gap: 10px; }
.filter-panel .toolbar-form { margin: 0; }
.filter-panel .muted { font-size: 13px; }
.pill { display: inline-block; border-radius: 99px; padding: 3px 9px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--seed-stone); }
.pill-ok { background: var(--seed-lime); }
.pill-warn { background: #fff1c2; }
.pill-bad { background: #f6d7d2; }
.pill-muted { background: var(--seed-frost); color: var(--seed-pewter); }
.pill-info { background: #dde9f7; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.data-table tr.is-muted td { opacity: .55; }
.input-prefix { display: flex; align-items: stretch; border: 1px solid var(--seed-frost); border-radius: 10px; overflow: hidden; background: var(--seed-snow); }
.input-prefix > span { padding: 9px 4px 9px 11px; color: var(--seed-pewter); font-size: 13px; white-space: nowrap; display: flex; align-items: center; }
.form-stack .input-prefix input { border: 0; border-radius: 0; padding-left: 0; flex: 1; min-width: 60px; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; margin-top: 10px; }
.form-stack .check-label { display: flex; color: var(--seed-forest); }
.filter-block { border-top: 1px solid var(--seed-frost); padding-top: 12px; display: grid; gap: 8px; }
.filter-block summary { cursor: pointer; }
.seo-form .panel + .panel { margin-top: 0; }
.seo-preview { position: sticky; top: 16px; display: grid; gap: 14px; }
.serp { background: var(--seed-snow); border-radius: 12px; padding: 14px; display: grid; gap: 4px; font-family: Arial, sans-serif; }
.serp-url { color: #1a7f37; font-size: 13px; overflow-wrap: anywhere; }
.serp-title { color: #1a0dab; font-size: 18px; line-height: 1.3; }
.serp-desc { color: #4d5156; font-size: 13px; line-height: 1.5; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sticky-actions { position: sticky; bottom: 0; background: var(--seed-snow); padding: 12px 0; border-top: 1px solid var(--seed-stone); margin-top: 16px; }
.danger-zone { margin-top: 18px; }
.tpl-help p { margin: 0 0 8px; font-size: 14px; line-height: 1.7; }
.tpl-help code, .tpl-row code { background: var(--seed-snow); border-radius: 5px; padding: 1px 5px; font-size: 13px; }
.tpl-group { margin-top: 16px; }
.tpl-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--seed-frost); }
.tpl-row:first-of-type { border-top: 0; }
.tpl-row > span { font-weight: 600; font-size: 14px; }
.tpl-row input { border: 1px solid var(--seed-frost); background: var(--seed-snow); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; width: 100%; }
.tpl-row small { grid-column: 2; font-size: 13px; }
.len-warn { color: #8a1c12; }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 22px; }
.req-grid dt { color: var(--seed-pewter); font-size: 13px; }
.req-grid dd { margin: 2px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.seller-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 16px; }
.seller-head h2 { margin: 0 0 4px; font-size: 24px; }
.lt-thumb { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--seed-stone); display: block; }
.lt-title { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; min-width: 260px; }
.lt-title a { font-weight: 600; }
.lt-meta { color: var(--seed-pewter); font-size: 13px; margin-top: 3px; }
.lt-promo { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.lt-sum { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--seed-pewter); margin: 0 0 10px; }
.lt-sum b { color: var(--seed-forest); }
.data-table th a { text-decoration: none; color: inherit; }
.data-table th a[aria-sort] { color: var(--seed-forest); }
@media (max-width: 900px) {
    .seo-preview { position: static; }
    .tpl-row { grid-template-columns: 1fr; }
    .tpl-row small { grid-column: 1; }
}
.req-grid .muted, .lt-meta, .filter-panel .muted { white-space: normal; }

/* ---------- Кабинет: форма объявления ---------- */
.field-error { color: #8a1c12; font-size: 13px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.photo-grid:empty { display: none; }
.photo-item { position: relative; display: grid; gap: 6px; background: var(--seed-snow); border: 2px solid transparent; border-radius: 12px; padding: 6px; font-size: 13px; color: var(--seed-pewter); cursor: grab; user-select: none; }
.photo-item.is-main { border-color: var(--seed-forest); }
.photo-item.is-dragging { opacity: .4; }
.photo-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; pointer-events: none; }
.photo-tools { display: flex; align-items: center; justify-content: space-between; gap: 4px; flex-wrap: wrap; }
.photo-badge { display: none; font-weight: 600; color: var(--seed-forest); }
.photo-item.is-main .photo-badge { display: inline; }
.photo-item.is-main [data-photo-main] { display: none; }
.photo-move { display: flex; gap: 4px; margin-left: auto; }
.photo-btn { border: 1px solid var(--seed-frost); background: #fff; border-radius: 8px; padding: 2px 8px; font: inherit; font-size: 12px; line-height: 20px; cursor: pointer; color: inherit; }
.photo-btn:hover { border-color: var(--seed-pewter); }
.photo-del:hover { color: #b3261e; border-color: #b3261e; }
.photo-hint { margin: 0 0 10px; font-size: 13px; white-space: normal; }
.photo-hint:empty { display: none; }
.photo-hint.is-error { color: #b3261e; }
.photo-drop { display: block; border: 2px dashed var(--seed-frost); border-radius: 14px; padding: 18px; background: var(--seed-snow); cursor: pointer; }
.photo-drop.is-over { border-color: var(--seed-forest); background: var(--seed-lime); }
.photo-drop input { display: block; margin-bottom: 8px; }
.photo-drop span { font-size: 14px; color: var(--seed-pewter); }
.steps-mini { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; color: var(--seed-pewter); }
.lifecycle { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--seed-frost); padding-top: 12px; }
.listing-form .form-stack label { color: var(--seed-forest); }
.cabinet-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.lt-edit { display: inline-block; margin-left: 8px; font-size: 13px; }

/* Календарь брони баннера: выбор периода кликом */
.cal button.day { border: 0; font: inherit; font-size: 12px; color: var(--seed-forest); cursor: pointer; }
.cal button.day:hover:not(:disabled) { outline: 2px solid var(--seed-forest); outline-offset: -2px; }
.cal button.day:disabled { cursor: not-allowed; }
.cal .day.past { background: var(--seed-stone); color: var(--seed-pewter); }
.cal .day.in-range { background: var(--seed-forest); color: var(--seed-snow); }
.cal .day.in-range.busy { background: #8a1c12; color: #fff; text-decoration: line-through; }
.cal .day.range-start, .cal .day.range-end { box-shadow: inset 0 0 0 2px var(--seed-lime); }
.cal-hint { margin: 0 0 8px; font-size: 13px; white-space: normal; }
.booking-summary { font-size: 14px; background: var(--seed-snow); border-radius: 10px; padding: 10px 12px; }
.booking-summary:empty { display: none; }
.booking-summary.is-bad { background: #f6e3df; color: #8a1c12; }
.listing-form .form-row { align-items: start; }

/* ---------- Справочники ---------- */
input.checkbox-plain { width: 18px; height: 18px; accent-color: var(--seed-forest); cursor: pointer; }
.matrix-wrap { max-height: 70vh; }
.matrix th, .matrix td { padding: 6px 8px; text-align: center; }
.matrix tbody th { text-align: left; white-space: nowrap; position: sticky; left: 0; background: var(--seed-snow); z-index: 1; font-weight: 500; color: var(--seed-forest); }
.matrix thead th { position: sticky; top: 0; z-index: 2; }
.matrix th.vert { height: 150px; vertical-align: bottom; white-space: nowrap; }
.matrix th.vert span { writing-mode: vertical-rl; transform: rotate(180deg); display: inline-block; max-height: 140px; overflow: hidden; text-overflow: ellipsis; }
.bulk-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--seed-forest); color: var(--seed-snow); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; }
.bulk-bar select, .bulk-bar input { border: 0; border-radius: 8px; padding: 7px 10px; font: inherit; font-size: 14px; }
.bulk-bar .btn { background: var(--seed-lime); color: var(--seed-forest); }

/* Подсказка под полем формы */
.hint { display: block; font-size: 12px; font-weight: 400; opacity: .7; white-space: normal; margin-top: 4px; }
/* Свои характеристики в форме объявления */
.custom-attrs { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(0,0,0,.08); }
.custom-attrs h3 { margin: 0 0 6px; font-size: 17px; }
.custom-attr-row { display: grid; grid-template-columns: 1.3fr 1.3fr .6fr 1.3fr auto; gap: 10px; align-items: end; margin-bottom: 10px; }
.custom-attr-row .btn { height: 42px; }
@media (max-width: 760px) { .custom-attr-row { grid-template-columns: 1fr 1fr; } }
.attr-inherited { font-size: 12px; opacity: .6; font-weight: 400; }
.role-list { display: grid; gap: 10px; }
.role-item { align-items: flex-start; }
.role-item > span { display: grid; gap: 2px; }
.journal-changes { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.journal-changes li { margin: 2px 0; }
.journal-changes del { opacity: .6; }
.history-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.history-list li { border-left: 3px solid rgba(0,0,0,.12); padding: 4px 0 4px 12px; }
.history-list li.by-staff { border-left-color: var(--seed-forest); }
.legal-doc { max-width: 860px; margin: 24px 0 48px; }
.rich-text h2 { margin: 24px 0 8px; font-size: 22px; }
.rich-text h3 { margin: 18px 0 6px; font-size: 18px; }
.rich-text p, .rich-text li { line-height: 1.6; }
.rich-text ul, .rich-text ol { padding-left: 22px; }
.register-page { max-width: 900px; margin: 24px 0 48px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.type-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.type-card { display: flex; gap: 10px; align-items: flex-start; border: 2px solid var(--seed-frost); border-radius: 14px; padding: 16px; cursor: pointer; background: var(--seed-snow); }
.type-card:has(input:checked) { border-color: var(--seed-forest); }
.type-card > span { display: grid; gap: 4px; }
.brand-picker { margin-top: 14px; }
.brand-picker summary { cursor: pointer; font-weight: 600; }
.brand-picker .data-table { margin-top: 10px; max-height: 360px; display: block; overflow-y: auto; }
@media (max-width: 640px) { .type-switch { grid-template-columns: 1fr; } }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 18px 0; }
.blog-card { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 6px; align-content: start; text-decoration: none; color: inherit; background: var(--seed-snow); border-radius: 16px; padding: 12px; }
.blog-card img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 12px; background: #eee; }
.blog-card b { font-size: 17px; }
.blog-date { font-size: 13px; opacity: .65; }
.blog-cover { width: 100%; max-height: 420px; object-fit: cover; border-radius: 16px; margin: 8px 0 18px; }
.rich-editor { border: 1px solid var(--seed-frost); border-radius: 12px; background: #fff; }
.re-toolbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border-bottom: 1px solid var(--seed-frost); position: sticky; top: 0; background: #fff; z-index: 2; border-radius: 12px 12px 0 0; }
.re-toolbar button { border: 1px solid transparent; background: var(--seed-snow); border-radius: 8px; padding: 5px 9px; font: inherit; font-size: 13px; cursor: pointer; }
.re-toolbar button:hover, .re-toolbar button.is-on { border-color: var(--seed-forest); }
.re-sep { width: 1px; background: var(--seed-frost); margin: 0 4px; }
.re-area { min-height: 360px; padding: 14px 16px; outline: none; }
.re-area table, .rich-text table { border-collapse: collapse; margin: 10px 0; }
.re-area td, .re-area th, .rich-text td, .rich-text th { border: 1px solid var(--seed-frost); padding: 6px 10px; }
.re-area img, .rich-text img { max-width: 100%; height: auto; border-radius: 10px; }
.rich-text blockquote { border-left: 3px solid var(--seed-lime); margin: 12px 0; padding: 4px 14px; }
.re-source { width: 100%; min-height: 360px; border: 0; padding: 14px; font: 13px/1.5 ui-monospace, monospace; }
.re-tokens { margin-top: 8px; font-size: 13px; }
.re-tokens summary { cursor: pointer; }
.re-tokens code { background: var(--seed-snow); padding: 1px 4px; border-radius: 4px; }

.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin: 4px 0; }
.blog-card .muted { white-space: normal; }
.rich-text a { color: var(--seed-forest); text-decoration: underline; text-underline-offset: 3px; }
.tabs .pill { color: var(--seed-forest); padding: 0 7px; margin-left: 4px; }

/* Вопросы и ответы */
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--card-surface, #efefe9); border-radius: 14px; padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .rich-text { padding: 0 0 18px; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; background: var(--seed-forest); color: var(--seed-snow); border-radius: 16px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 14px; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-bar .btn { flex: none; }
.cookie-bar .btn-outline { background: transparent; color: var(--seed-snow); border: 1px solid var(--seed-snow); }
@media (max-width: 640px) { .cookie-bar { flex-direction: column; align-items: stretch; } }

/* Обзор админки */
.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.dash-card { display: grid; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--card-surface, #efefe9); color: inherit; text-decoration: none; }
.dash-card b { font-size: 30px; line-height: 1.1; }
.dash-card span { font-weight: 600; }
.dash-card small { color: var(--seed-pewter); }
a.dash-card:hover { outline: 2px solid var(--seed-frost); }
.dash-card.is-hot { background: #fff1c2; }

/* Справочник моделей: дерево разделов слева */
.models-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.models-tree { display: grid; gap: 2px; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow: auto; }
.models-tree a { display: flex; justify-content: space-between; gap: 8px; padding: 5px 8px; border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px; }
.models-tree a:hover { background: var(--seed-frost); }
.models-tree a[aria-current="page"] { background: var(--seed-forest); color: var(--seed-snow); }
.models-tree small { color: inherit; opacity: .7; }
@media (max-width: 900px) { .models-layout { grid-template-columns: 1fr; } .models-tree { position: static; max-height: 300px; } }
.ads-sections { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ads-sections a { padding: 5px 12px; border-radius: 999px; background: var(--card-surface, #efefe9); color: inherit; text-decoration: none; font-size: 14px; }
.ads-sections a[aria-current="page"] { background: var(--seed-forest); color: var(--seed-snow); }
.ads-sections small { opacity: .7; margin-left: 4px; }

/* Баннер «Не нашли нужную технику?» в ленте каталога */
.feed-banner { grid-column: 1 / -1; }
.import-banner--compact { margin: 4px 0; padding: 28px 32px; gap: 24px; }
.import-banner--compact h2 { font-size: 26px; margin-bottom: 10px; }
.import-banner--compact p { font-size: 16px; }
@media (max-width: 900px) { .import-banner--compact { flex-direction: column; align-items: flex-start; padding: 22px; } .import-banner--compact .btn { align-self: stretch; width: 100%; height: auto; min-height: 52px; padding: 14px 18px; white-space: normal; text-align: center; line-height: 1.3; } }

/* Блог: статья во всю ширину, главная картинка фоном заголовка, автор */
.blog-post { margin: 16px 0 40px; }
.post-hero { position: relative; display: flex; align-items: flex-end; min-height: 440px; margin: 8px 0 28px; border-radius: 24px; overflow: hidden; background: #2b3a22 center / cover no-repeat; color: #fff; text-decoration: none; }
.post-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 8, .15) 0%, rgba(10, 20, 8, .55) 45%, rgba(10, 20, 8, .88) 100%); }
.post-hero-inner { position: relative; width: 100%; padding: 40px 44px; }
.post-hero h1, .post-hero h2 { margin: 6px 0 10px; color: #fff; font-size: clamp(28px, 4vw, 48px); line-height: 1.1; max-width: 1000px; }
.post-hero-back { color: #e4f7b5; text-decoration: none; font-size: 14px; font-weight: 600; }
.post-hero-lead { max-width: 820px; margin: 0 0 16px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.post-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.post-hero-meta a { color: #fff; }
.post-hero-link:hover h2 { text-decoration: underline; text-underline-offset: 4px; }
.post-byline { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.post-byline span { display: grid; line-height: 1.25; }
.post-byline small { font-size: 12px; color: rgba(255, 255, 255, .82); }
.post-body { font-size: 17px; }
.post-body img { width: 100%; }
.blog-index-h1 { margin: 8px 0 4px; }
.author-avatar { flex: none; border-radius: 50%; object-fit: cover; background: var(--seed-lime, #cdee7a); }
.author-initials { display: inline-grid; place-items: center; color: var(--seed-forest, #1f3315); font-weight: 700; }
.author-card { display: flex; gap: 22px; align-items: flex-start; margin: 36px 0 20px; padding: 28px; border-radius: 20px; background: var(--card-surface, #efefe9); }
.author-card .rich-text { margin-top: 8px; }
.author-card-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .6; }
.author-card-name { display: inline-block; margin: 2px 0; font-size: 20px; font-weight: 700; color: inherit; }
.author-page { margin-top: 8px; }
.author-page h1 { margin: 2px 0 4px; }
@media (max-width: 640px) {
    .post-hero { min-height: 360px; border-radius: 18px; }
    .post-hero-inner { padding: 24px 20px; }
    .post-hero-lead { font-size: 16px; }
    .author-card { flex-direction: column; padding: 20px; }
}

.seller-pick { display: grid; gap: 6px; min-width: 0; }
.seller-pick select { width: 100%; max-width: 100%; min-width: 0; border: 1px solid var(--seed-frost); background: var(--seed-snow); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 14px; }
.seo-preview { min-width: 0; }

/* Блог: техника из каталога в статье */
.post-ads { margin: 32px 0; padding: 24px; border-radius: 20px; background: var(--card-surface, #efefe9); font-size: 15px; line-height: 1.4; }
.post-ads-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.post-ads-head h2 { margin: 0; font-size: 24px; }
.post-body .post-ads img { width: 100%; border-radius: 0; }
.post-body .post-ads a { text-decoration: none; }
@media (max-width: 640px) { .post-ads { padding: 16px; margin: 24px 0; } }
.post-body .post-ads .btn-dark { color: #fff; }
[data-generator] [hidden] { display: none !important; }

/* Шапка: меню гостя «Войти / Зарегистрироваться» */
.header-actions { position: relative; }
.account-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; display: grid; gap: 8px; width: 280px; padding: 16px; border-radius: 18px; background: var(--seed-snow, #fff); box-shadow: 0 12px 40px rgba(20, 35, 15, .18); }
.account-pop[hidden] { display: none; }
.account-pop .btn { justify-content: center; width: 100%; }
.account-pop p { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: var(--seed-pewter, #5c6658); white-space: normal; }
header .account-pop .btn-dark { background: var(--seed-forest, #1f3315) !important; color: #fff !important; }
header .account-pop .btn-outline { background: transparent !important; color: var(--seed-forest, #1f3315) !important; border: 1px solid var(--seed-frost, #d6dccf) !important; }
header .account-pop .btn-outline:hover { background: var(--seed-lime, #cdee7a) !important; }

/* Двухфакторный вход */
.two-factor-box { max-width: 560px; }
.two-factor-steps { padding-left: 22px; display: grid; gap: 12px; line-height: 1.5; list-style: decimal; }
.two-factor-steps li { display: list-item; }
.two-factor-secret { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 4px; }
.two-factor-secret code { font-size: 18px; letter-spacing: .08em; padding: 8px 12px; border-radius: 10px; background: var(--card-surface, #efefe9); word-break: break-all; }
.two-factor-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; margin: 12px 0; }
.two-factor-codes code { display: block; text-align: center; font-size: 16px; padding: 8px; border-radius: 10px; background: var(--card-surface, #efefe9); }

/* Подсветка панели заявки при переходе по «Заявка продавцу» / «Узнать цену» */
.purchase-panel { scroll-margin-top: 24px; }
.purchase-panel.is-highlight { animation: request-pulse 1.6s ease-out; }
@keyframes request-pulse { 0% { box-shadow: 0 0 0 0 rgb(28 58 19 / 45%); } 70% { box-shadow: 0 0 0 14px rgb(28 58 19 / 0%); } 100% { box-shadow: none; } }
