/* صفحه /products — جدا از استایل‌های اختصاصی هوم در home-figma.css */

.ct-product-categories-page .ct-categories--product-page {
    margin-top: 0;
}

.ct-product-categories-page a.ct-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* Product grid: lg card look at all breakpoints; columns 2 (sm) / 3 (md) / 5 (lg+) */
.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
}

.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    height: auto !important;
    transform: none !important;
}

.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .swiper-slide {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
}

.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .ct-category,
.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .ct-category--catalog {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 4px 14px rgba(24, 57, 81, 0.06);
}

.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .ct-category > img {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    /* height: 202px; */
    object-fit: contain;
    object-position: center;
    background: #eef2f6;
}

.ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .ct-category__title {
    flex: 1 1 auto;
    margin: 0;
    padding: 8px 10px 10px;
    background: #fff;
    color: #173850;
    font-family: "42dot Sans", font-Medium, tahoma, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 48px;
}

/* md: 3 per row */
@media (min-width: 768px) and (max-width: 991.98px) {
    .ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .swiper-wrapper {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* lg+: 5 per row (unchanged) */
@media (min-width: 992px) {
    .ct-product-categories-page .ct-categories--product-page .ct-category-swiper--product-grid .swiper-wrapper {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}

.ct-pcat-head {
    width: 100%;
    margin: 0 0 20px;
}

.ct-pcat-head__title .about-us-head {
    margin: 0;
    color: #173850;
    font-family: "42dot Sans", font-ExtraBold, tahoma, sans-serif;
    font-size: var(--ct-headline-3, 28px);
    line-height: 35px;
}

.ct-pcat-head__nav {
    display: flex;
    margin-top: 12px;
}

.ct-pcat-head__crumb {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    background: transparent;
}

.ct-pcat-head__crumb .breadcrumb-item,
.ct-pcat-head__crumb .breadcrumb-item a {
    color: #6e7b85;
    font-family: font-Medium, tahoma, sans-serif;
    font-size: 14px;
    line-height: 22px;
}

.ct-pcat-head__crumb .breadcrumb-item.active {
    color: #173850;
}

.ct-pcat-head__crumb .breadcrumb-item + .breadcrumb-item::before {
    float: none;
    color: #b7c0cb;
}

.ct-faq-page__wrap {
    width: 100%;
}

.ct-faq-page .col-lg-7 > .ct-pcat-head {
    margin-bottom: 20px;
}

.ct-faq-page .ct-faq {
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
}

.ct-faq-page .ct-faq__head {
    text-align: center;
}

@media (max-width: 767.98px) {
    .ct-faq-page .ct-faq__head h1,
    .ct-faq-page .ct-faq__head .ct-faq__page-title {
        font-size: var(--ct-headline-5, 21px);
    }

    .ct-pcat-head__title {
        font-size: var(--ct-headline-5, 21px);
        line-height: 28px;
    }

    .ct-pcat-head__crumb .breadcrumb-item,
    .ct-pcat-head__crumb .breadcrumb-item a {
        font-size: 12px;
    }
}
