/* TwinHome storefront redesign · 2026-09-28
   Retail hierarchy inspired by modern home-furnishing sites, with original brand styling. */
:root {
  --primary: #0058a3;
  --primary-dark: #003f73;
  --primary-light: #4f94cf;
  --primary-soft: #e7f2fb;
  --primary-gradient: linear-gradient(135deg, #0067b9 0%, #004f91 100%);
  --text-primary: #111111;
  --text-secondary: #484848;
  --text-tertiary: #767676;
  --text-muted: #929292;
  --border-light: #eeeeee;
  --border: #dfdfdf;
  --border-dark: #bdbdbd;
  --bg: #f5f5f5;
  --bg-card: #ffffff;
  --bg-hover: #eeeeee;
  --shadow-primary: 0 10px 26px rgba(0,88,163,.2);
  --sf-ink: #111111;
  --sf-muted: #676767;
  --sf-line: #dfdfdf;
  --sf-paper: #ffffff;
  --sf-wash: #f5f5f5;
  --sf-cream: #ffda1a;
  --sf-teal: #0058a3;
  --sf-teal-dark: #003f73;
  --sf-coral: #0058a3;
  --sf-yellow: #ffda1a;
  --sf-radius: 4px;
  --sf-content: 1280px;
}

html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  background: var(--sf-paper) !important;
  color: var(--sf-ink) !important;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(49, 95, 89, .28) !important;
  outline-offset: 2px;
}
.wrap { width: min(calc(100% - 48px), var(--sf-content)) !important; max-width: var(--sf-content) !important; }

/* Announcement and global navigation */
.topbar {
  height: 34px !important;
  background: var(--sf-ink) !important;
  border: 0 !important;
  color: #fff !important;
}
.topbar .wrap { height: 34px; }
.topbar-left { gap: 12px !important; }
.topbar-left a, .topbar-right a { color: #fff !important; opacity: .9; }
.topbar-badge {
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 700;
}
.topbar-right { gap: 18px !important; }
.admin-topbar-btn { color: #fff !important; }

.header {
  position: sticky !important;
  top: 0;
  z-index: 1100;
  min-height: 82px !important;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid var(--sf-line) !important;
  box-shadow: none !important;
  backdrop-filter: blur(14px);
}
.header .wrap {
  display: grid !important;
  grid-template-columns: 180px minmax(280px, 1fr) auto !important;
  align-items: center !important;
  gap: 30px !important;
  min-height: 82px !important;
}
.brand { min-width: 0 !important; gap: 11px !important; }
.brand-logo {
  position: relative;
  display: grid !important;
  place-items: center;
  width: 58px !important;
  height: 44px !important;
  overflow: hidden;
  border-radius: 9px !important;
  background: #0058a3 !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-family: Arial Black, Inter, sans-serif !important;
  font-size: 18px !important;
  font-weight: 900;
  letter-spacing: -.05em;
}
.brand-logo::before { content: ""; position: absolute; inset: 7px 6px; border: 3px solid #ffda1a; border-radius: 50%; transform: rotate(-5deg); }
.brand-logo span { position: relative; z-index: 1; transform: skew(-6deg); }
.brand-cn { color: var(--sf-ink) !important; font-size: 20px !important; font-weight: 900 !important; letter-spacing: -.025em !important; }
.brand-en { color: var(--sf-muted) !important; letter-spacing: .13em !important; }
.search-area { width: 100% !important; }
.search-bar { display: block !important; width: 100% !important; }
.sf-global-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  width: 100%;
  height: 48px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #eef1ef;
  transition: border-color .2s, background .2s;
}
.sf-global-search:focus-within { border-color: var(--sf-teal); background: #fff; }
.sf-global-search input {
  width: 100%;
  padding: 0 8px 0 22px;
  border: 0;
  outline: 0 !important;
  background: transparent;
  color: var(--sf-ink);
  font-size: 14px;
}
.sf-global-search button {
  border: 0;
  background: transparent;
  color: var(--sf-ink);
  cursor: pointer;
  font-size: 18px;
}
.user-actions { gap: 2px !important; }
.action-btn {
  position: relative;
  min-width: 58px !important;
  padding: 9px 8px !important;
  border-radius: 4px !important;
  color: var(--sf-ink) !important;
}
.action-btn:hover { background: var(--sf-wash) !important; color: var(--sf-ink) !important; }
.action-btn i { font-size: 19px !important; }
.action-btn span:not(.badge) { font-size: 11px !important; }
.action-btn .badge { background: var(--sf-coral) !important; }
.product-favorite-toggle { position: absolute; top: 14px; right: 14px; z-index: 4; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #111; cursor: pointer; box-shadow: 0 5px 14px rgba(0,0,0,.12); }
.product-favorite-toggle:hover, .product-favorite-toggle.is-favorite { background: #111; color: #fff; }
.product-favorite-toggle.is-favorite i { color: #ffda1a; }
.share-btn.is-favorite { color: #0058a3; font-weight: 800; }
.share-btn.is-favorite i { color: #0058a3; }
.favorites-page { padding: 54px 24px 96px; }
.favorites-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--sf-line); }
.favorites-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 24px 0; padding: 15px 18px; border: 1px solid #e7d8a1; background: #fff9df; color: #574a20; font-size: 13px; }
.favorites-notice button { border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-weight: 800; }
.favorites-bulk-toolbar { display: flex; align-items: center; gap: 16px; margin: 24px 0 0; padding: 12px 14px; border: 1px solid var(--sf-line); background: #fff; }
.favorites-select-all { display: inline-flex; align-items: center; gap: 8px; color: var(--sf-ink); font-size: 13px; font-weight: 800; cursor: pointer; }
.favorites-select-all input, .favorite-select-toggle input { width: 17px; height: 17px; accent-color: #0058a3; }
.favorites-selected-count { color: var(--sf-muted); font-size: 12px; }
.favorites-add-cart { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; margin-left: auto; padding: 0 15px; border: 0; border-radius: 3px; background: #0058a3; color: #fff; cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; }
.favorites-add-cart:hover { background: #00447d; }
.favorites-add-cart:disabled { background: #d5d9da; color: #7b8588; cursor: not-allowed; }
.favorites-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 18px; padding-top: 30px; }
.favorite-select-toggle { position: absolute; left: 14px; bottom: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 9px 0 7px; border-radius: 3px; background: rgba(255,255,255,.94); color: #111; cursor: pointer; box-shadow: 0 5px 14px rgba(0,0,0,.12); font-size: 11px; font-weight: 800; }
.favorite-select-toggle span { line-height: 1; }
.favorites-empty { display: grid; justify-items: center; gap: 10px; padding: 100px 24px; color: var(--sf-muted); text-align: center; }
.favorites-empty i { color: var(--sf-teal); font-size: 42px; }
.favorites-empty h2 { margin: 8px 0 0; color: var(--sf-ink); font-size: 24px; }
.favorites-empty p { margin: 0 0 12px; font-size: 13px; }
@media (max-width: 900px) { .favorites-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 620px) { .favorites-head { align-items: flex-start; flex-direction: column; } .favorites-page { padding: 34px 16px 72px; } .favorites-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 12px; } .favorites-notice { align-items: flex-start; flex-direction: column; } .favorites-bulk-toolbar { flex-wrap: wrap; gap: 10px; } .favorites-add-cart { width: 100%; justify-content: center; margin-left: 0; } }
.sf-account-action { border: 0; background: transparent; cursor: pointer; }

.sf-primary-nav {
  position: relative;
  z-index: 1050;
  background: #fff;
  border-bottom: 1px solid var(--sf-line);
}
.sf-primary-nav .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.sf-primary-nav .wrap::-webkit-scrollbar { display: none; }
.sf-primary-nav button {
  flex: 0 0 auto;
  padding: 14px 0 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--sf-ink);
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}
.sf-primary-nav button:hover { border-bottom-color: var(--sf-teal); }
.sf-nav-all { color: var(--sf-teal) !important; }
.sf-primary-nav button.active { border-bottom-color: var(--sf-teal); }
.sf-mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1040;
  padding: 30px 0 36px;
  border-bottom: 1px solid var(--sf-line);
  background: #fff;
  box-shadow: 0 22px 42px rgba(23,35,33,.13);
}
.sf-mega-menu[hidden] { display: none !important; }
.sf-mega-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.sf-mega-head h2 { margin: 7px 0 0; color: var(--sf-ink); font-family: "Noto Serif SC", serif; font-size: 29px; }
.sf-mega-head > button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--sf-line); border-radius: 50%; background: #fff; cursor: pointer; }
.sf-mega-room-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px 46px; }
.sf-mega-room {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sf-ink);
  cursor: pointer;
  text-align: left;
}
.sf-mega-room-art { position: relative; display: block; width: 112px; height: 82px; overflow: hidden; background: linear-gradient(145deg,#edf1ef,#a6b8af); }
.sf-mega-room:nth-child(2n) .sf-mega-room-art { background: linear-gradient(145deg,#f2e8db,#bd9473); }
.sf-mega-room-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.sf-mega-room-art img[hidden] { display: none !important; }
.sf-mega-room-art.is-missing::after { content: "空间"; position: absolute; inset: 0; display: grid; place-items: center; color: rgba(23,35,33,.5); font-size: 12px; letter-spacing: .16em; }
.sf-mega-room:hover img { transform: scale(1.04); }
.sf-mega-room:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.sf-mega-room strong { font-size: 15px; }
.sf-mega-room > i { font-size: 17px; }
.sf-mega-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--sf-line); color: var(--sf-muted); font-size: 12px; }
.sf-mega-foot button { padding: 0 0 8px; border: 0; border-bottom: 2px solid var(--sf-ink); background: transparent; color: var(--sf-ink); cursor: pointer; font-weight: 800; }

/* Desktop hover mega navigation */
.sf-nav-shell { position: sticky; top: 82px; z-index: 1090; }
.sf-nav-shell .sf-primary-nav { position: relative; z-index: 3; }
.sf-nav-shell .sf-primary-nav .wrap { overflow: visible; }
.sf-nav-shell .sf-primary-nav button { white-space: nowrap; }
.sf-nav-shell .sf-primary-nav button.active { color: #0058a3; border-bottom-color: #0058a3; }
.sf-mega-stack { position: relative; z-index: 2; }
.sf-mega-backdrop { position: absolute; top: 48px; left: 0; right: 0; height: calc(100vh - 130px); z-index: 1; background: rgba(0,0,0,.42); }
.sf-mega-backdrop[hidden], .sf-mega-panel[hidden] { display: none !important; }
.sf-mega-panel { position: absolute; top: 0; left: 0; right: 0; border-top: 1px solid #eee; border-bottom: 1px solid #d4d4d4; background: #fff; box-shadow: 0 24px 45px rgba(0,0,0,.16); animation: sfMegaEnter .16s ease-out both; }
.sf-mega-panel .sf-mega-inner { max-height: calc(100vh - 150px); padding: 30px 0 34px; overflow-y: auto; }
@keyframes sfMegaEnter { from { opacity: 0; transform: translateY(-7px); } to { opacity: 1; transform: translateY(0); } }
.sf-mega-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.sf-mega-section-title small, .sf-mega-kicker, .sf-mega-service-columns small, .sf-mega-business > div > small, .sf-mega-app small { color: #0058a3; font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.sf-mega-section-title h2, .sf-mega-section-title h3, .sf-mega-catalog h2, .sf-mega-service-columns h2, .sf-mega-business h2, .sf-mega-app h2 { margin: 6px 0 0; color: #111; font-size: 26px; line-height: 1.18; }
.sf-mega-section-title p { max-width: 580px; margin: 8px 0 0; color: #666; font-size: 12px; }
.sf-mega-section-title > button { padding: 0 0 7px; border: 0; border-bottom: 2px solid #111; background: transparent; cursor: pointer; font-weight: 800; }

.sf-mega-catalog { display: grid; grid-template-columns: 232px minmax(0,1fr); gap: 42px; }
.sf-mega-catalog aside { padding-right: 28px; border-right: 1px solid #ddd; }
.sf-mega-catalog aside h2 { margin-bottom: 18px; }
.sf-mega-catalog aside button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; border: 0; background: transparent; cursor: pointer; color: #111; font-size: 13px; font-weight: 800; text-align: left; }
.sf-mega-catalog aside button:hover,
.sf-mega-catalog aside button.active { color: #0058a3; }
.sf-mega-catalog aside button.active { border-right: 3px solid #0058a3; }
.sf-mega-link-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 36px; }
.sf-mega-link-columns > div { display: grid; align-content: start; gap: 6px; }
.sf-mega-link-columns > div[hidden] { display: none; }
.sf-mega-link-columns strong { margin-bottom: 3px; font-size: 13px; }
.sf-mega-link-columns button { width: max-content; padding: 3px 0; border: 0; background: transparent; color: #555; cursor: pointer; font-size: 12px; }
.sf-mega-link-columns button:hover { color: #0058a3; text-decoration: underline; text-underline-offset: 3px; }
.sf-mega-product-picks { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e2e2e2; }
.sf-mega-product-pick { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.sf-mega-product-pick > span:first-child { position: relative; display: block; width: 68px; height: 58px; overflow: hidden; background: #f1f1f1; }
.sf-mega-product-pick img { width: 100%; height: 100%; object-fit: cover; }
.sf-mega-product-pick .is-missing::after { content: "3D"; position: absolute; inset: 0; display: grid; place-items: center; color: #0058a3; font-size: 12px; font-weight: 900; }
.sf-mega-product-pick strong { display: -webkit-box; overflow: hidden; color: #111; font-size: 11px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.sf-mega-product-pick small { display: block; margin-top: 5px; color: #0058a3; font-weight: 800; }

.sf-mega-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.sf-mega-feature-grid > button, .sf-mega-new-grid > button, .sf-mega-inspiration-editorial > button { position: relative; min-width: 0; overflow: hidden; border: 0; background: #111; cursor: pointer; color: #fff; text-align: left; }
.sf-mega-feature-grid img { width: 100%; height: 210px; object-fit: cover; opacity: .84; transition: transform .35s, opacity .35s; }
.sf-mega-feature-grid button:hover img, .sf-mega-new-grid button:hover img, .sf-mega-inspiration-editorial button:hover img { transform: scale(1.035); opacity: .72; }
.sf-mega-feature-grid span { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 44px 20px 18px; background: linear-gradient(transparent,rgba(0,0,0,.82)); }
.sf-mega-feature-grid small { grid-column: 1 / -1; font-size: 10px; letter-spacing: .15em; }
.sf-mega-feature-grid strong { font-size: 16px; }

.sf-mega-service-columns { display: grid; grid-template-columns: .9fr 1.2fr .9fr; gap: 38px; }
.sf-mega-service-columns > div { min-width: 0; }
.sf-mega-service-columns h2 { margin-bottom: 20px; }
.sf-mega-service-columns > div > button:not(.sf-mega-visual-link) { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 0; border: 0; border-bottom: 1px solid #ddd; background: transparent; cursor: pointer; font-weight: 800; text-align: left; }
.sf-mega-service-columns > div > button:not(.sf-mega-visual-link):hover { color: #0058a3; }
.sf-mega-visual-link { position: relative; display: block; width: 100%; height: 132px; margin-bottom: 14px; overflow: hidden; border: 0; background: #eee; cursor: pointer; }
.sf-mega-visual-link img { width: 100%; height: 100%; object-fit: cover; }
.sf-mega-visual-link span { position: absolute; inset: auto 0 0; display: flex; justify-content: space-between; padding: 30px 15px 13px; background: linear-gradient(transparent,rgba(0,0,0,.72)); color: #fff; font-weight: 900; }

.sf-mega-inspiration { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 50px; }
.sf-mega-inspiration-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 30px; }
.sf-mega-inspiration-list button { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 14px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.sf-mega-inspiration-list img { width: 92px; height: 62px; object-fit: cover; }
.sf-mega-inspiration-list strong { font-size: 13px; }
.sf-mega-inspiration-editorial { display: grid; gap: 16px; }
.sf-mega-inspiration-editorial > button { height: 146px; }
.sf-mega-inspiration-editorial img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform .35s, opacity .35s; }
.sf-mega-inspiration-editorial span { position: absolute; inset: auto 0 0; display: grid; padding: 38px 16px 14px; background: linear-gradient(transparent,rgba(0,0,0,.84)); }
.sf-mega-inspiration-editorial small { margin-top: 4px; color: #ddd; }

.sf-mega-new-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sf-mega-new-grid > button { height: 230px; }
.sf-mega-new-grid img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .35s, opacity .35s; }
.sf-mega-new-grid span { position: absolute; inset: auto 0 0; display: grid; padding: 48px 17px 16px; background: linear-gradient(transparent,rgba(0,0,0,.84)); }
.sf-mega-new-grid small { color: #ffda1a; font-size: 10px; font-weight: 900; letter-spacing: .15em; }
.sf-mega-new-grid strong { margin-top: 4px; font-size: 15px; }

.sf-mega-business { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 64px; padding: 8px 0; }
.sf-mega-business p { max-width: 560px; margin: 15px 0 24px; color: #555; line-height: 1.75; }
.sf-mega-business-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; background: #ddd; border: 1px solid #ddd; }
.sf-mega-business-grid button { display: grid; align-content: center; min-height: 180px; padding: 24px; border: 0; background: #fff; cursor: pointer; text-align: left; }
.sf-mega-business-grid button:hover { background: #f2f6f8; }
.sf-mega-business-grid i { margin-bottom: 24px; color: #0058a3; font-size: 28px; }
.sf-mega-business-grid strong { font-size: 15px; }
.sf-mega-business-grid span { margin-top: 8px; color: #666; font-size: 11px; line-height: 1.5; }

@media (min-width: 1024px) {
  #sfMega-app .sf-mega-inner { display: flex; justify-content: flex-end; }
}
.sf-mega-app { display: grid; grid-template-columns: 148px 1fr; align-items: center; gap: 28px; width: min(100%, 620px); padding: 6px 0; }
.sf-app-mark { position: relative; display: grid; place-items: center; width: 148px; height: 148px; overflow: hidden; background: repeating-linear-gradient(45deg,#0058a3 0 12px,#fff 12px 20px,#ffda1a 20px 28px); }
.sf-app-mark::before { content: ""; position: absolute; inset: 30px; background: #0058a3; border: 7px solid #fff; border-radius: 50%; }
.sf-app-mark span { position: relative; z-index: 1; color: #ffda1a; font-size: 28px; font-weight: 900; }
.sf-mega-app p { margin: 12px 0 18px; color: #333; font-size: 16px; line-height: 1.65; }
.sf-mega-app .sf-actions { margin-top: 18px; }
.sf-mega-app .sf-button { text-decoration: none; }

/* Home */
#page-home { overflow-x: clip; background: #fff !important; }
.storefront-home { padding: 28px 0 84px; }
.sf-hero {
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  min-height: 520px;
  overflow: hidden;
  background: var(--sf-cream);
}
.sf-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 4.6vw, 72px);
}
.sf-eyebrow {
  color: var(--sf-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.sf-hero h1 {
  max-width: 640px;
  margin: 18px 0 20px;
  color: var(--sf-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(42px, 4.35vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.sf-hero-copy > p {
  max-width: 520px;
  margin: 0;
  color: #53635f;
  font-size: 16px;
  line-height: 1.85;
}
.sf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 25px;
  border: 1px solid var(--sf-ink);
  border-radius: 999px;
  background: #fff;
  color: var(--sf-ink);
  cursor: pointer;
  font-weight: 750;
  transition: transform .2s, background .2s, color .2s;
}
.sf-button:hover { transform: translateY(-2px); }
.sf-button.primary { background: var(--sf-ink); color: #fff; }
.sf-button.primary:hover { background: var(--sf-teal); border-color: var(--sf-teal); }
.sf-hero-facts { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--sf-muted); font-size: 12px; }
.sf-hero-facts span { display: inline-flex; align-items: center; gap: 7px; }
.sf-hero-facts i { color: var(--sf-teal); font-size: 15px; }
.sf-hero-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px;
  min-height: 520px;
  background: #dce5df;
}
.sf-hero-photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eef2, #8aa9c4);
}
.sf-hero-photo:first-child { grid-row: 1 / span 2; }
.sf-hero-photo:nth-child(2) { background: linear-gradient(145deg, #fff3a5, #d8b611); }
.sf-hero-photo:nth-child(3) { background: linear-gradient(145deg, #dce8f2, #4e7faa); }
.sf-hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.sf-hero-photo img[hidden], .sf-room-art img[hidden] { display: none !important; }
.sf-hero-photo:hover img { transform: scale(1.025); }
.sf-hero-photo.is-missing::after, .sf-room-art.is-missing::after, .product-image.is-missing::after {
  content: "图片暂未加载，点击查看详情";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: rgba(23,35,33,.58);
  font-size: 12px;
  letter-spacing: .08em;
  text-align: center;
}
.sf-hero-note {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: 230px;
  padding: 14px 16px;
  background: rgba(255,255,255,.92);
  color: var(--sf-ink);
  font-size: 12px;
  line-height: 1.65;
  backdrop-filter: blur(8px);
}

.sf-section { margin-top: 76px; }
.sf-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.sf-section-head h2 {
  margin: 7px 0 0;
  color: var(--sf-ink);
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -.025em;
}
.sf-section-head p { max-width: 520px; margin: 8px 0 0; color: var(--sf-muted); line-height: 1.7; }
.sf-text-link {
  flex: 0 0 auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--sf-ink);
  background: transparent;
  color: var(--sf-ink);
  cursor: pointer;
  font-weight: 750;
}
.sf-room-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.sf-room-card { padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.sf-room-art {
  position: relative;
  aspect-ratio: .82;
  overflow: hidden;
  background: linear-gradient(145deg, #eef1ed, #b6c4bc);
}
.sf-room-card:nth-child(2n) .sf-room-art { background: linear-gradient(145deg, #efe5d7, #c49c77); }
.sf-room-card:nth-child(3n) .sf-room-art { background: linear-gradient(145deg, #dce4e8, #7c949c); }
.sf-room-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sf-room-card:hover img { transform: scale(1.035); }
.sf-room-copy { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 1px 0; }
.sf-room-copy strong { font-size: 16px; }
.sf-room-copy i { font-size: 18px; }

.sf-editorial-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 18px; }
.sf-editorial-card {
  position: relative;
  display: flex;
  min-height: 380px;
  padding: 34px;
  overflow: hidden;
  border: 0;
  background: #0058a3;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.sf-editorial-card:nth-child(2) { background: #ffda1a; color: #111; }
.sf-editorial-card:nth-child(3) { background: #e7e7e7; color: #111; }
.sf-editorial-card::before {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 230px;
  height: 230px;
  border: 56px solid rgba(255,255,255,.37);
  border-radius: 50%;
}
.sf-editorial-card:nth-child(2)::before { border-radius: 4px; transform: rotate(28deg); }
.sf-editorial-card:nth-child(3)::before { width: 170px; height: 260px; border-radius: 100px 100px 0 0; }
.sf-editorial-copy { position: relative; z-index: 1; align-self: flex-end; max-width: 330px; }
.sf-editorial-copy i { display: block; margin-bottom: 44px; font-size: 42px; }
.sf-editorial-copy h3 { margin: 0 0 12px; font-size: clamp(25px, 2.6vw, 36px); line-height: 1.18; }
.sf-editorial-copy p { margin: 0 0 22px; color: inherit; line-height: 1.7; opacity: .82; }
.sf-round-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--sf-ink); color: #fff; }

.category-section { margin-top: 76px !important; padding: 0 !important; background: transparent !important; }
.category-section .section-header, .recommend-section .recommend-tabs { display: none !important; }
.category-grid { display: grid !important; grid-template-columns: repeat(6, minmax(0,1fr)) !important; gap: 10px !important; }
.category-card {
  min-height: 136px !important;
  padding: 22px !important;
  border: 1px solid var(--sf-line) !important;
  border-radius: var(--sf-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: left !important;
}
.category-card:hover { border-color: var(--sf-ink) !important; transform: none !important; }
.category-card-icon { color: var(--sf-teal) !important; font-size: 23px !important; }
.category-card-art { display: none; }
.category-card-name { margin-top: 17px !important; color: var(--sf-ink) !important; font-size: 15px !important; font-weight: 750 !important; }
.category-card-desc { margin-top: 5px !important; color: var(--sf-muted) !important; font-size: 11px !important; }

.recommend-section { margin-top: 32px !important; padding: 0 !important; background: transparent !important; }
.recommend-grid, .list-grid, .search-results-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 34px 18px !important;
}
.product-card { overflow: visible !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.product-card:hover { transform: none !important; box-shadow: none !important; }
.product-image {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #edf1ef !important;
}
.product-image img { object-fit: cover !important; }
.product-info { padding: 14px 2px 0 !important; }
.product-title { min-height: 42px; color: var(--sf-ink) !important; font-size: 13px !important; line-height: 1.55 !important; font-weight: 700 !important; }
.product-title[type="button"] { display: -webkit-box; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; font-family: inherit; }
.product-price-row { align-items: baseline !important; margin-top: 9px !important; }
.product-price { color: var(--sf-ink) !important; font-size: 21px !important; font-weight: 800 !important; }
.product-price .currency { font-size: 13px !important; }
.product-original { color: var(--sf-muted) !important; }
.product-meta { margin-top: 10px !important; color: var(--sf-muted) !important; }
.product-quick { gap: 8px !important; padding: 12px !important; background: linear-gradient(transparent, rgba(0,0,0,.58)) !important; }
.product-quick-btn { min-height: 40px !important; border-radius: 999px !important; }
.product-quick-btn.primary { background: var(--sf-ink) !important; }
.product-badge { top: 10px !important; left: 10px !important; }
.product-badge span { border-radius: 2px !important; background: var(--sf-ink) !important; }

.sf-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border-top: 1px solid var(--sf-line);
  border-bottom: 1px solid var(--sf-line);
}
.sf-service-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 144px;
  padding: 30px 24px;
  border: 0;
  border-right: 1px solid var(--sf-line);
  background: #fff;
  color: var(--sf-ink);
  cursor: pointer;
  text-align: left;
}
.sf-service-card:last-child { border-right: 0; }
.sf-service-card > i { font-size: 27px; }
.sf-service-card strong { display: block; margin-bottom: 7px; font-size: 15px; }
.sf-service-card span { color: var(--sf-muted); font-size: 12px; line-height: 1.6; }

/* Catalogue, search, taxonomy, service and detail pages */
.list-page, .taxonomy-page, .detail-page { padding-top: 46px !important; padding-bottom: 90px !important; }
.list-header, .taxonomy-page-head { margin-bottom: 30px !important; }
.list-header { padding: 0 0 24px !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
.list-title, .taxonomy-page-head h1, .detail-title, .search-page-title, .service-page-title {
  color: var(--sf-ink) !important;
  font-family: "Noto Serif SC", "Songti SC", serif !important;
  letter-spacing: -.025em !important;
}
.list-title, .taxonomy-page-head h1 { font-size: clamp(34px, 4vw, 54px) !important; }
.list-title-sub, .taxonomy-page-head p { color: var(--sf-muted) !important; }
.list-filters { padding: 22px 0 !important; border: 0 !important; border-top: 1px solid var(--sf-line) !important; border-bottom: 1px solid var(--sf-line) !important; border-radius: 0 !important; background: #fff !important; }
.filter-chip, .sort-tab, .taxonomy-tabs button { min-height: 40px !important; border-radius: 999px !important; }
.filter-chip.active, .sort-tab.active, .taxonomy-tabs button.active { background: var(--sf-ink) !important; border-color: var(--sf-ink) !important; color: #fff !important; }
.list-toolbar { margin: 20px 0 34px !important; padding: 0 !important; border: 0 !important; background: #fff !important; box-shadow: none !important; }
.taxonomy-detail-grid { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 18px !important; }
.taxonomy-detail-card { overflow: hidden !important; border: 1px solid var(--sf-line) !important; border-radius: 0 !important; box-shadow: none !important; }
.taxonomy-detail-card:hover { transform: none !important; border-color: var(--sf-ink) !important; }
.search-page { background: #fff !important; }
.search-page-inner { max-width: var(--sf-content) !important; padding: 58px 24px 90px !important; }
.search-page-bar { border: 1px solid var(--sf-line) !important; border-radius: 999px !important; background: var(--sf-wash) !important; box-shadow: none !important; }
.search-page-submit { border-radius: 999px !important; background: var(--sf-ink) !important; }
.service-page, .flash-page, .after-sales-page { max-width: var(--sf-content) !important; padding-top: 54px !important; }
.shipping-card, .after-sales-card, .after-sales-process, .flash-banner { border-radius: var(--sf-radius) !important; box-shadow: none !important; }
.service-back, .after-sales-card button { border-radius: 999px !important; }
.sf-delivery-confirm { padding: 8px; }
.sf-delivery-confirm h2 { margin: 14px 0 12px; color: var(--sf-ink); font-family: "Noto Serif SC", serif; font-size: 30px; }
.sf-delivery-confirm > p { margin: 0 0 24px; color: var(--sf-muted); line-height: 1.75; }
.sf-delivery-confirm ol { display: grid; gap: 0; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: delivery; }
.sf-delivery-confirm li { position: relative; display: grid; gap: 5px; padding: 17px 0 17px 48px; border-top: 1px solid var(--sf-line); counter-increment: delivery; }
.sf-delivery-confirm li::before { content: counter(delivery); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sf-ink); color: #fff; font-weight: 800; }
.sf-delivery-confirm li strong { color: var(--sf-ink); }
.sf-delivery-confirm li span { color: var(--sf-muted); font-size: 12px; line-height: 1.6; }
.detail-container { gap: clamp(28px, 5vw, 72px) !important; }
.detail-gallery, .detail-right { border-radius: 0 !important; box-shadow: none !important; }
.detail-gallery { background: var(--sf-wash) !important; }
.gallery-main.is-missing::after { content: "图片暂时无法加载，请切换图片或稍后重试"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: var(--sf-muted); font-size: 13px; letter-spacing: .06em; text-align: center; pointer-events: none; }
.detail-tabs .detail-tab { border: 0; background: transparent; font-family: inherit; }
.detail-content .tab-panel[hidden] { display: none; }
.detail-fold { display: contents; }
.detail-fold > summary, .detail-mobile-media, .detail-mobile-tool, .detail-mobile-share { display: none; }
.gallery-thumb.is-missing::after { content: "图片"; display: grid; place-items: center; width: 100%; height: 100%; color: var(--sf-muted); font-size: 10px; }
.gallery-main.is-missing > img, .gallery-thumb.is-missing > img { display: none !important; }
.detail-tabs { position: sticky; top: 130px; z-index: 20; background: #fff !important; border-bottom: 1px solid var(--sf-line) !important; }
.detail-tab { border-radius: 0 !important; }
.detail-tab.active { color: var(--sf-ink) !important; border-bottom-color: var(--sf-ink) !important; }
.action-button { min-height: 48px !important; border-radius: 999px !important; }
.action-button.buy, .cart-checkout { background: var(--sf-ink) !important; border-color: var(--sf-ink) !important; }

/* Cart, account, checkout and dialogs */
.cart-page, .account-page { max-width: var(--sf-content) !important; }
.cart-main, .cart-groups, .cart-summary, .account-shell, .auth-panel { border-radius: var(--sf-radius) !important; box-shadow: none !important; }
.cart-checkout, .cart-text-button, .cart-group-btn, .checkout-primary, .checkout-secondary, .auth-primary, .auth-secondary { border-radius: 999px !important; }
.modal-content, .customer-service-panel, dialog { border-radius: var(--sf-radius) !important; }

/* Footer */
.site-footer { margin-top: 0 !important; padding: 0 !important; background: #edf1ef !important; border: 0 !important; }
.sf-footer-inner { width: min(calc(100% - 48px), var(--sf-content)); margin: 0 auto; padding: 58px 0 28px; }
.sf-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 54px; }
.sf-footer-brand h2 { margin: 17px 0 10px; font-family: "Noto Serif SC", serif; font-size: 27px; }
.sf-footer-brand p { max-width: 320px; margin: 0; color: var(--sf-muted); line-height: 1.75; }
.sf-footer-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: #0058a3; color: #ffda1a; font-family: inherit; font-size: 22px; font-weight: 900; }
.sf-footer-column strong { display: block; margin: 6px 0 17px; font-size: 14px; }
.sf-footer-column button {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #4f5f5b;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.sf-footer-column button:hover { color: var(--sf-ink); text-decoration: underline; }
.sf-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #ccd7d2; color: var(--sf-muted); font-size: 11px; }
.sf-footer-controls { display: flex; align-items: center; gap: 10px; }
.sf-footer-controls button, .sf-footer-controls select { min-height: 38px; padding: 0 14px; border: 1px solid #bcc9c4; border-radius: 999px; background: transparent; color: var(--sf-ink); cursor: pointer; }

@media (max-width: 1100px) {
  .header .wrap { grid-template-columns: 165px 1fr auto !important; gap: 16px !important; }
  .action-btn span:not(.badge) { display: none !important; }
  .action-btn { min-width: 42px !important; }
  .sf-hero { grid-template-columns: 1fr; }
  .sf-hero-copy { min-height: 440px; }
  .sf-hero-media { min-height: 480px; }
  .sf-room-grid { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .category-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .recommend-grid, .list-grid, .search-results-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .sf-editorial-grid { grid-template-columns: 1fr 1fr; }
  .sf-editorial-card:first-child { grid-column: 1 / -1; }
  .sf-mega-menu { display: none !important; }
  .sf-mega-catalog { grid-template-columns: 200px minmax(0,1fr); gap: 26px; }
  .sf-mega-product-picks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .sf-mega-service-columns { gap: 24px; }
  .sf-mega-inspiration { grid-template-columns: minmax(0,1fr) 280px; gap: 28px; }
  .sf-mega-new-grid { gap: 12px; }
}

@media (max-width: 760px) {
  .sf-mega-panel, .sf-mega-backdrop { display: none !important; }
  .wrap { width: min(calc(100% - 30px), var(--sf-content)) !important; }
  .topbar { height: 30px !important; }
  .topbar .wrap { height: 30px; justify-content: center !important; }
  .topbar-right, .topbar-left a { display: none !important; }
  .topbar-left { justify-content: center; }
  .topbar-badge { font-size: 10px !important; }
  .header { position: relative !important; min-height: 122px !important; }
  .header .wrap {
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 58px 48px;
    min-height: 122px !important;
    gap: 8px 10px !important;
    padding: 8px 0 !important;
  }
  .brand-logo { width: 40px !important; height: 40px !important; font-size: 21px !important; }
  .brand-cn { font-size: 18px !important; }
  .brand-en { font-size: 8px !important; }
  .search-area { grid-column: 1 / -1; grid-row: 2; }
  .sf-global-search { height: 44px; }
  .user-actions { grid-column: 2; grid-row: 1; }
  .user-actions .action-btn:nth-child(2), .user-actions .action-btn:nth-child(3) { display: none !important; }
  .sf-primary-nav .wrap { width: 100% !important; padding: 0 15px; gap: 22px; }
  .storefront-home { padding-top: 16px; }
  .sf-hero { min-height: auto; }
  .sf-hero-copy { min-height: 400px; padding: 42px 26px; }
  .sf-hero h1 { font-size: 43px; }
  .sf-hero-copy > p { font-size: 14px; }
  .sf-hero-media { min-height: 370px; }
  .sf-hero-note { right: 12px; bottom: 12px; max-width: 210px; }
  .sf-section { margin-top: 56px; }
  .sf-section-head { align-items: flex-start; flex-direction: column; gap: 8px; margin-bottom: 22px; }
  .sf-section-head h2 { font-size: 31px; }
  .sf-room-grid { display: flex; gap: 12px; margin-right: -15px; padding-right: 15px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sf-room-card { flex: 0 0 68%; scroll-snap-align: start; }
  .sf-editorial-grid { display: flex; gap: 12px; margin-right: -15px; padding-right: 15px; overflow-x: auto; scroll-snap-type: x mandatory; }
  .sf-editorial-card, .sf-editorial-card:first-child { flex: 0 0 84%; min-height: 340px; scroll-snap-align: start; }
  .category-grid { display: flex !important; gap: 10px !important; margin-right: -15px; padding-right: 15px; overflow-x: auto; }
  .category-card { flex: 0 0 42%; }
  .recommend-grid, .list-grid, .search-results-grid { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 30px 12px !important; }
  .product-title { min-height: 60px; font-size: 12px !important; }
  .product-meta { display: none !important; }
  .product-quick { position: static !important; display: grid !important; grid-template-columns: 1fr 1fr; padding: 8px !important; opacity: 1 !important; transform: none !important; background: #fff !important; }
  .product-quick-btn { min-width: 0 !important; padding: 0 5px !important; border: 1px solid var(--sf-line) !important; color: var(--sf-ink) !important; font-size: 10px !important; }
  .product-quick-btn.primary { color: #fff !important; }
  .sf-service-grid { grid-template-columns: 1fr 1fr; }
  .sf-service-card:nth-child(2) { border-right: 0; }
  .sf-service-card:nth-child(-n+2) { border-bottom: 1px solid var(--sf-line); }
  .sf-service-card { min-height: 158px; padding: 22px 16px; grid-template-columns: 1fr; gap: 10px; }
  .taxonomy-detail-grid { grid-template-columns: 1fr !important; }
  .list-page, .taxonomy-page, .detail-page { padding-top: 30px !important; }
  .list-toolbar { align-items: flex-start !important; flex-direction: column !important; }
  .sort-tabs { width: 100%; overflow-x: auto; }
  .search-page-inner { padding: 36px 15px 64px !important; }
  .search-page-bar { display: grid !important; grid-template-columns: 1fr auto !important; border-radius: 4px !important; }
  .search-page-bar select { grid-column: 1 / -1; }
  .sf-footer-inner { width: calc(100% - 30px); padding-top: 42px; }
  .sf-footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .sf-footer-brand { grid-column: 1 / -1; }
  .sf-footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .sf-hero-media { grid-template-columns: 1fr 1fr; min-height: 300px; }
  .sf-hero-photo:first-child { grid-row: auto; grid-column: 1 / -1; }
  .sf-hero-facts { gap: 10px; }
  .sf-button { width: 100%; }
  .recommend-grid, .list-grid, .search-results-grid { gap: 26px 10px !important; }
  .category-card { flex-basis: 50%; }
  .sf-footer-grid { grid-template-columns: 1fr; }
  .sf-footer-brand { grid-column: auto; }
}

/* Blue-yellow retail theme for all existing feature pages. */
.sf-hero h1,
.sf-section-head h2,
.sf-mega-head h2,
.sf-footer-brand h2,
.sf-delivery-confirm h2,
.list-title,
.taxonomy-page-head h1,
.detail-title,
.search-page-title,
.service-page-title,
.account-title,
.auth-panel h1,
.inspiration-title,
.assistant-title,
.cart-page-title {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif !important;
  font-weight: 800 !important;
}
.sf-hero-copy { background: #ffda1a; }
.sf-eyebrow { color: #0058a3 !important; }
.sf-editorial-card:first-child .sf-eyebrow,
.sf-editorial-card:first-child i { color: #fff; }
.site-footer { background: #f1f1f1 !important; }
.site-footer-mark { background: #0058a3 !important; color: #ffda1a !important; }
.badge-auth,
.product-badge span,
.filter-chip.active,
.sort-tab.active,
.taxonomy-tabs button.active,
.cart-checkout,
.action-button.buy,
.search-page-submit,
.shipping-submit,
.auth-primary,
#page-account .auth-primary,
#taitaoCheckout .co-primary,
#taitaoCheckout .co-tabs [aria-pressed=true] {
  background: #0058a3 !important;
  border-color: #0058a3 !important;
  color: #fff !important;
}
.product-badge .badge-3d { background: #ffda1a !important; color: #111 !important; }
.list-breadcrumb .current,
.price-amount,
.cart-total-price,
.product-price,
.account-section-tabs button:first-child,
.account-quick-grid button > i:first-child,
.account-stat-strip strong {
  color: #0058a3 !important;
}
#page-account .account-avatar { border-color: #ffda1a !important; background: #0058a3 !important; box-shadow: none !important; }
.account-member-card { border: 1px solid #dfdfdf; border-radius: 2px !important; box-shadow: none !important; }
.account-member-card-head { background: #0058a3 !important; }
.account-member-accent { background: #ffda1a !important; }
.account-member-progress span { background: #0058a3 !important; }
.account-section-tabs button:first-child { border-color: #0058a3 !important; }
#taitaoCheckout { border-radius: 2px !important; background: #fff !important; color: #111 !important; }
#taitaoCheckout::backdrop { background: rgba(0,0,0,.52) !important; }
#taitaoCheckout .co-total strong { color: #0058a3 !important; }
#taitaoCheckout button:focus-visible,
#taitaoCheckout input:focus-visible,
#taitaoCheckout textarea:focus-visible,
#taitaoCheckout summary:focus-visible { outline-color: rgba(0,88,163,.45) !important; }
.ml-button { background: #0058a3 !important; border-color: #0058a3 !important; color: #fff !important; }
.ml-button.secondary, .ml-text-button { background: transparent !important; color: #0058a3 !important; }
.ml-eyebrow, .ml-filter-label, .ml-detail-price strong { color: #0058a3 !important; }
.ml-hero h1 { color: #111 !important; font-family: inherit !important; font-weight: 800 !important; }
.ml-hero p { color: #676767 !important; }
.ml-hero-art span:nth-child(1) { background: #0058a3 !important; }
.ml-hero-art span:nth-child(2) { background: #ffda1a !important; }
.ml-hero-art span:nth-child(3) { background: #dedede !important; }
.ml-notice { border-left-color: #0058a3 !important; background: #e7f2fb !important; color: #333 !important; }
.ml-controls, .ml-card, .ml-dialog { border-color: #dfdfdf !important; border-radius: 2px !important; background: #fff !important; box-shadow: none !important; }
.ml-surface[aria-pressed=true] { border-color: #0058a3 !important; background: #e7f2fb !important; color: #0058a3 !important; }
.inspiration-kicker,
.inspiration-detail-kicker,
.inspiration-assistant-kicker,
.assistant-kicker,
.search-page-kicker,
.cart-page-kicker,
.service-page-kicker { color: #0058a3 !important; }
.inspiration-title,
.inspiration-card h2,
.inspiration-cases-title,
.inspiration-case-copy h3,
.inspiration-detail-title,
.inspiration-detail-products h2,
.inspiration-assistant h2,
.assistant-preview-head h2 { color: #111 !important; font-family: inherit !important; font-weight: 800 !important; }
.inspiration-subtitle,
.inspiration-card p,
.inspiration-count,
.inspiration-cases-subtitle,
.inspiration-case-copy p,
.inspiration-detail-description,
.assistant-subtitle { color: #676767 !important; }
.inspiration-card,
.inspiration-case,
.inspiration-detail-hero,
.inspiration-detail-product,
.assistant-panel,
.assistant-preview { border-color: #dfdfdf !important; border-radius: 2px !important; background: #fff !important; box-shadow: none !important; }
.inspiration-card-media,
.inspiration-case-media,
.inspiration-detail-image { background: #f1f1f1 !important; }
.inspiration-card-index { background: #ffda1a !important; color: #111 !important; font-weight: 800; }
.inspiration-browse,
.inspiration-detail-back,
.inspiration-refresh-products { color: #0058a3 !important; }
.inspiration-assistant { border-color: #0058a3 !important; border-radius: 2px !important; background: linear-gradient(110deg,#ffda1a 0 52%,#0058a3 52% 100%) !important; }
.inspiration-assistant p { color: #333 !important; }
.inspiration-assistant-button,
.inspiration-detail-primary,
.assistant-submit { background: #0058a3 !important; color: #fff !important; border-color: #0058a3 !important; border-radius: 999px !important; }
.inspiration-assistant-button { background: #111 !important; border-color: #111 !important; }
.inspiration-detail-secondary,
.assistant-back,
.inspiration-refresh-products { border-color: #0058a3 !important; color: #0058a3 !important; border-radius: 999px !important; }
.inspiration-guide-item { border-color: #dfdfdf !important; border-radius: 2px !important; background: #f7f7f7 !important; }
.inspiration-guide-item strong,
.assistant-status,
.assistant-recommendation-price { color: #0058a3 !important; }
.assistant-field select,
.assistant-field input,
.assistant-option { border-color: #bdbdbd !important; border-radius: 2px !important; background: #fff !important; color: #333 !important; }
.assistant-field select:focus,
.assistant-field input:focus { border-color: #0058a3 !important; box-shadow: 0 0 0 3px rgba(0,88,163,.15) !important; }
.assistant-option.active,
.assistant-option:hover { border-color: #0058a3 !important; background: #e7f2fb !important; color: #0058a3 !important; }
.assistant-preview { background: linear-gradient(145deg,#e7f2fb,#fff8c7) !important; }

/* Account and support surfaces use the same restrained blue-yellow system. */
#page-auth,
#page-account { background: #fff !important; }
.auth-panel,
.account-panel {
  border: 1px solid #dfdfdf !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: none !important;
}
.auth-tab.active {
  border-color: #0058a3 !important;
  color: #0058a3 !important;
}
.auth-tab,
.auth-field label,
.auth-hint { color: #676767 !important; }
.auth-field input,
.auth-field select,
.auth-field textarea {
  border-color: #bdbdbd !important;
  border-radius: 2px !important;
  background: #fff !important;
  color: #111 !important;
}
.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
  border-color: #0058a3 !important;
  box-shadow: 0 0 0 3px rgba(0,88,163,.15) !important;
}
.auth-link { color: #0058a3 !important; }
.auth-notice {
  border-color: #b8d5ec !important;
  border-radius: 2px !important;
  background: #e7f2fb !important;
  color: #333 !important;
}
.auth-secondary,
.account-logout {
  border-color: #0058a3 !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #0058a3 !important;
}
.customer-service-launcher {
  border-radius: 999px !important;
  background: #111 !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
}
.customer-service-panel {
  border-color: #dfdfdf !important;
  border-radius: 2px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.16) !important;
}
.customer-service-form button {
  background: #0058a3 !important;
  color: #fff !important;
}

/* Editorial home: full scene carousel, must-see products and ranking. */
.storefront-home { padding-top: 0; }
.sf-hero-carousel {
  position: relative;
  width: 100vw;
  height: clamp(680px, calc(100vh - 240px), 860px);
  min-height: 680px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.sf-hero-track { position: absolute; inset: 0; }
.sf-hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 1fr);
  visibility: hidden;
  opacity: 0;
  transform: translateX(3%);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility .7s;
}
.sf-hero-slide.active { visibility: visible; opacity: 1; transform: translateX(0); z-index: 1; }
.sf-hero-slide-copy {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 28px 108px clamp(64px, 7vw, 140px);
  background: #ffda1a;
  color: #111;
  clip-path: polygon(0 0, 75% 0, 100% 100%, 0 100%);
}
.sf-hero-slide.tone-blue .sf-hero-slide-copy { background: #0058a3; color: #fff; }
.sf-hero-slide.tone-dark .sf-hero-slide-copy { background: #111; color: #fff; }
.sf-hero-slide-copy .sf-eyebrow { color: inherit !important; opacity: .7; }
.sf-hero-slide-copy h1 {
  max-width: 450px;
  margin: 22px 0 20px;
  color: inherit;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(36px, 2.6vw, 50px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.sf-hero-slide-copy > p { max-width: 320px; margin: 0; color: inherit; font-size: 15px; line-height: 1.75; opacity: .82; }
.sf-hero-slide-copy .sf-actions { margin-top: 30px; }
.sf-hero-slide-copy .sf-button { border-color: currentColor; }
.sf-hero-slide-copy .sf-button.primary { border-color: #111; background: #111; color: #fff; }
.sf-hero-slide.tone-blue .sf-button.primary,
.sf-hero-slide.tone-dark .sf-button.primary { border-color: #fff; background: #fff; color: #111; }
.sf-hero-slide.tone-blue .sf-button:not(.primary),
.sf-hero-slide.tone-dark .sf-button:not(.primary) { background: transparent; color: #fff; }
.sf-hero-scene { position: relative; grid-column: 2; grid-row: 1; min-width: 0; margin-left: -180px; overflow: hidden; background: #ddd; }
.sf-hero-scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.04),transparent 40%,rgba(0,0,0,.14)); pointer-events: none; }
.sf-hero-scene > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.045); transition: transform 6.8s ease; }
.sf-hero-slide.active .sf-hero-scene > img { transform: scale(1); }
.sf-hero-product {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  grid-template-columns: 76px minmax(0,1fr) 24px;
  align-items: center;
  gap: 13px;
  width: min(330px, calc(100% - 56px));
  padding: 10px;
  border: 0;
  background: rgba(255,255,255,.94);
  color: #111;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.sf-hero-product:empty, .sf-hero-product[hidden] { display: none; }
.sf-hero-product-image { position: relative; display: block; width: 76px; height: 76px; overflow: hidden; background: #eee; }
.sf-hero-product-image img { width: 100%; height: 100%; object-fit: cover; }
.sf-hero-product-image.is-missing::after { content: "3D"; position: absolute; inset: 0; display: grid; place-items: center; background: #ffda1a; color: #111; font-weight: 900; }
.sf-hero-product-copy { min-width: 0; display: grid; gap: 3px; }
.sf-hero-product-copy small { color: #676767; font-size: 10px; letter-spacing: .08em; }
.sf-hero-product-copy strong { overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.sf-hero-product-copy b { color: #0058a3; font-size: 15px; }
.sf-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: 400 32px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
}
.sf-hero-arrow.prev { left: 18px; }
.sf-hero-arrow.next { right: 18px; }
.sf-hero-arrow:hover { background: #0058a3; }
.sf-hero-pause { display: none; }
.sf-hero-controls { position: absolute; left: 50%; bottom: 26px; z-index: 6; display: flex; gap: 8px; transform: translateX(-50%); }
.sf-hero-controls button { width: 46px; height: 4px; padding: 0; overflow: hidden; border: 0; background: rgba(255,255,255,.48); cursor: pointer; }
.sf-hero-controls button span { display: block; width: 0; height: 100%; background: #fff; }
.sf-hero-controls button.active span { width: 100%; animation: sfHeroProgress 5.6s linear; }
.sf-hero-stats {
  position: absolute;
  left: 52px;
  bottom: 26px;
  z-index: 6;
  display: grid;
  grid-template-columns: auto auto auto auto auto auto;
  align-items: baseline;
  gap: 5px 8px;
  color: #111;
  font-size: 10px;
}
.sf-hero-slide.tone-blue.active ~ .sf-hero-stats,
.sf-hero-slide.tone-dark.active ~ .sf-hero-stats { color: #fff; }
.sf-hero-stats strong { font-size: 18px; }
@keyframes sfHeroProgress { from { width: 0; } to { width: 100%; } }

.sf-featured-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.sf-campaign { margin-top: 76px; border-top: 1px solid var(--sf-line); }
.sf-campaign-tabs { display: flex; gap: 26px; min-height: 62px; border-bottom: 1px solid var(--sf-line); }
.sf-campaign-tabs button { position: relative; padding: 19px 0 17px; border: 0; background: transparent; color: var(--sf-muted); cursor: pointer; font-size: 14px; font-weight: 800; }
.sf-campaign-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.sf-campaign-tabs button:hover, .sf-campaign-tabs button.is-active { color: var(--sf-ink); }
.sf-campaign-tabs button.is-active::after { background: var(--sf-ink); }
.sf-campaign-panel { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.85fr); min-height: 440px; background: #f1f2ef; }
.sf-campaign-panel[hidden] { display: none !important; }
.sf-campaign-media { min-height: 440px; overflow: hidden; background: #ddd; }
.sf-campaign-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.sf-campaign-panel:hover .sf-campaign-media img { transform: scale(1.025); }
.sf-campaign-copy { display: flex; flex-direction: column; justify-content: center; padding: 54px 58px; }
.sf-campaign-copy h2 { max-width: 440px; margin: 18px 0; color: var(--sf-ink); font-size: clamp(32px, 4vw, 54px); font-weight: 900; line-height: 1.08; letter-spacing: -.04em; }
.sf-campaign-copy p { max-width: 470px; margin: 0; color: var(--sf-muted); font-size: 14px; line-height: 1.8; }
.sf-campaign-copy .sf-actions { margin-top: 30px; }
.sf-campaign-details { border-bottom: 1px solid var(--sf-line); }
.sf-campaign-details summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; list-style: none; font-size: 15px; font-weight: 800; }
.sf-campaign-details summary::-webkit-details-marker { display: none; }
.sf-campaign-details summary::after { content: "+"; font-size: 24px; font-weight: 400; }
.sf-campaign-details details[open] summary::after { content: "−"; }
.sf-campaign-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; padding: 4px 0 28px; }
.sf-campaign-steps > div { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; align-items: baseline; }
.sf-campaign-steps b { grid-row: span 2; color: var(--sf-teal); font-size: 20px; }
.sf-campaign-steps strong { font-size: 13px; }
.sf-campaign-steps span { color: var(--sf-muted); font-size: 12px; line-height: 1.55; }
.sf-featured-product { min-width: 0; cursor: pointer; }
.sf-featured-media { position: relative; aspect-ratio: 1.3; overflow: hidden; background: #f1f1f1; }
.sf-featured-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sf-featured-product:hover .sf-featured-media > img { transform: scale(1.035); }
.sf-featured-media.is-missing::after,
.sf-ranked-media.is-missing::after { content: "图片暂未加载，点击查看详情"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; color: #777; font-size: 11px; text-align: center; }
.sf-featured-media > span { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 42px; height: 42px; background: #ffda1a; color: #111; font-weight: 900; }
.sf-featured-media > button { position: absolute; right: 14px; bottom: 14px; min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: #111; color: #fff; cursor: pointer; font-weight: 750; opacity: 0; transform: translateY(8px); transition: .25s; }
.sf-featured-product:hover .sf-featured-media > button { opacity: 1; transform: translateY(0); }
.sf-featured-copy { padding: 16px 2px 0; }
.sf-featured-copy small,
.sf-ranked-copy small { color: #0058a3; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sf-featured-copy h3 { min-height: 44px; margin: 6px 0 14px; overflow: hidden; color: #111; font-size: 15px; line-height: 1.45; }
.sf-featured-copy > div { display: flex; align-items: center; justify-content: space-between; }
.sf-featured-copy strong { font-size: 20px; }
.sf-featured-copy i { font-size: 20px; }

.sf-room-art { aspect-ratio: .88; background: #eee; }
.sf-room-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 68%,rgba(0,0,0,.12)); pointer-events: none; }
.sf-room-copy { padding-top: 16px; }
.sf-room-copy strong { font-size: 17px; }

.sf-ranking-section { margin-top: 76px !important; }
.sf-ranking-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #d9d9d9; border-left: 1px solid #d9d9d9; }
#homeRecommendGrid[hidden] { display: none !important; }
.sf-ranked-product { position: relative; min-width: 0; padding: 18px; border-right: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; cursor: pointer; }
.sf-rank-number { position: absolute; top: 18px; left: 18px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; background: #0058a3; color: #fff; font-size: 17px; font-weight: 900; }
.sf-ranked-product:nth-child(-n+3) .sf-rank-number { background: #ffda1a; color: #111; }
.sf-ranked-media { position: relative; aspect-ratio: 1; overflow: hidden; background: #f1f1f1; }
.sf-ranked-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.sf-ranked-product:hover .sf-ranked-media img { transform: scale(1.035); }
.sf-ranked-copy { padding-top: 14px; }
.sf-ranked-copy h3 { min-height: 40px; margin: 5px 0 10px; overflow: hidden; font-size: 13px; line-height: 1.5; }
.sf-ranked-copy strong { display: block; margin-bottom: 12px; font-size: 20px; }
.sf-ranked-copy span { color: #555; font-size: 11px; }

@media (max-width: 1360px) {
  .sf-hero-carousel { min-height: 680px; }
  .sf-hero-slide { grid-template-columns: minmax(0,36%) minmax(0,1fr); }
  .sf-hero-slide-copy { padding: 54px 24px 98px 64px; }
  .sf-hero-slide-copy h1 { font-size: clamp(36px,3vw,42px); }
  .sf-hero-product { width: 292px; }
  .sf-campaign-copy { padding: 44px 42px; }
}
@media (max-width: 760px) {
  .sf-campaign { margin-top: 52px; }
  .sf-campaign-panel { grid-template-columns: 1fr; }
  .sf-campaign-media { min-height: 280px; }
  .sf-campaign-copy { min-height: 360px; padding: 36px 24px; }
  .sf-campaign-copy h2 { font-size: 38px; }
  .sf-campaign-steps { grid-template-columns: 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .sf-hero-slide,
  .sf-hero-scene > img,
  .sf-hero-controls button.active span { transition: none !important; animation: none !important; }
}
