/* ================================================================ */
/* صفحه دسته‌بندی محصولات                                           */
/* ================================================================ */

/* ---------------------------------------------------------------- */
/* PAGE HERO - هیرو کوچک                                            */
/* ---------------------------------------------------------------- */
.page-hero {
    min-height: 40vh;
    position: relative;
    background: url('/image/products-background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 72px;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.7) 100%);
}
.page-hero-content { position: relative; z-index: 2; padding: 1rem; }
.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}
.page-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}
.page-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.page-hero-breadcrumb a { color: var(--accent); text-decoration: none; transition: var(--transition); }
.page-hero-breadcrumb a:hover { color: var(--accent-light); }

/* ---------------------------------------------------------------- */
/* بخش دسته‌بندی                                                    */
/* ---------------------------------------------------------------- */
.products-list-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-title {
    font-size: clamp(1.6rem, 4vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================================================ */
/* کارت‌های دسته‌بندی با عکس                                       */
/* ================================================================ */

.category-card-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.category-card-link:hover {
    transform: translateY(-8px);
}

.category-card {
    background: var(--bg-white);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--primary-light);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.category-card-link:hover .category-card::before {
    transform: scaleY(1);
}

.category-card-link:hover .category-card {
    border-bottom-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

/* ====== عکس گرد ====== */
.category-image {
    width: 140px;        /* از 100 به 140 */
    height: 140px;       /* از 100 به 140 */
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 3px solid var(--primary-light);
}

.category-card-link:hover .category-image {
    transform: scale(1.05);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card-link:hover .category-image img {
    transform: scale(1.1);
}

.category-card-link:hover .category-image img {
    transform: scale(1.1);
}

/* ====== متن‌ها ====== */
.category-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.category-card-link:hover .category-card h3 {
    color: var(--accent);
}

.category-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.category-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.category-card-link:hover .category-more {
    gap: 12px;
    color: var(--accent-dark);
}

/* ---------------------------------------------------------------- */
/* ریسپانسیو                                                       */
/* ---------------------------------------------------------------- */

/* تبلت */
@media (max-width: 768px) {
    .category-image {
        width: 120px;
        height: 120px;
    }
}

/* موبایل */
@media (max-width: 576px) {
    .category-image {
        width: 100px;
        height: 100px;
    }
}