﻿.widget-product-categories {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

.cat-header {
    background: linear-gradient(135deg, #e87c15 0%, #f1a55e 100%);
    border-radius: 10px 10px 0 0;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

    .cat-header h2 {
        margin: 0;
    }

    .cat-header .btn {
        color: #ffffff; /* رنگ فونت سفید برای دکمه */
        font-size: 18px;
        font-weight: 600;
        padding: 12px 15px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: transparent;
        border: none;
        transition: all 0.3s ease;
    }

        .cat-header .btn:hover {
            color: #ffd700; /* زرد شدن موقع هاور */
        }

.mdi-chevron-down {
    transition: transform 0.3s ease;
}

.cat-header .btn[aria-expanded="true"] .mdi-chevron-down {
    transform: rotate(180deg);
}

.product-filter {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.card-main {
    padding: 15px;
}

.form-auth-row {
    margin: 2px 0;
    transition: all 0.3s ease;
}

    .form-auth-row a {
        display: block;
        padding: 4px 1px 4px 40px; /* تنظیم padding برای آیکن از چپ */
        color: #2b2d42;
        text-decoration: none;
        font-size: 14px;
        border-radius: 8px;
        background: #f8f9fa;
        transition: all 0.3s ease;
        position: relative;
    }

        .form-auth-row a::before {
            content: '\f053'; /* فلش چپ از FontAwesome */
            font-family: 'FontAwesome';
            position: absolute;
            left: 15px; /* آیکن از چپ */
            top: 50%;
            transform: translateY(-50%);
            color: #2b2d42;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .form-auth-row a:hover {
            background: #4a4e69;
            color: white;
            transform: translateX(5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

            .form-auth-row a:hover::before {
                color: white;
            }

@media (max-width: 768px) {
    .cat-header .btn {
        font-size: 16px;
    }

    .form-auth-row a {
        font-size: 14px;
        padding: 10px 12px 10px 40px; /* تنظیم padding در ریسپانسیو */
    }
}
