/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* استایل برای باکس نمایش دسته‌بندی‌ها */
.shop-categories-wrapper {
    background-color: #f7f7f7; /* رنگ پس‌زمینه */
    padding: 4px;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow-x: auto; /* فعال کردن اسکرول افقی در دسکتاپ */
}

.shop-categories {
    display: flex;
    flex-wrap: nowrap; /* جلوگیری از شکست در صورت پر شدن */
    
}

.shop-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5px;
    text-decoration: none;
    color: #333;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    transition: transform 0.3s ease;
    width: 180px; /* عرض ثابت برای دسته‌بندی‌ها */
}

.shop-category-item:hover {
    transform: scale(1.05); /* افکت بزرگتر شدن هنگام هاور */
    background-color: #1a9660;
    color: white;
}

.shop-category-item .category-image {
    width: 180px; /* عرض تصویر */
   object-fit: cover;
    margin-bottom: 10px; /* فاصله تصویر از نام دسته‌بندی */
}

.shop-category-item span {
    font-size: 14px;
 
}

.woocommerce-page .price del {
    text-decoration: line-through; 
    color: #dd1212; 
    font-size: 16px;
}



/* برای موبایل */
@media (max-width: 768px) {
    .shop-categories {
        flex-direction: row; /* نمایش افقی در موبایل */
    }
    
    .shop-category-item {
        width: 180px;
    }
	

    .shop-category-item .category-image {
        width: 180px;
		margin-bottom:3px;
       
    }

    .shop-category-item span {
        font-size: 12px;
    }
	

	
}

