/* Shop Page Styles */
.shop-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

.shop-header .container {
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

.shop-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.shop-info-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex: 1;
}

.shop-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.shop-details h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.shop-category-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.shop-meta-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.meta-item svg {
    color: var(--primary);
}

.shop-info-right {
    flex-shrink: 0;
}

.contact-owner-btn {
    padding: 1rem 2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.contact-owner-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: var(--light);
    min-height: 50vh;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
}

.search-box-small {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 300px;
}

.search-box-small svg {
    position: absolute;
    left: 1rem;
    color: var(--gray);
    pointer-events: none;
}

.search-box-small input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-box-small input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

.product-image {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-placeholder {
    font-size: 4rem;
}

.product-body {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.store-product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.contact-product-btn  {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-product-btn  {

    width: 100%;
    padding: 0.875rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn {

    display: grid;

    gap: 1rem;
}
.contact-product-btn:hover {
    background: var(--primary-dark);
}
.view-product-btn:hover {
    background: var(--primary-dark);
}
/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.no-products svg {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.no-products h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.no-products p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
    .shop-info-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-info-left {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .shop-info-right {
        width: 100%;
    }

    .contact-owner-btn {
        width: 100%;
        justify-content: center;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .search-box-small {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .shop-header {
        padding: 2rem 0;
    }

    .shop-info-card {
        padding: 1.5rem;
    }

    .shop-icon-large {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .shop-details h1 {
        font-size: 1.5rem;
    }

    .shop-meta-info {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Catla shop logo: constrained brand mark, never full-viewport. */
.shop-logo-large {
    width: 104px;
    height: 104px;
    min-width: 104px;
    border-radius: 18px;
    background: var(--mist, #EAF3E6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border, #E2E8E4);
}
.shop-logo-large img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px;
    background: #fff;
}
.shop-logo-large span { font-size: 2.6rem; color: var(--forest, #1B4D35); }
@media (max-width: 640px) {
    .shop-logo-large { width: 76px; height: 76px; min-width: 76px; border-radius: 14px; }
    .shop-logo-large img { padding: 7px; }
}

.upload-progress{height:8px;margin-top:8px;border-radius:999px;background:#e8eee9;overflow:hidden}.upload-progress[hidden]{display:none}.upload-progress-bar{height:100%;width:0%;background:#2f7d4a;transition:width .15s ease}.form-helper[hidden]{display:none}
