/* Shop Page - PM Stores */

.shop-wrapper {
    position: relative;
    padding: 40px 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
    overflow: hidden;
}

/* Shop Grid Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-box {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.filter-section {
    margin-bottom: 24px;
}

.filter-title {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 16px;
    font-weight: 600;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 4px;
}

.filter-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--gray);
    font-size: 14px;
    transition: all 0.2s;
}

.filter-list a:hover,
.filter-list a.active {
    background: linear-gradient(135deg, var(--bg) 0%, var(--gray-lightest) 100%);
    color: var(--navy);
}

.filter-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Sidebar Promo */
.promo-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    color: white;
    padding: 20px;
    border-radius: 16px;
    font-size: 14px;
}

.promo-box p {
    margin-bottom: 12px;
}

.bar {
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 60%;
    background: white;
    border-radius: 2px;
}

/* Main Feed */
.main-content {
    padding: 8px 0;
}

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

.feed-title h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.text-blue {
    background: linear-gradient(90deg, var(--blue) 0%, var(--navy-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feed-title p {
    color: var(--gray);
    font-size: 14px;
}

.sort-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--gray-lighter);
    border-radius: 12px;
    color: var(--gray);
    font-size: 14px;
}

.sort-select select {
    border: none;
    background: none;
    font-size: 14px;
    color: var(--gray);
    cursor: pointer;
}

/* Product Gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card-link {
    display: block;
    text-decoration: none;
}

.product-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg) 0%, var(--gray-lightest) 100%);
}

.product-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    display: block;
    transition: transform 0.3s;
}

.product-card:hover .product-visual img {
    transform: scale(1.02);
}

.product-quick-actions {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #1f2937;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.action-btn:hover {
    background: #007aff;
    color: white;
}

.product-info {
    padding: 20px;
}

.info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #007aff;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #f59e0b;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.info-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #007aff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

/* Empty State */
.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: #6b7280;
}

.empty i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.3;
}

.empty h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: #1f2937;
}

/* Responsive */
@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
    }
    
    .sidebar-box {
        display: flex;
        gap: 24px;
        overflow-x: auto;
    }
    
    .filter-section {
        margin-bottom: 0;
        min-width: 200px;
    }
}

@media (max-width: 640px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .sidebar-box {
        gap: 16px;
    }
    
    .filter-section {
        min-width: 160px;
    }
}

/* Small phones (480px and below) */
@media (max-width: 480px) {
    .shop-header h1 {
        font-size: 1.5rem;
    }
    
    .shop-layout {
        gap: 20px;
    }
    
    .sidebar-box {
        gap: 12px;
    }
    
    .filter-section {
        min-width: 140px;
        padding: 15px;
    }
    
    .filter-section h3 {
        font-size: 16px;
    }
    
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info h3 {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 14px;
    }
    
    .btn-add-cart {
        padding: 10px;
        font-size: 13px;
    }
}

/* Clickable Product Styles */
.product-info h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-info h3 a:hover {
    color: #007aff;
}

/* Clear Search Button */
.clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}

/* Empty Feed Improvements */
.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: #6b7280;
}

.empty i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.3;
}

.empty h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1f2937;
}

.empty p {
    color: #64748b;
    margin-bottom: 24px;
}

.quick-actions {
    display: flex;
    gap: 8px;
}

.quick-actions .action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.quick-actions .cart-btn {
    background: #007aff;
    color: white;
}

.quick-actions .cart-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.quick-actions .wishlist-btn {
    background: #fee2e2;
    color: #ef4444;
}

.quick-actions .wishlist-btn:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
}












