/* Catalogue Page Styles */
.catalogue-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15), transparent 70%);
}

.catalogue-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.catalogue-hero p {
    font-size: 1.2rem;
    color: #9ca3af;
    max-width: 800px;
    margin: 0 auto;
}

.catalogue-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Filters Section */
.catalogue-filters-section {
    padding: 2rem 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.catalogue-filters {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-search,
.filter-select {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #f5f5f5;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Inter', sans-serif;
}

.filter-search {
    width: 100%;
}

.filter-search:focus,
.filter-select:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%2360a5fa' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 3rem;
}

.filter-select option {
    background: rgba(15, 23, 42, 0.95);
    color: #f5f5f5;
    padding: 0.5rem;
}

.filter-clear-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    color: #fca5a5;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    align-self: flex-end;
}

.filter-clear-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.results-count {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #9ca3af;
    text-align: right;
    padding-top: 0.5rem;
}

/* Products Grid */
.catalogue-products-section {
    padding: 3rem 0 4rem;
    min-height: 60vh;
}

.catalogue-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.catalogue-product-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.catalogue-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.catalogue-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.8);
}

.catalogue-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.4s ease;
}

.catalogue-product-card:hover .catalogue-product-image img {
    transform: scale(1.05);
}

.catalogue-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    opacity: 0.3;
}

.catalogue-product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(59, 130, 246, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.catalogue-product-content {
    padding: 1.5rem;
}

.catalogue-product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.catalogue-product-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #e5e7eb;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.catalogue-info-btn {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #60a5fa;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.catalogue-info-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    border-color: #60a5fa;
    transform: scale(1.1);
    color: #93c5fd;
}

.catalogue-info-btn svg {
    width: 16px;
    height: 16px;
}

.catalogue-product-variant {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #bfdbfe;
    font-weight: 600;
    margin: 0.5rem 0;
}

.catalogue-product-volume {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: #9ca3af;
    margin: 0.25rem 0 0.75rem;
}

.catalogue-product-description {
    font-size: 0.9rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
    min-height: 3rem;
}

.catalogue-inquire-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    color: #60a5fa;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.catalogue-inquire-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.4));
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* Pagination */
.catalogue-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 0.6rem 1rem;
    color: #60a5fa;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 44px;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(6, 182, 212, 0.4));
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-ellipsis {
    color: #6b7280;
    padding: 0 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .catalogue-filters {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .filter-clear-btn {
        grid-column: 1 / -1;
    }
    
    .catalogue-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .catalogue-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .catalogue-container {
        padding: 0 1.5rem;
    }
    
    .catalogue-filters {
        grid-template-columns: 1fr;
    }
    
    .catalogue-products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .results-count {
        text-align: left;
        padding-top: 1rem;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        min-width: 40px;
    }
}

/* RTL Support */
html[dir="rtl"] .catalogue-product-badge {
    right: auto;
    left: 1rem;
}

html[dir="rtl"] .results-count {
    text-align: left;
}

html[dir="rtl"] .filter-select {
    background-position: left 1rem center;
    padding-right: 1rem;
    padding-left: 3rem;
}

html[dir="rtl"] .catalogue-product-header {
    flex-direction: row-reverse;
}

