/* Ecomus-inspired Shop Styles */

.wrapper-control-shop {
    position: relative;
}

.tf-product-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1200px) {
    .tf-product-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

.meta-filter-shop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.count-text {
    font-size: 0.95rem;
    color: #6c757d;
}

.infinite-scroll-loader,
.end-of-products {
    text-align: center;
    padding: 24px 0 8px;
}

/* Loading state */
.products-loading {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-skeleton {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Color swatches */
.bg_orange-3 { background-color: #ff6b35; }
.bg_dark { background-color: #2c3e50; }
.bg_white { background-color: #fff; }
.bg_brown { background-color: #8b4513; }
.bg_purple { background-color: #9b59b6; }
.bg_blue { background-color: #3498db; }
.bg_green { background-color: #27ae60; }
.bg_pink { background-color: #e91e63; }
.bg_yellow { background-color: #f1c40f; }

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* Empty state */
.empty-products {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.empty-products-icon {
    font-size: 4rem;
    margin-bottom: 24px;
    color: #bbb;
}

.empty-products h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.empty-products p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter button responsive */
@media (max-width: 576px) {
    .tf-btn-filter .text {
        display: none;
    }
}
.tf-btn-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}   
.tf-btn-filter:hover {
    background: #fff;
    color: #000;
}
