/* CL-PC1-L1-ANTS-STAND-4131 (R62.6.13, только исправления по списку ANTS-DEMO-ERRORS-R62.6.12, пп.1, 3, 4, 5).
   Дизайн V9 (цвета, шрифты, скругления) не меняется. Файл подключён ПОСЛЕДНИМ в <head>: правила с тем же весом, что в
   встроенном блоке V9 и в storefront-compact.css / storefront-mobile.css, здесь выигрывают. */

/* ── п.3: фильтр цены -- полоска-ползунок на всех ширинах (на ПК раньше оставались блоки) ── */
body .catalog__price-filter { display: none !important; }
.pr { display: block; max-width: 560px; margin: 0 auto 14px; padding: 6px 14px 4px; background: #fffaf8; border: 1px solid #e2c9c8; border-radius: 12px; }
.pr__head { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: #594146; }
.pr__title { font-weight: 600; white-space: nowrap; }
.pr__out { flex: 1; font-weight: 500; color: #493039; }
.pr__reset { min-height: 44px; padding: 0 6px; font-size: 12px; text-decoration: underline; color: #68434d; background: none; }
.pr__reset[hidden] { display: none; }
.pr__track { position: relative; height: 44px; margin: 0; }
.pr__rail, .pr__fill { position: absolute; top: 20px; height: 4px; border-radius: 2px; }
.pr__rail { left: 0; right: 0; background: #e8d5d2; }
.pr__fill { background: #CF818A; }
.pr__in { position: absolute; left: -14px; top: 0; width: calc(100% + 28px); height: 44px; margin: 0; padding: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.pr__in::-webkit-slider-runnable-track { height: 44px; background: transparent; }
.pr__in::-moz-range-track { height: 44px; background: transparent; }
.pr__in::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; pointer-events: auto; cursor: pointer; width: 28px; height: 28px; margin-top: 8px; border-radius: 50%; background: #fff; border: 2px solid #CF818A; box-shadow: 0 1px 4px rgba(26, 23, 20, .25); }
.pr__in::-moz-range-thumb { pointer-events: auto; cursor: pointer; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid #CF818A; box-shadow: 0 1px 4px rgba(26, 23, 20, .25); }
.pr__in:focus-visible::-webkit-slider-thumb { outline: 3px solid #734b3b; outline-offset: 2px; }
.pr__ticks { position: relative; height: 16px; margin: 0; font-size: 11px; line-height: 1; color: #6f675f; }
.pr__tick { position: absolute; top: 4px; transform: translateX(-50%); }
.pr__tick::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 4px; background: #c9aeb0; }

@media (max-width: 767px) {
  /* ── п.1 шапка: значки поиска/кабинета/корзины и бургер -- реальные кнопки 44x44, не пересекаются.
        Подпись «Флористическая студия · Москва» -- в одну строку мельче (п.4), шапка ниже: 64 -> 56 px.
        Логотип стоит по центру свободной полосы между бургером и значками (раньше -- по центру экрана и под значками). ── */
  body .header__inner { height: 56px; padding: 0 8px; }
  body .burger { width: 44px; height: 44px; padding: 0; align-items: center; justify-content: center; }
  body .header__actions { gap: 0; }
  body .icon-btn { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
  body .logo { left: 56px; right: 140px; top: 50%; width: auto; max-width: none; height: 44px; transform: translateY(-50%); pointer-events: auto; display: flex; flex-direction: column; justify-content: center; }
  /* кегль подогнан под ширину свободной полосы (ширина экрана - 196px): слово и подпись не заходят под значки на 320-430 px */
  body .logo__name { font-size: clamp(13px, calc((100vw - 206px) / 8.5), 22px); letter-spacing: .06em; line-height: 1.15; text-align: center; white-space: nowrap; pointer-events: auto; }
  body .logo__sub { font-size: clamp(7px, calc((100vw - 206px) / 20), 9px); letter-spacing: .06em; line-height: 1.2; margin-top: 1px; white-space: nowrap; text-align: center; }

  /* 320-339 px: подпись не помещается в одну строку читаемым кеглем -- скрыта (п.4 допускает) */
  @media (max-width: 339px) { body .logo__sub { display: none; } }

  /* ── п.5 главный баннер ниже: сразу под ним видны «В нашей коллекции» и плитки каталога ── */
  body .hero { margin: 6px 10px 0 !important; }
  body .hero__image { height: 120px !important; min-height: 0 !important; }
  body .hero__text { padding: 10px 14px 12px !important; }
  body .hero__eyebrow { display: none; }
  body .hero__title { font-size: 22px !important; line-height: 1.12; margin-bottom: 4px; }
  body .hero__desc { font-size: 13px; line-height: 1.4; }

  /* ── п.1 цели нажатия >=44x44: размеры S/M/L/XL, «Назад», стрелки, основные кнопки ── */
  body .product-card__sizes { gap: 0; margin: 0; justify-content: center; flex-wrap: nowrap; }
  body .product-card__size, body .pmodal__size { min-width: 44px; min-height: 44px; margin: 0; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
  body .checkout-modal__back { min-width: 44px; min-height: 44px; }
  body .occ-sidebar__back { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin: -9px; }
  body .pmodal__arrow, body .pcar-arrow { min-width: 44px; min-height: 44px; }
  body .product-card__buy-btn { min-height: 44px; }
  body .pmodal__cart-btn { min-height: 44px !important; }
  body .catalog__tab { min-height: 44px; }
  body .faq__question { min-height: 44px; }
  body .checkout-input { min-height: 44px; box-sizing: border-box; }
  body .checkout-recipient-toggle { min-height: 44px; }
  .sm-go__btn { min-height: 44px; }
}

/* ПК: вся полоса цены в одну линию с вкладками по ширине сетки */
@media (min-width: 768px) {
  .pr { margin-bottom: 18px; }
}

