/* Shop List Component Styles */

.shops-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.shops-header {
    margin-bottom: 2rem;
}

.shops-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.shops-subtitle {
    color: #666;
    font-size: 1.1rem;
}

.shops-count {
    color: #007bff;
    font-weight: 600;
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.shop-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.shop-card-banner {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    position: relative;
}

.shop-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.shop-logo-wrapper {
    flex-shrink: 0;
    margin-top: -50px;
    position: relative;
    z-index: 1;
}

.shop-logo {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 4px solid #fff;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shop-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 4px solid #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.shop-info {
    flex: 1;
    min-width: 0;
}

.shop-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shop-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.85rem;
    color: #666;
}

.shop-meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.shop-meta-item i {
    color: #007bff;
    font-size: 0.9rem;
}

.shop-card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e0e0e0;
}

.shop-link-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.shop-link-btn:hover {
    background: #0056b3;
    color: #fff;
    text-decoration: none;
}

.no-shops {
    text-align: center;
    padding: 4rem 1rem;
    color: #999;
}

.no-shops i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* Loading state */
.shop-card.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .shops-title {
        font-size: 2rem;
    }

    .shops-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .shop-card-body {
        padding: 1rem;
    }

    .shop-logo-wrapper {
        margin-top: -40px;
    }

    .shop-logo,
    .shop-logo-placeholder {
        width: 60px;
        height: 60px;
    }

    .shop-name {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .shops-grid {
        grid-template-columns: 1fr;
    }
}

