/* Скрываем стрелки слайдера */
.tp-leftarrow, .tp-rightarrow,
.tparrows {
  display: none !important;
}

/* Убираем базовый стиль для carfeature-section */
.prt-row.carfeature-section {
    padding: 100px 0 85px; /* убираем !important */
}

/* Когда баннер ЕСТЬ - более конкретный селектор */
.prt-row.carfeature-section.has-banner {
    padding: 85px 0 85px !important;
}

/* Когда баннера НЕТ - более конкретный селектор */
.prt-row.carfeature-section.no-banner {
    padding: 200px 0 85px !important;
}

.title-desc h2 {
    position: relative;
    color: var(--base-headingfont-color);
    font-size: 40px;
    line-height: 60px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 9;
}
.title-desc h3{
    display: inline-block;
    position: relative;
    color: var(--base-headingfont-color);
    font-size: 26px;
    line-height: 40px;
    margin-bottom: 10px;
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 991px) {
    .prt-row.carfeature-section.no-banner {
        padding: 100px 0 45px !important;
    }
    .prt-row.carfeature-section.has-banner {
        padding: 45px 0 45px !important;
    }
    .prt-row.about-section2 {
        padding: 100px 0 85px !important; 
    }
    .title-desc h2 {
        position: relative;
        color: var(--base-headingfont-color);
        font-size: 30px;
        line-height: 50px;
        font-weight: 700;
        text-transform: uppercase;
        z-index: 9;
    }
    .title-desc h3{
        display: inline-block;
        position: relative;
        color: var(--base-headingfont-color);
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .prt-row.carfeature-section.no-banner {
        padding: 100px 0 30px !important;
    }
    .prt-row.carfeature-section.has-banner {
        padding: 30px 0 30px !important;
    }
}

@media (max-width: 575px) {
    .prt-row.carfeature-section.no-banner {
        padding: 100px 0 25px !important;
    }
    .prt-row.carfeature-section.has-banner {
        padding: 30px 0 25px !important;
    }
}


/* Скрываем Area riservata по умолчанию */
.menu li.mega-menu-item:last-child {
    display: none;
}

/* Показываем Area riservata только на экранах 1199px и меньше */
@media (max-width: 1199px) {
    .menu li.mega-menu-item:last-child {
        display: block;
    }
    .prt-row.about-section2 {
        padding: 100px 0 85px !important; 
    }
}

.white{
    color:rgba(255, 255, 255, 0.80);
}

.black{
    color:rgba(0, 0, 0, 0.80) !important;
}

.specialoffer-section .featured-imagebox{
    position: relative;
    overflow: hidden;
}

.specialoffer-section .featured-thumbnail {
    display: block; /* Убирает лишние отступы */
    width: 100%; /* Устанавливает ширину изображения */
    height: auto; /* Сохраняет пропорции */
    transition: none; /* Убирает плавные переходы */
}
  
  .specialoffer-section .featured-thumbnail:hover {
    transform: none; /* Убирает увеличение или любые другие изменения */
}

  .specialoffer-section .featured-content {
    position: relative;
    width: 100%; /* Занимает всю ширину родителя */
    padding-top: 5%; /* Соотношение сторон 4:3 (100% * высота / ширина) */
}

  .error-btn-wrapper {
    display: block; /* Убедитесь, что это блоковый элемент */
    text-align: center; /* Для inline-элементов внутри */
}

.b-bnr-contacts__link{
    font-size: 24px;
    font-weight: bold;
}

.prt-tabs.prt-tab-style-02 .featured-imagebox-offercar{margin: 20px 0;}
.prt-tabs.prt-tab-style-02 .featured-imagebox-offercar.style1 .featured-content{
    position: relative;
    padding: 15px 0px 0px 10px;
}

.bg-img7{
    background-color: #D3F8E2;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.bg-img8{
    background-color: #EDF7FC;
}

.bg-img9{
    background-color: #ffffff;
}

h1.product-single-meta-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
    display: inline;
}

h1.product-single-meta-title2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #121212;
    line-height: 1.2;
    text-transform: uppercase;
    display: inline;
}

h2.product-single-meta-title {
    font-size: 32px;
    font-weight: 600;
    color: #252d3d;
    line-height: 1.2;
    text-transform: uppercase;
    display: inline;
}

h2.title-price {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    color: var(--base-skin);
    margin: 10px 0;
}

h2.title-price span {
    font-size: 18px;
    font-weight: 400;
    color: #252d3d;
}

.featured-imagebox-offercar .price span {
    font-size: 18px;
    line-height: 28px;
    color: var(--base-headingfont-color);
    font-weight: 400;
}

.car-overview-wrapper {
    position: relative;
    padding: 20px 40px 20px;
}

.prt-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.car-overview-wrapper ul.prt-overview-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bs-border-color);
    display: flex;
    justify-content: space-between;
}

.car-overview-wrapper ul.prt-overview-list li:last-child {
    border-bottom: 0;
}

/*widget-contact-form*/
.widget.car-widget.widget-contact-form{ padding: 30px 30px 35px; }

#contactForm label.error {
    color: red;
    font-size: 14px;
    text-align: left;
}

/* Стили для Google Reviews */
.review-avatar {
    transition: transform 0.3s ease;
}

.review-avatar:hover {
    transform: scale(1.1);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.review-rating i {
    margin-right: 3px;
    font-size: 18px;
}

.google-rating-summary {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    border: 1px solid rgba(66, 133, 244, 0.1);
}

.prt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .google-rating-summary {
        padding: 20px 15px;
    }
    
    .rating-display {
        font-size: 20px !important;
    }
    
    .testimonial-text {
        min-height: auto;
    }
}

/* Стили для точек навигации в слайдере отзывов */
.testimonial-main .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 30px 0 0 0;
    padding: 0;
    gap: 8px;
}

.testimonial-main .slick-dots li {
    display: inline-block;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.testimonial-main .slick-dots li button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    font-size: 0; /* Скрываем номера */
    line-height: 0;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
    outline: none;
}

.testimonial-main .slick-dots li button:hover {
    background-color: #bbb;
    transform: scale(1.2);
}

.testimonial-main .slick-dots li.slick-active button {
    background-color: var(--base-color, #007cba);
    width: 14px;
    height: 14px;
}

/* Скрываем точки по умолчанию */
.testimonial-main .slick-dots {
    display: none;
}

/* Показываем точки только когда включены в настройках */
.testimonial-main.show-dots .slick-dots {
    display: flex !important;
}

/* Адаптивные стили для мобильных */
@media (max-width: 768px) {
    .testimonial-main .slick-dots {
        margin: 20px 0 0 0;
        gap: 6px;
    }
    
    .testimonial-main .slick-dots li button {
        width: 10px;
        height: 10px;
    }
    
    .testimonial-main .slick-dots li.slick-active button {
        width: 12px;
        height: 12px;
    }
}

/* Замените существующий блок .testimonial-text на этот: */

.testimonial-text {
    font-style: italic;
    font-size: 18px; /* Добавляем размер шрифта */
    line-height: 1.5; /* Уменьшаем с 1.6 до 1.5 */
    margin-bottom: 20px;
    min-height: 60px;
    color: #444; /* Добавляем цвет для лучшей читаемости */
    font-weight: 400; /* Добавляем вес шрифта */
}

/* И добавьте эти новые стили в конец файла: */

/* Имя автора и время */
.testimonial-caption h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-caption span {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

/* Источник отзыва */
.review-source {
    font-size: 12px !important;
}

/* Обновление для мобильных версий */
@media (max-width: 768px) {
    .testimonial-text {
        font-size: 16px;
        line-height: 1.4;
        min-height: auto; /* Убираем фиксированную высоту на мобильных */
    }
    
    .testimonial-caption h3 {
        font-size: 15px;
    }
    
    .testimonial-caption span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 15px;
        line-height: 1.3;
    }
    
    .testimonial-caption h3 {
        font-size: 14px;
    }
}

.prt-row.about-section2 {
    padding: 150px 0 85px;
}

.active>.page-link, .page-link.active {
    color: #fff;
    background-color: var(--base-skin);
    border-color: var(--base-skin);
}

.page-link {
    color: var(--base-skin);
    background-color: var(--bs-pagination-bg);
}