/* mr-price.css — 17.11.2026. Подключён в local/templates/markryden/header.php после mr-cards.css.
   1) Цена — самый заметный элемент после фото: карточка товара (.g-pdp-price) и карточки сетки
      (.g-card-title-price > span: каталог, коллекции, «Альтернативы», главная).
      Высота строки цены + отступ подобраны так, чтобы сумма осталась прежней (сетка не прыгает):
      ≥768: было 14 + 21 = 35px → 9 + 26 = 35px; <768: было 14 + 16.9 = 30.9px → 9 + 22 = 31px.
   2) Выжимка условий в карточке товара (.mr-terms) и логотипы служб доставки (.mr-ship-logo).
   Откат: убрать <link href="/mr-price.css"> из header.php. */

.g-pdp-price,
.mr-global .g-pdp-price {
  font-size: 32px;
  font-weight: 700;
  line-height: 37px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

.product-card .g-card-title-price > span,
.mr-global .product-card .g-card-title-price > span {
  font-size: 22px !important;
  font-weight: 700;
  line-height: 26px;
  margin-top: 9px;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}

/* Товар «под заказ» (data-mr-buy="N") сохраняет приглушённый цвет из mr-cards.css */
.product-card:not([data-mr-buy="N"]) .g-card-title-price > span {
  color: var(--mr-ink, #171717);
}

/* Старая цена и скидка — мельче и спокойнее основной цены */
.g-pdp-price s, .g-pdp-price del, .g-pdp-price small,
.g-card-title-price > span s, .g-card-title-price > span del, .g-card-title-price > span small {
  font-size: .6em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--mr-muted, #555);
  margin-left: .4em;
}

@media (max-width: 1023px) {
  .g-pdp-price,
  .mr-global .g-pdp-price {
    font-size: 26px;
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  .product-card .g-card-title-price > span,
  .mr-global .product-card .g-card-title-price > span {
    font-size: 18px !important;
    line-height: 22px;
    margin-top: 9px;
  }
  /* Сетка коллекций: у демо-карточек вместо числа текст «Цена уточняется» (150.6px при 18px
     против 137.5px доступной ширины на экране 375) — 16px, чтобы строка не переносилась. */
  .gc-grid .product-card .g-card-title-price > span,
  .mr-global .gc-grid .product-card .g-card-title-price > span {
    font-size: 16px !important;
  }
}

/* Выжимка условий в раскрывающихся блоках карточки */
.mr-terms {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.mr-terms li { margin: 0; }
.mr-terms-more { margin: 0; font-size: 14px; }

/* Логотипы служб доставки: фиксированная высота, ширина по пропорции файла.
   Охранное поле по гайду Ozon (brandlab.ozon.ru/guide/logo_guide) равно высоте и ширине буквы «о»,
   то есть высоте логотипа: логотип стоит отдельной строкой, отступы со всех сторон не меньше его высоты
   (в карточке сверху 10px + 8px промежуток списка = 18px). Для СДЭК принято то же поле. */
.mr-ship-logo {
  display: block;
  height: 18px;
  width: auto;
  margin: 10px 0 18px;
}
.gp-richtext .mr-ship-logo { height: 20px; margin: 20px 0; }
.gp-richtext ul.mr-ship-list { list-style: none; padding-left: 0; }
.gp-richtext ul.mr-ship-list > li { margin: 0 0 12px; }

/* Закреплённая панель покупки в карточке товара, только мобильная ширина.
   Показывается, когда основная кнопка «В корзину» вне экрана (скрипт в products/item.php).
   18.11: панель всегда у нижнего края; пока на экране плашка cookie (#mr-cookie), плашка поднимается над панелью,
   чтобы не закрывать «Купить» (раньше панель висела над плашкой, на 207 px выше края — замер Playwright 375×812). */
.mr-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid rgba(23, 23, 23, .12);
  box-shadow: 0 -6px 20px rgba(23, 23, 23, .08);
}
.mr-buybar[hidden] { display: none; }
.mr-buybar-price {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--mr-ink, #171717);
}
.mr-buybar .btn { flex: 0 1 200px; min-height: 48px; margin: 0; }
body.mr-has-buybar { padding-bottom: 72px; }
@media (max-width: 767px) {
  body.mr-has-buybar .mr-cookie { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 768px) {
  .mr-buybar { display: none !important; }
  body.mr-has-buybar { padding-bottom: 0; }
}

/* /about/: ряд российских площадок вместо картинки. Логотип Ozon — с охранным полем не меньше его высоты
   (28px; промежутки и поля 32px). Остальные площадки — названием, официальные файлы логотипов не найдены. */
.mr-mp-row {
  list-style: none;
  margin: 0;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px 40px;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .12);
}
.mr-mp-row li { margin: 0; }
.mr-mp-row a { display: block; text-decoration: none; color: #171717; }
.mr-mp-row img { display: block; height: 28px; width: auto; }
.mr-mp-name { font-size: 22px; font-weight: 700; line-height: 28px; letter-spacing: -.01em; white-space: nowrap; }
.mr-mp-name:hover, .mr-mp-name:focus-visible { text-decoration: underline; }

/* /about/: разделы каталога вместо линеек глобального сайта (L, F, C, T, G) — плитка с названием раздела
   того же размера и скругления, что прежняя картинка (1:1, 14px). */
.g-about-series-card.mr-series-text { display: block; text-decoration: none; color: #171717; }
.mr-series-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 16px;
  border-radius: 14px;
  background: #f4f4f2;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  text-align: center;
}
.g-about-series-card.mr-series-text:hover .mr-series-tile,
.g-about-series-card.mr-series-text:focus-visible .mr-series-tile { background: #ebebe8; }

/* /lines/: страница-список линеек бренда */
.mr-lines { padding-top: 32px; padding-bottom: 48px; }
.mr-lines-crumbs { font-size: 14px; color: #555; margin-bottom: 16px; }
.mr-lines-crumbs a { color: inherit; }
.mr-lines h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 0 0 12px; }
.mr-lines-lead { max-width: 720px; margin: 0 0 32px; font-size: 16px; line-height: 1.5; }
.mr-lines-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mr-lines-grid li { margin: 0; }
.mr-lines-grid a { display: grid; gap: 6px; height: 100%; padding: 16px; border: 1px solid rgba(23, 23, 23, .12); border-radius: 14px; background: #fff; color: #171717; text-decoration: none; }
.mr-lines-grid a:hover, .mr-lines-grid a:focus-visible { border-color: #171717; }
.mr-lines-grid img { display: block; width: 100%; height: auto; }
.mr-lines-grid b { font-size: 20px; font-weight: 700; line-height: 1.2; }
.mr-lines-grid span { font-size: 14px; line-height: 1.45; color: #555; }
.mr-lines-grid i { font-style: normal; font-size: 14px; font-weight: 600; }
.mr-lines-all { margin: 32px 0 0; }

/* about: подписи к сертификатам */
.g-about-awards .mr-award{margin:0 0 24px;break-inside:avoid}
.g-about-awards .mr-award img{margin-bottom:8px;display:block}
.g-about-awards .mr-award figcaption{font-size:13px;line-height:1.45;color:#5b5b5b}
@media(max-width:760px){.g-about-awards .mr-award{margin-bottom:16px}.g-about-awards .mr-award figcaption{font-size:12px}}

/* about: проверка производства */
.g-about-awards.mr-audit{columns:1}
.mr-audit h3{font-size:18px;font-weight:600;margin:0 0 16px}
.mr-audit ul{columns:2;column-gap:32px;margin:0;padding:0;list-style:none}
.mr-audit li{break-inside:avoid;padding:12px 0;border-top:1px solid #e3e3e3;font-size:15px;line-height:1.4}
@media(max-width:760px){.mr-audit ul{columns:1}.mr-audit li{font-size:14px;padding:10px 0}}
.mr-proof-col{min-width:0}
.mr-audit{margin-top:8px}
.mr-audit p{font-size:15px;line-height:1.55;margin:0 0 16px}
