:root {
  --purple: #6c2cff;
  --purple-soft: #f3eeff;
  --line: #ddd8e8;
  --muted: #6b6675;
  color: #17151f;
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html, body { background: #fff; }
body { color: #17151f; }
button, input { font-family: inherit; }
.shell { width: min(1200px, calc(100% - 40px)); }

.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #f0edf4;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-inner { min-height: 76px; gap: 34px; }
.brand-wordmark { width: 104px; height: auto; }
.header-nav { gap: 24px; color: #4e4958; }
.header-nav a, .header-actions button { transition: color .18s, background .18s, border-color .18s; }
.header-nav a:hover { color: var(--purple); }
.language-toggle {
  padding: 10px 14px;
  color: #4e4958;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.language-toggle:hover { background: var(--purple-soft); color: var(--purple); }
.header-scan {
  background: linear-gradient(110deg, #a260f7, #6225f8);
  box-shadow: none;
  border-radius: 12px;
}
.header-scan:hover { filter: brightness(.97); }

#view-home > .shell { display: flex; flex-direction: column; }
.market-intro { order: 1; margin: 0; padding: 37px 0 22px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.market-title-row { align-items: center; }
.market-intro .eyebrow, .explore-section .eyebrow { display: none; }
.market-intro h1 { font-size: clamp(36px, 4vw, 49px); line-height: 1.08; font-weight: 900; letter-spacing: -.045em; }
.market-subtitle { margin-top: 8px; color: var(--muted); font-size: clamp(15px, 1.7vw, 18px); }
.seo-intro { max-width: 72ch; margin-top: 8px; color: var(--muted); font-size: 13px; }
.header-app-link { color: var(--purple); background: var(--purple-soft); border-radius: 12px; }
.search-box {
  height: 54px;
  margin-top: 22px;
  border: 1.5px solid #b8b8c1;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}
.search-box:focus-within { border-color: var(--purple); box-shadow: 0 0 0 3px #6c2cff1a; }
.search-icon { display: block; width: 22px; height: 22px; flex: none; transform: none; }
.search-box input { font-size: 16px; }

.promotion-wrap {
  order: 2;
  margin: 2px 0 0;
  padding: 5px;
  border: 1px solid #e7ddf7;
  border-radius: 26px;
  background: #fff;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.promotion-track { height: auto; aspect-ratio: 1600 / 631; border-radius: 20px; background: #f5f1ff; }
.promotion-track .promotion-backdrop { display: none; }
.promotion-track .promotion-image { object-fit: cover; }
.promotion-arrow { width: 36px; height: 36px; border: 1px solid var(--line); background: #fff; box-shadow: none; }
.promotion-dots { bottom: 12px; border: 0; background: #ffffffe8; box-shadow: none; }

.quick-actions { order: 3; gap: 14px; margin: 20px 0 43px; }
.quick-action {
  min-height: 82px;
  gap: 12px;
  padding: 12px 16px;
  color: #17151f;
  background: #fff;
  border: 1px solid #e7e1ee;
  border-radius: 20px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  font-size: 16px;
}
.quick-action:hover { transform: translateY(-2px); border-color: #bdabed; box-shadow: 0 7px 18px #43277d0c; }
.quick-action .quick-icon { width: 30px; height: 30px; flex: 0 0 30px; }

.explore-section { order: 4; padding: 0 0 50px; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.supplier-apply-link { margin-bottom: 20px; box-shadow: none; border-color: #e5dbf6; border-radius: 12px; background: #faf7ff; }
.supplier-apply-link img { flex: none; }
html[dir="rtl"] .supplier-apply-link img:last-child { transform: rotate(180deg); }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 900; color: #17151f; }
.text-link { display: inline-flex; align-items: center; gap: 3px; color: #705b9e; }
.text-link img { width: 18px; height: 18px; }
html[dir="rtl"] .text-link img { transform: rotate(180deg); }
.category-grid { gap: 16px; }
.category-card, .search-result {
  background: #fff;
  border: 1px solid #e7e1ee;
  border-radius: 19px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.category-card:hover, .search-result:hover { border-color: #beaaf6; box-shadow: 0 7px 20px #43277d0b; }
.category-card img { aspect-ratio: 1.38; object-fit: cover; background: #f7f4fc; }
.category-card-body { padding: 13px 15px 15px; }
.category-card strong { font-size: 17px; }
.category-card small { font-size: 12px; color: var(--muted); }
.category-arrow { display: grid; place-items: center; }
.category-arrow img { width: 19px; height: 19px; background: transparent; }
html[dir="rtl"] .category-arrow img { transform: rotate(180deg); }
.category-card.image-missing .category-image { display: grid; place-items: center; aspect-ratio: 1.38; background: #f5f0ff; }
.category-image img { width: 54px; height: 54px; object-fit: contain; background: none; }
.market-group-toggle { border-color: var(--line); background: #f6f2fd; }
.market-group-toggle button.active { background: var(--purple); box-shadow: none; }
.coming-soon-badge { border-radius: 10px; }

.how-section { order: 5; padding: 35px 0 70px; border-top: 1px solid #eeeaf3; }
.how-card {
  min-height: 190px;
  padding: 24px;
  background: #f9f7ff;
  border: 1px solid #ede7f6;
  border-radius: 20px;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.how-icon { width: 46px; height: 46px; border-radius: 13px; background: #eee7ff; }
.how-icon img { width: 26px; height: 26px; }
.how-number { color: #b49af0; }
.how-card h3 { color: #17151f; }

.app-section { order: 6; margin-bottom: 65px; border: 1px solid #e7e1ee; border-radius: 25px; background: linear-gradient(115deg, #f9f7ff, #eee8ff); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.app-visual img { box-shadow: none; }
.site-footer { background: #fbfaff; border-top: 1px solid #eeeaf3; -webkit-backdrop-filter: none; backdrop-filter: none; }

.detail-view { padding-top: 28px; }
.category-hero { border: 1px solid #e7e1ee; border-radius: 24px; background: #f7f4fc; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.filter-row button, .product-row, .product-main-image, .product-info, .product-thumbnails button {
  background: #fff;
  border-color: #e7e1ee;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.filter-row button.active { background: var(--purple); }
.product-info { border: 0; padding: 12px 0; }
.product-row { border-radius: 19px; }
.product-main-image { border-radius: 20px; }
.feature-list span { display: inline-flex; align-items: center; gap: 7px; background: var(--purple-soft); }
.feature-list span::before { content: ""; width: 18px; height: 18px; flex: none; background: center / contain no-repeat url('/site/landing/shield.svg'); }
.feature-list span:nth-child(2)::before { background-image: url('/site/landing/view-code.svg'); }
.feature-list span:nth-child(3)::before { background-image: url('/site/landing/chat.svg'); }
.primary-link { background: linear-gradient(110deg, #a260f7, #6225f8); box-shadow: none; }
.lookup-dialog { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }

.web-support-launch { background: linear-gradient(110deg, #a260f7, #6225f8); box-shadow: 0 8px 24px #6225f828; }
.web-support-panel { border-color: #e7e1ee; }

@media (max-width: 800px) {
  .shell { width: calc(100% - 32px); }
  .header-nav { display: none; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 68px; }
  .brand-wordmark { width: 86px; }
  .market-intro { padding: 23px 0 19px; }
  .market-intro h1 { font-size: 32px; }
  .market-subtitle { font-size: 14px; }
  .seo-intro { display: none; }
  .search-box { margin-top: 18px; height: 50px; }
  .search-box input { font-size: 14px; }
  .promotion-wrap { margin-top: 0; padding: 3px; border-radius: 22px; }
  .promotion-track { height: auto; aspect-ratio: 1600 / 631; border-radius: 18px; }
  .promotion-dots { bottom: 6px; padding: 5px 8px; }
  .promotion-dots button { width: 7px; height: 7px; }
  .promotion-dots button.active { width: 22px; }
  .quick-actions { gap: 7px; margin: 14px 0 32px; }
  .quick-action { min-height: 69px; padding: 7px 4px; flex-direction: column; gap: 3px; border-radius: 17px; font-size: 12px; }
  .quick-action .quick-icon { width: 25px; height: 25px; flex-basis: 25px; }
  .explore-section { padding: 0 0 35px; }
  .supplier-apply-link { padding: 9px 11px; font-size: 12px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading .text-link { font-size: 12px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .category-card { border-radius: 15px; }
  .category-card img { aspect-ratio: 1.07; }
  .category-card-body { padding: 8px 6px 10px; }
  .category-card strong { font-size: 12px; }
  .category-card small { font-size: 10px; }
  .category-arrow img { width: 14px; height: 14px; }
  .how-section { padding: 25px 0 45px; }
  .how-card { min-height: 0; }
  .app-section { grid-template-columns: 1fr; }
  .app-copy { padding: 29px 24px; }
  .app-visual { height: 150px; }
  .product-info { padding: 10px 0; }
  .web-support-launch { right: 16px; bottom: 16px; width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; }
  .web-support-launch span { display: none; }
  html[dir="rtl"] .web-support-launch { right: auto; left: 16px; }
}
@media (max-width: 360px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
