/* Lanhu: 1920px artboard / 1200px content / 866px form + 42px gap + 292px guide. */
.order-page {
  --order-ink: #292625;
  --order-muted: #766f6b;
  --order-line: #eee9e7;
  --order-regular: "PingFang SC-Regular", "PingFang SC", "Microsoft YaHei", sans-serif;
  --order-medium: "PingFang SC-Medium", "PingFang SC", "Microsoft YaHei", sans-serif;
  --order-semibold: "PingFang SC-Semibold", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff;
}
.order-page :where(main h1, main h2, main h3, main p) { margin: 0; }
.order-page [hidden] { display: none !important; }
.order-page main .section-label { color: #e9472b; font: 600 12px/15px var(--order-semibold); letter-spacing: 1.25px; }
.order-page .header-order { border-radius: 20px; }

.order-hero { padding: 24px 0 72px; background: linear-gradient(180deg, #fff3ee, rgba(255, 243, 238, 0)); }
.order-crumb { display: flex; flex-wrap: wrap; gap: 9px; color: #666; font: 400 12px/17px var(--order-regular); }
.order-crumb span { color: #c9bbb5; }
.order-crumb b { color: #000; font-family: var(--order-semibold); font-weight: 600; }
.order-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; align-items: center; gap: 42px; margin-top: 48px; }
.order-hero-layout > div:first-child { min-width: 0; }
.order-hero-layout .section-label { line-height: 16px; letter-spacing: 1px; }
.order-hero h1 { margin-top: 20px; color: #000; font: 600 44px/48px var(--order-semibold); }
.order-hero h1 + p { margin-top: 20px; color: #666; font: 400 16px/20px var(--order-regular); }
.order-hero-status { display: flex; flex-direction: column; gap: 8px; min-height: 128px; padding: 20px 17px 20px 20px; border-left: 3px solid #e9472b; background: rgba(255,255,255,.72); box-shadow: 0 10px 22px rgba(112,73,60,.08); }
.order-hero-status span { color: #e9472b; font: 600 12px/16px var(--order-semibold); letter-spacing: 1px; }
.order-hero-status b { color: #000; font: 600 16px/24px var(--order-semibold); }
.order-hero-status small { color: #666; font: 400 12px/16px var(--order-regular); }
.order-assurances { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 48px; overflow: hidden; border: 1px solid rgba(186,113,91,.22); border-radius: 24px; background: #fff; }
.order-assurance { display: flex; align-items: center; gap: 20px; min-height: 88px; padding: 20px 28px; }
.order-assurance + .order-assurance { border-left: 1px solid rgba(186,113,91,.2); }
.order-assurance img { display: block; flex: 0 0 48px; width: 48px; height: 48px; object-fit: contain; }
.order-assurance span { display: grid; gap: 4px; }
.order-assurance b { color: #4a403d; font: 600 14px/20px var(--order-semibold); }
.order-assurance small { color: #8a7d78; font: 400 12px/16px var(--order-regular); }

.order-main { padding-bottom: 72px; }
.order-layout { display: grid; grid-template-columns: minmax(0,1fr) 292px; align-items: start; gap: 42px; }
.order-workspace { min-width: 0; overflow: hidden; border: 1px solid #fbd3ca; border-radius: 32px; background: #fff; box-shadow: 0 12px 28px rgba(43,37,34,.05); }
.order-progress { display: grid; grid-template-columns: auto minmax(12px,1fr) auto minmax(12px,1fr) auto; align-items: center; gap: 12px; height: 90px; padding: 0 34px; border-bottom: 1px solid #eee8e5; background: #fff8f6; }
.order-progress > i { height: 1px; background: #e6dcd7; }
.order-progress-item { display: grid; grid-template-columns: 30px auto; column-gap: 9px; align-items: center; padding: 0; border: 0; color: #a09894; background: transparent; text-align: left; }
.order-progress-item span { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #dcd4d0; border-radius: 50%; color: #99908b; font: 600 12px/17px var(--order-semibold); }
.order-progress-item b { color: inherit; font: 600 13px/18px var(--order-semibold); }
.order-progress-item small { margin-top: 4px; color: inherit; font: 400 11px/15px var(--order-regular); }
.order-progress-item.is-active { color: #4a413d; }
.order-progress-item.is-active span { border-color: #e9472b; color: #fff; background: #e9472b; box-shadow: 0 5px 11px rgba(233,71,43,.22); }
.order-progress-item.is-complete span { border-color: #efb8aa; color: #e9472b; background: #fff3ef; }
.order-form { padding: 38px 42px 42px; }
.order-step { scroll-margin-top: 100px; }
.order-step-heading { margin-bottom: 28px; }
.order-step-heading h2 { margin-top: 10px; color: var(--order-ink); font: 600 25px/33px var(--order-semibold); }
.order-step-heading > p:last-child { margin-top: 10px; color: var(--order-muted); font: 400 13px/23px var(--order-regular); }
.order-smart-parse { position: relative; margin-bottom: 28px; }
.order-smart-parse textarea { display: block; box-sizing: border-box; width: 100%; height: 84px; padding: 13px 154px 13px 16px; border: 1px solid #ededed; border-radius: 8px; resize: none; color: #333; background: #fff; font: 400 16px/24px var(--order-regular); transition: border-color .18s ease, box-shadow .18s ease; }
.order-smart-parse textarea::placeholder { color: #aaa; opacity: 1; }
.order-smart-parse textarea:focus { outline: none; border-color: #f36a45; box-shadow: 0 0 0 1px #f36a45; }
.order-smart-parse button { position: absolute; top: 50%; right: 14px; width: 126px; height: 36px; padding: 0; border: 0; border-radius: 36px; transform: translateY(-50%); color: #fff; background: linear-gradient(90deg, #e93300, #f96100); box-shadow: 0 2px 8px rgba(233,51,0,.2); font: 500 14px/36px var(--order-medium); }
.order-smart-parse button:hover { filter: brightness(.97); }
.order-smart-parse button:disabled { opacity: .65; cursor: wait; }
.order-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.order-parse-result { position: fixed; z-index: 120; top: 88px; left: 50%; width: max-content; max-width: min(680px, calc(100% - 32px)); margin: 0; padding: 13px 20px; transform: translateX(-50%); border: 1px solid #fbd3ca; border-radius: 10px; color: #874621; background: #fff8f2; box-shadow: 0 8px 24px rgba(69,37,24,.13); font: 400 14px/22px var(--order-regular); }
.order-parse-result.is-success { border-color: #cce6d7; color: #267148; background: #f4fbf6; }
.order-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 16px; }
.order-form-grid label { min-width: 0; }
.order-field-wide { grid-column: 1 / -1; }
.order-form label > span { display: block; margin-bottom: 8px; color: #504946; font: 600 13px/18px var(--order-semibold); }
.order-form input, .order-form select { width: 100%; min-width: 0; height: 46px; padding: 0 13px; border: 1px solid #ededed; border-radius: 8px; color: #342f2d; background-color: #fff; font: 400 14px/20px var(--order-regular); transition: border-color .18s ease, box-shadow .18s ease; }
.order-form select { padding-right: 36px; appearance: none; -webkit-appearance: none; background-image: url("assets/lanhu-hd/ic_down@2x.png"); background-repeat: no-repeat; background-position: right 13px center; background-size: 16px 16px; }
.order-form-grid-address select { height: 48px; }
.order-form input::placeholder { color: #999; opacity: 1; }
.order-form input:focus, .order-form select:focus { outline: none; border-color: #e9472b; box-shadow: 0 0 0 3px rgba(233,71,43,.1); }
.order-form [aria-invalid="true"] { border-color: #e9472b; }
.order-examples { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 17px; color: #938984; font: 400 12px/17px var(--order-regular); }
.order-examples button { padding: 0; border: 0; color: #796e68; background: transparent; font: inherit; text-decoration: underline; text-decoration-color: #d7ceca; text-underline-offset: 3px; }
.order-examples button:hover { color: #e9472b; }
.order-step-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 31px; padding-top: 22px; border-top: 1px solid var(--order-line); }
.order-step-actions > div { display: flex; align-items: center; gap: 17px; margin-left: auto; }
.order-form-message { max-width: 370px; color: #877b75; font: 400 12px/20px var(--order-regular); }
.order-form-message.is-error { color: #c72f1d; }
.order-primary-button, .order-secondary-button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 0 24px; border-radius: 70px; font: 500 16px/20px var(--order-medium); white-space: nowrap; transition: box-shadow .18s ease, background-color .18s ease; }
.order-primary-button { border: 0; color: #fff; background: linear-gradient(90deg,#e93300,#f96100); box-shadow: 0 2px 8px rgba(233,51,0,.2); }
.order-primary-button:hover { color: #fff; box-shadow: 0 4px 12px rgba(233,51,0,.3); }
.order-primary-button img { width: 18px; height: 10px; object-fit: contain; }
.order-primary-button span { font-size: 19px; line-height: 1; }
.order-secondary-button { border: 1px solid #efb8aa; color: #e9472b; background: #fff; }
.order-secondary-button:hover { background: #fff3ee; }

/* Subsequent steps retain the same form language; choosing a product is optional. */
.order-selected-product, .order-product-empty { padding: 22px; border: 1px solid #fbd3ca; border-radius: 16px; background: #fff8f6; }
.order-selected-product .section-label, .order-product-empty .section-label { margin-bottom: 10px; font-size: 10px; }
.order-selected-product > div { display: flex; align-items: center; gap: 12px; }
.order-selected-product-mark { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; color: #fff; background: #e9472b; font-size: 17px; }
.order-selected-product b { display: block; color: #403734; font: 600 16px/24px var(--order-semibold); }
.order-selected-product small { display: block; margin-top: 5px; color: #7c716c; font: 400 12px/20px var(--order-regular); }
.order-selected-product a { flex-shrink: 0; margin-left: auto; color: #e9472b; font-size: 13px; }
.order-product-empty h3 { color: #453d39; font: 600 16px/24px var(--order-semibold); }
.order-product-empty p:not(.section-label) { margin: 8px 0 12px; color: #7b706b; font: 400 13px/22px var(--order-regular); }
.order-product-empty a { color: #e9472b; font-size: 13px; font-weight: 600; }
.order-contact-section { margin-top: 31px; padding-top: 28px; border-top: 1px solid var(--order-line); }
.order-contact-section h3 { margin-bottom: 18px; color: #403936; font: 600 16px/24px var(--order-semibold); }
.order-confirmation { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: hidden; border: 1px solid #fbd3ca; border-radius: 16px; }
.order-confirmation div { display: grid; align-content: start; gap: 8px; min-height: 86px; padding: 20px; background: #fff8f6; }
.order-confirmation div:nth-child(odd) { border-right: 1px solid #fbd3ca; }
.order-confirmation div:nth-child(n + 3) { border-top: 1px solid #fbd3ca; }
.order-confirmation span { color: #8b817d; font: 400 12px/18px var(--order-regular); }
.order-confirmation b { color: #413a37; font: 600 14px/24px var(--order-semibold); overflow-wrap: anywhere; }
.order-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 20px; cursor: pointer; }
.order-consent input { flex: 0 0 16px; width: 16px; height: 16px; margin: 3px 0 0; accent-color: #e9472b; }
.order-consent > span { font: 400 12px/22px var(--order-regular) !important; }

.order-aside { padding-top: 7px; }
.order-aside-heading { padding-bottom: 17px; border-bottom: 2px solid #e9472b; }
.order-aside-heading h2 { margin-top: 8px; color: #413936; font: 600 21px/29px var(--order-semibold); }
.order-guide-list { display: grid; gap: 19px; margin: 25px 0 0; padding: 0; list-style: none; }
.order-guide-list li { display: grid; grid-template-columns: 31px minmax(0,1fr); gap: 11px; }
.order-guide-list li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #efb8aa; border-radius: 50%; color: #e9472b; background: #fff7f4; font: 600 10px/14px var(--order-semibold); }
.order-guide-list li > div { padding-top: 2px; }
.order-guide-list b { display: block; color: #4b423e; font: 600 14px/20px var(--order-semibold); }
.order-guide-list p { margin-top: 6px; color: #837974; font: 400 12px/20px var(--order-regular); }
.order-aside-note { margin-top: 30px; padding-top: 24px; border-top: 1px solid #ededed; }
.order-aside-note b { display: block; color: #4e4541; font: 600 14px/20px var(--order-semibold); }
.order-aside-note p { margin: 9px 0 12px; color: #817772; font: 400 12px/20px var(--order-regular); }
.order-aside-note button { display: inline-flex; align-items: center; gap: 10px; height: 25px; padding: 0; border: 0; color: #e9472b; background: transparent; font: 600 13px/18px var(--order-semibold); }
.order-aside-note button span { font-size: 18px; }
.order-hotline { display: grid; gap: 3px; margin-top: 27px; padding: 16px 0; border-top: 1px solid #ededed; border-bottom: 1px solid #ededed; }
.order-hotline span { color: #837a76; font: 400 12px/17px var(--order-regular); }
.order-hotline b { color: #e9472b; font: 600 19px/22px Arial,sans-serif; letter-spacing: .2px; }
.order-success { display: grid; justify-items: center; width: min(780px,calc(100% - 40px)); margin: 0 auto; padding: 60px 40px; border: 1px solid #fbd3ca; border-radius: 32px; background: #fff; box-shadow: 0 12px 28px rgba(43,37,34,.05); text-align: center; }
.order-success-mark { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 20px; border-radius: 50%; color: #fff; background: #e9472b; font-size: 27px; }
.order-success h2 { margin-top: 10px; color: var(--order-ink); font: 600 28px/38px var(--order-semibold); }
.order-success > p:not(.section-label) { max-width: 520px; margin: 14px 0 25px; color: var(--order-muted); font: 400 14px/24px var(--order-regular); }
.order-success > p b { color: #e9472b; }
.order-success > div { display: flex; gap: 12px; }

@media (max-width: 1100px) {
  .order-hero h1 { font-size: 38px; line-height: 44px; }
  .order-hero h1 + p { line-height: 26px; }
  .order-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 28px; }
  .order-progress { padding-inline: 22px; gap: 8px; }
  .order-form { padding-inline: 28px; }
  .order-step-actions { flex-wrap: wrap; }
  .order-step-actions > div { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 900px) {
  .order-hero-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 28px; }
  .order-assurance { gap: 12px; padding-inline: 18px; }
  .order-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .order-aside { max-width: 600px; width: 100%; }
}
/* The current form adapts to mobile; layout=mobile opens the legacy demo. */
@media (max-width: 760px) {
  .order-hero { padding: 16px 0 32px; }
  .order-hero-layout { grid-template-columns: minmax(0,1fr); gap: 24px; margin-top: 28px; }
  .order-hero h1 { margin-top: 14px; font-size: 29px; line-height: 38px; }
  .order-hero h1 + p { margin-top: 14px; font-size: 14px; line-height: 24px; }
  .order-hero-status { min-height: 0; padding: 16px 18px; }
  .order-assurances { margin-top: 28px; border-radius: 18px; }
  .order-assurance { flex-direction: column; gap: 8px; padding: 16px 6px; text-align: center; }
  .order-assurance img { flex-basis: 36px; width: 36px; height: 36px; }
  .order-assurance b { font-size: 12px; }
  .order-assurance small { font-size: 10px; }
  .order-main { padding-bottom: 48px; }
  .order-workspace { border-radius: 22px; }
  .order-progress { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 4px; height: 90px; padding: 16px 10px; }
  .order-progress > i { display: none; }
  .order-progress-item { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 6px; text-align: center; }
  .order-progress-item span { grid-row: auto; }
  .order-progress-item b { font-size: 12px; }
  .order-progress-item small { display: none; }
  .order-form { padding: 28px 20px; }
  .order-smart-parse { margin-bottom: 24px; }
  .order-smart-parse textarea { height: 112px; padding: 12px 12px 50px; font-size: 13px; line-height: 20px; }
  .order-smart-parse button { top: auto; right: 10px; bottom: 10px; width: 108px; height: 32px; transform: none; font-size: 13px; line-height: 32px; }
  .order-parse-result { top: 90px; padding: 12px 16px; font-size: 13px; }
  .order-step-heading h2 { font-size: 22px; line-height: 30px; }
  .order-form-grid, .order-confirmation { grid-template-columns: minmax(0,1fr); }
  .order-form-grid-address { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .order-form-grid-address select { padding-left: 10px; }
  .order-step-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .order-step-actions > div { align-items: stretch; flex-direction: column; gap: 13px; margin-left: 0; }
  .order-primary-button, .order-secondary-button { width: 100%; font-size: 14px; }
  .order-form-message { max-width: none; }
  .order-selected-product, .order-product-empty { padding: 18px 15px; }
  .order-selected-product > div { flex-wrap: wrap; }
  .order-selected-product > div > div { flex: 1; min-width: 0; }
  .order-selected-product a { margin-left: 46px; }
  .order-confirmation div:nth-child(odd) { border-right: 0; }
  .order-confirmation div + div { border-top: 1px solid #fbd3ca; }
  .order-aside { padding: 0 4px; }
  .order-success { width: calc(100% - 32px); padding: 40px 22px; border-radius: 22px; }
  .order-success > div { display: grid; width: 100%; }
}

.order-selected-product button, .order-product-empty button { flex-shrink: 0; margin-left: auto; padding: 0; border: 0; color: #e9472b; background: transparent; font: 600 13px/20px var(--order-regular); cursor: pointer; }
.product-picker-dialog { width: min(620px, calc(100% - 32px)); max-height: min(720px, calc(100vh - 48px)); padding: 0; border: 0; border-radius: 18px; color: #403734; background: #fff; box-shadow: 0 24px 70px rgba(93, 43, 30, .24); }
.product-picker-dialog::backdrop { background: rgba(50, 31, 25, .38); }
.product-picker-content { padding: 28px; }
.product-picker-content .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.product-picker-content .dialog-head h2 { margin: 7px 0 0; font: 600 24px/32px var(--order-semibold); }
.product-picker-intro { margin: 12px 0 18px; color: #7b706b; font: 400 13px/22px var(--order-regular); }
.product-picker-list { display: grid; gap: 9px; max-height: 430px; overflow: auto; }
.product-picker-option { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; min-height: 58px; padding: 10px 13px; border: 1px solid #f1dfd8; border-radius: 9px; color: #403734; background: #fffaf8; text-align: left; cursor: pointer; }
.product-picker-option:hover, .product-picker-option:focus-visible { border-color: #e9472b; background: #fff3ef; outline: 0; }
.product-picker-option span { font: 600 14px/20px var(--order-semibold); }
.product-picker-option small { color: #8d817c; font: 400 12px/18px var(--order-regular); }
.product-picker-option b { color: #e9472b; font: 600 12px/18px var(--order-semibold); white-space: nowrap; }
.product-picker-recommend { width: 100%; min-height: 42px; margin-top: 13px; border: 1px solid #e9472b; border-radius: 8px; color: #e9472b; background: #fff; font: 600 13px/20px var(--order-semibold); cursor: pointer; }
.product-picker-recommend:hover { color: #fff; background: #e9472b; }
@media (max-width: 760px) {
  .order-selected-product button, .order-product-empty button { margin-left: 46px; }
  .product-picker-content { padding: 22px 16px; }
  .product-picker-content .dialog-head h2 { font-size: 21px; line-height: 28px; }
  .product-picker-option { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
  .product-picker-option small { grid-column: 1; }
  .product-picker-option b { grid-column: 2; grid-row: 1 / span 2; }
}
