/**
 * File: single-product-purchase-card.css
 * Purpose: Full-Width Qty Box with Round Buttons & Premium Layout.
 * Updates: Removed width restrictions on Qty row to allow full stretch.
 */

/* 🚀 1. MAIN CONTAINER */
.daf-purchase-box-elite {
    background: #ffffff !important;
    border: 1px solid #e1e4e8 !important;
    padding: 30px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 520px !important;
    position: relative !important;
    border-radius: 0 !important;
}

/* 🚀 2. ELITE HEADER (License Left | Price Right) */
.daf-buy-box-header-elite {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 20px !important;
    width: 100% !important;
}

.daf-license-dropdown-wrap {
    position: relative !important;
    flex: 1 !important;
}

.daf-license-trigger-elite {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #2271b1 !important;
    border: none !important;
    padding: 0 !important;
}

.daf-license-trigger-elite:hover { color: #1e293b !important; }

/* Options Menu */
.daf-license-options-elite {
    position: absolute !important;
    top: 30px !important;
    left: 0 !important;
    width: 260px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    z-index: 100 !important;
    display: none;
}

.daf-opt-item {
    display: flex !important;
    justify-content: space-between !important;
    padding: 12px 15px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.daf-opt-item:last-child { border-bottom: none !important; }

.daf-opt-item:hover, .daf-opt-item.active {
    background: #f8fafc !important;
    color: #2271b1 !important;
}

.daf-opt-price { font-weight: 700 !important; color: #0f172a !important; }

/* Price Styling */
.daf-price-display-elite {
    display: flex !important;
    align-items: flex-start !important;
    gap: 2px !important;
}

.daf-currency {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-top: 6px !important;
}

.daf-amount-main {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1 !important;
}

/* 🚀 3. INFO BOX & PERKS */
.daf-license-info-box { margin-bottom: 20px !important; }
.daf-license-info-box p { font-size: 14px !important; color: #666 !important; line-height: 1.5 !important; }

.daf-item-perks-elite { margin-bottom: 25px !important; }
.daf-perk-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: #475569 !important;
    margin-bottom: 8px !important;
}
.daf-perk-row .dashicons-yes { color: #82b440 !important; font-size: 18px !important; }

/* 🚀 4. EXTENDED SUPPORT */
.daf-support-extend-box {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 12px 15px !important;
    margin-bottom: 25px !important;
}

.daf-support-label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    gap: 10px !important;
}
.daf-support-cost { margin-left: auto !important; font-weight: 700 !important; color: #0f172a !important; }

/* 🚀 5. QUANTITY ELITE ROW (FULL WIDTH UPGRADE) */
.daf-qty-elite-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important; /* Forces row to stretch across sidebar */
    gap: 15px !important;
    margin-bottom: 25px !important;
}

.daf-qty-round-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important; /* Perfect Circles */
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: #64748b !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important; /* Prevents buttons from squishing */
}

.daf-qty-round-btn:hover {
    border-color: #2271b1 !important;
    color: #2271b1 !important;
    background: #f0f6fb !important;
}

.daf-qty-input-container {
    flex: 1 !important; /* ✅ This makes the input fill ALL available space */
    width: auto !important;
}

#daf-product-qty {
    width: 100% !important;
    height: 44px !important;
    border-radius: 12px !important; /* Modern Radius for Box */
    border: 1.5px solid #cbd5e1 !important;
    background: #ffffff !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    color: #0f172a !important;
}

/* 🚀 6. SIDEBAR BUTTONS */
.daf-sidebar-buttons-elite {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.daf-btn-add-cart {
    background: #82b440 !important;
    color: #ffffff !important;
    height: 56px !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
}

.daf-btn-add-cart:hover { background: #719e37 !important; }

.daf-btn-preview-elite {
    background: #ffffff !important;
    color: #2271b1 !important;
    border: 2.5px solid #2271b1 !important;
    height: 52px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.daf-btn-preview-elite:hover { background: #f0f6fb !important; }

/* 🚀 7. FOOTER */
.daf-buy-secure-footer {
    margin-top: 20px !important;
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.daf-buy-box-spacer { height: 25px !important; }