 
        /* Your provided CSS remains unchanged */
        .category-page {
            padding-top: 120px;
            padding-bottom: 50px;
        }
        .category-layout {
            display: flex;
            gap: 20px;
        }
        .category-sidebar {
            flex: 0 0 220px;
        }
        .sidebar-widget {
            margin-bottom: 25px;
            border: 1px solid #eeeeee;
            padding: 15px;
        }
        .widget-title {
            font-size: 1.1rem;
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 1px solid #eeeeee;
            color: #000000;
        }
        .category-list {
            list-style: none;
        }
        .category-list li {
            margin-bottom: 8px;
        }
        .category-list li a {
            color: #333333;
            text-decoration: none;
            transition: all 0.3s;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 10px;
            border-radius: 4px;
        }
        .category-list li a:hover {
            color: #000000;
            background-color: #f5f5f5;
            transform: translateX(5px);
        }
        .category-list li a .count {
            background-color: #f1f1f1;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
            transition: background-color 0.3s;
        }
        .category-list li a:hover .count {
            background-color: #000000;
            color: #ffffff;
        }
        .price-filter {
            margin-top: 12px;
        }
        .price-input {
            width: 100%;
            margin-bottom: 12px;
        }
        .price-input .field {
            display: flex;
            align-items: center;
            margin-bottom: 8px;
        }
        .price-input .field span {
            font-size: 0.9rem;
            color: #333333;
            min-width: 30px;
        }
        .price-input .field input {
            width: 100%;
            height: 32px;
            margin-left: 8px;
            border: 1px solid #dddddd;
            padding: 0 8px;
            font-size: 0.9rem;
            color: #333333;
        }
        .slider-container {
            height: 5px;
            background: #eeeeee;
            border-radius: 5px;
            position: relative;
            margin: 15px 0;
        }
        .slider-container .progress {
            height: 5px;
            background: #000000;
            border-radius: 5px;
            position: absolute;
            left: 0%;
            right: 0%;
        }
        .range-input {
            position: relative;
        }
        .range-input input {
            position: absolute;
            top: -2px;
            height: 5px;
            width: 100%;
            background: none;
            pointer-events: none;
            -webkit-appearance: none;
            appearance: none;
        }
        input[type="range"]::-webkit-slider-thumb {
            height: 14px;
            width: 14px;
            border-radius: 3px;
            background: #000000;
            pointer-events: auto;
            -webkit-appearance: none;
            cursor: pointer;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            transition: background 0.2s ease;
        }
        input[type="range"]::-moz-range-thumb {
            height: 14px;
            width: 14px;
            border-radius: 3px;
            background: #000000;
            pointer-events: auto;
            -moz-appearance: none;
            cursor: pointer;
            border: none;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
            transition: background 0.2s ease;
        }
        input[type="range"]::-webkit-slider-thumb:hover {
            background: #333333;
        }
        input[type="range"]::-moz-range-thumb:hover {
            background: #333333;
        }
        .filter-button {
            background-color: #000000;
            color: #ffffff;
            padding: 8px 15px;
            border: none;
            border-radius: 0;
            font-size: 0.9rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 100%;
        }
        .filter-button:hover {
            background-color: #333333;
        }
        .category-products {
            flex: 1;
        }
        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .products-count {
            font-size: 0.9rem;
            color: #666666;
        }
        .sort-options {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .filter-toggle {
            display: none;
            background-color: #000000;
            color: #ffffff;
            padding: 8px 15px;
            border: none;
            border-radius: 0;
            font-size: 0.9rem;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .filter-toggle:hover {
            background-color: #333333;
        }
        .sort-options select {
            padding: 8px 15px;
            border: 1px solid #dddddd;
            background-color: #ffffff;
            font-size: 0.9rem;
            color: #333333;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .product-card {
            background-color: #ffffff;
            border-radius: 0;
            overflow: hidden;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid transparent;
        }
        .product-card:hover {
            transform: translateY(-10px);
            border: 1px solid #cccccc;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        .product-img {
            width: 100%;
            height: 180px;
            margin: 0 auto;
            overflow: hidden;
            cursor: pointer;
        }
        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.5s;
        }
        .product-card:hover .product-img img {
            transform: scale(1.1);
        }
        .product-content {
            padding: 12px;
            background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(249,249,249,0.9) 100%);
        }
        .product-title {
            font-size: 0.95rem;
            margin-bottom: 5px;
            color: #000000;
            font-weight: 500;
        }
        .product-price {
            font-size: 0.85rem;
            color: #333333;
            margin-bottom: 8px;
            font-weight: normal;
        }
        .product-stock {
            font-size: 0.85rem;
            color: #28a745;
            margin-bottom: 8px;
            font-weight: normal;
        }
        .product-rating {
            color: #000000;
            margin-bottom: 8px;
            font-size: 0.75rem;
        }
        .product-btn {
            background-color: #000000;
            color: #ffffff;
            padding: 7px 12px;
            border: none;
            border-radius: 0;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 100%;
            text-decoration: none;
            display: inline-block;
            font-size: 0.85rem;
        }
        .product-btn:hover {
            background-color: #333333;
        }
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 40px;
        }
        .pagination a {
            color: #000000;
            padding: 8px 16px;
            text-decoration: none;
            border: 1px solid #dddddd;
            margin: 0 4px;
            transition: background-color 0.3s;
        }
        .pagination a.active {
            background-color: #000000;
            color: #ffffff;
            border: 1px solid #000000;
        }
        .pagination a:hover:not(.active) {
            background-color: #f1f1f1;
        }
        @media (max-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        @media (max-width: 992px) {
            .category-layout {
                flex-direction: column;
            }
            .category-sidebar {
                flex: 1;
                width: 100%;
                display: none;
            }
            .category-sidebar.active {
                display: block;
            }
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .filter-toggle {
                display: block;
            }
        }
        @media (max-width: 768px) {
            .products-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .products-grid {
                grid-template-columns: 1fr;
            }
            .search-form {
                max-width: 100%;
            }
            .search-form input[type="text"] {
                font-size: 0.85rem;
                width: 60%;
            }
            .search-form button {
                font-size: 0.85rem;
                padding: 6px 12px;
            }
        }
        @media (max-width: 480px) {
            .header-top {
                flex-direction: column;
                gap: 10px;
            }
            .product-img {
                height: 160px;
            }
            .sort-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            .search-form {
                max-width: 100%;
            }
            .search-form input[type="text"] {
                font-size: 0.8rem;
                width: 60%;
            }
            .search-form button {
                font-size: 0.8rem;
                padding: 6px 12px;
            }
        }/* Tambahkan di bagian CSS */
.out-of-stock {
    opacity: 0.7;
    position: relative;
}

.out-of-stock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

.product-img {
    position: relative;
}

.stock-zero {
    color: #dc3545 !important;
    font-weight: bold;
}

.product-card.out-of-stock:hover {
    transform: none;
    border: 1px solid transparent;
    box-shadow: none;
}

.product-card.out-of-stock .product-img img {
    filter: grayscale(30%);
}
    