body {
    font-family: sans-serif;
}

/* --- НОВЫЙ ДИЗАЙН: Карточка заведения --- */
.place-card-wrapper {
    background-color: white;
    border-radius: 0.75rem; /* 12px */
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 0.75rem; /* 12px */
    position: relative;
}

.place-card-link {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* 12px */
    flex-grow: 1;
    text-decoration: none;
}

.place-card-logo {
    width: 5rem; /* 80px */
    height: 5rem; /* 80px */
    flex-shrink: 0;
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
}
.place-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place-card-info {
    flex-grow: 1;
}

.favorite-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}
.favorite-btn svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke: #9ca3af; /* gray-400 */
    stroke-width: 1.5;
    transition: all 0.2s;
}

.favorite-btn:hover svg {
    stroke: #f87171; /* red-400 */
}

.favorite-btn.favorited svg {
    fill: #ef4444;
    stroke: #ef4444;
}

/* --- Стили для контролов в шапке (взяты из client.css) --- */
.control-btn {
    background-color: #f3f4f6; /* gray-100 */
    border-radius: 9999px;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #374151; /* gray-700 */
}
.control-btn.active {
    background-color: #dcfce7; /* green-100 */
    color: #166534; /* green-800 */
}

/* --- ИСПРАВЛЕНИЕ: Добавлены самодостаточные стили для модального окна фильтров --- */
.filters-modal-hidden {
    pointer-events: none;
}
.filters-modal-hidden .filters-modal-overlay {
    opacity: 0;
}
.filters-modal-hidden .filters-modal-content {
    transform: translateY(100%);
}
.filters-modal-visible {
    pointer-events: auto;
}
.filters-modal-visible .filters-modal-overlay {
    opacity: 1;
}
.filters-modal-visible .filters-modal-content {
    transform: translateY(0);
}
.filters-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5000;
    transition: opacity 0.3s ease-out;
}
.filters-modal-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    border-top-left-radius: 1.5rem;
    border-top-right-radius: 1.5rem;
    z-index: 5001;
    transition: transform 0.3s ease-out;
}
