#ddhy-mall-root {
  --mall-brand: #0b966b;
  --mall-brand-dark: #087553;
  --mall-soft: #eaf8f2;
  --mall-ink: #10241d;
  --mall-muted: #72817b;
  --mall-line: #e4ebe8;
  position: fixed;
  inset: 0;
  z-index: 90;
  overflow-y: auto;
  background: #f4f7f6;
  color: var(--mall-ink);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
#ddhy-mall-root * { box-sizing: border-box; }
#ddhy-mall-root button,
#ddhy-mall-root input,
#ddhy-mall-root select,
#ddhy-mall-root textarea { font: inherit; }
.ddhy-mall-shell { width: min(100%, 980px); min-height: 100%; margin: 0 auto; background: #f4f7f6; padding-bottom: 78px; }
.ddhy-mall-head { position: sticky; top: 0; z-index: 6; padding: 14px 16px 12px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--mall-line); backdrop-filter: blur(12px); }
.ddhy-mall-head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ddhy-mall-title { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ddhy-mall-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 14px; background: linear-gradient(135deg,#087a59,#1cbb84); color: #fff; font-size: 20px; font-weight: 850; box-shadow: 0 8px 18px rgba(11,150,107,.2); }
.ddhy-mall-title b,.ddhy-mall-title small { display: block; }
.ddhy-mall-title b { font-size: 18px; }
.ddhy-mall-title small { color: var(--mall-muted); font-size: 12px; margin-top: 1px; }
.ddhy-mall-cart-link { position: relative; min-width: 46px; height: 42px; display: grid; place-items: center; border: 1px solid var(--mall-line); border-radius: 13px; background: #fff; color: var(--mall-ink); cursor: pointer; }
.ddhy-mall-cart-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11px; font-style: normal; }
.ddhy-mall-search { display: flex; gap: 9px; margin-top: 12px; }
.ddhy-mall-search input { flex: 1; min-width: 0; height: 43px; border: 1px solid var(--mall-line); border-radius: 13px; padding: 0 13px; background: #f7f9f8; outline: none; }
.ddhy-mall-search input:focus { border-color: #66c8a6; box-shadow: 0 0 0 3px rgba(11,150,107,.1); }
.ddhy-mall-button { min-height: 42px; border: 1px solid var(--mall-line); border-radius: 12px; padding: 9px 14px; background: #fff; color: var(--mall-ink); cursor: pointer; }
.ddhy-mall-button .ddhy-icon { width: 17px; height: 17px; vertical-align: -3px; margin-right: 5px; }
.ddhy-mall-button.primary { border-color: var(--mall-brand); background: var(--mall-brand); color: #fff; font-weight: 700; }
.ddhy-mall-button.soft { border-color: #cde9df; background: var(--mall-soft); color: var(--mall-brand-dark); font-weight: 650; }
.ddhy-mall-button.block { width: 100%; }
.ddhy-mall-main { padding: 15px 14px 24px; }
.ddhy-mall-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 22px 20px; color: #fff; background: linear-gradient(135deg,#087457,#16ae7b); box-shadow: 0 15px 34px rgba(10,120,86,.16); }
.ddhy-mall-hero::after { content: ""; position: absolute; width: 190px; height: 190px; right: -75px; top: -95px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ddhy-mall-hero h1 { position: relative; z-index: 1; margin: 0; font-size: 25px; line-height: 1.25; }
.ddhy-mall-hero p { position: relative; z-index: 1; margin: 8px 0 0; color: rgba(255,255,255,.84); }
.ddhy-mall-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 2px 12px; }
.ddhy-mall-section-head h2 { margin: 0; font-size: 19px; }
.ddhy-mall-section-head span { color: var(--mall-muted); font-size: 12px; }
.ddhy-mall-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.ddhy-mall-card { overflow: hidden; border: 1px solid var(--mall-line); border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(20,45,35,.045); cursor: pointer; }
.ddhy-mall-cover { aspect-ratio: 1.12/1; display: grid; place-items: center; overflow: hidden; background: #edf2f0; color: #9aa9a3; }
.ddhy-mall-cover img { width: 100%; height: 100%; object-fit: cover; }
.ddhy-mall-card-body { padding: 11px; }
.ddhy-mall-card-title { min-height: 42px; font-size: 14px; font-weight: 720; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ddhy-mall-price { margin-top: 8px; color: #e0473f; font-size: 17px; font-weight: 820; }
.ddhy-mall-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--mall-muted); font-size: 11px; }
.ddhy-mall-card-action { width: 100%; margin-top: 10px; min-height: 36px; border: 0; border-radius: 10px; background: var(--mall-soft); color: var(--mall-brand-dark); font-weight: 700; cursor: pointer; }
.ddhy-mall-panel { padding: 16px; border: 1px solid var(--mall-line); border-radius: 18px; background: #fff; box-shadow: 0 7px 22px rgba(20,45,35,.045); }
.ddhy-mall-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--mall-brand-dark); padding: 3px 0; cursor: pointer; }
.ddhy-mall-back .ddhy-icon { width: 17px; height: 17px; }
.ddhy-mall-detail-image { width: 100%; max-height: 430px; object-fit: cover; border-radius: 18px; background: #edf2f0; }
.ddhy-mall-detail h1 { margin: 16px 0 8px; font-size: 23px; line-height: 1.35; }
.ddhy-mall-detail-copy { white-space: pre-wrap; color: #3c4b46; line-height: 1.8; }
.ddhy-mall-detail-actions { position: sticky; bottom: 66px; display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px; margin-top: 18px; padding: 10px; border: 1px solid var(--mall-line); border-radius: 16px; background: rgba(255,255,255,.96); box-shadow: 0 10px 30px rgba(20,45,35,.12); }
.ddhy-cart-item { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--mall-line); }
.ddhy-cart-item:last-child { border-bottom: 0; }
.ddhy-cart-thumb { width: 78px; height: 78px; border-radius: 13px; object-fit: cover; background: #edf2f0; }
.ddhy-cart-copy b { display: block; line-height: 1.45; }
.ddhy-cart-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ddhy-cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--mall-line); border-radius: 10px; overflow: hidden; }
.ddhy-cart-qty button { width: 32px; height: 31px; border: 0; background: #f7f9f8; cursor: pointer; }
.ddhy-cart-qty button .ddhy-icon { width: 14px; height: 14px; vertical-align: middle; }
.ddhy-cart-qty span { min-width: 34px; text-align: center; }
.ddhy-cart-remove { border: 0; background: transparent; color: #d94a42; cursor: pointer; }
.ddhy-mall-empty { padding: 58px 20px; text-align: center; color: var(--mall-muted); }
.ddhy-mall-empty b { display: block; color: var(--mall-ink); font-size: 18px; margin-bottom: 7px; }
.ddhy-mall-loading { padding: 70px 20px; text-align: center; color: var(--mall-muted); }
.ddhy-mall-nav { position: fixed; left: 50%; bottom: 0; z-index: 8; width: min(100%,980px); height: 66px; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--mall-line); background: rgba(255,255,255,.98); box-shadow: 0 -8px 24px rgba(20,45,35,.06); }
.ddhy-mall-nav button { border: 0; background: transparent; color: #82908b; font-size: 12px; cursor: pointer; }
.ddhy-mall-nav button b { display: block; height: 22px; margin: 0 auto 2px; line-height: 1; }
.ddhy-mall-nav button .ddhy-icon { width: 21px; height: 21px; }
.ddhy-mall-nav button.active { color: var(--mall-brand); font-weight: 700; }
.ddhy-mall-success { padding: 58px 20px; text-align: center; }
.ddhy-mall-success-mark { width: 66px; height: 66px; display: grid; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--mall-soft); color: var(--mall-brand); }
.ddhy-mall-success-mark .ddhy-icon { width: 34px; height: 34px; stroke-width: 1.9; }
@media (min-width: 720px) {
  .ddhy-mall-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .ddhy-mall-main { padding-left: 20px; padding-right: 20px; }
}
