/* 外卖首页 */
.yd-page.yd-takeout-page.yd-page--active {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.yd-takeout-page {
  background: #F5F5F5;
}

.yd-takeout-header-bar .yd-header-btn--circle svg{
  width: 20px;
  height: 20px;
  display:block;
}

.yd-takeout-top {
  flex-shrink: 0;
  position: relative;
}

.yd-takeout-header-bar {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding-top: env(safe-area-inset-top, 0);
}

.yd-takeout-header-bar .yd-header-btn {
  color: #FFF;
}

/* 外卖页：返回按钮圆形底色单独调整 */
.yd-takeout-header-bar .yd-header-btn--circle {
  background: rgb(244 244 244 / 20%);
}

.yd-takeout-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.yd-takeout-header {
  background: linear-gradient(180deg, #FF6B00 0%, #FF8533 100%);
  padding: calc(12px + env(safe-area-inset-top)) 14px 14px;
  padding-bottom: 48px;
}

.yd-takeout-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #FFF;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.yd-takeout-loc svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.yd-takeout-nav {
  background: #FFF;
  margin: -36px 12px 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 16px 12px;
  position: relative;
  z-index: 2;
}

.yd-takeout-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 8px;
}

.yd-takeout-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: #333;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.yd-takeout-nav-item:active {
  opacity: 0.7;
}

.yd-takeout-nav-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: #F0F0F0;
}

.yd-takeout-nav-item--add .icon {
  font-size: 28px;
  color: #FF6B00;
  background: rgba(255, 107, 0, 0.10);
}

.yd-takeout-nav-item:nth-child(1) .icon { background: #FFE8E0; }
.yd-takeout-nav-item:nth-child(2) .icon { background: #E8F5FF; }
.yd-takeout-nav-item:nth-child(3) .icon { background: #FFF4E6; }
.yd-takeout-nav-item:nth-child(4) .icon { background: #E8FFEC; }
.yd-takeout-nav-item:nth-child(5) .icon { background: #F0E8FF; }
.yd-takeout-nav-item:nth-child(6) .icon { background: #FFE8F0; }
.yd-takeout-nav-item:nth-child(7) .icon { background: #E8FFF4; }
.yd-takeout-nav-item:nth-child(8) .icon { background: #F5E8FF; }

.yd-takeout-list {
  padding: 12px 12px calc(96px + env(safe-area-inset-bottom));
}

.yd-takeout-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  padding-left: 2px;
}

.yd-takeout-section-head .yd-takeout-section-title {
  margin-bottom: 0;
}

.yd-takeout-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.yd-takeout-admin-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.yd-takeout-admin-btn {
  border: 1px solid #E5E5EA;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-radius: 999px;
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.yd-takeout-admin-btn--secondary {
  border-color: rgba(255, 107, 0, 0.25);
  background: rgba(255, 107, 0, 0.08);
  color: #FF6B00;
}

.yd-takeout-admin-btn:active {
  opacity: 0.85;
}

.yd-takeout-admin-form-row {
  margin-bottom: 14px;
}

.yd-takeout-admin-label {
  font-size: 14px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.yd-takeout-admin-input,
.yd-takeout-admin-select {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #E5E5EA;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
  background: #fff;
}

.yd-takeout-admin-style-add {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 107, 0, 0.25);
  background: rgba(255, 107, 0, 0.08);
  color: #FF6B00;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  flex-shrink: 0;
}

.yd-takeout-admin-style-add:active {
  opacity: 0.85;
}

.yd-takeout-admin-style-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.yd-takeout-admin-style-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #E5E5EA;
  background: #fff;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  color: #111;
}

.yd-takeout-admin-style-chip button {
  border: none;
  background: transparent;
  color: rgba(0,0,0,0.45);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  line-height: 1;
}

.yd-takeout-item-card {
  background: #FFF;
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  position: relative;
}

.yd-takeout-item-menu {
  position: absolute;
  top: 8px;
  right: 15px;
  z-index: 2;
}

.yd-takeout-item-menu__trigger {
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.yd-takeout-item-menu__panel {
  position: absolute;
  top: 32px;
  right: 0;
  min-width: 68px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #EEE;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  padding: 4px;
}

.yd-takeout-item-menu__delete {
  width: 100%;
  border: none;
  background: transparent;
  color: #FF3B30;
  font-size: 13px;
  font-weight: 800;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.yd-takeout-item-card__inner {
  display: flex;
  padding: 12px;
  gap: 12px;
}

.yd-takeout-item-card__img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  background: #F0F0F0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.yd-takeout-item-card__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yd-takeout-item-card__name {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yd-takeout-item-card__desc {
  font-size: 12px;
  color: #777;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yd-takeout-item-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.yd-takeout-item-card__price {
  font-size: 16px;
  font-weight: 800;
  color: #FF6B00;
}

.yd-takeout-item-card__add {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: #FF6B00;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yd-takeout-item-card__add:active {
  opacity: 0.85;
}

/* 购物车按钮 */
.yd-takeout-cart {
  position: fixed;
  right: 14px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.yd-takeout-cart svg {
  width: 26px;
  height: 26px;
}

.yd-takeout-cart:active {
  opacity: 0.85;
}

.yd-takeout-cart__badge {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #FF3B30;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* 通用弹窗 */
.yd-takeout-modal,
.yd-takeout-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.yd-takeout-modal.yd-modal--active,
.yd-takeout-cart-drawer.yd-modal--active {
  display: block;
}

.yd-takeout-modal__mask,
.yd-takeout-cart-drawer__mask {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.42);
}

.yd-takeout-modal__panel,
.yd-takeout-cart-drawer__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px 16px 0 0;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}

.yd-takeout-modal__header,
.yd-takeout-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #EEE;
  flex-shrink: 0;
}

.yd-takeout-modal__title,
.yd-takeout-cart-drawer__title {
  font-size: 16px;
  font-weight: 800;
  color: #111;
}

.yd-takeout-modal__x {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #666;
}

.yd-takeout-modal__body {
  padding: 12px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.yd-takeout-option-group {
  margin-bottom: 14px;
}

.yd-takeout-option-group__title {
  font-size: 14px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
}

.yd-takeout-option-group__hint {
  font-size: 12px;
  color: #999;
  font-weight: 600;
  margin-left: 6px;
}

.yd-takeout-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.yd-takeout-option {
  border: 1px solid #E5E5EA;
  background: #fff;
  color: #111;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
}

.yd-takeout-option[aria-pressed="true"] {
  border-color: #FF6B00;
  background: #FFF3EA;
  color: #FF6B00;
}

.yd-takeout-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid #EEE;
  flex-shrink: 0;
}

.yd-takeout-modal__sum {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yd-takeout-modal__price {
  font-size: 18px;
  font-weight: 900;
  color: #FF6B00;
}

.yd-takeout-modal__qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #111;
  font-weight: 700;
}

.yd-takeout-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #E5E5EA;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}

.yd-takeout-modal__ok {
  border: none;
  background: #FF6B00;
  color: #fff;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.yd-takeout-modal__ok:disabled {
  opacity: 0.45;
}

/* 购物车抽屉 */
.yd-takeout-cart-drawer__clear {
  border: none;
  background: transparent;
  color: #FF6B00;
  font-size: 14px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.yd-takeout-cart-drawer__list {
  padding: 10px 14px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.yd-takeout-cart-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #EEE;
}

.yd-takeout-cart-row:last-child {
  border-bottom: none;
}

.yd-takeout-cart-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #F0F0F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.yd-takeout-cart-row__main {
  flex: 1;
  min-width: 0;
}

.yd-takeout-cart-row__name {
  font-size: 14px;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yd-takeout-cart-row__opts {
  margin-top: 4px;
  font-size: 12px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yd-takeout-cart-row__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.yd-takeout-cart-row__price {
  font-size: 13px;
  font-weight: 900;
  color: #FF6B00;
}

.yd-takeout-cart-row__stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yd-takeout-cart-row__stepper button {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #E5E5EA;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}

.yd-takeout-cart-row__stepper span {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #111;
}

.yd-takeout-cart-drawer__footer {
  padding: 12px 14px;
  border-top: 1px solid #EEE;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.yd-takeout-cart-drawer__address {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yd-takeout-cart-drawer__address-label {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

.yd-takeout-cart-drawer__address-input {
  flex: 1;
  min-width: 0;
  height: 40px;
  border-radius: 12px;
  border: 1px solid #E5E5EA;
  padding: 0 12px;
  font-size: 14px;
  outline: none;
}

.yd-takeout-cart-drawer__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.yd-takeout-cart-drawer__total {
  font-size: 14px;
  color: #111;
  font-weight: 800;
  text-align: right;
  width: 100%;
}

.yd-takeout-cart-drawer__total b {
  color: #FF6B00;
  font-size: 18px;
  margin-left: 6px;
}

.yd-takeout-cart-drawer__pay {
  border: none;
  background: #FF6B00;
  color: #fff;
  height: 40px;
  padding: 0 18px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.yd-takeout-cart-drawer__pay:active {
  opacity: 0.88;
}

.yd-takeout-cart-drawer__help {
  border: 1px solid #E5E5EA;
  background: #fff;
  color: #111;
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

/* 支付弹窗（底部抽屉） */
.yd-takeout-pay{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.yd-takeout-pay[aria-hidden="false"]{
  display: block;
}
.yd-takeout-pay__mask{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yd-takeout-pay__panel{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  box-shadow: 0 -18px 50px rgba(0,0,0,0.25);
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
}
.yd-takeout-pay__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 2px 10px;
}
.yd-takeout-pay__title{
  font-size: 16px;
  font-weight: 900;
  color: #111;
}
.yd-takeout-pay__x{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.04);
  font-size: 18px;
  font-weight: 900;
}
.yd-takeout-pay__hero{
  padding: 6px 2px 2px;
  text-align: center;
}
.yd-takeout-pay__hero-desc{
  font-size: 14px;
  font-weight: 900;
  color: rgba(17,17,17,0.82);
  line-height: 1.35;
  margin-bottom: 8px;
}
.yd-takeout-pay__hero-amount{
  font-family: "DIN Alternate","DIN","Bahnschrift","Roboto Mono","Consolas",monospace;
  font-size: 28px;
  font-weight: 900;
  color: #FF6B00;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.yd-takeout-pay__method{
  margin-top: 10px;
  border: 1px solid rgba(255, 193, 7, 0.22);
  background: rgba(255, 193, 7, 0.14);
  border-radius: 14px;
  padding: 10px 12px;
}
.yd-takeout-pay__row{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.yd-takeout-pay__label{
  font-size: 13px;
  color: rgba(17,17,17,0.62);
}
.yd-takeout-pay__value{
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,17,17,0.9);
  text-align: right;
}
.yd-takeout-pay__value--amount{
  font-family: "DIN Alternate","DIN","Bahnschrift","Roboto Mono","Consolas",monospace;
  font-size: 16px;
  color: #FF6B00;
}
.yd-takeout-pay__pwd{
  margin-top: 12px;
}
.yd-takeout-pay__pwd-title{
  display:flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,17,17,0.86);
  margin: 2px 2px 10px;
}

.yd-takeout-pay__forgot{
  border: none;
  background: transparent;
  color: rgba(17,17,17,0.55);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 2px;
}
.yd-takeout-pay__forgot:active{ opacity: 0.75; }
.yd-takeout-pay__boxes{
  display:flex;
  gap: 8px;
  justify-content: space-between;
  padding: 0 2px;
}
.yd-takeout-pay__box{
  flex: 1;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
  font-weight: 900;
  position: relative;
}

.yd-takeout-pay__box.is-filled::after{
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #111;
  display: block;
}
.yd-takeout-pay__kb{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.yd-takeout-pay__key{
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.03);
  font-size: 18px;
  font-weight: 900;
}
.yd-takeout-pay__key:active{ opacity: 0.82; }
.yd-takeout-pay__key--ghost{
  font-size: 14px;
  font-weight: 800;
  background: rgba(0,0,0,0.02);
}
.yd-takeout-pay__key--danger{
  font-size: 14px;
  font-weight: 900;
  color: #b91c1c;
  background: rgba(185,28,28,0.06);
  border-color: rgba(185,28,28,0.18);
}

/* 支付中模拟：黑色方形等待框 */
.yd-takeout-pay-processing {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.16);
}

.yd-takeout-pay-processing[aria-hidden="false"] {
  display: flex;
}

.yd-takeout-pay-processing__box {
  width: 132px;
  height: 132px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.yd-takeout-pay-processing__spinner {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2.5px solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  animation: yd-takeout-pay-spin 0.9s linear infinite;
}

.yd-takeout-pay-processing__text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  padding: 0 10px;
}

@keyframes yd-takeout-pay-spin {
  to { transform: rotate(360deg); }
}

/* 订单弹窗（列表/详情复用） */
.yd-takeout-orders{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.yd-takeout-orders[aria-hidden="false"]{
  display:block;
}
.yd-takeout-orders__mask{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.yd-takeout-orders__panel{
  position:absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: calc(56px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
  display:flex;
  flex-direction: column;
}
.yd-takeout-orders__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px 10px;
  position: absolute;
  top: env(safe-area-inset-top);
  left: 14px;
  right: 14px;
}
.yd-takeout-orders__title{
  font-size: 16px;
  font-weight: 900;
  color: #111;
}
.yd-takeout-orders__x{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(0,0,0,0.04);
  font-size: 18px;
  font-weight: 900;
}
.yd-takeout-orders__list{
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display:flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 8px;
}
.yd-takeout-order-item{
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  border-radius: 14px;
  padding: 12px 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.yd-takeout-order-item__left{
  min-width: 0;
  display:flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.yd-takeout-order-item__title{
  font-size: 14px;
  font-weight: 900;
  color: rgba(17,17,17,0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}
.yd-takeout-order-item__meta{
  font-size: 12px;
  color: rgba(17,17,17,0.55);
  text-align: left;
}
.yd-takeout-order-item__amount{
  font-family: "DIN Alternate","DIN","Bahnschrift","Roboto Mono","Consolas",monospace;
  font-size: 14px;
  font-weight: 900;
  color: #FF6B00;
  flex: 0 0 auto;
}
.yd-takeout-orders__detail{
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  font-size: 13px;
  color: rgba(17,17,17,0.82);
  flex: 1;
}
.yd-takeout-orders__footer{
  flex: 0 0 auto;
  padding: 10px 2px calc(8px + env(safe-area-inset-bottom));
}
.yd-takeout-orders__share-btn{
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(212,175,55,0.28);
  background: linear-gradient(135deg, rgba(212,175,55,0.2), rgba(212,175,55,0.1));
  color: #b88f16;
  font-size: 15px;
  font-weight: 900;
}
.yd-takeout-order-detail__section{
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(0,0,0,0.02);
  border-radius: 14px;
  padding: 12px 12px;
  margin-bottom: 10px;
}
.yd-takeout-order-detail__row{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.yd-takeout-order-detail__label{ color: rgba(17,17,17,0.55); }
.yd-takeout-order-detail__value{ font-weight: 800; text-align:right; }
.yd-takeout-order-detail__items{
  margin-top: 6px;
  display:flex;
  flex-direction: column;
  gap: 8px;
}
.yd-takeout-order-detail__item{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
}
.yd-takeout-order-detail__item-name{
  min-width:0;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
}
.yd-takeout-order-detail__item-qty{
  flex: 0 0 auto;
  color: rgba(17,17,17,0.6);
  font-weight: 800;
}
.yd-takeout-order-detail__item-sub{
  flex: 0 0 auto;
  font-weight: 900;
  color: rgba(17,17,17,0.86);
}
