.by_credit {
    position: relative;
    background: var(--smoke-color2) !important;
    padding: 0px !important;
    width: 435px;
}
.by_credit > form > .widget{
    padding-bottom: 0px;
}
.form-group > .form-control{
    border-radius: 0px !important;
}
.contact-form-widget > p{
    line-height: 1.2;
}
.by_credit > .fancybox-close-small{
    color: var(--theme-color) !important;
    width: 64px;
    height: 64px;
}
.modal__car{
    width: 100%;
}
.modalTitle > #carName{
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: black;
}
.modalTitle > #carPrice{
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    color: var(--theme-color);
}
.form_submission > label{
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4;
}
.form_submission{
    margin-top: 20px;
}
@media (max-width: 767px) {
    .form_submission > label{
        font-size: 11px;
        font-weight: normal;
        line-height: 1.2;
    }
}
.car-dimensions {
    margin-top: 60px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #555;
}

.car-dimensions__title {
    font-size: 18px;
    margin-bottom: 4px;
}

.car-dimensions__value {
    font-weight: 600;
    font-size: 16px;
}

.car-dimensions__arrow svg {
    width: 100%;
    height: 24px;
}

.car-dimensions__arrow--vertical svg {
    width: 24px;
    height: 160px;
    margin: 0 auto;
}

.car-dimensions__height-box {
    display: flex;
    justify-content: center;
    position: absolute;
    right: 40px;
    top: -40px;
}

.car-dimensions__height-inner {
    position: relative;
    width: 32px;              /* ширина колонки */
    height: 200px;            /* ровно под svg */
}

/* ВЕРТИКАЛЬНЫЙ ТЕКСТ */
.car-dimensions__height-label {
    position: absolute;
    left: 25px;
    top: 42%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: 18px;
    white-space: nowrap;
}

/* ЧИСЛО СНИЗУ */
.share-wrapper {
    position: relative;
    display: inline-block; /* чтобы не занимал всю ширину */
}

/* Кнопка "Поделиться" */
.inventory-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Выпадающий блок */
.share-dropdown {
    position: absolute;
    top: 100%;        /* сразу под кнопкой */
    left: 0;
    z-index: 1000;
    margin-top: 8px;  /* небольшой отступ */
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 200px; /* или как нужно */
    display: none;    /* скрыт по умолчанию */
}
.car-dimensions__value {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
}
.ya-share2_horizontal {
    margin: 20px 0;
    text-align: center;
    left: 0;
}
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__counter {
    position: absolute;
    top: -2px;
    right: -2px;
}
.ya-share2_horizontal .ya-share2__counter:before {
    display: none;
}
.ya-share2_horizontal .ya-share2__container_size_m .ya-share2__icon{

    background-repeat: no-repeat;
    position: relative;
}
.ya-share2_horizontal .ya-share2__list_direction_horizontal > .ya-share2__item {
    margin-bottom: 4px;
    display: block;
    float: left;
}
.ya-share2_horizontal  .ya-share2__item .ya-share2__icon:after {

    position: absolute;
    top: 50%;
    margin-top: -9px;
    left: 47px;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}
ul.ya-share2__list.ya-share2__list_direction_horizontal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.ya-share2__container_size_m .ya-share2__item:last-child {
    margin-right: 4px !important;
}
@media (max-width: 991px) {
    #price-widget {
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0;
    }
    #price-widget > .inventory-price-wrap, .inventory-price-top{
        margin-bottom: 0 !important;
    }
    .share-dropdown{
        left: auto;
        right: 0;
        top: 80%;
    }
    .car-dimensions__height-box {
        top: -60px;
    }
    .car-dimensions {
        margin-bottom: 20px;
    }
}
.swatch.active {
    outline: 1px solid #000;
    outline-offset: 2px;
    transform: scale(1.1);
    transition: transform 0.2s ease, outline 0.2s ease;
}
.benefit-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 20px;
    background-image: radial-gradient( circle 220px at 6.6% 48.6%,  rgba(238,0,0,1) 0%, rgba(0,0,0,1) 100.7% );
    color: #fff;
    font-family: sans-serif;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.benefit-icon {
    width: 40px;
    height: 40px;
}

.benefit-text span {
    font-size: 16px;
    display: block;
}

.benefit-text b {
    font-size: 22px;
    font-weight: 700;
}


.offer-sizes__body-types {
    display: flex;
    gap: 40px;
    margin: 50px 0;
    width: 100%;
}
.offer-sizes__body-type-image-wrapper {
    position: relative;
}
.offer-sizes__body-type-image {
    height: 92px;
    -o-object-fit: contain;
    object-fit: contain;
    width: 100%;
}
:is(.offer-sizes__body-type-side,.offer-sizes__body-type-front)+.offer-sizes__body-type-label {
    bottom: -32px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 10;
}
:is(.offer-sizes__body-type-side,.offer-sizes__body-type-front)+.offer-sizes__body-type-label {
    text-align: center;
}
:is(.offer-sizes__body-type-side,.offer-sizes__body-type-front)+.offer-sizes__body-type-label:before {
    background: #e0e2e8;
    content: " ";
    height: 2px;
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: -1;
}
:is(.offer-sizes__body-type-side,.offer-sizes__body-type-front)+.offer-sizes__body-type-label .offer-sizes__body-type-label-value {
    padding: 0 8px;
}
.offer-sizes__body-type-label-value {
    background-color: #fff;
    color: #919399;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    -webkit-text-decoration-skip-ink: none;
    text-decoration-skip-ink: none;
    text-underline-position: from-font;
}
.offer-sizes__body-type-rear+.offer-sizes__body-type-label {
    height: 100%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 10;
}
.offer-sizes__body-type-rear+.offer-sizes__body-type-label:before {
    background: #e0e2e8;
    bottom: 0;
    content: " ";
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    width: 2px;
    z-index: -1;
}
.offer-sizes__body-type-rear+.offer-sizes__body-type-label .offer-sizes__body-type-label-value {
    left: 50%;
    padding: 8px 0;
    position: absolute;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.offer-sizes__body-type-rear {
    padding-right: 24px;
}
@media (max-width: 767px) {
    .offer-sizes__body-type-image {
        height: 92px !important;
    }
    .offer-sizes__body-types {
        align-items: center;
        flex-flow: row wrap;
    }
    .offer-sizes__body-type-image-wrapper--side {
        width: 100%;
    }
    .offer-sizes__body-type-image-wrapper--side .offer-sizes__body-type-image {
        height: 122px;
    }
    .offer-sizes__body-type-image-wrapper--front, .offer-sizes__body-type-image-wrapper--rear {
        flex-grow: 1;
    }
    .offer-sizes__body-type-rear+.offer-sizes__body-type-label {
        right: 8px;
    }
}

.guarantee-card {
  background: white;
  border-radius: 0px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
}

.guarantee-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  fill: #2c7bb9;
}

.guarantee-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: start;
}

.guarantee-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  padding: 10px;
  min-height: 110px;
}

@media (max-width: 768px) {
  .guarantee-title {
    font-size: 1.1rem;
  }
}
.tech-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 5px 20px;
    background-image: radial-gradient( circle 220px at 6.6% 48.6%,  rgba(238,0,0,1) 0%, rgba(0,0,0,1) 100.7% );
    border-radius: 0px;
    color: #fff;
    font-family: sans-serif;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    width: 100%;
    height: 75px;
}
.mh-auto{
    min-height: auto !important;
}

/**/
/* Базовая страница */
.quiz-page {
    padding: 24px;
    box-sizing: border-box;
}

/* Общий лэйаут */
.quiz-layout {
    margin: 0 auto;
    display: flex;
    position: relative;
    align-items: stretch;
    gap: 24px;
}

/* Левая часть (hero / вопрос / результат) занимает всё доступное */
.quiz-hero,
.quiz-card,
.quiz-result {
    flex: 1 1 auto;
}

/* Правая колонка */
.quiz-sidebar {
    width: 260px;
    flex-shrink: 0;
}

/* ----------------- HERO ----------------- */

.quiz-hero {
    border-radius: 0px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: #fff;
    position: relative;
    
}
.quiz-hero:after{
    top: 0;
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background:-webkit-gradient(linear, left top, right top, from(#272626), to(transparent));
    z-index: 0;
}

.quiz-hero__inner {
    display: flex;
    padding: 32px 40px;
    gap: 32px;
}

.quiz-hero__text {
    flex: 0 0 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
}

.quiz-hero__logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
    font-size: 14px;
}

.quiz-hero__logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.quiz-hero__title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 16px;
    font-weight: 700;
    color: #fff;
}

.quiz-hero__subtitle {
    margin: 0 0 16px;
    font-size: 16px;
    color: #fff;
}

.quiz-hero__bonus {
    font-size: 14px;
    margin-bottom: 24px;
}

.quiz-hero__button {
    margin-bottom: 24px;
}

.quiz-hero__after-text {
    font-size: 14px;
    color: #fff;
}

.quiz-hero__image {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.quiz-hero__image img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
}

/* ----------------- КАРТОЧКА ВОПРОСА ----------------- */

.quiz-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 28px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
}

.quiz-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.quiz-card__subtitle {
    font-size: 14px;
    color: #777;
}

.quiz-card__badge {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.quiz-card__badge-lock {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #777;
    position: relative;
}

.quiz-card__badge-lock::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 115%;
    transform: translateX(-50%);
    width: 14px;
    height: 6px;
    border-radius: 3px;
    background: #777;
}

.quiz-card__question {
    font-size: 26px;
    margin: 0 0 8px;
    font-weight: 700;
}

.quiz-card__tip {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}

/* Варианты ответов */

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quiz-option {
    border-radius: 16px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
    padding: 14px 18px;
    text-align: left;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.1s ease, border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-1px);
}

.quiz-option--selected {
    border-color: #333333;
    background: #f5f5f7;
}

.quiz-option__inner {
    display: flex;
    align-items: center;
    gap: 14px;
}

.quiz-option__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    overflow: hidden;
}

.quiz-option__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quiz-option__label {
    flex: 1;
    font-size: 15px;
}

.quiz-option__check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #cccccc;
    box-sizing: border-box;
}

.quiz-option__check--active {
    border-color: #333333;
    background: #333333;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* Низ: прогресс + кнопки */

.quiz-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.quiz-progress {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-progress__label {
    font-size: 13px;
    color: #777;
}

.quiz-progress__bar {
    width: 160px;
    height: 4px;
    background: #e1e1e1;
    border-radius: 4px;
    overflow: hidden;
}

.quiz-progress__line {
    height: 100%;
    background: repeating-linear-gradient(
        135deg,
        #999,
        #999 6px,
        #666 6px,
        #666 12px
    );
    transition: width 0.25s ease;
}

.quiz-progress__percent {
    font-size: 13px;
    color: #777;
}

.quiz-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Кнопки */

.quiz-button {
    border-radius: 999px;
    font-size: 1.125rem !important;
    padding: .75rem 1.875rem;
    width: fit-content;
    border: none;
    cursor: pointer;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease, color 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    z-index:2;
    min-height: 3.5rem;
}

.quiz-button--primary {
    background: #828282;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    
}

.quiz-button--primary:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background: -webkit-gradient(linear,left top,right top,color-stop(10%,hsla(0,0%,100%,.1)),color-stop(20%,hsla(0,0%,100%,.2)),to(hsla(0,0%,100%,.6)));
    background: linear-gradient(90deg,hsla(0,0%,100%,.1) 10%,hsla(0,0%,100%,.2) 20%,hsla(0,0%,100%,.6));
    width: 1.25rem;
    -webkit-transform: skewX(-45deg);
    transform: skewX(-45deg);
    left: -20%;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-animation-name: blick;
    animation-name: blick;
    -webkit-animation-duration: 6s;
    animation-duration: 6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite
}

@-webkit-keyframes blick {
    15%,to {
        left: 120%
    }
}

@keyframes blick {
    15%,to {
        left: 120%
    }
}

.quiz-button--primary:hover {
    background: #929292;
    transform: translateY(-1px);
}

.quiz-button--ghost {
    background: #ffffff;
    border: 2px solid #828282;
    padding: 10px 16px;
}

.quiz-button--ghost[disabled] {
    opacity: 0.4;
    cursor: default;
}

.quiz-button--outline {
    background: #ffffff;
    border: 1px solid #d4d4d4;
}

.quiz-button--outline:hover {
    background: #f4f4f4;
}

.quiz-button--disabled {
    opacity: .6;
    box-shadow: none;
    cursor: default;
}

.quiz-button__arrow-left,
.quiz-button__arrow-right {
    position: relative;
    width: 24px;
}
.quiz-button__arrow-right {
    color: #fff;
}
 

/* ----------------- САЙДБАР / БОНУСЫ ----------------- */

.quiz-bonus-card{
    background: #d1d1d1;
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
    width: fit-content;
    color: black;
    cursor: not-allowed;
}



.quiz-bonus-card__icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.quiz-bonus-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.quiz-bonus-card__content {
    flex: 1;
}

.quiz-bonus-card__title {
    font-size: 14px;
}

.quiz-bonus-card__label {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

/* ----------------- РЕЗУЛЬТАТЫ ----------------- */

.quiz-result {
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.quiz-result__title {
    text-align: center;
    font-size: 24px;
    margin: 0 0 6px;
}

.quiz-result__subtitle {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin: 0 0 20px;
}

.quiz-result__slider {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.quiz-car-card {
    border-radius: 20px;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.quiz-car-card__image img {
    display: block;
    width: 100%;
    height: auto;
}

.quiz-car-card__content {
    padding: 16px 18px 18px;
}

.quiz-car-card__price {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.quiz-car-card__name {
    font-size: 16px;
    margin-bottom: 8px;
}

.quiz-car-card__list {
    margin: 0 0 14px;
    padding-left: 18px;
    font-size: 14px;
    color: #555;
}

.quiz-car-card__button {
    width: 100%;
}

/* ----------------- АДАПТИВ ----------------- */

@media (max-width: 900px) {
    .quiz-layout {
        flex-direction: column;
    }

    .quiz-sidebar {
        width: 100%;
        order: 3;
    }

    .quiz-hero__inner {
        flex-direction: column;
        padding: 20px 18px 24px;
    }

    .quiz-hero__text {
        flex-basis: auto;
    }

    .quiz-hero__title {
        font-size: 24px;
    }

    .quiz-options {
        grid-template-columns: 1fr;
    }

    .quiz-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .quiz-progress__bar {
        width: 140px;
    }

    .quiz-result__slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .quiz-page {
        padding: 12px;
    }

    .quiz-card,
    .quiz-result {
        border-radius: 18px;
        padding: 18px 16px;
    }

    .quiz-card__question {
        font-size: 20px;
    }

    .quiz-options {
        gap: 12px;
    }
}
.quiz-layout.quiz-layout--start-anim .quiz-hero {
    animation: quizHeroOut .4s ease forwards;
}

.quiz-layout.quiz-layout--start-anim .quiz-sidebar {
    animation: quizSidebarOut .4s ease forwards;
}

@keyframes quizHeroOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
}

@keyframes quizSidebarOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(60px); }
}

/* --- появление карточки вопроса при смене --- */

.quiz-card--fade-in {
    animation: quizCardFadeIn .30s ease forwards;
}

.quiz-card--fade-out {
    animation: quizCardFadeOut .25s ease forwards;
}

@keyframes quizCardFadeIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes quizCardFadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

/*FAQ*/
.faq-section-box__layout{
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 32px;
    align-items: flex-start;
}

/* Левая колонка */
.faq-section-box__left{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Кнопки-вопросы */
.faq-question-btn{
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    border-radius: 0px;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    cursor: pointer;
    font-size: 20px;
    line-height: 1.4;
    color: #1f2933;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.faq-question-btn:hover{
    background: var(--theme-color);
    color: #ffffff;
}

.faq-question-btn--active{
    background: var(--theme-color);
    color: #fff;
    border: 1px solid var(--theme-color);
}

/* Правая колонка */
.faq-section-box__right{
    position: relative;
}

.faq-section-box__answer{
    padding: 16px 32px;
    border-radius: 0px;
    background: #f9fafb;
    border: 1px solid #e2e8f0;
}

/* Скрытые источники ответов */
.faq-answer-sources{
    display: none;
}

/* Мобильный ответ под вопросом */
.faq-mobile-answer{
    display: none;
    margin-top: 8px;
    padding: 12px 14px 12px 32px;
    border-radius: 0px;
    background: #f9fafb;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
}

.faq-mobile-answer--visible {
    display: block;
}

/* ====== мобильная адаптация ====== */

@media (max-width: 768px){
    .faq-section-box__layout {
        display: block;
    }

    .faq-section-box__right{
        display: none; /* справа блок ответов не нужен на мобиле */
    }

    .faq-section-box__left{
        gap: 12px;
    }

    .faq-question-btn{
        width: 100%;
    }
}


/*ОТЗЫВЫ*/
/* left card desktop */
.rv-left .rv-card{background:#ffffff; border:1px solid #e6e7ea; border-radius:0px; padding:16px}
.rv-score-row{display:flex; gap:12px; align-items:center}
.rv-score-big{font-size:44px; font-weight:700; line-height:1}
.rv-score-sub{color:#7d8288; font-size:13px}
.rv-bars{margin-top:12px}
.rv-bar{display:flex; align-items:center; gap:10px; margin:8px 0}
.rv-bar .lbl{width:22px; color:#7d8288; font-size:13px}
.rv-bar .track{height:8px; background:#f0f1f3; border-radius:0px; flex:1; overflow:hidden}
.rv-bar .fill{height:100%; border-radius:0px; background:linear-gradient(90deg,#ffcc00,#ffd87a)}

.rv-tags-block{margin-top:14px}
.rv-tags-title{font-size:14px; margin-bottom:8px}
.rv-tags-list{display:flex; flex-direction:column; gap:10px}
.rv-chip{display:flex; align-items:center; gap:10px; background:linear-gradient(#fff,#fbfbfb); border:1px solid #e6e7ea; padding:8px; border-radius:0px}
.rv-chip .dot{width:28px; height:28px; border-radius:0px; display:flex; align-items:center; justify-content:center; font-weight:700; color:#fff}
.rv-chip .dot.plus{background:#3db46b}
.rv-chip .dot.min{background:#b0b8c1}
.rv-chip .name{font-size:14px}
.rv-chip .num{color:#7d8288; font-size:13px; margin-left:auto}

/* right side */
.rv-controls{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px}
.rv-select{padding:8px 10px; border-radius:0px; border:1px solid #e6e7ea; background:#fff}
.rv-gallery-row{display:flex; gap:10px; margin-bottom:12px}
.rv-thumb{width:86px; height:66px; border-radius:0px; overflow:hidden; border:1px solid #e6e7ea;}
.rv-reviews{display:flex; flex-direction:column; gap:16px}

.rv-review{display:flex; gap:12px; align-items:flex-start; background:#ffffff; border:1px solid #e6e7ea; padding:12px; border-radius:0px}
.rv-avatar{width:46px; height:46px; border-radius:50%; overflow:hidden; background:#eef2f7}
.rv-meta{display:flex; align-items:center; gap:8px}
.rv-author{font-weight:700}
.rv-level{color:#7d8288; font-size:13px}
.rv-stars{
    display:flex;
    gap:4px;
    line-height:1;
}

.rv-star{
    width:14px;
    height:14px;
    display:inline-block;
    position:relative;
    overflow:hidden;

    /* ПУСТАЯ звезда */
    background:#d7d7d7;

    clip-path:polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)
}

/* ЗАПОЛНЕНИЕ */
.rv-star::before{
    content:"";
    position:absolute;
    inset:0;
    width: var(--fill, 0%);
    background:#ffcc00;
}
.rv-date{color:#7d8288; font-size:13px}

.rv-body{flex:1}
.rv-text{font-size:15px; color:#1f1f1f; line-height:1.45; max-height:4.2em; overflow:hidden; position:relative; transition:max-height .22s ease}
.rv-text.exp{max-height:999px}
.rv-photos{display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:10px}
.rv-photos .p{height:78px; border-radius:0px; overflow:hidden; border:1px solid #e6e7ea; background:#eee}
.rv-actions{display:flex; gap:8px; margin-top:10px}
.rv-btn{padding:0; border-radius:0px; border:none; background:transparent; cursor:pointer; font-size:14px; color: #888888}
.rv-btn.ghost{background:transparent}
.rv-reply{margin-top:10px; border-left:3px solid #ffcc00; background:#f7fbff; padding:10px; border-radius:0px; display:none}
.rv-reply.visible{display:block}
.rv-answer-at{font-weight:700; color:#7d8288; margin-bottom:6px;}
/* small screen improvements */
@media (max-width:900px){
    .rv-wrap{flex-direction:column}
    .rv-left{width:100%}
    .rv-right{width:100%}
    /* превращаем левую колонку в компактную карточку сверху */
    .rv-left .rv-card{display:flex; flex-direction:column; gap:12px; padding:12px}
    .rv-score-row{align-items:flex-end}
    .rv-score-big{font-size:34px}
    .rv-gallery-row{overflow:hidden}
    /* теги — горизонтальный скролл на мобильном */
    .rv-tags-list{display:flex; gap:10px; overflow:auto; padding-bottom:6px}
    .rv-chip{min-width:170px; flex:0 0 auto}

    /* у отзывов — вертикальный стэк, фото 3->2->1 */
    .rv-review{padding:12px; margin-bottom: 25px;}
    .rv-photos{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:480px){
    .rv-score-big{font-size:28px}
    .rv-thumb{width:72px; height:58px}
    .rv-photos{grid-template-columns:repeat(2,1fr)}
    .rv-photos .p{height:72px}
    .rv-chip{min-width:140px}
    .rv-btn{font-size:13px}
    .rv-text{font-size:14px}
    .rv-answer-at{font-size:14px}
}

/* плавность картинок/фокусов */
.rv-thumb img, .rv-photos img{transition:transform .22s ease}
.rv-thumb:hover img, .rv-photos img:hover{transform:scale(1.02)}

/*МЕГАСКИДКА*/
.modal-mega-sale {
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    max-width: none;
    background-image: linear-gradient( 111.6deg,  rgba(114,167,232,1) 9.4%, rgba(253,129,82,1) 43.9%, rgba(253,129,82,1) 54.8%, rgba(249,202,86,1) 86.3% ) !important;
}

.fancybox-slide--html:has(.modal-mega-sale) {
    padding: 0;
}

.modal-mega-sale__cars {
    position: absolute;
    width: 690px;
    height: 507.562px !important;
    left: 147px;
    bottom: 20px;
    z-index: 2;
    object-fit: contain;
}

.modal-mega-sale__percents {
    object-fit: contain;
    width: 934px;
    height: 603px;
    position: absolute;
    top: 35%;
    left: 47%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.modal-mega-sale__container {
    position: relative;
    overflow: hidden;
    height: 100%;
    z-index: 3; 
}

.modal-mega-sale__header {
    display: flex;
    justify-content: space-between;
    margin-top: 100px;
}

.modal-mega-sale .title__wrapper h2 {
    width: fit-content;
    color: #FFF;
    font-size: 70px;
    font-style: normal;
    font-weight: 800;
    line-height: 100%; /* 70px */
    text-transform: uppercase;
    border-radius: 0px;
    background: #DD4C70;
    padding: 12px 24px;
}

.modal-mega-sale .title__wrapper p {
    width: fit-content;
    color: #FFF;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: 100%; /* 50px */
}
.modal-mega-sale .title__wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-mega-sale .btn.btn_outline svg{
    width: 26px;
    height: 26px;
    fill: #fff;
}

.modal-mega-sale .app-input::placeholder {
    color: #FFF;
}

.modal-mega-sale .app-input {
    border-radius: 0px;
    background: rgba(255, 255, 255, 0.30);
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.modal-mega-sale .btn.btn_primary span {
    color: var(---1-White, #FFF);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    padding: 5px 20px;
    line-height: normal;
}

.modal-mega-sale .btn.btn_primary {
    color: #0039A6;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-radius: 0px;
    background: #FFF;
}

.mega-sale-form-desc {
    margin-bottom: 17px;
    color: var(---1-White, #FFF);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 110%; /* 22px */
}

.modal-mega-sale .form-terms {
    color: #FFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.modal-mega-sale .btn.btn_outline {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 0px;
    border: 1px solid #FFF;
    background: transparent;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 10px 30px;
    height: fit-content;
}
 
.modal-mega-sale .modal__form {
    width: 540px;
    margin-top: 0;
    position: absolute;
    right: 16px;
    top: 55%;
    transform: translateY(-50%);
    border-radius: 0px;
}
.modal-mega-sale .modal__form .widget{
    border-radius: 0px;
    background-color: #dbdce585;
    backdrop-filter: blur(5px);
}

@media (max-width: 1100px) {
    .modal-mega-sale__header {
        margin-top: 0;
        gap: 36px;
        flex-direction: column-reverse;
    }

    .modal-mega-sale {
        padding: 0 !important;
        height: auto;
    }

    .modal-mega-sale__header .title__wrapper {
        gap: 24px;
    }

    .modal-mega-sale .title__wrapper h2 {
        color: #FFF;
        font-size: 28px;
        font-style: normal;
        font-weight: 800;
        line-height: 100%; /* 28px */
        text-transform: uppercase;        
        width: 100%;
        padding: 12px 12px;
    }
    .modal-mega-sale .title__wrapper p {
        color: #FFF;
        font-size: 28px;
        font-style: normal;
        font-weight: 600;
        line-height: 100%; /* 28px */
    }
    .modal-mega-sale .modal__form .mega-sale-form-desc{
        font-size: 14px;
    }

    .modal-mega-sale .modal__form .form-terms {
        font-size: 10px;
    }
    .modal-mega-sale .modal__form {
        width: 100%;
        position: static;
        transform: none;
        margin-top: 24px;
    }
    .modal-mega-sale .btn.btn_primary span {
        color: var(---1-White, #FFF);
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        padding: 5px 12px;
        line-height: normal;
    }

    .modal-mega-sale__container {
        margin-top: 20px;
    }

    .modal-mega-sale__percents {
        left: 50%;
        transform: translateX(-50%);
        bottom: 33px;
        width: 100%;
        top: auto;
    }
    .modal-mega-sale__cars {
        left: 0;
        width: 100%;
    }

    .modal-mega-sale .btn.btn_outline svg {
        width: 24px;
        height: 24px;
    }
    .modal-mega-sale .btn.btn_outline {
        border: none;
        padding: 0;
        width: fit-content;
        align-self: flex-end;
        height: 24px;
    }
    .modal-mega-sale .btn.btn_outline{
        display: none;
    }
}
.fancybox-no-padding .fancybox-content {
    padding: 0 !important;
}

.fancybox-no-padding .fancybox-slide {
    padding: 0 !important;
}

/*COOKIE*/
.cookie-banner{
    position: fixed;
    left: 16px;
    bottom: 16px;
    z-index: 9999;
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    width: 500px;
    max-width: calc(100% - 32px);
    transform: translateY(20px);
    opacity: 0;
    transition: .25s ease;
}

.cookie-banner.is-show{
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner__inner{
    display:flex;
    flex-direction:column;
    gap: 12px;
    padding: 14px 16px;
}

.cookie-banner__text{
    font-size: 16px;
    line-height: 1.4;
}

.cookie-banner__link{
    color:red;
    text-decoration: underline;
}

.cookie-banner__btn{
    background:#f97316;
    color:#fff;
    border:0;
    padding: 10px 14px;
    border-radius: 0px;
    cursor:pointer;
    font-weight:600;
    width: 100%;
}

@media (max-width: 768px){
    .cookie-banner{
        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;
        max-width: 100%;
        border-radius: 0px;
    }
    .cookie-banner__text{
        font-size: 13px;
    }
}
