main > h1 { max-width: none; margin-top: .25em; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.checkout-layout form > p:first-child { margin-top: 0; }
.checkout-layout fieldset { margin: 0 0 1.2rem; padding: 0; border: 0; min-width: 0; }
.checkout-layout legend { font-weight: 750; margin-bottom: .5rem; }
.checkout-layout label { display: block; margin-bottom: .6rem; }
.checkout-layout input { display: block; width: 100%; padding: .5rem .65rem; border: 1px solid #7b8171; border-radius: .35rem; background: white; font: inherit; }
.checkout-layout :is(input, button):focus-visible { outline: 3px solid #9a430d; outline-offset: 3px; }
.checkout-button { border: 0; cursor: pointer; font-family: inherit; font-size: inherit; }
#checkout-items { padding-left: 1.2rem; }
#checkout-items li { margin-bottom: .6rem; }
@media (max-width: 43rem) { .checkout-layout { grid-template-columns: 1fr; } }

.checkout-layout label[for="phone"] { margin-bottom: .2rem; }
.checkout-phone { display: grid; grid-template-columns: minmax(6.5rem, 10rem) minmax(0, 1fr); gap: .4rem; margin-bottom: .6rem; }
.checkout-phone select { min-width: 0; width: 100%; padding: .5rem .35rem; border: 1px solid #7b8171; border-radius: .35rem; background: white; font: inherit; }
.checkout-phone select:focus-visible { outline: 3px solid #9a430d; outline-offset: 3px; }
