/**
 * File: frontend-checkout-page.css
 * Purpose: Force 1350px Width by Breaking Theme Containers.
 */

/* 🚀 1. THE BREAKOUT FORCE (Theme Bypass) */
.daf-checkout-breakout-wrapper {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background: #f8fafc; /* Page background color */
    clear: both;
}

/* 🏗️ 2. ELITE 1350px INNER CONTAINER */
.daf-checkout-inner-limit {
    width: 100% !important;
    max-width: 1350px !important;
    margin: 0 auto !important;
    padding: 40px 20px;
    box-sizing: border-box !important;
}

/* 3. STABLE GRID (Anti-Break) */
.daf-checkout-grid {
    display: flex;
    flex-wrap: wrap; /* 100% zoom par agar jagah kam ho toh stack ho jaye */
    gap: 30px;
    justify-content: space-between;
}

/* Columns Width */
.billing-details { flex: 1 1 800px; } /* Billing details takes priority */
.order-review { flex: 1 1 420px; }   /* Summary takes rest of space */

/* 4. Elite Section Cards */
.daf-checkout-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.daf-section-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.step-badge {
    background: #8cc63f;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 15px;
    font-size: 14px;
}

/* 5. Inputs & Form UI */
.daf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.daf-field { margin-bottom: 20px; }
.daf-field label { display: block; font-weight: 600; margin-bottom: 8px; color: #64748b; }
.daf-field input, .daf-field textarea {
    width: 100%; padding: 15px; border: 2px solid #f1f5f9; border-radius: 12px;
    background: #f8fafc; font-size: 16px; box-sizing: border-box;
}

/* 6. Order Summary Box */
.daf-order-summary-box { background: #f8fafc; border-radius: 18px; padding: 25px; }
.daf-summary-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.daf-summary-total { display: flex; justify-content: space-between; padding-top: 20px; font-size: 22px; font-weight: 800; }
.total-price-tag { color: #8cc63f; }

/* 7. Action Button */
.daf-place-order-btn {
    width: 100%; background: #8cc63f; color: #fff; border: none; padding: 22px;
    font-size: 18px; font-weight: 800; border-radius: 18px; cursor: pointer;
    box-shadow: 0 10px 20px rgba(140, 198, 63, 0.3); transition: 0.3s;
}

/* ==========================================
   📱 RESPONSIVENESS
   ========================================== */
@media (max-width: 1350px) {
    .daf-checkout-breakout-wrapper { width: 100% !important; margin: 0 !important; left: 0 !important; }
}