/* configure-product — extracted from blade inline styles */
/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

.cfg2-page {
    min-height: 100vh;
    background: #f8fafc;
    font-family: 'Inter', sans-serif;
    padding: 0 0 60px;
}

/* ─── Top Bar ───────────────────────────────────────────────── */
.cfg2-topbar {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    position: sticky;
    top: 75px;
    z-index: 98;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.cfg2-topbar-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.cfg2-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
    flex-wrap: wrap;
}
.cfg2-breadcrumb a { color: #ea580c; text-decoration: none; font-weight: 500; }
.cfg2-breadcrumb a:hover { text-decoration: underline; }
.cfg2-breadcrumb .sep { color: #cbd5e1; font-size: 15px; }
.cfg2-steps {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 14px;
    font-weight: 700;
}
.cfg2-step {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 20px;
    color: #94a3b8;
    white-space: nowrap;
}
.cfg2-step.active {
    background: rgba(234,88,12,0.08);
    color: #ea580c;
}
.cfg2-step.done { color: #16a34a; }
.cfg2-step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    background: #e2e8f0;
    color: #94a3b8;
    flex-shrink: 0;
}
.cfg2-step.active .cfg2-step-num { background: #ea580c; color: #fff; }
.cfg2-step.done  .cfg2-step-num  { background: #16a34a; color: #fff; }
.cfg2-step-sep { color: #e2e8f0; font-size: 18px; padding: 0 2px; }

/* ─── Page Grid ─────────────────────────────────────────────── */
.cfg2-layout {
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

/* ─── Alerts ─────────────────────────────────────────────────── */
.cfg2-alerts { grid-column: 1 / -1; }
.cfg2-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.cfg2-alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.cfg2-alert-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* ─── Left Column ────────────────────────────────────────────── */
.cfg2-left { display: flex; flex-direction: column; gap: 20px; }

/* ─── Hero Card ───────────────────────────────────────────────── */
.cfg2-hero-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #ea580c;
    border-radius: 14px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.cfg2-hero-eyebrow {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ea580c !important;
    margin-bottom: 5px;
}
.cfg2-hero-name {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a !important;
    line-height: 1.2;
    margin-bottom: 10px;
}
.cfg2-hero-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cfg2-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px;
    padding: 4px 11px;
    font-size: 14px;
    font-weight: 600;
    color: #475569 !important;
}
.cfg2-hero-tag i { color: #ea580c !important; font-size: 14px; }

/* ─── Section Cards ──────────────────────────────────────────── */
.cfg2-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.cfg2-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}
.cfg2-section-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: rgba(234,88,12,0.08);
    border: 1px solid rgba(234,88,12,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ea580c;
    font-size: 14px;
    flex-shrink: 0;
}
.cfg2-section-title { font-size: 14px; font-weight: 800; color: #0f172a; }
.cfg2-section-sub   { font-size: 14px; color: #94a3b8; font-weight: 500; margin-top: 1px; }
.cfg2-section-body  { padding: 16px 20px; }

/* ─── Billing Cycle Pills ─────────────────────────────────────── */
.cfg2-billing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.cfg2-cycle-label { position: relative; cursor: pointer; display: block; }
.cfg2-cycle-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.cfg2-cycle-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 10px 12px;
    text-align: center;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
    background: #f8fafc;
    position: relative;
    user-select: none;
}
.cfg2-cycle-label input:checked + .cfg2-cycle-card {
    border-color: #ea580c;
    background: rgba(234,88,12,0.05);
    box-shadow: 0 0 0 3px rgba(234,88,12,0.12);
}
.cfg2-cycle-card:hover { border-color: #f97316; background: rgba(234,88,12,0.03); }
.cfg2-cycle-period { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 4px; }
.cfg2-cycle-label input:checked + .cfg2-cycle-card .cfg2-cycle-period { color: #ea580c; }
.cfg2-cycle-price  { font-size: 14px; color: #94a3b8; font-weight: 500; }
.cfg2-cycle-badge {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: #16a34a;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 20px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* ─── Quantity ────────────────────────────────────────────────── */
.cfg2-qty-row { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.cfg2-qty-label { font-size: 14px; font-weight: 700; color: #475569; }
.cfg2-qty-ctrl {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}
.cfg2-qty-btn {
    width: 36px; height: 36px;
    border: none; background: none;
    font-size: 18px; font-weight: 700; color: #475569;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, color 0.15s;
    line-height: 1;
}
.cfg2-qty-btn:hover { background: rgba(234,88,12,0.1); color: #ea580c; }
.cfg2-qty-inp {
    width: 44px; text-align: center;
    border: none;
    border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0;
    background: #fff;
    font-size: 15px; font-weight: 700; color: #0f172a;
    padding: 0; height: 36px; outline: none;
    font-family: inherit; -moz-appearance: textfield;
}
.cfg2-qty-inp::-webkit-inner-spin-button,
.cfg2-qty-inp::-webkit-outer-spin-button { -webkit-appearance: none; }

/* ─── Addon Rows ──────────────────────────────────────────────── */
.cfg2-addon-list { display: flex; flex-direction: column; gap: 0; }
.cfg2-addon-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 7px 0;
}
.cfg2-addon-icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: rgba(234,88,12,0.08);
    border: 1px solid rgba(234,88,12,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; flex-shrink: 0;
    color: #ea580c;
}
.cfg2-addon-meta  { flex: 1; min-width: 0; }
.cfg2-addon-label { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 1px; }
.cfg2-addon-hint  { font-size: 14px; color: #94a3b8; font-weight: 500; }
.cfg2-addon-ctrl  { width: 55%; flex-shrink: 0; position: relative; }
.cfg2-addon-select {
    width: 100%;
    appearance: none; -webkit-appearance: none;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 13px center;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 38px 10px 14px;
    font-size: 14px; font-weight: 600; color: #1e293b;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    font-family: inherit;
}
.cfg2-addon-select:hover { border-color: #f97316; background-color: rgba(234,88,12,0.03); }
.cfg2-addon-select:focus { outline: none; border-color: #ea580c; background-color: #fff; box-shadow: 0 0 0 3px rgba(234,88,12,0.12); }

/* ─── Notes ───────────────────────────────────────────────────── */
.cfg2-notes-textarea {
    width: 100%;
    border: 1.5px solid #e2e8f0; border-radius: 10px;
    padding: 13px 15px;
    font-size: 14px; color: #1e293b;
    background: #f8fafc; font-family: inherit;
    resize: vertical; min-height: 90px; outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    line-height: 1.6;
}
.cfg2-notes-textarea:focus { border-color: #ea580c; background: #fff; box-shadow: 0 0 0 3px rgba(234,88,12,0.10); }
.cfg2-notes-textarea::placeholder { color: #cbd5e1; }

/* ─── Summary Card ────────────────────────────────────────────── */
.cfg2-right { position: sticky; top: 156px; }
.cfg2-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* Header */
.cfg2-sum-head {
    padding: 13px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; gap: 9px;
    background: #f8fafc;
}
.cfg2-sum-head-icon {
    width: 28px; height: 28px; border-radius: 7px;
    background: rgba(234,88,12,0.1); border: 1px solid rgba(234,88,12,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #ea580c; font-size: 14px; flex-shrink: 0;
}
.cfg2-sum-title    { font-size: 14px; font-weight: 800; color: #0f172a; line-height: 1.2; }
.cfg2-sum-subtitle { font-size: 14px; color: #64748b; font-weight: 500; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Configuration items */
.cfg2-sum-body { padding: 10px 16px; }
.cfg2-items-title {
    font-size: 14px; font-weight: 800; letter-spacing: 0.8px;
    text-transform: uppercase; color: #94a3b8; margin-bottom: 6px;
}
.cfg2-item-row {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 6px; padding: 4px 0;
    border-bottom: 1px solid #f1f5f9; font-size: 14px;
}
.cfg2-item-row:last-child { border-bottom: none; }
.cfg2-item-name  { color: #475569; font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg2-item-price { color: #0f172a; font-weight: 700; white-space: nowrap; flex-shrink: 0; font-size: 14px; }
.cfg2-item-price.included { color: #94a3b8; font-weight: 500; }

/* Pricing breakdown */
.cfg2-sum-prices {
    padding: 8px 16px 10px;
    border-top: 1px solid #f1f5f9;
}
.cfg2-bd-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 3px 0; font-size: 14px;
}
.cfg2-bd-label { color: #64748b; font-weight: 500; }
.cfg2-bd-label em { font-style: normal; font-size: 14px; color: #94a3b8; }
.cfg2-bd-val   { color: #0f172a; font-weight: 700; }
.cfg2-discount-label { color: #16a34a !important; }
.cfg2-discount-val   { color: #16a34a !important; }

/* Total */
.cfg2-sum-total {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 16px 12px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.cfg2-total-label  { font-size: 14px; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.cfg2-total-period { font-size: 14px; color: #94a3b8; font-weight: 500; margin-top: 2px; }
.cfg2-total-amount { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1; transition: color 0.2s; }
.cfg2-total-amount sup { font-size: 14px; font-weight: 700; vertical-align: super; }

@keyframes cfg2-pulse {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.05); color: #ea580c; }
    100% { transform: scale(1); }
}
.cfg2-total-amount.pulse { animation: cfg2-pulse 0.3s ease; }

/* Button */
.cfg2-sum-footer { padding: 0 16px 14px; }
.cfg2-checkout-btn {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff; border: none; border-radius: 9px;
    padding: 11px 16px;
    font-size: 14px; font-weight: 800; cursor: pointer;
    transition: opacity 0.15s, transform 0.15s, box-shadow 0.18s;
    box-shadow: 0 3px 12px rgba(234,88,12,0.4);
    letter-spacing: 0.2px; font-family: inherit;
}
.cfg2-checkout-btn:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 5px 18px rgba(234,88,12,0.5); }
.cfg2-checkout-btn:active { transform: translateY(0); }

/* ─── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
    .cfg2-layout { grid-template-columns: 1fr; margin-top: 16px; gap: 16px; }
    .cfg2-right { position: static; }
    .cfg2-billing-grid { grid-template-columns: repeat(2, 1fr); }
    .cfg2-addon-row { flex-wrap: wrap; gap: 8px; }
    .cfg2-addon-icon { display: none; }
    .cfg2-addon-meta { flex: 1 1 auto; min-width: 0; }
    .cfg2-addon-ctrl { width: 100%; flex: 0 0 100%; }
    .cfg2-steps { display: none; }
}
@media (max-width: 520px) {
    .cfg2-layout { padding: 0 12px; }
    .cfg2-topbar-inner { padding: 0 12px; }
    .cfg2-billing-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .cfg2-hero-card { padding: 18px 18px; }
    .cfg2-hero-name { font-size: 18px; }
    .cfg2-hero-tag { font-size: 11px; padding: 4px 10px; }
    .cfg2-section-body { padding: 14px 16px; }
    .cfg2-section-head { padding: 12px 16px; }
    .cfg2-sum-head, .cfg2-sum-body, .cfg2-sum-footer, .cfg2-sum-total { padding-left: 16px; padding-right: 16px; }
    .cfg2-checkout-btn { font-size: 14px; padding: 14px 16px; }
    .cfg2-trust-grid { grid-template-columns: 1fr; }
}

