.shop-container {
    padding: 20px 0;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.shop-content {
    display: flex;
    gap: 20px;
}

.woocommerce ul.products li.product {
    text-align: right;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-color);
    transition: opacity 0.3s;
}

.woocommerce ul.products li.product:hover img {
    opacity: 0.9;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-weight: 500;
    color: var(--text-color);
    margin: 12px 10px;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    margin: 0 10px 12px;
    font-weight: bold;
    color: var(--primary-color);
}

.woocommerce ul.products li.product .button {
    background: var(--primary-color);
    color: #fff;
    border-radius: 0;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    transition: background 0.3s;
}

.woocommerce ul.products li.product .button:hover {
    background: var(--primary-hover);
}

.woocommerce-result-count {
    display: none;
}

@media (max-width: 768px) {
    .shop-content {
        flex-direction: column;
    }
    .shop-products, .shop-sidebar {
        width: 100%;
    }
    .shop-sidebar {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }
    .woocommerce ul.products li.product {
        width: 100%;
        margin-bottom: 20px;
    }
}






/* این کد برای اطمینان از نمایش توضیحات در زیر محصولات است */
.shop-content .woocommerce-product-description {
    display: block; /* نمایش به صورت بلوک */
    width: 100%; /* اشغال تمام عرض */
    margin-top: 30px; /* فاصله از محصولات بالا */
}