/* Поиск v2 (09.10.2026, этап 2): подсказки шапки (.sx: ≥1101 — широкая панель B, 851–1100 — список под полем), окно поиска на телефоне (#sxm,
   список A), страница результатов (.srp, фильтры слева — вариант A). Стиль сайта: кирпичный акцент, углы 5 px, наведение — только мышью.
   Разметка: layouts/pages/search_panel.php, pages/catalog/search_v2.php; поведение — assets/js/search2.js. Откат — config/pdp.php search_v2 'off'. */
.sx, .sxm, .srp {
    --sx-brand: #b74923; --sx-brand-d: #9a3c1c; --sx-soft: #fbefe9; --sx-ink: #1c1a19; --sx-text: #3b3633; --sx-muted: #6b625d;
    --sx-line: #ebe5e1; --sx-field: #d8cfc9; --sx-bg: #f5f3f1; --sx-sale: #d7322b; --sx-ok: #1f7a3a; --sx-warn: #9a5b00; --sx-price: #8a3a1b;
}
.sx *, .sxm *, .srp * { box-sizing: border-box; }
.sx [hidden], .sxm [hidden], .srp [hidden] { display: none !important; }

/* ---------------- подсказки: общие элементы ---------------- */
.sx-in { color: var(--sx-ink); font-size: 14px; line-height: 1.35; font-variant-numeric: tabular-nums; }
.sx-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; padding: 0 16px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sx-muted); }
.sx-link { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none;
    color: var(--sx-brand); text-decoration: none; cursor: pointer; }
.sx-sec { padding-top: 12px; }
.sx-ic { flex: none; color: var(--sx-muted); }
.sx-fix { margin: 0; padding: 12px 16px 0; font-size: 13.5px; color: var(--sx-text); }
.sx-opt { color: var(--sx-ink); text-decoration: none; outline: none; }
.sx-opt.is-active { background: var(--sx-soft); }
.sx-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--sx-brand); }

.sx-sug, .sx-cats, .sx-prods, .sx-list, .sx-chips { list-style: none; margin: 0; padding: 0; }
.sx-s { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--sx-text); }
.sx-s b { color: var(--sx-ink); font-weight: 700; }
.sx-s em, .sx-c em, .sx-b em { font-style: normal; margin-left: auto; font-size: 12px; color: var(--sx-muted); white-space: nowrap; }
.sx-c { display: flex; align-items: center; gap: 10px; padding: 7px 16px; }
.sx-c__ic { flex: none; width: 32px; height: 32px; display: grid; place-items: center; }
.sx-c__ic img { width: 30px; height: 30px; object-fit: contain; }
.sx-c__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 16px 0; }
.sx-brands__h { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--sx-muted); margin-right: 4px; }
.sx-b { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--sx-line); border-radius: 5px; font-weight: 600; font-size: 13px; }
.sx-b em { margin-left: 0; }
.sx-p { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 16px; }
.sx-p__img { width: 52px; height: 52px; border: 1px solid var(--sx-line); border-radius: 4px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.sx-p__img img { width: 100%; height: 100%; object-fit: contain; }
.sx-p__b { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sx-p__t { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx-p__m { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--sx-muted); min-width: 0; }
.sx-p__sku { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-st { display: inline-flex; align-items: center; gap: 5px; color: var(--sx-ok); font-weight: 600; white-space: nowrap; }
.sx-st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.sx-st.is-low { color: var(--sx-warn); }
.sx-st.is-no { color: var(--sx-muted); }
.sx-p__pr { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; }
.sx-p__pr b { font-size: 15.5px; font-weight: 800; color: var(--sx-price); }
.sx-p__pr b.is-sale { color: var(--sx-sale); }
.sx-p__pr s { font-size: 12px; color: var(--sx-muted); }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }
.sx-chip { display: inline-flex; padding: 6px 12px; border-radius: 16px; background: var(--sx-bg); font-size: 13.5px; }
.sx-chip.is-active { background: var(--sx-soft); box-shadow: inset 0 0 0 1px var(--sx-brand); }
.sx-list li { display: flex; align-items: center; }
.sx-r { flex: 1; display: flex; align-items: center; gap: 10px; padding: 7px 16px; min-width: 0; }
.sx-r span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-x { flex: none; width: 36px; height: 32px; border: 0; background: none; color: var(--sx-muted); font-size: 18px; cursor: pointer; margin-right: 6px; border-radius: 4px; }
.sx-none { padding: 14px 16px 4px; }
.sx-none__t { margin: 0; font-size: 15px; font-weight: 700; }
.sx-none__s { margin: 4px 0 0; font-size: 13.5px; color: var(--sx-text); }
.sx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; padding: 10px 16px;
    border-top: 1px solid var(--sx-line); background: #faf8f7; }
.sx-keys { font-size: 12px; color: var(--sx-muted); }
.sx-keys kbd { font: 11px/1.4 ui-monospace, Menlo, monospace; border: 1px solid var(--sx-field); border-bottom-width: 2px; border-radius: 3px; padding: 0 5px; background: #fff; color: var(--sx-text); }
.sx-allbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 5px; background: var(--sx-brand);
    color: #fff !important; font-weight: 700; font-size: 14px; white-space: nowrap; }
.sx-allbtn.is-active { background: var(--sx-brand-d); }
@media (hover: hover) {
    .sx-opt:hover { background: var(--sx-soft); }
    .sx-allbtn:hover { background: var(--sx-brand-d); }
    .sx-link:hover { text-decoration: underline; }
    .sx-x:hover { background: var(--sx-bg); color: var(--sx-ink); }
}

/* ---------------- подсказки в шапке (ПК и планшет в ландшафте) ---------------- */
.sx { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; }
.sx-box { background: #fff; border-radius: 6px; box-shadow: 0 14px 44px rgba(28, 26, 25, .2), 0 0 0 1px rgba(28, 26, 25, .06);
    max-height: calc(100vh - var(--fh-h, 126px) - 24px); max-height: calc(100dvh - var(--fh-h, 126px) - 24px); overflow: auto; overscroll-behavior: contain; }
.sx-box:empty { display: none; }
.sx-dim { display: none; }
body.sx-open .sx-dim { display: block; position: fixed; inset: 0; z-index: 120; background: rgba(28, 26, 25, .32); }
body.sx-open header.header { z-index: 130 !important; }
body.sx-open:not(.fixed_header) header.header { position: relative; }
body.sx-open #mcChatWidget, body.sx-open .phone_fix { visibility: hidden; }

/* B — широкая панель (≥1101): подсказки чипами, разделы плитками, товары карточками в ряд */
.sx--wide .sx-box { width: min(100% - 60px, 1190px); margin: 6px auto 0; }
.sx--wide .sx-in { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
.sx--wide .sx-sug { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 16px 0; }
.sx--wide .sx-s { padding: 6px 12px; border: 1px solid var(--sx-line); border-radius: 18px; gap: 8px; }
.sx--wide .sx-s .sx-ic { display: none; }
.sx--wide .sx-s em { margin-left: 2px; }
.sx--wide .sx-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
.sx--wide .sx-c { display: grid; grid-template-columns: 32px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 1px; align-content: center;
    min-height: 58px; border: 1px solid var(--sx-line); border-radius: 6px; padding: 8px 10px; }
.sx--wide .sx-c__ic { grid-row: 1 / span 2; align-self: center; }
.sx--wide .sx-c__t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-weight: 600; font-size: 13.5px; line-height: 1.25; }
.sx--wide .sx-c em { margin: 0; font-size: 12px; }
.sx--wide .sx-prods { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 0 16px 4px; }
.sx--wide .sx-p { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px; border: 1px solid var(--sx-line); border-radius: 6px; height: 100%; }
.sx--wide .sx-p__img { width: 100%; height: auto; aspect-ratio: 1; border: 0; }
.sx--wide .sx-p__t { font-size: 13px; min-height: 34px; }
.sx--wide .sx-p__pr { align-items: flex-start; text-align: left; flex-direction: row; gap: 6px; flex-wrap: wrap; align-items: baseline; margin-top: auto; }
.sx--wide .sx-sec--idle, .sx--wide .sx-in--idle .sx-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sx--wide .sx-in--idle { max-width: 760px; }
.sx--wide .sx-in--idle .sx-c em { display: none; }
.sx--wide .sx-sec--prods .sx-prods li:nth-child(n+7) { display: none; }

/* список под полем (851–1100): одна колонка, компактно */
.sx--list .sx-box { position: absolute; left: var(--sx-left, 0); width: var(--sx-w, 520px); margin-top: 6px; }
.sx--list .sx-sec--prods .sx-prods li:nth-child(n+6) { display: none; }
.sx--list .sx-p { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 6px 16px; }
.sx--list .sx-p__img { width: 40px; height: 40px; }
.sx--list .sx-p__t { -webkit-line-clamp: 1; }
.sx--list .sx-brands, .sx--list .sx-keys { display: none; }
.sx--list .sx-cats li:nth-child(n+4) { display: none; }

/* ---------------- окно поиска на телефоне и планшете в портрете (≤850) ---------------- */
.sxm { padding-bottom: 76px; }
.sxm .sx-s, .sxm .sx-c, .sxm .sx-r { min-height: 48px; }
.sxm .sx-c__t { white-space: normal; }
.sxm .sx-sec--prods .sx-prods li:nth-child(n+7) { display: none; }
.sxm .sx-p { min-height: 64px; }
.sxm .sx-keys { display: none; }
.sxm .sx-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff;
    box-shadow: 0 -6px 18px rgba(28, 26, 25, .08); }
.sxm .sx-allbtn { width: 100%; min-height: 46px; font-size: 15px; }
.sxm .sx-chip { padding: 8px 14px; }
@media (max-width: 850px) {
    .mobile-search.active { overflow-y: auto; -webkit-overflow-scrolling: touch; }
    .mobile-search .top-form-search { position: sticky; top: 0; z-index: 3; background: #fff; border-bottom: 1px solid var(--sx-line, #ebe5e1); }
    .mobile-search .searchbar__input-wrapp input { font-size: 16px; }
    body.sx-m-open #mcChatWidget, body.sx-m-open .phone_fix, body:has(.mobile-search.active) #mcChatWidget, body:has(.mobile-search.active) .phone_fix { display: none !important; }
}

/* ---------------- страница результатов ---------------- */
.srp { color: var(--sx-ink); padding: 12px 0 40px; font-variant-numeric: tabular-nums; }
.srp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--sx-muted); }
.srp-crumbs a { color: var(--sx-text); text-decoration: none; }
.srp-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; }
.srp-head h1 { margin: 0; font-size: 30px; line-height: 1.15; font-weight: 700; color: var(--sx-ink); overflow-wrap: anywhere; }
.srp-count { font-size: 16px; color: var(--sx-muted); }
.srp-fix, .srp-lead { margin: 6px 0 0; font-size: 15px; color: var(--sx-text); max-width: 80ch; }
.srp-fix a { color: var(--sx-brand); font-weight: 600; }
.srp-body { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 18px; }
.srp-body--plain { grid-template-columns: minmax(0, 1fr); }

/* фильтры */
.srp-side { position: sticky; top: calc(var(--fh-h, 126px) + 12px); max-height: calc(100vh - var(--fh-h, 126px) - 24px); overflow: auto; overscroll-behavior: contain;
    background: #fff; border: 1px solid var(--sx-line); border-radius: 6px; }
.srp-sheet-h, .srp-sheet-f { display: none; }
.srp-facet { margin: 0; padding: 14px 16px; border: 0; border-top: 1px solid var(--sx-line); min-width: 0; }
.srp-facet:first-child { border-top: 0; }
.srp-facet legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; color: var(--sx-ink); }
.srp-facet legend + * { clear: both; }
.srp-opt { display: flex; align-items: center; gap: 9px; min-height: 34px; padding: 3px 0; cursor: pointer; font-size: 14px; color: var(--sx-text); }
.srp-opt input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--sx-brand); }
.srp-opt__ic { flex: none; width: 22px; height: 22px; display: grid; place-items: center; }
.srp-opt__ic img { width: 22px; height: 22px; object-fit: contain; }
.srp-opt__ic:empty { display: none; }
.srp-opt__t { min-width: 0; flex: 1; line-height: 1.25; }
.srp-opt__n { flex: none; font-size: 12.5px; color: var(--sx-muted); }
.srp-opt input:checked ~ .srp-opt__t { color: var(--sx-ink); font-weight: 600; }
.srp-more summary { list-style: none; cursor: pointer; color: var(--sx-brand); font-weight: 600; font-size: 13.5px; padding: 6px 0 2px; }
.srp-more summary::-webkit-details-marker { display: none; }
.srp-more[open] summary { display: none; }
.srp-hist { display: flex; align-items: flex-end; gap: 2px; height: 40px; margin-bottom: 8px; }
.srp-hist i { flex: 1; background: #ecdcd3; border-radius: 2px 2px 0 0; }
.srp-hist i.on { background: var(--sx-brand); }
.srp-price { display: flex; align-items: center; gap: 6px; }
.srp-price label { flex: 1; min-width: 0; }
.srp-price input { width: 100%; height: 38px; border: 1px solid var(--sx-field); border-radius: 5px; padding: 0 9px; font: inherit; font-size: 14px; color: var(--sx-ink); background: #fff; }
.srp-price input:focus { outline: none; border-color: var(--sx-brand); box-shadow: 0 0 0 3px rgba(183, 73, 35, .14); }
.srp-ok { flex: none; height: 38px; padding: 0 12px; border: 1px solid var(--sx-brand); border-radius: 5px; background: #fff; color: var(--sx-brand); font: inherit; font-weight: 700; cursor: pointer; }

/* панель над товарами */
.srp-main { min-width: 0; }
.srp-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 14px; }
.srp-fbtn { display: none; }
.srp-active { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; }
.srp-achip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border-radius: 16px; background: var(--sx-soft);
    border: 1px solid #f0d6ca; color: var(--sx-brand-d); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.srp-clear { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; color: var(--sx-muted); font-size: 13.5px; text-decoration: underline; }
.srp-sort { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 14px; color: var(--sx-muted); }
.srp-sort select { height: 40px; border: 1px solid var(--sx-field); border-radius: 5px; padding: 0 30px 0 12px; font: inherit; font-size: 14px; color: var(--sx-ink); background-color: #fff; }

/* сетка карточек */
.srp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.srp-card { min-width: 0; display: flex; }
.srp-card > .card { width: 100%; margin: 0; }
.srp-pager { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.srp-seen { margin: 0; font-size: 14px; color: var(--sx-muted); }
.srp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 5px; border: 0;
    background: var(--sx-brand); color: #fff; font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; }
.srp-btn--line { background: #fff; color: var(--sx-brand); border: 1px solid var(--sx-brand); }
.srp-btn.is-busy { opacity: .6; pointer-events: none; }
.srp-prev { font-size: 14px; color: var(--sx-text); }
.srp-empty { background: #fff; border: 1px solid var(--sx-line); border-radius: 6px; padding: 28px 20px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.srp-empty p { margin: 0; }

/* ничего не найдено */
.srp-zero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; margin-top: 18px; }
.srp-zero__main { display: grid; gap: 16px; min-width: 0; }
.srp-box, .srp-ultra { background: #fff; border: 1px solid var(--sx-line); border-radius: 6px; padding: 16px; }
.srp-h2 { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--sx-ink); }
.srp-h2 span { font-size: 14px; font-weight: 500; color: var(--sx-muted); margin-left: 6px; }
.srp-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.srp-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; background: var(--sx-bg); color: var(--sx-ink); text-decoration: none; font-size: 14px; }
.srp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.srp-tile { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 12px; border: 1px solid var(--sx-line); border-radius: 6px; color: var(--sx-ink);
    text-decoration: none; font-size: 14px; font-weight: 600; line-height: 1.25; }
.srp-tile__ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; }
.srp-tile__ic img { width: 34px; height: 34px; object-fit: contain; }
.srp-grid--ultra { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 14px; }
.srp-zero__help { --c2-brand: #b74923; --c2-brand-d: #9a3c1c; --c2-soft: #fbefe9; --c2-soft-line: #f0d6ca; --c2-ink: #1c1a19; --c2-text: #3b3633;
    --c2-muted: #6b625d; --c2-line: #ebe5e1; --c2-ease: cubic-bezier(.2, .7, .3, 1); color: var(--c2-ink); } /* переменные .c2 (cat2.css) для блока помощи */
.srp-zero__help .c2-help { margin: 0; }

.srp a:focus-visible, .srp button:focus-visible, .srp select:focus-visible, .srp input:focus-visible { outline: 2px solid var(--sx-brand); outline-offset: 2px; }
@media (hover: hover) {
    .srp-crumbs a:hover, .srp-tile:hover, .srp-chip:hover { color: var(--sx-brand); }
    .srp-tile:hover { border-color: var(--sx-brand); }
    .srp-chip:hover { background: var(--sx-soft); }
    .srp-btn:hover { background: var(--sx-brand-d); }
    .srp-btn--line:hover { background: var(--sx-soft); }
    .srp-achip:hover { border-color: var(--sx-brand); }
    .srp-ok:hover { background: var(--sx-soft); }
    .srp-opt:hover .srp-opt__t { color: var(--sx-brand); }
}

@media (max-width: 1250px) { .srp-grid, .srp-grid--ultra { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
    .srp-body { grid-template-columns: 240px minmax(0, 1fr); gap: 16px; }
    .srp-zero { grid-template-columns: minmax(0, 1fr); }
}
/* телефон и планшет в портрете: фильтр — окно на весь экран */
@media (max-width: 900px) {
    .srp-body { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
    .srp-head h1 { font-size: 24px; }
    .srp-fbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--sx-field); border-radius: 5px; background: #fff;
        color: var(--sx-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
    .srp-fbtn em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sx-brand); color: #fff; font-size: 12px; display: inline-grid; place-items: center; }
    .srp-tools { position: sticky; top: var(--fh-h, 112px); z-index: 5; background: var(--sx-bg, #f5f3f1); padding: 8px 0; margin: 0 0 8px; }
    .srp-active { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
    .srp-active::-webkit-scrollbar { display: none; }
    .srp-active li { flex: none; }
    .srp-sort span { display: none; }
    .srp-side { display: none; position: fixed; inset: 0; z-index: 1000; max-height: none; border: 0; border-radius: 0; flex-direction: column; overflow: hidden; }
    .srp-side.is-open { display: flex; }
    .srp-sheet-h { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 12px; border-bottom: 1px solid var(--sx-line); flex: none; }
    .srp-sheet-h b { font-size: 17px; }
    .srp-x { width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--sx-ink); cursor: pointer; }
    .srp-reset { margin-left: auto; color: var(--sx-brand); font-weight: 600; text-decoration: none; padding: 10px 4px; }
    .srp-sheet-b { flex: 1; overflow: auto; overscroll-behavior: contain; }
    .srp-sheet-f { display: block; flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--sx-line); background: #fff; }
    .srp-sheet-f .srp-btn { width: 100%; }
    .srp-opt { min-height: 44px; }
    .srp-ok { display: none; }
    body.srp-lock { overflow: hidden; }
    body.srp-lock #mcChatWidget, body.srp-lock .phone_fix { display: none !important; }
    .srp-grid, .srp-grid--ultra { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 700px) { .srp-grid, .srp-grid--ultra { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
@media (max-width: 450px) {
    .srp-tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .srp-head h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .sx *, .srp * { transition: none !important; scroll-behavior: auto !important; } }
