.order-table button.order-row {
  width: 100%;
  background: #fff;
  text-align: left;
}

/* Specification-complete homepage modules */
.home-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 34px; margin-bottom: 24px; }
.home-section-head > div > span,.home-sourcing-copy > span,.home-payment-panel > span { color: #e84639; font-size: 10px; font-weight: 850; }
.home-section-head h2,.home-sourcing-copy h2,.home-payment-panel h2 { margin: 7px 0 0; font-size: 31px; line-height: 1.15; }
.home-section-head > p { max-width: 520px; margin: 0; color: #667085; font-size: 11px; line-height: 1.7; text-align: right; }
.home-category-band,.home-store-band,.home-service-band,.home-trust-band { padding: 72px 0; }
.home-category-band { border-top: 1px solid #e4e7ec; background: #fff; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dfe4e9; border-left: 1px solid #dfe4e9; }
.home-category-grid > button { min-width: 0; min-height: 104px; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 20px; border-right: 1px solid #dfe4e9; border-bottom: 1px solid #dfe4e9; background: #fff; text-align: left; }
.home-category-grid > button:hover { background: #fff7f5; }
.home-category-grid > button > span { color: #e84639; font-size: 10px; font-weight: 850; }
.home-category-grid > button > div { min-width: 0; display: grid; gap: 5px; }
.home-category-grid b { font-size: 14px; }
.home-category-grid small { overflow: hidden; color: #667085; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-category-grid i { color: #e84639; font-size: 14px; font-style: normal; }
.home-warehouse-band { padding: 72px 0; background: #172033; color: #fff; }
.home-warehouse-band .home-section-head > p { color: #aeb8c2; }
.home-warehouse-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #344354; border-left: 1px solid #344354; }
.home-warehouse-grid article { min-width: 0; min-height: 205px; padding: 22px; border-right: 1px solid #344354; border-bottom: 1px solid #344354; }
.home-warehouse-grid header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-warehouse-grid header span { color: #ff8c82; font-size: 11px; font-weight: 850; }
.home-warehouse-grid header em { color: #9eacb8; font-size: 9px; font-style: normal; }
.home-warehouse-grid h3 { margin: 32px 0 6px; font-size: 18px; }
.home-warehouse-grid p { min-height: 26px; margin: 0; color: #aeb8c2; font-size: 10px; }
.home-warehouse-grid dl { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0 0; }
.home-warehouse-grid dl > div { border-left: 1px solid #465665; padding-left: 10px; }
.home-warehouse-grid dt { color: #8999a6; font-size: 8px; }
.home-warehouse-grid dd { margin-top: 5px; color: #fff; font-size: 12px; }
.home-sourcing-band { padding: 64px 0; background: #eef1f4; }
.home-sourcing-band .home-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 70px; }
.home-sourcing-copy h2 { font-size: 32px; }
.home-sourcing-copy p { margin: 12px 0 20px; color: #667085; font-size: 11px; line-height: 1.7; }
.home-sourcing-copy button { min-height: 44px; }
.home-sourcing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cfd6dd; border-left: 1px solid #cfd6dd; background: #fff; }
.home-sourcing-steps > div { min-height: 132px; display: grid; align-content: center; gap: 5px; padding: 18px; border-right: 1px solid #cfd6dd; border-bottom: 1px solid #cfd6dd; }
.home-sourcing-steps i { color: #e84639; font-size: 10px; font-style: normal; font-weight: 850; }
.home-sourcing-steps b { margin-top: 10px; font-size: 13px; }
.home-sourcing-steps small { color: #667085; font-size: 9px; line-height: 1.5; }
.home-store-band { background: #fff; }
.home-store-summary { display: flex; align-items: baseline; gap: 8px; }
.home-store-summary b { font-size: 28px; }
.home-store-summary span { color: #667085; font-size: 10px; }
.home-store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; border: 1px solid #dfe4e9; }
.home-integration-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.home-integration-row > div { min-width: 0; min-height: 145px; display: grid; align-content: center; justify-items: start; gap: 10px; padding: 16px; border-right: 1px solid #e4e7ec; }
.home-integration-row > div.connected { box-shadow: inset 0 3px #20875e; }
.home-integration-row i { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dfe4e9; border-radius: 4px; background: #f5f6f7; color: #25384a; font-size: 9px; font-style: normal; font-weight: 850; }
.home-integration-row span { min-width: 0; display: grid; gap: 4px; }
.home-integration-row b,.home-integration-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-integration-row b { font-size: 11px; }
.home-integration-row small { color: #667085; font-size: 8px; }
.home-integration-row em { color: #98a2b3; font-size: 8px; font-style: normal; }
.home-integration-row .connected em { color: #20875e; }
.home-store-action { display: grid; align-content: center; gap: 8px; padding: 24px; background: #172033; color: #fff; }
.home-store-action b { font-size: 13px; }
.home-store-action p { margin: 0; color: #aeb8c2; font-size: 9px; line-height: 1.6; }
.home-store-action button { justify-self: start; margin-top: 8px; color: #ff8c82; font-size: 10px; font-weight: 800; }
.home-service-band { background: #f5f6f7; }
.home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid #d7dde3; border-left: 1px solid #d7dde3; }
.home-service-grid > button { min-width: 0; min-height: 98px; display: grid; grid-template-columns: 35px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 17px 20px; border-right: 1px solid #d7dde3; border-bottom: 1px solid #d7dde3; background: #fff; text-align: left; }
.home-service-grid > button:hover { background: #fff7f5; }
.home-service-grid > button > i { color: #e84639; font-size: 9px; font-style: normal; font-weight: 850; }
.home-service-grid > button > span { min-width: 0; display: grid; gap: 5px; }
.home-service-grid b { font-size: 12px; }
.home-service-grid small { overflow: hidden; color: #667085; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.home-service-grid em { color: #c9362d; font-size: 9px; font-style: normal; font-weight: 750; white-space: nowrap; }
.home-trust-band { background: #fff; }
.home-trust-band .home-inner { display: grid; grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr); border: 1px solid #dfe4e9; }
.home-payment-panel { padding: 30px; background: #172033; color: #fff; }
.home-payment-panel h2 { font-size: 24px; }
.home-payment-panel > p { margin: 11px 0 22px; color: #aeb8c2; font-size: 10px; line-height: 1.7; }
.home-payment-panel > div { display: flex; flex-wrap: wrap; gap: 7px; }
.home-payment-panel > div b { padding: 7px 9px; border: 1px solid #405161; color: #d6dee4; font-size: 8px; font-weight: 650; }
.home-help-panel { padding: 26px 30px; }
.home-help-panel .home-section-head { margin-bottom: 12px; }
.home-help-panel .home-section-head h2 { font-size: 24px; }
.home-help-panel .home-section-head button { color: #c9362d; font-size: 9px; font-weight: 750; }
.home-help-panel > div:last-child { border-top: 1px solid #e4e7ec; }
.home-help-panel > div:last-child > button { width: 100%; min-height: 62px; display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 3px 12px; padding: 10px 0; border-bottom: 1px solid #e4e7ec; text-align: left; }
.home-help-panel > div:last-child > button > span { grid-row: 1 / 3; color: #e84639; font-size: 8px; font-weight: 800; }
.home-help-panel > div:last-child > button > b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.home-help-panel > div:last-child > button > small { overflow: hidden; color: #667085; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.home-help-empty { padding: 30px; color: #667085; font-size: 10px; text-align: center; }

@media (max-width: 900px) {
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-warehouse-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-sourcing-band .home-inner { grid-template-columns: 1fr; gap: 30px; }
  .home-store-layout { grid-template-columns: 1fr; }
  .home-integration-row > div:last-child { border-right: 0; }
  .home-trust-band .home-inner { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .home-inner { width: calc(100% - 28px); }
  .home-category-band,.home-store-band,.home-service-band,.home-trust-band,.home-warehouse-band { padding: 52px 0; }
  .home-section-head { align-items: start; gap: 18px; }
  .home-section-head h2,.home-sourcing-copy h2 { font-size: 24px; }
  .home-section-head > p { max-width: 145px; font-size: 8px; }
  .home-category-grid > button { min-height: 88px; grid-template-columns: 25px minmax(0, 1fr); gap: 8px; padding: 12px; }
  .home-category-grid > button > i { display: none; }
  .home-category-grid b { font-size: 11px; }
  .home-category-grid small { font-size: 8px; }
  .home-warehouse-grid article { min-height: 170px; padding: 15px; }
  .home-warehouse-grid h3 { margin-top: 22px; font-size: 15px; }
  .home-warehouse-grid dl { margin-top: 16px; }
  .home-warehouse-grid dd { font-size: 10px; }
  .home-sourcing-band { padding: 48px 0; }
  .home-sourcing-steps { grid-template-columns: 1fr; }
  .home-sourcing-steps > div { min-height: 82px; grid-template-columns: 30px minmax(0, 1fr); align-content: center; padding: 13px; }
  .home-sourcing-steps i { grid-row: 1 / 3; }
  .home-sourcing-steps b { margin-top: 0; }
  .home-integration-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-integration-row > div { min-height: 120px; border-bottom: 1px solid #e4e7ec; }
  .home-integration-row > div:nth-child(2n) { border-right: 0; }
  .home-integration-row > div:last-child { grid-column: 1 / -1; }
  .home-service-grid { grid-template-columns: 1fr; }
  .home-service-grid > button { min-height: 88px; grid-template-columns: 28px minmax(0, 1fr); padding: 14px; }
  .home-service-grid em { grid-column: 2; }
  .home-trust-band .home-inner { width: 100%; border-right: 0; border-left: 0; }
  .home-payment-panel,.home-help-panel { padding: 24px 20px; }
  .home-help-panel > div:last-child > button { grid-template-columns: 70px minmax(0, 1fr); }
}

/* Independent order and fulfillment center */
.orders-page { width: min(1320px, calc(100% - 48px)); min-height: 700px; margin: 0 auto; padding: 54px 0 76px; }
.orders-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.orders-heading > div { max-width: 780px; }
.orders-heading span,.orders-section-head span { color: #e84639; font-size: 10px; font-weight: 850; }
.orders-heading h1 { margin: 8px 0 7px; font-size: 38px; line-height: 1.1; }
.orders-heading p,.orders-section-head p { margin: 0; color: #667085; font-size: 12px; line-height: 1.7; }
.orders-heading > button { min-height: 44px; white-space: nowrap; }
.orders-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid #dfe4e9; background: #fff; }
.orders-metrics > div { min-height: 86px; display: grid; align-content: center; gap: 2px; padding: 13px 18px; border-right: 1px solid #e4e7ec; }
.orders-metrics > div:last-child { border-right: 0; }
.orders-metrics b { font-size: 23px; }
.orders-metrics span { color: #344054; font-size: 10px; font-weight: 750; }
.orders-metrics small { color: #98a2b3; font-size: 9px; }
.order-filter-tabs { display: flex; gap: 0; margin-bottom: 12px; overflow-x: auto; border: 1px solid #dfe4e9; background: #fff; scrollbar-width: none; }
.order-filter-tabs::-webkit-scrollbar { display: none; }
.order-filter-tabs button { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 12px; border-right: 1px solid #e4e7ec; color: #667085; white-space: nowrap; }
.order-filter-tabs button:last-child { border-right: 0; }
.order-filter-tabs button.active { background: #172033; color: #fff; }
.order-filter-tabs span { font-size: 10px; font-weight: 750; }
.order-filter-tabs b { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 10px; background: #f1f3f5; color: #475467; font-size: 9px; }
.order-filter-tabs button.active b { background: #e84639; color: #fff; }
.order-center-filter { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #dfe4e9; background: #f8fafb; }
.order-center-filter label { display: grid; gap: 6px; min-width: min(460px,100%); }
.order-center-filter label span,.order-center-filter > span { color: #667085; font-size: 11px; font-weight: 700; }
.order-center-filter select { height: 40px; padding: 0 11px; border: 1px solid #cbd3dc; border-radius: 4px; background: #fff; color: #17202b; }
.orders-list { border: 1px solid #dfe4e9; background: #fff; }
.orders-list-head,.order-center-row { display: grid; grid-template-columns: minmax(185px, 1.35fr) minmax(120px, 1fr) minmax(120px, 1fr) minmax(82px, .62fr) minmax(95px, .75fr) minmax(110px, .9fr) 86px; align-items: center; gap: 15px; }
.orders-list-head { min-height: 39px; padding: 0 18px; background: #f4f5f6; color: #667085; font-size: 9px; font-weight: 750; }
.order-center-row { width: 100%; min-height: 84px; padding: 13px 18px; border-top: 1px solid #e4e7ec; background: #fff; text-align: left; }
.order-center-row:hover { background: #f9fafb; }
.order-center-row > span { min-width: 0; display: grid; align-content: center; gap: 4px; }
.order-center-row b,.order-center-row strong { overflow: hidden; color: #25384a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.order-center-row strong { color: #c9362d; font-size: 13px; }
.order-center-row small { overflow: hidden; color: #667085; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.order-center-row > i { color: #c9362d; font-size: 9px; font-style: normal; font-weight: 750; text-align: right; white-space: nowrap; }
.order-stage { justify-self: start; padding: 5px 7px; background: #edf5ff; color: #245c98; font-size: 9px; font-style: normal; }
.order-stage.payment,.order-stage.review { background: #fff7db; color: #8a6200; }
.order-stage.completed { background: #eaf8f1; color: #15704d; }
.order-stage.exception { background: #fff0ee; color: #ad3027; }
.orders-empty { display: grid; justify-items: center; gap: 6px; padding: 55px 20px; text-align: center; }
.orders-empty.compact { padding: 36px 20px; border: 1px solid #dfe4e9; background: #fff; }
.orders-empty b { font-size: 17px; }
.orders-empty p { margin: 0; color: #667085; font-size: 10px; }
.orders-empty button { margin-top: 8px; padding: 10px 14px; border: 1px solid #d0d5dd; font-size: 10px; font-weight: 750; }
.orders-support { margin-top: 32px; }
.orders-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; }
.orders-section-head h2 { margin: 5px 0 0; font-size: 23px; }
.orders-section-head p { max-width: 520px; text-align: right; }
.orders-ticket-list { border: 1px solid #dfe4e9; background: #fff; }
.orders-ticket-list > button { width: 100%; min-height: 68px; display: grid; grid-template-columns: minmax(0, 1.4fr) 130px minmax(190px, .8fr) 90px; align-items: center; gap: 18px; padding: 12px 18px; border-bottom: 1px solid #e4e7ec; text-align: left; }
.orders-ticket-list > button:last-child { border-bottom: 0; }
.orders-ticket-list div { min-width: 0; }
.orders-ticket-list b,.orders-ticket-list span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.orders-ticket-list b { font-size: 11px; }
.orders-ticket-list span,.orders-ticket-list small { margin-top: 4px; color: #667085; font-size: 9px; }
.orders-ticket-list em { justify-self: start; padding: 5px 8px; background: #fff7db; color: #8a6200; font-size: 9px; font-style: normal; }
.orders-ticket-list i { color: #c9362d; font-size: 9px; font-style: normal; text-align: right; }

@media (max-width: 900px) {
  .orders-list-head,.order-center-row { grid-template-columns: minmax(175px, 1.3fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(75px, .6fr) minmax(90px, .7fr) 78px; }
  .orders-list-head span:nth-child(6),.order-center-row .order-recipient { display: none; }
}

@media (max-width: 700px) {
  .order-center-filter { align-items: stretch; flex-direction: column; }
  .order-center-filter label { min-width: 0; }
  .orders-page { width: calc(100% - 28px); padding: 35px 0 50px; }
  .orders-heading { align-items: start; }
  .orders-heading h1 { font-size: 29px; }
  .orders-heading p { font-size: 10px; }
  .orders-heading > button { max-width: 118px; min-height: 40px; padding: 8px 10px; white-space: normal; font-size: 9px; }
  .orders-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .orders-metrics > div { min-height: 70px; border-bottom: 1px solid #e4e7ec; }
  .orders-metrics > div:nth-child(2) { border-right: 0; }
  .orders-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .order-filter-tabs { justify-content: start; }
  .order-filter-tabs button { min-width: 94px; flex: 0 0 auto; }
  .orders-list-head { display: none; }
  .order-center-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 18px; min-height: 0; padding: 17px 15px; }
  .order-center-row .order-identity { grid-column: 1 / -1; padding-bottom: 11px; border-bottom: 1px solid #e4e7ec; }
  .order-center-row > span[data-label]::before { content: attr(data-label); color: #98a2b3; font-size: 8px; font-weight: 650; }
  .order-center-row .order-recipient { display: grid; }
  .order-center-row > i { grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid #e4e7ec; }
  .orders-section-head { align-items: start; }
  .orders-section-head p { max-width: 180px; font-size: 9px; text-align: right; }
  .orders-ticket-list > button { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; }
  .orders-ticket-list > button small { grid-column: 1 / -1; }
  .orders-ticket-list > button i { grid-column: 1 / -1; padding-top: 7px; border-top: 1px solid #e4e7ec; }
}

/* Order detail workspace */
.modal:has(.order-detail-panel) { width: min(1080px, 100%); padding: 0; border-radius: 4px; }
.modal:has(.order-detail-panel) > .close { top: 17px; right: 18px; }
.order-detail-panel > header { padding: 24px 28px 18px; border-bottom: 1px solid #e4e7ec; }
.order-detail-panel > header > span,.order-detail-title span,.order-detail-panel aside > section > span { color: #e84639; font-size: 9px; font-weight: 850; }
.order-detail-panel > header h2 { margin: 5px 0 3px; font-size: 25px; }
.order-detail-panel > header p { margin: 0; color: #667085; font-size: 10px; }
.order-detail-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #dfe4e9; background: #f6f7f8; }
.order-detail-metrics > div { min-width: 0; min-height: 72px; display: grid; align-content: center; gap: 3px; padding: 11px 18px; border-right: 1px solid #dfe4e9; }
.order-detail-metrics > div:last-child { border-right: 0; }
.order-detail-metrics span,.order-detail-metrics small { color: #667085; font-size: 8px; }
.order-detail-metrics b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.order-detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); align-items: start; }
.order-detail-main { min-width: 0; padding: 24px 28px; border-right: 1px solid #e4e7ec; }
.order-detail-title h3,.order-detail-panel aside h3 { margin: 5px 0 12px; font-size: 16px; }
.order-detail-items { border: 1px solid #e4e7ec; }
.order-detail-items article { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 14px; border-bottom: 1px solid #e4e7ec; }
.order-detail-items article:last-child { border-bottom: 0; }
.order-detail-items article > div { min-width: 0; display: grid; gap: 3px; }
.order-detail-items b,.order-detail-items span,.order-detail-items small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-detail-items b { font-size: 11px; }
.order-detail-items span,.order-detail-items small { color: #667085; font-size: 9px; }
.order-detail-items strong { color: #c9362d; font-size: 12px; white-space: nowrap; }
.order-detail-main .order-timeline { margin-bottom: 0; padding-top: 3px; }
.order-detail-panel > .order-detail-layout > aside { min-width: 0; }
.order-detail-panel aside > section { padding: 20px 22px; border-bottom: 1px solid #e4e7ec; }
.order-detail-panel aside > section:last-child { border-bottom: 0; }
.order-detail-panel aside dl { margin: 0; }
.order-detail-panel aside dl > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 0; }
.order-detail-panel aside dl .total { margin-top: 5px; padding-top: 11px; border-top: 1px solid #e4e7ec; }
.order-detail-panel aside dt { font-size: 9px; }
.order-detail-panel aside dd { font-size: 10px; }
.order-detail-panel aside .total dd { color: #c9362d; font-size: 14px; }
.order-detail-panel aside section > b,.order-detail-panel aside section > small { display: block; }
.order-detail-panel aside section > b { font-size: 11px; }
.order-detail-panel aside section > small { margin-top: 4px; color: #667085; font-size: 9px; }
.order-detail-panel aside section > p { margin: 9px 0 0; color: #667085; font-size: 9px; line-height: 1.6; }
.order-tracking-list { display: grid; gap: 9px; }
.order-tracking-list article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 8px; padding-left: 10px; border-left: 2px solid #e84639; }
.order-tracking-list b,.order-tracking-list span,.order-tracking-list small { font-size: 9px; }
.order-tracking-list span,.order-tracking-list small { color: #667085; }
.order-tracking-list p { grid-column: 1 / -1; margin: 0; color: #475467; font-size: 9px; }
.order-tracking-empty { padding: 14px; background: #f5f6f7; color: #667085; font-size: 9px; text-align: center; }
.order-detail-panel > footer { display: flex; justify-content: end; gap: 8px; padding: 14px 22px; border-top: 1px solid #e4e7ec; background: #fff; }
.order-detail-panel > footer button { min-height: 40px; padding: 9px 16px; border: 1px solid #d0d5dd; font-size: 10px; font-weight: 750; }
.order-detail-panel > footer .primary { border-color: #e84639; }

@media (max-width: 700px) {
  .modal:has(.order-detail-panel) { max-height: 96vh; }
  .order-detail-panel > header { padding: 21px 18px 15px; }
  .order-detail-panel > header h2 { max-width: calc(100% - 36px); font-size: 19px; overflow-wrap: anywhere; }
  .order-detail-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-detail-metrics > div { min-height: 64px; border-bottom: 1px solid #dfe4e9; }
  .order-detail-metrics > div:nth-child(2) { border-right: 0; }
  .order-detail-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .order-detail-layout { grid-template-columns: 1fr; }
  .order-detail-main { padding: 20px 18px; border-right: 0; }
  .order-detail-panel > .order-detail-layout > aside { border-top: 1px solid #e4e7ec; }
  .order-detail-panel aside > section { padding: 18px; }
  .order-detail-panel > footer { position: sticky; bottom: 0; }
  .order-detail-panel > footer button { flex: 1; }
}

/* Independent store operations center */
.stores-page { width: min(1320px, calc(100% - 48px)); min-height: 700px; margin: 0 auto; padding: 54px 0 76px; }
.stores-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }
.stores-heading > div { max-width: 780px; }
.stores-heading span,.stores-section-head span,.stores-fallback span { color: #e84639; font-size: 10px; font-weight: 850; }
.stores-heading h1 { margin: 8px 0 7px; font-size: 38px; line-height: 1.1; }
.stores-heading p,.stores-section-head p,.stores-fallback p { margin: 0; color: #667085; font-size: 12px; line-height: 1.7; }
.stores-heading > button { min-height: 44px; white-space: nowrap; }
.stores-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; border: 1px solid #dfe4e9; background: #fff; }
.stores-metrics > div { min-height: 86px; display: grid; align-content: center; gap: 2px; padding: 13px 18px; border-right: 1px solid #e4e7ec; }
.stores-metrics > div:last-child { border-right: 0; }
.stores-metrics b { font-size: 23px; }
.stores-metrics span { color: #344054; font-size: 10px; font-weight: 750; }
.stores-metrics small { color: #98a2b3; font-size: 9px; }
.stores-alert { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding: 13px 16px; border: 1px solid #f3b8b2; background: #fff4f2; }
.stores-alert div { display: grid; gap: 3px; }
.stores-alert b { color: #9f271f; font-size: 11px; }
.stores-alert span { color: #b5473e; font-size: 10px; }
.stores-alert button { flex: 0 0 auto; color: #9f271f; font-size: 10px; font-weight: 800; }
.stores-section,.stores-publications { margin-top: 30px; }
.stores-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 14px; }
.stores-section-head h2 { margin: 5px 0 0; font-size: 23px; }
.stores-section-head p { max-width: 520px; text-align: right; }
.store-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.store-channel-card { min-width: 0; display: flex; flex-direction: column; min-height: 292px; padding: 18px; border: 1px solid #dfe4e9; background: #fff; }
.store-channel-card.is-connected { border-top: 3px solid #20875e; padding-top: 16px; }
.store-channel-card header { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.store-channel-logo { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #e4e7ec; border-radius: 4px; background: #f5f6f7; color: #25384a; font-size: 12px; font-weight: 900; }
.store-channel-card header span { color: #98a2b3; font-size: 8px; font-weight: 800; }
.store-channel-card h3 { margin: 3px 0 0; font-size: 15px; }
.store-channel-card h3 em { padding: 2px 4px; background: #fff0ee; color: #c83b30; font-size: 8px; font-style: normal; }
.store-channel-status { color: #667085; font-size: 9px; font-style: normal; }
.is-connected .store-channel-status { color: #20875e; }
.store-channel-card > p { min-height: 34px; margin: 15px 0; color: #667085; font-size: 10px; line-height: 1.6; }
.store-channel-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid #e4e7ec; }
.store-channel-card dl > div { min-width: 0; padding: 9px; border-right: 1px solid #e4e7ec; }
.store-channel-card dl > div:last-child { border-right: 0; }
.store-channel-card dt { font-size: 8px; }
.store-channel-card dd { overflow: hidden; margin-top: 4px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.store-sync-error { display: grid; gap: 3px; margin-top: 10px; padding: 9px 10px; background: #fff4f2; }
.store-sync-error b { color: #a52c23; font-size: 9px; }
.store-sync-error span { color: #b5473e; font-size: 9px; overflow-wrap: anywhere; }
.store-channel-card footer { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; background: transparent; }
.store-channel-card footer button { min-height: 38px; flex: 1; padding: 8px 10px; font-size: 10px; font-weight: 750; }
.stores-fallback { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 35px; margin-top: 28px; padding: 26px 30px; background: #172033; color: #fff; }
.stores-fallback h2 { margin: 6px 0 8px; font-size: 22px; }
.stores-fallback p { max-width: 790px; color: #b7c1cb; }
.stores-fallback > div:last-child { display: grid; justify-items: stretch; gap: 7px; }
.stores-fallback button { min-height: 42px; background: #fff; color: #17202b; font-size: 10px; font-weight: 800; }
.stores-fallback small { color: #8e9dab; font-size: 8px; text-align: center; }
.publication-table { border: 1px solid #dfe4e9; background: #fff; }
.publication-head,.publication-table article { display: grid; grid-template-columns: minmax(0, 1.4fr) 170px minmax(240px, .8fr); align-items: center; gap: 18px; }
.publication-head { min-height: 38px; padding: 0 18px; background: #f4f5f6; color: #667085; font-size: 9px; font-weight: 750; }
.publication-table article { min-height: 68px; padding: 12px 18px; border-top: 1px solid #e4e7ec; }
.publication-product { min-width: 0; }
.publication-product b { display: block; overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.publication-product span,.publication-table article small { display: block; margin-top: 4px; color: #667085; font-size: 9px; }
.publication-status { justify-self: start; padding: 5px 8px; background: #fff7db; color: #8a6200; font-size: 9px; font-style: normal; }
.publication-status.published { background: #eaf8f1; color: #15704d; }
.publication-status.failed { background: #fff0ee; color: #ad3027; }
.stores-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 20px; border: 1px solid #dfe4e9; background: #fff; text-align: center; }
.stores-empty b { font-size: 17px; }
.stores-empty p { margin: 0; color: #667085; font-size: 11px; }
.stores-empty button { margin-top: 8px; padding: 10px 14px; border: 1px solid #d0d5dd; font-size: 10px; font-weight: 750; }

@media (max-width: 980px) {
  .store-channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .stores-page { width: calc(100% - 28px); padding: 35px 0 50px; }
  .stores-heading { align-items: start; }
  .stores-heading h1 { font-size: 29px; }
  .stores-heading p { font-size: 10px; }
  .stores-heading > button { max-width: 122px; min-height: 40px; padding: 8px 10px; white-space: normal; font-size: 9px; }
  .stores-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stores-metrics > div { min-height: 70px; border-bottom: 1px solid #e4e7ec; }
  .stores-metrics > div:nth-child(2) { border-right: 0; }
  .stores-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .stores-alert { align-items: start; }
  .stores-alert span { overflow-wrap: anywhere; }
  .stores-section-head { align-items: start; }
  .stores-section-head p { max-width: 180px; font-size: 9px; text-align: right; }
  .store-channel-grid { grid-template-columns: 1fr; }
  .store-channel-card { min-height: 274px; }
  .stores-fallback { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .stores-fallback h2 { font-size: 19px; }
  .publication-head { display: none; }
  .publication-table article { grid-template-columns: minmax(0, 1fr) auto; gap: 9px 12px; }
  .publication-table article small { grid-column: 1 / -1; }
}

.order-table button.order-row:hover {
  background: #f7f9fc;
}

.notification-row {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #e4e8ed;
  text-align: left;
}

.notification-row.unread b::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #e94c3d;
}

.notification-row span,
.notification-row small {
  color: #667281;
}

.platform-nav,
.platform-nav a,
.platform-nav button,
.header-actions > * {
  white-space: nowrap;
}

.mobile-platform-menu {
  display: none;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #d6dde4;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  font-size: 20px;
}

@media (max-width: 1280px) {
  .header {
    gap: 20px;
  }

  .header nav {
    gap: 16px;
    font-size: 13px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-link {
    font-size: 13px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.pagination button {
  padding: 9px 16px;
  border: 1px solid #e4e8ed;
  border-radius: 5px;
  background: #fff;
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.shipping-options {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.shipping-options > div {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e4e8ed;
  font-size: 12px;
}

.shipping-options span {
  color: #667281;
}

.shipping-options em {
  color: #17845b;
  font-style: normal;
}

.variant-selector {
  margin: 18px 0;
}

.variant-selector > span {
  display: block;
  margin-bottom: 8px;
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.variant-selector > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.variant-selector button {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 5px;
  background: #fff;
  text-align: left;
}

.variant-selector button.active {
  border-color: #ff4d3d;
  background: #fff5f3;
  box-shadow: inset 0 0 0 1px #ff4d3d;
}

.variant-selector button small {
  color: #667085;
  overflow-wrap: anywhere;
}

.checkout-shipping {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #e4e8ed;
  background: #f7f9fc;
}

.checkout-shipping h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.checkout-shipping label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.checkout-shipping select {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid #cbd2d8;
  border-radius: 4px;
  background: #fff;
}

.team-row {
  align-items: center;
  gap: 14px;
}

.team-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.team-actions button {
  width: auto !important;
  height: auto !important;
  padding: 7px 10px;
  border: 1px solid #e4e7ec;
  border-radius: 4px;
  font-size: 12px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.panel-head h4,
.panel-head p {
  margin-top: 0;
}

[data-staff-role] {
  min-width: 110px;
  padding: 7px 9px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
}

.stock-input {
  width: 96px;
  min-width: 80px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
}

.service-catalog {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.service-catalog article {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background: #fff;
}

.service-catalog article span,
.help-article-row span {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
}

.service-catalog h3 {
  margin: 5px 0;
  font-size: 17px;
}

.service-catalog p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.55;
}

.service-catalog article > button {
  align-self: flex-start;
  padding: 9px 12px;
  border: 1px solid #e4e7ec;
  border-radius: 4px;
  font-weight: 700;
}

.help-article-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.help-article-row {
  display: grid;
  gap: 4px;
  padding: 13px 14px;
  border: 1px solid #e4e7ec;
  text-align: left;
}

.help-article-row small {
  color: #667085;
  line-height: 1.5;
}

.help-detail > div:not(.modal-actions) {
  padding: 16px;
  background: #f7f9fc;
  color: #344054;
  line-height: 1.8;
}

.mobile-platform-links {
  display: grid;
  gap: 9px;
}

.mobile-platform-links > button {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid #e4e7ec;
  border-radius: 5px;
  background: #fff;
  text-align: left;
}

.mobile-platform-links > button small {
  color: #667085;
  line-height: 1.45;
}

.content-table table {
  min-width: 720px;
}

.content-table td:first-child {
  min-width: 190px;
}

.content-table td small {
  display: block;
  margin-top: 4px;
  color: #667085;
}

.wide-modal {
  width: min(980px, calc(100vw - 32px));
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.permission-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #dfe3e8;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.permission-option input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; }
.permission-option span { display: grid; gap: 3px; min-width: 0; }
.permission-option small { color: #667085; line-height: 1.4; }

.import-result {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #a6e0c1;
  border-radius: 6px;
  background: #f1fcf6;
  color: #175c38;
}

.import-errors { display: grid; gap: 4px; color: #b42318; }

@media (max-width: 640px) {
  .permission-grid { grid-template-columns: 1fr; }
  .platform-header {
    gap: 8px;
  }

  .team-row,
  .team-actions {
    align-items: stretch;
  }

  .team-actions {
    justify-content: flex-start;
  }

  .panel-head {
    flex-direction: column;
  }

  .service-catalog {
    grid-template-columns: 1fr;
  }

  .mobile-platform-menu {
    display: grid;
    place-items: center;
  }
}

.quote-actions {
  display: flex !important;
  gap: 6px;
}

.quote-actions button {
  padding: 7px 12px;
  border: 1px solid #e4e8ed;
  border-radius: 4px;
  background: #fff;
}

.quote-actions button:first-child {
  border-color: #e94c3d;
  background: #e94c3d;
  color: #fff;
}

.address-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.address-head h3 {
  margin: 0;
}

.address-head button {
  padding: 7px 12px;
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #fff;
}

.address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f3;
}

.address-row > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.address-row span,
.address-row small {
  color: #667281;
  overflow-wrap: anywhere;
}

.address-row > button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: #8a949f;
  font-size: 20px;
}

.address-default {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.address-default input {
  width: auto;
}

.checkout-addresses {
  margin-top: 18px;
}

.checkout-addresses .empty {
  padding: 24px;
  margin-top: 10px;
}

.address-card {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 12px 14px;
  margin-top: 8px;
  border: 1px solid #d9dee5;
  border-radius: 5px;
  background: #fff;
  text-align: left;
}

.address-card:hover,
.address-card.active {
  border-color: #e94c3d;
  background: #fff5f3;
}

.address-card small,
.address-card span {
  color: #667281;
  overflow-wrap: anywhere;
}

.store-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-actions button {
  min-height: 36px;
}

.integration-grid small {
  display: block;
  margin-top: 4px;
}

.integration-grid .sync-error {
  color: #b52d24;
  overflow-wrap: anywhere;
}

.catalog-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
  padding: 14px;
  margin: 14px 0 22px;
  border: 1px solid #e4e8ed;
  background: #f8fafb;
}

.catalog-filters label {
  display: grid;
  gap: 5px;
  color: #667281;
  font-size: 12px;
}

.catalog-filters input,
.catalog-filters select {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #fff;
}

.catalog-filters > button {
  height: 38px;
}

.range-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 5px;
  align-items: center;
}

.stock-filter {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  color: #29313a !important;
}

.stock-filter input {
  width: auto;
  height: auto;
}

.supply-capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.supply-capabilities > div {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid #e4e8ed;
}

.supply-capabilities span,
.supply-capabilities small {
  color: #667281;
  font-size: 11px;
}

@media (max-width: 900px) {
  .catalog-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supply-capabilities {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .variant-selector > div {
    grid-template-columns: 1fr;
  }

  .catalog-filters {
    grid-template-columns: 1fr;
  }

  .request-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .request-list article button {
    justify-self: start;
  }

  .modal-actions {
    flex-direction: column;
  }
}
.admin-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: min(360px, calc(100vw - 32px));
  padding: 11px 14px;
  border: 1px solid #d7dde5;
  border-left: 3px solid #ef4444;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
  font-size: 14px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.permission-panel { max-width: 720px; padding: 28px; border: 1px solid #dfe4ea; background: #fff; }
.permission-panel > span { color: #667085; font-size: 10px; font-weight: 800; }
.permission-panel h3,.permission-panel h4 { margin: 8px 0; font-size: 22px; }
.permission-panel p { margin: 0 0 20px; color: #667085; line-height: 1.65; }
.permission-panel > div { display: flex; gap: 8px; flex-wrap: wrap; }
.permission-denied { border-left: 3px solid #d92d20; }

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Keep wide data tables scrollable inside their own frame on small screens. */
.main, .content, .view, .band, .band-header, .band-body {
  min-width: 0;
  max-width: 100%;
}
.content, .view, .band {
  overflow-x: hidden;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 640px) {
  .admin-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 720px) {
  .content { width: 100%; }
  .band-header { flex-wrap: wrap; }
  .band-header .row-actions { max-width: 100%; flex-wrap: wrap; }
  .app-shell .topbar {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    padding: 14px 18px;
  }
  .app-shell .topbar .title { min-width: 0; }
  .app-shell .topbar .spacer { display: none; }
  .app-shell .topbar .toolbar { grid-column: 2; grid-row: 1; flex-wrap: nowrap; }
  .app-shell .topbar .search { grid-column: 1 / -1; grid-row: 2; order: initial; width: 100%; min-width: 0; }
}

.account-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 24px;
}
.account-shortcuts button {
  min-height: 82px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  text-align: left;
  display: grid;
  gap: 3px;
}
.account-shortcuts button:hover { border-color: var(--red); background: #fff8f7; }
.account-shortcuts b { font-size: 20px; color: var(--ink); }
.account-shortcuts span { font-size: 13px; font-weight: 700; }
.account-shortcuts small { color: var(--muted); font-size: 11px; }
.catalog-status button { color: var(--red2); text-decoration: underline; font-size: inherit; }
.load-state {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  color: #344054;
  text-align: center;
}
.load-state p { margin: 0; color: #667085; }
.loading-indicator {
  width: 28px;
  height: 28px;
  border: 3px solid #e4e7ec;
  border-top-color: #ff4d3d;
  border-radius: 50%;
  animation: drophub-spin 700ms linear infinite;
}
@keyframes drophub-spin { to { transform: rotate(360deg); } }
.global-error {
  position: sticky;
  top: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 16px;
  border-bottom: 1px solid #fecdca;
  background: #fef3f2;
  color: #b42318;
  font-size: 14px;
}
.global-error button { color: #b42318; font-weight: 700; text-decoration: underline; }
form.is-submitting { cursor: progress; }
form.is-submitting :is(input,select,textarea,button) { cursor: progress; }
form.is-submitting button[type="submit"] { opacity: .72; }
@media (max-width: 700px) {
  .account-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-error { align-items: flex-start; justify-content: space-between; text-align: left; }
}

.aftersales-history { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #e4e8ed; }
.aftersales-history h4 { margin: 0 0 2px; }
.aftersales-action { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0f3; }
.aftersales-action > div { display: grid; gap: 4px; min-width: 0; }
.aftersales-action span,.aftersales-action small { color: #667085; font-size: 11px; overflow-wrap: anywhere; }
.aftersales-action .row-actions { display: flex; margin-top: 5px; }
.service-empty.compact { min-height: auto; padding: 14px 0; }
.aftersales-public { display: grid; gap: 8px; margin: 22px 0; }
.aftersales-public h3 { margin: 0; }
.aftersales-public article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; padding: 12px; border: 1px solid #e4e8ed; }
.aftersales-public article > div { display: grid; gap: 4px; }
.aftersales-public span,.aftersales-public small,.aftersales-public em { color: #667085; font-size: 11px; font-style: normal; }

.order-timeline { margin: 24px 0; }
.order-timeline > h3 { margin: 0 0 14px; }
.order-timeline > div { display: grid; }
.order-timeline article { position: relative; display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 10px; min-height: 82px; padding: 0 0 18px; }
.order-timeline article::before { content: ""; position: absolute; top: 13px; bottom: -1px; left: 6px; width: 1px; background: #d8dee5; }
.order-timeline article:last-child::before { display: none; }
.order-timeline article > i { position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 4px; border: 3px solid #fff; border-radius: 50%; background: #98a2b3; box-shadow: 0 0 0 1px #98a2b3; }
.order-timeline article.current > i { background: #e84639; box-shadow: 0 0 0 1px #e84639; }
.order-timeline article > div { min-width: 0; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: baseline; gap: 5px 10px; }
.order-timeline article span { padding: 2px 5px; border: 1px solid #e4e7ec; color: #667085; font-size: 9px; font-weight: 750; }
.order-timeline article b { font-size: 13px; }
.order-timeline article p { grid-column: 2 / -1; margin: 0; color: #667085; font-size: 11px; line-height: 1.5; }
.order-timeline article small { color: #98a2b3; font-size: 10px; white-space: nowrap; }
.empty.compact { min-height: auto; padding: 18px; }

/* Working capital */
.financing-page { width: min(var(--max), calc(100% - 48px)); min-height: 650px; margin: auto; padding: 58px 0 76px; }
.financing-heading { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: end; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.financing-heading > div > span,.financing-section-head > div > span { color: var(--red2); font-size: 11px; font-weight: 800; }
.financing-heading h1 { margin: 8px 0 10px; font-size: 40px; }
.financing-heading > div > p { max-width: 720px; margin: 0; color: var(--muted); line-height: 1.7; }
.financing-heading aside { padding: 17px 19px; border-left: 3px solid var(--red); background: #fff; }
.financing-heading aside b { font-size: 13px; }
.financing-heading aside p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.financing-process { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 42px; border: 1px solid var(--line); background: #fff; }
.financing-process > div { position: relative; display: flex; align-items: center; gap: 12px; min-height: 82px; padding: 16px 20px; border-right: 1px solid var(--line); }
.financing-process > div:last-child { border-right: 0; }
.financing-process > div:not(:last-child)::after { content: "›"; position: absolute; right: -7px; z-index: 1; width: 14px; background: #fff; color: #98a2b3; text-align: center; }
.financing-process i { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border: 1px solid #f3b7b1; border-radius: 50%; color: var(--red2); font-size: 11px; font-style: normal; font-weight: 800; }
.financing-process span { display: grid; gap: 4px; }
.financing-process b { font-size: 13px; }
.financing-process small { color: var(--muted); font-size: 10px; }
.financing-section + .financing-section { margin-top: 44px; }
.financing-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.financing-section-head h2 { margin: 5px 0 0; font-size: 24px; }
.financing-section-head > p { margin: 0; color: var(--muted); font-size: 11px; }
.financing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.financing-provider { display: grid; grid-template-rows: auto minmax(92px, auto) auto auto; gap: 17px; min-width: 0; padding: 20px; border: 1px solid var(--line); background: #fff; }
.financing-provider > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.financing-provider-logo { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #e4e7ec; border-radius: 6px; background: #f7f8f9; font-size: 13px; font-weight: 900; }
.financing-provider h3 { margin: 0 0 7px; font-size: 19px; }
.financing-provider p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.financing-provider dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.financing-provider dl > div { min-width: 0; padding: 11px 8px 11px 0; }
.financing-provider dl > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.financing-provider dt { color: var(--muted); font-size: 9px; }
.financing-provider dd { margin: 4px 0 0; font-size: 11px; overflow-wrap: anywhere; }
.financing-provider > button { width: 100%; min-height: 40px; }
.financing-provider > button[aria-busy="true"] { cursor: progress; opacity: .72; }
.finance-status { display: inline-flex; align-items: center; justify-content: center; min-height: 25px; padding: 4px 8px; border: 1px solid #d0d5dd; background: #f9fafb; color: #667085; font-size: 9px; font-weight: 750; white-space: nowrap; }
.finance-status-initiated { border-color: #fedf89; background: #fffaeb; color: #b54708; }
.finance-status-redirected { border-color: #b2ddff; background: #eff8ff; color: #175cd3; }
.finance-status-returned { border-color: #abefc6; background: #ecfdf3; color: #067647; }
.finance-status-cancelled { border-color: #e4e7ec; background: #f2f4f7; color: #667085; }
.financing-history-list { border: 1px solid var(--line); background: #fff; }
.financing-history-head,.financing-history-list article { display: grid; grid-template-columns: 1.1fr 1fr .7fr 1.5fr; gap: 18px; align-items: center; padding: 12px 16px; }
.financing-history-head { background: #f7f8f9; color: var(--muted); font-size: 9px; font-weight: 750; }
.financing-history-list article { min-height: 68px; border-top: 1px solid var(--line); }
.financing-history-list article > div { display: grid; gap: 3px; min-width: 0; }
.financing-history-list article small,.financing-history-list time,.financing-history-list article p { color: var(--muted); font-size: 10px; }
.financing-history-list time { white-space: nowrap; }
.financing-history-list article p { margin: 0; line-height: 1.5; }
.financing-empty { display: grid; place-items: center; min-height: 150px; padding: 28px; border: 1px solid var(--line); background: #fff; text-align: center; }
.financing-empty p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }

@media (max-width: 900px) {
  .financing-heading { grid-template-columns: 1fr; gap: 22px; }
  .financing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .financing-page { width: calc(100% - 28px); padding: 34px 0 58px; }
  .financing-heading h1 { font-size: 31px; }
  .financing-heading aside { padding: 14px 15px; }
  .financing-process { grid-template-columns: 1fr; margin: 18px 0 34px; }
  .financing-process > div { min-height: 70px; border-right: 0; border-bottom: 1px solid var(--line); }
  .financing-process > div:last-child { border-bottom: 0; }
  .financing-process > div:not(:last-child)::after { content: "⌄"; right: 20px; width: auto; }
  .financing-section-head { align-items: start; }
  .financing-grid { grid-template-columns: 1fr; }
  .financing-provider { grid-template-rows: auto auto auto auto; }
  .financing-history-head { display: none; }
  .financing-history-list article { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 15px; }
  .financing-history-list article time,.financing-history-list article p { grid-column: 1 / -1; white-space: normal; }
}

@media (max-width: 700px) {
  .aftersales-public article { grid-template-columns: 1fr; }
  .order-timeline article > div { grid-template-columns: auto minmax(0,1fr); }
  .order-timeline article p,.order-timeline article small { grid-column: 1 / -1; }
  .order-timeline article small { white-space: normal; }
}

/* Public marketplace shell */
:root { --max: 1320px; }

.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;
}

.sticky-navigation { position: sticky; top: 0; z-index: 30; background: #fff; }
.utility-bar,
.category-nav,
.announcement {
  padding-right: max(24px, calc((100% - var(--max)) / 2));
  padding-left: max(24px, calc((100% - var(--max)) / 2));
}
.utility-bar {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #111820;
  color: #d2d9e0;
  font-size: 11px;
}
.utility-bar > div { display: flex; align-items: center; gap: 18px; }
.utility-bar button { padding: 7px 0; color: #fff; }
.utility-proof { color: #8f9ba7; }

.platform-header {
  position: relative !important;
  top: auto !important;
  height: 64px !important;
  padding-right: max(24px, calc((100% - var(--max)) / 2)) !important;
  padding-left: max(24px, calc((100% - var(--max)) / 2)) !important;
  border-bottom: 1px solid #e9edf1 !important;
  box-shadow: none !important;
}
.platform-header .logo { gap: 9px; }
.platform-header .logo span { width: 36px; height: 36px; }
.platform-header .logo b { font-size: 20px; }
.platform-header .logo small {
  padding-left: 10px;
  border-left: 1px solid #dfe4e9;
  color: #778391;
  font-size: 10px;
  font-weight: 600;
}
.platform-nav { margin-left: 28px; }
.platform-nav a,
.platform-nav button { padding: 22px 0 !important; font-size: 13px !important; }
.platform-nav button.active { color: #e84639; }
.platform-header .header-actions { margin-left: auto; }
.platform-header .header-actions .header-text-action {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 12px;
  border: 1px solid #dce2e8;
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.platform-header .header-actions .header-text-action i {
  position: absolute;
  right: -4px;
  top: -5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e94c3d;
  color: #fff;
  font-size: 10px;
  font-style: normal;
}
.platform-header .header-actions .header-text-action:hover {
  border-color: #e94c3d;
  color: #e94c3d;
  background: #fff8f7;
}
.platform-header .header-actions .backend-link {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #dce2e8;
  border-radius: 5px;
  background: #fff;
  font-size: 12px;
}

.category-nav {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: #17212b;
  color: #e7edf2;
  font-size: 12px;
  font-weight: 650;
}
.category-nav > * { height: 42px; display: flex; align-items: center; white-space: nowrap; }
.category-nav > *:hover { color: #ff7669; }
.category-nav > :first-child { padding-right: 24px; border-right: 1px solid #33404d; color: #fff; }
.category-nav b { margin-right: 9px; font-size: 15px; }
.category-nav .category-trigger.active { color: #ff7669; }
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(var(--max), calc(100% - 48px));
  min-height: 260px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 38px;
  padding: 30px;
  border: 1px solid #dfe4e9;
  border-top: 3px solid #e84639;
  border-radius: 0 0 6px 6px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(15, 28, 40, .2);
  transform: translateX(-50%);
}
.mega-lead { padding-right: 30px; border-right: 1px solid #e5e9ed; }
.mega-lead > span { color: #e84639; font-size: 10px; font-weight: 850; }
.mega-lead h2 { margin: 10px 0; font-size: 25px; }
.mega-lead p { margin: 0 0 24px; color: #667085; font-size: 12px; line-height: 1.7; }
.mega-lead button { color: #d83e32; font-size: 12px; font-weight: 750; }
.mega-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mega-category-grid button,
.mega-link-grid button {
  min-width: 0;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #f7f9fb;
  text-align: left;
}
.mega-category-grid button:hover,
.mega-link-grid button:hover { border-color: #f0b1ab; background: #fff7f6; }
.mega-category-grid i { color: #e84639; font-size: 10px; font-style: normal; }
.mega-category-grid b,.mega-link-grid b { font-size: 13px; }
.mega-category-grid small,.mega-link-grid small { overflow: hidden; color: #75808c; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.mega-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mega-link-grid button { grid-template-columns: 42px minmax(0, 1fr); align-items: center; }
.mega-link-grid button > i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 4px; background: #fff; color: #d83e32; font-size: 11px; font-style: normal; font-weight: 850; }
.mega-link-grid button > span { display: grid; gap: 4px; min-width: 0; }
.mega-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; color: #667085; font-size: 24px; }
.mega-category-browser { display:block; padding:0; min-height:0; overflow:hidden; }
.mega-category-head { padding:24px 30px 18px; border-bottom:1px solid #e5e9ed; }
.mega-category-head > span { color:#e84639; font-size:10px; font-weight:850; }
.mega-category-head h2 { margin:8px 0 4px; font-size:24px; }
.mega-category-head p { display:inline; margin:0 18px 0 0; color:#667085; font-size:12px; }
.mega-category-head button { color:#d83e32; font-size:12px; font-weight:750; }
.mega-category-panel { display:grid; grid-template-columns: 1fr 1fr; min-height:390px; }
.mega-category-roots { border-right:1px solid #dfe4e9; padding:10px 16px 18px 10px; max-height:430px; overflow:auto; }
.mega-category-children { padding:10px 22px 18px; max-height:430px; overflow:auto; }

/* Admin product category selector: compact two-level browser matching the catalog taxonomy. */
.category-picker { position:relative; min-width:0; }
.category-picker-trigger { width:100%; min-height:42px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:0 12px; border:1px solid #d0d5dd; border-radius:4px; background:#fff; color:#344054; text-align:left; }
.category-picker-trigger:hover,.category-picker-trigger:focus-visible { border-color:#16a394; outline:0; box-shadow:0 0 0 3px rgba(22,163,148,.12); }
.category-picker-chevron { display:grid; place-items:center; color:#667085; }
.category-picker-panel { position:absolute; z-index:30; top:calc(100% + 6px); left:0; right:0; display:none; min-width:430px; border:1px solid #d0d5dd; border-radius:4px; background:#fff; box-shadow:0 12px 28px rgba(16,24,40,.14); }
.category-picker-panel.open { display:block; }
.category-picker-search-wrap { padding:10px; border-bottom:1px solid #eaecf0; }
.category-picker-search-wrap input { width:100%; height:36px; padding:0 10px; border:1px solid #d0d5dd; border-radius:3px; }
.category-picker-columns { display:grid; grid-template-columns: minmax(150px,.9fr) minmax(210px,1.3fr); max-height:300px; }
.category-picker-roots,.category-picker-children { min-width:0; padding:8px; overflow:auto; }
.category-picker-roots { border-right:1px solid #eaecf0; }
.category-picker-root,.category-picker-child { width:100%; display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:36px; padding:7px 9px; border:0; border-radius:3px; background:transparent; color:#344054; text-align:left; cursor:pointer; }
.category-picker-root:hover,.category-picker-child:hover { background:#f2fbf9; color:#087f72; }
.category-picker-root.active { background:#f2f4f7; color:#087f72; font-weight:700; }
.category-picker-child.active { background:#e7f7f4; color:#087f72; font-weight:700; }
.category-picker-root svg { width:14px; height:14px; }
.category-picker-empty { display:block; padding:12px 8px; color:#98a2b3; font-size:12px; }
.catalog .category-row { display:none; }
.supplier-category-picker { position:relative; display:grid; gap:6px; }
.supplier-category-trigger { display:flex; justify-content:space-between; align-items:center; width:100%; min-height:38px; padding:0 10px; border:1px solid #d0d5dd; border-radius:3px; background:#fff; text-align:left; }
.supplier-category-panel { position:absolute; z-index:40; top:calc(100% + 4px); left:0; right:0; display:none; min-width:360px; border:1px solid #d0d5dd; background:#fff; box-shadow:0 10px 24px rgba(16,24,40,.14); }
.supplier-category-panel.open { display:block; }
.supplier-category-panel > input { width:calc(100% - 16px); margin:8px; min-height:34px; padding:0 8px; border:1px solid #d0d5dd; }
.supplier-category-columns { display:grid; grid-template-columns:1fr 1.3fr; max-height:260px; overflow:auto; }
.supplier-category-columns > div { padding:6px; }
.supplier-category-columns > div:first-child { border-right:1px solid #eaecf0; }
.supplier-category-root,.supplier-category-child { display:flex; justify-content:space-between; width:100%; padding:7px 8px; border:0; background:transparent; text-align:left; }
.supplier-category-root:hover,.supplier-category-child:hover { background:#f2fbf9; color:#087f72; }
.mega-breadcrumb { display:flex; align-items:center; gap:9px; min-height:42px; color:#667085; font-size:15px; padding:0 12px 8px; }
.mega-breadcrumb b { color:#697586; font-size:25px; font-weight:400; }
.mega-breadcrumb strong { color:#17202b; font-size:17px; }
.mega-root,.mega-child { width:100%; min-height:48px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; border-radius:7px; background:transparent; text-align:left; font-size:15px; }
.mega-root:hover,.mega-child:hover { background:#f7f7f7; }
.mega-root.active { background:#ededed; }
.mega-root b,.mega-child b { color:#697586; font-size:25px; font-weight:400; }
.mega-child { min-height:55px; font-size:16px; }
.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #e84639;
  color: #fff;
  font-size: 12px;
}
.announcement span { padding: 3px 7px; border: 1px solid rgba(255,255,255,.5); font-size: 10px; font-weight: 800; }
.announcement p { margin: 0; }
.announcement button { color: #fff; font-weight: 750; }

.filter-drawer,
.mobile-market-bar { display: none; }

.hero {
  min-height: 650px !important;
  background-image: var(--hero) !important;
  background-position: center !important;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 21, 31, .66);
  pointer-events: none;
}
.hero-content {
  min-height: 650px !important;
  display: block !important;
  position: relative;
  z-index: 1;
  padding-top: 66px;
  padding-bottom: 190px;
}
.hero-copy { max-width: 760px; }
.hero-copy h1 { max-width: 720px; margin: 12px 0 14px; font-size: 58px !important; }
.hero-copy > p { max-width: 660px; margin: 0; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; gap: 10px; margin-top: 24px; }
.hero-actions a,
.hero-actions button {
  min-width: 126px;
  height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}
.hero-actions .primary { border-color: #e94c3d; background: #e94c3d; }
.hero-proof { margin-top: 20px; }

.finder {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  padding: 14px 16px 16px !important;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 7px !important;
  background: rgba(22,28,34,.78) !important;
  color: #fff !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
  backdrop-filter: blur(12px);
}
.finder-tabs { height: 28px; align-items: flex-start; gap: 26px; margin: 0 0 10px !important; border: 0 !important; }
.finder-tabs b,
.finder-tabs button { padding: 0 0 8px !important; color: #fff; font-size: 13px !important; }
.finder-tabs b { border-bottom: 2px solid #ff5a4b; color: #fff !important; }
.finder-main { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 10px; align-items: end; }
.finder-query { min-width: 0; }
.finder .search-box { height: 48px; margin: 0; border: 0; border-radius: 5px; background: #fff; }
.finder .search-box button { height: 42px; min-width: 96px; margin: 3px; }
.finder-row { grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.finder-row label { color: transparent; font-size: 0; }
.finder select { height: 48px; margin: 0 !important; border: 0 !important; color: #17202b; font-size: 12px; }
.hero-products { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.hero-products button {
  min-width: 0;
  display: grid;
  grid-template-columns: 56px minmax(0,1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  background: rgba(255,255,255,.96);
  color: #17202b;
  text-align: left;
}
.hero-products img { width: 56px; height: 52px; object-fit: cover; border-radius: 2px; }
.hero-products span { overflow: hidden; color: #394653; font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.hero-products b { color: #d83e32; font-size: 12px; }

.operation-bar { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; border-radius: 0 !important; box-shadow: 0 8px 28px rgba(21,34,56,.06); }
.catalog.section { padding-top: 58px; }
.catalog .section-title { margin-bottom: 20px; }
.catalog .section-title h2 { font-size: 30px; }
.catalog-filters { grid-template-columns: repeat(6, minmax(110px, 1fr)); padding: 12px; margin-bottom: 18px; }
.product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.product-card { border-radius: 5px !important; box-shadow: none !important; }
.product-card:hover { transform: translateY(-2px) !important; box-shadow: 0 10px 26px rgba(21,34,56,.11) !important; }
.product-info { padding: 12px; }
.product-title { min-height: 38px; display: -webkit-box; margin: 6px 0 4px; overflow: hidden; font-size: 13px; line-height: 1.45; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rating { justify-content: space-between; gap: 4px; margin: 9px 0; }
.product-bottom { padding-top: 9px; }
.product-bottom strong { font-size: 18px; }
.add { width: 32px; height: 32px; }

.platform-footer { display: block; padding: 0; background: #101820; }
.footer-main {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1.65fr repeat(4, 1fr);
  gap: 54px;
  padding: 56px 24px 46px;
}
.footer-main > div { display: flex; flex-direction: column; gap: 11px; color: #aeb8c2; font-size: 12px; }
.footer-main > div > b { margin-bottom: 5px; color: #fff; font-size: 13px; }
.footer-main a:hover,
.footer-main button:hover { color: #ff7165; }
.footer-main button { padding: 0; color: inherit; text-align: left; }
.footer-brand p { max-width: 320px; margin: 9px 0; line-height: 1.7; }
.footer-contact { display: grid; gap: 5px; margin-top: 12px; color: #e0e6eb; }
.footer-bottom {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(24px, calc((100% - var(--max)) / 2));
  border-top: 1px solid #28333d;
  color: #7f8b96;
  font-size: 10px;
}

.product-page { min-height: 720px; padding: 0 0 72px; background: #fff; }
.product-breadcrumb { width: min(var(--max), calc(100% - 48px)); min-height: 48px; margin: auto; display: flex; align-items: center; gap: 9px; overflow: hidden; color: #667085; font-size: 11px; white-space: nowrap; }
.product-breadcrumb button:hover { color: #d83e32; }
.product-breadcrumb b { min-width: 0; overflow: hidden; color: #344054; font-weight: 650; text-overflow: ellipsis; }
.product-primary { width: min(var(--max), calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: minmax(360px, 520px) minmax(0, 1fr); gap: 56px; padding: 24px 0 58px; }
.product-media { min-width: 0; }
.product-photo { position: relative; border: 1px solid #e4e7ec; background: #f7f9fb; }
.product-photo > img { width: 100%; aspect-ratio: 1 / 1; display: block; object-fit: cover; }
.product-photo .save { top: 14px; right: 14px; width: 40px; height: 40px; }
.product-proof { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid #e4e7ec; border-top: 0; }
.product-proof span { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-right: 1px solid #e4e7ec; color: #475467; font-size: 10px; text-align: center; }
.product-proof span:last-child { border-right: 0; }
.product-purchase { min-width: 0; padding-top: 8px; }
.product-flags { min-height: 26px; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.product-flags span { padding: 5px 8px; background: #fff0ee; color: #c9362c; font-size: 10px; font-weight: 750; }
.product-purchase > h1 { max-width: 720px; margin: 10px 0 12px; font-size: 34px; line-height: 1.24; }
.product-purchase > p { margin: 0; color: #667085; font-size: 13px; line-height: 1.75; }
.product-price-panel { display: grid; grid-template-columns: 1.35fr 1fr 1fr; margin: 24px 0; border: 1px solid #efc8c4; background: #fff7f6; }
.product-price-panel > div { min-height: 82px; display: grid; align-content: center; gap: 7px; padding: 14px 18px; border-right: 1px solid #efc8c4; }
.product-price-panel > div:last-child { border-right: 0; }
.product-price-panel span { color: #667085; font-size: 10px; }
.product-price-panel strong { color: #d83e32; font-size: 29px; }
.product-price-panel b { font-size: 15px; }
.product-variants { margin-top: 0; }
.product-variants > div { grid-template-columns: repeat(2, minmax(0,1fr)); max-height: 196px; overflow-y: auto; }
.product-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin: 22px 0 0; border: 1px solid #e4e7ec; }
.product-facts > div { min-width: 0; padding: 12px; border-right: 1px solid #e4e7ec; }
.product-facts > div:last-child { border-right: 0; }
.product-facts dt { font-size: 9px; }
.product-facts dd { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.product-main-actions { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px; margin-top: 22px; }
.product-main-actions button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 12px; font-weight: 750; }
.product-main-actions .primary { border-color: #e84639; }
.product-information { padding: 56px max(24px, calc((100% - var(--max)) / 2)); display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; border-top: 1px solid #e4e7ec; background: #f7f9fb; }
.product-information > div { min-width: 0; }
.product-information > div > span { color: #e84639; font-size: 10px; font-weight: 850; }
.product-information h2 { margin: 8px 0 12px; font-size: 25px; }
.product-information p { color: #667085; font-size: 12px; line-height: 1.75; }
.product-information .supply-capabilities { margin: 24px 0 0; }
.product-information .shipping-options { margin-top: 22px; }
.product-mobile-actions { display: none; }

.account-auth { min-height: 680px; display: grid; place-items: center; padding: 64px 24px; background: #f7f9fc; }
.account-auth > section { width: min(440px,100%); padding: 34px; border: 1px solid #dfe4e9; background: #fff; }
.account-auth > section > span,.account-heading span,.account-section-head span { color: #e84639; font-size: 10px; font-weight: 850; }
.account-auth h1 { margin: 9px 0 12px; font-size: 30px; }
.account-auth p { margin: 0; color: #667085; font-size: 13px; line-height: 1.65; }
.account-auth form { display: grid; gap: 14px; margin-top: 26px; }
.account-auth label { display: grid; gap: 7px; color: #475467; font-size: 11px; font-weight: 750; }
.account-auth label small { color: #98a2b3; font-weight: 500; }
.account-auth input { height: 44px; padding: 0 11px; border: 1px solid #d0d5dd; border-radius: 4px; }
.account-auth form > button { min-height: 44px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 12px; font-weight: 750; }
.account-auth form > .primary { border-color: #e84639; }
.account-workspace { min-height: 760px; padding: 48px max(24px, calc((100% - var(--max)) / 2)) 80px; background: #f7f9fc; }
.account-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.account-heading h1 { margin: 7px 0 5px; font-size: 32px; }
.account-heading p { margin: 0; color: #667085; font-size: 12px; }
.account-heading > button { height: 38px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 11px; font-weight: 750; }
.account-metrics { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); margin-bottom: 24px; border: 1px solid #dfe4e9; background: #fff; }
.account-metrics > * { min-width: 0; min-height: 94px; display: grid; align-content: center; gap: 3px; padding: 15px; border-right: 1px solid #e4e7ec; text-align: left; }
.account-metrics > *:last-child { border-right: 0; }
.account-metrics b { font-size: 22px; }
.account-metrics span { font-size: 12px; font-weight: 750; }
.account-metrics small { overflow: hidden; color: #667085; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.account-metrics > *:hover { background: #fff7f6; }
.account-layout { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 24px; align-items: start; }
.account-layout > aside { position: sticky; top: 116px; display: grid; border: 1px solid #dfe4e9; background: #fff; }
.account-layout > aside > * { min-height: 40px; display: flex; align-items: center; padding: 0 14px; border-bottom: 1px solid #edf0f3; color: #475467; font-size: 11px; text-align: left; }
.account-layout > aside > *:last-child { border-bottom: 0; }
.account-layout > aside > b { min-height: 48px; background: #172033; color: #fff; font-size: 12px; }
.account-layout > aside :is(a,button):hover { color: #d83e32; background: #fff7f6; }
.account-content { min-width: 0; display: grid; gap: 18px; }
.account-section { scroll-margin-top: 126px; border: 1px solid #dfe4e9; background: #fff; }
.account-section-head { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid #e4e7ec; }
.account-section-head h2 { margin: 5px 0 0; font-size: 19px; }
.account-section-head > small { color: #667085; font-size: 10px; }
.account-section-head > button { height: 34px; padding: 0 11px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 11px; font-weight: 750; }
.security-change-password { display: block; margin: 16px 18px 0 auto; min-height: 34px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; color: #344054; font-size: 11px; font-weight: 750; }
.account-profile-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; padding: 20px; }
.account-profile-form label { display: grid; gap: 7px; color: #475467; font-size: 11px; font-weight: 750; }
.account-profile-form input { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1px solid #d0d5dd; border-radius: 4px; }
.account-profile-form input[readonly] { background: #f2f4f7; color: #667085; }
.account-profile-form > button { grid-column: 2; justify-self: end; min-width: 120px; min-height: 40px; }
.account-list { padding: 0 20px; }
.account-list > article { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid #edf0f3; }
.account-list > article:last-child { border-bottom: 0; }
.account-list article > div:first-child { min-width: 0; display: grid; gap: 4px; }
.account-list article span,.account-list article small { overflow-wrap: anywhere; color: #667085; font-size: 10px; }
.account-list article > button { flex: 0 0 32px; width: 32px; height: 32px; border: 1px solid #e4e7ec; border-radius: 4px; }
.account-notification-list { display: grid; padding: 0 20px; }
.account-notification-list > button { position: relative; min-height: 76px; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 16px; align-content: center; padding: 14px 8px; border-bottom: 1px solid #edf0f3; text-align: left; }
.account-notification-list > button:last-child { border-bottom: 0; }
.account-notification-list > button.unread { padding-left: 16px; }
.account-notification-list > button.unread::before { content: ""; position: absolute; top: 22px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: #e84639; }
.account-notification-list b { font-size: 12px; }
.account-notification-list span { grid-column: 1; color: #667085; font-size: 10px; line-height: 1.5; }
.account-notification-list small { grid-column: 2; grid-row: 1; color: #98a2b3; font-size: 9px; }

.cart-page { min-height: 720px; padding: 48px max(24px, calc((100% - var(--max)) / 2)) 80px; background: #f7f9fc; }
.cart-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.cart-heading span,.cart-summary > span { color: #e84639; font-size: 10px; font-weight: 850; }
.cart-heading h1 { margin: 7px 0 5px; font-size: 32px; }
.cart-heading p { margin: 0; color: #667085; font-size: 12px; }
.cart-heading > button { height: 38px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 11px; font-weight: 750; }
.cart-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: 22px; align-items: start; }
.cart-lines { min-width: 0; border: 1px solid #dfe4e9; background: #fff; }
.cart-lines-head,.cart-lines > article { display: grid; grid-template-columns: minmax(260px,2fr) minmax(150px,1.15fr) 82px 104px 88px 32px; gap: 14px; align-items: center; }
.cart-lines-head { min-height: 44px; padding: 0 16px; border-bottom: 1px solid #dfe4e9; background: #f2f4f7; color: #667085; font-size: 9px; font-weight: 750; }
.cart-lines > article { position: relative; min-height: 124px; padding: 16px; border-bottom: 1px solid #edf0f3; }
.cart-lines > article:last-child { border-bottom: 0; }
.cart-line-product { min-width: 0; display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; align-items: center; }
.cart-line-product img { width: 78px; height: 78px; object-fit: cover; border: 1px solid #e4e7ec; }
.cart-line-product > div,.cart-line-fulfillment { min-width: 0; display: grid; gap: 5px; }
.cart-line-product button { overflow: hidden; font-size: 12px; font-weight: 750; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-product span,.cart-line-product small,.cart-line-fulfillment span,.cart-line-fulfillment small { overflow: hidden; color: #667085; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-fulfillment b { font-size: 11px; }
.cart-lines > article > strong { font-size: 12px; }
.cart-lines .qty { justify-self: start; background: #fff; }
.cart-line-remove { width: 30px; height: 30px; border: 1px solid #e4e7ec; border-radius: 4px; color: #667085; font-size: 18px; }
.cart-summary { position: sticky; top: 116px; padding: 22px; border: 1px solid #dfe4e9; background: #fff; }
.cart-summary h2 { margin: 7px 0 18px; font-size: 21px; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: #475467; font-size: 11px; }
.cart-summary-total { align-items: flex-end; margin-top: 7px; padding-top: 16px !important; border-top: 1px solid #e4e7ec; }
.cart-summary-total strong { color: #d83e32; font-size: 25px; }
.cart-summary > p { margin: 18px 0 10px; padding: 12px; background: #fff7e8; color: #755500; font-size: 10px; line-height: 1.6; }
.cart-summary > p b { display: block; color: #5c4300; }
.cart-summary > small { display: block; color: #667085; font-size: 9px; line-height: 1.5; }
.cart-summary > button { width: 100%; min-height: 44px; margin-top: 18px; }
.cart-mobile-checkout { display: none; }
.cart-empty { min-height: 420px; display: grid; place-content: center; justify-items: center; gap: 10px; border: 1px solid #dfe4e9; background: #fff; text-align: center; }
.cart-empty > span { color: #e84639; font-size: 34px; }
.cart-empty h2 { margin: 6px 0 0; font-size: 23px; }
.cart-empty p { max-width: 430px; margin: 0 0 10px; color: #667085; font-size: 12px; line-height: 1.65; }
.cart-empty button { min-height: 42px; }

.sourcing-page { min-height: 760px; padding: 48px max(24px, calc((100% - var(--max)) / 2)) 80px; background: #f7f9fc; }
.sourcing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sourcing-heading span,.sourcing-form-panel > div > span,.sourcing-history-head > span { color: #e84639; font-size: 10px; font-weight: 850; }
.sourcing-heading h1 { margin: 7px 0 5px; font-size: 32px; }
.sourcing-heading p { margin: 0; color: #667085; font-size: 12px; }
.sourcing-heading > button { height: 38px; padding: 0 14px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 11px; font-weight: 750; }
.sourcing-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 16px; border: 1px solid #dfe4e9; background: #fff; }
.sourcing-metrics > div { min-height: 76px; display: grid; align-content: center; gap: 3px; padding: 12px 18px; border-right: 1px solid #e4e7ec; }
.sourcing-metrics > div:last-child { border-right: 0; }
.sourcing-metrics b { font-size: 21px; }
.sourcing-metrics span { color: #667085; font-size: 10px; }
.sourcing-workflow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 22px; border: 1px solid #25384a; background: #172033; color: #fff; }
.sourcing-workflow > div { position: relative; min-height: 82px; display: grid; grid-template-columns: 28px minmax(0,1fr); align-content: center; gap: 3px 10px; padding: 13px 18px; border-right: 1px solid #344354; }
.sourcing-workflow > div:last-child { border-right: 0; }
.sourcing-workflow i { grid-row: 1 / 3; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid #6e7c89; border-radius: 50%; color: #ff8c82; font-size: 10px; font-style: normal; font-weight: 850; }
.sourcing-workflow b { font-size: 11px; }
.sourcing-workflow span { color: #aeb8c2; font-size: 9px; }
.sourcing-layout { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); gap: 22px; align-items: start; }
.sourcing-form-panel,.sourcing-history { min-width: 0; border: 1px solid #dfe4e9; background: #fff; }
.sourcing-form-panel > div,.sourcing-history-head { min-height: 84px; display: grid; align-content: center; padding: 15px 20px; border-bottom: 1px solid #e4e7ec; }
.sourcing-form-panel h2,.sourcing-history-head h2 { margin: 5px 0 0; font-size: 20px; }
.sourcing-form-panel > div > p { margin: 5px 0 0; color: #667085; font-size: 10px; }
.sourcing-form-panel form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; padding: 20px; }
.sourcing-form-panel label { min-width: 0; display: grid; gap: 7px; color: #475467; font-size: 10px; font-weight: 750; }
.sourcing-form-panel label.wide,.sourcing-form-panel button.wide { grid-column: 1 / -1; }
.sourcing-form-panel :is(input,select,textarea) { width: 100%; min-width: 0; padding: 10px; border: 1px solid #d0d5dd; border-radius: 4px; background: #fff; font-size: 11px; }
.sourcing-form-panel :is(input,select) { height: 42px; }
.sourcing-form-panel textarea { resize: vertical; line-height: 1.5; }
.sourcing-form-panel button { min-height: 44px; }
.sourcing-history > div:last-child { display: grid; }
.sourcing-history article { position: relative; display: grid; gap: 12px; padding: 18px 20px; border-bottom: 1px solid #edf0f3; }
.sourcing-history article:last-child { border-bottom: 0; }
.sourcing-request-title { display: flex; justify-content: space-between; gap: 16px; }
.sourcing-request-title > div { min-width: 0; display: grid; gap: 4px; }
.sourcing-request-title b { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-request-title span { color: #667085; font-size: 9px; }
.sourcing-request-title em { align-self: flex-start; padding: 4px 7px; background: #fff4d7; color: #8a5b00; font-size: 9px; font-style: normal; font-weight: 750; white-space: nowrap; }
.sourcing-history dl { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; border: 1px solid #edf0f3; }
.sourcing-history dl > div { min-width: 0; padding: 9px; border-right: 1px solid #edf0f3; }
.sourcing-history dl > div:last-child { border-right: 0; }
.sourcing-history dt { font-size: 8px; }
.sourcing-history dd { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sourcing-quote { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 12px; background: #fff7f6; }
.sourcing-quote > span { color: #667085; font-size: 9px; }
.sourcing-quote strong { grid-column: 2; grid-row: 1 / 3; color: #d83e32; font-size: 20px; }
.sourcing-quote strong small { font-size: 8px; }
.sourcing-quote p { margin: 0; color: #475467; font-size: 9px; }
.sourcing-quote-actions { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 8px; }
.sourcing-quote-actions button,.sourcing-product-link { min-height: 38px; padding: 0 10px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 10px; font-weight: 750; }
.sourcing-product-link { display: flex; align-items: center; justify-content: space-between; text-align: left; }
.sourcing-history article > small { color: #98a2b3; font-size: 8px; }
.sourcing-empty { min-height: 260px; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 30px; text-align: center; }
.sourcing-empty p { max-width: 320px; margin: 0; color: #667085; font-size: 10px; line-height: 1.6; }

@media (max-width: 1100px) {
  .utility-proof,
  .platform-header .logo small { display: none; }
  .platform-nav { margin-left: 8px; }
  .category-nav { gap: 20px; overflow: hidden; }
  .hero-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-products button:last-child { display: none; }
  .catalog-filters { grid-template-columns: repeat(4, minmax(110px, 1fr)); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-primary { grid-template-columns: minmax(320px, 430px) minmax(0,1fr); gap: 36px; }
  .account-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .account-metrics > * { border-bottom: 1px solid #e4e7ec; }
  .account-metrics > *:nth-child(3) { border-right: 0; }
  .account-metrics > *:nth-last-child(-n+3) { border-bottom: 0; }
  .cart-layout { grid-template-columns: minmax(0,1fr) 300px; }
  .cart-lines-head,.cart-lines > article { grid-template-columns: minmax(220px,1.7fr) minmax(125px,1fr) 70px 92px 76px 30px; gap: 10px; }
  .sourcing-layout { grid-template-columns: minmax(0,1fr) minmax(340px,.8fr); }
  .footer-main { grid-template-columns: 1.5fr repeat(2, 1fr); }
}

@media (max-width: 700px) {
  #site { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mega-menu { display: none; }
  .mega-category-browser { display:none; }
  .utility-bar { min-height: 28px; padding: 0 14px; font-size: 9px; }
  .utility-bar > div:first-child { display: none; }
  .utility-bar > div:last-child { width: 100%; justify-content: flex-end; gap: 13px; }
  .platform-header { height: 58px !important; padding: 0 14px !important; }
  .platform-header .logo span { width: 34px; height: 34px; }
  .platform-header .logo b { font-size: 18px; }
  .platform-header .header-actions { gap: 6px; }
  .platform-header .header-actions .icon-btn,
  .platform-header .header-actions .header-text-action { display: none; }
  .platform-header .cart-btn { display: flex; width: 42px; padding: 0; }
  .platform-header .backend-link { display: none; }
  .mobile-platform-menu { order: 2; display: grid; place-items: center; }
  .header-actions { order: 3; }
  .category-nav { height: 38px; gap: 22px; padding: 0 14px; overflow-x: auto; scrollbar-width: none; }
  .category-nav > * { height: 38px; }
  .category-nav > :first-child { padding-right: 16px; }
  .announcement { min-height: 32px; justify-content: flex-start; padding: 0 14px; overflow: hidden; }
  .announcement p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announcement button { display: none; }
  .hero { min-height: 610px !important; }
  .hero-content { width: calc(100% - 28px); min-height: 610px !important; padding: 42px 0 244px; }
  .hero-copy h1 { font-size: 38px !important; }
  .hero-copy > p { font-size: 14px; line-height: 1.65; }
  .hero-actions { margin-top: 18px; }
  .hero-actions a,
  .hero-actions button { min-width: 0; height: 40px; padding: 0 14px; }
  .hero-proof { display: none; }
  .finder { bottom: 14px; padding: 12px !important; }
  .finder-tabs { gap: 18px; overflow: hidden; white-space: nowrap; }
  .finder-main { grid-template-columns: 1fr; }
  .finder .search-box { height: 46px; }
  .finder .search-box button { min-width: 68px; height: 40px; padding: 0 12px; }
  .finder-row { display: grid; grid-template-columns: 1fr 1fr; }
  .finder select { height: 40px; }
  .hero-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-products button { display: block; padding: 4px; }
  .hero-products button:nth-child(n+4) { display: none; }
  .hero-products img { width: 100%; height: 58px; }
  .hero-products span { display: none; }
  .hero-products b { display: block; padding: 4px 2px 1px; text-align: center; }
  .product-page { padding-bottom: 0; }
  .product-breadcrumb { width: calc(100% - 28px); min-height: 42px; }
  .product-primary { width: calc(100% - 28px); grid-template-columns: 1fr; gap: 24px; padding: 12px 0 40px; }
  .product-photo .save { display: none; }
  .product-proof span { min-height: 42px; padding: 6px 3px; font-size: 9px; }
  .product-purchase { padding: 0; }
  .product-purchase > h1 { margin-top: 8px; font-size: 27px; }
  .product-purchase > p { font-size: 12px; }
  .product-price-panel { grid-template-columns: 1.2fr 1fr 1fr; margin: 18px 0; }
  .product-price-panel > div { min-height: 72px; padding: 10px; }
  .product-price-panel strong { font-size: 23px; }
  .product-price-panel b { font-size: 12px; }
  .product-variants > div { grid-template-columns: 1fr; max-height: none; }
  .product-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-facts > div { border-bottom: 1px solid #e4e7ec; }
  .product-facts > div:nth-child(2) { border-right: 0; }
  .product-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
  .product-main-actions { display: none; }
  .product-information { grid-template-columns: 1fr; gap: 42px; padding: 42px 14px; }
  .product-information h2 { font-size: 22px; }
  .product-mobile-actions { position: fixed; right: 0; bottom: 0; left: 0; z-index: 42; height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 58px 58px minmax(0,1fr); gap: 4px; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #dfe4e9; background: rgba(255,255,255,.98); box-shadow: 0 -8px 24px rgba(16,24,40,.09); }
  .product-mobile-actions button { min-width: 0; display: grid; place-content: center; justify-items: center; gap: 2px; font-size: 10px; }
  .product-mobile-actions button > span { height: 21px; display: grid; place-items: center; font-size: 20px; }
  .product-mobile-actions svg { width: 18px; height: 18px; }
  .product-mobile-actions .primary { display: flex; flex-direction: row; gap: 8px; border-radius: 4px; font-size: 12px; }
  .account-auth { min-height: 620px; padding: 34px 14px; }
  .account-auth > section { padding: 24px 18px; }
  .account-auth h1 { font-size: 26px; }
  .account-workspace { padding: 34px 14px 58px; }
  .account-heading { align-items: flex-start; }
  .account-heading h1 { font-size: 26px; }
  .account-heading > button { flex: 0 0 auto; }
  .account-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 16px; }
  .account-metrics > * { min-height: 78px; padding: 10px; }
  .account-metrics b { font-size: 18px; }
  .account-metrics span { font-size: 10px; }
  .account-layout { grid-template-columns: 1fr; gap: 14px; }
  .account-layout > aside { position: sticky; top: 96px; z-index: 5; display: flex; overflow-x: auto; border-right: 0; border-left: 0; scrollbar-width: none; }
  .account-layout > aside > * { flex: 0 0 auto; min-height: 40px; padding: 0 12px; border-right: 1px solid #edf0f3; border-bottom: 0; white-space: nowrap; }
  .account-layout > aside > b { display: none; }
  .account-section { scroll-margin-top: 142px; }
  .account-section-head { min-height: 66px; padding: 12px 14px; }
  .account-section-head > small { display: none; }
  .account-profile-form { grid-template-columns: 1fr; gap: 12px; padding: 16px 14px; }
  .account-profile-form > button { grid-column: 1; justify-self: stretch; }
  .account-list { padding: 0 14px; }
  .account-list > article { align-items: flex-start; gap: 10px; }
  .account-list .team-actions { display: grid; justify-items: stretch; }
  .account-list .team-actions button { white-space: nowrap; }
  .account-notification-list { padding: 0 14px; }
  .account-notification-list > button { grid-template-columns: 1fr; }
  .account-notification-list small { grid-column: 1; grid-row: auto; }
  .cart-page { padding: 34px 14px 54px; }
  .cart-heading { align-items: flex-start; margin-bottom: 18px; }
  .cart-heading h1 { font-size: 27px; }
  .cart-heading > button { flex: 0 0 auto; }
  .cart-layout { grid-template-columns: 1fr; gap: 14px; }
  .cart-lines-head { display: none; }
  .cart-lines > article { grid-template-columns: minmax(0,1fr) auto auto; gap: 12px 8px; min-height: 0; padding: 14px; }
  .cart-line-product { grid-column: 1 / -1; grid-template-columns: 72px minmax(0,1fr); padding-right: 28px; }
  .cart-line-product img { width: 72px; height: 72px; }
  .cart-line-fulfillment { grid-column: 1; }
  .cart-lines > article > strong:first-of-type { display: none; }
  .cart-lines .qty { grid-column: 2; }
  .cart-lines > article > strong:last-of-type { grid-column: 3; justify-self: end; }
  .cart-line-remove { position: absolute; top: 12px; right: 12px; }
  .cart-summary { position: static; padding: 18px; }
  .cart-summary > button { display: none; }
  .cart-mobile-checkout { position: fixed; right: 0; bottom: 0; left: 0; z-index: 42; height: calc(62px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0,1fr) 160px; gap: 10px; align-items: center; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid #dfe4e9; background: rgba(255,255,255,.98); box-shadow: 0 -8px 24px rgba(16,24,40,.09); }
  .cart-mobile-checkout > div { min-width: 0; display: grid; gap: 2px; }
  .cart-mobile-checkout span { color: #667085; font-size: 9px; }
  .cart-mobile-checkout b { color: #d83e32; font-size: 18px; }
  .cart-mobile-checkout button { height: 48px; border-radius: 4px; }
  .cart-empty { min-height: 360px; padding: 28px 18px; }
  .sourcing-page { padding: 34px 14px 58px; }
  .sourcing-heading { align-items: flex-start; }
  .sourcing-heading h1 { font-size: 27px; }
  .sourcing-heading > button { flex: 0 0 auto; }
  .sourcing-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sourcing-metrics > div { min-height: 66px; border-bottom: 1px solid #e4e7ec; }
  .sourcing-metrics > div:nth-child(2) { border-right: 0; }
  .sourcing-metrics > div:nth-last-child(-n+2) { border-bottom: 0; }
  .sourcing-workflow { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sourcing-workflow > div { min-height: 72px; padding: 10px; border-bottom: 1px solid #344354; }
  .sourcing-workflow > div:nth-child(2) { border-right: 0; }
  .sourcing-workflow > div:nth-last-child(-n+2) { border-bottom: 0; }
  .sourcing-layout { grid-template-columns: 1fr; gap: 14px; }
  .sourcing-form-panel form { grid-template-columns: 1fr; padding: 16px 14px; }
  .sourcing-form-panel label.wide,.sourcing-form-panel button.wide { grid-column: 1; }
  .sourcing-form-panel > div,.sourcing-history-head { padding: 14px; }
  .sourcing-history article { padding: 16px 14px; }
  .sourcing-quote-actions { grid-template-columns: 1fr; }
  .operation-bar { width: 100%; margin: 0; grid-template-columns: repeat(3, 1fr); border-right: 0; border-left: 0; }
  .operation-bar > div { min-height: 70px; padding: 12px; }
  .operation-bar > div:nth-child(3) { display: flex; }
  .operation-bar > button { display: none; }
  .operation-bar strong { font-size: 18px; }
  .catalog.section { padding-top: 46px; }
  .catalog .section-title h2 { font-size: 27px; }
  .catalog .section-title p { font-size: 13px; }
  .category-row { margin-bottom: 14px; }
  .catalog-filters { display: none; }
  .filter-overlay { z-index: 80; }
  .filter-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 81;
    width: min(360px, calc(100% - 28px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    box-shadow: -18px 0 42px rgba(10, 18, 25, .22);
  }
  .filter-drawer .drawer-head {
    min-height: 76px;
    flex: 0 0 auto;
    align-items: center;
    padding: 14px 16px;
  }
  .filter-drawer .drawer-head h2 { font-size: 20px; }
  .filter-drawer .drawer-head .close { display: grid; place-items: center; }
  .filter-drawer-form {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 15px 10px;
    padding: 18px 16px calc(86px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .filter-drawer-form > label {
    min-width: 0;
    display: grid;
    gap: 7px;
    color: #475467;
    font-size: 11px;
    font-weight: 750;
  }
  .filter-drawer-form > label:nth-of-type(1),
  .filter-drawer-form > label:nth-of-type(2),
  .filter-drawer-form > label:nth-of-type(3),
  .filter-drawer-form > label:nth-of-type(7),
  .filter-drawer-form .stock-filter { grid-column: 1 / -1; }
  .filter-drawer-form :is(input:not([type="checkbox"]), select) {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 10px;
    border: 1px solid #d0d5dd;
    border-radius: 4px;
    background: #fff;
    color: #17202b;
    font-size: 12px;
  }
  .filter-drawer-form .range-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; }
  .filter-drawer-form .stock-filter { display: flex; align-items: center; gap: 9px; min-height: 38px; }
  .filter-drawer-form .stock-filter input { width: 18px; height: 18px; accent-color: #e84639; }
  .filter-drawer-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 8px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #e4e8ed;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(16, 24, 40, .07);
  }
  .filter-drawer-actions button { height: 44px; padding: 0 12px; border: 1px solid #d0d5dd; border-radius: 4px; font-size: 12px; font-weight: 750; }
  .filter-drawer-actions .primary { border-color: #e84639; }
  .mobile-market-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    height: calc(62px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 5px 8px env(safe-area-inset-bottom);
    border-top: 1px solid #dfe4e9;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -8px 24px rgba(16, 24, 40, .09);
    backdrop-filter: blur(12px);
  }
  .mobile-market-bar button { position: relative; min-width: 0; display: grid; place-content: center; justify-items: center; gap: 2px; color: #344054; }
  .mobile-market-bar button > span { width: 23px; height: 23px; display: grid; place-items: center; font-size: 20px; line-height: 1; }
  .mobile-market-bar svg { width: 20px; height: 20px; }
  .mobile-market-bar b { font-size: 10px; }
  .mobile-market-bar i { position: absolute; top: 2px; left: calc(50% + 9px); min-width: 17px; height: 17px; display: grid; place-items: center; padding: 0 4px; border-radius: 9px; background: #e84639; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-info { padding: 9px; }
  .product-title { font-size: 12px; }
  .rating span:last-child { display: none; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; padding: 42px 20px 34px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { min-height: 70px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; padding: 14px 20px; }
  .footer-bottom span:nth-child(2) { order: -1; }
}
/* Lucide icons keep controls visually aligned without glyph-dependent metrics. */
.lucide{width:1em;height:1em;stroke-width:2;vertical-align:-0.14em;flex:0 0 auto}
button .lucide,a .lucide,.ico .lucide,.icon .lucide,.op-icon .lucide{pointer-events:none}

/* Public resource pages keep help and service content usable outside modal contexts. */
.public-resource-page{background:#f7f9fc;min-height:760px;padding-bottom:72px}
.resource-hero{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:72px 0 48px;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:48px;align-items:center}
.resource-hero>div>span,.resource-section-head span,.resource-support-band>div>span{font-size:11px;letter-spacing:1.4px;font-weight:800;color:#e94c3d}
.resource-hero h1{font-size:48px;line-height:1.12;margin:14px 0 16px;max-width:760px}
.resource-hero p{max-width:700px;color:#667281;line-height:1.8;margin:0 0 24px}
.resource-hero aside{background:#17202b;color:#fff;padding:25px;display:grid;gap:5px;border-radius:7px}
.resource-hero aside b{font-size:40px;color:#ff8f83}.resource-hero aside span{font-weight:700}.resource-hero aside small{color:#b9c5cd}
.resource-hero .secondary,.resource-support-band button,.resource-support-band a{border:1px solid #d6dce2;background:#fff;padding:12px 16px;border-radius:5px;margin-left:8px}
.resource-section{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:34px 0}
.resource-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.resource-section-head h2{font-size:30px;margin:8px 0 0}.resource-section-head p{color:#667281;margin:0}
.resource-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.resource-card-grid article{background:#fff;border:1px solid #e4e8ed;padding:22px;min-height:220px;display:flex;flex-direction:column}.resource-card-grid article header{display:flex;justify-content:space-between;align-items:center}.resource-card-grid article header i{font-style:normal;color:#e94c3d;font-weight:800}.resource-card-grid article header span{color:#667281;font-size:11px}.resource-card-grid h3{font-size:20px;margin:22px 0 8px}.resource-card-grid p{color:#667281;line-height:1.7;margin:0}.resource-card-grid footer{background:none;color:inherit;padding:0;margin-top:auto;display:flex;justify-content:space-between;align-items:end;gap:10px}.resource-card-grid footer small{color:#98a2b3}.resource-card-grid footer button{color:#e94c3d;font-weight:700}
.resource-process{width:min(1240px,calc(100% - 48px));margin:20px auto 0;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #dfe4e9;background:#fff}.resource-process>div{padding:24px;border-right:1px solid #e4e8ed}.resource-process>div:last-child{border-right:0}.resource-process span{display:block;color:#e94c3d;font-size:24px;font-weight:800}.resource-process b{display:block;margin:16px 0 8px}.resource-process p{color:#667281;font-size:13px;line-height:1.7;margin:0}
.resource-support-band{width:min(1240px,calc(100% - 48px));margin:34px auto 0;background:#17202b;color:#fff;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:25px}.resource-support-band h2{margin:9px 0;font-size:25px}.resource-support-band p{color:#b9c5cd;margin:0;line-height:1.7}.resource-support-band button,.resource-support-band a{white-space:nowrap;color:#17202b;margin-left:0}.resource-support-band a{display:inline-block;color:#fff;background:transparent;border-color:#65717b}
.resource-empty{background:#fff;border:1px solid #e4e8ed;padding:55px;text-align:center}.resource-empty b{font-size:20px}.resource-empty p{color:#667281}.resource-empty button{margin-top:10px;border:1px solid #d0d5dd;padding:10px 14px}
.resource-search{display:grid;grid-template-columns:auto minmax(0,1fr) 170px auto;align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:6px;max-width:820px;overflow:hidden}.resource-search>span{padding-left:13px;color:#667281}.resource-search input,.resource-search select{border:0;outline:0;padding:14px 10px;background:#fff;min-width:0}.resource-search select{border-left:1px solid #e4e8ed}.resource-search button{border-radius:0;margin:3px}
.help-quick-grid{width:min(1240px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.help-quick-grid button{background:#fff;border:1px solid #e4e8ed;text-align:left;padding:18px;display:grid;grid-template-columns:32px 1fr;gap:4px 10px}.help-quick-grid button span{grid-row:span 2;color:#e94c3d;font-size:20px}.help-quick-grid button small{color:#667281;grid-column:2}.help-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.help-article-grid button{background:#fff;border:1px solid #e4e8ed;padding:22px;text-align:left;min-height:190px;display:flex;flex-direction:column}.help-article-grid button>span{font-size:11px;color:#e94c3d;font-weight:800}.help-article-grid h3{font-size:18px;margin:16px 0 8px}.help-article-grid p{color:#667281;line-height:1.7;margin:0}.help-article-grid em{font-style:normal;color:#e94c3d;font-size:12px;font-weight:700;margin-top:auto}
@media(max-width:700px){.resource-hero,.resource-section{width:calc(100% - 28px);padding-top:45px}.resource-hero{grid-template-columns:1fr;gap:24px}.resource-hero h1{font-size:34px}.resource-hero aside{width:100%;grid-template-columns:auto 1fr;align-items:center}.resource-hero aside small{grid-column:2}.resource-hero .secondary{margin:8px 0 0}.resource-card-grid,.help-article-grid{grid-template-columns:1fr}.resource-process{width:calc(100% - 28px);grid-template-columns:1fr 1fr}.resource-process>div:nth-child(2){border-right:0}.resource-process>div:nth-child(-n+2){border-bottom:1px solid #e4e8ed}.resource-support-band{width:calc(100% - 28px);align-items:flex-start;flex-direction:column}.resource-support-band button,.resource-support-band a{margin:0}.resource-search{grid-template-columns:auto 1fr}.resource-search select{grid-column:1/-1;border-left:0;border-top:1px solid #e4e8ed}.resource-search button{grid-column:1/-1}.help-quick-grid{width:calc(100% - 28px);grid-template-columns:1fr 1fr}}

/* Shipping quotes share the same operational density as checkout and inventory views. */
.shipping-calculator-page{min-height:760px;padding:0 0 76px;background:#f5f7fa;color:#17202b}
.shipping-heading{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:56px 0 30px;display:flex;justify-content:space-between;align-items:end;gap:36px}
.shipping-heading>div>span,.shipping-results-head span{color:#e84639;font-size:11px;font-weight:800;letter-spacing:1.4px}
.shipping-heading h1{margin:10px 0 12px;font-size:40px;line-height:1.15}.shipping-heading p{max-width:720px;margin:0;color:#667281;line-height:1.75}
.shipping-heading aside{width:250px;display:grid;grid-template-columns:38px 1fr;gap:2px 10px;padding:17px 18px;border-left:3px solid #e84639;background:#17202b;color:#fff}
.shipping-heading aside>span{grid-row:span 2;display:grid;place-items:center;font-size:24px;color:#ff8f83}.shipping-heading aside small{color:#b9c5cd}
.shipping-tool{width:min(1240px,calc(100% - 48px));margin:0 auto;border:1px solid #dce2e8;background:#fff}
.shipping-tool>form{display:grid;grid-template-columns:minmax(260px,1.6fr) minmax(180px,1fr) 120px auto;gap:14px;align-items:end;padding:20px;border-bottom:1px solid #e4e8ed}
.shipping-tool label{display:grid;gap:7px;color:#475467;font-size:11px;font-weight:750}.shipping-tool :is(select,input){width:100%;min-width:0;height:44px;padding:0 11px;border:1px solid #ccd4dc;border-radius:4px;background:#fff;color:#17202b}.shipping-tool form>button{height:44px;padding:0 18px;white-space:nowrap}
.shipping-product{min-height:104px;display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:16px;align-items:center;padding:15px 20px}.shipping-product img{width:72px;height:72px;object-fit:cover;border:1px solid #e4e8ed}.shipping-product>div{display:grid;gap:4px}.shipping-product>div span{color:#e84639;font-size:10px;font-weight:800}.shipping-product>div b{font-size:16px}.shipping-product>div small{color:#667281}.shipping-product dl{display:grid;grid-template-columns:repeat(2,130px);margin:0}.shipping-product dl div{padding:5px 18px;border-left:1px solid #e4e8ed}.shipping-product dt{color:#667281;font-size:10px}.shipping-product dd{margin:5px 0 0;font-weight:800}
.shipping-results{width:min(1240px,calc(100% - 48px));margin:34px auto 0}.shipping-results-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.shipping-results-head h2{margin:7px 0 0;font-size:27px}.shipping-results-head p{margin:0;color:#667281}
.shipping-route-list{border:1px solid #dce2e8;background:#fff}.shipping-route-list article{min-height:102px;display:grid;grid-template-columns:50px minmax(190px,1fr) minmax(390px,1.5fr) auto;gap:18px;align-items:center;padding:15px 18px;border-bottom:1px solid #e4e8ed}.shipping-route-list article:last-child{border-bottom:0}.shipping-route-rank{color:#e84639;font-size:20px;font-weight:800}.shipping-route-name span{color:#667281;font-size:10px}.shipping-route-name h3{margin:5px 0 3px;font-size:17px}.shipping-route-name small{color:#98a2b3}.shipping-route-list dl{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));margin:0}.shipping-route-list dl div{padding:4px 14px;border-left:1px solid #e4e8ed}.shipping-route-list dt{color:#667281;font-size:10px}.shipping-route-list dd{margin:5px 0 0;font-size:14px;font-weight:800}.shipping-route-list article>button{min-width:132px;color:#e84639;font-size:12px;font-weight:800;text-align:right}
.shipping-empty{padding:58px 24px;border:1px solid #dce2e8;background:#fff;text-align:center}.shipping-empty b{font-size:19px}.shipping-empty p{color:#667281}.shipping-empty button{margin-top:8px}
.shipping-disclaimer{display:grid;grid-template-columns:110px 1fr;gap:18px;margin-top:14px;padding:16px 18px;border-left:3px solid #98a2b3;background:#e9edf2}.shipping-disclaimer p{margin:0;color:#5d6876;font-size:12px;line-height:1.7}
@media(max-width:800px){.shipping-heading,.shipping-tool,.shipping-results{width:calc(100% - 28px)}.shipping-heading{padding-top:38px;display:grid;align-items:start}.shipping-heading h1{font-size:31px}.shipping-heading aside{width:100%}.shipping-tool>form{grid-template-columns:1fr 1fr}.shipping-tool form>label:first-child,.shipping-tool form>button{grid-column:1/-1}.shipping-product{grid-template-columns:58px minmax(0,1fr)}.shipping-product img{width:58px;height:58px}.shipping-product dl{grid-column:1/-1;grid-template-columns:1fr 1fr;border-top:1px solid #e4e8ed}.shipping-product dl div:first-child{border-left:0}.shipping-route-list article{grid-template-columns:34px minmax(0,1fr);gap:10px 12px;padding:16px 14px}.shipping-route-name{min-width:0}.shipping-route-list dl{grid-column:1/-1;grid-template-columns:repeat(3,1fr)}.shipping-route-list dl div:first-child{border-left:0;padding-left:0}.shipping-route-list article>button{grid-column:1/-1;min-height:36px;text-align:left;border-top:1px solid #edf0f3;padding-top:10px}.shipping-disclaimer{grid-template-columns:1fr;gap:7px}}

/* Service modes keep custom requests structured without splitting the sourcing workflow. */
.service-type-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-top:1px solid #e4e8ed;border-bottom:1px solid #e4e8ed;background:#f7f9fb}
.service-type-tabs button{min-height:48px;padding:8px 6px;border-right:1px solid #e4e8ed;color:#5d6876;font-size:11px;font-weight:750}.service-type-tabs button:last-child{border-right:0}.service-type-tabs button.active{box-shadow:inset 0 -3px #e84639;background:#fff;color:#e84639}
.sourcing-form-panel .service-sample{min-height:42px;display:flex;align-items:center;gap:9px}.sourcing-form-panel .service-sample input{width:18px;height:18px;accent-color:#e84639}
.service-kind{display:inline-flex;width:max-content;margin-bottom:4px;padding:3px 6px;background:#fff0ee;color:#d83c30;font-size:9px!important;font-weight:800}
.service-option-summary{margin:10px 0 0;padding:9px 10px;border-left:2px solid #e84639;background:#f7f9fb;color:#5d6876;font-size:11px;line-height:1.6}
@media(max-width:700px){.service-type-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.service-type-tabs button{border-bottom:1px solid #e4e8ed}.service-type-tabs button:nth-child(2n){border-right:0}.service-type-tabs button:last-child{grid-column:1/-1;border-bottom:0}}

/* The marketplace is a dedicated operational page, not a scrolled homepage state. */
.catalog-page{min-height:760px;background:#f5f7fa;padding-bottom:72px}
.catalog-page-heading{padding:44px max(24px,calc((100% - 1240px)/2)) 28px;background:#fff;border-bottom:1px solid #dfe4e9}
.catalog-page-heading>div>span{color:#e84639;font-size:11px;font-weight:800;letter-spacing:1.4px}
.catalog-page-heading h1{margin:9px 0 10px;font-size:40px;line-height:1.15}
.catalog-page-heading>div>p{max-width:760px;margin:0;color:#667281;line-height:1.7}
.catalog-page-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;margin-top:24px}
.catalog-page-search>label{min-height:46px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;border:1px solid #cfd6dd;background:#fff}
.catalog-page-search>label>span{padding-left:13px;color:#667281}.catalog-page-search input{min-width:0;border:0;outline:0;padding:12px}
.catalog-page-search>label .primary{height:40px;margin-right:3px;border-radius:3px}.catalog-page-search>button{min-height:46px;padding:0 16px;border:1px solid #cfd6dd;background:#fff;font-weight:700}
.catalog-page-search>button[data-action="open-filters"]{display:none}
.catalog-page-proof{display:flex;gap:30px;margin-top:18px;color:#667281;font-size:12px}.catalog-page-proof b{color:#17202b;font-size:16px}
.catalog-page>.catalog.section{padding:36px 0 0}.catalog-page>.catalog .section-title{margin-bottom:20px}.catalog-page>.catalog .section-title h2{font-size:28px}
@media(max-width:700px){.catalog-page{padding-bottom:88px}.catalog-page-heading{padding:32px 14px 22px}.catalog-page-heading h1{font-size:32px}.catalog-page-search{grid-template-columns:1fr 1fr}.catalog-page-search>label{grid-column:1/-1}.catalog-page-search>button{padding:0 10px}.catalog-page-search>button[data-action="open-filters"]{display:block}.catalog-page-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.catalog-page-proof span{display:grid}.catalog-page>.catalog.section{width:calc(100% - 28px);padding-top:26px}.catalog-page>.catalog .section-title h2{font-size:25px}}

/* Formal brand tokens and card geometry from the implementation specification. */
:root{--red:#ff4d3d}
.finder,.operation-bar,.auth-card{border-radius:8px!important}

/* Account and sandbox workflow controls. */
.account-menu-wrap{position:relative}.account-menu-trigger{display:flex!important;align-items:center;gap:5px}.account-menu-trigger i{width:14px;height:14px}.account-dropdown{position:absolute;right:0;top:calc(100% + 8px);z-index:80;width:220px;padding:8px;background:#fff;border:1px solid #d0d5dd;box-shadow:0 14px 30px rgba(16,24,40,.14);color:#172033}.account-dropdown>div{display:grid;padding:9px;border-bottom:1px solid #e4e7ec;margin-bottom:5px}.account-dropdown small{color:#667085;overflow:hidden;text-overflow:ellipsis}.account-dropdown button{width:100%;padding:9px;border:0;background:#fff;text-align:left;color:#344054}.account-dropdown button:hover{background:#f2f4f7;color:#d92d20}.account-auth-panel,.auth-dialog{display:grid;gap:14px}.account-auth-panel form,.auth-dialog form{display:grid;gap:12px}.account-auth-panel .form-grid,.auth-dialog .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.verify-field{position:relative}.verify-field button{margin-top:5px;width:max-content;padding:7px 10px;border:1px solid #d0d5dd;background:#fff}.agreement{display:flex!important;grid-column:1/-1;align-items:center;gap:8px}.agreement input{width:18px!important;height:18px}.stores-heading-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.stores-heading-actions>button{min-height:42px;padding:0 15px;border:1px solid #d0d5dd;background:#fff;font-weight:750}.sandbox-payment{border:1px solid #12b76a!important;background:#ecfdf3!important;color:#027a48!important;font-weight:800!important}.order-detail-panel footer{gap:8px;flex-wrap:wrap}
.stores-heading-actions>button.primary{background:#e94c3d;border-color:#e94c3d;color:#fff}
.store-sku-mapping-list{display:grid;border:1px solid #e4e7ec;margin-bottom:18px}.store-sku-mapping-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(240px,.8fr) auto;gap:16px;align-items:end;padding:14px;border-bottom:1px solid #e4e7ec}.store-sku-mapping-row:last-child{border-bottom:0}.store-sku-mapping-row>div,.store-sku-mapping-row label{display:grid;gap:5px}.store-sku-mapping-row small{color:#667085}.store-sku-mapping-row input{height:40px;border:1px solid #d0d5dd;padding:0 10px}.store-sku-mapping-row button{height:40px;margin:0;padding:0 15px}
@media(max-width:700px){.account-dropdown{position:fixed;left:14px;right:14px;top:92px;width:auto}.account-auth-panel .form-grid,.auth-dialog .form-grid{grid-template-columns:1fr}.stores-heading-actions{width:100%;justify-content:stretch}.stores-heading-actions>button{flex:1}.supplier-login,.store-sku-mapping-row{grid-template-columns:1fr}}
.supplier-package-section>div{display:grid;gap:8px;margin-top:10px}.supplier-package-section article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:11px 0;border-top:1px solid #e4e7ec}.supplier-package-section article>div{display:grid;min-width:0}.supplier-package-section article small{overflow:hidden;color:#667085;text-overflow:ellipsis;white-space:nowrap}.supplier-package-section article>span{color:#667085;font-size:12px}.supplier-package-section article>strong{grid-column:1/-1;color:#172033;font-size:13px;letter-spacing:0;overflow-wrap:anywhere}
