.category-container {
    display: flex;
    font-family: Arial, sans-serif;
}

.category-list {
    width: 300px;
    border-right: 1px solid #eee;
    padding-right: 20px;
}

.category-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-weight: bold;
}

.category-item.active,
.category-item:hover {
    background-color: #f5f5f5;
}

.subcategory-container {
    padding-left: 20px;
    width: 100%;
}

.subcategory-list {
    display: none;
}

.subcategory-list.active {
    display: block;
}

.subcategory-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #d9534f;
    padding-bottom: 5px;
    color: #333;
}

.subcategory-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.subcategory-item .name {
    max-width: 700px;
}

.subcategory-item:nth-child(odd) {
}

.subcategory-item:nth-child(even) {
    background-color: #fff0f0;
}

.subcategory-item .price {
    font-weight: bold;
    color: #333;
}

@media (max-width: 768px) {

    .subcategory-item {
        display: block;
    }
    .subcategory-item .price {
        display: block;
        margin-top: 5px;
        padding-left: 0; /* Align with name */
        text-align: right;
        width: 100%;
    }
} 


@media (max-width: 500px) {
	body .subcategory-container {
		padding-left: 5px !important;
	}
	
	body .category-list {
		padding-right: 5px;
	}
}