/* Modern Subcategory Page Styles - Scoped to .new_design */

/* Hero Section */
.new_design .subcategory-hero {
    position: relative !important;
    min-height: 40vh !important;
    background-image: url('/images/new/Image_202512311344.jpeg') !important;
    background-size: cover !important;
    background-position: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

.new_design .subcategory-hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 92, 187, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
    z-index: 1 !important;
}

.new_design .subcategory-hero-content {
    position: relative !important;
    z-index: 2 !important;
    text-align: center !important;
    color: #ffffff !important;
    padding: 40px 20px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.new_design .subcategory-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3) !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
}

/* Breadcrumbs in Hero */
.new_design .breadcrumb-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    font-size: 1.1rem !important;
}

.new_design .breadcrumb-hero a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.new_design .breadcrumb-hero a:hover {
    color: #ffd700 !important;
    text-decoration: underline !important;
}

.new_design .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 1.2rem !important;
}

.new_design .breadcrumb-current {
    color: #ffd700 !important;
    font-weight: 600 !important;
}

/* Content Section */
.new_design .subcategory-content-section {
    padding: 60px 0 100px !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%) !important;
}

/* Back Link */
.new_design .back-link-wrapper {
    margin-bottom: 40px !important;
}

.new_design .back-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 24px !important;
    background: #f8f9fa !important;
    color: #005cbb !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
}

.new_design .back-link:hover {
    background: #005cbb !important;
    color: #ffffff !important;
    border-color: #005cbb !important;
    transform: translateX(-5px) !important;
    text-decoration: none !important;
}

/* Fixed Point Grid - Two Columns */
.new_design .fixed-point-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* Type Cards */
.new_design .type-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 40px !important;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.new_design .type-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 40px rgba(0, 92, 187, 0.15) !important;
}

.new_design .type-card-header {
    margin-bottom: 30px !important;
}

.new_design .type-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem) !important;
    font-weight: 700 !important;
    color: #005cbb !important;
    margin-bottom: 20px !important;
}

.new_design .type-description {
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    color: #2c2c2c !important;
}

.new_design .highlight-text {
    color: #00a8e8 !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
}

/* Products Table */
.new_design .products-table-wrapper {
    overflow-x: auto !important;
}

.new_design .products-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.new_design .products-table thead {
    background: linear-gradient(135deg, #005cbb 0%, #00a8e8 100%) !important;
}

.new_design .products-table thead th {
    padding: 18px 20px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    text-align: left !important;
    border: none !important;
}

.new_design .products-table tbody tr {
    background: #f8f9fa !important;
    transition: all 0.3s ease !important;
}

.new_design .products-table tbody tr:nth-child(even) {
    background: #ffffff !important;
}

.new_design .products-table tbody tr:hover {
    background: #e3f2fd !important;
    transform: scale(1.01) !important;
}

.new_design .products-table tbody td {
    padding: 16px 20px !important;
    color: #2c2c2c !important;
    font-size: 1.05rem !important;
    border-bottom: 1px solid #e9ecef !important;
}

.new_design .product-link {
    color: #005cbb !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.new_design .product-link:hover {
    color: #00a8e8 !important;
    text-decoration: underline !important;
}

/* Products List Heading */
.new_design .products-list-heading {
    text-align: center !important;
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
    font-weight: 700 !important;
    color: #005cbb !important;
    margin-bottom: 50px !important;
    position: relative !important;
    padding-bottom: 20px !important;
}

.new_design .products-list-heading::after {
    content: '' !important;
    position: absolute !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 4px !important;
    background: linear-gradient(90deg, #005cbb, #00a8e8) !important;
    border-radius: 2px !important;
}

/* Product Card Grid */
.new_design .products-card-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 35px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

.new_design .product-card-link {
    text-decoration: none !important;
    display: block !important;
}

.new_design .product-card-full {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border: 2px solid transparent !important;
}

.new_design .product-card-full:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 50px rgba(0, 92, 187, 0.2) !important;
    border-color: #005cbb !important;
}

.new_design .product-card-image-wrapper {
    width: 100% !important;
    height: 250px !important;
    background: #f8f9fa !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 30px !important;
}

.new_design .product-card-image {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.new_design .product-card-content {
    padding: 30px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.new_design .product-card-name {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #005cbb !important;
    margin-bottom: 15px !important;
    line-height: 1.3 !important;
}

.new_design .product-card-summary {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #2c2c2c !important;
    margin-bottom: 20px !important;
    flex: 1 !important;
    min-height: 80px !important;
}

.new_design .product-card-cta {
    color: #005cbb !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: inline-block !important;
}

.new_design .product-card-full:hover .product-card-cta {
    color: #00a8e8 !important;
    text-decoration: underline !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .new_design .fixed-point-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }
}

@media (max-width: 992px) {
    .new_design .subcategory-hero {
        min-height: 35vh !important;
    }
    
    .new_design .products-card-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .new_design .subcategory-content-section {
        padding: 40px 0 !important;
    }
    
    .new_design .subcategory-hero {
        min-height: 30vh !important;
    }
    
    .new_design .subcategory-hero-content {
        padding: 30px 20px !important;
    }
    
    .new_design .type-card {
        padding: 30px 20px !important;
    }
    
    .new_design .products-card-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .new_design .product-card-summary {
        min-height: auto !important;
    }
    
    .new_design .products-table {
        font-size: 0.9rem !important;
    }
    
    .new_design .products-table thead th,
    .new_design .products-table tbody td {
        padding: 12px 10px !important;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.new_design .back-link-wrapper {
    animation: fadeInUp 0.6s ease-out backwards !important;
    animation-delay: 0.1s !important;
}

.new_design .type-card {
    animation: fadeInUp 0.6s ease-out backwards !important;
}

.new_design .type-card:nth-child(1) {
    animation-delay: 0.2s !important;
}

.new_design .type-card:nth-child(2) {
    animation-delay: 0.3s !important;
}

.new_design .product-card-full {
    animation: fadeInUp 0.6s ease-out backwards !important;
}

.new_design .product-card-full:nth-child(1) {
    animation-delay: 0.2s !important;
}

.new_design .product-card-full:nth-child(2) {
    animation-delay: 0.25s !important;
}

.new_design .product-card-full:nth-child(3) {
    animation-delay: 0.3s !important;
}

.new_design .product-card-full:nth-child(n+4) {
    animation-delay: 0.35s !important;
}

