/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */
<div class="sticky-add-to-cart">
    <a href="javascript:void(0);" onclick="document.querySelector('.single_add_to_cart_button').click();">
        🛒 افزودن به سبد خرید
    </a>
</div>

img {
    border-radius: 15px;
}

.featured-area iframe, .featured-area img {
    border-radius: 15px;
}

/* استایل کلی نوار مراحل */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto;
    padding: 20px;
    max-width: 800px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* هر مرحله از فرآیند */
.step {
    text-align: center;
    flex: 1;
    position: relative;
}

/* دایره اعداد */
.circle {
    width: 40px;
    height: 40px;
    background: #ddd;
    color: #666;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
    transition: 0.3s;
}

/* خطوط بین مراحل */
.step::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    background: #ddd;
    top: 18px;
    left: 50%;
    z-index: -1;
}

.step:last-child::after {
    display: none;
}

/* نوشته مراحل */
.step p {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

/* استایل مرحله فعال */
.step.active .circle {
    background: #007bff;
    color: white;
}

/* تغییر رنگ خطوط بین مراحل فعال */
.step.active::after {
    background: #007bff;
}
