/* Breweries Overlay Structure */

.breweries-header {
    text-align: center;
    background: var(--orange-gradient);
    color: white;
    padding: 2rem 1.5rem;
    flex-shrink: 0;
}

.breweries-header h1 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}

.breweries-header p {
    margin: 0;
    opacity: 0.95;
}

/* Scrollable Body */
.breweries-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* Filter Section with Regular Checkbox */
.brewery-filters {
    padding: var(--space-xs) var(--space-sm);
    background: var(--green-gradient);
    border-radius: var(--radius-pill);
    margin-bottom: var(--space-md);
    width: 40vw
}


.filter-toggle label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: white;
    font-weight: 600;
}

.filter-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: white;
}

.toggle-label {
    color: white;
}

/* Featured Section */
.featured-section {
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.featured-brewery-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.featured-brewery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.brewery-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.featured-tag {
    background: linear-gradient(135deg, var(--orange) 0%, var(--dark-orange) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.brewery-description {
    color: var(--text-secondary);
    margin: 1rem 0;
}

.beer-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.beer-pill {
    background: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

.brewery-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.brewery-actions .btn {
    flex: 1;
}

.coming-soon-card {
    background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(217,119,6,0.1) 100%);
    border: 2px dashed var(--orange);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

/* Community Message */
.community-message {
    background: var(--light-bg);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.shop-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--green-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.shop-btn {
    background: var(--orange-gradient);
}

.more-coming {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, rgba(217,119,6,0.1) 100%);
    border-radius: 15px;
    margin-top: 2rem;
}

/* Search bar */
.brewery-search-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    background: var(--bg-section);
    transition: all var(--transition);
    margin-bottom: 1rem;
}

.brewery-search-input:focus {
    outline: none;
    border-color: var(--border-purple);
    background: var(--bg-white);
}

/* All Breweries Section */
.all-breweries-section {
    padding: 0;
}

.all-breweries-section h2 {
    display: flex;
    margin-top: 0;
    align-items: center;
    justify-content: center;
}

/* Breweries Grid */
.breweries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 30vw, 200px), 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-lg);
}

.brewery-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: clamp(100px, 20vw, 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brewery-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--border-purple);
    background: var(--bg-purple);
}

.brewery-card .brewery-icon {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: var(--space-xs);
    opacity: 0.8;
    transition: transform var(--transition);
}

.brewery-card:hover .brewery-icon {
    transform: scale(1.1);
    opacity: 1;
}

.brewery-name {
    font-size: clamp(0.8rem, 2vw, 0.95rem);
    margin: 0;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

/* Brewery Stats */
.brewery-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-purple);
    border-bottom: 1px solid var(--border-purple);
}

.brewery-count {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--text-sm);
}

.view-toggle {
    display: flex;
    gap: var(--space-sm);
}

.view-toggle button {
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all var(--transition);
}

.view-toggle button.active {
    background: var(--purple-gradient);
    color: var(--white);
    border-color: transparent;
}

/* Beer Items */
.brewery-beers-list {
    max-height: 60vh;
    overflow-y: auto;
    padding: var(--space-sm);
}

.beer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    background: var(--bg-white);
}

.beer-item:hover {
    border-color: var(--border-purple);
    background: var(--bg-purple);
}

.beer-meta {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-xs);
    flex-wrap: wrap;
}

.beer-meta span {
    font-size: var(--text-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}
