.checkoutPage { width: min(900px, 100%); margin: auto; padding: 36px 32px 64px; color: #223442; overflow-wrap: anywhere; }
.checkoutPage h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); letter-spacing: -.025em; }
.checkoutPage .backLink { margin-bottom: 24px; }
.demoNotice { padding: 16px 20px; border: 1px solid #d2dfe8; border-radius: 10px; background: #eef4f8; color: #3c5263; line-height: 1.6; }
.checkoutSteps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 28px 0; gap: 12px; }
.checkoutSteps li { display: flex; align-items: center; gap: 8px; color: #657481; font-size: 14px; }
.checkoutSteps span { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border: 1px solid #cdd7df; border-radius: 50%; }
.checkoutSteps [aria-current] { font-weight: bold; color: #223442; }
.checkoutSteps [aria-current] span, .checkoutSteps .complete span { background: var(--primaryColor); color: white; border-color: var(--primaryColor); }
.checkoutPanel { padding: 28px; border: 1px solid #d9e0e5; border-radius: 16px; background: white; scroll-margin-top: 80px; }
.checkoutPanel h2 { font-size: 25px; margin: 0 0 24px; }
.checkoutPanel h2:focus { outline: none; }
.checkoutPanel > p { line-height: 1.7; }
.checkoutPanel fieldset { border: 0; min-width: 0; margin: 0; padding: 0; }
.orderField { display: grid; gap: 8px; margin: 0 0 20px; color: #374c5c; font-size: 14px; font-weight: 600; min-width: 0; }
.orderField input, .orderField select, .orderField textarea { width: 100%; min-width: 0; min-height: 46px; border: 1px solid #cdd7df; border-radius: 9px; padding: 11px 12px; font: inherit; font-size: 16px; font-weight: normal; color: #223442; background: white; }
.orderField select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235d7384' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
.orderField textarea { resize: vertical; }
.orderFieldGrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.orderCheckbox { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 15px; line-height: 1.5; margin: 4px 0 24px; }
.orderCheckbox input { width: 18px; height: 18px; accent-color: var(--primaryColor); }
.orderHint { color: #62717e; font-size: 13px; line-height: 1.6; }
.checkoutActions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 26px; }
.checkoutActions > :only-child { margin-left: auto; }
.orderParameters { margin: 22px 0; }
.orderParameters > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px; padding: 9px 0; }
.orderParameters dt { color: #62717e; }
.orderParameters dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.priceBreakdown { list-style: none; padding: 18px 0 0; border-top: 1px solid #e1e7ec; margin: 20px 0; }
.priceBreakdown li, .orderTotal { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; line-height: 1.5; }
.priceBreakdown li { flex-wrap: wrap; }
.priceBreakdown small { display: block; color: #62717e; margin-top: 4px; }
.priceBreakdown strong { white-space: nowrap; margin-left: auto; }
.orderTotal { align-items: center; padding: 18px 0; border-top: 1px solid #d9e0e5; font-weight: bold; }
.orderTotal strong { font-size: clamp(20px, 4vw, 28px); text-align: right; }
.orderReceipt h3 { margin-top: 0; font-size: 22px; line-height: 1.4; }
.ordersSection { margin: 32px 0 40px; scroll-margin-top: 80px; }
.ordersToolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ordersToolbar h2 { margin: 0; }
.ordersToolbar .orderField { margin: 0; }
.ordersToolbar .orderField select { width: auto; min-width: 170px; }
.ordersList { display: grid; gap: 20px; }
.orderCard { min-width: 0; padding: 26px; border: 1px solid #d9e0e5; border-radius: 14px; background: white; overflow-wrap: anywhere; }
.orderCardHeader { display: flex; justify-content: space-between; align-items: start; gap: 20px; }
.orderCardHeader h3 { font-size: 21px; margin: 0; line-height: 1.4; }
.orderStatus { flex-shrink: 0; padding: 7px 12px; border-radius: 30px; font-size: 13px; background: #edf3f7; color: #3c5263; }
.orderStatus[data-status=completed] { background: #e7f1eb; color: #285e3d; }
.orderStatus[data-status=cancelled] { background: #f4eeee; color: #804848; }
.orderStatus[data-status=in_progress] { background: #fff3db; color: #785819; }
.orderAmount { display: block; font-size: 24px; margin: 18px 0 4px; }
.orderExpandable { margin-top: 20px; }
.orderExpandable summary { cursor: pointer; color: var(--primaryVariantColor); font-weight: bold; }
.orderExpandable .orderReceipt { margin-top: 24px; }
.orderStatusForm { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; border-top: 1px solid #e1e7ec; padding-top: 20px; margin-top: 20px; }
.orderStatusForm .orderField { margin: 0; flex: 1; max-width: 300px; }
.orderEmpty { padding: 30px; border-radius: 14px; background: #f4f7f9; text-align: center; }
.adminNavigation { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
@media (max-width: 600px) {
    .checkoutPage { padding: 28px 20px 44px; }
    .checkoutPanel, .orderCard { padding: 20px; }
    .checkoutSteps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
    .orderFieldGrid { grid-template-columns: 1fr; gap: 0; }
    .orderParameters > div { grid-template-columns: 1fr; gap: 5px; }
    .orderCardHeader { flex-direction: column; gap: 12px; }
    .orderTotal { flex-wrap: wrap; }
    .checkoutActions > .accountButton { flex: 1; }
}
