/* Checkout coupon: occupy a full row so the field and action never collide with the notes field. */
.checkout-fields > .checkout-discount-field {
    grid-column: 1 / -1;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: .65rem;
    padding: .85rem 1rem;
    border: 1px solid #e2eaf3;
    border-radius: 16px;
    background: #f8fbff;
}
.checkout-discount-field label {
    display: grid;
    gap: .4rem;
    min-width: 0;
    color: #344961;
    font-size: .9rem;
    font-weight: 700;
}
.checkout-discount-field input {
    width: 100%;
    min-width: 0;
    padding: .75rem .85rem;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-weight: 400;
}
.checkout-discount-field input:focus {
    border-color: #3783d0;
    outline: none;
    box-shadow: 0 0 0 3px #3783d01c;
}
.checkout-discount-apply {
    min-width: 112px;
    height: 46px;
    border-radius: 12px;
    white-space: nowrap;
}
.checkout-discount-feedback {
    grid-column: 1 / -1;
    color: #60758f;
    font-size: .82rem;
}

/* SnapPay admin: make item quantities easy to identify and edit on desktop and mobile. */
.snapp-order-lines { display: grid; gap: .7rem; }
.snapp-order-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 6.5rem;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: .8rem 1rem;
    border: 1px solid #e5edf5;
    border-radius: 12px;
}
.snapp-order-line > span { display: grid; gap: .25rem; }
.snapp-order-line small { color: #708096; }
.snapp-order-line input { max-width: 6.5rem; text-align: center; }

@media (max-width: 600px) {
    .checkout-fields > .checkout-discount-field { grid-template-columns: minmax(0, 1fr); padding: .75rem; }
    .checkout-discount-apply { width: 100%; }
    .snapp-order-line { grid-template-columns: minmax(0, 1fr) 5.5rem; gap: .6rem; padding: .75rem; }
    .snapp-order-line input { max-width: 5.5rem; }
}
