/* Products Sayfası Stilleri */

/* Product Loading Animation */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
    z-index: 2;
    border-radius: 8px;
}

.product-image img {
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image img.loaded {
    opacity: 1;
}

.product-loading.hidden {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* No Products - Güzel Tasarım */
.no-products {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
    margin: 40px 0;
    background: #f8f9fa;
    border: 1px solid #ededed;
}

.no-products-content {
    text-align: center;
    max-width: 400px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-products-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(108, 117, 125, 0.3);
}

.no-products-icon i {
    font-size: 32px;
    color: #ffffff;
}

.no-products-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.no-products-content p {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.no-products-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.no-products-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.no-products-content .btn i {
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .no-products {
        min-height: 300px;
        padding: 30px 15px;
        margin: 30px 0;
    }

    .no-products-content {
        padding: 30px 20px;
        max-width: 320px;
    }

    .no-products-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .no-products-icon i {
        font-size: 24px;
    }

    .no-products-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .no-products-content p {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .no-products-content .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Pagination - Modern Minimal Tasarım */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    padding: 20px 0;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-btn:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

.pagination-btn.disabled {
    background: #f8f9fa;
    border-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.pagination-number:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

.pagination-number.active {
    background: #28a745;
    border-color: #28a745;
    color: #ffffff;
    font-weight: 600;
}

.pagination-number.active:hover {
    background: #218838;
    border-color: #218838;
    transform: translateY(-1px);
}

.pagination-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #adb5bd;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .pagination {
        gap: 6px;
        margin: 30px 0;
        padding: 15px 0;
    }

    .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-number {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-dots {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 4px;
    }

    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .pagination-dots {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}