/* /price/price-hero.css — v1.0.9
   Важно:
   - секция НЕ растягивается через 100vw (это и давало горизонтальный скролл)
   - full-bleed фон делается псевдоэлементом на 100vw и обрезается overflow-x у секции
*/

/* /price/price-hero.css */

.price-hero,
.price-hero * { box-sizing: border-box; }

.price-hero{
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.price-hero::before{
  content: none;
  display: none;
}

.price-hero__body{
  position: relative;
  padding: 22px 0 30px;
  background: transparent !important;
  overflow: hidden;
  z-index: 1;
}

.price-hero__body::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 420px at 10% 20%, rgba(220,38,38,.12), transparent 62%),
    radial-gradient(1200px 420px at 90% 10%, rgba(59,130,246,.08), transparent 62%),
    radial-gradient(1200px 420px at 80% 90%, rgba(16,185,129,.08), transparent 62%),
    repeating-linear-gradient(135deg, rgba(15,23,42,.030) 0, rgba(15,23,42,.030) 2px, transparent 2px, transparent 14px);
  opacity: .9;
  z-index: 0;
}

/* внутренний контейнер остается по сетке сайта */
.price-hero__inner.maxwidth-theme{
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 16px;
}

/* контент поверх фона */
.price-hero__inner,
.price-hero__grid{
  position: relative;
  z-index: 1;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.price-hero__inner::before,
.price-hero__inner::after,
.price-hero__grid::before,
.price-hero__grid::after{
  content: none !important;
  display: none !important;
}

/* сетка */
.price-hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start;
}

/* LEFT */
.price-hero__left{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.price-hero__left::before,
.price-hero__left::after{
  content: none !important;
  display: none !important;
}

.price-hero__eyebrow{
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: .06em;
  margin: 4px 0 10px;
}
.price-hero__title{
  font-size: 36px;
  line-height: 1.10;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 12px;
}
.price-hero__sub{
  font-size: 15px;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 14px;
  max-width: 740px;
}

/* чипы */
.price-hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.price-hero__chip{
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none !important;
}

/* кнопки */
.price-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
}
.price-hero__btn{
  height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  user-select: none;
  transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
  box-shadow: none !important;
}
.price-hero__btn--primary{
  background: #dc2626;
  color: #fff;
  border: 1px solid rgba(0,0,0,.06);
}
.price-hero__btn--secondary{
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,.14);
}
.price-hero__btn:hover{ transform: translateY(-1px); }
.price-hero__btn:active{ transform: translateY(0); }

.price-hero__hint{
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
  font-style: italic;
}

/* RIGHT */
.price-hero__right{
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.price-hero__right::before,
.price-hero__right::after{
  content: none !important;
  display: none !important;
}

/* эти блоки в HTML есть, но фон/тень нам не нужны */
.price-hero__right-bg{ display: none !important; }
.price-hero__panel-shadow{ display: none !important; }

/* единственная “карточка” справа */
.price-hero__panel{
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 12px 28px rgba(2,6,23,.10);
  padding: 16px;
}

.price-hero__panel-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.price-hero__panel-title{
  font-weight: 900;
  color: #0f172a;
  font-size: 18px;
}
.price-hero__panel-note{
  font-size: 12px;
  color: #64748b;
}

/* карточки выбора */
.price-hero__cards{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.price-hero__card{
  display: grid;
  gap: 2px;
  padding: 12px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: transform .12s ease, border-color .12s ease;
}
.price-hero__card:hover{
  transform: translateY(-1px);
  border-color: rgba(220,38,38,.25);
}
.price-hero__card-title{ font-weight: 900; color:#0f172a; font-size: 13px; }
.price-hero__card-sub{ font-size: 12px; color:#64748b; }
.price-hero__arrow{ position:absolute; right:12px; top:12px; color:#94a3b8; font-weight: 900; }

.price-hero__divider{
  height: 1px;
  margin: 14px 0;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.10), transparent);
}

/* фильтр */
.price-hero__label{
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px;
}
.price-hero__field{ position: relative; }
.price-hero__input{
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fff;
  padding: 0 44px 0 12px;
  font-size: 13px;
  color: #0f172a;
  outline: none;
}
.price-hero__input:focus{
  border-color: rgba(220,38,38,.28);
  box-shadow: 0 0 0 6px rgba(220,38,38,.06);
}
.price-hero__clear{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.10);
  background: #fff;
  color: #334155;
  cursor: pointer;
  font-weight: 900;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease;
}
.price-hero[data-has-q="1"] .price-hero__clear{
  opacity: 1;
  pointer-events: auto;
}
.price-hero__status{
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
  min-height: 16px;
}

/* популярные марки */
.price-hero__quick{ margin-top: 12px; }
.price-hero__quick-title{
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 8px;
}
.price-hero__quick-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.price-hero__qchip{
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  font-weight: 900;
  font-size: 12px;
  cursor:pointer;
}
.price-hero__qchip:hover{
  transform: translateY(-1px);
  border-color: rgba(220,38,38,.25);
}

/* адаптив */
@media (max-width:1100px){
  .price-hero__grid{ grid-template-columns: 1fr; }
  .price-hero__title{ font-size: 28px; }
  .price-hero__cards{ grid-template-columns: 1fr; }
}
@media (max-width:560px){
  .price-hero__actions{ flex-direction: column; }
  .price-hero__btn{ width: 100%; }
  .price-hero__title{ font-size: 24px; }
}

/* FIX: тема не должна менять цвет текста ссылок-кнопок при hover/visited */
.price-hero__btn,
.price-hero__btn:hover,
.price-hero__btn:focus,
.price-hero__btn:active,
.price-hero__btn:visited{
  text-decoration: none !important;
}

/* Смотреть цены (красная) — всегда белый текст */
.price-hero__btn--primary,
.price-hero__btn--primary:hover,
.price-hero__btn--primary:focus,
.price-hero__btn--primary:active,
.price-hero__btn--primary:visited{
  color: #fff !important;
}

/* Вторая кнопка (белая) — всегда тёмный текст */
.price-hero__btn--secondary,
.price-hero__btn--secondary:hover,
.price-hero__btn--secondary:focus,
.price-hero__btn--secondary:active,
.price-hero__btn--secondary:visited{
  color: #0f172a !important;
}