.elementor-101916 .elementor-element.elementor-element-83a7253{--display:flex;--align-items:stretch;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );box-shadow:0px 0px 10px 0px rgba(0,0,0,0.5);--margin-top:0.5%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;}.elementor-101916 .elementor-element.elementor-element-83a7253:not(.elementor-motion-effects-element-type-background), .elementor-101916 .elementor-element.elementor-element-83a7253 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#D7D3CB;}.elementor-101916 .elementor-element.elementor-element-669c409{text-align:center;}.elementor-101916 .elementor-element.elementor-element-09f048e .woocommerce-breadcrumb{text-align:center;}.elementor-101916 .elementor-element.elementor-element-64dbbac{--display:flex;}.elementor-101916 .elementor-element.elementor-element-bbb7d77{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0.3% 0.3% 0.3% 0.3%;border-radius:5px 5px 5px 5px;}.elementor-101916 .elementor-element.elementor-element-bbb7d77.elementor-element{--align-self:stretch;}.elementor-101916 .elementor-element.elementor-element-54270f9{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;text-align:center;font-family:"IRANSans", IRAVSans;font-size:20px;font-weight:600;}.elementor-101916 .elementor-element.elementor-element-e171a7f.elementor-wc-products ul.products li.product{--button-align-display:flex;--button-align-direction:column;--button-align-justify:space-between;}.elementor-101916 .elementor-element.elementor-element-e171a7f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-101916 .elementor-element.elementor-element-e171a7f.elementor-wc-products ul.products li.product span.onsale{display:block;}.elementor-101916 .elementor-element.elementor-element-dbaeb07{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-101916 .elementor-element.elementor-element-049ac5c{text-align:justify;}@media(max-width:1024px){.elementor-101916 .elementor-element.elementor-element-e171a7f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-101916 .elementor-element.elementor-element-e171a7f.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for shortcode, class: .elementor-element-bbb7d77 *//* === عنوان دسته — در وسط عمودی === */
.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
    padding: 5px 0; /* فضای بالا و پایین — می‌تونی تغییرش بدی */
}

.category-intro {
    font-size: 17px;
    color: #666;
    margin-right: 8px;
    font-weight: 500;
}

.main-category-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
}

/* ریسپانسیو: فونت کوچک‌تر در موبایل */
@media (max-width: 767px) {
    .category-intro {
        font-size: 16px;
    }
    .main-category-title {
        font-size: 22px;
    }
}

/* === لیست زیرمجموعه‌ها === */
.subcategory-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
}

/* دسکتاپ */
@media (min-width: 1024px) {
    .subcategory-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: center;
        padding: 20px 20px;
    }
}

/* تبلت */
@media (min-width: 768px) and (max-width: 1023px) {
    .subcategory-grid {
        justify-content: center;
    }
}

/* موبایل */
@media (max-width: 767px) {
    .subcategory-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding: 20px 10px;
    }

    .subcategory-item {
        flex: 0 0 calc(50% - 2%);
        min-width: 120px;
        max-width: 160px;
        padding: 10px 8px;
    }

    .subcategory-image {
        width: 70px;
        height: 70px;
    }

    .subcategory-item h3 {
        font-size: 12px;
    }
}

/* آیتم‌ها */
.subcategory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    padding: 12px 8px;
    border-radius: 1%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: #fff;
    min-height: 140px; /* بالانس ارتفاع */
}

/* عکس */
.subcategory-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 10px;
    display: block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    background: #f9f9f9;
}

/* عنوان زیر عکس */
.subcategory-item h3 {
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
    color: #222;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 6px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'IRANSans';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://zdesign1.com/wp-content/uploads/2025/08/IRANSansXV.woff2') format('woff2'),
		url('https://zdesign1.com/wp-content/uploads/2025/08/IRANSansXV.woff') format('woff');
}
/* End Custom Fonts CSS */