.order-page [hidden] { display: none !important; }
.order-page .header-inner { min-height: 90px; }
.header-caption, .account-bar { color: var(--muted); font-size: .9rem; }
.account-bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
.order-layout { max-width: 720px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 24px; padding-block: 38px 60px; }
.intro-copy { color: var(--muted); margin: 0; line-height: 1.65; }
.order-workspace { min-width: 0; }
.order-card { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 48px rgba(28,45,33,.06); scroll-margin-top: 108px; }
.card-top { margin-bottom: 25px; }
.card-top .eyebrow { font-size: .68rem; margin-bottom: 10px; }
.order-card h2 { font-size: 2.1rem; }
.order-card h2[tabindex="-1"]:focus { outline: none; }
.card-top > p:last-child { margin: 14px 0 0; color: var(--muted); font-size: .93rem; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); gap: 22px; margin-bottom: 24px; }
.auth-tabs button { padding: 10px 0 13px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font: inherit; cursor: pointer; }
.auth-tabs button[aria-selected="true"] { color: var(--green); border-bottom-color: var(--green); font-weight: 650; }
.order-page form > label, .order-page fieldset > label, .form-grid > label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 18px; }
.order-page input:not([type="checkbox"]), .order-page select, .order-page textarea { display: block; width: 100%; max-width: 100%; margin-top: 7px; min-height: 48px; padding: 11px 13px; border: 1px solid rgba(23,35,27,.24); border-radius: 9px; font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); background: #fff; }
.order-page textarea { resize: vertical; }
.order-page input[readonly] { background: #f3f2ed; color: var(--muted); }
.order-page input:focus, .order-page select:focus, .order-page textarea:focus { outline: 2px solid var(--green-2); outline-offset: 2px; }
.order-page small { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; font-weight: 400; }
.order-page .check-label { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; font-weight: 400; }
.check-label input { width: 18px; height: 18px; margin: 4px 0 0; flex: 0 0 auto; accent-color: var(--green); }
.order-page .button { border: 0; font: inherit; font-weight: 650; width: 100%; padding: 13px 20px; cursor: pointer; min-height: 50px; white-space: normal; }
.order-page button:disabled { opacity: .6; cursor: wait; transform: none; }
.text-button { border: 0; padding: 8px 0; background: transparent; color: var(--green); font: inherit; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.forgot-button, .back-login, #edit-order { display: block; margin-top: 15px; }
.form-grid { display: grid; gap: 16px; }
.address-grid { grid-template-columns: 115px minmax(0, 1fr); }
.form-explanation { margin: 0 0 18px; color: var(--muted); font-size: .88rem; }
.order-page fieldset { border: 0; padding: 0; margin: 0 0 25px; min-width: 0; }
.order-page legend { width: 100%; border-bottom: 1px solid var(--line); padding: 0 0 12px; margin-bottom: 18px; font: 500 1.3rem Georgia,serif; }
.optional { font-weight: 400; color: var(--muted); }
.message, .service-notice, .verify-notice { padding: 13px 16px; margin: 0 0 18px; border: 1px solid #dcc79d; border-radius: 10px; background: #fcf5e8; font-size: .88rem; overflow-wrap: anywhere; }
.message.error { border-color: #d7b1a6; background: #f9ede9; color: #783f2c; }
.message.success { border-color: #b7cbb8; background: #eaf2e8; color: var(--green); }
.verify-notice p { margin: 0 0 8px; }
.verify-notice .text-button { margin-right: 18px; }
.privacy-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .75rem; margin: 22px 0 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.order-summary { margin: 0 0 25px; }
.order-summary > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-summary dt { color: var(--muted); font-size: .88rem; }
.order-summary dd { margin: 0; font-size: .94rem; overflow-wrap: anywhere; white-space: pre-line; }
.success-mark { width: 54px; height: 54px; display: grid; place-items: center; color: var(--green); background: #e8eee2; border-radius: 50%; font-size: 1.8rem; margin-bottom: 22px; }
.success-card > p { color: var(--muted); }
.order-reference { padding-block: 20px; border-block: 1px solid var(--line); font-size: .88rem; }
.order-reference strong { display: block; margin-top: 5px; color: var(--ink); font-size: 1.15rem; overflow-wrap: anywhere; }
@media (max-width: 900px) { .order-card { padding: 30px; } }
@media (max-width: 700px) { .order-layout { padding-block: 24px 40px; gap: 20px; } .order-card { padding: 24px; } .order-page .header-inner { min-height: 76px; gap: 12px; } .order-page .brand-logo { width: 126px; height: 58px; } .account-bar { gap: 5px; font-size: .8rem; max-width: 50%; } .header-caption { font-size: .8rem; } }
@media (max-width: 380px) { .order-card { padding: 20px; } .address-grid { grid-template-columns: 1fr; gap: 0; } .order-summary > div { grid-template-columns: 1fr; gap: 5px; } }
@media (prefers-reduced-motion: reduce) { .order-page *, .order-page *::before, .order-page *::after { scroll-behavior: auto !important; transition: none !important; } }
.order-document { scroll-behavior: auto; }
.account-navigation { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; scroll-margin-top: 108px; }
.account-navigation button { border: 1px solid var(--line); border-radius: 9px; padding: 11px 16px; background: var(--white); color: var(--green); font: inherit; font-size: .9rem; cursor: pointer; }
.account-navigation button[aria-pressed="true"] { background: var(--green); color: white; border-color: var(--green); }
.history-notice { color: var(--muted); font-size: .88rem; margin: 12px 0 22px; }
.history-notice:empty { display: none; }
#history-title { font-size: 1.7rem; }
.history-list { display: grid; gap: 20px; margin-bottom: 22px; }
.history-order { min-width: 0; border: 1px solid var(--line); border-radius: 12px; padding: 22px; overflow-wrap: anywhere; }
.history-order h3 { font: 500 1.35rem Georgia, serif; margin: 0 0 8px; }
.history-reference, .history-checked { color: var(--muted); font-size: .77rem; margin: 8px 0; }
.history-amount { font-size: .93rem; margin: 15px 0; }
.history-details { margin: 0; }
.history-details > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); }
.history-details dt { font-size: .82rem; color: var(--muted); }
.history-details dd { margin: 0; font-size: .87rem; white-space: pre-line; }
.history-details .status-badge { justify-self: start; border-radius: 6px; background: #f5efe1; padding: 3px 8px; }
.history-details .status-badge.complete { color: var(--green); background: #eaf2e8; }
.history-note { font-size: .85rem; white-space: pre-line; }
.history-checked { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
@media (max-width: 480px) { .history-order { padding: 16px; } .account-navigation button { flex: 1 1 auto; padding: 10px; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.address-section { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 14px; min-width: 0; }
.address-section > summary { padding: 12px 14px; cursor: pointer; font-size: .9rem; overflow-wrap: anywhere; }
.address-section > summary strong { margin-right: 8px; }
.address-preview { display: block; color: var(--muted); font-size: .82rem; margin-top: 5px; }
.edit-caption { display: inline-block; color: var(--green); font-size: .78rem; text-decoration: underline; }
.address-fields { padding: 12px 14px 0; border-top: 1px solid var(--line); }
.address-fields > label { display: block; margin-bottom: 16px; font-size: .9rem; font-weight: 600; }
.history-list { gap: 12px; }
.history-order { padding: 16px 18px; }
.history-order h3 { font-size: 1.12rem; margin-bottom: 4px; }
.history-reference { margin: 4px 0; }
.history-amount { font-size: .86rem; margin: 8px 0; }
.history-states > div { grid-template-columns: minmax(85px, .7fr) minmax(0, 1.3fr); padding: 6px 0; gap: 8px; }
.history-states dd { font-size: .81rem; }
.history-expanded { margin-top: 8px; font-size: .82rem; }
.history-expanded > summary { cursor: pointer; color: var(--green); padding-block: 5px; }
.history-expanded p { margin: 8px 0; white-space: pre-line; }
.delivery-day { margin: 8px 0; font-weight: 600; font-size: .86rem; }
.order-page legend { font-size: 1.1rem; padding-bottom: 8px; margin-bottom: 12px; }
.order-page fieldset { margin-bottom: 18px; }
.order-page form > label, .order-page fieldset > label, .form-grid > label { margin-bottom: 12px; }
@media (max-width: 480px) { .order-card { padding: 18px; } .history-states > div { grid-template-columns: 85px minmax(0, 1fr); } .history-order { padding: 12px; } }
