/* Langhui Embodied Data Market */
.lh-market{
  --lm-cyan:#2dd4bf;
  --lm-cyan-2:#5eead4;
  --lm-orange:#f97040;
  --lm-orange-2:#ff8a55;
  --lm-navy:#07111f;
  --lm-panel:#0c1c2e;
  --lm-ink:#e8eef6;
  --lm-muted:#9eb0c4;
  --lm-line:rgba(148,230,216,.18);
  color:var(--lm-ink);
}
.lh-market *{box-sizing:border-box}
.lh-market-hero{
  position:relative;overflow:hidden;border-radius:22px;padding:36px 28px 32px;margin-top:.5rem;
  background:
    radial-gradient(ellipse 55% 50% at 88% 12%, rgba(45,212,191,.2), transparent 58%),
    radial-gradient(ellipse 40% 42% at 8% 88%, rgba(249,112,64,.14), transparent 55%),
    linear-gradient(135deg,#102a43 0%,#0f766e 72%,#0b3d48 100%);
  border:1px solid rgba(184,243,233,.18);
}
.lh-market-hero .eyebrow{color:var(--lm-cyan-2);letter-spacing:.14em;font-size:12px;font-weight:800;margin:0 0 10px}
.lh-market-hero h1{margin:0 0 12px;color:#fff;font-size:clamp(1.65rem,4vw,2.45rem);line-height:1.2;letter-spacing:-.03em}
.lh-market-hero .lede{margin:0 0 20px;max-width:720px;color:rgba(238,253,251,.82);font-size:15.5px;line-height:1.7}
.lh-market-path{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lh-market-path li{
  display:flex;gap:10px;align-items:flex-start;padding:14px 14px;
  border-radius:14px;background:rgba(4,18,28,.38);border:1px solid rgba(255,255,255,.12);
}
.lh-market-path b{
  flex:0 0 auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;
  background:var(--lm-orange);color:#fff;font-size:13px;
}
.lh-market-path span{color:#eefdfb;font-size:13.5px;line-height:1.45;font-weight:650}
.lh-market-cta{display:flex;flex-wrap:wrap;gap:10px}
.lh-market-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;
  border-radius:12px;font-weight:800;font-size:14px;text-decoration:none;border:1px solid transparent;cursor:pointer;
}
.lh-market-btn--primary{background:linear-gradient(135deg,#f97040,#d5451c);color:#fff;box-shadow:0 12px 28px rgba(213,69,28,.28)}
.lh-market-btn--ghost{background:rgba(255,255,255,.08);color:#eefdfb;border-color:rgba(255,255,255,.28)}
.lh-market-btn--link{background:transparent;color:#b8f3e9;border:0;padding:0 8px;min-height:auto;font-weight:700}

.lh-market-subnav{
  position:sticky;top:72px;z-index:30;display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px;padding:10px;
  border-radius:14px;background:rgba(7,17,31,.92);border:1px solid var(--lm-line);backdrop-filter:blur(10px);
}
.lh-market-subnav a{
  display:inline-flex;align-items:center;padding:8px 14px;border-radius:999px;text-decoration:none;
  color:#c5d0de;font-size:13px;font-weight:700;border:1px solid transparent;
}
.lh-market-subnav a.is-active,.lh-market-subnav a:hover{background:#12263b;color:#fff;border-color:rgba(45,212,191,.28)}

.lh-market-summary{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 8px;padding:22px;
  border-radius:20px;background:linear-gradient(145deg,#0a1e37,#0f3d4a);border:1px solid var(--lm-line);
}
.lh-market-summary div{min-width:0}
.lh-market-summary strong{display:block;color:#fff;font-size:clamp(1.35rem,2.5vw,1.85rem);letter-spacing:-.03em;margin-bottom:4px}
.lh-market-summary span{color:var(--lm-muted);font-size:13px;line-height:1.45}
.lh-market-checks{display:flex;flex-wrap:wrap;gap:10px 18px;margin:14px 0 0;padding:0;list-style:none;grid-column:1/-1}
.lh-market-checks li{color:#c7e8e2;font-size:13px}
.lh-market-checks li::before{content:"✓ ";color:var(--lm-cyan);font-weight:800}

.lh-market-section{margin-top:1.75rem}
.lh-market-section > h2{margin:0 0 8px;color:#fff;font-size:1.35rem;display:flex;align-items:center;gap:.5rem}
.lh-market-section > p.intro{margin:0 0 16px;color:var(--lm-muted);font-size:.92rem;line-height:1.7;max-width:880px}

.lh-market-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.lh-market-filters button{
  appearance:none;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);
  color:#c5d0de;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;
}
.lh-market-filters button.is-active{background:var(--lm-cyan);color:#042f2e;border-color:transparent}

.lh-market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.lh-mcard{
  display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:18px;
  background:linear-gradient(165deg, rgba(14,40,68,.9), rgba(7,20,36,.92));
  border:1px solid var(--lm-line);min-height:100%;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.lh-mcard:hover{transform:translateY(-3px);border-color:rgba(45,212,191,.35);box-shadow:0 16px 34px rgba(0,0,0,.28)}
.lh-mcard__top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.lh-mcard__stock{font-size:11px;font-weight:800;letter-spacing:.04em;color:var(--lm-cyan-2);white-space:nowrap}
.lh-mcard h3{margin:0;font-size:1.05rem;line-height:1.35}
.lh-mcard h3 a{color:#fff;text-decoration:none}
.lh-mcard h3 a:hover{color:var(--lm-cyan-2)}
.lh-mcard__tags{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.lh-mcard__tags li{padding:4px 8px;border-radius:999px;background:rgba(45,212,191,.1);border:1px solid rgba(45,212,191,.2);color:#b8f3e9;font-size:11px;font-weight:700}
.lh-mcard__blurb{margin:0;color:var(--lm-muted);font-size:13.5px;line-height:1.65;flex:1}
.lh-mcard__deliver{margin:0;color:#8fd9ce;font-size:12.5px}
.lh-mcard__buy{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:auto;padding-top:4px}
.lh-qty{
  display:inline-flex;align-items:center;gap:0;border:1px solid rgba(255,255,255,.16);border-radius:999px;overflow:hidden;background:rgba(0,0,0,.22);
}
.lh-qty button{
  width:34px;height:34px;border:0;background:transparent;color:#fff;font-size:16px;font-weight:800;cursor:pointer;
}
.lh-qty input{
  width:64px;height:34px;border:0;border-left:1px solid rgba(255,255,255,.12);border-right:1px solid rgba(255,255,255,.12);
  background:transparent;color:#fff;text-align:center;font:inherit;font-weight:700;font-size:13px;
}
.lh-qty .unit{padding:0 10px 0 0;color:var(--lm-muted);font-size:12px;font-weight:700}
.lh-add{
  appearance:none;border:0;border-radius:999px;padding:0 16px;min-height:36px;
  background:linear-gradient(135deg,#f97040,#d5451c);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer;
}
.lh-add:hover{filter:brightness(1.05)}
.lh-mcard__links{display:flex;gap:10px;flex-wrap:wrap}
.lh-mcard__links a{color:#67e8f9;font-size:12.5px;font-weight:700;text-decoration:none}

.lh-checkout{
  margin-top:22px;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr);gap:16px;
  padding:20px;border-radius:20px;border:1px solid var(--lm-line);
  background:linear-gradient(165deg, rgba(10,30,52,.95), rgba(6,18,30,.96));
}
.lh-checkout.is-idle .lh-checkout-idle{display:block}
.lh-checkout:not(.is-idle) .lh-checkout-idle{display:none}
.lh-checkout-idle{margin:8px 0 0;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);color:var(--lm-muted);font-size:13.5px;line-height:1.55}
.lh-checkout h3{margin:0 0 8px;color:#fff;font-size:1.15rem}
.lh-checkout .hint{margin:0 0 14px;color:var(--lm-muted);font-size:13.5px;line-height:1.6}
.lh-orderlines{display:grid;gap:8px;margin:0 0 12px}
.lh-orderline{
  display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border-radius:12px;
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);font-size:13.5px;
}
.lh-orderline b{color:#fff;font-weight:700}
.lh-orderline span{color:var(--lm-muted);white-space:nowrap}
.lh-ordertotal{margin:0 0 14px;color:var(--lm-cyan-2);font-weight:800;font-size:14px}
.lh-annot{margin:0 0 14px;padding:12px;border-radius:12px;border:1px solid rgba(255,255,255,.1)}
.lh-annot legend{padding:0 6px;color:var(--lm-orange-2);font-size:12px;font-weight:800;letter-spacing:.06em}
.lh-annot label{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;color:#d5e2ee;font-size:13.5px;cursor:pointer}
.lh-clear{
  appearance:none;border:1px solid rgba(255,255,255,.18);background:transparent;color:#c5d0de;
  border-radius:10px;padding:8px 12px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;width:100%;
}
.lh-form{display:grid;gap:12px;align-content:start}
.lh-form-label{display:flex;align-items:center;gap:8px;color:var(--lm-cyan-2);font-size:13px;font-weight:800;letter-spacing:.04em}
.lh-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lh-field{display:grid;gap:6px}
.lh-field-full{grid-column:1/-1}
.lh-field span,.lh-field label{color:#b7c6d8;font-size:12.5px;font-weight:700}
.lh-field b{color:var(--lm-orange)}
.lh-field input,.lh-field select,.lh-field textarea{
  width:100%;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(0,0,0,.28);
  color:#fff;padding:11px 12px;font:inherit;font-size:14px;
}
.lh-field textarea{min-height:88px;resize:vertical}
.lh-field input:focus,.lh-field select:focus,.lh-field textarea:focus{outline:2px solid rgba(45,212,191,.35);border-color:rgba(45,212,191,.45)}
.lh-consent{display:flex;gap:10px;align-items:flex-start;color:#9eb0c4;font-size:12.5px;line-height:1.55}
.lh-consent a{color:#67e8f9}
.lh-form-msg{display:none;padding:12px 14px;border-radius:12px;font-size:13.5px;line-height:1.55}
.lh-form-msg.is-ok{display:block;background:rgba(45,212,191,.12);border:1px solid rgba(45,212,191,.3);color:#b8f3e9}
.lh-form-msg.is-err{display:block;background:rgba(249,112,64,.12);border:1px solid rgba(249,112,64,.35);color:#ffd0bf}
.lh-honey{position:absolute;left:-9999px;opacity:0;height:0;width:0;overflow:hidden}

.lh-sticky{
  position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:60;
  display:none;align-items:center;justify-content:space-between;gap:16px;
  width:min(920px, calc(100% - 24px));padding:12px 14px 12px 18px;border-radius:999px;
  background:rgba(7,17,31,.94);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(12px);
  box-shadow:0 18px 40px rgba(0,0,0,.4);color:#fff;
}
.lh-sticky.is-on{display:flex}
.lh-sticky strong{font-size:14px}
.lh-sticky span{display:block;color:#9eb0c4;font-size:12px;margin-top:2px}
.lh-sticky-actions{display:flex;gap:8px;align-items:center}
.lh-sticky-ghost{
  border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;font-size:12.5px;font-weight:700;
  border-radius:999px;padding:8px 14px;cursor:pointer;
}
.lh-sticky-primary{
  display:inline-flex;align-items:center;background:linear-gradient(135deg,#f97040,#d5451c);color:#fff;
  font-size:13px;font-weight:800;border-radius:999px;padding:9px 16px;text-decoration:none;border:0;cursor:pointer;
}

.lh-drawer{
  position:fixed;inset:0;z-index:70;display:none;align-items:flex-end;justify-content:flex-end;
  background:rgba(2,8,18,.55);
}
.lh-drawer.is-open{display:flex}
.lh-drawer__panel{
  width:min(420px,100%);max-height:88vh;overflow:auto;margin:0;padding:18px;
  background:#0b1726;border-left:1px solid rgba(255,255,255,.12);border-radius:18px 0 0 0;color:#fff;
}
.lh-drawer__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.lh-drawer__head h3{margin:0;font-size:1.1rem}
.lh-drawer__close{appearance:none;border:0;background:transparent;color:#c5d0de;font-size:22px;cursor:pointer;line-height:1}

.lh-custom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.lh-custom-card{
  padding:16px;border-radius:16px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);
}
.lh-custom-card b{display:block;color:#fff;margin-bottom:6px;font-size:15px}
.lh-custom-card p{margin:0;color:var(--lm-muted);font-size:13.5px;line-height:1.6}

@media(max-width:980px){
  .lh-market-path,.lh-market-summary,.lh-market-grid,.lh-checkout,.lh-custom-grid{grid-template-columns:1fr 1fr}
  .lh-market-summary{grid-template-columns:1fr 1fr}
  .lh-sticky{border-radius:18px;flex-direction:column;align-items:stretch;bottom:12px}
  .lh-sticky-actions{justify-content:stretch}
  .lh-sticky-actions > *{flex:1;text-align:center;justify-content:center}
}
@media(max-width:640px){
  .lh-market-path,.lh-market-summary,.lh-market-grid,.lh-checkout,.lh-fields,.lh-custom-grid{grid-template-columns:1fr}
  .lh-market-hero{padding:26px 18px}
  .lh-market-subnav{top:58px}
  .lh-mcard__buy{flex-direction:column;align-items:stretch}
  .lh-add{width:100%}
  .lh-qty{justify-content:space-between}
}
