a.link-underline {
    text-decoration: underline;
    color: #2572ff;

}

.remove-order {
    color: red;
    font-size: 11pt
}

.cursor-pointer {
    cursor: pointer;

}

.cart-warning {
    margin: 50px;
}


a.link-underline:hover {
    color: #042e7a;
    text-decoration: underline;
}

a.link-underline:active {
    color: rebeccapurple;
}

/*course video*/
.r1_iframe_embed {
    position: relative;
    overflow: hidden;
    width: 700px;
    height: auto;
    padding-top: 56.25%;
}

@media (max-width: 750px) {
    /*course video*/
    .r1_iframe_embed {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: auto;
        padding-top: 56.25%;
    }
}

.r1_iframe_embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* style for home page above newest courses */
.feature-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 20px auto 40px;
    max-width: 900px;
    direction: rtl;
}

.feature-box {
    flex: 1;
    min-width: 260px;
    background: #ffffff;
    padding: 18px 0px;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.22s ease;
}

/*.feature-box::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 20%;*/
/*    width: 60%;*/
/*    height: 3px;*/
/*    background: linear-gradient(90deg, #ff6f9e, #ffa36e);*/
/*    border-radius: 10px;*/
/*}*/

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #5e7761;
    margin-bottom: 4px;
}

.feature-sub {
    font-size: 13px;
    opacity: 0.75;
}


@media (max-width: 750px) {
    .feature-wrapper {
        flex-direction: column;
        gap: 15px;
        max-width: 92%;
    }
}

.foreign-help {
    margin-top: 12px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e6ecf1;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    color: #444;
    line-height: 1.9;
}

.foreign-help a {
    color: #0088cc;
    font-weight: 600;
    text-decoration: none;
}

.foreign-help a:hover {
    text-decoration: underline;
}

/* style for home page above newest courses */

.feature-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin: 20px auto 40px;
    max-width: 900px;
    direction: rtl;
}

.feature-box {
    display: flex;
    align-items: center; /* تراز عمودی آیکون و متن */
    justify-content: center; /* مرکز کردن در دسکتاپ */
    flex: 1;
    min-width: 260px;
    background: #ffffff;
    padding: 15px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.09);
    transition: all 0.22s ease;
    gap: 15px; /* فاصله بین آیکون و متن */
}

.feature-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #5e7761;
    margin-bottom: 4px;
    text-align: center;
}

.feature-sub {
    font-size: 13px;
    opacity: 0.75;
    text-align: center;
}

/* مدیریت موبایل */
@media (max-width: 750px) {
    .feature-wrapper { flex-direction: column; gap: 15px; max-width: 95%; }
    .feature-box { padding: 10px 10px 10px 25px; }
    .feature-title { font-size: 14px; white-space: nowrap; }
    .feature-sub { font-size: 12px; }

}
