:root {
  --orange: #ff5a1f;
  --orange-dark: #e9440b;
  --orange-soft: #fff2eb;
  --ink: #1e2329;
  --muted: #6f7682;
  --line: #e8e9ec;
  --surface: #f6f7f9;
  --white: #fff;
  --green: #0da56f;
  --blue: #356dff;
  --shadow: 0 14px 40px rgba(33, 37, 41, .08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "PingFang SC", "Microsoft YaHei", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

.topbar { height: 34px; color: #6c7078; background: #f6f6f7; font-size: 12px; }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.text-button { padding: 0; border: 0; background: transparent; font-size: 12px; }
.text-button:hover, .accent-text { color: var(--orange); }
.top-divider { width: 1px; height: 12px; background: #d9dadd; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(0,0,0,.06); backdrop-filter: blur(12px); }
.header-main { height: 92px; display: grid; grid-template-columns: 220px minmax(380px, 1fr) 230px; gap: 28px; align-items: center; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: transparent; text-align: left; }
.brand-mark {
  width: 47px; height: 47px; border-radius: 14px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(145deg, #ff7a2f, #f0450e); font-size: 25px; font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 90, 31, .25);
}
.brand strong { display: block; font-size: 25px; line-height: 1.05; letter-spacing: 1px; }
.brand small { color: #8a8e96; font-size: 11px; letter-spacing: 1px; }

.search-box {
  position: relative; height: 48px; display: grid; grid-template-columns: 82px 1fr 84px;
  border: 2px solid var(--orange); border-radius: 12px; overflow: visible; background: #fff;
}
.search-type { position: relative; border-right: 1px solid #f0d4c9; }
.search-type select { width: 100%; height: 100%; padding: 0 13px; border: 0; outline: 0; background: transparent; appearance: none; }
.search-type::after { content: "⌄"; position: absolute; right: 10px; top: 12px; color: #888; pointer-events: none; }
.search-box input { min-width: 0; padding: 0 16px; border: 0; outline: 0; font-size: 14px; }
.search-submit { margin: -1px; border: 0; border-radius: 0 10px 10px 0; color: #fff; background: var(--orange); font-weight: 700; }
.search-submit:hover { background: var(--orange-dark); }
.search-suggestions {
  display: none; position: absolute; z-index: 80; left: 80px; right: 82px; top: 50px;
  padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow);
}
.search-suggestions.show { display: block; }
.search-suggestions button { width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; }
.search-suggestions button:hover { color: var(--orange); background: var(--orange-soft); }

.header-actions { display: flex; justify-content: flex-end; gap: 8px; }
.header-action { position: relative; min-width: 96px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 13px; }
.header-action:hover { color: var(--orange); border-color: #ffc3ab; }
.action-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--orange); background: var(--orange-soft); font-weight: 800; }
.cart-action b { position: absolute; right: -5px; top: -8px; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 10px; color: #fff; background: var(--orange); font-size: 11px; line-height: 16px; }

.main-nav { border-top: 1px solid #f1f1f2; }
.nav-inner { height: 47px; display: flex; align-items: center; gap: 30px; }
.category-trigger { align-self: stretch; width: 190px; padding: 0 18px; border: 0; color: #fff; background: var(--orange); text-align: left; font-weight: 700; }
.category-trigger span { margin-right: 9px; font-size: 18px; }
.nav-link { padding: 0; border: 0; background: transparent; font-weight: 600; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--orange); }
.nav-business { margin-left: auto; color: var(--orange); }

.view { display: none; }
.active-view { display: block; }
.hero-wrap { padding: 16px 0 0; background: linear-gradient(180deg, #fff7f2 0%, #fff 88%); }
.hero-grid { height: 414px; display: grid; grid-template-columns: 190px 1fr 230px; gap: 14px; }
.category-panel, .account-panel, .hero-banner { border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(52,35,26,.06); }
.category-panel { padding: 9px 0; overflow: hidden; }
.category-row { position: relative; }
.category-row > button { width: 100%; height: 49px; display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; padding: 0 14px; border: 0; background: transparent; text-align: left; font-size: 13px; }
.category-row > button:hover { color: var(--orange); background: var(--orange-soft); }
.category-row .category-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #f5f6f7; font-size: 15px; }
.category-row .arrow { color: #b1b4ba; }
.category-row small { display: block; overflow: hidden; color: #9599a0; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }

.hero-banner { position: relative; overflow: hidden; padding: 54px 42px; background: linear-gradient(125deg, #fff0e6 0%, #ffd9c4 53%, #ffae7e 100%); }
.hero-banner::before { content: ""; position: absolute; width: 360px; height: 360px; right: -80px; top: -140px; border: 70px solid rgba(255,255,255,.22); border-radius: 50%; }
.hero-copy { position: relative; z-index: 3; width: 57%; }
.eyebrow { display: inline-block; padding: 5px 10px; border-radius: 5px; color: #9b3918; background: rgba(255,255,255,.58); font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.hero-copy h1 { margin: 18px 0 12px; font-size: clamp(34px, 3.1vw, 48px); line-height: 1.16; letter-spacing: -2px; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-copy p { margin: 0; color: #7c5141; font-size: 14px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 10px; margin-top: 25px; }
.primary-button, .secondary-button, .outline-button, .light-button {
  min-height: 40px; padding: 0 20px; border-radius: 10px; font-weight: 700; transition: .2s ease;
}
.primary-button { border: 1px solid var(--orange); color: #fff; background: var(--orange); }
.primary-button:hover { border-color: var(--orange-dark); background: var(--orange-dark); transform: translateY(-1px); }
.secondary-button { border: 1px solid rgba(126,60,34,.25); color: #7d3a21; background: rgba(255,255,255,.52); }
.secondary-button:hover { background: #fff; }
.outline-button { border: 1px solid #ffc0a7; color: var(--orange); background: #fff; }
.outline-button:hover { background: var(--orange-soft); }
.small { min-height: 32px; padding: 0 18px; font-size: 12px; }

.hero-visual { position: absolute; right: 24px; top: 24px; bottom: 24px; width: 43%; }
.visual-orbit { position: absolute; border: 1px dashed rgba(169,75,36,.25); border-radius: 50%; }
.orbit-one { inset: 35px 15px; }
.orbit-two { inset: 86px 55px; }
.hero-box {
  position: absolute; width: 126px; height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 17px;
  border: 1px solid rgba(255,255,255,.65); border-radius: 18px; color: #783317;
  background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,255,255,.32));
  box-shadow: 0 18px 35px rgba(136,65,32,.14); backdrop-filter: blur(5px);
}
.hero-box span { font-size: 13px; }
.hero-box b { margin-top: 5px; font-size: 22px; }
.box-a { right: 78px; top: 45px; transform: rotate(5deg); }
.box-b { right: 4px; bottom: 60px; transform: rotate(-6deg); }
.box-c { left: 2px; bottom: 15px; transform: rotate(4deg); }
.hero-dots { position: absolute; left: 43px; bottom: 22px; display: flex; gap: 6px; }
.hero-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(108,52,27,.2); }
.hero-dots .active { width: 22px; background: var(--orange); }

.account-panel { padding: 20px; }
.account-welcome { display: flex; align-items: center; gap: 10px; }
.avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #ffad78, #ff5a1f); font-weight: 800; }
.account-welcome strong { font-size: 14px; }
.account-welcome p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }
.account-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 17px 0; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-grid button { display: flex; align-items: center; gap: 7px; padding: 7px 4px; border: 0; background: transparent; font-size: 11px; text-align: left; }
.quick-grid button:hover { color: var(--orange); }
.quick-grid b { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; color: var(--orange); background: var(--orange-soft); font-size: 11px; }
.notice-card { margin-top: 13px; }
.notice-card > div { display: flex; justify-content: space-between; margin-bottom: 8px; }
.notice-card strong { font-size: 12px; }
.notice-card button { padding: 0; border: 0; color: #999; background: transparent; font-size: 10px; }
.notice-card p { overflow: hidden; margin: 7px 0; color: #6f747c; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.notice-card p::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 6px 2px 0; border-radius: 50%; background: var(--orange); }

.trust-strip { padding: 18px 0; border-bottom: 1px solid #f1f1f2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid b { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 50%; color: var(--orange); background: var(--orange-soft); font-size: 15px; }
.trust-grid strong, .trust-grid small { display: block; }
.trust-grid strong { font-size: 14px; }
.trust-grid small { margin-top: 3px; color: var(--muted); font-size: 10px; }

.section { padding-top: 45px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.section-kicker { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 2px; }
.section-heading h2 { margin: 4px 0 0; font-size: 27px; }
.more-link { padding: 0; border: 0; color: var(--muted); background: transparent; font-size: 12px; }
.more-link:hover { color: var(--orange); }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.market-card { position: relative; overflow: hidden; min-height: 138px; padding: 22px; border: 1px solid #eeeef0; border-radius: 14px; background: #fff; transition: .2s ease; }
.market-card:hover { border-color: #ffc8b3; transform: translateY(-3px); box-shadow: var(--shadow); }
.market-card::after { content: ""; position: absolute; width: 100px; height: 100px; right: -25px; bottom: -28px; border-radius: 50%; background: var(--card-color, #fff1e8); }
.market-card span { color: var(--muted); font-size: 11px; }
.market-card strong { display: block; margin: 8px 0; font-size: 19px; }
.market-card b { color: var(--green); font-size: 11px; }
.market-card.down b { color: var(--orange); }

.section-tabs { display: flex; gap: 7px; }
.section-tabs button { padding: 7px 13px; border: 0; border-radius: 18px; color: var(--muted); background: transparent; font-size: 12px; }
.section-tabs button:hover, .section-tabs button.active { color: var(--orange); background: var(--orange-soft); }
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.factory-card { overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; transition: .2s ease; }
.factory-card:hover { border-color: #ffc5ae; transform: translateY(-3px); box-shadow: var(--shadow); }
.factory-cover { position: relative; height: 146px; padding: 22px; color: #fff; background: var(--factory-gradient); }
.factory-cover::after { content: ""; position: absolute; width: 150px; height: 150px; right: -35px; top: -50px; border: 30px solid rgba(255,255,255,.1); border-radius: 50%; }
.factory-cover span { position: relative; z-index: 2; display: inline-block; padding: 4px 8px; border-radius: 5px; background: rgba(0,0,0,.13); font-size: 10px; }
.factory-cover strong { position: relative; z-index: 2; display: block; max-width: 78%; margin-top: 20px; font-size: 20px; line-height: 1.35; }
.factory-info { padding: 16px 18px; }
.factory-name { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.factory-name strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.factory-name span { flex: none; padding: 3px 6px; border-radius: 4px; color: var(--orange); background: var(--orange-soft); font-size: 9px; }
.factory-tags { display: flex; gap: 5px; margin-top: 11px; }
.factory-tags span { padding: 4px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 9px; }

.sourcing-section { margin-top: 50px; padding: 46px 0; color: #fff; background: radial-gradient(circle at 75% 0%, #45566c 0%, #1c2735 42%, #131b25 100%); }
.light-heading .section-kicker { color: #ffaf8f; }
.light-heading h2 { color: #fff; }
.light-button { border: 1px solid rgba(255,255,255,.28); color: #fff; background: rgba(255,255,255,.08); }
.light-button:hover { background: rgba(255,255,255,.16); }
.sourcing-board { display: grid; grid-template-columns: 290px 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.05); }
.sourcing-intro { padding: 30px; background: linear-gradient(145deg, rgba(255,94,31,.88), rgba(210,54,10,.88)); }
.sourcing-intro > span { font-size: 12px; letter-spacing: 2px; }
.sourcing-intro strong { display: block; margin: 18px 0 12px; font-size: 23px; line-height: 1.45; }
.sourcing-intro p { color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.7; }
.sourcing-intro button { margin-top: 15px; padding: 9px 18px; border: 0; border-radius: 8px; color: var(--orange); background: #fff; font-weight: 700; }
.rfq-list { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 24px; }
.rfq-item { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 17px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.rfq-item:nth-last-child(-n+2) { border-bottom: 0; }
.rfq-item strong { display: block; overflow: hidden; max-width: 290px; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.rfq-item span { display: block; margin-top: 7px; color: rgba(255,255,255,.52); font-size: 10px; }
.rfq-item b { padding: 5px 8px; border-radius: 5px; color: #ffc0a7; background: rgba(255,90,31,.14); font-size: 10px; }

.product-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.product-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; transition: .22s ease; }
.product-card:hover { border-color: #ffc4ad; transform: translateY(-3px); box-shadow: var(--shadow); }
.product-image { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: var(--product-bg); }
.product-image::before { content: ""; position: absolute; width: 76%; height: 76%; border-radius: 50%; background: rgba(255,255,255,.28); filter: blur(2px); }
.product-image .product-emoji { position: relative; z-index: 2; font-size: 70px; filter: drop-shadow(0 12px 14px rgba(36,28,20,.16)); transition: .25s ease; }
.product-photo { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-photo { transform: scale(1.045); }
.product-card:hover .product-emoji { transform: scale(1.06) rotate(-2deg); }
.product-badge { position: absolute; z-index: 3; left: 9px; top: 9px; padding: 4px 6px; border-radius: 5px; color: #fff; background: var(--orange); font-size: 9px; }
.favorite-button { position: absolute; z-index: 3; right: 9px; top: 9px; width: 28px; height: 28px; border: 0; border-radius: 50%; color: #777; background: rgba(255,255,255,.86); }
.favorite-button.active { color: #fff; background: var(--orange); }
.product-body { padding: 13px; }
.product-title { height: 40px; overflow: hidden; margin: 0 0 9px; font-size: 13px; font-weight: 500; line-height: 1.55; }
.product-price { color: var(--orange); font-size: 13px; }
.product-price strong { font-size: 20px; }
.product-moq { color: var(--muted); font-size: 9px; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 9px; color: #969aa1; font-size: 9px; }
.verified-tag { color: var(--blue); }

.business-banner { min-height: 180px; display: grid; grid-template-columns: 1.2fr 1.3fr auto; align-items: center; gap: 40px; padding: 35px 45px; border-radius: 20px; color: #fff; background: linear-gradient(115deg, #242c37, #3d4b60); }
.business-banner > div > span { color: #ffac8c; font-size: 11px; letter-spacing: 2px; }
.business-banner h2 { margin: 10px 0 7px; font-size: 28px; }
.business-banner p { margin: 0; color: rgba(255,255,255,.62); font-size: 12px; }
.business-stats { display: flex; justify-content: center; gap: 38px; }
.business-stats span { text-align: center; }
.business-stats strong, .business-stats small { display: block; }
.business-stats strong { font-size: 20px; }
.business-stats small { margin-top: 5px; color: rgba(255,255,255,.55); font-size: 10px; }
.business-banner > button { padding: 12px 24px; border: 0; border-radius: 10px; color: var(--orange); background: #fff; font-weight: 700; }

.page-shell { min-height: 640px; padding-top: 22px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #999da4; font-size: 11px; }
.breadcrumb button { padding: 0; border: 0; background: transparent; }
.breadcrumb button:hover { color: var(--orange); }
.list-layout { display: grid; grid-template-columns: 190px 1fr; gap: 18px; }
.filter-panel { align-self: start; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.filter-title { padding: 15px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.filter-group { padding: 15px 16px; border-bottom: 1px solid var(--line); }
.filter-group:last-child { border-bottom: 0; }
.filter-group strong { display: block; margin-bottom: 11px; font-size: 12px; }
.filter-group label, .filter-group button { display: block; margin: 8px 0; color: var(--muted); font-size: 11px; }
.filter-group button { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.filter-group button.active, .filter-group button:hover { color: var(--orange); }
.filter-group input { margin-right: 6px; accent-color: var(--orange); }
.list-header { min-height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-radius: 13px; background: linear-gradient(100deg, #fff4ed, #fff); }
.list-header h1 { margin: 0 0 7px; font-size: 24px; }
.list-header p { margin: 0; color: var(--muted); font-size: 11px; }
.sort-bar { min-height: 52px; display: flex; align-items: center; gap: 16px; margin: 13px 0; padding: 0 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.sort-bar > button { padding: 0; border: 0; background: transparent; font-size: 11px; }
.sort-bar > button.active, .sort-bar > button:hover { color: var(--orange); }
.sort-bar > label { margin-left: auto; color: var(--muted); font-size: 11px; }
.sort-bar input { accent-color: var(--orange); }
.sort-price { display: flex; align-items: center; gap: 5px; }
.sort-price input { width: 70px; height: 27px; padding: 0 7px; border: 1px solid var(--line); border-radius: 5px; outline: 0; font-size: 10px; }
.sort-price button { height: 27px; padding: 0 9px; border: 0; border-radius: 5px; color: #fff; background: var(--orange); font-size: 10px; }
.list-products { grid-template-columns: repeat(4, 1fr); }
.empty-state { display: none; padding: 90px 20px; text-align: center; }
.empty-state b { font-size: 19px; }
.empty-state p { margin: 10px 0 20px; color: var(--muted); font-size: 12px; }

.product-detail-grid { display: grid; grid-template-columns: 470px 1fr; gap: 36px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; }
.detail-gallery { display: grid; grid-template-columns: 74px 1fr; gap: 12px; }
.detail-thumbs { display: flex; flex-direction: column; gap: 8px; }
.detail-thumb { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--product-bg); font-size: 30px; }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.active { border: 2px solid var(--orange); }
.detail-main-image { aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; border-radius: 14px; background: var(--product-bg); font-size: 140px; }
.detail-main-image img { width: 100%; height: 100%; object-fit: contain; background: #f7f7f7; }
.detail-info h1 { margin: 0; font-size: 21px; line-height: 1.55; }
.detail-tags { display: flex; gap: 6px; margin: 12px 0; }
.detail-tags span { padding: 4px 7px; border-radius: 5px; color: var(--orange); background: var(--orange-soft); font-size: 10px; }
.price-tier-box { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; padding: 18px; border-radius: 11px; background: #fff5ef; }
.price-tier span { display: block; color: var(--muted); font-size: 10px; }
.price-tier strong { display: block; margin-top: 5px; color: var(--orange); font-size: 22px; }
.detail-row { display: grid; grid-template-columns: 72px 1fr; align-items: start; margin: 16px 0; font-size: 12px; }
.detail-label { color: var(--muted); }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-list button { min-width: 72px; min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: #fff; font-size: 11px; }
.option-list button.active { color: var(--orange); border-color: var(--orange); background: var(--orange-soft); }
.quantity-control { display: inline-grid; grid-template-columns: 32px 54px 32px; height: 32px; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.quantity-control button, .quantity-control input { min-width: 0; border: 0; background: #fff; text-align: center; }
.quantity-control input { border-right: 1px solid var(--line); border-left: 1px solid var(--line); outline: 0; }
.detail-actions { display: flex; gap: 10px; margin: 24px 0 16px; }
.detail-actions button { min-height: 48px; padding: 0 30px; }
.detail-promise { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 10px; }
.detail-promise span::before { content: "✓"; margin-right: 4px; color: var(--green); }
.supplier-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; margin-top: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; }
.supplier-card h3 { margin: 0 0 8px; font-size: 16px; }
.supplier-card p { margin: 0; color: var(--muted); font-size: 11px; }
.supplier-metrics { display: flex; gap: 28px; margin-top: 16px; }
.supplier-metrics span { font-size: 10px; color: var(--muted); }
.supplier-metrics strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }
.product-detail-extra { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; margin-top: 18px; }
.product-detail-extra article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.product-detail-extra h2 { margin: 0 0 14px; font-size: 17px; }
.product-detail-extra p { margin: 0; color: var(--muted); font-size: 12px; line-height: 2; }

.store-page { min-height: 620px; padding-bottom: 45px; background: #f5f6f8; }
.store-banner { position: relative; min-height: 270px; display: flex; align-items: end; overflow: hidden; color: #fff; background: linear-gradient(120deg,#202a38,#53657e); }
.store-banner::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,rgba(11,17,25,.88),rgba(11,17,25,.25)); }
.store-banner-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.store-banner-content { position: relative; z-index: 2; display: grid; grid-template-columns:auto 1fr auto; gap: 20px; align-items: center; padding: 45px 0; }
.store-logo { width: 86px; height: 86px; display: grid; place-items: center; overflow: hidden; border: 3px solid rgba(255,255,255,.75); border-radius: 16px; background: var(--orange); font-size: 30px; font-weight: 900; }
.store-logo img { width: 100%; height: 100%; object-fit: cover; }
.store-title h1 { margin: 0 0 8px; font-size: 28px; }
.store-title p { margin: 0; color: rgba(255,255,255,.75); font-size: 12px; }
.store-verified { display: inline-block; margin-top: 12px; padding: 5px 8px; border-radius: 5px; color: #fff; background: rgba(255,90,31,.85); font-size: 10px; }
.store-contact-button { padding: 11px 20px; border: 0; border-radius: 8px; color: var(--orange); background: #fff; font-weight: 700; }
.store-summary { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 18px; }
.store-panel { padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.store-panel h2 { margin: 0 0 13px; font-size: 16px; }
.store-panel p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.9; }
.store-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.store-facts span { padding: 13px; border-radius: 8px; background: #f7f8fa; color: var(--muted); font-size: 10px; }
.store-facts strong { display: block; margin-top: 5px; color: var(--ink); font-size: 13px; }
.store-products-head { display: flex; justify-content: space-between; align-items: center; margin: 28px 0 14px; }
.store-products-head h2 { margin: 0; font-size: 21px; }

.seller-hero { color: #fff; background: radial-gradient(circle at 75% 20%, #4c5d78, #1d2735 50%, #121922); }
.seller-hero-inner { min-height: 520px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.seller-hero span { color: #ffae8d; font-size: 11px; letter-spacing: 3px; }
.seller-hero h1 { margin: 16px 0; font-size: 42px; line-height: 1.25; }
.seller-hero p { max-width: 500px; color: rgba(255,255,255,.62); line-height: 1.8; }
.seller-console { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: #fff; box-shadow: 0 30px 70px rgba(0,0,0,.25); transform: perspective(800px) rotateY(-5deg) rotateX(2deg); }
.console-head { height: 34px; display: flex; align-items: center; gap: 5px; padding: 0 12px; background: #eff1f4; }
.console-head span { width: 7px; height: 7px; border-radius: 50%; background: #c4c8ce; }
.console-body { height: 290px; display: grid; grid-template-columns: 115px 1fr; color: var(--ink); }
.console-body aside { padding: 18px 12px; background: #252e3b; }
.console-body aside b { color: #fff; font-size: 11px; }
.console-body aside i { display: block; width: 70px; height: 7px; margin-top: 20px; border-radius: 4px; background: rgba(255,255,255,.15); }
.console-body main { padding: 20px; background: #f5f6f8; }
.console-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.console-cards span { height: 62px; border-radius: 8px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.05); }
.console-chart { height: 150px; display: flex; align-items: end; justify-content: space-around; margin-top: 18px; padding: 20px; border-radius: 10px; background: #fff; }
.console-chart i { width: 18px; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(#ff9a6d, #ff5a1f); }
.console-chart i:nth-child(1) { --h: 35%; }.console-chart i:nth-child(2) { --h: 52%; }.console-chart i:nth-child(3) { --h: 45%; }.console-chart i:nth-child(4) { --h: 77%; }.console-chart i:nth-child(5) { --h: 64%; }.console-chart i:nth-child(6) { --h: 90%; }
.seller-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 50px 0; }
.seller-features div { padding: 27px; border: 1px solid var(--line); border-radius: 14px; }
.seller-features b { color: var(--orange); font-size: 13px; }
.seller-features h3 { margin: 14px 0 8px; }
.seller-features p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }

.site-footer { margin-top: 55px; color: #b4b9c0; background: #20262e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) .8fr; gap: 38px; padding: 48px 0 35px; }
.footer-brand { display: grid; grid-template-columns: 45px 1fr; align-items: center; }
.footer-brand .brand-mark { width: 42px; height: 42px; font-size: 20px; }
.footer-brand strong { color: #fff; font-size: 22px; }
.footer-brand p { grid-column: 1 / -1; margin: 15px 0 0; font-size: 11px; }
.footer-grid > div > strong { display: block; margin-bottom: 15px; color: #fff; font-size: 13px; }
.footer-grid a { display: block; margin: 9px 0; font-size: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-code { text-align: center; }
.footer-code > div { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 7px; color: var(--ink); background: #fff; font-weight: 900; }
.footer-code span, .footer-code small { display: block; font-size: 10px; }
.footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; font-size: 10px; }

.drawer-backdrop, .modal-backdrop { position: fixed; inset: 0; z-index: 90; opacity: 0; visibility: hidden; background: rgba(15,19,24,.52); transition: .22s ease; }
.drawer-backdrop.show, .modal-backdrop.show { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; z-index: 100; right: 0; top: 0; width: min(430px, 94vw); height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.14); transform: translateX(105%); transition: .27s ease; }
.cart-drawer.show { transform: translateX(0); }
.drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer-header h2 { margin: 0; font-size: 21px; }
.drawer-header span { color: var(--muted); font-size: 10px; }
.drawer-header button { border: 0; background: transparent; font-size: 26px; }
.drawer-content { overflow: auto; padding: 15px 20px; }
.cart-empty { padding: 100px 20px; color: var(--muted); text-align: center; }
.cart-empty b { display: block; margin-bottom: 8px; color: var(--ink); }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item-image { display: grid; place-items: center; border-radius: 9px; background: var(--product-bg); font-size: 34px; }
.cart-item strong { display: block; font-size: 12px; line-height: 1.5; }
.cart-item span { color: var(--muted); font-size: 10px; }
.cart-item b { display: block; margin-top: 9px; color: var(--orange); font-size: 14px; }
.cart-item button { align-self: start; border: 0; color: #999; background: transparent; }
.drawer-footer { padding: 18px 22px 24px; border-top: 1px solid var(--line); }
.drawer-footer > div { display: flex; justify-content: space-between; margin-bottom: 15px; }
.drawer-footer span { color: var(--muted); font-size: 11px; }
.drawer-footer strong { color: var(--orange); font-size: 20px; }
.drawer-footer .primary-button { width: 100%; }

.modal-backdrop { display: grid; place-items: center; }
.modal { position: relative; width: min(520px, calc(100% - 28px)); max-height: 90vh; overflow: auto; padding: 32px; border-radius: 17px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.24); transform: translateY(15px); transition: .22s ease; }
.modal-backdrop.show .modal { transform: translateY(0); }
.modal-close { position: absolute; right: 16px; top: 13px; border: 0; color: #888; background: transparent; font-size: 25px; }
.modal h2 { margin: 0 0 7px; font-size: 23px; }
.modal-subtitle { margin: 0 0 22px; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 11px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; font-size: 12px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.modal-submit { width: 100%; margin-top: 18px; }
.login-tabs { display: flex; gap: 20px; margin: 18px 0; border-bottom: 1px solid var(--line); }
.login-tabs button { padding: 0 0 10px; border: 0; background: transparent; font-size: 12px; }
.login-tabs .active { color: var(--orange); border-bottom: 2px solid var(--orange); }
.login-note { margin-top: 13px; color: #9a9da3; font-size: 9px; text-align: center; }

.toast { position: fixed; z-index: 150; left: 50%; bottom: 35px; max-width: calc(100% - 40px); padding: 11px 18px; border-radius: 9px; color: #fff; background: rgba(23,27,32,.92); font-size: 12px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: .2s ease; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mobile-nav { display: none; }

.modal-switch {
  width: 100%;
  margin-top: 13px;
  padding: 5px;
  border: 0;
  color: var(--orange);
  background: transparent;
  font-size: 11px;
}
.account-center-head { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.account-center-head h2 { margin: 0 0 4px; }
.account-center-head p { margin: 0; color: var(--muted); font-size: 11px; }
.account-center-tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.account-center-tabs button { padding: 0 0 11px; border: 0; background: transparent; font-size: 12px; }
.account-center-tabs button.active { color: var(--orange); border-bottom: 2px solid var(--orange); }
.account-center-content { min-height: 220px; padding-top: 14px; }
.account-loading, .records-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--muted); font-size: 11px; }
.records-empty b { margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.record-card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.record-card > div, .record-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.record-card div strong { font-size: 12px; }
.record-card div span, .record-card footer span { color: var(--muted); font-size: 10px; }
.record-card p { margin: 9px 0; color: #565c65; font-size: 11px; line-height: 1.6; }
.record-card footer b { color: var(--orange); font-size: 10px; }
.record-card footer strong { color: var(--orange); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-grid span { padding: 13px; border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 10px; }
.profile-grid strong { display: block; margin-top: 6px; color: var(--ink); font-size: 12px; }
.checkout-summary { max-height: 210px; overflow: auto; margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; background: var(--surface); }
.checkout-summary > div { display: flex; justify-content: space-between; gap: 15px; padding: 7px 0; font-size: 10px; }
.checkout-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-total { margin-top: 6px; border-top: 1px solid var(--line); }
.checkout-total strong { color: var(--orange); font-size: 17px; }
.notification-top-button b { display: inline-block; min-width: 16px; height: 16px; margin-left: 3px; padding: 0 4px; border-radius: 8px; color: #fff; background: var(--orange); font-size: 9px; line-height: 16px; }
.notification-top-button b:empty { display: none; }
.record-link-button { margin-left: 5px; padding: 3px 7px; border: 1px solid #ffc3ad; border-radius: 5px; color: var(--orange); background: #fff; font-size: 9px; }
.notification-record.unread { padding-right: 10px; border-right: 3px solid var(--orange); background: #fffaf7; }
.quote-comparison { display: grid; gap: 10px; }
.quote-card { padding: 15px; border: 1px solid var(--line); border-radius: 10px; }
.quote-card.selected { border-color: #68caa7; background: #f0fbf7; }
.quote-card header { display: flex; justify-content: space-between; gap: 12px; }
.quote-card header strong { font-size: 13px; }
.quote-card header span { color: var(--orange); font-size: 10px; }
.quote-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0; }
.quote-metrics span { padding: 8px; border-radius: 7px; color: var(--muted); background: var(--surface); font-size: 9px; }
.quote-metrics strong { display: block; margin-top: 4px; color: var(--ink); font-size: 12px; }
.quote-card p { color: var(--muted); font-size: 10px; line-height: 1.6; }
.quote-card footer { color: var(--green); font-size: 10px; font-weight: 700; }

@media (max-width: 1020px) {
  .header-main { grid-template-columns: 170px 1fr; }
  .header-actions { display: none; }
  .nav-inner { gap: 18px; overflow-x: auto; }
  .hero-grid { grid-template-columns: 170px 1fr; }
  .account-panel { display: none; }
  .hero-copy { width: 62%; }
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .business-banner { grid-template-columns: 1fr auto; }
  .business-stats { display: none; }
  .product-detail-grid { grid-template-columns: 390px 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 64px; background: #f7f7f8; }
  .container { width: min(100% - 24px, 1200px); }
  .topbar, .main-nav { display: none; }
  .site-header { top: 0; padding: 10px 0; }
  .header-main { width: calc(100% - 24px); height: auto; grid-template-columns: 42px 1fr; gap: 9px; }
  .brand { overflow: hidden; width: 42px; }
  .brand-mark { flex: none; width: 42px; height: 42px; border-radius: 12px; font-size: 21px; }
  .brand > span:last-child { display: none; }
  .search-box { height: 42px; grid-template-columns: 1fr 58px; border-width: 1px; border-radius: 11px; }
  .search-type { display: none; }
  .search-submit { border-radius: 0 10px 10px 0; font-size: 12px; }
  .search-suggestions { left: 0; right: 0; top: 44px; }
  .hero-wrap { padding-top: 10px; }
  .hero-grid { width: calc(100% - 24px); height: auto; display: block; }
  .category-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; border-radius: 14px; box-shadow: none; }
  .category-row > button { height: auto; display: flex; flex-direction: column; gap: 5px; padding: 7px 2px; text-align: center; }
  .category-row .category-icon { width: 34px; height: 34px; }
  .category-row small, .category-row .arrow { display: none; }
  .hero-banner { min-height: 255px; margin-top: 10px; padding: 30px 24px; border-radius: 14px; box-shadow: none; }
  .hero-copy { width: 74%; }
  .eyebrow { font-size: 9px; }
  .hero-copy h1 { margin: 13px 0 9px; font-size: 28px; }
  .hero-copy p { max-width: 250px; font-size: 10px; }
  .hero-buttons { margin-top: 17px; }
  .hero-buttons button { min-height: 34px; padding: 0 12px; font-size: 10px; }
  .hero-visual { right: -37px; width: 42%; opacity: .75; }
  .hero-box { width: 78px; height: 70px; padding: 9px; border-radius: 11px; }
  .hero-box span { font-size: 8px; }.hero-box b { font-size: 13px; }
  .box-c { display: none; }.box-a { right: 26px; }.box-b { right: 7px; }
  .trust-strip { display: none; }
  .section { padding-top: 28px; }
  .section-heading { align-items: center; margin-bottom: 13px; }
  .section-heading h2 { font-size: 20px; }
  .section-kicker { font-size: 8px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .market-card { min-height: 110px; padding: 16px; border-radius: 12px; }
  .market-card strong { font-size: 16px; }
  .section-tabs { max-width: 62%; overflow-x: auto; }
  .section-tabs button { flex: none; padding: 6px 10px; font-size: 10px; }
  .factory-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .factory-cover { height: 110px; padding: 15px; }
  .factory-cover strong { margin-top: 12px; font-size: 14px; }
  .factory-info { padding: 11px; }
  .factory-name strong { font-size: 11px; }
  .factory-name span { display: none; }
  .factory-tags { overflow: hidden; }
  .factory-tags span { flex: none; font-size: 8px; }
  .sourcing-section { margin-top: 28px; padding: 30px 0; }
  .sourcing-board { display: block; }
  .sourcing-intro { padding: 22px; }
  .sourcing-intro strong { font-size: 19px; }
  .rfq-list { grid-template-columns: 1fr; padding: 5px 15px; }
  .rfq-item:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .rfq-item:nth-child(n+5) { display: none; }
  .product-grid, .list-products { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-body { padding: 10px; }
  .product-title { height: 35px; font-size: 11px; }
  .product-image .product-emoji { font-size: 52px; }
  .product-price strong { font-size: 17px; }
  .business-banner { min-height: 170px; display: block; padding: 25px; }
  .business-banner h2 { font-size: 21px; }
  .business-banner > button { margin-top: 20px; }
  .list-layout { display: block; }
  .filter-panel { display: none; }
  .list-header { min-height: 75px; padding: 16px; }
  .list-header h1 { font-size: 19px; }
  .list-header .outline-button { display: none; }
  .sort-bar { overflow-x: auto; gap: 18px; padding: 0 12px; }
  .sort-price { display: none; }
  .sort-bar > label { flex: none; margin-left: 0; }
  .product-detail-grid { display: block; padding: 12px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-thumbs { display: none; }
  .detail-main-image { font-size: 105px; }
  .detail-info { padding: 17px 5px 5px; }
  .detail-info h1 { font-size: 17px; }
  .price-tier-box { padding: 12px; }
  .price-tier strong { font-size: 17px; }
  .detail-actions button { flex: 1; padding: 0 12px; }
  .supplier-card { display: block; padding: 18px; }
  .supplier-card .outline-button { margin-top: 16px; }
  .supplier-metrics { gap: 18px; }
  .product-detail-extra,.store-summary { grid-template-columns: 1fr; }
  .store-banner { min-height: 320px; }
  .store-banner-content { grid-template-columns: auto 1fr; padding: 35px 12px; }
  .store-contact-button { grid-column: 1/-1; }
  .store-logo { width: 66px; height: 66px; }
  .store-title h1 { font-size: 20px; }
  .seller-hero-inner { min-height: 530px; display: block; padding-top: 65px; }
  .seller-hero h1 { font-size: 31px; }
  .seller-console { margin: 40px 0 0; transform: none; }
  .console-body { height: 220px; grid-template-columns: 85px 1fr; }
  .seller-features { grid-template-columns: 1fr 1fr; gap: 8px; padding: 25px 12px; }
  .seller-features div { padding: 18px; background: #fff; }
  .site-footer { margin-top: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 25px; padding: 35px 0; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-code { display: none; }
  .mobile-nav { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 62px; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.97); backdrop-filter: blur(12px); }
  .mobile-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; font-size: 9px; }
  .mobile-nav b { font-size: 16px; }
  .mobile-nav .active { color: var(--orange); }
  .mobile-nav i { position: absolute; top: 5px; right: calc(50% - 22px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; color: #fff; background: var(--orange); font-style: normal; line-height: 16px; }
  .modal { padding: 27px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
}
