body{
    background-color: white !important;
}
.category-header {
    background: #e67e22;
    color: #fff;
    padding: 35px 0;
    margin-bottom: 2px;
    min-height: 150px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin: 10px 0px;
}

.category-header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.category-header-content h1 {
    margin: 0 0 6px;
    font-size: 2rem;
    font-weight: 600;
}

.category-header-content h1 i {
    margin-right: 10px;
}

.category-header-content p {
    margin: 0;
    opacity: .9;
    font-size: .9rem;
}

.category-stats {
 
    padding: 6px 14px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2px 15px;
    overflow-x: hidden;
}

/* ============================================
   SUBCATEGORIES SECTION
   ============================================ */
.subcategories-section {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 5px;
    background: transparent;
    overflow-x: hidden;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
}

/* ============================================
   SUBCATEGORY CARD
   ============================================ */
.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
    overflow: hidden;
}

.subcategory-card:hover {
    transform: translateY(-3px);
}

.subcategory-image {
    width: 100px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
    margin: 0 auto;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.subcategory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcategory-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    color: #ccc;
    font-size: 32px;
}

.subcategory-info {
    padding: 10px;
    text-align: center;
    width: 100%;
}

.subcategory-info h3 {
    margin: 0 0 5px;
    font-size: .8rem;
    color: #2c3e50;
    font-weight: 600;
    word-break: break-word;
}

.subcategory-info span {
    font-size: 9px;
    color: #7f8c8d;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.section-header h2 {
    margin: 0;
    font-size: 1rem;
    color: #2c3e50;
}

.section-header h2 i {
    color: #e67e22;
    margin-right: 6px;
}

.count-badge {
    background: #e67e22;
    color: #fff;
    padding: 3px 10px;
    font-size: 10px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    
    margin-bottom: 20px;
    padding: 10px 0;
    color: #7f8c8d;
    font-size: 12px;
}

.breadcrumb a {
    color: #e67e22;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    margin: 0 6px;
    font-size: 10px;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.empty-state i {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.empty-state h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: #d35400;
    color: #fff;
}

.btn-primary i {
    margin-right: 6px;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 749px)
   ============================================ */
@media (max-width: 749px) {
    body,
    html {
        overflow-x: hidden;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .main-container {
        padding: 10px 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-header {
        padding: 20px 0;
        min-height: 70px;
        border-radius: 4px;
        margin: 10px 20px;
    }

    .category-header-content {
        padding: 0 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .category-header-content h1 {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }

    .category-header-content p {
        font-size: 0.75rem;
    }

    .category-stats {
        padding: 4px 12px;
        font-size: 11px;
        align-self: flex-start;
    }

    .subcategories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .subcategories-section {
        padding: 10px 5px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .subcategory-image {
        width: 80px;
        height: 80px;
    }

    .subcategory-image .no-image {
        font-size: 24px;
    }

    .subcategory-info {
        padding: 6px 4px;
    }

    .subcategory-info h3 {
        font-size: 0.65rem;
        margin-bottom: 3px;
        line-height: 1.3;
    }

    .subcategory-info span {
        font-size: 8px;
    }

    .section-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .section-header h2 {
        font-size: 0.85rem;
    }

    .count-badge {
        padding: 2px 8px;
        font-size: 9px;
    }

    .breadcrumb {
        margin-bottom: 12px;
        font-size: 10px;
        padding: 6px 0;
    }

    .empty-state {
        padding: 30px 15px;
    }

    .empty-state i {
        font-size: 36px;
    }

    .btn-primary {
        padding: 8px 18px;
        font-size: 12px;
    }
    footer{
        display: none !important;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .main-container {
        padding: 8px 8px;
    }

    .subcategories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .subcategory-image {
        width: 70px;
        height: 70px;
    }

    .subcategory-image .no-image {
        font-size: 20px;
    }

    .subcategory-info h3 {
        font-size: 0.6rem;
        font-weight: 600;
    }

    .subcategory-info span {
        font-size: 7px;
    }

    .category-header-content h1 {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 0.75rem;
    }

    .category-stats {
        display: none;
        font-size: 10px;
        padding: 3px 10px;
    }
}

/* ============================================
   RESPONSIVE - VERY SMALL (max-width: 360px)
   ============================================ */
@media (max-width: 360px) {
    .subcategories-grid {
        gap: 6px;
    }

    .subcategory-image {
        width: 60px;
        height: 60px;
    }

    .subcategory-image .no-image {
        font-size: 16px;
    }

    .subcategory-info h3 {
        font-size: 0.55rem;
    }

    .subcategory-info span {
        font-size: 6px;
    }

    .subcategory-info {
        padding: 4px 2px;
    }
}

/* ============================================
   RESPONSIVE - TABLET & DESKTOP (min-width: 750px)
   ============================================ */
@media (min-width: 750px) {
    .subcategories-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 20px;
    }

    .subcategory-image {
        width: 110px;
        height: 110px;
    }

    .subcategory-info h3 {
        font-size: 0.85rem;
    }
}

/* ============================================
   NO BORDER RADIUS - OVERRIDE ANY DEFAULT
   ============================================ */

.category-header-content,
.category-stats,
.subcategory-card,
.subcategory-image,
.subcategory-image img,
.subcategory-image .no-image,
.subcategory-info,
.btn-primary,
.empty-state,
.section-header,
.count-badge,
.breadcrumb {
    border-radius: 0px !important;
}

/* ============================================
   NO BOX SHADOW - OVERRIDE ANY DEFAULT
   ============================================ */
.category-header,
.subcategory-card,
.subcategory-card:hover,
.btn-primary,
.btn-primary:hover,
.empty-state {
    box-shadow: none !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subcategory-card {
    animation: fadeIn 0.3s ease-out forwards;
}

.subcategory-card:nth-child(2) {
    animation-delay: 0.05s;
}
.subcategory-card:nth-child(3) {
    animation-delay: 0.1s;
}
.subcategory-card:nth-child(4) {
    animation-delay: 0.15s;
}
.subcategory-card:nth-child(5) {
    animation-delay: 0.2s;
}
.subcategory-card:nth-child(6) {
    animation-delay: 0.25s;
}