@font-face {
    font-family: "Vazir";
    src: url("../fonts/Vazir.eot");
    /* IE9 Compat Modes */
    src: url("../fonts/Vazir.eot?#iefix") format("embedded-opentype"),
    url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.ttf") format("truetype");
    /* Safari, Android, iOS */
}

body {
    font-family: "Vazir" !important;


    background: linear-gradient(to right, #F5FCFF, #DBF3FA);
    min-height: 100vh;

}


.img-details{
    width: 230px;
    height: 300px;
    border-radius: 20px;
}
.p-details{
    color: #113F67FF;
}
span{
    color: black;
}
.btn-shop{
    background-color: #113F67FF;
    color: white;
}
.btn-shop:hover{
    background-color: #113F67FF;
    color: white;
}
.li-hover{
    transition: transform 0.5s ease;
}
.li-hover:hover{
    color: #113F67FF;
    transform: translateY(-3px);
}
.box-hover{
    transition: transform 0.5s ease;
}
.box-hover:hover{
    transform: translateY(-5px);
}
.tag{
    color: #113F67FF;
    border: 1px solid #113F67FF;
    border-radius: 9999px;
    transition: background-color 0.5s ease, color 0.5s ease;
}
.tag:hover{
    color: white;
    border: 1px solid #113F67FF;
    background-color: #113F67FF;
}


/* ===== خطوط تزئینی و ساختار بالایی ===== */
.author-photo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.decorative-line {
    flex: 1;
    height: 12px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'><path d='M0 5 Q 25 0, 50 5 T 100 5' stroke='%23113F67' stroke-width='2' fill='none' /></svg>")
    repeat-x;
    background-size: 40px 10px;
    opacity: 0.6;
}

/* ===== عکس نویسنده ===== */
.author-photo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #113F67;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.author-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-photo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(17,63,103,0.4);
}

/* ===== عنوان ===== */
.author-photo-wrapper h4 {
    color: #113F67;
    font-weight: 700;
    margin: 0;
}

/* ===== متن داخل باکس ===== */
/*.box-hover p {*/
/*    text-align: justify;*/
/*    text-justify: inter-word;*/
/*    line-height: 1.8;*/
/*    direction: rtl;*/
/*    margin-bottom: 0;*/
/*}*/

/* ===== هم‌ارتفاع کردن باکس‌ها ===== */
.equal-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

/*.box-hover {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    justify-content: space-between;*/
/*    flex: 1;*/
/*}*/

/* ===== ریسپانسیو ===== */
@media (max-width: 768px) {
    .author-photo-wrapper {
        flex-direction: column;
    }
    .decorative-line {
        width: 60%;
    }
}


/*نظرات*/

.review-card {
    border: none;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
    transition: 0.2s;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.review-header img {
    border: 2px solid #eee;
    padding: 2px;
}

.review-stars {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.review-title {
    margin-top: 8px;
    font-size: 1.05rem;
}

.review-text {
    color: #555;
    line-height: 1.8;
}
.reply-box {
    margin-top: 15px;
    padding-right: 20px;
    border-right: 3px solid #e5e5e5;
}

.reply-card {
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.reply-user {
    font-weight: 600;
    font-size: 0.9rem;
}

.reply-text {
    color: #555;
    margin-top: 5px;
}

.reply-form textarea {
    font-size: 0.9rem;
}