/*--------------------------------------------------------------
# EMI Pricing Widget Styles
--------------------------------------------------------------*/

/* Wrapper */
.emi-pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Equal height (stretch) बंद करण्यासाठी */
    gap: 20px; /* Elementor control द्वारे override होईल */
}

/* Card Base */
.emi-pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--card-bg, #ffffff); /* CSS Variable */
    border-radius: 10px;
    overflow: hidden; 
    transition: all 0.3s ease;
    box-sizing: border-box;
    border: 1px solid #eaeaea;
    
    /* Layout Variables from Elementor */
    height: auto !important; /* JS ला override करण्यासाठी */
    min-height: var(--card-min-height, auto);
    margin-top: var(--card-offset, 0);
    order: var(--card-order, 0);
}

/* Featured Card Enhancement */
.emi-pricing-card.featured {
    z-index: 2; /* Scale झाल्यावर इतर कार्ड्सच्या वर दिसण्यासाठी */
}

/* Badge */
.emi-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background-color: var(--badge-bg, #ff4a4a);
    color: var(--badge-color, #ffffff);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Header Section */
.emi-card-header {
    padding: 30px 20px 20px;
    text-align: center;
    background-color: var(--header-bg, #ffffff); 
}

.emi-duration {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    color: #222222; /* Elementor Global Control द्वारे override होईल */
}

/* Description Section */
.emi-card-description {
    padding: 15px 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
    background-color: var(--desc-bg, #f8f9fa);
    border-bottom: 1px solid #eeeeee;
}

/* Content Section (Values & Labels) */
.emi-card-content {
    padding: 25px 20px;
    flex: 1; 
    display: flex;
    flex-direction: column;
    background-color: var(--content-bg, #ffffff);
}

/* Row Layout */
.emi-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;flex-direction: column;
}

.emi-row:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

/* Labels */
.emi-label {
    font-size: var(--label-size, 15px);
    font-weight: var(--label-weight, 500);
    color: var(--label-color, #555555);
}

/* Values */
.emi-value {
    font-size: var(--value-size, 16px);
    font-weight: var(--value-weight, 700);
    color: var(--value-color, #111111);
    text-align: right;
}

/* Button */
.emi-button-wrapper {
    margin-top: auto; 
    padding-top: 25px;
}

.emi-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #007bff; /* Elementor ग्लोबल स्टाईल टॅबमधून ओव्हरराईड होईल */
    color: #ffffff;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.emi-button:hover {
    background-color: #0056b3;
    color: #ffffff;
}