#menu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.menu-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.menu-tag:hover {
    background: #f0f0f0;
    border-color: #d5d5d5;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.menu-tag.active {
    background: #e8f5e9;
    border-color: #66bb6a;
    color: #2e7d32;
    font-weight: 600;
}

.menu-tag__img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    display: none;
}

.menu-tag.has-image .menu-tag__img {
    display: block;
}

.menu-tag__text {
    display: block;
}

@media (max-width: 768px) {
    #menu-tags {
        gap: 8px;
        margin: 15px 0;
    }
    
    .menu-tag {
        padding: 6px 12px;
        font-size: 13px;
        gap: 6px;
    }
    
    .menu-tag__img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    #menu-tags {
        gap: 6px;
    }
    
    .menu-tag {
        padding: 5px 10px;
        font-size: 12px;
        gap: 5px;
    }
    
    .menu-tag__img {
        width: 18px;
        height: 18px;
    }
}

#content > h1.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 30px 0 !important;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8e8e8;
    line-height: 1.3;
}

.subcategories-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
}

.subcategories-list li {
    margin: 8px 0 !important;
}

.subcategory-button {
    display: inline-block !important;
    color: #555 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: all 0.2s ease !important;
    padding: 10px 14px !important;
    background: #f9f9f9 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 6px !important;
    margin: 0 !important;
}

.subcategory-button:hover {
    color: #2e7d32 !important;
    font-weight: 500 !important;
    background: #e8f5e9 !important;
    border-color: #66bb6a !important;
    text-decoration: none !important;
}

.product-thumb {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.product-thumb:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #ddd;
    transform: translateY(-2px);
}

.product-thumb .image {
    background: #fff;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.product-thumb .image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-thumb .image img {
    border-radius: 4px;
    max-width: 100%;
    height: auto;
}

.product-thumb .caption {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-thumb .category_name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-thumb .category_name a {
    color: #333;
    text-decoration: none;
}

.product-thumb .category_name a:hover {
    color: #66bb6a;
}

.product-thumb .category_description {
    font-size: 12px !important;
    color: #777 !important;
    margin: 0 0 10px 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    line-height: 1.4 !important;
}

.product-thumb .category_price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

.product-thumb .price {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
}

.product-thumb .special_price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-thumb .price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-thumb .price-tax {
    font-size: 11px;
    color: #999;
    display: block;
}

.product-thumb .btn {
    padding: 8px 12px;
    background: #66bb6a;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.product-thumb .btn:hover {
    background: #4caf50;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.product-thumb .btn:active {
    background: #388e3c;
}

@media (max-width: 768px) {
    #content > h1.page-title {
        font-size: 24px;
        margin: 0 0 25px 0 !important;
    }
    
    .product-thumb {
        margin-bottom: 15px;
    }
    
    .product-thumb .image a {
        min-height: 150px;
    }
    
    .product-thumb .category_name {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
    
    .product-thumb .price {
        font-size: 16px;
    }
    
    .subcategory-button {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    #content > h1.page-title {
        font-size: 20px;
        margin: 0 0 15px 0 !important;
    }
    
    .product-thumb {
        margin-bottom: 12px;
    }
    
    .product-thumb .image a {
        min-height: 120px;
    }
    
    .product-thumb .category_name {
        font-size: 12px;
    }
    
    .product-thumb .price {
        font-size: 14px;
    }
    
    .product-thumb .btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .subcategory-button {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }
}
