/*
 * Theme Name: ОптВипШина
 * Description: Сайт сезонного хранения шин ОптВипШина
 * Theme URI:   https://optvipshina.ru
 * Author:      Dmitry
 * Author URI:  https://optvipshina.ru
*/


.invert {
    display: none !important;
}
.modal__title {
	color: #333 !important;
}

[class*="ymaps-2"][class*="-ground-pane"] {
    filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
    /* Firefox 3.5+ */
    -webkit-filter: grayscale(100%);
    /* Chrome 19+ & Safari 6+ */
}

.main-header--form {
	display: flex;
	flex-flow: column;
    width: 270px;
}

.main-header--form label {
	display: block;
	font-weight: 600;
}

.main-header--datepicker {
	margin: 10px 0;
	padding: 10px 10px;
	color: #333;
	width: 200px;
	font-weight: 600;
}

.differents__item--revers {
	flex-wrap: wrap-reverse !important;
	
}
/* Базовый стиль для мобильных устройств */
table {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #dddddd;
  border-collapse: collapse;
}

table th {
  font-weight: bold;
  padding: 5px;
  background: #efefef;
  border: 1px solid #dddddd;
}

table td {
  border: 1px solid #dddddd;
  padding: 5px;
}

/* Для планшетов и десктопов */
@media (min-width: 768px) {
  table {
    width: 80%;
  }
}

.logo__text--subtitle-footer{padding:0;margin:0;font-size:10px;letter-spacing:.05em;line-height:0;margin-top:10px;padding-bottom: 5px;}


@media only screen and (max-width:480px){
  .logo__text--mobile{
    display: block;
    position: absolute;
    font-size: 25px;
    top: 62px;
    background: #fff;
    width: 100vw;
    text-align: center;
    padding: 5px;
    left: 0;
    font-weight: 600;
  }
  .logo__text--mobile .logo__text--subtitle {
    font-size: 24px;
    letter-spacing: .01em;
    line-height: .5;
  }
  .logo__text .logo__text--title {
    margin-bottom: 0px;
  }
}

/* Направления бизнеса и SEO-посадочные страницы */
/* Компактная навигация используется и на главной, и на новых посадочных. */
.ov-service-strip {
  height: auto !important;
  min-height: 58px;
  display: flex;
  align-items: center;
  background: #fff;
}

.ov-service-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 0;
}

.ov-service-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 20px;
  border: 1px solid #d9d9dc;
  border-radius: 999px;
  color: #292a35;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease;
}

.ov-service-nav a.ov-service-nav__item:hover,
.ov-service-nav a.ov-service-nav__item:focus {
  color: #fff;
  border-color: #b7372d;
  background: #b7372d;
  text-decoration: none;
}

/* Активный раздел заменяет ссылку на себя и явно виден в меню. */
.ov-service-nav__item.is-active {
  color: #fff;
  border-color: #b7372d;
  background: #b7372d;
  box-shadow: 0 6px 16px rgba(183, 55, 45, .22);
  cursor: default;
}

/*
 * Первый экран сохраняет тёмную палитру темы, а справа показывает отдельную
 * тематическую иллюстрацию. Так текст всегда читается, а фотографию можно
 * менять для каждой услуги через метаполе, не редактируя сам шаблон.
 */
.ov-landing-header .topline {
  background: #fff;
}

.ov-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 0 38px;
  color: #fff;
  background: linear-gradient(135deg, #22232c 0%, #30313c 58%, #262731 100%);
}

.ov-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 10%, rgba(183,55,45,.25), transparent 32%),
    linear-gradient(115deg, transparent 0%, transparent 58%, rgba(255,255,255,.035) 58.2%, transparent 58.6%);
}

.ov-hero .container {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: 1440px;
  padding-right: 0;
  padding-left: 0;
}

.ov-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: clamp(540px, 44vw, 650px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  align-items: center;
  background: #1b1c23;
  box-shadow: 0 30px 70px rgba(0,0,0,.36);
}

.ov-hero__copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 68px 58px 78px;
}

.ov-hero__eyebrow,
.ov-kicker {
  margin: 0 0 12px;
  color: #d65a4c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.ov-hero h1 {
  max-width: 690px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(37px, 4.35vw, 60px);
  line-height: 1.06;
  text-shadow: 0 3px 24px rgba(0,0,0,.48);
}

.ov-hero__lead {
  max-width: 650px;
  margin: 0;
  color: #f1f1f3;
  font-size: 20px;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}

/*
 * Короткие смысловые блоки получают более ровные переносы строк. Свойство
 * применяется точечно: обычные абзацы, цены и характеристики сохраняют
 * естественный поток текста, а старые браузеры безопасно игнорируют правило.
 */
.ov-hero h1,
.ov-hero__lead,
.ov-offer__value,
.ov-section h2,
.ov-card h3,
.ov-step strong,
.ov-faq summary,
.ov-cta h2,
.ov-products h2,
.ov-product-card h3 {
  text-wrap: balance;
}

.ov-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ov-hero__visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: #1b1c23;
  box-shadow: none;
}

.ov-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18,19,24,.96) 0%, rgba(18,19,24,.83) 34%, rgba(18,19,24,.34) 63%, rgba(18,19,24,.16) 78%, rgba(18,19,24,.44) 100%),
    linear-gradient(180deg, rgba(18,19,24,.08) 48%, rgba(18,19,24,.78) 100%);
}

.ov-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ov-hero__visual--fallback {
  min-height: 360px;
  background: #292a35 url("img/header-bg.jpg") center / cover no-repeat;
}

.ov-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 24px;
  border: 2px solid #b7372d;
  border-radius: 6px;
  background: #b7372d;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ov-btn:hover,
.ov-btn:focus {
  background: #9e2e26;
  border-color: #9e2e26;
  color: #fff;
  text-decoration: none;
}

.ov-btn--ghost {
  border-color: rgba(255,255,255,.8);
  background: transparent;
}

.ov-btn--ghost:hover,
.ov-btn--ghost:focus {
  border-color: #fff;
  background: #fff;
  color: #292a35;
}

.ov-offer {
  position: absolute;
  right: 28px;
  /* Поднимаем плашку выше фиксированной кнопки WhatsApp на небольших ноутбуках. */
  bottom: 124px;
  left: auto;
  z-index: 2;
  width: min(390px, calc(100% - 56px));
  padding: 19px 21px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  background: rgba(30,31,39,.86);
  box-shadow: 0 16px 36px rgba(0,0,0,.24);
  backdrop-filter: blur(9px);
}

.ov-offer__label {
  display: block;
  margin-bottom: 7px;
  color: #f1b2ab;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ov-offer__value {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

/* Три коротких факта помогают быстро понять услугу до чтения подробного текста. */
.ov-facts {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid #e4e4e7;
  background: #fff;
  box-shadow: 0 10px 30px rgba(38,39,48,.07);
}

.ov-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Bootstrap добавляет контейнеру служебные псевдоэлементы; в grid они создавали пустую ячейку. */
.ov-facts__grid::before,
.ov-facts__grid::after {
  display: none;
  content: none;
}

.ov-fact {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 18px 28px;
  color: #34353d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.ov-fact + .ov-fact {
  border-left: 1px solid #e4e4e7;
}

.ov-fact::before {
  content: "✓";
  display: flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 13px;
  border-radius: 50%;
  background: #f8e9e7;
  color: #a43129;
  font-size: 18px;
  font-weight: 700;
}

.ov-offer__note {
  display: block;
  margin-top: 10px;
  color: #e7e7e9;
  font-size: 14px;
  line-height: 1.5;
}

/* Типографика и секции контента намеренно изолированы префиксом ov-. */
.ov-content {
  color: #33343b;
  background: #fff;
}

.ov-breadcrumbs {
  padding: 20px 0 0;
  color: #74757d;
  font-size: 14px;
}

.ov-breadcrumbs a {
  color: #a43129;
}

.ov-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
}

.ov-section--soft {
  background:
    radial-gradient(circle at 92% 8%, rgba(183,55,45,.07), transparent 25%),
    #f6f6f7;
}

.ov-section--dark {
  color: #fff;
  background: #292a35;
}

.ov-section h2 {
  max-width: 850px;
  margin: 0 0 20px;
  color: #292a35;
  font-size: clamp(30px, 3.6vw, 45px);
  line-height: 1.14;
  text-align: left;
}

.ov-section--dark h2 {
  color: #fff;
}

.ov-intro {
  max-width: 860px;
  margin-bottom: 34px;
  color: #55565e;
  font-size: 18px;
  line-height: 1.72;
}

.ov-section--dark .ov-intro {
  color: #e0e0e3;
}

/* Универсальные карточки для направлений, выгод и сценариев подбора. */
.ov-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ov-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ov-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 28px;
  border: 1px solid #e1e1e4;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(38,39,48,.06);
}

.ov-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #b7372d, #d98378);
}

a.ov-card {
  display: block;
  color: #33343b;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.ov-card:hover,
a.ov-card:focus {
  transform: translateY(-3px);
  border-color: #c9574d;
  color: #33343b;
  box-shadow: 0 16px 34px rgba(38,39,48,.12);
  text-decoration: none;
}

.ov-card__tag {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 5px;
  background: #f8e9e7;
  color: #a43129;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.ov-card h3 {
  margin: 0 0 12px;
  color: #292a35;
  font-size: 23px;
  line-height: 1.25;
}

.ov-card p,
.ov-card li {
  color: #5c5d64;
  line-height: 1.65;
}

/*
 * Тематические изображения превращают текстовые карточки в быстрые визуальные
 * подсказки. Картинка остаётся декоративной, а весь смысл доступен в HTML-тексте.
 */
.ov-card--visual {
  padding-top: 0;
}

.ov-card__media {
  display: block;
  height: 178px;
  margin: 0 -28px 24px;
  overflow: hidden;
  border-bottom: 1px solid #dedee1;
  background: #292a35;
}

.ov-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

a.ov-card--visual:hover .ov-card__media img,
a.ov-card--visual:focus .ov-card__media img {
  transform: scale(1.045);
}

/* Широкая инфографика отделяет объяснение процесса от пошаговых карточек. */
.ov-infographic {
  position: relative;
  overflow: hidden;
  margin: 32px 0 34px;
  border: 1px solid #dadade;
  border-radius: 16px;
  background: #202127;
  box-shadow: 0 18px 42px rgba(38,39,48,.13);
}

.ov-infographic::after {
  content: "Проверка перед продажей";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 6px;
  background: rgba(30,31,39,.84);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.ov-infographic img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ov-card__link {
  display: block;
  margin-top: 18px;
  color: #a43129;
  font-weight: 700;
}

.ov-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ov-size-list li {
  position: relative;
  margin: 0;
  padding: 10px 15px 10px 30px;
  border: 1px solid #d7d7da;
  border-radius: 7px;
  background: #fff;
  color: #292a35;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(38,39,48,.05);
}

.ov-size-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7372d;
  transform: translateY(-50%);
}

/* Таблица остаётся читаемой на телефонах за счёт горизонтальной прокрутки. */
.ov-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid #e0e0e3;
  border-radius: 10px;
}

.ov-table {
  width: 100%;
  margin: 0;
  border: 0;
  background: #fff;
}

.ov-table th,
.ov-table td {
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid #e7e7e9;
  text-align: left;
}

.ov-table th {
  background: #292a35;
  color: #fff;
}

.ov-table tr:last-child td {
  border-bottom: 0;
}

.ov-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid #b7372d;
  border-radius: 0 8px 8px 0;
  background: #f8efee;
  color: #4d4e55;
  line-height: 1.65;
}

.ov-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  counter-reset: ov-step;
}

.ov-step {
  position: relative;
  padding: 25px 22px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: #fff;
  color: #4e4f57;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  counter-increment: ov-step;
}

.ov-step::before {
  content: counter(ov-step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 17px;
  border-radius: 50%;
  background: #b7372d;
  color: #fff;
  font-weight: 700;
}

.ov-step strong {
  display: block;
  margin-bottom: 8px;
  color: #292a35;
  font-size: 18px;
}

/* Нативные details/summary работают без JavaScript и доступны с клавиатуры. */
.ov-faq {
  max-width: 900px;
  margin-top: 28px;
}

.ov-faq details {
  margin-bottom: 12px;
  border: 1px solid #dedee1;
  border-radius: 9px;
  background: #fff;
}

.ov-faq summary {
  padding: 19px 50px 19px 20px;
  color: #292a35;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.ov-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: #5c5d64;
  line-height: 1.65;
}

.ov-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 35px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 14px;
  background: #b7372d;
  color: #fff;
}

.ov-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 31px;
}

.ov-cta p {
  margin: 0;
  color: #fff;
  line-height: 1.55;
}

.ov-cta .ov-btn {
  border-color: #fff;
  background: #fff;
  color: #9e2e26;
  white-space: nowrap;
}

.ov-cta .ov-btn:hover,
.ov-cta .ov-btn:focus {
  background: #292a35;
  border-color: #292a35;
  color: #fff;
}

.ov-related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.ov-related a {
  padding: 10px 14px;
  border: 1px solid #d6d6d9;
  border-radius: 6px;
  color: #a43129;
  font-weight: 700;
  text-decoration: none;
}

.ov-related a:hover,
.ov-related a:focus {
  border-color: #b7372d;
  background: #b7372d;
  color: #fff;
  text-decoration: none;
}

/*
 * Карточки каталога изолированы префиксом ov-product-, чтобы старые стили темы
 * и плагины WordPress не меняли сетку, изображение или кнопки товара.
 */
.ov-products {
  padding: 62px 0 68px;
  border-bottom: 1px solid #e5e5e8;
  background:
    radial-gradient(circle at 94% 6%, rgba(183,55,45,.08), transparent 25%),
    #f6f6f7;
}

.ov-products h2 {
  margin: 0 0 13px;
  color: #292a35;
  font-size: clamp(30px, 3.5vw, 44px);
  line-height: 1.12;
  text-align: left;
}

.ov-products__intro {
  max-width: 780px;
  margin: 0 0 30px;
  color: #5c5d64;
  font-size: 17px;
  line-height: 1.65;
}

.ov-products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

/*
 * Если для страницы пока нет полного ряда товаров, посетитель получает
 * самостоятельный блок подбора по складу вместо одинокой карточки или пустоты.
 */
.ov-products--request {
  padding: 54px 0;
}

.ov-stock-request {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 290px);
  gap: 42px;
  align-items: center;
  padding: 42px 46px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 87% 20%, rgba(255,255,255,.14), transparent 22%),
    linear-gradient(135deg, #262731 0%, #30323e 62%, #8e3029 100%);
  box-shadow: 0 18px 44px rgba(38,39,48,.18);
}

.ov-stock-request::after {
  content: "";
  position: absolute;
  right: -62px;
  bottom: -94px;
  width: 260px;
  height: 260px;
  border: 34px solid rgba(20,21,27,.28);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08);
  pointer-events: none;
}

.ov-stock-request__copy,
.ov-stock-request__actions {
  position: relative;
  z-index: 1;
}

.ov-stock-request .ov-kicker {
  color: #f2a097;
}

.ov-stock-request h2 {
  max-width: 720px;
  margin-bottom: 14px;
  color: #fff;
}

.ov-stock-request__copy > p:not(.ov-kicker) {
  max-width: 720px;
  margin: 0;
  color: #e7e7ea;
  font-size: 17px;
  line-height: 1.65;
}

.ov-stock-request__fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.ov-stock-request__fields span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ov-stock-request__actions {
  display: grid;
  gap: 11px;
}

.ov-stock-request__actions .ov-btn,
.ov-stock-request__whatsapp {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.ov-stock-request__actions .ov-btn {
  border-color: #fff;
  background: #fff;
  color: #9e2e26;
}

.ov-stock-request__actions .ov-btn:hover,
.ov-stock-request__actions .ov-btn:focus {
  border-color: #f4d9d6;
  background: #f4d9d6;
  color: #8d2821;
}

.ov-stock-request__whatsapp {
  border: 2px solid #60bd74;
  background: #2e8b43;
  color: #fff;
}

.ov-stock-request__whatsapp:hover,
.ov-stock-request__whatsapp:focus {
  border-color: #79d18d;
  background: #26783a;
  color: #fff;
  text-decoration: none;
}

.ov-product-card {
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #dedee2;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(38,39,48,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ov-product-card:hover {
  transform: translateY(-3px);
  border-color: #c9574d;
  box-shadow: 0 20px 44px rgba(38,39,48,.14);
}

.ov-product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9e9ec;
}

.ov-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.ov-product-card:hover .ov-product-card__media img {
  transform: scale(1.025);
}

/* Заглушка используется только до получения оригинальной фотографии продавца. */
.ov-product-card__placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 70% 25%, rgba(183,55,45,.15), transparent 27%),
    linear-gradient(145deg, #30313b, #202129);
}

.ov-product-card__placeholder span {
  position: relative;
  width: 116px;
  height: 116px;
  border: 24px solid #111218;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 2px #4d4e57,
    0 20px 28px rgba(0,0,0,.32);
}

.ov-product-card__placeholder span::before,
.ov-product-card__placeholder span::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 2px dashed #5f6069;
  border-radius: 50%;
}

.ov-product-card__placeholder span::after {
  inset: -10px;
  border-color: #34353e;
}

.ov-product-card__status {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: #237343;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.16);
}

.ov-product-card__status--reserved {
  color: #8d5b00;
}

.ov-product-card__body {
  display: flex;
  min-height: 310px;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 24px;
}

.ov-product-card h3 {
  margin: 0 0 14px;
  color: #292a35;
  font-size: 22px;
  line-height: 1.25;
}

.ov-product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 15px;
}

.ov-product-card__tags span {
  padding: 6px 9px;
  border-radius: 5px;
  background: #f4e6e4;
  color: #963128;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.ov-product-card__condition {
  margin: 0 0 20px;
  color: #5c5d64;
  font-size: 14px;
  line-height: 1.6;
}

.ov-product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e5e5e8;
}

.ov-product-card__meta strong {
  color: #292a35;
  font-size: 23px;
  line-height: 1.2;
}

.ov-product-card__meta span {
  color: #6b6c74;
  font-size: 13px;
  font-weight: 700;
}

.ov-product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 17px;
}

.ov-product-card__actions .ov-btn,
.ov-product-card__whatsapp {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.ov-product-card__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #2e8b43;
  border-radius: 6px;
  color: #26783a;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.ov-product-card__whatsapp:hover,
.ov-product-card__whatsapp:focus {
  background: #2e8b43;
  color: #fff;
  text-decoration: none;
}

/* Адаптация сеток без вмешательства в старые брейкпоинты темы. */
@media (max-width: 991px) {
  .ov-hero__grid {
    grid-template-columns: 1fr;
    min-height: 560px;
  }

  .ov-hero__visual {
    width: auto;
    max-width: none;
  }

  .ov-grid,
  .ov-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ov-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ov-service-strip {
    margin-top: 0 !important;
  }

  .ov-service-nav {
    align-items: stretch;
    gap: 6px;
  }

  .ov-service-nav__item {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 7px;
    font-size: 12px;
    text-align: center;
  }

  .ov-hero {
    padding: 20px 0 30px;
  }

  .ov-hero .container {
    width: calc(100% - 24px);
  }

  .ov-hero::before {
    background: radial-gradient(circle at 90% 0, rgba(183,55,45,.22), transparent 36%);
  }

  .ov-hero h1 {
    font-size: 39px;
  }

  .ov-hero__lead {
    font-size: 17px;
  }

  .ov-hero__grid {
    display: flex;
    min-height: 0;
    flex-direction: column;
    border-radius: 18px;
  }

  .ov-hero__copy {
    width: 100%;
    max-width: none;
    padding: 38px 24px 30px;
    background: #252630;
  }

  .ov-hero__visual {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
  }

  .ov-hero__visual::after {
    background: linear-gradient(180deg, transparent 48%, rgba(18,19,24,.56) 100%);
  }

  .ov-hero__visual img {
    height: auto;
    aspect-ratio: 4 / 3;
    object-position: center;
  }

  .ov-hero__visual .ov-offer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    border: 0;
    border-top: 1px solid #e2e2e5;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .ov-card__media {
    height: 205px;
  }

  .ov-infographic {
    margin: 26px 0 30px;
    border-radius: 12px;
  }

  .ov-infographic::after {
    right: 12px;
    bottom: 12px;
    font-size: 10px;
  }

  .ov-infographic img {
    min-height: 300px;
    aspect-ratio: auto;
    object-position: center;
  }

  .ov-hero__visual .ov-offer__label {
    color: #a43129;
  }

  .ov-hero__visual .ov-offer__value {
    color: #292a35;
  }

  .ov-hero__visual .ov-offer__note {
    color: #5c5d64;
  }

  .ov-facts__grid {
    grid-template-columns: 1fr;
  }

  .ov-fact {
    min-height: 0;
    padding: 15px 20px;
  }

  .ov-fact + .ov-fact {
    border-top: 1px solid #e4e4e7;
    border-left: 0;
  }

  .ov-section {
    padding: 50px 0;
  }

  .ov-grid,
  .ov-grid--2,
  .ov-steps,
  .ov-products__grid {
    grid-template-columns: 1fr;
  }

  .ov-products {
    padding: 48px 0 52px;
  }

  .ov-stock-request {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 34px 26px;
  }

  .ov-stock-request__actions {
    width: 100%;
  }

  .ov-product-card__body {
    min-height: 0;
  }

  .ov-cta {
    grid-template-columns: 1fr;
    padding: 28px 24px;
  }
}

/*
 * На телефонах подпись под логотипом становится абсолютным белым блоком и
 * занимает область сразу под шапкой. Оставляем под неё штатные 50 px, иначе
 * она перекрывает навигацию и визуально скрывает все три ссылки.
 */
@media (max-width: 480px) {
  header .topline-bottom.ov-service-strip {
    position: relative;
    z-index: 2;
    height: auto !important;
    min-height: 58px;
    margin-top: 50px !important;
    overflow: visible;
  }

  header .ov-service-nav {
    display: flex !important;
  }

  .ov-hero h1 {
    font-size: 34px;
  }
}



/* Для СТРАНИЦЫ БУ шины */

.page__info--img {
        /* width: 100%; */
        float: none;
        text-align: center;
        display: block;
        margin: 0 auto;
        max-height: 300px;
    }

.benefit__info--img-page {
    float: left;
    max-height: 80px;
}

header .topline-bottom {
  margin-top: 0px;
  text-align: center;
    height: 60px;
    border-bottom: 1px solid #323642;
    font-weight: 700;
}
a.logo {
  color: #333;
}
a.logo:focus, a.logo:active, a.logo:hover  {
  text-decoration: none;
  color: #333;
}

@media only screen and (max-width:480px){

  header .topline-bottom {
  margin-top: 50px;
  text-align: center;
    height: 70px;
    border-bottom: 1px solid #323642;
    font-weight: 700;
}


}
