/*
Theme Name: Zephyr Child
Template: Zephyr
Version: 1.0
Author:	UpSolution
Theme URI: http://zephyr.us-themes.com/
Author URI: http://us-themes.com/
*/

/* اللّهمّ اغننا بحلالك عن حرامك، و بطاعتك عن معصيتك، و بفضلك عمّن سواك */

/*Add your own styles here:*/
@font-face {
    font-family: My_font;
    font-weight: 200;
    src:  url('file/font/Sahel-Light-FD.woff2') format('woff2'),
    url('file/font/Sahel-Light-FD.woff') format('woff'),
    url('file/font/Sahel-Light-FD.ttf') format('truetype');
}

@font-face {
    font-family: My_font;
    font-weight: 400;
    src:  url('file/font/Sahel-FD.woff2') format('woff2'),
    url('file/font/Sahel-FD.woff') format('woff'),
    url('file/font/Sahel-FD.ttf') format('truetype');
}

@font-face {
    font-family: My_font;
    font-weight: 500;
    src:  url('file/font/Sahel-SemiBold-FD.woff2') format('woff2'),
    url('file/font/Sahel-SemiBold-FD.woff') format('woff'),
    url('file/font/Sahel-SemiBold-FD.ttf') format('truetype');
}

@font-face {
    font-family: My_font;
    font-weight: bold;
    src:   url('file/font/Sahel-Bold-FD.woff2') format('woff2'),
    url('file/font/Sahel-Bold-FD.woff') format('woff'),
    url('file/font/Sahel-Bold-FD.ttf') format('truetype');
}

@font-face {
    font-family: My_font;
    font-weight: 900;
    src:  url('file/font/Sahel-Black-FD.woff2') format('woff2'),
    url('file/font/Sahel-Black-FD.woff') format('woff'),
    url('file/font/Sahel-Black-FD.ttf') format('truetype');
}

body *:not(i):not(.ab-icon):not(.ld-icon):not(.font_title):not(.dashicons):not(.star):not(.star-rating):not(.star-rating *):not(.icon):not(.gform-icon):not(.gform-st-icon):not(.qt-dfw) {
	font-family: My_font, serif !important;
}

/* new */
.w-grid-list .product {
	    padding: 10px !important;
}

@media (max-width: 768px) {
    .products .product {
        width: 48% !important;
        margin-bottom: 20px !important;
        float: right !important;
    }
    
    .product-title {
        font-size: 14px !important;
        line-height: 1.4 !important;
        height: auto !important;
        text-align: right !important;
    }
    
    .price {
        font-size: 13px !important;
        text-align: right !important;
    }
    
    /* پاکسازی float ها */
    .products .product:nth-child(2n+1) {
        clear: both !important;
    }
	/* تنظیم ۲ ستونه زیبا برای موبایل */
@media (max-width: 768px) {
    .woocommerce ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        margin: 0 10px !important;
    }
    
    .woocommerce ul.products li.product {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
        border: 1px solid #eee !important;
        border-radius: 10px !important;
        text-align: center !important;
    }
    
    .woocommerce-loop-product__title {
        font-size: 13px !important;
        line-height: 1.4 !important;
        height: auto !important;
        margin: 10px 0 !important;
    }
    
    .price {
        font-size: 12px !important;
        margin: 5px 0 !important;
    }
}