/* === ELITE PRO CHECKOUT SYSTEM (Universal POS v2.0) === */
.elite-checkout-wrapper {
    background: #fdfdfd;
    border-radius: 24px;
    overflow: hidden;
    font-family: 'Outfit', 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
}

.quick-sale-grid-premium {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 0;
    width: 100%;
    min-height: 620px;
}

.swal-width-elite {
    width: 1080px !important;
    max-width: 95vw !important;
    border-radius: 40px !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

/* === SHOPPING CART VIEW STYLES === */
.p-cart-wrapper {
    background: transparent;
    padding: 0;
}

/* Desktop Dual Column Grid */
.p-cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

.p-cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px 25px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.p-cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.p-cart-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

.p-cart-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.p-cart-img-wrap {
    width: 65px;
    height: 65px;
    background: #f8fafc;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.p-cart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-cart-title {
    font-weight: 850;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.2;
    letter-spacing: -0.3px;
}

.p-cart-meta {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-cart-price-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.p-cart-price-unit {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
}

.p-cart-price-qty {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 800;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 50px;
}

.p-cart-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.p-cart-line-price {
    text-align: right;
    min-width: 100px;
}

.p-cart-line-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 850;
    margin-bottom: 2px;
}

.p-cart-line-total {
    font-size: 1.15rem;
    font-weight: 950;
    color: #0f172a;
    line-height: 1;
}

.p-summary-card {
    background: white;
    border-radius: var(--radius);
    padding: var(--space-xl);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-float);
    position: sticky;
    top: 100px;
}

.p-summary-title {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1.5px dashed #f1f5f9;
}

.p-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
}

.p-summary-total-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1.5px solid #f1f5f9;
}

.p-summary-total-val {
    font-size: 2.6rem;
    font-weight: 950;
    color: #0f172a;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 5px;
}

.p-summary-bs {
    font-size: 1.05rem;
    color: #10b981;
    font-weight: 900;
}

/* Form inputs in Summary */
.p-checkout-form {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-input-elegant {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    padding: 14px 18px;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #0f172a;
    transition: all 0.2s;
    width: 100%;
}

.p-input-elegant:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(47, 118, 189, 0.1);
    outline: none;
}

.p-cart-wrapper {
    background: transparent;
    padding: 0;
    min-height: 500px;
    /* Ensure visibility on large screens */
}

/* Modern Response for PC View */
@media (max-width: 1024px) {
    .p-cart-grid {
        grid-template-columns: 1fr;
    }

    .p-summary-card {
        position: static;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .p-cart-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .p-cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .p-cart-actions {
        width: 100%;
        justify-content: space-between;
        padding-top: 15px;
        border-top: 1px dashed #f1f5f9;
    }

    .p-summary-total-val {
        font-size: 2rem;
    }
}

/* === EMPTY CART PREMIUM STATE === */
.p-empty-cart {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 30px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.p-empty-cart-icon {
    width: 100px;
    height: 100px;
    background: #f8fafc;
    color: #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 3.5rem;
}

.p-empty-cart-title {
    color: #1e293b;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.p-empty-cart-text {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 400px;
    margin: 0 auto 30px;
    line-height: 1.6;
    font-weight: 600;
}