/* ================================================================
   Nishant Power Solutions — Free Quote Configurator CSS
   ================================================================ */

:root {
    --primary: #0B3D91;
    --primary-dark: #072d6e;
    --primary-light: #e8eef9;
    --teal: #00A3C4;
    --accent: #CC2936;
    --dark: #141424;
    --muted: #5a6379;
    --border: #e0e6ef;
    --off-white: #F5F7FA;
    --white: #ffffff;
    --success: #16a34a;
    --success-light: #dcfce7;
    --warning: #d97706;
    --radius: 0.75rem;
    --shadow: 0 4px 24px rgba(11,61,145,.08);
    --shadow-lg: 0 8px 40px rgba(11,61,145,.12);
    --transition: 0.22s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Hero ── */
.fq-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1a5cb8 100%);
    padding: 72px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.fq-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.fq-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.fq-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.2);
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}
.fq-hero-badge .dot {
    width: 8px; height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.8); }
}
.fq-hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 16px;
}
.fq-hero h1 em {
    font-style: normal;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fq-hero p {
    font-size: 17px;
    color: rgba(255,255,255,.8);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 32px;
}
.fq-trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.fq-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    padding: 7px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
}
.fq-trust-badge svg { opacity: .8; }

/* ── How it works ── */
.fq-how {
    background: var(--off-white);
    padding: 60px 24px;
    text-align: center;
}
.fq-how .fq-section-tag {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.fq-how h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 40px;
}
.fq-steps-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.fq-step-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 24px;
    flex: 1 1 240px;
    max-width: 280px;
    position: relative;
    text-align: center;
}
.fq-step-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.fq-step-icon {
    width: 52px; height: 52px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--primary);
}
.fq-step-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}
.fq-step-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ── Configurator Wrapper ── */
.fq-configurator-section {
    background: var(--white);
    padding: 56px 24px;
}
.fq-configurator-inner { max-width: 840px; margin: 0 auto; }

/* ── Step Indicator ── */
.fq-step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
    position: relative;
}
.fq-indicator-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 160px;
}
.fq-indicator-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--border);
    z-index: -1;
    transition: background var(--transition);
}
.fq-indicator-item.completed:not(:last-child)::after {
    background: var(--primary);
}
.fq-indicator-circle {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--muted);
    transition: all var(--transition);
}
.fq-indicator-item.active .fq-indicator-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(11,61,145,.15);
}
.fq-indicator-item.completed .fq-indicator-circle {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}
.fq-indicator-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    white-space: nowrap;
}
.fq-indicator-item.active .fq-indicator-label { color: var(--primary); }
.fq-indicator-item.completed .fq-indicator-label { color: var(--success); }

/* ── Steps ── */
.fq-step { display: none; }
.fq-step.active { display: block; animation: stepIn .3s ease; }
@keyframes stepIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Step headings ── */
.fq-step-heading {
    text-align: center;
    margin-bottom: 32px;
}
.fq-step-heading .step-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 8px;
}
.fq-step-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(20px, 3.5vw, 28px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}
.fq-step-heading p { color: var(--muted); font-size: 15px; }

/* ── Option cards (Step 1) ── */
.fq-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}
.fq-option-card {
    background: var(--off-white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.fq-option-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: transparent;
    transition: background var(--transition);
}
.fq-option-card:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.fq-option-card:hover::before { background: var(--primary); }
.fq-option-card.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: var(--shadow-lg);
}
.fq-option-card.selected::before { background: var(--primary); }
.fq-option-check {
    position: absolute;
    top: 10px; right: 10px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
}
.fq-option-card.selected .fq-option-check { display: flex; }
.fq-option-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: all var(--transition);
}
.fq-option-card.selected .fq-option-icon,
.fq-option-card:hover .fq-option-icon {
    background: var(--primary);
    color: #fff;
}
.fq-option-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}
.fq-option-card p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── Form section (Step 2) ── */
.fq-form-section {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.fq-form-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.fq-form-section-title svg { color: var(--primary); }

.fq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fq-form-full { grid-column: 1 / -1; }

.fq-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.fq-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 4px;
}
.fq-label .req { color: var(--accent); }

.fq-input,
.fq-select {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--dark);
    background: var(--white);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.fq-input:focus, .fq-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11,61,145,.1);
}
.fq-select { cursor: pointer; }
textarea.fq-input { resize: vertical; min-height: 90px; }

/* ── Recommendation card ── */
.fq-recommendation {
    background: linear-gradient(135deg, var(--primary-light) 0%, #dde9ff 100%);
    border: 1px solid #b8cef0;
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 16px;
    display: none;
}
.fq-recommendation.visible { display: block; animation: stepIn .3s ease; }
.fq-rec-title {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.fq-rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.fq-rec-item {
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.fq-rec-val {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}
.fq-rec-label { font-size: 11px; color: var(--muted); }

/* ── Summary card (Step 3) ── */
.fq-summary-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}
.fq-summary-header {
    background: var(--primary);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fq-summary-header-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}
.fq-summary-header-badge {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 12px;
}
.fq-summary-body { padding: 0; }
.fq-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}
.fq-line-item:last-child { border-bottom: none; }
.fq-line-left { flex: 1; }
.fq-line-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
}
.fq-line-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}
.fq-line-qty { color: var(--muted); font-size: 13px; min-width: 50px; text-align: center; }
.fq-line-price {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    min-width: 100px;
    text-align: right;
}

.fq-totals {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}
.fq-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 20px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.fq-total-row:last-child { border-bottom: none; }
.fq-total-label { color: var(--muted); }
.fq-total-val { font-weight: 600; color: var(--dark); }
.fq-total-row.grand {
    background: var(--primary);
    padding: 14px 20px;
}
.fq-total-row.grand .fq-total-label {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}
.fq-total-row.grand .fq-total-val {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

/* ── Discount field ── */
.fq-discount-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    background: var(--off-white);
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 12px 16px;
}
.fq-discount-row label { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.fq-discount-row input { max-width: 80px; }
.fq-discount-row small { color: var(--muted); font-size: 12px; }

/* ── Customer form (Step 4) ── */
.fq-customer-form {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

/* ── Success screen (Step 5) ── */
.fq-success {
    text-align: center;
    padding: 48px 24px;
}
.fq-success-icon {
    width: 72px; height: 72px;
    background: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--success);
}
.fq-success h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}
.fq-success p { color: var(--muted); font-size: 15px; margin-bottom: 8px; }
.fq-quote-number-box {
    display: inline-block;
    background: var(--primary-light);
    border: 1.5px solid #b8cef0;
    border-radius: var(--radius);
    padding: 16px 32px;
    margin: 20px 0 28px;
}
.fq-quote-number-label { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.fq-quote-number-val {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .04em;
}
.fq-success-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.fq-success-actions .fq-btn { min-width: 180px; }

/* ── Buttons ── */
.fq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.fq-btn:hover { text-decoration: none; }
.fq-btn-primary { background: var(--primary); color: #fff; }
.fq-btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(11,61,145,.3); }
.fq-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.fq-btn-outline:hover { background: var(--primary-light); }
.fq-btn-wa { background: #25D366; color: #fff; }
.fq-btn-wa:hover { background: #1da851; }
.fq-btn-teal { background: var(--teal); color: #fff; }
.fq-btn-teal:hover { background: #008fa8; }
.fq-btn-lg { padding: 15px 36px; font-size: 15px; }

.fq-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}
.fq-nav-row .right { margin-left: auto; }

/* ── Loading spinner ── */
.fq-spinner {
    display: none;
    text-align: center;
    padding: 40px;
}
.fq-spinner.active { display: block; }
.fq-spinner-ring {
    width: 44px; height: 44px;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite;
    display: inline-block;
    margin-bottom: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.fq-spinner p { color: var(--muted); font-size: 14px; }

/* ── Error ── */
.fq-error {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 12px 16px;
    color: #991b1b;
    font-size: 13.5px;
    margin-bottom: 16px;
    display: none;
    align-items: flex-start;
    gap: 8px;
}
.fq-error.active { display: flex; animation: stepIn .2s ease; }

/* ── Product selectors (Step 2) — shared radio-card style ── */
.fq-ups-options-grid,
.fq-battery-options-grid { display: flex; flex-direction: column; gap: 8px; }

.fq-ups-option,
.fq-battery-option {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s, background .18s;
    display: flex;
    align-items: center;
    gap: 14px;
}
.fq-ups-option:hover,
.fq-battery-option:hover { border-color: var(--primary); background: var(--primary-light); }
.fq-ups-option.selected,
.fq-battery-option.selected {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(11,61,145,.18);
}

/* Radio dot */
.opt-radio {
    width: 18px; height: 18px;
    border: 2px solid #c5cfdf;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s, background .15s;
}
.fq-ups-option.selected .opt-radio,
.fq-battery-option.selected .opt-radio {
    border-color: var(--primary);
    background: var(--primary);
}
.fq-ups-option.selected .opt-radio::after,
.fq-battery-option.selected .opt-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: #fff;
    border-radius: 50%;
}

/* Card body */
.opt-body { flex: 1; min-width: 0; }
.ups-name, .bat-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.35;
}
.ups-sub, .bat-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 5px;
}
.ups-sub span, .bat-sub span {
    font-size: 11px;
    color: var(--muted);
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1px 7px;
    white-space: nowrap;
}
.fq-ups-option.selected .ups-sub span,
.fq-battery-option.selected .bat-sub span {
    background: rgba(11,61,145,.07);
    border-color: rgba(11,61,145,.2);
}

/* Empty state */
.fq-empty-msg {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    padding: 24px 16px;
    background: var(--off-white);
    border: 1px dashed var(--border);
    border-radius: 8px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .fq-hero { padding: 52px 20px 60px; }
    .fq-option-grid { grid-template-columns: 1fr; }
    .fq-form-grid { grid-template-columns: 1fr; }
    .fq-rec-grid { grid-template-columns: 1fr 1fr; }
    .fq-step-indicator { gap: 0; }
    .fq-indicator-label { display: none; }
    .fq-configurator-section { padding: 40px 16px; }
    .fq-customer-form { padding: 20px; }
    .fq-summary-header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fq-trust-badges { gap: 10px; }
}

@media (max-width: 480px) {
    .fq-hero h1 { font-size: 24px; }
    .fq-nav-row { flex-direction: column; }
    .fq-nav-row .fq-btn { width: 100%; justify-content: center; }
    .fq-success-actions { flex-direction: column; align-items: center; }
    .fq-success-actions .fq-btn { width: 100%; max-width: 320px; }
    .fq-rec-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .fq-steps-grid { flex-direction: column; align-items: center; }
}

/* ── Progressive selection (Step 2) ── */
.fq-sub-step { margin-bottom: 26px; }

.fq-sub-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.fq-sub-num {
    width: 26px; height: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}
.fq-sub-num.done { background: var(--success); }
.fq-sub-title { font-size: 14px; font-weight: 700; color: var(--dark); line-height: 1.3; }
.fq-sub-subtitle { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Brand buttons (brand selection — Step 2) */
.fq-brand-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.fq-brand-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 9px;
    padding: 8px 16px 8px 8px;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    transition: border-color .18s, background .18s, box-shadow .18s, color .18s;
    white-space: nowrap;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}
.fq-brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    transition: background .18s, color .18s;
    font-family: 'Poppins', sans-serif;
    line-height: 1;
}
.fq-brand-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.fq-brand-btn:hover .fq-brand-icon {
    background: var(--primary);
    color: var(--white);
}
.fq-brand-btn.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(11,61,145,.28);
}
.fq-brand-btn.selected .fq-brand-icon {
    background: rgba(255,255,255,.22);
    color: var(--white);
}

/* Capacity / Ah chips */
.fq-cap-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.fq-cap-chip {
    padding: 9px 18px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    background: #fff;
    color: var(--dark);
    transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
    min-width: 72px;
    text-align: center;
    line-height: 1;
}
.fq-cap-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.fq-cap-chip.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(11,61,145,.25);
}

/* Optional filter row */
.fq-opt-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.fq-opt-row::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Models section */
.fq-models-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.fq-models-label {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.fq-models-count {
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid #b8cef0;
    border-radius: 20px;
    padding: 2px 10px;
    font-weight: 600;
}
#ups-models-wrap, #bat-models-wrap {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .fq-brand-btn { font-size: 12px; padding: 7px 12px 7px 7px; }
    .fq-brand-icon { width: 26px; height: 26px; font-size: 11px; }
    .fq-cap-chip { padding: 8px 14px; font-size: 12.5px; }
}
