:root {
  --bg-primary: #F8F7F4;
  --bg-card: #F8F7F4;
  --border-card: #ECE8E1;
  --text-primary: #1E1E1E;
  --text-secondary: #747474;
  --text-tertiary: #A9A09A;
  --accent: #9B6B4C;
  --accent-subtle: #EAD8C9;
  --surface: #F8F7F4;
  --product-surface: #FFFFFF;
  --shadow-hover: 0 10px 30px rgba(55, 42, 30, .055);
  --radius: 8px;
  --font-en: "Inter", "Segoe UI", Arial, sans-serif;
  --font-zh: "Source Han Sans SC", "Source Han Sans CN", "Source Han Sans", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-family: var(--font-en);
}

* { box-sizing: border-box; }
html { background: var(--bg-primary); color: var(--text-primary); font-family: var(--font-en); }
html[lang="zh"] { font-family: var(--font-zh); }
body { margin: 0; min-height: 100vh; background: var(--bg-primary); }
body.modal-open { overflow: hidden; }
img { -webkit-user-drag: none; user-select: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.sprite { display: none; }
.srOnly { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; clip-path: inset(50%); }
.wrap { width: min(1520px, calc(100% - 32px)); margin: 0 auto; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.announcement { height: 34px; display: grid; place-items: center; background: var(--text-primary); color: #fff; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: 0 16px; }
.siteHeader {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 247, 244, .68);
  border-bottom: 1px solid rgba(236, 232, 225, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transform: translateY(0);
  opacity: 1;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1), opacity .34s ease, background-color .34s ease;
}
.siteHeader.is-hidden { transform: translateY(-112%); opacity: 0; pointer-events: none; }
.siteHeader__row, .hero__actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.siteHeader__row { min-height: 72px; }
.siteNav { display: flex; align-items: center; gap: 26px; min-width: 260px; align-self: stretch; }
.siteNav a { color: var(--text-primary); text-decoration: none; font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.siteNav a:hover { color: var(--accent); }
.dockMenu { position: relative; display: flex; align-items: center; height: 100%; }
.navMenu { min-width: 74px; }
.navMenu__trigger { display: inline-flex; align-items: center; height: 100%; }
.navMenu__panel, .languageMenu__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% - 4px);
  display: grid;
  align-items: center;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(236, 232, 225, .9);
  border-radius: 18px;
  background: rgba(248, 247, 244, .78);
  box-shadow: 0 22px 54px rgba(45, 35, 25, .13);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .24s ease, transform .34s cubic-bezier(.22, 1, .36, 1);
}
.navMenu__panel {
  inset-inline-start: -18px;
  width: auto;
  min-width: 220px;
  overflow: visible;
}
.categoryDock {
  overflow: visible;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.categoryDock::before {
  content: "";
  position: absolute;
  inset: -10px -24px -16px -10px;
}
.navMenu__panel:not(.categoryDock) {
  width: 220px;
  max-height: min(520px, calc(100vh - 116px));
  overflow-y: auto;
  scrollbar-width: none;
}
.navMenu__panel::-webkit-scrollbar, .languageMenu__panel::-webkit-scrollbar { display: none; }
.languageMenu__panel {
  inset-inline-end: 0;
  width: 180px;
  max-height: min(520px, calc(100vh - 116px));
  overflow-y: auto;
}
.dockMenu:hover .dockPanel, .dockMenu:focus-within .dockPanel, .dockMenu.is-open .dockPanel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dockItem {
  --dock-scale: 1;
  position: relative;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 13px;
  background: rgba(255,255,255,.62);
  color: var(--text-primary);
  text-align: start;
  font-size: 13px;
  font-weight: 850;
  box-shadow: inset 0 0 0 1px rgba(236,232,225,.88), 0 8px 22px rgba(55,42,30,.045);
  transform: scale(var(--dock-scale));
  transform-origin: left center;
  transition: transform .18s ease, color .2s ease, background-color .2s ease, box-shadow .2s ease;
  outline: none;
}
.dockItem:hover, .dockItem:focus-visible, .dockItem.active, .dockItem.is-hovered {
  background: rgba(255,255,255,.94);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(155,107,76,.34), 0 12px 28px rgba(55,42,30,.09);
}
.categoryMega {
  position: relative;
  display: grid;
  grid-template-columns: 236px 236px;
  align-items: start;
  gap: 12px;
}
.categoryPrimary,
.categorySubPanel {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid rgba(236, 232, 225, .9);
  border-radius: 18px;
  background: rgba(248, 247, 244, .78);
  box-shadow: 0 22px 54px rgba(45, 35, 25, .13);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
}
.categoryPrimary {
  max-height: min(560px, calc(100vh - 116px));
  overflow-y: auto;
  scrollbar-width: none;
}
.categoryPrimary::-webkit-scrollbar { display: none; }
.categorySubPanels {
  position: relative;
  width: 236px;
  min-height: 80px;
}
.categorySubPanel {
  position: absolute;
  inset: 0 auto auto 0;
  width: 236px;
  max-height: min(520px, calc(100vh - 116px));
  overflow-y: auto;
  scrollbar-width: none;
  opacity: 0;
  transform: translateX(-10px) scale(.985);
  pointer-events: none;
  transition: opacity .22s ease, transform .32s cubic-bezier(.22, 1, .36, 1);
}
.categorySubPanel::-webkit-scrollbar { display: none; }
.categoryMega:hover .categorySubPanel.is-active,
.categoryMega:focus-within .categorySubPanel.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}
.dockItem--top {
  height: 50px;
  background: rgba(255,255,255,.86);
  font-size: 14px;
}
.dockItem--sub {
  height: 42px;
  font-size: 12px;
  font-weight: 780;
  background: rgba(255,255,255,.48);
}
.dockItem::before {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translate(-8px, -50%);
  width: max-content;
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid rgba(236, 232, 225, .9);
  background: rgba(30, 30, 30, .9);
  color: #fff;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.dockItem:hover::before, .dockItem:focus-visible::before { opacity: 1; transform: translate(0, -50%); }
.languageDock .dockItem::before {
  left: auto;
  right: calc(100% + 10px);
  transform: translate(8px, -50%);
}
.languageDock .dockItem:hover::before, .languageDock .dockItem:focus-visible::before { transform: translate(0, -50%); }
.dockItem small {
  position: static;
  color: var(--text-tertiary);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}
.languageMenu { height: auto; }
.languageMenu__trigger { min-width: 118px; justify-content: space-between; }
.languageDock .dockItem { width: 100%; }
.brand { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 18px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.brand__logo { width: 34px; height: 38px; object-fit: contain; display: block; flex: 0 0 auto; }
.brand__mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #b2272f; color: #fff; font-size: 13px; line-height: 1; letter-spacing: 0; }

.hero {
  position: relative;
  min-height: clamp(460px, 52vw, 640px);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-card);
  background-image:
    linear-gradient(90deg, rgba(30, 30, 30, .58) 0%, rgba(30, 30, 30, .38) 34%, rgba(30, 30, 30, .08) 66%, rgba(30, 30, 30, .02) 100%),
    url("../images/hero/yongsheng-hero-2026-08.png");
  background-size: cover;
  background-position: center;
}
.hero__main { width: min(1520px, calc(100% - 32px)); }
.hero__copy { max-width: 840px; padding: 56px 0; color: #fff; }
.hero h1 { margin: 0; font-size: clamp(48px, 5.6vw, 84px); line-height: 1.04; letter-spacing: 0; font-weight: 900; text-wrap: balance; white-space: pre-line; text-shadow: 0 10px 30px rgba(0,0,0,.24); }
.hero p { margin: 22px 0 0; color: rgba(255, 255, 255, .94); font-size: clamp(20px, 1.7vw, 28px); line-height: 1.55; max-width: 720px; font-weight: 800; white-space: pre-line; text-shadow: 0 7px 22px rgba(0,0,0,.24); }
.hero__controls { display: grid; gap: 16px; max-width: 560px; margin-top: 30px; }
.heroCta { width: fit-content; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #B8FF35; color: #17220A; padding: 0 22px; text-decoration: none; font-weight: 800; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); }
.heroCta:hover { transform: translateY(-1px); }

.search { position: relative; display: block; width: 100%; }
.search svg { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }
.search input { width: 100%; height: 58px; border: 1px solid rgba(255, 255, 255, .72); border-radius: 999px; background: rgba(255, 255, 255, .94); padding: 0 20px 0 52px; color: var(--text-primary); outline: none; box-shadow: 0 12px 34px rgba(0, 0, 0, .14); }
[dir="rtl"] .search input { padding: 0 52px 0 20px; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(155, 107, 76, .14); }

.categoryBar { display: none; }
.categoryBar::-webkit-scrollbar { display: none; }
.categoryBar button { flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--text-secondary); padding: 0 0 10px; font-weight: 750; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.categoryBar button.active { color: var(--text-primary); border-color: var(--accent); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; color: var(--text-secondary); font-size: 13px; }
.toolbar[hidden] { display: none; }
#resultCount { display: none; }
.utility { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; border: 1px solid var(--border-card); border-radius: 999px; background: #fff; color: var(--text-primary); padding: 0 14px; text-decoration: none; box-shadow: none; }
.utility strong { color: var(--accent); font-size: 12px; }
.utility:hover, .utility.active { border-color: var(--accent); color: var(--accent); }

main.wrap { padding-top: 28px; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.card { position: relative; overflow: visible; border: 0; border-radius: 0; background: transparent; transition: transform .25s ease; text-align: center; padding: 0; }
.card:hover { transform: translateY(-3px); }
.card:hover .card__image { box-shadow: var(--shadow-hover); }
.cardOpen { display: block; width: 100%; border: 0; background: transparent; color: inherit; padding: 0; text-align: inherit; }
.card__image {
  position: relative;
  aspect-ratio: 1 / 1.18;
  background: var(--product-surface);
  overflow: hidden;
  border-radius: 0;
  border: 0;
  display: grid;
  place-items: center;
  padding: 0;
  transition: box-shadow .25s ease, background-color .25s ease;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.hotBadge {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: 2;
  min-width: 76px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px 0 20px;
  border-radius: 999px 0 0 999px;
  background: #fe2c55;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(254, 44, 85, .22);
  pointer-events: none;
}
.card__body { display: none; }
.card h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.35; font-weight: 800; color: #172033; }
.card p { margin: 0 0 8px; min-height: 18px; color: #62646B; font-size: 13px; line-height: 1.35; }
.card small { color: #686B73; font-size: 13px; direction: ltr; unicode-bidi: isolate; }
.favorite { display: none; }
.modalFavorite { margin-top: 16px; }
.modalFavorite.active { color: var(--accent); border-color: var(--accent); background: #fff8f2; }
.modalFavorite.active svg { fill: currentColor; }
.empty { padding: 70px 0 110px; text-align: center; color: var(--text-secondary); }
.viewAllRow { display: flex; justify-content: center; padding: 4px 0 58px; }
.viewAllRow[hidden] { display: none; }
.viewAllButton {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--text-primary);
  padding: 8px 2px 5px;
  font-size: 15px;
  font-weight: 800;
}
.viewAllButton:hover { color: var(--accent); }
.exportPanel { position: relative; display: inline-flex; align-items: center; }
.exportPanel[hidden] { display: none; }
.exportMenu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  z-index: 8;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(236, 232, 225, .9);
  border-radius: 14px;
  background: rgba(248, 247, 244, .92);
  box-shadow: 0 18px 50px rgba(45, 35, 25, .12);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.exportMenu[hidden] { display: none; }
.exportMenu button { border: 0; border-radius: 9px; background: transparent; padding: 10px 12px; text-align: start; color: var(--text-primary); font-weight: 700; }
.exportMenu button:hover { background: rgba(255,255,255,.78); color: var(--accent); }

.modal { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 16px; padding: 0; box-shadow: 0 28px 80px rgba(0, 0, 0, .22); background: #fff; overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(0, 0, 0, .4); backdrop-filter: blur(5px); }
.modal__body { display: grid; grid-template-columns: 55fr 45fr; min-height: 620px; }
.modal__image { min-width: 0; border: 0; border-inline-end: 1px solid var(--border-card); background: #fff; padding: 22px; user-select: none; -webkit-user-select: none; }
.modal__image img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; pointer-events: none; }
.modal__info { padding: 72px 60px 54px; }
.eyebrow { color: var(--accent); font-size: 16px; font-weight: 850; letter-spacing: 0; }
.modal h2 { margin: 20px 0 20px; font-size: 32px; line-height: 1.2; font-weight: 900; letter-spacing: 0; }
.modal p { max-width: 330px; margin: 0; color: var(--text-secondary); line-height: 1.65; font-size: 22px; font-weight: 650; }
.modal dl { display: grid; grid-template-columns: 132px 1fr; gap: 18px 54px; margin: 34px 0 38px; font-size: 22px; line-height: 1.25; }
.modal dt { color: var(--text-secondary); font-weight: 700; }
.modal dd { margin: 0; color: var(--text-primary); direction: ltr; unicode-bidi: isolate; }
.modal__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.orderControls { display: flex; align-items: end; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.qtyField { display: grid; gap: 10px; color: var(--text-secondary); font-size: 16px; font-weight: 850; }
.qtyField input {
  width: 132px;
  height: 56px;
  border: 1px solid var(--border-card);
  border-radius: 999px;
  background: #fff;
  color: var(--text-primary);
  padding: 0 18px;
  outline: none;
  font-size: 22px;
  font-weight: 800;
}
.qtyField input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155, 107, 76, .12); }
.orderDialog { width: min(1080px, calc(100% - 32px)); border: 0; border-radius: 16px; padding: 0; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.22); }
.orderDialog::backdrop { background: rgba(0, 0, 0, .4); backdrop-filter: blur(5px); }
.orderDialog__body { padding: 34px 34px 28px; }
.orderDialog__header h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; }
.orderDialog__header p { margin: 0 0 20px; color: var(--text-secondary); line-height: 1.6; }
.orderCustomer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.orderCustomer label { display: grid; gap: 6px; color: var(--text-secondary); font-size: 12px; font-weight: 800; }
.orderCustomer input {
  width: 100%;
  height: 40px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
  padding: 0 12px;
  outline: none;
}
.orderCustomer input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155, 107, 76, .12); }
.orderTableWrap { max-height: min(58vh, 540px); overflow: auto; border: 1px solid var(--border-card); border-radius: 8px; background: #fff; }
.orderTable { width: 100%; border-collapse: collapse; min-width: 820px; font-size: 13px; }
.orderTable th, .orderTable td { border-bottom: 1px solid var(--border-card); padding: 8px 10px; text-align: start; vertical-align: middle; }
.orderTable th { position: sticky; top: 0; z-index: 1; background: #f7f3ee; color: var(--text-secondary); font-size: 12px; font-weight: 850; }
.orderTable img { width: 58px; height: 58px; object-fit: cover; display: block; background: var(--surface); }
.orderQtyInput { width: 76px; height: 34px; border: 1px solid var(--border-card); border-radius: 8px; padding: 0 8px; }
.orderRemove { border: 0; background: transparent; color: var(--text-secondary); font-weight: 850; padding: 6px 4px; }
.orderRemove:hover { color: var(--accent); }
.shareScopeBanner {
  margin: 0 0 24px;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border-card);
  color: var(--text-secondary);
}
.shareScopeBanner[hidden] { display: none; }
.shareScopeBanner > div { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.shareScopeBanner strong { color: var(--text-primary); font-size: 15px; }
.shareDialog {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  border: 0;
  border-radius: 16px;
  padding: 0;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0,0,0,.22);
  overflow: auto;
  overscroll-behavior: contain;
}
.shareDialog::backdrop { background: rgba(0,0,0,.42); backdrop-filter: blur(5px); }
.shareDialog__body { padding: 44px 44px 38px; }
.shareDialog__header { max-width: 760px; }
.shareDialog__header h2 { margin: 10px 0 10px; font-size: 30px; line-height: 1.2; }
.shareDialog__header p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.shareMode {
  width: fit-content;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 26px 0 30px;
  padding: 4px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: #f5f2ed;
}
.shareMode label { position: relative; cursor: pointer; }
.shareMode input { position: absolute; opacity: 0; pointer-events: none; }
.shareMode span { min-height: 38px; display: grid; place-items: center; padding: 0 16px; border-radius: 6px; color: var(--text-secondary); font-size: 13px; font-weight: 800; }
.shareMode input:checked + span { background: #fff; color: var(--text-primary); box-shadow: 0 2px 10px rgba(40,30,20,.08); }
.shareSection { padding: 0 0 28px; }
.shareSection__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.shareSection__heading h3 { margin: 0; font-size: 16px; }
.shareSection__heading span, .shareSection__heading strong { color: var(--text-secondary); font-size: 12px; }
.shareCategoryOptions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.shareCategoryOption {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--border-card);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.shareCategoryOption:has(input:checked) { border-color: var(--accent); background: #fff9f4; }
.shareCategoryOption input { width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; }
.shareCategoryOption span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 750; }
.shareCategoryOption small { margin-inline-start: auto; color: var(--text-tertiary); font-size: 11px; }
.shareProductTools { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto; gap: 8px; margin-bottom: 10px; }
.shareProductSearch { position: relative; }
.shareProductSearch svg { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); }
.shareProductSearch input { width: 100%; height: 40px; border: 1px solid var(--border-card); border-radius: 8px; padding: 0 12px 0 40px; outline: none; }
[dir="rtl"] .shareProductSearch input { padding: 0 40px 0 12px; }
.shareProductSearch input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(155,107,76,.12); }
.shareProductList { max-height: 360px; overflow: auto; border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
.shareProductOption { display: grid; grid-template-columns: auto 58px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 74px; padding: 8px 4px; border-bottom: 1px solid var(--border-card); cursor: pointer; }
.shareProductOption:last-child { border-bottom: 0; }
.shareProductOption input { width: 18px; height: 18px; accent-color: var(--accent); }
.shareProductOption img { width: 58px; height: 58px; object-fit: contain; background: #fff; }
.shareProductOption__text { min-width: 0; display: grid; gap: 4px; }
.shareProductOption__text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.shareProductOption__text small, .shareProductOption > small { color: var(--text-secondary); font-size: 11px; direction: ltr; unicode-bidi: isolate; }
.shareProductHint { min-height: 18px; margin: 8px 0 0; color: var(--text-secondary); font-size: 12px; }
.shareGenerateRow { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 4px; }
.shareGenerate { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 8px; background: #b2272f; color: #fff; padding: 0 18px; font-weight: 850; }
.shareGenerate:hover { background: #971f26; }
.shareError { color: #b2272f; font-size: 13px; font-weight: 750; }
.shareResult { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 30px; align-items: center; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border-card); }
.shareResult[hidden] { display: none; }
.shareQr { width: 252px; height: 252px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--border-card); background: #fff; }
.shareQr canvas, .shareQr img { width: 220px !important; height: 220px !important; display: block; }
.shareResult__info h3 { margin: 0 0 8px; font-size: 22px; }
.shareResult__info p { margin: 0 0 18px; color: var(--text-secondary); }
.shareResult__info label { display: grid; gap: 6px; margin-bottom: 14px; color: var(--text-secondary); font-size: 12px; font-weight: 800; }
.shareResult__info input { width: 100%; height: 42px; border: 1px solid var(--border-card); border-radius: 8px; padding: 0 12px; color: var(--text-primary); outline: none; direction: ltr; }
.iconButton { position: absolute; z-index: 3; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--border-card); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--text-primary); }
.modal__close { top: 14px; inset-inline-end: 14px; }
.modal__nav { top: 50%; transform: translateY(-50%); }
.modal__nav--prev { inset-inline-start: 14px; }
.modal__nav--next { inset-inline-end: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.82); background-size: contain; background-repeat: no-repeat; background-position: center; cursor: zoom-out; }
.toast { position: fixed; left: 50%; bottom: 32px; z-index: 30; transform: translateX(-50%); background: #1e1e1e; color: #fff; border-radius: 999px; padding: 10px 16px; font-size: 13px; }

.footerVisual {
  min-height: clamp(260px, 30vw, 380px);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  background-image:
    linear-gradient(180deg, rgba(248, 247, 244, .02), rgba(248, 247, 244, .12)),
    url("../images/hero/yongsheng-footer-2026-08.png");
  background-size: cover;
  background-position: center 66%;
  background-repeat: no-repeat;
}
.footer { padding: 50px 0 58px; color: var(--text-secondary); font-size: 15px; text-align: center; }
.footer .wrap { display: grid; justify-items: center; gap: 12px; max-width: 820px; line-height: 1.7; }
.footer strong { color: var(--text-primary); font-size: 22px; line-height: 1.25; font-weight: 900; letter-spacing: .04em; }
.footer__phone { color: var(--text-primary); font-size: 18px; font-weight: 850; text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.footer__phone:hover { color: #b2272f; }

[dir="rtl"] body { font-size: 105%; }
[dir="rtl"] .hero {
  background-image:
    linear-gradient(270deg, rgba(30, 30, 30, .58) 0%, rgba(30, 30, 30, .38) 34%, rgba(30, 30, 30, .08) 66%, rgba(30, 30, 30, .02) 100%),
    url("../images/hero/yongsheng-hero-2026-08.png");
}
[dir="rtl"] .modal__image { border-inline-end: 0; border-inline-start: 1px solid var(--border-card); }

@media (max-width: 1180px) {
  .siteNav { min-width: auto; }
  .brand { text-align: start; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .wrap { width: min(100% - 20px, 1280px); }
  .announcement { height: auto; min-height: 30px; line-height: 1.35; padding: 6px 12px; font-size: 11px; }
  .siteHeader__row { min-height: 58px; align-items: center; padding: 8px 0; gap: 8px; }
  .siteNav { min-width: auto; }
  .navMenu__panel { inset-inline-start: 0; }
  .categoryMega { grid-template-columns: minmax(190px, 1fr); gap: 8px; }
  .categorySubPanels { width: 100%; min-height: 0; }
  .categorySubPanel {
    position: static;
    display: none;
    width: 100%;
    max-height: 320px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .categorySubPanel.is-active { display: grid; }
  .dockItem { width: 100%; height: 42px; border-radius: 12px; font-size: 12px; }
  .utility { min-height: 32px; padding: 0 10px; font-size: 12px; }
  .languageMenu__trigger { min-width: 92px; padding-inline: 10px; }
  .brand { flex: 1 1 auto; min-width: 0; justify-content: flex-start; gap: 6px; font-size: 13px; letter-spacing: 0; text-transform: none; line-height: 1.18; }
  .brand span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .brand__logo { width: 28px; height: 30px; }
  .hero__actions { flex: 0 0 auto; display: grid; grid-template-columns: 1fr; gap: 8px; justify-items: end; }
  .hero {
    min-height: min(72svh, 560px);
    align-items: end;
    background-image:
      linear-gradient(180deg, rgba(30, 30, 30, .08) 0%, rgba(30, 30, 30, .3) 52%, rgba(30, 30, 30, .62) 100%),
      url("../images/hero/yongsheng-hero-2026-08.png");
    background-size: auto 100%;
    background-position: 56% center;
    background-repeat: no-repeat;
    background-color: #d7c4a9;
  }
  .hero__main { width: min(100% - 20px, 1280px); }
  .hero__copy { padding: 32px 0 28px; }
  .hero h1 { font-size: clamp(30px, 9.8vw, 46px); line-height: 1.06; max-width: 92vw; }
  .hero p { margin-top: 16px; font-size: 17px; line-height: 1.42; max-width: 86vw; }
  .hero__controls { max-width: 100%; gap: 14px; margin-top: 24px; }
  .heroCta { min-height: 44px; padding: 0 20px; }
  .search input { height: 54px; padding-inline-end: 16px; }
  main.wrap { padding-top: 20px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .card:hover { transform: none; }
  .card__image { aspect-ratio: 1 / 1.08; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .footerVisual { min-height: 240px; background-position: center 70%; }
  .modal {
    width: calc(100% - 22px);
    max-height: calc(100svh - 22px);
    border-radius: 14px;
    margin: auto;
    scrollbar-width: none;
  }
  .modal::-webkit-scrollbar { display: none; }
  .modal__body { grid-template-columns: 1fr; min-height: 0; }
  .modal__image { height: min(48svh, 390px); aspect-ratio: auto; border: 0; background: #fff; padding: 10px; }
  .modal__image img { object-fit: contain; }
  .modal__info { padding: 22px 18px 26px; }
  .eyebrow { font-size: 14px; }
  .modal h2 { margin: 14px 0 14px; font-size: clamp(28px, 8vw, 40px); line-height: 1.12; }
  .modal p { max-width: none; font-size: 18px; line-height: 1.52; }
  .orderControls { gap: 10px; margin-top: 20px; }
  .qtyField { gap: 8px; font-size: 14px; }
  .qtyField input { width: 126px; height: 48px; font-size: 20px; }
  .modal dl { grid-template-columns: 88px 1fr; gap: 14px 24px; margin: 26px 0 28px; font-size: 20px; }
  .modal__actions .utility { min-height: 36px; }
  .modal__close { top: 10px; inset-inline-end: 10px; width: 42px; height: 42px; }
  .modal__nav { display: none; }
  .orderDialog__body { padding: 24px 16px; }
  .orderCustomer { grid-template-columns: 1fr; }
  .hero__actions { grid-template-columns: repeat(2, auto); }
  .languageMenu { grid-column: 1 / -1; justify-self: end; }
  .shareToggle span { display: none; }
  .shareToggle { width: 34px; padding: 0; justify-content: center; }
  .shareScopeBanner { align-items: flex-start; }
  .shareDialog { width: calc(100% - 20px); max-height: calc(100svh - 20px); border-radius: 14px; scrollbar-width: none; }
  .shareDialog::-webkit-scrollbar { display: none; }
  .shareDialog__body { padding: 34px 16px 24px; }
  .shareDialog__header h2 { font-size: 24px; }
  .shareMode { width: 100%; grid-template-columns: 1fr; }
  .shareCategoryOptions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shareProductTools { grid-template-columns: 1fr 1fr; }
  .shareProductSearch { grid-column: 1 / -1; }
  .shareProductOption { grid-template-columns: auto 50px minmax(0, 1fr); gap: 9px; }
  .shareProductOption img { width: 50px; height: 50px; }
  .shareProductOption > small { display: none; }
  .shareResult { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .shareResult__info { width: 100%; }
}

@media print {
  .announcement, .siteHeader, .hero, .categoryBar, .toolbar, .footer, .favorite, .modal, .shareDialog, .shareScopeBanner, .lightbox, .toast { display: none !important; }
  body { background: #fff; }
  .wrap { width: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .card { break-inside: avoid; box-shadow: none; border-color: #ccc; }
}
