:root {
    --primary: #0f172a;
    --accent: #f97316;
    --bg: #f8fafc;
    --glass: rgba(255, 255, 255, 0.8);
    --radius-lg: 24px;
    --radius-md: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg);
    color: #334155;
    background-image: radial-gradient(#e2e8f0 0.5px, transparent 0.5px);
    background-size: 24px 24px;
}

/* --- Navigation --- */
.navbar {
    backdrop-filter: blur(15px);
    background: rgba(15, 23, 42, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

/* --- Hero Section --- */
.hero-section {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    padding: 160px 0 100px;
    color: white;
    clip-path: ellipse(150% 100% at 50% 0%);
    text-align: center;
}

.search-container {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    transform: translateY(20px);
}

.search-input {
    padding: 18px 25px 18px 60px;
    border-radius: 50px;
    border: 2px solid transparent;
    font-size: 1.1rem;
    width: 100%;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    border-color: var(--accent);
    outline: none;
    transform: scale(1.02);
}

/* --- Product Cards --- */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.viewer-wrapper {
    height: 250px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    z-index: 5;
    border: 1px solid rgba(255,255,255,0.5);
}

.btn-3d-toggle {
    position: absolute;
    bottom: 15px; right: 15px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.btn-3d-toggle:hover { background: var(--accent); transform: scale(1.05); }

.card-body { padding: 25px; }
.product-title { font-weight: 800; color: var(--primary); margin-bottom: 10px; }
.price-tag { color: #10b981; font-weight: 800; font-size: 1.1rem; }

/* --- Buttons --- */
.btn-download-main {
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    padding: 12px;
    font-weight: 700;
    transition: 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.btn-download-main:hover { background: var(--accent); color: white; }

.btn-details-custom {
    background: #f1f5f9;
    color: var(--primary);
    width: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.btn-details-custom:hover { background: #e2e8f0; color: var(--accent); }
/* Existing styles... */

.custom-pagination {
    border: 1px solid rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
}

.custom-pagination .page-link {
    color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.custom-pagination .page-item.active .page-link {
    background: var(--accent) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.custom-pagination .page-link:hover:not(.active) {
    background: #f1f5f9;
}

.custom-pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    background: transparent;
}

.filter-pill-box {
    border: 1px solid #f1f5f9;
}