/* ==========================================
   SHOP PAGE - SIMPLE & CLEAN
   ========================================== */

/* ==========================================
   CONTAINER FIX
   ========================================== */
.ff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================
   SHOP HEADER
   ========================================== */
.ff-shop-header {
    padding: 20px 0 15px;
    background: #0a0a16;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.ff-shop-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.ff-shop-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.ff-shop-breadcrumb {
    font-size: 13px;
    color: #666677;
}

.ff-shop-breadcrumb a {
    color: #9999aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ff-shop-breadcrumb a:hover {
    color: #ff6b00;
}

/* ==========================================
   SHOP CONTENT
   ========================================== */
.ff-shop-content {
    padding: 25px 0 50px;
    background: #0a0a16;
}

/* ==========================================
   SHOP TOOLBAR
   ========================================== */
.ff-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
    padding: 10px 16px;
    background: #141424;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.ff-shop-result-count {
    font-size: 13px;
    color: #9999aa;
}

.ff-shop-result-count strong {
    color: #ffffff;
}

.ff-shop-catalog-ordering select {
    padding: 6px 12px;
    background: #0d0d1a;
    color: #e8e8e8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ff-shop-catalog-ordering select:focus {
    border-color: #ff6b00;
    outline: none;
}

/* ==========================================
   PRODUCTS GRID
   ========================================== */
.ff-shop-products-wrapper {
    width: 100%;
}

.ff-shop-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

/* ==========================================
   PRODUCT CARD
   ========================================== */
.ff-shop-product-card {
    background: #141424;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.ff-shop-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 107, 0, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.ff-shop-product-link {
    text-decoration: none;
    display: block;
}

.ff-shop-product-image {
    position: relative;
    padding: 18px;
    background: #0d0d1a;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ff-shop-product-image img {
    max-height: 110px;
    width: auto;
    object-fit: contain;
}

.ff-shop-badge {
    position: absolute;
    padding: 2px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.ff-shop-badge.sale {
    background: #ff6b00;
    color: #fff;
    top: 8px;
    left: 8px;
}

.ff-shop-badge.featured {
    background: #6F4FF2;
    color: #fff;
    top: 8px;
    right: 8px;
    left: auto;
}

.ff-shop-product-body {
    padding: 12px 14px 16px;
    text-align: center;
}

.ff-shop-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #e8e8e8;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ff-shop-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b00;
    margin-bottom: 10px;
}

.ff-shop-product-btn {
    display: inline-block;
    background: #ff6b00;
    color: #fff;
    padding: 6px 24px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ff-shop-product-card:hover .ff-shop-product-btn {
    background: #e65c00;
}

/* ==========================================
   PAGINATION
   ========================================== */
.ff-shop-pagination {
    text-align: center;
    margin-top: 10px;
}

.ff-shop-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 3px;
    background: #141424;
    color: #9999aa;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.ff-shop-pagination .page-numbers:hover {
    background: rgba(255, 107, 0, 0.08);
    color: #ff6b00;
    border-color: rgba(255, 107, 0, 0.1);
}

.ff-shop-pagination .page-numbers.current {
    background: #ff6b00;
    color: #fff;
    border-color: #ff6b00;
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.ff-shop-empty {
    text-align: center;
    padding: 50px 20px;
}

.ff-shop-empty-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

.ff-shop-empty h3 {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.ff-shop-empty p {
    font-size: 14px;
    color: #9999aa;
    margin: 0;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 992px) {
    .ff-container {
        padding: 0 16px;
    }
    
    .ff-shop-products {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ff-container {
        padding: 0 12px;
    }
    
    .ff-shop-header {
        padding: 14px 0 10px;
    }
    
    .ff-shop-header-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 4px;
        width: 100%;
    }
    
    .ff-shop-title {
        font-size: 20px;
    }
    
    .ff-shop-breadcrumb {
        font-size: 12px;
    }
    
    .ff-shop-toolbar {
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 6px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .ff-shop-result-count {
        font-size: 12px;
        width: 100%;
        text-align: left;
    }
    
    .ff-shop-catalog-ordering {
        width: 100%;
    }
    
    .ff-shop-catalog-ordering select {
        font-size: 12px;
        padding: 5px 10px;
        width: 100%;
    }
    
    .ff-shop-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .ff-shop-product-image {
        min-height: 110px;
        padding: 12px;
    }
    
    .ff-shop-product-image img {
        max-height: 75px;
    }
    
    .ff-shop-badge {
        font-size: 9px;
        padding: 1px 8px;
    }
    
    .ff-shop-product-body {
        padding: 8px 10px 12px;
    }
    
    .ff-shop-product-title {
        font-size: 12px;
    }
    
    .ff-shop-product-price {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .ff-shop-product-btn {
        font-size: 11px;
        padding: 4px 16px;
        border-radius: 16px;
    }
    
    .ff-shop-pagination .page-numbers {
        padding: 6px 10px;
        font-size: 12px;
        margin: 0 2px;
        border-radius: 4px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .ff-container {
        padding: 0 8px;
    }
    
    .ff-shop-header {
        padding: 10px 0 8px;
    }
    
    .ff-shop-title {
        font-size: 18px;
    }
    
    .ff-shop-header-inner {
        padding: 0;
        width: 100%;
    }
    
    .ff-shop-toolbar {
        padding: 8px 10px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .ff-shop-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .ff-shop-product-image {
        min-height: 90px;
        padding: 10px;
    }
    
    .ff-shop-product-image img {
        max-height: 60px;
    }
    
    .ff-shop-product-body {
        padding: 6px 8px 10px;
    }
    
    .ff-shop-product-title {
        font-size: 11px;
    }
    
    .ff-shop-product-price {
        font-size: 13px;
        margin-bottom: 4px;
    }
    
    .ff-shop-product-btn {
        font-size: 10px;
        padding: 3px 12px;
        border-radius: 12px;
    }
    
    .ff-shop-badge {
        font-size: 8px;
        padding: 1px 6px;
    }
    
    .ff-shop-content {
        padding: 15px 0 30px;
    }
    
    .ff-shop-pagination .page-numbers {
        padding: 4px 8px;
        font-size: 11px;
        min-width: 28px;
    }
}