/* Quote page: inherit Contact / theme styles. Only quote-specific layout remains. */

.pi-quote,
.pi-quote .container,
.pi-quote .box-form-contact,
.pi-quote .form-control,
.pi-quote select.form-control,
.pi-quote textarea.form-control {
    box-sizing: border-box;
}

.pi-quote .box-form-contact {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
}

.pi-quote .form-group {
    margin-bottom: 16px;
}

.pi-quote .pi-quote__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

.pi-quote .pi-quote__field--wide {
    grid-column: 1 / -1;
}

.pi-quote textarea.form-control {
    height: auto;
    min-height: 110px;
}

.pi-quote .pi-quote__block + .pi-quote__block {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.pi-quote .pi-quote__block h2 {
    font-size: 22px;
    line-height: 28px;
}

.pi-quote .pi-quote__block--choice,
.pi-quote .pi-quote__block + .pi-quote__block--choice {
    margin-top: 28px;
    padding: 24px 24px 20px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0A0A0A;
    border-radius: 16px;
    background: #f8fafc;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pi-quote .pi-quote__choice-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 8px 24px;
    align-items: start;
}

.pi-quote .pi-quote__choice-type {
    margin-bottom: 0;
}

.pi-quote .box-form-contact .form-control,
.pi-quote .box-form-contact .contact-form-input,
.pi-quote .box-form-contact .iti .contact-form-input.form-control {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    color: #3c3c43 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.pi-quote .box-form-contact .contact-form-input::placeholder,
.pi-quote .box-form-contact .iti .contact-form-input.form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1;
}

.pi-quote .box-form-contact .form-control:focus,
.pi-quote .box-form-contact .contact-form-input:focus,
.pi-quote .box-form-contact .iti .contact-form-input.form-control:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
}

.pi-quote .box-form-contact select.contact-form-input {
    min-height: 54px;
    padding: 12px 36px 12px 14px !important;
    cursor: pointer;
    background-color: #ffffff !important;
    appearance: menulist !important;
    -webkit-appearance: menulist !important;
}

.pi-quote .pi-quote__urgency {
    margin: 0;
    border: 0;
    padding: 0;
    min-width: 0;
}

.pi-quote .pi-quote__chips,
.pi-quote .pi-quote__types {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pi-quote .pi-quote__chip,
.pi-quote .pi-quote__type {
    cursor: pointer;
    margin: 0;
}

.pi-quote .pi-quote__chip input,
.pi-quote .pi-quote__type input,
.pi-quote .pi-quote__hp {
    position: absolute;
    left: -9999px;
}

.pi-quote .pi-quote__chip span,
.pi-quote .pi-quote__type span {
    display: inline-flex;
    padding: 10px 14px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #3c3c43;
    font-size: 14px;
    font-weight: 600;
}

.pi-quote .pi-quote__chip input:checked + span,
.pi-quote .pi-quote__type input:checked + span {
    background: #0A0A0A;
    border-color: #0A0A0A;
    color: #ffffff;
}

.pi-quote .form-control,
.pi-quote select.form-control,
.pi-quote textarea.form-control {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

[data-pi-quote-panel][hidden] {
    display: none !important;
}

.pi-quote .pi-quote__privacy {
    display: flex;
    justify-content: center;
}

.pi-quote .pi-quote__privacy .form-check {
    width: auto;
    max-width: 100%;
    padding-left: 0;
    margin-bottom: 0;
}

.pi-quote .pi-quote__privacy .form-check-input {
    float: none;
    margin: 0 !important;
    flex-shrink: 0;
    min-height: 0 !important;
    width: 1.125rem !important;
    height: 1.125rem !important;
    padding: 0 !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full,
.pi-quote .box-form-contact .btn.btn-brand-1-full:hover,
.pi-quote .box-form-contact .btn.btn-brand-1-full:focus {
    background: #0A0A0A !important;
    border-color: #0A0A0A !important;
    color: #ffffff !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full {
    display: block;
    width: 100% !important;
    min-height: 50px;
    padding: 12px 20px !important;
    border-radius: 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease !important;
}

.pi-quote .box-form-contact .btn.btn-brand-1-full:hover,
.pi-quote .box-form-contact .btn.btn-brand-1-full:focus-visible,
.pi-quote .box-form-contact .btn.btn-brand-1-full:active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.pi-quote .btn.btn-brand-1-full:disabled {
    opacity: 0.72;
    cursor: wait;
    transform: none;
}

@media (max-width: 767px) {
    .pi-quote .pi-quote__grid,
    .pi-quote .pi-quote__choice-grid {
        grid-template-columns: 1fr;
    }

    .pi-quote .pi-quote__block--choice,
    .pi-quote .pi-quote__block + .pi-quote__block--choice {
        padding: 18px 16px 16px;
    }

    .pi-quote .btn.btn-brand-1-full {
        width: 100%;
    }
}
