/* Shop Details Component Styles */

.shop-details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.shop-header {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.shop-header-inner {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.shop-logo {
    flex-shrink: 0;
}

.shop-logo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.shop-info {
    flex: 1;
}

.shop-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #333;
}

.shop-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.shop-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.shop-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.shop-meta-item i {
    color: #007bff;
}

.shop-banner {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.shop-banner img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.shop-products-section {
    margin-top: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

.products-count {
    color: #666;
    font-weight: normal;
    font-size: 1rem;
    margin-left: 0.5rem;
}

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

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-image {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1rem;
}

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

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #007bff;
}

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

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

@media (max-width: 768px) {
    .shop-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .shop-meta {
        justify-content: center;
    }

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

