/*
 Theme Name:   Parskala Child
 Template:     parskala
 Version:      1.0.0
*/

/* قرارگیری QR کد کنار دکمه‌ها */
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* وسط چین عمودی */
    gap: 10px;
}

.qrcode-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px; /* میتونی اندازه دلخواه بدی */
}

.qrcode-inline img {
    max-width: 80px; /* اندازه QR */
    height: auto;
}












/* ریست کامل برای جلوگیری از تداخل قالب */
.pro-product-card, 
.pro-product-card * {
    box-sizing: border-box;
    direction: rtl !important;
}

/* کارت محصول */
.pro-product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 20px !important;

    background: #ffffff;
    border: 1px solid #dfdfdf;
    border-radius: 18px;
    padding: 18px;
    margin: 30px auto !important;

    width: 100%;
    max-width: 520px;

    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    transition: all .25s ease;

    text-align: right !important;
    line-height: 1.6 !important;

    float: none !important;
    clear: both !important;
}

/* حالت هاور */
.pro-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* بخش تصویر */
.pro-product-img-holder {
    min-width: 160px !important;
    max-width: 160px !important;
}

.pro-product-img-holder img {
    width: 100% !important;
    height: auto !important;
    border-radius: 14px;
    display: block;
}

/* بخش اطلاعات */
.pro-product-info {
    flex: 1 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-product-title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 !important;
    color: #222;
    line-height: 1.4 !important;
}

.pro-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
}

/* دکمه خرید */
.pro-btn {
    background: #3498db !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: inline-block !important;
    width: fit-content !important;
    text-decoration: none !important;
}

.pro-btn:hover {
    background: #217dbb !important;
}

/* نسخه موبایل */
@media (max-width: 600px) {
    .pro-product-card {
        flex-direction: column !important;
        text-align: center !important;
    }

    .pro-product-img-holder {
        max-width: 70% !important;
        margin: 0 auto !important;
    }

    .pro-product-title {
        font-size: 18px !important;
    }
}
