/* =====================================
Price Chart 2685
===================================== */

.price2685-chart-trigger {

    width: 100%;
}

.price2685-open-chart {
    width: 100%;
    display: block;
    text-align: center;
    background: #F1F5F9;
    color: #334155;
    border: 1px solid #E2E8F0;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: 'IRANYekanXVF', sans-serif !important;
}

.price2685-open-chart:hover {
    background: #E2E8F0;
    color: #0F172A;
}


/* =====================================
Popup
===================================== */
.price2685-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.price2685-popup.active {
    display: flex;
}

/* overlay */

.price2685-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

/* content */

.price2685-popup-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 720px;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.25);
    z-index: 2;
    direction: rtl;
}

/* close button */

.price2685-close {
    position: absolute;
    left: 15px;
    top: 12px;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    color: #777;
}

.price2685-close:hover {
    color: #000;
}

/* title */

.price2685-title {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* =====================================
Stats
===================================== */

.price2685-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.price2685-stat {
    flex: 1;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 10px 12px;
}

.price2685-stat span {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 4px;
}

.price2685-stat strong {
    font-size: 14px;
    color: #333;
}

/* =====================================
Chart
===================================== */

.price2685-chart-wrapper {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

#price2685-chart {
    width: 100%;
    height: 100%;
}

/* =====================================
Range Buttons
===================================== */

.price2685-range {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.price2685-range button {
    border: 1px solid #e0e0e0;
    background: #fff;
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .2s ease;
}

.price2685-range button:hover {
    background: #f5f5f5;
}

.price2685-range button.active {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
}

/* =====================================
Responsive
===================================== */

@media (max-width: 600px) {

    .price2685-popup-content {
        padding: 14px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .price2685-chart-wrapper {

        height: 220px;
        margin-bottom: 12px;
    }

    .price2685-stats {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }

    .price2685-stat {
        padding: 8px 10px;
    }

    .price2685-stat span {
        font-size: 11px;
        margin-bottom: 2px;
    }

    .price2685-stat strong {
        font-size: 13px;
    }

    /* ===== بخش extra (۳۰ روز + درصد کاهش) ===== */
    .price2685-extra {
        display: flex;
        gap: 8px;
    }

    .price2685-extra .price2685-stat {
        flex: 1;
        text-align: center;
    }
    
    
    
    
    
    
    
    
    

}
















@font-face{
font-family:'IRANYekanX';
src:url('/wp-content/themes/2685/assets/fonts/IRANYekanXVF.woff2') format('woff2');
font-weight:100 900;
font-style:normal;
font-display:swap;
}

.price2685-modal,
.price2685-modal *{
font-family:'IRANYekanX',Tahoma,sans-serif !important;
}
















