/* 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 .pi-quote__select {
    position: relative;
}

.pi-quote .pi-quote__select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 16px;
    width: 12px;
    height: 12px;
    pointer-events: none;
    transform: translateY(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.pi-quote .pi-quote__select select.form-control {
    width: 100%;
    max-width: 100%;
    padding-right: 42px !important;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff !important;
    cursor: pointer;
}

[dir="rtl"] .pi-quote .pi-quote__select::after {
    right: auto;
    left: 16px;
}

[dir="rtl"] .pi-quote .pi-quote__select select.form-control {
    padding-right: 14px !important;
    padding-left: 42px !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 .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%;
    }
}
