.elementor-34334 .elementor-element.elementor-element-40f4355{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:0%;--padding-right:0%;}.elementor-34334 .elementor-element.elementor-element-e1d587b .product{text-align:center;}.elementor-34334 .elementor-element.elementor-element-e1d587b{margin:0% 7% calc(var(--kit-widget-spacing, 0px) + 0%) 0%;padding:0% 0% 0% 0%;}.elementor-34334 .elementor-element.elementor-element-e1d587b.elementor-element{--align-self:center;--flex-grow:0;--flex-shrink:1;}.elementor-34334 .elementor-element.elementor-element-e1d587b.elementor-wc-products  ul.products{grid-column-gap:10px;grid-row-gap:10px;}.elementor-34334 .elementor-element.elementor-element-e30f05c{--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-34334 .elementor-element.elementor-element-43cc850{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:5% 5% 5% 5%;text-align:center;}:root{--page-title-display:none;}@media(max-width:768px){.elementor-34334 .elementor-element.elementor-element-e1d587b{margin:0% 0% calc(var(--kit-widget-spacing, 0px) + 0%) 0%;}}@media(min-width:769px){.elementor-34334 .elementor-element.elementor-element-40f4355{--width:90%;}}/* Start custom CSS for wc-categories, class: .elementor-element-e1d587b *//* --- ظرف اصلی: جلوگیری از کش آمدن در مانیتورهای عریض --- */
.cat-design-zoom-out {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto !important;
    padding: 20px 20px;
    box-sizing: border-box;
}

/* --- شبکه هوشمند (Grid) --- */
.cat-design-zoom-out .wd-cat-grid,
.cat-design-zoom-out .wd-cats,
.cat-design-zoom-out .wd-categories,
.cat-design-zoom-out .products {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    justify-content: center !important;
}

/* --- تنظیم دسکتاپ: ۶ ستونه (باکس‌های ظریف) --- */
.cat-design-zoom-out .wd-cat-wrap,
.cat-design-zoom-out .product,
.cat-design-zoom-out .wd-cat {
    flex: 0 1 calc(16.66% - 12px) !important; 
    min-width: 110px;
    max-width: 160px;
    box-sizing: border-box;
}

/* --- تبلت: ۴ ستونه --- */
@media (max-width: 1024px) {
    .cat-design-zoom-out .wd-cat-wrap,
    .cat-design-zoom-out .product,
    .cat-design-zoom-out .wd-cat {
        flex: 0 1 calc(25% - 12px) !important;
        max-width: 180px;
    }
}

/* --- موبایل: ۲ ستونه (برای بزرگتر شدن باکس‌ها) --- */
@media (max-width: 640px) {
    .cat-design-zoom-out .wd-cat-wrap,
    .cat-design-zoom-out .product,
    .cat-design-zoom-out .wd-cat {
        /* تغییر به ۵۰٪ برای نمایش ۲ باکس در هر ردیف */
        flex: 0 1 calc(50% - 12px) !important;
        max-width: 220px; /* افزایش سقف عرض برای پر کردن صفحه */
        min-width: 140px;
    }
    
    .cat-design-zoom-out {
        padding: 15px 10px; /* کاهش پدینگ برای فضای بیشتر */
    }
}

/* --- حفظ ساختار مربعی و بهینه --- */
.cat-design-zoom-out .wd-cat-inner {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important; 
    position: relative;
    overflow: hidden;
    border-radius: 0px !important;
    background: transparent !important;
}

.cat-design-zoom-out .wd-cat-inner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* حذف تنظیمات اضافی قالب برای حاشیه */
:is(.products-bordered-grid-ins,.wd-products-with-bg:not(.products-bordered-grid),.wd-products-with-shadow:not(.products-bordered-grid)) .wd-cat {
    --wd-prod-bg-sp: 0px;
}

html .page-title > .container > .title, html .main-page-wrapper .wd-product .product-wrapper .wd-entities-title, html .product.category-grid-item .wd-entities-title, html .product.category-grid-item.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .category-grid-item:first-child .wd-entities-title, html .product.wd-cat .wd-entities-title, html .product-image-summary-wrap .product_title, html .wd-single-title .product_title, html .product-quick-view .product_title, html table th {
    color: #f9f9f9;
    font-size: 16px;}
    
    .cat-design-zoom-out .wd-entities-title {
    background-color: transparent !important;}
    
        .cat-design-zoom-out .wd-cat-count {
        color: #858585;
        font-size: 10px;}
        
        
      /* فقط برای دسکتاپ */
@media (min-width: 1024px) {
    .elementor-34334 .elementor-element.elementor-element-40f4355 {
        display: contents;
    }
    
    .row {
        display: contents;
    }
}/* End custom CSS */
/* Start custom CSS */.sidebar-container, .site-content {
    display: none !important;
}/* End custom CSS */