.justes-pe {
    clear: both;
    margin: 1.25rem 0 0;
}

.justes-pe__details {
    border: 1px solid #e3e3e3;
    border-radius: 3px;
    background: #fff;
}

.justes-pe__summary {
    box-sizing: border-box;
    cursor: pointer;
    display: list-item;
    padding: 0.8rem 1rem;
    background: #222;
    color: #fff;
    font-weight: 600;
    line-height: 1.35;
}

.justes-pe__summary:hover,
.justes-pe__summary:focus-visible {
    background: #444;
    color: #fff;
}

.justes-pe__panel {
    padding: 1rem;
}

.justes-pe__intro,
.justes-pe__privacy {
    margin: 0 0 1rem;
}

.justes-pe__field {
    margin: 0 0 0.9rem;
}

.justes-pe__field label {
    display: block;
    margin: 0 0 0.3rem;
    font-weight: 600;
}

.justes-pe__field input,
.justes-pe__field textarea {
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: 100%;
}

.justes-pe__field textarea {
    resize: vertical;
}

.justes-pe__actions {
    margin: 0 0 0.75rem;
}

.justes-pe__submit {
    width: auto;
}

.justes-pe__privacy {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.5;
}

.justes-pe__notice {
    margin: 0 0 1rem;
}

.justes-pe__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1024px) {
    #justes-product-enquiry .justes-pe__summary,
    #justes-product-enquiry .justes-pe__field input,
    #justes-product-enquiry .justes-pe__field textarea,
    #justes-product-enquiry .justes-pe__submit {
        box-sizing: border-box;
        font-size: 16px;
        line-height: 1.5;
        min-height: 44px;
    }

    #justes-product-enquiry .justes-pe__submit {
        padding: 9px 16px;
    }
}

@media (max-width: 480px) {
    .justes-pe__summary,
    .justes-pe__panel {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
    }

    .justes-pe__submit {
        width: 100%;
    }

    /* Keep Joinchat's fixed WhatsApp bubble from covering the privacy note. */
    .justes-pe__privacy {
        min-height: 3.5rem;
        padding-right: 4.75rem;
    }
}
