/* ===== Поле «Вес» у товаров с модификациями — 2026-11-17.
   Товары переводятся с вариантов-свойств на модификации с остатками. У модификаций свои классы
   (js-product-edition-option*), а фирменный стиль поля задан только для свойств (js-product-option*):
   каталог — блок rec5005580601 на «Благородном чае» и правила #allrecords .t1291, страница товара — rec1177329716
   на шаблоне 72633005. Здесь тот же стандарт для модификаций: «мягкая плашка» 150×36, заливка #EFE9D4,
   без рамки, углы 22 0 22 0; отступы — как у свойств. ===== */

/* Каталог (T1291): поле */
.t-catalog__card .js-product-edition-option-variants {
  background-color: #EFE9D4 !important;
  border: 0 !important;
  border-radius: 22px 0 22px 0 !important;
  height: 36px !important;
  min-height: 36px !important;
  box-sizing: border-box;
  font-size: 16px;
  color: #3d3d3d;
}
/* Каталог (T1291): опция «Вес» выше, как у свойств: −5 / до 960 px −13 / до 640 px −15 */
#allrecords .t1291 .t-catalog__card .js-product-edition-option { margin-top: -5px !important; }
@media screen and (max-width: 960px) {
  #allrecords .t1291 .t-catalog__card .js-product-edition-option { margin-top: -13px !important; }
}
@media screen and (max-width: 640px) {
  #allrecords .t1291 .t-catalog__card .js-product-edition-option { margin-top: -15px !important; }
}

/* Страница товара (T744): дублирует правила из rec1177329716 — на случай, если блок шаблона не опубликован.
   2026-11-29 (решение владельца): шрифт поля «Вес» меньше текста кнопок рядом — 13 (касание 16; было 16), высота поля 36.
   Кнопки «− 1 +» и «В корзину»: компьютер и планшет — как были (46 / до 959 — 51), шрифт выровнен: счётчик 16 → 15, как у кнопки.
   Телефон (до 480) — размер L по ДС1 (главное действие): 55 / шрифт 18 (по ДС1 на <960 шрифт 16, владелец выбрал 18,
   чтобы «Вес» 16 был мельче кнопок). Было 51 / 15 и 16. Кнопка: поля 39, углы 0 44 0 44; счётчик: ширина 130, углы 34 0 34 0. */
.t744 .js-product-edition-option {
  top: 0 !important;
  margin: 14px 0 0 !important;
}
@media screen and (max-width: 640px) {
  .t744 .js-product-edition-option { margin-top: 11px !important; }
}
.t744 .js-product-edition-option .t-product__option-variants {
  display: block !important;
  width: 150px !important;
  min-width: 0 !important;
  max-width: 150px !important;
  margin-top: 2px !important;
}
.t744 .js-product-edition-option .t-product__option-variants_regular select,
.t744 .js-product-edition-option-variants {
  width: 150px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 30px 0 10px !important;
  box-sizing: border-box !important;
  background-color: #EFE9D4 !important;
  border: 0 !important;
  border-radius: 22px 0 22px 0 !important;
  color: #3d3d3d !important;
  font-size: 13px !important;
  font-weight: 300 !important;
}
/* Основная карточка: 13 перебивает 16 из шаблонного блока rec1177329716 (то же правило, грузится позже). Только для мыши (pointer: fine):
   на сенсорных экранах Safari увеличивает страницу при нажатии на поле со шрифтом меньше 16 — там 16, как задумано Тильдой (решение владельца «16 без зума»). */
@media (hover: hover) and (pointer: fine) {
  #allrecords .t744 .js-product-edition-option .t-product__option-variants_regular select,
  #allrecords .t744 .js-product-edition-option-variants { font-size: 13px !important; }
}
/* Основная карточка: шрифт счётчика как у «В корзину» (15); на телефоне (до 480) — кнопки размера L (см. комментарий выше), перебивают шаблон rec1177329716 и правила 51. */
#allrecords#allrecords .t744 .t744__btn-wrapper .sq,
#allrecords#allrecords .t744 .t744__btn-wrapper .sq * { font-size: 15px !important; }
@media screen and (max-width: 480px) {
  #allrecords#allrecords .t744 .t744__btn-wrapper a.t-btn { height: 55px !important; min-height: 55px !important; width: auto !important; padding: 0 39px !important; border-radius: 0 44px !important; font-size: 18px !important; }
  #allrecords#allrecords .t744 .t744__btn-wrapper a.t-btn * { font-size: 18px !important; }
  #allrecords#allrecords .t744 .t744__btn-wrapper .sq { height: 55px !important; min-height: 55px !important; width: 130px !important; border-radius: 34px 0 !important; }
  #allrecords#allrecords .t744 .t744__btn-wrapper .sq,
  #allrecords#allrecords .t744 .t744__btn-wrapper .sq * { font-size: 18px !important; }
}
/* «Смотрите также»: шрифт поля «Вес» 13 — на ступень меньше текста кнопок (14), высота всех трёх 36 (2026-11-29, решение владельца).
   На сенсорных экранах — 16 (решение владельца «16 без зума»: Safari увеличивает страницу при нажатии на поле мельче 16; было 14). */
@media (hover: hover) and (pointer: fine) {
  #allrecords#allrecords .sat-related-cat .t-catalog__card select,
  #allrecords#allrecords .sat-related-cat .t-catalog__card .js-product-edition-option-variants { font-size: 13px !important; }
}
@media (hover: none), (pointer: coarse) {
  #allrecords .t744 .js-product-edition-option .t-product__option-variants_regular select,
  #allrecords .t744 .js-product-edition-option-variants,
  #allrecords#allrecords .sat-related-cat .t-catalog__card select,
  #allrecords#allrecords .sat-related-cat .t-catalog__card .js-product-edition-option-variants { font-size: 16px !important; }
}

/* «Смотрите также»: счётчик «− 1 +» и «В корзину» — размер M по ДС1 (высота строится от шрифта), чтобы читались главными рядом с полем «Вес»
   (2026-11-29, по просьбе владельца). Компьютер: высота 44, шрифт 15, у кнопки поля 30 и углы 0 34 0 34, у счётчика углы 27 0 27 0, ширина 110;
   до 959 — высота 49, поля кнопки 35, углы 39 / 30. Было 36 / шрифт 14. Тройной #allrecords — служебный блок rec6303224001 задаёт 36 тем же весом. */
#allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { height: 44px !important; min-height: 44px !important; padding: 0 30px !important; border-radius: 0 34px !important; font-size: 15px !important; }
#allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 .t-btnflex__text { font-size: 15px !important; }
#allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__prod__quantity { height: 44px !important; min-height: 44px !important; max-height: none !important; width: 110px !important; min-width: 110px !important; padding: 0 10px !important; border-radius: 27px 0 !important; font-size: 15px !important; }
#allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__prod__quantity input { font-size: 15px !important; }
@media screen and (max-width: 959px) {
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { height: 49px !important; min-height: 49px !important; padding: 0 35px !important; border-radius: 0 39px !important; }
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__prod__quantity { height: 49px !important; min-height: 49px !important; border-radius: 30px 0 !important; }
}

/* ===== Плитки каталога в разделах (T1291) и ширина поля «Вес» — 2026-11-29 (по просьбе владельца: «привести к тому же принципу»).
   Как в «Смотрите также»: шрифт «Веса» 13 — на ступень ДС2 меньше текста кнопок (15); на сенсорных экранах 16 (Safari зумит поля мельче 16).
   Кнопки «− 1 +» и «В корзину» — размер M по ДС1: 44 / шрифт 15 (до 959 — 49), кнопка: поля 30 (моб. 35), углы 0 34 (моб. 39);
   счётчик: углы 27 (моб. 30). Было 46 / 51, у счётчика шрифт 14. В «Смотрите также» свои правила выше (тройной #allrecords).
   Ширина «Веса»: была 150 с пустым местом после уменьшения шрифта — теперь по самому длинному варианту («357 г | 1 шт.» = 83 при 13 / 102 при 16)
   + поля 10 и 30 (стрелка): 124 для мыши, 144 для касания. В разделах и в основной карточке товара. ===== */
#allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option .t-product__option-variants,
#allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option-variants,
#allrecords#allrecords .t744 .js-product-edition-option .t-product__option-variants,
#allrecords#allrecords .t744 .js-product-edition-option-variants { width: 124px !important; min-width: 0 !important; max-width: 124px !important; }
@media (hover: hover) and (pointer: fine) {
  #allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option-variants { font-size: 13px !important; }
}
@media (hover: none), (pointer: coarse) {
  #allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option .t-product__option-variants,
  #allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option-variants,
  #allrecords#allrecords .t744 .js-product-edition-option .t-product__option-variants,
  #allrecords#allrecords .t744 .js-product-edition-option-variants { width: 144px !important; max-width: 144px !important; }
  #allrecords#allrecords .t1291 .t-catalog__card .js-product-edition-option-variants { font-size: 16px !important; }
}
#allrecords#allrecords .t1291 .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { height: 44px !important; min-height: 44px !important; padding: 0 30px !important; border-radius: 0 34px !important; }
#allrecords#allrecords .t1291 .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 .t-btnflex__text { font-size: 15px !important; }
#allrecords#allrecords .t1291 .t-catalog__card .t-catalog__prod__quantity { height: 44px !important; min-height: 44px !important; border-radius: 27px 0 !important; font-size: 15px !important; }
#allrecords#allrecords .t1291 .t-catalog__card .t-catalog__prod__quantity input { font-size: 15px !important; }
@media screen and (max-width: 959px) {
  #allrecords#allrecords .t1291 .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { height: 49px !important; min-height: 49px !important; padding: 0 35px !important; border-radius: 0 39px !important; }
  #allrecords#allrecords .t1291 .t-catalog__card .t-catalog__prod__quantity { height: 49px !important; min-height: 49px !important; border-radius: 30px 0 !important; }
}

/* ===== Название и цена товара (карточка T744) и заголовок «Смотрите также» по устройствам — 2026-11-29 (решения владельца).
   Все размеры — ступени шкалы ДС2 (золотое сечение: шаг φ^¼ ≈ 1,128 от ряда Фибоначчи 13 · 21 · 34 · 55;
   ступени … 18,6 · 21 · 23,7 · 26,7 · 30,1 · 34 …, округлены до целых).
   Название: компьютер 30 (в настройках блоков), планшет (481–959) 27 (ступень 26,7), телефон 24.
   Цена: компьютер 24, планшет 24 (ступень 23,7), телефон 21.
   «Смотрите также»: компьютер 30, планшет 24 (было 30 — выделялось сильнее названия товара), телефон 24 — компьютер и телефон в настройках каталога.
   Интерлиньяж названия 1,35, как был в Тильде (в ДС2 у заголовков 1,25 — не меняли). Действует на всех страницах товаров сразу. ===== */
@media screen and (max-width: 959px) {
  .t744 .t744__title { font-size: 24px !important; line-height: 1.35 !important; }
  .t744 .t744__price-item { font-size: 21px !important; }
}
@media screen and (min-width: 481px) and (max-width: 959px) {
  .t744 .t744__title { font-size: 27px !important; }
  .t744 .t744__price-item { font-size: 24px !important; }
  #allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) .t-section__title { font-size: 24px !important; }
}

/* ===== Хлебные крошки на страницах товаров при ширине 481–640 — 2026-11-29 (по просьбе владельца: висящие кнопки закрывали крошки).
   До 640 работает мобильный блок крошек (T758), его верхний отступ 90 Тильда задаёт только до 480; на 481–640 оставались
   распорка 30 (блок T113) + 0 — крошки вставали под кнопки поиска, корзины и меню (они висят на 20–70).
   Здесь блоку 60 сверху (с распоркой 30 — те же 90, что на телефоне) и 30 снизу, как на телефоне. В разделах крошки ниже обложки — не нужно. ===== */
@media screen and (min-width: 481px) and (max-width: 640px) {
  #allrecords:has(.t744) .r[data-record-type="758"].t-screenmax-640px { padding-top: 60px !important; padding-bottom: 30px !important; }
}

/* ===== Фото товара → название на планшете и телефоне — 2026-11-29 (по просьбе владельца: «под фотками до заголовка сильно большой отступ»).
   Было 59: нижнее поле ленты превью 35 + отступ колонки с фото 24. Стало: поле ленты 0, отступ колонки 38 на планшете (481–959)
   и 30 на телефоне — те же значения, что заголовок → карточки в «Смотрите также». Компьютер не тронут (фото там слева от текста). ===== */
@media screen and (max-width: 959px) {
  #allrecords .t744 .t-slds__thumbsbullet-wrapper { padding-bottom: 0 !important; }
  #allrecords .t744 .t744__col_first { margin-bottom: 38px !important; }
}
@media screen and (max-width: 480px) {
  #allrecords .t744 .t744__col_first { margin-bottom: 30px !important; }
}

/* ===== Меню: визуальная вложенность подразделов — 2026-11-27.
   Подменю «Ассортимент» в Тильде одноуровневое (нет третьего уровня). Подразделы выделяем отступом,
   меньшим кеглем и приглушённым цветом; без тире (решение владельца 2026-11-27).
   Работает во всех копиях меню сразу: бургер T450 и верхнее меню T454 — и на главной (свои блоки),
   и на внутренних страницах. Новый подраздел в меню — добавить его адрес во все три списка ниже. ===== */

a.t-menusub__link-item[href="/assortiment/chai/vulkanicheskij-chai"],
a.t-menusub__link-item[href="/assortiment/chai/ulun/konkursnyi-taiwan"],
a.t-menusub__link-item[href="/assortiment/chai/ulun/wuyi"],
a.t-menusub__link-item[href="/assortiment/chai/puer/shu-puer"],
a.t-menusub__link-item[href="/assortiment/chai/puer/shen-puer"] {
  display: block !important;
  padding-left: 20px !important;
  opacity: 0.75;
}
/* Кегль подразделов: верхнее меню — 16 px (пункты 18 px), бургер — 15 px (пункты 16 px) */
.t454 a.t-menusub__link-item[href="/assortiment/chai/vulkanicheskij-chai"],
.t454 a.t-menusub__link-item[href="/assortiment/chai/ulun/konkursnyi-taiwan"],
.t454 a.t-menusub__link-item[href="/assortiment/chai/ulun/wuyi"],
.t454 a.t-menusub__link-item[href="/assortiment/chai/puer/shu-puer"],
.t454 a.t-menusub__link-item[href="/assortiment/chai/puer/shen-puer"] { font-size: 16px !important; }
.t450 a.t-menusub__link-item[href="/assortiment/chai/vulkanicheskij-chai"],
.t450 a.t-menusub__link-item[href="/assortiment/chai/ulun/konkursnyi-taiwan"],
.t450 a.t-menusub__link-item[href="/assortiment/chai/ulun/wuyi"],
.t450 a.t-menusub__link-item[href="/assortiment/chai/puer/shu-puer"],
.t450 a.t-menusub__link-item[href="/assortiment/chai/puer/shen-puer"] { font-size: 15px !important; }

/* Верхнее меню (T454): список слева (по центру отступ не виден), ширина — по самому длинному пункту */
.t454 .t-menusub__menu { text-align: left !important; width: max-content !important; max-width: none !important; }
.t454 .t-menusub__content { padding-left: 28px !important; padding-right: 28px !important; }

/* ===== Галерея T670 на десктопе — по ширине колонки контента — 2026-11-27 (по просьбе владельца).
   Слайды T670 стоят в старой сетке «12 колонок» шириной 1160, а крошки, карточка товара, вкладки и каталог —
   в колонке t-col_12 контейнера (1240 при контейнере 1280). Растягиваем контейнер слайдов до той же ширины
   (контейнер минус поля 2×20), обёртку внутри слайда — на всю ширину слайда. Слайдер Тильды считает ширину
   при загрузке, поэтому правило должно быть в общем CSS. Действует на все T670 сайта, в том числе будущие;
   телефоны и планшеты (до 1200) не затронуты. Проверено на 1200 / 1440 / 1920. ===== */
@media screen and (min-width: 1200px) {
  #allrecords .t670 .t-slds__container.t-width_12 { max-width: none !important; width: calc(100% - 40px) !important; }
  #allrecords .t670 .t-slds__item .t-width_12 { max-width: none !important; width: 100% !important; }
}

/* ===== Горизонтальная прокрутка без полосы — 2026-11-27 (по просьбе владельца: «полосу горизонтальной прокрутки везде скрыть»).
   Каталоги и витрины в одну строку на телефоне и планшете (T1291, T776 и подобные), ленты разделов магазина.
   Листать можно как раньше — пальцем, колесом, тачпадом; скрыта только сама полоса. В разделах её уже прятал блок ДС4,
   на страницах товаров (блок «Смотрите также») и в остальных местах — это правило. ===== */
.t-catalog__grid-cont_mobile-one-row,
.t-store__grid-cont_mobile-one-row,
.t-catalog__parts-switch-wrapper,
.t-store__parts-switch-wrapper,
.t-catalog__parts-list,
.t-store__parts-list {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.t-catalog__grid-cont_mobile-one-row::-webkit-scrollbar,
.t-store__grid-cont_mobile-one-row::-webkit-scrollbar,
.t-catalog__parts-switch-wrapper::-webkit-scrollbar,
.t-store__parts-switch-wrapper::-webkit-scrollbar,
.t-catalog__parts-list::-webkit-scrollbar,
.t-store__parts-list::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ===== Разделы каталога на устройствах — 2026-11-29 (по просьбе владельца, решения по вариантам: панель 260, описание 600, ровные строки).
   1) «Найдено: N» и плашка выбранного фильтра (до 960, каталог в одну строку с прокруткой) стояли вплотную к краю экрана (0) —
      теперь 20, как карточки и кнопки фильтров.
   2) Хлебные крошки в разделах (640–1199, страницы с шапкой раздела .sat-cat-head) — по центру экрана, как заголовок, описание
      и крошки на телефоне (решение владельца 2026-11-29; сначала ставили слева на 20, владелец попросил вернуть по центру).
      Было: слева в колонке Тильды (84 от края на 768, 46 на 1032). На компьютере (от 1200) не тронуты.
   3) Заголовок раздела (H1) — строки ровной длины (text-wrap: balance), без одного слова на второй строке; текст не менялся.
      Описание под заголовком до 1199 — не шире 600 (было на всю ширину: 728 на 768, 900 на 1032), строки тоже выровнены по длине.
      Стили шапки — в HTML-блоке каждого раздела (sat-cat-head), здесь только переопределение — действует во всех разделах сразу.
   4) Большой планшет (961–1365): кнопки «− 1 +» растягивались по высоте до 80 — правило каталога ставит кнопки столбиком,
      а Тильда задаёт счётчику flex: 1 1 80px, в столбике это высота. Теперь обычная высота 46, как у остальных кнопок.
   5) Большой планшет (961–1199): боковая панель 310 → 260 (поля 30 / 20 вместо 30 / 30), карточки 331 → 356. Тильда рассчитывает
      содержимое панели на ширину 250 — у списка разделов, фильтров и ползунка цены ширина и минимальная ширина сняты.
   6) Большой планшет (961–1199): поиск (220) и сортировка (200) — круглые иконки 36, как на планшете; кнопки фильтров встают в два ряда
      вместо трёх. Поиск по нажатию раскрывается влево до 240 поверх фильтров и остаётся открытым, пока вписан запрос; сортировка —
      иконка ⇅, по нажатию обычный список (выбранный вариант на иконке не виден). Решение владельца 2026-11-29.
   7) Большой планшет (961–1199, два товара в ряд): кнопка «Обзор чая» в карточках скрыта (мешала; по просьбе владельца 2026-11-29).
      Её специально показывало правило каталога (display: flex !important для 961–1199) — здесь перебито более сильным селектором.
      На страницу товара ведут фото и название карточки.
   8) Телефон (до 480): «Обзор чая» тоже скрыта; счётчик «− 1 +» (110) и «В корзину» (поля 30 вместо 35, ширина по тексту ≈142) — в один ряд
      под «Весом», зазор 10 (было столбиком: счётчик, кнопка, ниже «Обзор чая»). На узких экранах, где ряд не влезает, кнопка переносится вниз.
      По просьбе владельца 2026-11-29.
   Бэкап CSS до правки — «Бэкапы/Разделы 2026-11-29 (до правки)». ===== */
@media screen and (max-width: 960px) {
  #allrecords .t1291 .t-catalog__grid-cont_mobile-one-row > .t-catalog__filter__chosen-bar { padding-left: 20px !important; padding-right: 20px !important; box-sizing: border-box; }
}
@media screen and (min-width: 640px) and (max-width: 1199px) {
  #allrecords:has(.sat-cat-head) .r[data-record-type="758"] .t758 .t-container { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
  #allrecords:has(.sat-cat-head) .r[data-record-type="758"] .t758 .t758__col { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 20px !important; box-sizing: border-box; }
  #allrecords:has(.sat-cat-head) .r[data-record-type="758"] .t758 .t758__wrapper,
  #allrecords:has(.sat-cat-head) .r[data-record-type="758"] .t758 .t758__list { text-align: center !important; justify-content: center !important; }
}
#allrecords .sat-cat-head__title { text-wrap: balance; }
@media screen and (max-width: 1199px) {
  #allrecords .sat-cat-head__descr { max-width: 600px; text-wrap: balance; }
}
@media screen and (min-width: 961px) and (max-width: 1365px) {
  #allrecords .t1291 .t-catalog__card .t-catalog__prod__quantity { flex: 0 0 auto !important; }
}
@media screen and (min-width: 961px) and (max-width: 1199px) {
  #allrecords .t1291 .t-catalog__sidebar { width: 260px !important; flex: 0 0 260px !important; min-width: 0 !important; padding: 30px 20px !important; }
  #allrecords .t1291 .t-catalog__sidebar .t-catalog-parts-sidebar__container { width: auto !important; }
  #allrecords .t1291 .t-catalog__sidebar .t-catalog__filter__item-controls-wrap { min-width: 0 !important; }
  #allrecords .t1291 .t-catalog__sidebar .js-sidebar-parts,
  #allrecords .t1291 .t-catalog__sidebar .js-sidebar-filters,
  #allrecords .t1291 .t-catalog__sidebar .t-catalog__filter__range,
  #allrecords .t1291 .t-catalog__sidebar .t-catalog__filter__range_bg { width: 100% !important; max-width: 100% !important; }
  /* 6) поиск — иконка, раскрывается по нажатию */
  #allrecords .t1291 .t-catalog__filter__search { position: relative; width: 36px !important; height: 36px !important; flex: 0 0 36px !important; min-width: 0 !important; margin: 0 !important; }
  #allrecords .t1291 .t-catalog__filter__search .t-catalog__search-wrapper { position: absolute; right: 0; top: 0; width: 36px; transition: width .25s; z-index: 5; }
  #allrecords .t1291 .t-catalog__filter__search .t-catalog__filter__input { width: 100% !important; padding: 2px 0 2px 34px !important; color: transparent; cursor: pointer; }
  #allrecords .t1291 .t-catalog__filter__search .t-catalog__filter__input::placeholder { color: transparent; }
  #allrecords .t1291 .t-catalog__filter__search .t-catalog__search-icon { left: 0; right: auto !important; pointer-events: none; }
  #allrecords .t1291 .t-catalog__filter__search:focus-within .t-catalog__search-wrapper,
  #allrecords .t1291 .t-catalog__filter__search:has(.t-catalog__filter__input:not(:placeholder-shown)) .t-catalog__search-wrapper { width: 240px; }
  #allrecords .t1291 .t-catalog__filter__search:focus-within .t-catalog__filter__input,
  #allrecords .t1291 .t-catalog__filter__search:has(.t-catalog__filter__input:not(:placeholder-shown)) .t-catalog__filter__input { color: #3d3d3d; padding-right: 10px !important; cursor: text; }
  #allrecords .t1291 .t-catalog__filter__search:focus-within .t-catalog__filter__input::placeholder { color: #909083; }
  /* 6) сортировка — иконка ⇅, список открывается как обычно */
  #allrecords .t1291 .t-catalog__filter__sort { width: 36px !important; flex: 0 0 36px !important; min-width: 0 !important; }
  #allrecords .t1291 .t-catalog__filter__sort .t-catalog__sort-select-wrapper { width: 36px !important; min-width: 0 !important; display: block !important; }
  #allrecords .t1291 .t-catalog__filter__sort .t-catalog__sort-select-wrapper::after { display: none !important; }
  #allrecords .t1291 .t-catalog__filter__sort select { width: 36px !important; min-width: 0 !important; padding: 0 !important; color: transparent !important; background: #faf6e6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4v16M4 8l4-4 4 4M16 20V4M12 16l4 4 4-4'/%3E%3C/svg%3E") center / 18px no-repeat !important; cursor: pointer; }
  #allrecords .t1291 .t-catalog__filter__sort select option { color: #3d3d3d; }
  /* 7) «Обзор чая» в карточках скрыта */
  #allrecords#allrecords .t1291 .t-catalog__card__btns-wrapper a.js-catalog-prod-btn.t-btnflex_type_button[href*="/product/"] { display: none !important; }
}
@media screen and (max-width: 480px) {
  /* 8) телефон, только разделы (страницы с шапкой .sat-cat-head; «Смотрите также» на товарах не трогаем): «Обзор чая» скрыта, счётчик и «В корзину» в один ряд */
  #allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card__btns-wrapper a.js-catalog-prod-btn.t-btnflex_type_button[href*="/product/"] { display: none !important; }
  #allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card .t-catalog__card__price-buttons .t-catalog__card__btns-wrapper { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; align-items: center !important; gap: 10px !important; }
  #allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card .t-catalog__prod__quantity { width: 110px !important; min-width: 110px !important; flex: 0 0 auto !important; margin: 0 !important; }
  #allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { width: auto !important; min-width: 0 !important; padding: 0 30px !important; flex: 0 0 auto !important; margin: 0 !important; }
}

/* ===== ПРОБА 2026-11-29 (владелец проверяет на iPhone): «Вес» в плитках разделов на телефоне визуально 13 — мельче кнопок (15).
   Шрифт поля остаётся 16 (иначе Safari увеличивает страницу при нажатии), а само поле уменьшено масштабом 13/16 = 0,8125:
   на экране 124 × 36, как при шрифте 13. Внешняя рамка поля — 124 × 36 и display: block (у Тильды table — растягивалась по полю).
   ОТКАТ: удалить этот блок целиком (до строки «конец пробы»). ===== */
@media screen and (max-width: 480px) {
  #allrecords#allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card .js-product-edition-option .t-product__option-variants { display: block !important; position: relative !important; width: 124px !important; max-width: 124px !important; height: 36px !important; overflow: visible !important; }
  #allrecords#allrecords#allrecords:has(.sat-cat-head) .t1291 .t-catalog__card .js-product-edition-option-variants { font-size: 16px !important; width: 153px !important; max-width: 153px !important; height: 44.3px !important; min-height: 44.3px !important; padding: 0 37px 0 12.3px !important; border-radius: 27px 0 27px 0 !important; transform: scale(.8125) !important; transform-origin: 0 0 !important; }
}
/* ===== конец пробы ===== */

/* «Смотрите также» на телефоне (до 480): счётчик и «В корзину» в один ряд, как в плитках разделов (2026-11-29, по просьбе владельца).
   Места под кнопки 270, счётчик 110 + 10 + кнопка 152 = 272 — кнопка уходила на вторую строку; поля кнопки 35 → 30 (ширина ≈142). */
@media screen and (max-width: 480px) {
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__btns-wrapper .t-btnflex_type_button2 { padding: 0 30px !important; }
}

/* ===== «Смотрите также» на телефоне и планшете (до 959): карточки от того же края, что заголовок и текст — 2026-11-29 (по просьбе владельца).
   В режиме «одна строка с прокруткой» Тильда начинала первую карточку от края экрана (0), а заголовок, ссылки и вся страница —
   от края колонки: 20 на телефоне, (ширина − 640) / 2 + 20 на планшете (84 при 768). Здесь тот же отступ слева у первой карточки
   и справа после последней (псевдоэлемент — отступ справа у прокрутки браузеры не учитывают). Ширина карточки — 80 % экрана − 10,
   как было у Тильды, но не шире колонки контента (600): на планшете карточка ровно по колонке. ===== */
@media screen and (max-width: 959px) {
  #allrecords#allrecords .sat-related-cat .t-catalog__grid-cont_mobile-one-row .t-catalog__card-list { padding-left: max(20px, calc((100vw - 640px) / 2 + 20px)) !important; padding-right: 0 !important; box-sizing: border-box; }
  #allrecords#allrecords .sat-related-cat .t-catalog__grid-cont_mobile-one-row .t-catalog__card-list::after { content: ""; order: 99; flex: 0 0 calc(max(20px, calc((100vw - 640px) / 2 + 20px)) - 10px); height: 1px; }
  #allrecords#allrecords .sat-related-cat .t-catalog__grid-cont_mobile-one-row .t-catalog__card { margin-left: 0 !important; flex: 0 0 min(calc(80vw - 10px), 600px) !important; width: min(calc(80vw - 10px), 600px) !important; max-width: min(calc(80vw - 10px), 600px) !important; }
}

/* ===== Отступы вокруг «Смотрите также» на страницах товаров — 2026-11-29, вариант 1 владельца («как между разделами сайта»), с доработкой по скриншотам.
   Компьютер (от 960): текст вкладок → заголовок «Смотрите также» = ссылки → телефон в подвале (150 по тексту; было 90 / 130),
   заголовок → карточки 38 (в служебном блоке), карточки → ссылки 60 (было 30) — вариант владельца «150 / 60 / 150» 2026-11-29.
   Планшет (481–959): вкладки → «Оставить отзыв» 90; «Оставить отзыв» → заголовок «Смотрите также» = ссылки → телефон в подвале (130 по тексту);
   карточки → ссылки 45, ссылки → подвал 90.
   Телефон (до 480): вкладки → «Оставить отзыв» 60; «Оставить отзыв» → заголовок = ссылки → телефон в подвале (118 по тексту);
   заголовок → карточки 30, карточки → ссылки 38, ссылки → подвал 60.
   Как получено: каталог (T1291) без верхнего отступа (было 60), нижний — по значениям выше (было 45). Перед каталогом на компьютере —
   нижний отступ блока вкладок (90) + верхний отступ каталога 60 (только от 981: до 980 перед каталогом стоит блок отзыва со своим отступом).
   До 980 перед каталогом стоят блок «Оставить отзыв» (T530) и пустой Zero-блок высотой 40 (распорка без
   элементов): распорка скрыта этим правилом (сам блок в Тильде не тронут); у блока отзыва верхний отступ 35 / телефон 20 (было 75: вместе с
   отступом под аккордеоном выходило 130 / 115), нижний 128 / телефон 117 (было 75) — подобран по расстоянию «ссылки → телефон».
   На «Мэнхай Гунбин 2022» и «Булан Шань 2022» перед каталогом галерея (T670) — ей те же нижние отступы 128 / 117; на компьютере 74
   (под точками-переключателями у слайдера свои 16: точки → заголовок те же 150).
   Селекторы привязаны к служебному блоку (.sat-related-anchor) — действуют только на страницах товаров. ===== */
#allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) { padding-top: 0 !important; padding-bottom: 30px !important; }
#allrecords .r[data-record-type="396"]:has(+ .r[data-record-type="1291"] + .r .sat-related-anchor) { display: none !important; }
#allrecords .r[data-record-type="530"]:has(+ .r[data-record-type="396"] + .r[data-record-type="1291"] + .r .sat-related-anchor) { padding-top: 35px !important; padding-bottom: 128px !important; }
@media screen and (min-width: 960px) {
  #allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) { padding-bottom: 60px !important; }
}
@media screen and (min-width: 981px) {
  #allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) { padding-top: 60px !important; }
  #allrecords .r[data-record-type="670"]:has(+ .r[data-record-type="1291"] + .r .sat-related-anchor) { padding-bottom: 74px !important; }
}
@media screen and (max-width: 959px) {
  #allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) { padding-bottom: 45px !important; }
  #allrecords .r[data-record-type="670"]:has(+ .r[data-record-type="1291"] + .r .sat-related-anchor) { padding-bottom: 128px !important; }
}
@media screen and (max-width: 480px) {
  #allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) { padding-bottom: 38px !important; }
  #allrecords .r[data-record-type="530"]:has(+ .r[data-record-type="396"] + .r[data-record-type="1291"] + .r .sat-related-anchor) { padding-top: 20px !important; padding-bottom: 117px !important; }
  #allrecords .r[data-record-type="670"]:has(+ .r[data-record-type="1291"] + .r .sat-related-anchor) { padding-bottom: 117px !important; }
}
/* Карточки «Смотрите также» на телефоне и планшете (до 959, лента с прокруткой) — без выравнивания по высоте (2026-11-29, по просьбе владельца).
   На компьютере служебный блок rec6303224001 тянет карточки ряда до одной высоты: цена посередине свободного места, «Вес» и кнопки внизу.
   В ленте видна одна карточка, и отступ над ценой в каждой выходил свой (10–61) — выглядело разорванно. Здесь растяжение отменено:
   карточки своей высоты, цена сразу после описания, отступы одинаковые во всех — 21 над ценой и 21 под ней до «Веса».
   Общее правило каталогов поднимает поле «Вес» на 13–15 (см. начало файла) — здесь оно отменено. */
@media screen and (max-width: 959px) {
  #allrecords#allrecords .sat-related-cat .t-catalog__card .js-product-edition-option,
  #allrecords#allrecords .sat-related-cat .t-catalog__card .js-product-option { margin-top: 0 !important; }
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card { align-self: flex-start !important; height: auto !important; }
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__wrap_txt-and-opts,
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__textwrapper,
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__textwrapper > a.js-product-link { flex: 0 0 auto !important; }
  #allrecords#allrecords#allrecords .sat-related-cat .t-catalog__card .t-catalog__card__price-wrapper { margin: 0 !important; padding: 21px 0 11px !important; }
}

/* ===== Строка перекрёстных ссылок под «Смотрите также» — 2026-11-29 (стили перенесены сюда из HTML-блоков страниц товаров,
   чтобы менять их в одном месте; в блоках осталась только разметка, генератор — related-links-gen.py).
   Фон #faf6e6 как у каталога, текст 18 / 300 / #3d3d3d, интерлиньяж 1,8, названия не переносятся посередине,
   после запятых и точки перед «Все …» — отступ 0,55 em (решения владельца 2026-11-27).
   Планшет (481–959): по центру, 16; телефон (до 480): по центру, 14 — решения владельца 2026-11-29.
   Компьютер (от 960): отступ под строкой 110 (было 90) — до телефона в подвале 150, как до заголовка «Смотрите также» (2026-11-29). ===== */
.sat-related-links-wrap { background-color: #faf6e6; padding-bottom: 90px; }
.sat-related-links { font-family: var(--t-text-font, Arial); font-size: 18px; line-height: 1.8; font-weight: 300; color: #3d3d3d; }
.sat-related-links a { color: #3d3d3d; white-space: nowrap; text-decoration: underline; text-decoration-color: rgba(61,61,61,.4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.sat-related-links a:hover { text-decoration-color: #3d3d3d; }
.sat-related-links__sep { margin-right: .55em; }
@media screen and (min-width: 960px) {
  .sat-related-links-wrap { padding-bottom: 110px; }
}
@media screen and (max-width: 959px) {
  .sat-related-links { font-size: 16px; text-align: center; }
}
@media screen and (max-width: 480px) {
  .sat-related-links-wrap { padding-bottom: 60px; }
  .sat-related-links { font-size: 14px; }
}

/* ===== Межстрочный заголовков по стандарту ДС2 — 2026-11-29 (утверждён владельцем; ds2-typography.md, раздел «Межстрочный заголовков»).
   Ступени: Display 1,1 · H1 1,25 · H3 1,4 · лид и текст 1,55. Здесь — общие для многих страниц блоки:
   название товара T744 (H1, было 1,35; перебивает 1,35 в правиле «Название и цена товара» выше), заголовок «Смотрите также» (H1, было 1,23),
   названия товаров в слайдере разделов T675 (H3, было 1,35). Отступы вокруг пока не пересчитывались (решение владельца: сначала только межстрочный). ===== */
#allrecords .t744 .t744__title { line-height: 1.25 !important; }
#allrecords .r[data-record-type="1291"]:has(+ .r .sat-related-anchor) .t-section__title { line-height: 1.25 !important; }
#allrecords .t675 .t675__title { line-height: 1.4 !important; }

/* ===== Отступы вокруг заголовков после смены межстрочного — 2026-11-29 (вариант А владельца: «вернуть все утверждённые отступы»).
   Отступы в ДС считаются от базовой линии / верха букв, а у заголовка сверху и снизу есть «полуинтерлиньяж» (половина разницы межстрочного
   и кегля). При смене межстрочного он меняется, и вместе с ним — видимые отступы. Здесь поля заголовка гасят эту разницу:
   поле = (межстрочный, при котором утверждены отступы, × кегль − текущий межстрочный) / 2, то есть calc((N·1em − 1lh) / 2).
   Формула сама берёт текущий межстрочный (1lh): пока страница не опубликована с новым межстрочным, поле = 0 и ничего не сдвигается.
   N — межстрочный, при котором утверждены отступы: товары на главной 1,35; «Чайные церемонии» 1,25; название товара 1,35; ДС9 h3 и T356 1,25.
   Поля у этих заголовков до правки были 0, кроме h3 ДС9 (снизу 4, телефон −1) и T356 (снизу 6, телефон 5) — они сохранены в формуле. ===== */
#allrecords #rec1109841176 .js-store-prod-name,
#allrecords #rec996082106 .js-store-prod-name { margin-top: calc((1.35em - 1lh) / 2) !important; margin-bottom: calc((1.35em - 1lh) / 2) !important; }
#allrecords #rec1109791681 .js-block-header-title,
#allrecords #rec1072005336 .js-block-header-title { margin-top: calc((1.25em - 1lh) / 2) !important; margin-bottom: calc((1.25em - 1lh) / 2) !important; }
#allrecords .t744 .t744__title { padding-top: calc((1.35em - 1lh) / 2) !important; padding-bottom: calc((1.35em - 1lh) / 2) !important; } /* поле здесь схлопывалось с полями соседей — внутренний отступ; формула та же (межстрочный меньше утверждённого, значение ≥ 0) */
#allrecords .r[data-record-type="182"] h3 { margin-top: calc((1.25em - 1lh) / 2) !important; margin-bottom: calc(4px + (1.25em - 1lh) / 2) !important; }
#allrecords .r[data-record-type="356"] .t356__title { margin-top: calc((1.25em - 1lh) / 2) !important; margin-bottom: calc(6px + (1.25em - 1lh) / 2) !important; }
@media screen and (max-width: 639px) {
  #allrecords .r[data-record-type="182"] h3 { margin-bottom: calc(-1px + (1.25em - 1lh) / 2) !important; }
  #allrecords .r[data-record-type="356"] .t356__title { margin-bottom: calc(5px + (1.25em - 1lh) / 2) !important; }
}

/* ===== ДС10 «Ритм» — токены, значения образца «Ритм φ» (перенесено 2026-11-30; описание — ds10-ritm.md).
   Кегли: число -m — телефон (320 px), -d — компьютер (1200 px), между ними плавно.
   Отступы, добавка межстрочного текста и межстрочный заголовков — опорные значения на ширинах 320 / 375 / 768 / 1024 / 1440 (таблица ниже),
   между опорами браузер считает по прямой, уже 320 — как 320, шире 1440 — как 1440. КАК МЕНЯТЬ: поправить число в таблице и в формулах своей полосы ширин.
   Межстрочный: текст, лид, мелкий — кегль + --r-lh-add (--r-lh-tx); заголовки — промежуток между строками (базовая → верх строчных) = отступ после заголовка ÷ делитель, не меньше 1,15:
   H3 и цена — от уровня 2 (--r-lh-hd2), H1 и Display — от уровня 3 (--r-lh-hd3); делитель √φ 1,272, на 768 — φ 1,618 (уже пересчитан в --r-hg-*).
   Обрезка «воздуха» строк в блоках — через 1lh, поэтому верна при любом межстрочном.
   Таблица опорных значений, px (320 / 375 / 768 / 1024 / 1440):
     --r-sp-1: 16.5 / 16.5 / 18.6 / 21 / 21
     --r-sp-photo: 18.6 / 18.6 / 23.7 / 23.7 / 26.7
     --r-sp-cap: 18.6 / 18.6 / 21 / 21 / 23.7
     --r-sp-2: 26.7 / 23.7 / 30.1 / 30.1 / 34
     --r-sp-3: 34 / 30.1 / 43.3 / 48.9 / 55
     --r-sp-4: 38.4 / 43.3 / 48.9 / 55 / 55
     --r-sp-5: 89 / 89 / 113 / 128 / 144
     --r-lh-add: 8.4 / 9.6 / 9.6 / 9.6 / 9.6
     --r-hg-2: 20.99 / 18.63 / 18.6 / 23.66 / 26.73
     --r-hg-3: 26.73 / 23.66 / 26.76 / 38.44 / 43.24
   ===== */
:root {
  --r-fs-display-m: 38.4; --r-fs-display-d: 48.9;
  --r-fs-display: clamp(calc(var(--r-fs-display-m) * 1px), calc(var(--r-fs-display-m) * 1px + (var(--r-fs-display-d) - var(--r-fs-display-m)) * (100vw - 320px) / 880), calc(var(--r-fs-display-d) * 1px));
  --r-fs-h1-m: 23.7; --r-fs-h1-d: 30.1;
  --r-fs-h1: clamp(calc(var(--r-fs-h1-m) * 1px), calc(var(--r-fs-h1-m) * 1px + (var(--r-fs-h1-d) - var(--r-fs-h1-m)) * (100vw - 320px) / 880), calc(var(--r-fs-h1-d) * 1px));
  --r-fs-h3-m: 21; --r-fs-h3-d: 24;
  --r-fs-h3: clamp(calc(var(--r-fs-h3-m) * 1px), calc(var(--r-fs-h3-m) * 1px + (var(--r-fs-h3-d) - var(--r-fs-h3-m)) * (100vw - 320px) / 880), calc(var(--r-fs-h3-d) * 1px));
  --r-fs-price-m: 18.6; --r-fs-price-d: 23;
  --r-fs-price: clamp(calc(var(--r-fs-price-m) * 1px), calc(var(--r-fs-price-m) * 1px + (var(--r-fs-price-d) - var(--r-fs-price-m)) * (100vw - 320px) / 880), calc(var(--r-fs-price-d) * 1px));
  --r-fs-lead-m: 16.5; --r-fs-lead-d: 18.6;
  --r-fs-lead: clamp(calc(var(--r-fs-lead-m) * 1px), calc(var(--r-fs-lead-m) * 1px + (var(--r-fs-lead-d) - var(--r-fs-lead-m)) * (100vw - 320px) / 880), calc(var(--r-fs-lead-d) * 1px));
  --r-fs-text-m: 14.7; --r-fs-text-d: 16.5;
  --r-fs-text: clamp(calc(var(--r-fs-text-m) * 1px), calc(var(--r-fs-text-m) * 1px + (var(--r-fs-text-d) - var(--r-fs-text-m)) * (100vw - 320px) / 880), calc(var(--r-fs-text-d) * 1px));
  --r-fs-small-m: 13; --r-fs-small-d: 13;
  --r-fs-small: clamp(calc(var(--r-fs-small-m) * 1px), calc(var(--r-fs-small-m) * 1px + (var(--r-fs-small-d) - var(--r-fs-small-m)) * (100vw - 320px) / 880), calc(var(--r-fs-small-d) * 1px));
  --r-lh-tx: calc(1em + var(--r-lh-add));
  --r-lh-hd2: max(1.15em, calc(0.547em + var(--r-hg-2)));
  --r-lh-hd3: max(1.15em, calc(0.547em + var(--r-hg-3)));
  /* до 320 px */
  --r-sp-1: 16.5px;
  --r-sp-photo: 18.6px;
  --r-sp-cap: 18.6px;
  --r-sp-2: 26.7px;
  --r-sp-3: 34px;
  --r-sp-4: 38.4px;
  --r-sp-5: 89px;
  --r-lh-add: 8.4px;
  --r-hg-2: 20.99px;
  --r-hg-3: 26.73px;
}
@media screen and (min-width: 320px) { :root {
  --r-sp-1: 16.5px;
  --r-sp-photo: 18.6px;
  --r-sp-cap: 18.6px;
  --r-sp-2: calc(26.7px + -3 * (100vw - 320px) / 55);
  --r-sp-3: calc(34px + -3.9 * (100vw - 320px) / 55);
  --r-sp-4: calc(38.4px + 4.9 * (100vw - 320px) / 55);
  --r-sp-5: 89px;
  --r-lh-add: calc(8.4px + 1.2 * (100vw - 320px) / 55);
  --r-hg-2: calc(20.99px + -2.36 * (100vw - 320px) / 55);
  --r-hg-3: calc(26.73px + -3.07 * (100vw - 320px) / 55);
} }
@media screen and (min-width: 375px) { :root {
  --r-sp-1: calc(16.5px + 2.1 * (100vw - 375px) / 393);
  --r-sp-photo: calc(18.6px + 5.1 * (100vw - 375px) / 393);
  --r-sp-cap: calc(18.6px + 2.4 * (100vw - 375px) / 393);
  --r-sp-2: calc(23.7px + 6.4 * (100vw - 375px) / 393);
  --r-sp-3: calc(30.1px + 13.2 * (100vw - 375px) / 393);
  --r-sp-4: calc(43.3px + 5.6 * (100vw - 375px) / 393);
  --r-sp-5: calc(89px + 24 * (100vw - 375px) / 393);
  --r-lh-add: 9.6px;
  --r-hg-2: calc(18.63px + -0.03 * (100vw - 375px) / 393);
  --r-hg-3: calc(23.66px + 3.1 * (100vw - 375px) / 393);
} }
@media screen and (min-width: 768px) { :root {
  --r-sp-1: calc(18.6px + 2.4 * (100vw - 768px) / 256);
  --r-sp-photo: 23.7px;
  --r-sp-cap: 21px;
  --r-sp-2: 30.1px;
  --r-sp-3: calc(43.3px + 5.6 * (100vw - 768px) / 256);
  --r-sp-4: calc(48.9px + 6.1 * (100vw - 768px) / 256);
  --r-sp-5: calc(113px + 15 * (100vw - 768px) / 256);
  --r-lh-add: 9.6px;
  --r-hg-2: calc(18.6px + 5.06 * (100vw - 768px) / 256);
  --r-hg-3: calc(26.76px + 11.68 * (100vw - 768px) / 256);
} }
@media screen and (min-width: 1024px) { :root {
  --r-sp-1: 21px;
  --r-sp-photo: calc(23.7px + 3 * (100vw - 1024px) / 416);
  --r-sp-cap: calc(21px + 2.7 * (100vw - 1024px) / 416);
  --r-sp-2: calc(30.1px + 3.9 * (100vw - 1024px) / 416);
  --r-sp-3: calc(48.9px + 6.1 * (100vw - 1024px) / 416);
  --r-sp-4: 55px;
  --r-sp-5: calc(128px + 16 * (100vw - 1024px) / 416);
  --r-lh-add: 9.6px;
  --r-hg-2: calc(23.66px + 3.07 * (100vw - 1024px) / 416);
  --r-hg-3: calc(38.44px + 4.8 * (100vw - 1024px) / 416);
} }
@media screen and (min-width: 1440px) { :root {
  --r-sp-1: 21px;
  --r-sp-photo: 26.7px;
  --r-sp-cap: 23.7px;
  --r-sp-2: 34px;
  --r-sp-3: 55px;
  --r-sp-4: 55px;
  --r-sp-5: 144px;
  --r-lh-add: 9.6px;
  --r-hg-2: 26.73px;
  --r-hg-3: 43.24px;
} }
