/* club-site data modals — 1.html theme + doumi gallery dialog */
.is-hidden { display: none !important; }
body.is-modal-open { overflow: hidden; }

/* ---------- subcat: search first, then image ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(40, 20, 30, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  width: min(720px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  border-radius: 24px;
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8EE 100%);
  box-shadow:
    0 2px 6px rgba(180, 120, 60, 0.10),
    0 12px 32px rgba(180, 120, 60, 0.14),
    0 28px 52px rgba(160, 100, 40, 0.10);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #FFF0B8;
  color: #D49932;
  border: 1.5px solid #F0D78C;
  box-shadow: 0 2px 0 #E8C56A;
  font-size: 18px;
  font-weight: 800;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.subcat-modal { width: min(560px, 100%); padding-bottom: 18px; }
.subcat-head { padding: 24px 22px 8px; text-align: center; }
.subcat-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.subcat-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 800;
}
.subcat-sub {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}
.subcat-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--soft);
  box-shadow: var(--shadow-sm);
}
.subcat-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.subcat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px 6px;
}
.subcat-chip {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--soft));
  background: var(--card);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.subcat-chip:hover,
.subcat-chip:focus-visible {
  background: #FFF0B8;
  color: #D49932;
  border-color: #F0D78C;
  outline: none;
}
.subcat-empty {
  text-align: center;
  color: var(--muted);
  padding: 12px 22px 8px;
  font-size: 13px;
}

/* ---------- doumi-style gallery dialog (site theme) ---------- */
dialog.gw-dialog {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  color: var(--ink);
  max-width: none;
  max-height: none;
  width: min(100% - 20px, 900px);
  max-height: calc(100dvh - 20px);
  border-radius: 24px;
  overflow: hidden;
  position: fixed;
  inset: 0;
  transform-origin: 50% 48%;
}
dialog.gw-dialog::backdrop {
  background: rgba(36, 26, 31, 0.68);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
dialog.gw-dialog[open] {
  animation: gw-dialog-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}
dialog.gw-dialog.is-closing {
  animation: gw-dialog-out 0.2s ease both;
}
@keyframes gw-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.94); }
  to { opacity: 1; transform: none; }
}
@keyframes gw-dialog-out {
  to { opacity: 0; transform: translateY(12px) scale(0.96); }
}
.gw-dialog-shell {
  display: grid;
  grid-template-rows: auto auto auto;
  max-height: calc(100dvh - 20px);
  background: linear-gradient(180deg, #FFFDF9 0%, #FFF8EE 100%);
  border-radius: 24px;
  overflow: hidden;
}
.sheet-handle { display: none; }
.gw-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--soft) 70%, transparent);
}
.gw-dialog-head .eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left !important;
}
.gw-dialog-head h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  text-align: left !important;
}
.icon-button {
  width: 40px;
  height: 40px;
  border: 1.5px solid #F0D78C;
  border-radius: 14px;
  background: #FFF0B8;
  color: #D49932;
  box-shadow: 0 2px 0 #E8C56A;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.icon-button:hover {
  background: #FFE99A;
  color: #C8810C;
}
.gw-dialog-stage {
  overflow: auto;
  padding: 10px;
  background: linear-gradient(145deg, #FFF0E2, #F7E8D8);
  text-align: center;
  min-height: 0;
  max-height: min(62dvh, 640px);
  overscroll-behavior: contain;
  touch-action: pan-x pan-y;
}
/* 加载中 / 空状态：在舞台内水平垂直居中 */
.gw-dialog-stage:has(.img-loading:not(.is-hidden)),
.gw-dialog-stage:has(.modal-detail-empty:not(.is-hidden)) {
  min-height: min(42dvh, 360px);
  display: grid;
  place-items: center;
  align-content: center;
}
.gw-dialog-canvas {
  width: min(100%, 620px);
  margin: 0 auto;
  transition: width 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 0;
}
.gw-dialog-stage img {
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(180, 120, 60, 0.18);
  transition: opacity 0.16s ease, transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
  vertical-align: top;
}
.gw-dialog-stage img.is-hidden { display: none !important; }
.gw-dialog-stage img.is-leaving {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}
.gw-dialog-stage img.is-entering {
  animation: gw-image-enter 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes gw-image-enter {
  from { opacity: 0; transform: translateY(-8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.gw-dialog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  border-top: 1px solid color-mix(in srgb, var(--soft) 70%, transparent);
  background: #FFFCF8;
}
.page-options {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}
.page-options[hidden] { display: none !important; }
.page-option {
  min-height: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--soft));
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.page-option[aria-selected="true"] {
  background: #FFF0B8;
  border-color: #F0D78C;
  color: #C8810C;
  box-shadow: 0 2px 0 #E8C56A;
}
.zoom-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zoom-controls button,
.gw-dialog-foot .button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid #F0D78C;
  background: #FFF0B8;
  color: #D49932;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 2px 0 #E8C56A;
  cursor: pointer;
}
.zoom-controls button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
#zoom-status {
  min-width: 46px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.pinch-hint {
  display: none;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.img-loading,
.modal-detail-empty {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  width: 100%;
  min-height: min(36dvh, 300px);
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  line-height: 1.5;
  box-sizing: border-box;
}
.img-loading.is-hidden,
.modal-detail-empty.is-hidden {
  display: none !important;
}
.img-loading-spin {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--soft);
  border-top-color: var(--accent);
  animation: gw-spin 0.8s linear infinite;
  flex: 0 0 auto;
}
@keyframes gw-spin { to { transform: rotate(360deg); } }

/* ---------- banners: rainjay new-corner + site theme ---------- */
.banner-media {
  position: relative;
  flex: 1 1 auto;
  min-height: 160px;
  max-height: none;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 0 12px;
  background:
    linear-gradient(145deg, #FFE8D0 0%, #FFD6A8 55%, #F5C49A 100%);
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: linear-gradient(145deg, #FFE8D0, #FFD6A8);
}
.banner-card { cursor: pointer; position: relative; }
.menu-card { cursor: pointer; }

.new-corner {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 5;
  height: 30px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 228, 200, 0.78));
  color: #E8954A;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(180, 120, 60, 0.16);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  pointer-events: none;
}
.new-corner svg {
  width: 12px;
  height: 12px;
  fill: rgba(255, 255, 255, 0.55);
  stroke: currentColor;
  stroke-width: 1.7;
  flex: 0 0 auto;
}
.new-corner::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -35%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
  transform: skewX(-18deg);
  animation: new-corner-shine 3.1s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes new-corner-shine {
  0%, 58% { transform: translateX(-220%) skewX(-18deg); }
  82%, 100% { transform: translateX(720%) skewX(-18deg); }
}
@media (prefers-reduced-motion: reduce) {
  .new-corner::after { animation: none; }
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.toast { pointer-events: none; }

/* 首页主按钮：直接套用后台 button.btn-start（缩小版） */
.hero-ctas .btn-primary.btn-juice,
.btn-primary.btn-juice,
body[data-theme] .btn-primary.btn-juice,
body[data-theme="pink"] .btn-primary.btn-juice {
  width: auto !important;
  min-width: 128px !important;
  height: 40px !important;
  min-height: 40px !important;
  border: none !important;
  border-radius: 20px !important;
  background: linear-gradient(135deg, #ffc878, #f7a94f) !important;
  background-image: linear-gradient(135deg, #ffc878, #f7a94f) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  cursor: pointer !important;
  margin-top: 0 !important;
  padding: 0 16px !important;
  box-shadow: 0 6px 14px #f7a94f66 !important;
  transition: transform .15s, opacity .15s !important;
  text-shadow: none;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.hero-ctas .btn-primary.btn-juice:hover,
.hero-ctas .btn-primary.btn-juice:focus-visible,
.btn-primary.btn-juice:hover,
.btn-primary.btn-juice:focus-visible,
body[data-theme] .btn-primary.btn-juice:hover {
  color: #fff !important;
  background: linear-gradient(135deg, #ffc878, #f7a94f) !important;
  background-image: linear-gradient(135deg, #ffc878, #f7a94f) !important;
  opacity: .92 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px #f7a94f73 !important;
  outline: none;
}
.hero-ctas .btn-primary.btn-juice:active,
.btn-primary.btn-juice:active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  box-shadow: 0 8px 18px #f7a94f73 !important;
}
.hero-ctas .btn-primary.btn-juice:disabled,
.btn-primary.btn-juice:disabled {
  opacity: .6 !important;
  cursor: not-allowed !important;
}
/* 首页双按钮等高：缩小版 */
.hero-ctas .btn-primary.btn-juice,
.hero-ctas .btn-primary.btn-wechat,
.hero-ctas a.btn-primary,
.hero-ctas button.btn-primary {
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}
.hero-ctas .btn-primary.btn-wechat,
body[data-theme] .hero-ctas .btn-primary.btn-wechat,
body[data-theme="pink"] .hero-ctas .btn-primary.btn-wechat {
  height: 40px !important;
  min-height: 40px !important;
  border-radius: 20px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  color: #fff !important;
  background: #07C160 !important;
  background-image: none !important;
  border: none !important;
  box-shadow: 0 6px 14px rgba(7, 193, 96, 0.24) !important;
  text-decoration: none;
  min-width: 128px !important;
}
@media (max-width: 768px) {
  .hero-ctas .btn-primary.btn-juice,
  .hero-ctas .btn-primary.btn-wechat,
  .hero-ctas a.btn-primary,
  .hero-ctas button.btn-primary,
  body[data-theme] .hero-ctas .btn-primary.btn-juice,
  body[data-theme] .hero-ctas .btn-primary.btn-wechat {
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    border-radius: 18px !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    width: 100% !important;
  }
}

/* 页脚：仅 © 品牌名，水平居中 */
.footer,
.footer .wrap,
.footer .footer-inner,
.footer .meta {
  text-align: center !important;
}
.footer .footer-inner {
  display: block !important;
  width: 100%;
}
.footer .meta {
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
}

/* 手机端：隐藏底部条；活动横幅一排两个；下单流程 2 列 */
@media (max-width: 768px) {
  .bottom-bar,
  .bottom-bar .bar-meta {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
  .banners-row {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .banners-row > article,
  .banners-row > .card-soft,
  .banner-card {
    width: 100% !important;
    max-width: none !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .banner-media {
    min-height: 160px !important;
    aspect-ratio: 16 / 9;
  }
  .banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .banner-foot {
    align-items: center !important;
    gap: 10px !important;
  }
  .banner-text h3 {
    font-size: 16px !important;
  }
  .banner-text p {
    font-size: 12px !important;
  }
  .banner-card {
    padding: 12px !important;
  }
  #order .order-steps {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  #order .order-step {
    min-width: 0;
    padding: 12px;
  }
  #order .order-step .step-text h3 {
    font-size: 14px;
  }
  #order .order-step .step-text p {
    font-size: 12px;
  }
}

@media (max-width: 699px) {
  /* 手机弹窗：与电脑一致居中显示，不再底部抽屉上滑 */
  dialog.gw-dialog {
    inset: 0;
    margin: auto;
    width: min(100% - 24px, 900px);
    max-width: calc(100% - 24px);
    max-height: calc(100dvh - 32px);
    border-radius: 24px;
  }
  dialog.gw-dialog[open] {
    animation: gw-dialog-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  dialog.gw-dialog.is-closing {
    animation: gw-dialog-out 0.2s ease both;
  }
  .gw-dialog-shell {
    max-height: calc(100dvh - 32px);
    border-radius: 24px;
    grid-template-rows: auto auto auto;
  }
  .sheet-handle { display: none; }
  .gw-dialog-head { padding: 14px 16px 12px; }
  .gw-dialog-head .icon-button { display: grid; }
  .gw-dialog-stage {
    padding: 8px;
    background: #F4E8D8;
    min-height: 0;
    max-height: min(58dvh, 560px);
  }
  .gw-dialog-stage:has(.img-loading:not(.is-hidden)),
  .gw-dialog-stage:has(.modal-detail-empty:not(.is-hidden)) {
    min-height: min(40dvh, 320px);
  }
  .img-loading,
  .modal-detail-empty {
    min-height: min(34dvh, 280px);
  }
  .gw-dialog-canvas { transition: none; width: 100%; }
  .gw-dialog-stage img { border-radius: 14px; }
  .gw-dialog-foot {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 12px;
  }
  .zoom-controls { display: none; }
  .pinch-hint { display: block; }
  .page-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .page-option {
    min-height: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 4px;
    white-space: normal;
    line-height: 1.15;
  }
  .modal-overlay { padding: 12px; }
  .modal {
    width: min(100%, 560px);
    max-height: min(88dvh, 820px);
    border-radius: 22px;
  }
}

/* 商品卡片封面：与活动横幅一致的圆角 */
.menu-cover {
  border-radius: 16px !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.menu-cover .art::before,
body[data-theme] .menu-cover .art::before {
  display: none !important;
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}
.menu-cover .art,
.menu-cover .art.has-image,
.menu-cover .art img {
  border-radius: 16px !important;
  overflow: hidden !important;
}
.menu-cover .art.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px !important;
  display: block;
}
.card-grad-border.menu-card > .inner {
  border-radius: 20px !important;
}
/* 横幅媒体圆角统一 16px（与封面一致） */
.banner-media {
  border-radius: 16px !important;
  overflow: hidden !important;
}
.banner-media img {
  border-radius: 16px !important;
}

/* Hero 主视觉：淡线框 + 与封面一致的圆角 */
.mascot.has-hero .mascot-hero,
.hero-card .mascot.has-hero .mascot-hero,
.mascot-hero {
  border: 1.5px solid #E8C9A8 !important;
  border-radius: 16px !important;
  outline: 1px solid rgba(255, 255, 255, 0.75) !important;
  outline-offset: -2px !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 28px rgba(180, 120, 60, 0.14) !important;
  background: #FFFCF8 !important;
  overflow: hidden !important;
  clip-path: inset(0 round 16px) !important;
}
.mascot.has-hero {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
@media (max-width: 768px) {
  .mascot.has-hero .mascot-hero,
  .hero-card .mascot.has-hero .mascot-hero,
  .mascot-hero,
  .mascot.has-hero {
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;
  }
}

@media (max-width: 768px) {
  .menu-cover,
  .menu-cover .art,
  .menu-cover .art img,
  .banner-media,
  .banner-media img {
    border-radius: 14px !important;
  }
}
.hero-card {
  display: grid;
  gap: 10px;
  align-items: center;
}
.hero-card .hero-copy {
  min-width: 0;
}
.hero-card .hero-ctas {
  margin-top: 0 !important;
  gap: 8px !important;
}
.hero-card .mascot {
  margin-bottom: 0;
}
/* 桌面：左文案+按钮，右主视觉 */
@media (min-width: 961px) {
  .hero-card:has(.mascot) {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "copy mascot"
      "ctas mascot";
    align-items: center;
  }
  .hero-card .hero-copy { grid-area: copy; }
  .hero-card .mascot { grid-area: mascot; align-self: stretch; margin-bottom: 0; }
  .hero-card .hero-ctas {
    grid-area: ctas;
    align-self: start;
    margin-top: -6px !important;
  }
  .hero-badges {
    margin-bottom: 8px !important;
  }
  .hero-card .hero-copy .hero-badges {
    margin-bottom: 8px !important;
  }
}
/* 手机：文案 → 主视觉 → 双按钮 */
@media (max-width: 960px) {
  .hero-card:has(.mascot) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "mascot"
      "ctas";
    gap: 14px;
  }
  .hero-card .hero-copy { grid-area: copy; }
  .hero-card .mascot { grid-area: mascot; margin-bottom: 0; }
  .hero-card .hero-ctas {
    grid-area: ctas;
    margin-top: 0 !important;
  }
}

/* 后台入口卡片边框：主题橙 */
#order .order-backend {
  border: 2px solid #E8954A !important;
  box-shadow: 0 8px 22px rgba(232, 149, 74, 0.18) !important;
}
#order .order-backend strong {
  color: var(--ink);
}

/* 标题 / 副标题颜色对调：标题用副标题色，副标题用标题浅色 */
.section-title,
.hero h1,
.hero-card h1,
.banner-text h3,
.menu-body h3,
#order .section-title,
#order .order-step .step-text h3,
#order .order-backend strong,
.gw-dialog-head h2,
.subcat-title,
.footer .brand {
  color: var(--muted) !important;
  font-weight: 800;
}
.section-desc,
.hero-lead,
.banner-text p,
.menu-body p,
#order .section-title + .section-desc,
#order .order-step .step-text p,
.subcat-sub,
.menu-body p {
  color: #D6BC94 !important;
}
.hero h1 .brand,
.hero-card h1 .brand {
  color: var(--accent) !important;
}
/* 顶栏 Logo 文字：与标题同色（品牌 em 仍为主题橙） */
.logo .logo-wx .id,
.logo .logo-wx,
.logo span {
  color: var(--muted) !important;
}
.logo .logo-wx .id em,
.logo span em {
  color: var(--accent) !important;
}
.logo .logo-wx small {
  color: var(--muted) !important;
}

/* 手机侧边栏文字：与活动横幅标题同色 */
.mobile-drawer .sheet-head strong,
.mobile-drawer .sheet a,
.mobile-drawer .sheet a:visited {
  color: var(--muted) !important;
}
.mobile-drawer .drawer-close {
  color: var(--muted) !important;
}

/* 手机端顶栏更矮 */
@media (max-width: 768px) {
  .nav-inner {
    padding: 6px 0 !important;
    gap: 6px !important;
  }
  .nav .wrap {
    width: calc(100% - 16px) !important;
  }
  .logo-mark {
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
  }
  .logo-wx .id {
    font-size: 14px !important;
  }
  .logo-wx small {
    font-size: 8px !important;
  }
  .nav-burger {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    gap: 4px !important;
  }
  .nav-burger span {
    width: 16px !important;
    height: 2px !important;
  }
}
@media (max-width: 960px) {
  .hero-card .mascot,
  .hero-card .mascot.has-hero {
    overflow: visible !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    max-height: none !important;
    display: block !important;
  }
  .hero-card .mascot-hero,
  .hero-card .mascot.has-hero .mascot-hero {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    border-radius: 18px !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
  }
}

/* 手机端 Hero 布局优化：双按钮并排、间距收紧、主图更大 */
@media (max-width: 768px) {
  .hero { padding: 12px 0 8px !important; }
  .hero-card {
    padding: 16px 14px 14px !important;
    gap: 10px !important;
    border-radius: 22px !important;
  }
  .hero-badge {
    font-size: 11px !important;
    padding: 5px 10px !important;
    margin-bottom: 8px !important;
  }
  .hero h1 {
    font-size: clamp(24px, 7vw, 30px) !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
  }
  .hero-lead {
    font-size: 12.5px !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
  }
  .hero-badges {
    gap: 6px !important;
    margin-bottom: 12px !important;
  }
  .hero-badges .pill {
    font-size: 11px !important;
    padding: 5px 9px !important;
    border-radius: 10px !important;
  }
  .hero-ctas {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-top: 4px !important;
    width: 100% !important;
  }
  .hero-ctas .btn-primary.btn-juice,
  .hero-ctas .btn-primary.btn-wechat,
  .hero-ctas a.btn-primary,
  .hero-ctas button.btn-primary,
  body[data-theme] .hero-ctas .btn-primary.btn-juice,
  body[data-theme] .hero-ctas .btn-primary.btn-wechat {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    padding: 0 4px !important;
    border-radius: 18px !important;
  }
  .mascot.has-hero {
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin-top: 2px;
    overflow: visible !important;
  }
  .mascot.has-hero .mascot-hero {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
    border-radius: 18px !important;
  }
}
@media (max-width: 380px) {
  .hero-ctas {
    grid-template-columns: 1fr !important;
  }
  .hero-ctas .btn-primary.btn-juice,
  .hero-ctas .btn-primary.btn-wechat {
    height: 38px !important;
    min-height: 38px !important;
    font-size: 13px !important;
  }
}
