.xpl-listing-request {
    background: linear-gradient(135deg, #f6f0e5, #edf4e9);
    border: 1px solid #d8e1d6;
    border-radius: 20px;
    margin: 2rem 0;
    padding: clamp(1.35rem, 4vw, 2.25rem);
}

.xpl-listing-request,
.xpl-listing-request * {
    box-sizing: border-box;
}

.xpl-listing-request__intro > div > h2 {
    margin: 0.3rem 0 0.5rem;
}

.xpl-listing-request__intro > div > p:last-child {
    color: #5f6c63;
    max-width: 780px;
}

.xpl-listing-request__notice {
    background: #e1f2e5;
    border: 1px solid #b9ddc2;
    border-radius: 10px;
    color: #174b31;
    margin-bottom: 1.2rem;
    padding: 0.9rem 1rem;
}

.xpl-listing-request__details {
    background: #fff;
    border: 1px solid #d8e1d6;
    border-radius: 14px;
    margin-top: 1.25rem;
    overflow: hidden;
}

.xpl-listing-request__details summary {
    color: #1d5335;
    cursor: pointer;
    font-weight: 750;
    padding: 1rem 1.2rem;
}

.xpl-listing-request__details[open] summary {
    border-bottom: 1px solid #e1e7e0;
}

.xpl-listing-request__form {
    padding: clamp(1.1rem, 3vw, 1.75rem);
}

.xpl-listing-request__types {
    border: 0;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 1.25rem;
    padding: 0;
}

.xpl-listing-request__types legend,
.xpl-listing-request__form label > span:first-child {
    color: #17231b;
    font-weight: 750;
}

.xpl-listing-request__types legend {
    margin-bottom: 0.55rem;
}

.xpl-listing-request__types label {
    align-items: flex-start;
    border: 1px solid #ccd8cc;
    border-radius: 12px;
    display: flex;
    gap: 0.65rem;
    padding: 0.9rem;
}

.xpl-listing-request__types label span,
.xpl-listing-request__types label strong {
    display: block;
}

.xpl-listing-request__types label span {
    color: #5f6c63;
    font-size: 0.9rem;
}

.xpl-listing-request__types label strong {
    color: #17231b;
    margin-bottom: 0.15rem;
}

.xpl-listing-request__grid {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.xpl-listing-request__grid label,
.xpl-listing-request__wide {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.xpl-listing-request__wide {
    margin-top: 1rem;
}

.xpl-listing-request input[type='text'],
.xpl-listing-request input[type='email'],
.xpl-listing-request input[type='tel'],
.xpl-listing-request input[type='url'],
.xpl-listing-request select,
.xpl-listing-request textarea {
    background: #fbfcfa;
    border: 1px solid #aab6ad;
    border-radius: 9px;
    font: inherit;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.xpl-listing-request input[type='text'],
.xpl-listing-request input[type='email'],
.xpl-listing-request input[type='tel'],
.xpl-listing-request input[type='url'],
.xpl-listing-request select {
    height: 48px;
}

.xpl-listing-request textarea {
    min-height: 128px;
    resize: vertical;
}

.xpl-listing-request small {
    color: #657168;
}

.xpl-listing-request .xpl-honeypot {
    left: -9999px;
    position: absolute;
}

.xpl-listing-request__checkbox {
    align-items: flex-start;
    display: flex;
    gap: 0.55rem;
    margin-top: 1rem;
}

.xpl-listing-request__checkbox input {
    margin-top: 0.2rem;
}

.xpl-listing-request__actions {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
}

.xpl-listing-request .xpl-form-message.is-error {
    color: #a13b2b;
}

.xpl-listing-request .xpl-form-message.is-success {
    color: #1d5335;
    font-weight: 700;
}

@media (max-width: 680px) {
    .xpl-listing-request__types,
    .xpl-listing-request__grid {
        grid-template-columns: 1fr;
    }

    .xpl-listing-request__actions {
        align-items: flex-start;
        flex-direction: column;
    }
}
