/* ===== Order Summary — Dark theme (CloudHive SaaS) ===== */
/* Fonts inherited from theme globally — no external imports */

/* ── Sidebar wrapper (overrides custom-configurator.css, loaded earlier) ── */
.sidebar-card-custom {
    background: #0f172a !important;
    border: 1px solid #1e293b !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 20px 40px -16px rgba(0,0,0,0.5) !important;
}
.sidebar-title {
    color: #f1f5f9 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    margin: -24px -24px 22px !important;
    padding: 18px 24px !important;
    border-bottom: 1px solid #1e293b !important;
}

/* ── Product header ── */
.chx-sum-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}
.chx-sum-title {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
    margin: 0;
}
.chx-sum-price {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    white-space: nowrap;
}

/* ── Quantity ── */
.chx-qty {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    margin-bottom: 24px;
    background: rgba(15,23,42,0.5);
    border: 1.2px dashed rgba(148,163,184,0.2);
    border-radius: 12px;
}
.chx-qty-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}
.chx-stepper {
    display: flex;
    align-items: center;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 8px;
    overflow: hidden;
}
.chx-stepper-btn {
    padding: 5px 12px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.chx-stepper-btn:hover { background: #334155; color: #fff; }
.chx-stepper-btn:first-child { border-right: 1px solid #334155; }
.chx-stepper-btn:last-child { border-left: 1px solid #334155; }
.chx-qty-input {
    width: 42px;
    height: 28px;
    background: transparent;
    border: none;
    text-align: center;
    color: #f1f5f9;
    font-weight: 700;
    font-size: 13px;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}
.chx-qty-input::-webkit-outer-spin-button,
.chx-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.chx-qty-input[type=number] { -moz-appearance: textfield; }

/* ── Sections (config / addons / totals) ── */
.chx-sum-section {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1.2px dashed rgba(148,163,184,0.2);
}
.chx-sum-section:first-of-type { margin-top: 0; }
.chx-sum-h {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0 0 14px;
}
.chx-sum-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}
.chx-sum-row:last-child { margin-bottom: 0; }
.chx-row-key { color: #94a3b8; flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; word-break: break-word; line-height: 1.45; }
.chx-row-val { color: #e2e8f0; font-weight: 500; }
.chx-row-amt { color: #e2e8f0; font-weight: 500; white-space: nowrap; margin-left: 10px; flex: 0 0 auto; text-align: right; }
.chx-amt-setup { display: block; color: #f87171; white-space: nowrap; font-size: 11px; margin-top: 2px; }

/* ── Totals breakdown ── */
.chx-tot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
}
.chx-tot-row:last-child { margin-bottom: 0; }
.chx-tot-row span:first-child { color: #64748b; }
.chx-tot-row span:last-child { color: #94a3b8; font-weight: 500; }

/* ── Total Due ── */
.chx-total-due {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    background: rgba(30,41,59,0.3);
    border: 1.5px dashed rgba(245,166,35,0.4);
    border-radius: 12px;
}
.chx-total-due { align-items: center; }
.chx-total-due-left { display: flex; flex-direction: column; gap: 2px; }
.chx-total-due-label { font-size: 13px; font-weight: 600; color: #cbd5e1; }
.chx-total-due-amt { font-size: 20px; font-weight: 700; color: #F5A623; letter-spacing: -0.01em; }

/* ── Continue button + SSL badge (overrides custom-configurator.css) ── */
.btn-main-custom {
    width: 100% !important;
    margin-top: 22px !important;
    padding: 15px !important;
    background: transparent !important;
    border: 2px dashed #334155 !important;
    border-radius: 12px !important;
    color: #f1f5f9 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .2s ease !important;
}
.btn-main-custom:hover {
    background: #1e293b !important;
    border-color: rgba(245,166,35,0.5) !important;
    color: #ffffff !important;
    transform: none !important;
}
.ssl-badge-custom {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 12px !important;
    padding: 13px !important;
    background: rgba(30,41,59,0.4) !important;
    border: 1.3px dashed #e67e22 !important;
    border-radius: 12px !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    color: #475569 !important;
}
.ssl-badge-custom i, .ssl-badge-custom svg {
    width: 14px !important;
    height: 14px !important;
    color: #475569 !important;
    vertical-align: -2px !important;
}
