/* Container Layout Styles */

/* Main container for the entire coffee shop listing */
.coffee-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Grid layout for coffee shop cards with pagination support */
.coffee-shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    min-height: 600px; /* Минимальная высота для стабильности макета при пагинации */
}

/* Popular coffee shops section */
.popular-coffee-shops {
    margin-bottom: 30px;
}

.popular-coffee-shops-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.popular-coffee-shops-title i {
    color: #f0a930;
    margin-right: 10px;
}

/* Coffee shop listing with sidebar layout */
.coffee-shop-listing {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.coffee-shop-sidebar {
    flex: 0 0 300px;
}

.coffee-shop-main {
    flex: 1;
}

/* Full-width map container */
.coffee-map-container {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive layout */
@media (max-width: 1200px) {
    .coffee-reviews-container {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .coffee-shop-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .coffee-shop-listing {
        flex-direction: column;
    }
    
    .coffee-shop-sidebar {
        flex: 0 0 auto;
        width: 100%;
    }
    
    .coffee-map-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .coffee-shop-grid {
        grid-template-columns: 1fr;
    }
} 