/**
 * استایل‌های بخش قیمت به سبک دیجی‌کالا
 */

/* استایل باکس قیمت */
.digikala-price-box {
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    background-color: #fcfcfc;
    padding: 15px;
    margin: 20px 0;
}

/* هدر باکس قیمت */
.price-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.price-box-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
    color: #666;
}

.guarantee-badge i {
    color: #2e7d32;
    font-size: 14px;
}

/* بخش قیمت اصلی */
.price-main {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.price-label {
    font-size: 13px;
    color: #666;
}

.final-price {
    font-size: 20px;
    font-weight: 700;
    color: #2e7d32;
}

.price-unit {
    font-size: 13px;
    color: #666;
    margin-right: 5px;
    font-weight: normal;
}

/* تخفیف قیمت */
.discount-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fceeee;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 10px;
}

.original-price-label {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.original-price-value {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background-color: #ef394e;
    color: white;
    border-radius: 15px;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
}

/* ارسال و تحویل */
.delivery-options {
    padding: 15px 0;
}

.delivery-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.delivery-title i {
    color: #2e7d32;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.delivery-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
}

.delivery-info {
    font-size: 12px;
    color: #666;
    flex-grow: 1;
}

.delivery-type {
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

/* نسخه موبایل */
@media (max-width: 991px) {
    .digikala-price-box {
        border-radius: 0;
        border-left: none;
        border-right: none;
        margin: 15px -15px;
        padding: 15px;
    }
    
    .sticky-add-to-cart {
        padding: 10px 15px;
        background-color: white;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f0f0f0;
    }
    
    .sticky-price {
        display: flex;
        flex-direction: column;
    }
    
    .sticky-original-price {
        font-size: 12px;
        color: #999;
        text-decoration: line-through;
    }
    
    .sticky-current-price {
        font-size: 16px;
        font-weight: 700;
        color: #2e7d32;
    }
    
    .sticky-add-to-cart-btn {
        background-color: #2e7d32;
        color: white;
        border: none;
        border-radius: 8px;
        padding: 8px 20px;
        font-size: 14px;
        font-weight: 600;
    }
} 