/* ===== ORIENT SOLUTIONS INC - SINGLE CATEGORY PAGE (NEUTRAL THEME) ===== */
.osi-single-cat-wrapper {
    font-family: inherit;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
}

.osi-single-cat-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.osi-single-cat-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.osi-single-cat-wrapper::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 25% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 55%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.osi-single-cat-content-wrap {
    position: relative;
    z-index: 1;
    padding: 60px 0 80px;
}

/* Breadcrumb */
.osi-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.osi-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.osi-breadcrumb a:hover {
    color: #0f172a;
}

.osi-breadcrumb .osi-separator {
    color: #9ca3af;
    font-size: 0.75rem;
}

.osi-breadcrumb .osi-current {
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Category Hero */
.osi-category-hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    background: #f8fafc;
    border-radius: 28px;
    padding: 48px 44px;
    border: 1px solid #e2e8f0;
    margin-bottom: 50px;
}

.osi-category-hero-icon {
    text-align: center;
    font-size: 7rem;
    animation: osi-float-slow 4s ease-in-out infinite;
}

.osi-category-hero-icon img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 16px;
}

@keyframes osi-float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.osi-category-hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.osi-gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.osi-category-hero-content p {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.osi-category-hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.osi-hero-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.osi-hero-stat .osi-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3b82f6;
}

.osi-hero-stat .osi-stat-label {
    color: #64748b;
    font-size: 0.85rem;
}

/* Filter Bar */
.osi-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.osi-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.osi-filter-tab {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    white-space: nowrap;
}

.osi-filter-tab:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.osi-filter-tab.osi-active {
    background: #0f172a;
    color: #ffffff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.osi-sort-select {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 9px 16px;
    color: #475569;
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%233b82f6' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.osi-sort-select option {
    background: #ffffff;
    color: #1a1a1a;
}

/* Products Grid */
.osi-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.osi-product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.osi-product-card:hover {
    transform: translateY(-8px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}

.osi-product-card.osi-hidden {
    display: none;
}

.osi-product-image {
    background: #f8fafc;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.osi-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.osi-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #3b82f6;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.osi-product-badge.bestseller {
    background: #f59e0b;
}

.osi-product-badge.new {
    background: #3b82f6;
}

.osi-product-badge.sale {
    background: #ef4444;
    color: #fff;
}

.osi-product-badge.popular {
    background: #8b5cf6;
    color: #fff;
}

.osi-product-info {
    padding: 22px 18px;
}

.osi-product-subcategory {
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.osi-product-info h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.osi-product-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.osi-product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.osi-product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.osi-product-price .osi-old-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 6px;
    font-weight: 400;
}

.osi-product-tags {
    display: flex;
    gap: 6px;
}

.osi-product-tag {
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

/* Pagination */
.osi-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 80px;
}

.osi-page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.osi-page-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.osi-page-btn.osi-active-page {
    background: #0f172a;
    color: #ffffff;
    border-color: transparent;
}

/* Related Categories */
.osi-related-cats {
    margin-bottom: 80px;
}

.osi-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.osi-section-label {
    display: inline-block;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.osi-section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.osi-related-cats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.osi-related-cat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.osi-related-cat-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background: #f8fafc;
}

.osi-related-cat-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 10px;
}

.osi-related-cat-icon img {
    width: 2.2rem;
    height: 2.2rem;
    object-fit: contain;
}

.osi-related-cat-card h4 {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
}

.osi-related-cat-card p {
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 4px;
}

/* CTA */
.osi-single-cat-cta {
    background: #f8fafc;
    border-radius: 32px;
    padding: 56px 44px;
    text-align: center;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.osi-single-cat-cta::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04), transparent 70%);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
}

.osi-single-cat-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 14px;
    position: relative;
}

.osi-single-cat-cta p {
    color: #64748b;
    font-size: 1.05rem;
    margin-bottom: 32px;
    position: relative;
}

.osi-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.osi-btn-primary {
    background: #0f172a;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: none;
}

.osi-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #1e293b;
}

.osi-btn-ghost {
    background: #ffffff;
    color: #0f172a;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    cursor: pointer;
}

.osi-btn-ghost:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .osi-category-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 36px 30px;
    }

    .osi-category-hero-stats {
        justify-content: center;
    }

    .osi-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .osi-related-cats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .osi-single-cat-container {
        padding: 0 20px;
    }

    .osi-products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .osi-related-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .osi-filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .osi-category-hero {
        padding: 28px 22px;
    }

    .osi-category-hero-icon {
        font-size: 5rem;
    }
}