.product-box {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    background: rgba(255, 0, 0, 0.1);
    position: relative;
    justify-content: space-between;
}

/* برچسب محصول پیشنهادی - روی بردر */
.product-tag {
    position: absolute;
    top: -25px;
    right: 15px;
    background: red;
    color: white;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 5px;
    font-weight: bold;
}

/* ستون اول: تصویر محصول */
.product-box .product-image {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-box .product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ستون دوم: عنوان و چکیده */
.product-info {
    flex-grow: 1;
    padding: 0 15px;
}

.product-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.product-separator {
    width: 50px;
    height: 2px;
    background: #aaa;
    margin: 5px 0;
}

.product-excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.5;
    max-width: 80%;
}

/* ستون سوم: قیمت و دکمه خرید */
.product-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.price {
    color: green;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 10px;
}

.buy-button {
    padding: 8px 14px;
    background: red;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    text-align: center;
    font-weight: bold;
}

.buy-button:hover {
    background: darkred;
}

/* ریسپانسیو برای موبایل */
@media screen and (max-width: 768px) {
    .product-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image {
        margin-bottom: 10px;
    }

    .product-info {
        padding: 10px;
        text-align: center;
    }

    .product-excerpt {
        max-width: 100%;
    }

    .product-action {
        align-items: center;
        margin-top: 10px;
    }

    .buy-button {
        width: 100%;
    }
}
