.jdr-express-choice {
    margin: 14px 0 10px;
    padding: 14px;
    border: 1px solid #dfd2ba;
    border-radius: 10px;
    background: #fffaf1;
    text-align: left;
    color: #49331d;
}

.jdr-express-heading {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.jdr-express-options {
    display: grid;
    gap: 6px;
}

.jdr-express-choice .jdr-express-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 6px 8px;
    border: 1px solid #d9cbb3;
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}

.jdr-express-options .jdr-express-option {
    flex: none;
    margin: 0;
    accent-color: #49331d;
}

.jdr-express-choice .jdr-express-postcode {
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin-top: 8px;
    border: 1px solid #d9cbb3;
    border-radius: 7px;
    background: #fff;
    padding: 8px;
    font-size: 16px;
}

.jdr-express-choice .jdr-express-confirm {
    margin-top: 8px;
    padding: 10px 14px !important;
    min-height: 42px;
    height: auto !important;
    border: 0 !important;
    border-radius: 7px;
    background: #49331d !important;
    color: #fff !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

.jdr-express-choice p {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.5;
}

.jdr-express-choice p:empty,
.jdr-express-choice[hidden],
.jdr-express-choice [hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .jdr-express-choice {
        box-sizing: border-box;
        width: 100%;
        padding: 12px;
    }

    .jdr-express-options {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .jdr-express-choice .jdr-express-options label {
        box-sizing: border-box;
        width: 100%;
        padding-inline: 10px;
    }

    .jdr-express-choice .jdr-express-option {
        width: 16px;
        height: 16px;
    }
}

/* Intercept wallet clicks while the delivery choice is incomplete. */
button.jdr-express-gate {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

button.jdr-express-gate[hidden] {
    display: none !important;
}

button.jdr-express-gate:focus-visible {
    outline: 2px solid #49331d;
    outline-offset: 2px;
}
