/* Product and checkout */
.nav-order { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.product, .checkout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 8vw, 140px);
    padding: clamp(4rem, 8vw, 8rem) var(--edge);
    align-items: center;
}
.product { background: #dfcdb9; }
.product-photo { max-width: 600px; width: 100%; }
.product-photo .crop { aspect-ratio: 4 / 5; background: #cbb9a3; }
.product-copy { max-width: 510px; }
.product-copy h2 { font-size: clamp(3.7rem, 6vw, 7rem); overflow-wrap: normal; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 1.5rem; }
.product-intro, .checkout-intro > p:last-child {
    font: clamp(1.3rem, 1.7vw, 1.7rem)/1.4 var(--serif);
    max-width: 31ch;
    margin-top: 1.8rem;
}
.product-price { font: 1.8rem/1.2 var(--serif); margin-top: 1.8rem; }
.order-link, #checkout-submit {
    display: inline-flex;
    justify-content: space-between;
    gap: 3rem;
    align-items: center;
    background: var(--moss);
    color: #fffaf0;
    border: 1px solid var(--moss);
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}
.order-link:hover, #checkout-submit:hover:enabled { background: #303625; text-decoration: none; }
.product-note, .checkout-help { font-size: .85rem; line-height: 1.6; max-width: 42ch; margin-top: 1.3rem; }
.checkout { align-items: start; background: #f2ecdf; }
.checkout-panel { max-width: 620px; width: 100%; }
.checkout fieldset { padding: 0; margin: 0 0 1.5rem; border: 0; }
.checkout legend { font-weight: bold; margin-bottom: .8rem; }
.choice { display: flex; gap: .7rem; align-items: baseline; margin-bottom: .7rem; }
.choice input { accent-color: var(--moss); }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .9rem; }
.field input { width: 100%; min-height: 48px; border: 1px solid #9e907d; border-radius: 0; background: #fffdf8; padding: .65rem; color: var(--ink); font: inherit; }
.address-row { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.address-row:last-child { grid-template-columns: 1fr 2fr; }
.checkout-total { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid #cbbfae; padding-top: 1.2rem; margin-top: .5rem; }
#checkout-submit:disabled { opacity: .55; cursor: not-allowed; }
.checkout-status:not(:empty) { padding: 1rem; margin-bottom: 1rem; border-left: 3px solid var(--moss); background: #e4dfd0; }
.text-button { border: 0; padding: .4rem 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid #392f27; outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 740px) {
    header { flex-wrap: wrap; gap: .6rem; padding-top: .8rem; padding-bottom: .8rem; }
    nav { flex-wrap: wrap; justify-content: flex-end; gap: .8rem; }
    .product, .checkout { grid-template-columns: 1fr; gap: 2rem; }
    .product-copy { grid-row: 1; }
    .product-photo { max-width: 460px; }
    .product-photo .crop { aspect-ratio: 1 / 1; }
}
@media (max-width: 420px) {
    header { align-items: flex-start; }
    header nav { width: 100%; justify-content: flex-start; }
    .product-copy h2 { font-size: clamp(3.3rem, 13vw, 4.5rem); }
}
