/* zhbi77.ru, магазин, шаг 1 (#342): шапка, кнопки, окна, срочная связь, кнопки листинга. Перенос согласованного прототипа без изменений дизайна (стили корзины — для шага 2, на страницах шага 1 не используются). Язык — как у нового листинга: палитра сайта, рамки 1px, скругление до 5px,
   без градиентов, теней, пилюль, эмодзи; переходы не длиннее .15s. Шрифт НЕ задаётся нигде: наследуется от .page / body сайта. Префикс sh- / sc- / sm- / st-. */
:root { --sh-link: #1b78b0; --sh-blue: #2696d9; --sh-blue2: #1a8cd4; --sh-hfg: #0f5d8c; --sh-hbg: #eaf4fb; --sh-press: #e0eaf3; --sh-focus: #14679b;
  --sh-head: #e2eff5; --sh-text: #252e2e; --sh-muted: #666; --sh-line: #e6e9eb; --sh-border: #bbbbbb; --sh-field: #919191; --sh-err: #b3261e; --sh-r: 5px; --sh-w: 960px; }
html { -webkit-text-size-adjust: 100%; }
body { min-width: 0; color: var(--sh-text); } /* grid.css сайта задаёт body{min-width:960px} — из-за этого страница шире экрана на 768 и на телефоне. overflow-x не трогаем: на старых страницах (контейнер 960 px) обрезка вбок скрыла бы содержимое */
body.sh-lock { overflow: hidden; }
.sh-main { display: block; }
.sh-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.no-js [data-needs-js] { display: none !important; }
.sh-skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--sh-link); border: 1px solid var(--sh-border); }
.sh-skip:focus { top: 8px; }
.sh *, .sh-m *, .sh-top *, .sh-bar *, .sh-strip *, .sm *, .st *, .pk-bar *, .sh-wrap * { box-sizing: border-box; }
.sh-wrap { box-sizing: border-box; width: 100%; max-width: var(--sh-w); margin: 0 auto; padding: 0 16px; }
.sh-white { background: #fff; padding-bottom: 24px; }
.sh-i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh-m a, .sh-top a, .sh-bar a, .sh-strip a, .sm a, .st a, .pk-bar a, .sh-urgent a { text-decoration: none; }
.sh-top a:focus-visible, .sh-bar a:focus-visible, .sh-m a:focus-visible, .sh-strip a:focus-visible, .sh button:focus-visible, .sh-bar button:focus-visible, .sh-btn:focus-visible,
.sm button:focus-visible, .sm input:focus-visible, .sc input:focus-visible, .sc textarea:focus-visible, .sc button:focus-visible, .sc a:focus-visible, .sh-urgent input:focus-visible,
.sh-urgent button:focus-visible, .sh-search input:focus-visible, .sh-search button:focus-visible, .sh-more summary:focus-visible, .pk-bar a:focus-visible, .pk-bar button:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 2px; }

/* ---------- кнопки ---------- */
.sh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 4px 16px; border: 1px solid var(--sh-link); border-radius: var(--sh-r);
  background: #fff; color: var(--sh-link); font: inherit; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; text-decoration: none; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.sh-btn .sh-i { width: 18px; height: 18px; }
.sh-btn--p { background: var(--sh-link); color: #fff; }
.sh-btn--p:hover { background: var(--sh-focus); border-color: var(--sh-focus); color: #fff; }
.sh-btn--p:active { background: var(--sh-hfg); }
.sh-btn--l { border-color: var(--sh-border); color: var(--sh-link); font-weight: 400; }
.sh-btn--l:hover { border-color: var(--sh-blue2); background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-btn--l:active { background: var(--sh-press); }
.sh-btn--s { min-height: 34px; padding: 2px 10px; font-size: 13px; }
.sh-btn--w { width: 100%; }
.sh-btn--big { min-height: 48px; font-size: 16px; }
.sh-btn--i { min-width: 40px; padding: 0; }
.sh-btn[disabled] { opacity: .5; cursor: default; }
.sh-lnk { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0; border: 0; background: none; color: var(--sh-link); font: inherit; cursor: pointer; text-decoration: none; }
.sh-lnk:hover { color: var(--sh-hfg); text-decoration: underline; }
.sh-lnk .sh-i { width: 18px; height: 18px; }
.sh-ib { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--sh-text); cursor: pointer; }
.sh-ib:hover { color: var(--sh-hfg); background: var(--sh-hbg); }

/* ---------- шапка: телефон (до 767 px) ---------- */
.sh-m, .sh-strip { display: none; }
.sh-m { position: sticky; top: 0; z-index: 60; align-items: center; gap: 4px; height: 56px; padding: 0 4px; background: #fff; border-bottom: 1px solid var(--sh-border); }
.sh-m .sh-logo { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; padding: 0 4px; }
.sh-m .sh-logo img { display: block; width: auto; height: 34px; max-width: 100%; }
.sh-m .sh-ib--tel { color: #fff; background: var(--sh-link); border-radius: var(--sh-r); }
.sh-m .sh-ib--tel:hover { background: var(--sh-focus); color: #fff; }
.sh-strip { gap: 0; justify-content: space-between; padding: 0 8px; background: #fff; border-bottom: 1px solid var(--sh-line); }
.sh-strip a { display: flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--sh-link); }
.sh-strip a:hover { color: var(--sh-hfg); background: var(--sh-hbg); }

/* ---------- шапка: верхняя строка ---------- */
.sh-top { background: #fff; border-bottom: 1px solid var(--sh-line); }
.sh-top__in { display: flex; align-items: center; gap: 20px; min-height: 76px; padding-top: 8px; padding-bottom: 8px; }
.sh-logo { flex: none; display: block; line-height: 0; }
.sh-top .sh-logo img { display: block; width: 168px; height: auto; }
.sh-search { flex: 1 1 auto; min-width: 0; display: flex; position: relative; }
.sh-search input[type=search] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 44px 0 12px; border: 1px solid var(--sh-field); border-radius: var(--sh-r); background: #fff; color: var(--sh-text); font: inherit; -webkit-appearance: none; appearance: none; }
.sh-search input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.sh-search button { position: absolute; right: 0; top: 0; width: 44px; height: 44px; border: 0; background: none; color: var(--sh-link); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sh-search button:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-contact { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.sh-tel { font-size: 24px; font-weight: 700; color: var(--sh-text) !important; white-space: nowrap; }
.sh-tel:hover { color: var(--sh-hfg) !important; }
.sh-contact__s { display: flex; gap: 10px; font-size: 13px; color: var(--sh-muted); }
.sh-contact__s a { color: var(--sh-link); }
.sh-cart { flex: none; position: relative; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px; border: 1px solid var(--sh-border); border-radius: var(--sh-r); background: #fff; color: var(--sh-text) !important; transition: border-color .15s ease, background-color .15s ease; }
.sh-cart:hover { border-color: var(--sh-blue2); background: var(--sh-hbg); color: var(--sh-hfg) !important; }
.sh-cart .sh-i { width: 26px; height: 26px; color: var(--sh-link); }
.sh-cart__t { display: flex; flex-direction: column; line-height: 1.2; min-width: 64px; font-size: 13px; color: var(--sh-muted); }
.sh-cart__t b { color: var(--sh-text); font-size: 14px; }
.sh-cartn { position: absolute; top: -8px; left: 28px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 3px; background: var(--sh-link); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.sh-cartn[hidden] { display: none; }

/* ---------- шапка: полоса меню (прилипает) ---------- */
.sh-bar { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--sh-border); }
.sh-bar__in { display: flex; align-items: stretch; gap: 4px; min-height: 48px; }
.sh-bar .zm-trigger.sh-cat { flex: none; display: flex; align-items: stretch; margin: 0; padding: 0; background: var(--sh-link); color: #fff; border-radius: 0; }
.sh-bar .zm-trigger.sh-cat:hover { background: var(--sh-focus); }
.sh-bar .zm-trigger__link { display: flex; align-items: center; padding: 0 4px 0 18px; color: #fff !important; font-weight: 700; font-size: 15px; text-transform: none; }
.sh-bar .zm-trigger__btn { width: 40px; color: #fff; padding: 0 8px 0 2px; }
.sh-bar .zm-trigger.zm-open { background: #fff; box-shadow: inset 0 0 0 1px var(--sh-link); }
.sh-bar .zm-trigger.zm-open .zm-trigger__link, .sh-bar .zm-trigger.zm-open .zm-trigger__btn { color: var(--sh-link) !important; }
.sh-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; }
.sh-nav__h, .sh-nav__mail, .sh-nav__tel, .sh-nav__cats, .sh-search--d { display: none; }
.sh-nav__l { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.sh-nav__l > li { margin: 0; padding: 0; display: flex; align-items: stretch; position: relative; background: none; }
.sh-nav__l > li::before { content: none; }
.sh-nav__l a { display: flex; align-items: center; padding: 0 14px; color: var(--sh-text); font-size: 15px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.sh-nav__l a:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-more { position: relative; display: flex; }
.sh-more summary { display: flex; align-items: center; gap: 4px; padding: 0 12px 0 14px; min-height: 48px; font-size: 15px; color: var(--sh-text); cursor: pointer; list-style: none; white-space: nowrap; }
.sh-more summary::-webkit-details-marker { display: none; }
.sh-more summary:hover, .sh-more[open] summary { background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-more .sh-chev { width: 15px; height: 15px; transition: transform .15s ease; }
.sh-more[open] .sh-chev { transform: rotate(180deg); }
.sh-more__p { position: absolute; top: 100%; left: 0; z-index: 70; width: 300px; max-height: calc(100vh - 140px); overflow: auto; padding: 8px 0; background: #fff; border: 1px solid var(--sh-border); border-radius: 0 0 var(--sh-r) var(--sh-r); }
.sh-more__p ul { margin: 0; padding: 0; list-style: none; }
.sh-more__p li { margin: 0; padding: 0; background: none; }
.sh-more__p li::before { content: none; }
.sh-more__p a { display: block; padding: 9px 16px; color: var(--sh-text); font-size: 14px; white-space: normal; }
.sh-more__p a:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-more__h { margin: 6px 0 0; padding: 8px 16px 4px; border-top: 1px solid var(--sh-line); color: var(--sh-muted); font-size: 13px; }
.sh-bar__x { display: none; flex: none; align-items: center; gap: 10px; margin-left: auto; }
.sh-bar.is-stuck .sh-bar__x { display: flex; }
.sh-xtel { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px; font-weight: 700; font-size: 17px; color: var(--sh-text) !important; white-space: nowrap; }
.sh-xtel:hover { color: var(--sh-hfg) !important; background: var(--sh-hbg); }
.sh-xtel .sh-i { color: var(--sh-link); width: 20px; height: 20px; }
.sh-cart--c { min-height: 40px; padding: 2px 10px; }
.sh-cart--c .sh-i { width: 22px; height: 22px; }
.sh-cart--c .sh-cartn { left: 22px; top: -8px; }
.sh-cart--c .sh-cart__t { min-width: 0; font-size: 14px; }
.sh-bar .zm-panel { box-shadow: none; border: 1px solid var(--sh-border); border-top: 0; border-radius: 0; }
.sh-ov { position: fixed; inset: 0; z-index: 79; background: rgba(37, 46, 46, .5); }

/* планшет (768–991): всё помещается без прокрутки */
@media (max-width: 991px) {
  .sh-more__p { left: auto; right: 0; } /* hotfix-768: открытая панель «Ещё» (300 px) выступала за правый край экрана 768 */
  .sh-top__in { gap: 14px; }
  .sh-top .sh-logo img { width: 132px; }
  .sh-tel { font-size: 20px; }
  .sh-worktime { display: none; }
  .sh-cart__t { min-width: 0; }
  .sh-nav__l a, .sh-more summary { padding-left: 11px; padding-right: 10px; font-size: 14px; }
  .sh-bar .zm-trigger__link { padding-left: 14px; }
}

/* телефон и малый планшет (до 767): строка «бургер, логотип, телефон, корзина», меню — выезжающая панель */
@media (max-width: 767px) {
  .sh-m, .sh-strip { display: flex; }
  .sh-top { display: none; }
  .sh-bar { position: static; border: 0; background: none; }
  .sh-bar__in { display: block; padding: 0; min-height: 0; }
  .sh-bar .zm-trigger.sh-cat, .sh-bar__x, .sh-bar .zm-panel { display: none !important; }
  .sh-nav { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); display: none; flex-direction: column; overflow-y: auto; background: #fff; border-right: 1px solid var(--sh-border); }
  .sh-nav.is-open { display: flex; }
  .sh-nav:target { display: flex; }
  .sh-nav__h { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 16px; min-height: 56px; border-bottom: 1px solid var(--sh-line); font-weight: 700; }
  .sh-search--d { display: flex; margin: 12px 16px 4px; flex: none; }
  .sh-nav__l { display: block; padding: 4px 0 8px; }
  .sh-nav__l > li { display: block; }
  .sh-nav__l a, .sh-more summary { min-height: 48px; padding: 0 16px; font-size: 16px; width: 100%; }
  .sh-nav__l > li > a { display: flex; border-bottom: 1px solid var(--sh-line); }
  .sh-nav__tel { display: block; }
  .sh-nav__tel a { font-size: 20px; font-weight: 700; color: var(--sh-link); background: var(--sh-hbg); }
  .sh-more { display: block; }
  .sh-more summary { border-bottom: 1px solid var(--sh-line); justify-content: space-between; }
  .sh-more__p { position: static; width: auto; max-height: none; border: 0; padding: 0 0 4px; background: #fafbfb; }
  .sh-more__p a { padding: 10px 16px 10px 28px; min-height: 44px; }
  .sh-nav__cats { display: block; }
  .sh-nav__mail { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 14px 16px; font-size: 14px; color: var(--sh-muted); }
}
@media (min-width: 768px) { .sh-ov { display: none !important; } }
@media (max-width: 380px) { .sh-strip a { font-size: 12px; padding: 0 3px; } }

/* ---------- страница, крошки ---------- */
.sh-crumbs { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0 0 12px; padding-top: 12px; font-size: 13px; color: var(--sh-muted); }
.sh-crumbs a { color: var(--sh-link); }
.sh-crumbs a::after { content: "/"; margin-left: 8px; color: var(--sh-border); }
.page h1 { margin: 0 0 14px; line-height: 1.15; overflow-wrap: anywhere; }
.page .sh-crumbs + h1 { margin-top: 0; }

/* ---------- листинг ---------- */
.pl .pc__add { flex: 1; min-height: 38px; padding: 0 10px; }
.pl .pc__one { width: 100%; }
.pl .pc__one span { white-space: nowrap; }
.pl-tools .pl-linkbtn { border: 0; background: none; color: var(--sh-link); cursor: pointer; min-height: 34px; padding: 0 6px; font: inherit; text-decoration: underline; }
.pl-tablebox { overflow-x: auto; }
.pt .sh-btn--i { min-height: 32px; min-width: 36px; }
.pt .pc__std button { min-height: 26px; }
.pt .pt-act { white-space: nowrap; }
.pt .pt-act .sh-btn + .sh-btn { margin-left: 4px; }
/* 2026-12-04 (#342, замечания QA): «Заказать» в карточках и таблице не выходит за колонку; таблица помещается в колонку 743 px;
   длинный вопрос блока «answer» не растягивает страницу на 768. Селекторы на один класс выше catalog-listing.css (он подключён после). */
.pl .pc__row .pc__order { min-width: 0; flex: 1 1 0; padding: 0 6px; }
.pl .pt th, .pl .pt td { padding-left: 6px; padding-right: 6px; }
.pl .pt thead th { white-space: normal; }
.page .answer-heading { max-width: 100%; box-sizing: border-box; }
@media (max-width: 515px) { .pl .pc__add, .pl .pc__one, .pt .sh-btn--i { min-height: 44px; } .pt .sh-btn--i { min-width: 44px; } .pl-tools .pl-linkbtn { min-height: 44px; } }

/* ---------- срочная связь ---------- */
.sh-urgent { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--sh-border); border-radius: var(--sh-r); background: #fff; }
.sh-urgent h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.sh-urgent p { margin: 0 0 8px; }
.sh-urgent__tel { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; color: var(--sh-text) !important; }
.sh-urgent__tel .sh-i { color: var(--sh-link); }
.sh-urgent__tel:hover { color: var(--sh-hfg) !important; }
.sh-urgent__mail { margin-left: 14px; font-size: 13px; color: var(--sh-link); }
.sh-urgent__l { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 4px 0 0 !important; font-size: 14px; }
.sh-cb label { display: block; margin: 0 0 4px; color: var(--sh-muted); font-size: 13px; }
.sh-cb .sh-vh { position: absolute; }
.sh-cb__r { display: flex; gap: 8px; }
.sh-cb input[type=tel] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--sh-field); border-radius: var(--sh-r); font: inherit; background: #fff; color: var(--sh-text); }
.sh-urgent--s { display: grid; gap: 6px; margin: 20px 0 8px; }
.sh-urgent--s h2, .sh-urgent--s p { margin: 0; }
.sh-urgent--s .sh-cb { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-urgent--s .sh-cb input[type=tel] { flex: 1 1 220px; }
.sh-urgent--s .sf__e { flex: 1 0 100%; }
.sh-cb .sf__e, .sh-cb__ok { margin: 6px 0 0; }
.sh-cb__ok { color: var(--sh-hfg); font-size: 14px; }

/* ---------- карточка: правки блока покупки ---------- */
.pk-buy .pk-row { margin-bottom: 8px; }
.pk-buy .pk-order { flex: 1 1 auto; min-height: 44px; font-size: 15px; }
.pk-buy .pk-one { min-height: 40px; margin: 0 0 8px; }
.pk-avail { margin: 8px 0 0 !important; padding-top: 10px; border-top: 1px solid var(--sh-line); color: var(--sh-muted); font-size: 13px; }
.pk-bar { display: none; }
.pk-urgent-slot { margin: 0; }
@media (max-width: 767px) {
  body.p-card { padding-bottom: 72px; }
  .pk-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 8px 12px; background: #fff; border-top: 1px solid var(--sh-border); }
  .pk-bar .sh-btn { flex: 1 1 0; min-height: 48px; font-size: 15px; }
  .pk-bar .sh-btn--l { font-weight: 700; }
  .no-js .pk-bar .sh-btn--p { display: none; }
}

/* ---------- корзина ---------- */
.sc h2 { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.sc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "items sum" "form sum"; gap: 20px 28px; align-items: start; }
.sc-items { grid-area: items; min-width: 0; }
.sc-sum { grid-area: sum; position: sticky; top: 64px; padding: 14px 16px; border: 1px solid var(--sh-border); border-radius: var(--sh-r); background: #fff; }
.sc-form { grid-area: form; min-width: 0; padding-top: 16px; border-top: 1px solid var(--sh-border); max-width: 560px; }
.sc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--sh-line); }
.sc-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; grid-template-areas: "img name del" "img meta meta"; gap: 4px 14px; align-items: start; margin: 0; padding: 12px 0; border-bottom: 1px solid var(--sh-line); background: none; }
.sc-item::before { content: none; }
.sc-item__img { grid-area: img; display: block; width: 96px; aspect-ratio: 4 / 3; border: 1px solid var(--sh-line); background: #fff; }
.sc-item__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sc-item__name { grid-area: name; min-width: 0; }
.sc-item__name a { font-weight: 700; color: var(--sh-link); overflow-wrap: anywhere; }
.sc-item__sub { margin: 2px 0 0; color: var(--sh-muted); font-size: 13px; line-height: 1.35; }
.sc-item__del { grid-area: del; }
.sc-item__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.sc-item__price { color: var(--sh-muted); font-size: 14px; white-space: nowrap; }
.sc-item__sum { margin-left: auto; font-size: 18px; font-weight: 700; white-space: nowrap; }
.sc-qty { display: inline-flex; border: 1px solid var(--sh-field); border-radius: var(--sh-r); overflow: hidden; background: #fff; }
.sc-qty button { width: 40px; min-height: 40px; border: 0; background: #fff; color: var(--sh-link); font-size: 20px; line-height: 1; cursor: pointer; transition: background-color .15s ease; }
.sc-qty button:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sc-qty input { width: 54px; min-height: 40px; border: 0; border-left: 1px solid var(--sh-line); border-right: 1px solid var(--sh-line); text-align: center; font: inherit; color: var(--sh-text); -moz-appearance: textfield; appearance: textfield; background: #fff; }
.sc-qty input::-webkit-outer-spin-button, .sc-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sc-more { margin: 12px 0 0; }
.sc-sum dl { margin: 0 0 8px; padding: 0; }
.sc-sum dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--sh-line); }
.sc-sum dt { color: var(--sh-muted); } .sc-sum dd { margin: 0; font-weight: 700; text-align: right; }
.sc-trucks { margin: 0 0 8px; color: var(--sh-muted); font-size: 13px; }
.sc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 10px 0 4px; font-size: 16px; }
.sc-total b { font-size: 26px; line-height: 1.1; }
.sc-note { margin: 0 0 12px; color: var(--sh-muted); font-size: 13px; }
.sc-empty, .sc-done { max-width: 560px; padding: 8px 0 24px; }
.sc-empty__t { font-size: 20px; font-weight: 700; margin: 0 0 8px; }
.sc-done__n { font-size: 18px; } .sc-ex { color: var(--sh-muted); font-size: 13px; }
.sc-done__l { margin: 0 0 14px; font-size: 14px; color: var(--sh-muted); }
.sc-ns { padding: 8px 10px; border: 1px dashed var(--sh-field); border-radius: var(--sh-r); color: var(--sh-muted); }
.sc [hidden], .sm [hidden] { display: none !important; }
.sc.is-empty .sc-grid, .sc.is-sent .sc-grid { display: none; }
.sc-fn { margin: 12px 0 14px; color: var(--sh-muted); font-size: 14px; }
.sc-agree { margin: 10px 0 0; color: var(--sh-muted); font-size: 12px; }

/* поля */
.sf { margin: 0 0 12px; }
.sf label { display: block; margin: 0 0 4px; font-size: 14px; }
.sf .req { color: var(--sh-err); }
.sf input[type=text], .sf input[type=tel], .sf input[type=email], .sf input[type=number], .sf textarea { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid var(--sh-field); border-radius: var(--sh-r); background: #fff; color: var(--sh-text); font: inherit; }
.sf textarea { resize: vertical; min-height: 80px; }
.sf input[aria-invalid="true"], .sf textarea[aria-invalid="true"], .sh-cb input[aria-invalid="true"] { border-color: var(--sh-err); outline: 1px solid var(--sh-err); }
.sf input:focus-visible, .sf textarea:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 1px; }
.sf__e { margin: 4px 0 0; color: var(--sh-err); font-size: 13px; line-height: 1.3; }
.sf__e--sum { padding: 8px 10px; border: 1px solid var(--sh-err); border-radius: var(--sh-r); margin: 0 0 10px; }
.sf--chk label, .sf-rad label { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; cursor: pointer; }
.sf--chk input, .sf-rad input { width: 20px; height: 20px; margin: 0; accent-color: var(--sh-link); flex: none; }
.sf-rad { margin: 0 0 8px; padding: 0; border: 0; }
.sf-rad legend { margin: 0 0 2px; padding: 0; font-size: 14px; }
.sf-rad label { display: inline-flex; margin-right: 22px; }
.sf-grp { padding: 4px 0 0 12px; border-left: 3px solid var(--sh-head); margin: 0 0 8px; }

/* ---------- окно «в 1 клик» ---------- */
.sm { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 12px; }
.sm[hidden] { display: none; }
.sm__ov { position: absolute; inset: 0; background: rgba(37, 46, 46, .55); }
.sm__box { position: relative; width: 100%; max-width: 420px; max-height: 100%; overflow: auto; padding: 20px 20px 18px; border: 1px solid var(--sh-border); border-radius: var(--sh-r); background: #fff; }
.sm__box:focus { outline: none; }
.sm h2 { margin: 0 40px 8px 0; font-size: 20px; line-height: 1.2; }
.sm__x { position: absolute; top: 4px; right: 4px; }
.sm__prod { margin: 0 0 14px; padding: 8px 0; border-top: 1px solid var(--sh-line); border-bottom: 1px solid var(--sh-line); font-size: 14px; }
.sm__note { margin: 0 0 14px; color: var(--sh-muted); font-size: 14px; }
.sm__demo { color: var(--sh-muted); font-size: 13px; }
.sm .sf input[type=number] { width: 120px; }

/* ---------- плашка «Добавлено» ---------- */
.st { position: fixed; z-index: 110; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; max-width: calc(100vw - 32px); padding: 10px 14px; border: 1px solid var(--sh-link); border-left-width: 4px; border-radius: var(--sh-r); background: #fff; color: var(--sh-text); font-size: 14px; }
.st[hidden] { display: none; }
.st a { color: var(--sh-link); font-weight: 700; white-space: nowrap; }
@media (max-width: 767px) { .st { left: 12px; right: 12px; bottom: 12px; max-width: none; } body.p-card .st { bottom: 80px; } }

/* ---------- адаптив корзины ---------- */
@media (max-width: 860px) {
  .sc-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "items" "sum" "form"; }
  .sc-sum { position: static; }
}
@media (max-width: 515px) {
  .sc-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .sc-item__img { width: 72px; }
  .sc-item__meta { gap: 8px 14px; }
  .sc-item__sum { margin-left: 0; flex: 1 0 100%; }
  .sc-qty button { width: 44px; min-height: 44px; } .sc-qty input { min-height: 44px; }
  .sf-rad label { display: flex; margin-right: 0; }
}
/* подвал сайта: ширина как у шапки, без горизонтальной прокрутки */
.sh-foot .container_12 { box-sizing: border-box; width: 100%; max-width: var(--sh-w); padding: 0 16px; margin: 0 auto; }
.sh-foot .contactsfooter { flex-wrap: wrap; gap: 8px 24px; }
.sh-foot .footer__col { min-width: 180px; }
@media (prefers-reduced-motion: reduce) { .sh *, .sh-btn, .sh-cart, .sh-more *, .st { transition: none !important; } }
@media print { .sh-m, .sh-strip, .sh-top, .sh-bar, .pk-bar, .st, .sm { display: none !important; } }

/* свёрнутые детали заявки, «или позвоните» */
.sc-det { margin: 0 0 8px; border: 1px solid var(--sh-line); border-radius: var(--sh-r); }
.sc-det summary { display: flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--sh-link); cursor: pointer; list-style: none; }
.sc-det summary::-webkit-details-marker { display: none; }
.sc-det summary::after { content: "+"; margin-left: auto; font-size: 20px; }
.sc-det[open] summary::after { content: "−"; }
.sc-det summary:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sc-det summary:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 2px; }
.sc-det__b { padding: 8px 12px 4px; border-top: 1px solid var(--sh-line); }
.sc-or { margin: 10px 0 0; text-align: center; color: var(--sh-muted); }
.sc-or__tel { font-size: 18px; font-weight: 700; color: var(--sh-text); text-decoration: none; white-space: nowrap; }
.sc-or__tel:hover { color: var(--sh-hfg); text-decoration: underline; }
.sc-fn--s { margin: 0 0 8px; font-size: 13px; }
.sh-lnk--in { min-height: 0; text-align: left; text-decoration: underline; font-weight: 400; }
.pk-src { color: var(--sh-muted); font-weight: 400; font-size: 12px; }
@media (max-width: 515px) { .sh-lnk--in { min-height: 44px; } }

/* правки по первому прогону */
.sh-nav__l > li.sh-nav__tel, .sh-nav__l > li.sh-nav__cats { display: none; }
@media (max-width: 767px) { .sh-nav__l > li.sh-nav__tel, .sh-nav__l > li.sh-nav__cats { display: block; } .sh-nav__l > li.sh-nav__more { display: block; } }
@media (min-width: 516px) { .pc { grid-template-columns: 120px minmax(0, 1fr) 236px; } }
.pl .pc__add { white-space: nowrap; }
@media (max-width: 515px) {
  .pc { grid-template-areas: "img title title" "img price std" "img size size" "specs specs specs" "row row row" "one one one" !important; }
  .pc__one { grid-area: one; }
}

@media (min-width: 768px) and (max-width: 991px) { .sh-bar.is-stuck .sh-nav__opt { display: none; } }
.sh-m .sh-logo { min-height: 44px; }
.sh-m .sh-logo img { height: 34px; }

/* прайс-лист раздела */
.pl-tools .sh-ps { order: 1; display: flex; align-items: center; }
.pl-tools .pl-view { order: 2; }
.sh-ps__d { display: inline-flex; align-items: center; gap: 6px; }
.sh-ps__l { color: var(--sh-muted); font-size: 13px; }
.sh-ps__dot { color: var(--sh-muted); }
.sh-ps__m { display: none; position: relative; }
.sh-ps__m summary { list-style: none; }
.sh-ps__m summary::-webkit-details-marker { display: none; }
.sh-ps__p { position: absolute; z-index: 30; right: 0; top: 100%; margin-top: 4px; min-width: 190px; background: #fff; border: 1px solid var(--sh-border); border-radius: var(--sh-r); }
.sh-ps__p a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--sh-link); text-decoration: none; }
.sh-ps__p a:hover { background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-ps__cap { margin: -2px 0 12px; color: var(--sh-muted); font-size: 13px; }
.sh-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin: 20px 0 8px; align-items: stretch; }
.sh-bottom .sh-urgent--s, .sh-pricebig { margin: 0; }
.sh-pricebig { padding: 14px 16px; border: 1px solid var(--sh-border); border-radius: var(--sh-r); background: #fff; }
.sh-pricebig h2 { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.25; }
.sh-pricebig p { margin: 0 0 10px; }
.sh-pricebig__f { display: flex; flex-wrap: wrap; gap: 8px; }
.sh-pricebig__c { margin: 0 !important; color: var(--sh-muted); font-size: 13px; }
.pk-dc__row--price { padding-top: 6px; }
.pk-pdf__size { color: var(--sh-muted); }
@media (max-width: 767px) { .sh-bottom { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 515px) {
  .sh-ps__d { display: none; }
  .sh-ps__m { display: block; }
  .pl-tools .sh-ps { order: 1; }
  .sh-ps__m summary { min-height: 44px; }
}

.sh-nav__mail a { color: var(--sh-link); }
.sh-m .sh-cartn { top: 4px; left: auto; right: 0; }
@container (max-width: 620px) { .pk-top .sh-urgent { order: 2; } }
.pl .sh-btn--p, .pl .sh-btn--p:hover { color: #fff; }
.pl .sh-btn--l { color: var(--sh-link); }
.pl .sh-btn--l:hover { color: var(--sh-hfg); }
.pl .sh-btn { text-decoration: none; }

/* ======== Раунд 2 (задача #342, сообщение 298) ======== */
/* «Купить в 1 клик»: без пиктограммы; контур и лёгкая заливка жёлтого акцента сайта #ffb90f / #ffefc9, текст #252e2e (контраст 12,2:1 на #ffefc9, 8,1:1 на #ffb90f); без теней и градиентов */
.sh-btn.sh-btn--y, .pl .sh-btn.sh-btn--y { border: 2px solid #ffb90f; background: #ffefc9; color: #252e2e; font-weight: 700; padding: 3px 15px; }
.sh-btn.sh-btn--y:hover, .pl .sh-btn.sh-btn--y:hover { background: #ffb90f; border-color: #ffb90f; color: #252e2e; }
.sh-btn.sh-btn--y:active { background: #ffd05e; border-color: #ffd05e; }
.sh-btn--y.sh-btn--s { padding: 1px 9px; }
/* вариант Б (показан на buttons.html): сплошная заливка #ffb90f */
.sh-btn.sh-btn--y2 { border: 2px solid #ffb90f; background: #ffb90f; color: #252e2e; font-weight: 700; padding: 3px 15px; }
.sh-btn.sh-btn--y2:hover { background: #ffd05e; border-color: #ffd05e; color: #252e2e; }

/* звезда у «Отзывы»: жёлтый сайта #ffb90f */
.sh-star { flex: none; width: 15px; height: 15px; margin-right: 5px; fill: #ffb90f; stroke: none; }
.sh-strip a { display: inline-flex; align-items: center; justify-content: center; }
.sh-strip .sh-star { width: 13px; height: 13px; margin-right: 3px; }

/* боковое меню каталога: тот же блок и стили, что на сайте (menu.css + zsm-sidemenu-b.css), в колонке 192 px */
.r2-lay { display: grid; grid-template-columns: 192px minmax(0, 1fr); column-gap: 16px; align-items: start; }
.r2-lay > .r2-side { min-width: 0; padding-top: 12px; }
.r2-lay > .r2-page { min-width: 0; }
@media (max-width: 991px) { .r2-lay { display: block; } .r2-lay > .r2-side { display: none; } }

/* почта в шапке: адрес текстом + «Написать» (mailto) и «Скопировать»; в строке меню — слева от «О компании» */
.sh-nav__mailx { align-items: center; }
.sh-mail { position: relative; display: flex; align-items: center; margin: 0 6px; }
.sh-mail__ic { display: none; }
.sh-mail__p { display: flex; flex-direction: column; justify-content: center; gap: 3px; line-height: 1.2; }
.sh-mail__t { display: none; font-weight: 700; }
.sh-mail__a { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--sh-text); white-space: nowrap; }
.sh-mail__a .sh-i { width: 14px; height: 14px; color: var(--sh-link); }
.sh-mail__b { display: flex; gap: 6px; }
.sh-nav__l .sh-mail__w, .sh-mail__c { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--sh-border); border-radius: 3px; background: #fff; color: var(--sh-link); font: inherit; font-size: 12px; line-height: 1; white-space: nowrap; cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.sh-nav__l .sh-mail__w:hover, .sh-mail__c:hover { background: var(--sh-hbg); color: var(--sh-hfg); border-color: var(--sh-blue2); }
.sh-mail__c:active, .sh-nav__l .sh-mail__w:active { background: var(--sh-press); }
.sh-mail__c.is-done { border-color: var(--sh-link); background: var(--sh-hbg); color: var(--sh-hfg); }
.sh-mail__c:focus-visible, .sh-mail__w:focus-visible, .sh-mail__ic:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 2px; }
/* свёрнутый вид (1024 и ниже; в прилипшей полосе): кнопка-конверт, то же содержимое в выпадающей панели */
@media (min-width: 768px) and (max-width: 1100px) {
  .sh-mail { margin: 0; }
  .sh-mail__ic { display: flex; align-items: center; justify-content: center; width: 46px; min-height: 48px; padding: 0; border: 0; background: none; color: var(--sh-link); cursor: pointer; }
  .sh-mail__ic:hover, .sh-mail.is-open .sh-mail__ic { background: var(--sh-hbg); color: var(--sh-hfg); }
  .sh-mail__p { display: none; position: absolute; top: 100%; left: 0; z-index: 75; width: 250px; padding: 12px 14px; gap: 8px; background: #fff; border: 1px solid var(--sh-border); border-top: 0; border-radius: 0 0 var(--sh-r) var(--sh-r); }
  .sh-mail.is-open .sh-mail__p { display: flex; }
  .sh-mail__t { display: block; }
  .sh-mail__b { gap: 8px; }
  .sh-mail__w, .sh-mail__c { min-height: 32px; padding: 0 12px; }
}
@media (min-width: 768px) {
  .sh-bar.is-stuck .sh-mail { margin: 0; }
  .sh-bar.is-stuck .sh-mail__ic { display: flex; align-items: center; justify-content: center; width: 46px; min-height: 48px; padding: 0; border: 0; background: none; color: var(--sh-link); cursor: pointer; }
  .sh-bar.is-stuck .sh-mail__ic:hover, .sh-bar.is-stuck .sh-mail.is-open .sh-mail__ic { background: var(--sh-hbg); color: var(--sh-hfg); }
  .sh-bar.is-stuck .sh-mail__p { display: none; position: absolute; top: 100%; left: 0; z-index: 75; width: 250px; padding: 12px 14px; gap: 8px; background: #fff; border: 1px solid var(--sh-border); border-top: 0; border-radius: 0 0 var(--sh-r) var(--sh-r); }
  .sh-bar.is-stuck .sh-mail.is-open .sh-mail__p { display: flex; }
  .sh-bar.is-stuck .sh-mail__t { display: block; }
  .sh-bar.is-stuck .sh-mail__b { gap: 8px; }
  .sh-bar.is-stuck .sh-mail__w, .sh-bar.is-stuck .sh-mail__c { min-height: 32px; padding: 0 12px; }
}
/* телефон: в бургере сразу под телефоном */
@media (max-width: 767px) {
  .sh-nav__l { display: flex; flex-direction: column; }
  .sh-nav__l > li.sh-nav__tel { order: 0; }
  .sh-nav__l > li.sh-nav__mailx { order: 1; display: block; padding: 12px 16px; border-bottom: 1px solid var(--sh-line); }
  .sh-nav__l > li:not(.sh-nav__tel):not(.sh-nav__mailx) { order: 2; }
  .sh-mail { display: block; margin: 0; }
  .sh-mail__ic { display: none; }
  .sh-mail__p { gap: 8px; }
  .sh-mail__t { display: block; font-size: 13px; color: var(--sh-muted); font-weight: 400; }
  .sh-mail__a { font-size: 16px; font-weight: 700; }
  .sh-mail__b { gap: 8px; }
  .sh-nav__l .sh-mail__w, .sh-mail__c { min-height: 44px; padding: 0 16px; font-size: 14px; width: auto; flex: 1 1 0; }
}
/* уплотнение полосы меню, чтобы почта поместилась в 960 px рядом с «О компании» */
@media (min-width: 992px) {
  .sh-nav__l a { padding-left: 10px; padding-right: 10px; }
  .sh-more summary { padding-left: 10px; padding-right: 8px; }
  .sh-nav__l .sh-mail__w, .sh-mail__c { padding: 0 6px; }
  .sh-mail { margin: 0 4px; }
}
@media (min-width: 768px) and (max-width: 991px) {
  .sh-nav__l a { padding-left: 7px; padding-right: 7px; }
  .sh-more summary { padding-left: 7px; padding-right: 6px; }
  .sh-bar .zm-trigger__link { padding-left: 12px; }
  .sh-star { margin-right: 3px; }
}

/* ======== Раунд 3 (задача #342, сообщение 306) ======== */
/* «Купить в 1 клик»: тёплый абрикосовый #ffd08a, текст #252e2e (9,7:1); без теней и градиентов.
   Десктоп ≥ 992: в покое нейтральная (белый, серая рамка 1 px), жёлтый — только hover/focus. До 992 — сразу жёлтая. */
.sh-btn.sh-btn--y, .pl .sh-btn.sh-btn--y { border: 1px solid #f0b45a; background: #ffd08a; color: #252e2e; font-weight: 400; padding: 4px 16px; transition: background-color .12s ease, border-color .12s ease; }
.sh-btn.sh-btn--y.sh-btn--s { padding: 2px 10px; }
.sh-btn.sh-btn--y:hover, .sh-btn.sh-btn--y:focus-visible, .pl .sh-btn.sh-btn--y:hover { background: #ffd08a; border-color: #f0b45a; color: #252e2e; }
.sh-btn.sh-btn--y:active, .pl .sh-btn.sh-btn--y:active { background: #ffc678; border-color: #f0b45a; }
@media (min-width: 992px) {
  .sh-btn.sh-btn--y, .pl .sh-btn.sh-btn--y { background: #fff; border-color: var(--sh-border); }
  .sh-btn.sh-btn--y:hover, .sh-btn.sh-btn--y:focus-visible, .pl .sh-btn.sh-btn--y:hover { background: #ffd08a; border-color: #f0b45a; }
  .sh-btn.sh-btn--y:active, .pl .sh-btn.sh-btn--y:active { background: #ffc678; }
}
/* образцы на buttons.html */
.sh-btn.sh-btn--ya, .sh-btn.sh-btn--yc { border: 1px solid #f0b45a; font-weight: 400; color: #252e2e; }
.sh-btn.sh-btn--ya { background: #ffdca6; }
.sh-btn.sh-btn--yc { background: #ffc678; }

/* шапка: корзина в полосе меню справа, почта в верхнем ряду справа от телефона */
.sh-top .sh-cart { display: none; }
@media (min-width: 768px) {
  .sh-bar__x { display: flex; }
  .sh-bar:not(.is-stuck) .sh-xtel { display: none; }
  .sh-bar__x .sh-cart--c { min-height: 40px; padding: 2px 12px; gap: 8px; }
  .sh-bar__x .sh-cart__b { color: var(--sh-text); font-size: 14px; font-weight: 700; line-height: 1.15; }
  .sh-bar__x .sh-cart--c .sh-cart__t { min-width: 64px; line-height: 1.15; }
  .sh-nav__l > li.sh-nav__mailx { display: none; }
}
.sh-tmail { flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1.2; }
.sh-tmail__a { display: inline-flex; align-items: center; gap: 4px; position: relative; font-size: 14px; color: var(--sh-text); white-space: nowrap; }
.sh-tmail__c { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 3px; background: none; color: var(--sh-link); cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.sh-tmail__c:hover { background: var(--sh-hbg); border-color: var(--sh-border); color: var(--sh-hfg); }
.sh-tmail__c:focus-visible, .sh-tmail__w:focus-visible { outline: 2px solid var(--sh-focus); outline-offset: 2px; }
.sh-tmail__c .sh-i { width: 16px; height: 16px; }
.sh-tmail__c .sh-ck, .sh-tmail__c.is-done .sh-cp { display: none; }
.sh-tmail__c.is-done .sh-ck { display: block; }
.sh-tmail__m { position: absolute; top: 100%; left: 0; margin-top: 2px; font-size: 12px; color: var(--sh-hfg); }
.sh-tmail__m:empty { display: none; }
.sh-tmail__w { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--sh-border); border-radius: 3px; background: #fff; color: var(--sh-link); font-size: 12px; line-height: 1; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.sh-tmail__w:hover { background: var(--sh-hbg); color: var(--sh-hfg); border-color: var(--sh-blue2); }
@media (max-width: 767px) { .sh-cart__b { display: none; } .sh-tmail { display: none; } }
@media (max-width: 1100px) { .sh-tmail__w { display: none; } .sh-tmail { gap: 0; } }
@media (max-width: 991px) { .sh-tmail__a { font-size: 12px; } .sh-top__in { gap: 10px; } }
/* reset.css сайта даёт body{height:100%}: прилипающая полоса меню (sticky) уезжала после ~850 px прокрутки — высота по содержимому */
body { height: auto; min-height: 100%; }

/* ======== Раунд 4 ======== */
/* корзина: только значок; сумма и счётчик — когда есть товар */
.sh-cart__t[hidden] { display: none; }
.sh-cart__t { min-width: 0; font-size: 14px; font-weight: 700; color: var(--sh-text); }
.sh-cart { padding: 4px 10px; }
/* почта в верхнем ряду: цельная плашка */
.sh-tel { font-size: 22px; }
.sh-tmail { flex-direction: row; align-items: center; gap: 12px; padding: 5px 6px 5px 12px; border: 1px solid var(--sh-border); border-radius: 3px; background: #f7f9f9; }
.sh-tmail__a { font-size: 16px; font-weight: 400; gap: 6px; }
.sh-tmail__w { min-height: 0; padding: 0 6px 0 0; border: 0; background: none; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.sh-tmail__w:hover { background: none; border: 0; color: var(--sh-hfg); }
.sh-tmail__m { top: calc(100% + 4px); left: 8px; }
@media (max-width: 1100px) { .sh-tmail { gap: 0; padding-right: 4px; } .sh-tmail__a { font-size: 15px; } }
@media (max-width: 991px) { .sh-tel { font-size: 19px; } .sh-tmail__a { font-size: 13px; } .sh-tmail { padding-left: 8px; } }
@media (max-width: 767px) {
  .sh-nav__mailx .sh-mail__p { padding: 10px 12px; border: 1px solid var(--sh-border); border-radius: 3px; background: #f7f9f9; }
}

/* ======== шаг 1: добавки к прототипу ======== */
.s1-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sm .sf__e:empty { display: none; }
.sm .sf--chk { margin: 0 0 12px; }
.sm .sf--chk label { align-items: flex-start; min-height: 0; padding: 4px 0; font-size: 14px; }
.sm .sf--chk input { margin-top: 1px; }
.sm .sf--chk a { color: var(--sh-link); text-decoration: underline; }
.sm form.sm__f .error_confidental { color: var(--sh-err); font-size: 13px; margin: 2px 0 0; }
.sh-cb__c { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0 0; color: var(--sh-muted); font-size: 13px; line-height: 1.35; cursor: pointer; }
.sh-cb .sh-cb__c { display: flex; margin: 8px 0 0; }
.sh-cb__c input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sh-link); flex: none; }
.sh-cb__c a { color: var(--sh-link); text-decoration: underline; }
.sh-urgent--s .sh-cb .sh-cb__c { flex: 1 1 100%; }
.sm form.sm__f .error_telnumber { color: var(--sh-err); font-size: 13px; margin: 4px 0 0; }
/* кнопки листинга (вставляет shop-step1.js рядом с «Заказать») */
.pl .pc__buy .pc__one { width: 100%; margin-top: 6px; }
.pt .pt-one { margin-top: 4px; white-space: nowrap; }
.pt td .pc__order + .pt-one { display: block; }
.pl-tile[aria-current="page"] { outline: 2px solid var(--sh-focus); outline-offset: -2px; }
/* «Написать в чат»: показывается, только если на странице найден чат */
.sh-urgent__l [data-chat][hidden] { display: none; }
/* шапка: прежняя вёрстка шапки не используется */
.header, .top_menu { display: none; }

/* ======== шаг 1: ширина 516–991 px только для страниц с новой карточкой и новым листингом ======== */
/* Остальные страницы (контейнер 960 px) не трогаем: там по-прежнему прокрутка вбок, но шапка помещается в экран. */
@media (min-width: 516px) and (max-width: 991px) {
  body:has(#pk, #pl) .content_bg .container_12, body:has(#pk, #pl) .content_bg .container_12 .content { width: auto; box-sizing: border-box; }
  body:has(#pk, #pl) .content_bg .container_12 { padding: 0 16px; }
  body:has(#pk, #pl) .footer_bg .container_12, body:has(#pk, #pl) .footer_bg .footer { width: auto; max-width: 960px; box-sizing: border-box; }
  body:has(#pk, #pl) .content_bg .grid_3 { display: none; }
  body:has(#pk, #pl) .content_bg .container_12 .grid_9 { width: 100%; float: none; margin: 0; }
}

/* ссылки прежнего мобильного меню (Б/У ЖБИ, калькулятор, прайс-лист): в бургере, мелко; на десктопе скрыты, как раньше */
.sh-nav__x { display: none; list-style: none; margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--sh-line); }
.sh-nav__x a { display: block; padding: 8px 0; color: var(--sh-muted); font-size: 14px; }
@media (max-width: 767px) { .sh-nav__x { display: block; } }
