/* Стилі для блоку з ціною */
.price-info {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.price-professionnels,
.price-particuliers {
    font-size: 16px !important;
    color: #05398e !important;
    font-weight: bold !important; /* Жирний шрифт */
    display: block;
    margin-bottom: 5px; /* Додано відступ між текстом */
}


.price-value {
    font-size: 24px !important;
    color: #7fffd4 !important; /* Колір ціни */
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.actions a {
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

.actions .btn-primary {
    font-size: 20px !important; /* Increase the font size */
    font-weight: bold !important; /* Ensure the text is bold */
    background-color: #7fffd4 !important; /* Ensure the background color is consistent */
    color: white !important; /* Keep the text color white */
    border-radius: 50px !important; /* Keep the button rounded */
    padding: 15px 30px; /* Keep the padding for a larger button */
    border: none; /* Remove any border */
}


.actions .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.actions .btn-primary {
    background-color: #7fffd4; /* Новий колір кнопки */
    color: #000000; /* Колір тексту, можна залишити білим або змінити на інший */
    font-weight: bold;
}


/* Зменшення розміру загального зображення */
.product-info .carousel-inner img {
    max-width: 70%; /* Зменшення ширини зображення */
    height: auto; /* Збереження пропорцій зображення */
    object-fit: contain; /* Забезпечення повного відображення зображення без обрізання */
    margin: 0 auto; /* Центрування зображення */
}

/* Додавання відстані між зображенням і заголовком "Caractéristiques" */
.product-info .carousel {
    margin-bottom: 40px; /* Збільшення відстані між зображенням і заголовком */
}

/* Зменшення розміру мініатюр */
.thumbnail-images img {
    width: 70px; /* Зменшення ширини мініатюр */
    height: 50px; /* Зменшення висоти мініатюр */
    margin: 5px;
    cursor: pointer;
    object-fit: cover; /* Збереження пропорцій з обрізанням */
}

/* Зменшення розміру тексту "Leasing en Location longue durée" */
.price-info h3 {
    font-size: 24px; /* Зменшення розміру тексту */
    font-weight: bold;
    color: #05398e 
}

/* Коригування рамки для тексту */
.price-info p {
    margin: 0;
    font-size: 18px; /* Розмір тексту всередині блоку */
}

/* Коригування відстані між заголовком "Caractéristiques" та блоком зображень */
.product-info {
    margin-top: 40px; /* Збільшення відстані між блоком зображень та заголовком */
}

/* Стилі для блоку характеристик */
.characteristics-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px; /* Додано відступ від заголовка "Caractéristiques" */
}

.characteristic-item {
    flex: 0 0 30%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.characteristic-item img {
    max-width: 40px; /* Збільшуємо ширину іконок */
    margin-right: 10px;
}


.characteristic-item p {
  font-weight: bold;
}
@media (max-width: 768px) {
    .characteristics-section {
        flex-direction: column; /* Вертикальне розміщення на мобільних пристроях */
        align-items: center;
    }
    
    .characteristic-item {
        width: 90%; /* Ширина іконки на мобільному пристрої */
        margin-bottom: 20px;
    }

  
    .characteristic-item p {
        text-align: center; /* Вирівнювання тексту по центру на мобільному */
    }
}

.recommended-vehicles {
    padding: 40px 0;
    text-align: center;
}

.recommended-vehicles {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* Виправлення вирівнювання елементів у картках */
.vehicle-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    width: 200px;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.vehicle-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.2; /* Зменшуємо інтервал між рядками для назви */
    color: #05398e;
}

.vehicle-card .price-box {
    margin-bottom: 10px;
}

.vehicle-card .price-particuliers {.
    font-size: 16px !important;
    color: #05398e !important; /* Чорний колір для тексту */
    font-weight: bold !important; /* Жирний шрифт */
    margin: 0 !important;
    display: block !important; /* Забезпечує, що текст буде на окремому рядку */
}

.vehicle-card .price-value {
    font-size: 16px !important;
    color: #7fffd4 !important; /* Колір цін */
    font-weight: bold !important;
    margin-bottom: 5px !important;
    display: block !important; /* Забезпечує, що ціна буде на окремому рядку */
}

.vehicle-card a {
    background-color: #7fffd4; /* Колір кнопки */
    color: white;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: auto; /* Автоматичний відступ для вирівнювання кнопки вниз */
}
.btn-primary {
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
    background-color: #053890 !important; /* Колір при наведенні */
    transform: scale(1.1) !important; /* Збільшення при наведенні */
    transition: all 0.3s ease-in-out !important; /* Плавний перехід */
}
