/* Rave Store Directory Styles */

/* Container */
.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Archive Header */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d4af37;
}

.archive-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0d0d0d;
    font-family: 'Inter', sans-serif;
}

.archive-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Search & Filter Section */
.directory-search-section {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    align-items: end;
}

.search-bar {
    grid-column: 1;
}

.store-search-input {
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.store-search-input:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.filter-section {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-section label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.city-filter-select {
    padding: 12px 15px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.city-filter-select:focus {
    outline: none;
    border-color: #d4af37;
}

.view-toggle {
    grid-column: 3;
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 10px 12px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    border-color: #d4af37;
}

.view-btn.active {
    background: #d4af37;
    border-color: #d4af37;
    color: white;
}

/* Store Stats */
.store-stats {
    margin-bottom: 20px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #666;
}

/* Store Grid/List */
.store-grid,
.store-list-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.store-list-view.list-view {
    grid-template-columns: 1fr;
}

/* Store Card */
.store-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    border-color: #d4af37;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.store-card-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.store-card-title a {
    color: #0d0d0d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-card-title a:hover {
    color: #d4af37;
}

/* Store Details */
.store-details {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.store-detail-item {
    padding-bottom: 15px;
}

.store-detail-item h3 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.store-detail-item p {
    margin: 0;
    line-height: 1.6;
}

.store-detail-item a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-detail-item a:hover {
    color: #0d0d0d;
}

.store-card-content {
    margin-bottom: 20px;
    flex-grow: 1;
}

.store-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.store-detail .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
}

.store-detail a {
    color: #d4af37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.store-detail a:hover {
    color: #0d0d0d;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: #d4af37;
    color: #0d0d0d;
}

.btn-primary:hover {
    background: #c49820;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
}

.btn-secondary:hover {
    background: #d4af37;
    color: #0d0d0d;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Related Stores */
.related-stores {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #d4af37;
}

.related-stores h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* City Navigation */
.city-nav,
.city-directory {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.city-nav h3,
.city-directory h2 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.city-links,
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.city-link,
.city-card {
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #0d0d0d;
    transition: all 0.3s ease;
    text-align: center;
}

.city-link:hover,
.city-card:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-2px);
}

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

.city-count {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* No Results */
.no-stores {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-stores p {
    font-size: 1.1rem;
    color: #666;
}

/* Back to Directory */
.back-to-directory,
.store-navigation {
    margin-top: 30px;
    padding-top: 20px;
}

.directory-cta {
    margin: 50px 0;
    padding: 40px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
    border-radius: 8px;
    color: white;
    text-align: center;
}

.directory-cta h2 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.directory-cta p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* Archive Entry Content */
.entry-content {
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Footer */
.entry-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive */
@media (max-width: 768px) {
    .store-container {
        padding: 20px 15px;
    }

    .archive-title {
        font-size: 1.8rem;
    }

    .directory-search-section {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .search-bar,
    .filter-section,
    .view-toggle {
        grid-column: 1;
    }

    .store-grid,
    .store-list-view {
        grid-template-columns: 1fr;
    }

    .city-links,
    .city-grid {
        grid-template-columns: 1fr;
    }

    .directory-cta {
        padding: 30px 20px;
    }
}
