/* Стили для сетки ресторанов */
.restaurants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    padding: 20px;
}

.restaurant-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: clip;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.restaurant-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.restaurant-image {
    height: 180px;
    overflow: hidden;
    background: #f8f9fa;
}

.restaurant-image img,
.restaurant-image .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    background: #f0f2f5;
    color: #6c757d;
    font-size: 14px;
}

.restaurant-content {
    padding: 20px;
}

.restaurant-name {
    margin: 0 0 12px 0;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.restaurant-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #495057;
}

.feature-icon {
    font-size: 16px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.features-list {
    margin-bottom: 16px;
}

.features-list strong {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
}

.features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    margin-bottom: 4px;
    color: #495057;
    font-size: 14px;
}

.restaurant-description {
    color: #6c757d;
    line-height: 1.5;
    font-size: 14px;
    margin-bottom: 16px;
    max-height: 80px;
    overflow: hidden;
}

.restaurant-meta {
    color: #95a5a6;
    font-size: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
}

/* Адаптивность для сетки ресторанов */
@media (max-width: 768px) {
    .restaurants-grid {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .restaurant-card {
        margin-bottom: 14px;
    }
}

/* Стили для деталей объекта */
.details-info {
    padding: 15px;
}

.details-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Кнопка «Подробнее» */
.front-btn {
    float: right;
    position: relative;
}

/* Карточка в карусели (для одиночных объектов) */
.one .carousel {
    height: auto;
}

