/* =========================================================
   GET A QUOTE
   ========================================================= */

.np-quote { background: var(--np-soft, #f8f9fc); }

/* Fields hidden by the category's form (must beat utility classes such as .d-flex) */
.np-quote [hidden] { display: none !important; }

.np-q-intro {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.np-q-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 14px;
    border-radius: 30px;
    background: rgba(231, 40, 124, .08);
    color: var(--np-pink, #e7287c);
    font-size: 13px;
    font-weight: 700;
}

.np-q-intro h2 { margin-bottom: 12px; font-size: clamp(26px, 3.4vw, 38px); }
.np-q-intro p { margin: 0; color: var(--np-text, #555b6d); line-height: 1.7; }

.np-q-card {
    background: #fff;
    border: 1px solid var(--np-border, #eceef4);
    border-radius: 16px;
    padding: 26px 28px;
    margin-bottom: 20px;
}

.np-q-card h4 { font-size: 17px; margin-bottom: 14px; }

.np-q-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--np-border, #eceef4);
}

.np-q-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--np-pink, #e7287c), var(--np-blue, #2873ba));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.np-q-step h3 { margin: 0; font-size: 19px; }

.np-q-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--np-dark, #09052f);
}

.np-q-form label small { font-weight: 500; color: var(--np-text, #555b6d); }
.np-q-req { color: var(--np-pink, #e7287c); }

.np-q-form .form-control,
.np-q-form .form-select {
    min-height: 48px;
    border-radius: 10px;
    border-color: #e1e4ec;
    font-size: 14.5px;
}

.np-q-form textarea.form-control { min-height: 0; }

.np-q-form .form-control:focus,
.np-q-form .form-select:focus {
    border-color: var(--np-pink, #e7287c);
    box-shadow: 0 0 0 3px rgba(231, 40, 124, .12);
}

.np-q-form .form-select:disabled { background-color: var(--np-soft, #f8f9fc); }

.np-q-form .is-invalid { border-color: #dc3545 !important; }

.np-q-err {
    display: none;
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
}

.np-q-err.show { display: block; }

.np-q-sub { margin-top: 20px; }

/* Chips: quantity presets + finishing checkboxes */
.np-q-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.np-q-form .np-q-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 8px 14px;
    border: 1px solid #e1e4ec;
    border-radius: 30px;
    background: #fff;
    color: var(--np-dark, #09052f);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.np-q-chip:hover { border-color: var(--np-pink, #e7287c); }

.np-q-chip.active,
.np-q-checks .np-q-chip:has(input:checked) {
    border-color: var(--np-pink, #e7287c);
    background: rgba(231, 40, 124, .08);
    color: var(--np-pink, #e7287c);
}

.np-q-checks input { accent-color: var(--np-pink, #e7287c); }

.np-q-qty { max-width: 260px; }

/* Segmented toggle */
.np-q-toggle {
    display: inline-flex;
    padding: 4px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: var(--np-soft, #f8f9fc);
    border: 1px solid var(--np-border, #eceef4);
}

.np-q-form .np-q-toggle label { margin: 0; cursor: pointer; }
.np-q-toggle input { position: absolute; opacity: 0; pointer-events: none; }

.np-q-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--np-text, #555b6d);
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.np-q-toggle input:checked + span {
    background: #fff;
    color: var(--np-pink, #e7287c);
    box-shadow: 0 2px 8px rgba(25, 31, 56, .08);
}

.np-q-toggle input:focus-visible + span { outline: 2px solid var(--np-pink, #e7287c); }

.np-q-dims {
    display: grid;
    grid-template-columns: 1fr auto 1fr 96px;
    align-items: center;
    gap: 10px;
    max-width: 520px;
}

.np-q-dims > span { color: var(--np-text, #555b6d); font-size: 18px; }

/* Turnaround cards */
.np-q-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.np-q-form .np-q-option { margin: 0; cursor: pointer; }
.np-q-option input { position: absolute; opacity: 0; pointer-events: none; }

.np-q-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e4ec;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    transition: border-color .15s ease, background .15s ease;
}

.np-q-option span i { color: var(--np-blue, #2873ba); font-size: 17px; }

.np-q-option input:checked + span {
    border-color: var(--np-pink, #e7287c);
    background: rgba(231, 40, 124, .05);
    box-shadow: inset 0 0 0 1px var(--np-pink, #e7287c);
}

.np-q-option input:focus-visible + span { outline: 2px solid var(--np-pink, #e7287c); }

.np-q-form .np-q-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin: 0;
    cursor: pointer;
    font-weight: 600;
}

.np-q-check input { width: 18px; height: 18px; accent-color: var(--np-pink, #e7287c); }

/* File drop zone */
.np-q-drop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 26px 18px;
    border: 2px dashed #d5d8e3;
    border-radius: 14px;
    background: var(--np-soft, #f8f9fc);
    text-align: center;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.np-q-drop:hover,
.np-q-drop:focus-visible,
.np-q-drop.drag {
    border-color: var(--np-pink, #e7287c);
    background: rgba(231, 40, 124, .04);
    outline: none;
}

.np-q-drop i { font-size: 30px; color: var(--np-pink, #e7287c); margin-bottom: 4px; }
.np-q-drop strong { font-size: 15px; }
.np-q-drop u { color: var(--np-pink, #e7287c); }
.np-q-drop small { color: var(--np-text, #555b6d); font-size: 12.5px; }

.np-q-files { list-style: none; margin: 10px 0 0; padding: 0; }

.np-q-files li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    margin-bottom: 6px;
    border: 1px solid var(--np-border, #eceef4);
    border-radius: 10px;
    font-size: 13.5px;
}

.np-q-files li i.far { color: var(--np-blue, #2873ba); }
.np-q-files .name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.np-q-files .size { color: var(--np-text, #555b6d); font-size: 12.5px; white-space: nowrap; }

.np-q-files button {
    border: 0;
    background: none;
    color: #9aa0b1;
    padding: 2px 6px;
    font-size: 15px;
}

.np-q-files button:hover { color: #dc3545; }

/* Honeypot */
.np-q-trap {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.np-q-alert {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fdecee;
    color: #b02a37;
    font-size: 14px;
    font-weight: 600;
}

.np-q-submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 22px;
}

.np-q-submit .theme-btn { border: 0; }
.np-q-submit .theme-btn[disabled] { opacity: .7; cursor: wait; }
.np-q-submit p { margin: 0; font-size: 13px; color: var(--np-text, #555b6d); }

/* Sidebar */
.np-q-side { position: sticky; top: 110px; }

.np-q-summary dl { margin: 0; }

.np-q-summary dt {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--np-text, #555b6d);
}

.np-q-summary dd {
    margin: 2px 0 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--np-border, #eceef4);
    font-weight: 600;
    word-break: break-word;
}

.np-q-summary dd:last-child { border-bottom: 0; padding-bottom: 0; }

.np-q-how { list-style: none; counter-reset: how; margin: 0; padding: 0; }

.np-q-how li {
    position: relative;
    counter-increment: how;
    padding: 0 0 16px 44px;
}

.np-q-how li:last-child { padding-bottom: 0; }

.np-q-how li::before {
    content: counter(how);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(40, 115, 186, .1);
    color: var(--np-blue, #2873ba);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.np-q-how strong { display: block; font-size: 14.5px; }
.np-q-how span { font-size: 13.5px; color: var(--np-text, #555b6d); line-height: 1.5; }

.np-q-help a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--np-dark, #09052f);
    font-weight: 600;
    font-size: 14px;
    word-break: break-word;
}

.np-q-help a i { width: 18px; color: var(--np-pink, #e7287c); }
.np-q-help a:hover { color: var(--np-pink, #e7287c); }

/* Thank-you page */
.np-q-thanks {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 32px;
}

.np-q-thanks .np-q-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(25, 135, 84, .1);
    color: #198754;
    font-size: 32px;
}

.np-q-thanks .np-q-number {
    display: inline-block;
    margin: 6px 0 18px;
    padding: 8px 18px;
    border-radius: 10px;
    background: var(--np-soft, #f8f9fc);
    color: var(--np-pink, #e7287c);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .04em;
}

.np-q-thanks p { color: var(--np-text, #555b6d); line-height: 1.7; }

.np-q-thanks .np-q-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

@media (max-width: 991px) {
    .np-q-side { position: static; }
}

@media (max-width: 575px) {
    .np-q-card { padding: 20px 18px; border-radius: 14px; }
    .np-q-step h3 { font-size: 17px; }
    .np-q-dims { grid-template-columns: 1fr auto 1fr; }
    .np-q-dims select { grid-column: 1 / -1; }
    .np-q-qty { max-width: none; }
    .np-q-toggle { display: flex; }
    .np-q-toggle label { flex: 1; }
    .np-q-toggle span { justify-content: center; width: 100%; }
}

.np-q-submit p a { font-weight: 700; color: var(--np-pink, #e7287c); }
