/* ST homepage direction: three product chapters, clear retail paths, restrained glass UI. */
.commerce-dialog .auth-form .auth-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.commerce-dialog .auth-methods button { min-height: 40px; padding: 7px 12px; border: 1px solid #dce3f1; border-radius: 9px; background: #fff; color: var(--muted); font: inherit; font-size: 13px; }
.commerce-dialog .auth-methods button[aria-pressed="true"] { border-color: var(--blue); background: #f1f5ff; color: var(--blue); font-weight: 600; }
.commerce-dialog .auth-otp-row, .commerce-dialog .auth-password-row { display: flex; align-items: stretch; min-width: 0; gap: 8px; }
.commerce-dialog .auth-otp-row input, .commerce-dialog .auth-password-row input { flex: 1; width: 0; min-width: 0; }
.commerce-dialog .auth-otp-row button, .commerce-dialog .auth-password-row button { flex: 0 0 auto; max-width: 48%; min-height: 44px; padding: 8px 11px; border: 1px solid #dce3f1; border-radius: 9px; background: #f4f7fc; color: var(--blue); font: inherit; font-size: 12px; line-height: 1.4; }
.commerce-dialog .auth-otp-row button:disabled { opacity: .65; cursor: default; }
.commerce-dialog .auth-form .auth-notice { margin: -10px 0 14px; color: #18754d; font-size: 12px; line-height: 1.5; }
.commerce-dialog .auth-notice:empty, .commerce-dialog .auth-form .form-error:empty { display: none; }
.commerce-dialog .auth-form [data-auth-back] { margin-bottom: 14px; }
/* Form first, secondary account entry and compact brand reminder below. */
html body .commerce-dialog.auth-dialog { width: min(460px, calc(100vw - 32px)); height: fit-content; max-height: calc(100dvh - 48px); margin: auto; padding: 0; background: #fff; }
html body .commerce-dialog.auth-dialog[open] { display: flex; flex-direction: column; }
html body .auth-dialog .dialog-head { display: flex; align-items: center; flex: none; gap: 12px; min-height: 64px; padding: 12px 20px; border-bottom: 1px solid #e9edf5; border-radius: 0 !important; background: #fff; box-shadow: none; }
html body .auth-dialog #st-dialog-title { flex: 1; min-width: 0; margin: 0; font-size: 18px; line-height: 1.35; text-align: left; }
html body .auth-dialog .dialog-head-actions { position: static; flex: none; width: auto; gap: 8px; }
html body .auth-dialog .dialog-body { flex: 1; min-height: 0; padding: 16px 20px 20px; overflow-y: auto; }
html body .auth-dialog .auth-layout { display: block; min-height: 0; }
html body .auth-dialog .auth-form { padding: 0; }
html body .auth-dialog .auth-subtitle { min-height: 0; margin: 0 0 12px; font-size: 12px; line-height: 1.5; }
html body .commerce-dialog.auth-dialog .auth-form .auth-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 2px; margin: 0 0 14px; border-radius: 12px; background: #f0f3f9; }
html body .commerce-dialog.auth-dialog .auth-form .auth-methods button { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 44px; margin: 0; padding: 6px; justify-self: stretch; border: 0; background: transparent; font-size: 13px; line-height: 1.4; text-align: center; }
html body .commerce-dialog.auth-dialog .auth-form .auth-methods button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 5px #1423490d; }
html body .auth-dialog .auth-form label { display: block; margin: 0 0 12px; font-size: 13px; line-height: 1.5; }
html body .auth-dialog .auth-form label > em { display: none; }
html body .auth-dialog .auth-form .auth-phone-field { margin-bottom: 12px; }
html body .auth-dialog .auth-form .auth-phone-field > label { margin-bottom: 0; }
html body .commerce-dialog.auth-dialog .auth-form input:not([type="radio"]):not([type="checkbox"]) { height: 44px; min-height: 44px; font-size: 16px; }
html body .auth-dialog .auth-form select { min-height: 48px; }
html body .auth-dialog .phone-input { display: grid; grid-template-columns: 116px minmax(0, 1fr); align-items: stretch; gap: 8px; margin-top: 6px; }
html body .auth-dialog .auth-otp-row, html body .auth-dialog .auth-password-row { margin-top: 6px; }
html body .commerce-dialog.auth-dialog .auth-form :is(.phone-input, .name-input, .auth-otp-row, .auth-password-row) input:not([type="radio"]):not([type="checkbox"]) { margin-top: 0; }
html body .commerce-dialog.auth-dialog .auth-form :is(.phone-input, .name-input) .st-select-trigger { height: 44px; min-height: 44px; margin-top: 0; }
html body .commerce-dialog.auth-dialog .auth-form .phone-input .st-select-trigger { width: 100%; }
html body .auth-dialog .auth-otp-row button, html body .auth-dialog .auth-password-row button { min-height: 44px; }
html body .auth-dialog .auth-form .auth-submit { justify-content: center; min-height: 44px; margin: 0; padding: 10px 14px; font-size: 14px; }
html body .auth-dialog .auth-submit i { display: none; }
html body .auth-dialog .auth-footer-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; margin-top: 4px; }
html body .auth-dialog .auth-secondary-actions { display: flex; }
html body .auth-dialog .back-link { min-height: 44px; padding: 4px 0; font-size: 12px; }
html body .auth-dialog .auth-account-entry { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
html body .auth-dialog .auth-account-entry > span { color: var(--muted); font-size: 12px; }
html body .auth-dialog .auth-account-entry > button { width: auto; padding: 4px 0; color: var(--blue); font-size: 12px; font-weight: 600; }
html body .auth-dialog .auth-footer-brand { margin-top: 12px; padding: 16px; border-radius: 14px; background: #102978; color: #fff; }
html body .auth-dialog .auth-footer-brand .eyebrow { font-size: 9px; letter-spacing: 1px; color: #c4cdeb; }
html body .auth-dialog .auth-footer-brand h2 { margin: 6px 0 4px; font-size: 18px; line-height: 1.5; letter-spacing: 0; }
html body .auth-dialog .auth-footer-brand h2 span { color: #ffae63; }
html body .auth-dialog .auth-footer-brand p { margin: 0; font-size: 12px; line-height: 1.5; color: #c4cdeb; }
html body .auth-dialog .form-error { margin: 0 0 14px; }
html body .auth-dialog .auth-login-hint { margin: -4px 0 10px; color: var(--muted); font-size: 12px; line-height: 1.5; }
html body .auth-dialog .auth-form .auth-consent { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 400; }
html body .auth-dialog .auth-consent input { flex: none; width: 16px; min-width: 16px; height: 16px; min-height: 16px; margin: 0; padding: 0; box-shadow: none; accent-color: var(--blue); }
html body .auth-dialog .auth-consent button { padding: 2px 0; border: 0; background: none; color: var(--blue); font: inherit; cursor: pointer; }
html body .auth-dialog .auth-form :is([data-auth-credentials], .auth-account-entry)[hidden] { display: none; }
html body .auth-policy-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 64px); padding: 20px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); }
html body .auth-policy-dialog::backdrop { background: #14234966; }
html body .auth-policy-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body .auth-policy-dialog h2 { margin: 0; font-size: 18px; }
html body .auth-policy-dialog p { margin: 12px 0; font-size: 13px; line-height: 1.7; }
html body .auth-policy-dialog .auth-policy-draft { color: #995b11; font-size: 12px; }
@media (max-width:720px) {
  html body .commerce-dialog.auth-dialog { --auth-top-space: clamp(24px, 6dvh, 48px); position: fixed; inset: var(--auth-top-space) 0 0; width: 100%; max-width: none; height: calc(100dvh - var(--auth-top-space)); max-height: calc(100dvh - var(--auth-top-space)); margin: 0; border: 0; border-radius: 18px 18px 0 0 !important; }
  html body .auth-dialog #st-dialog-title { font-size: 16px; }
  html body .auth-dialog .dialog-body { padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
}
:root {
  --st-glass: rgba(255, 255, 255, .62);
  --st-glass-line: rgba(255, 255, 255, .8);
  --st-shadow: 0 18px 60px rgba(16, 33, 72, .13);
}

body .brandbar.wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  max-width: none;
  min-height: 78px;
  margin: 0;
  padding: 12px max(30px, calc((100% - 1160px) / 2));
  background: rgba(255, 255, 255, .42);
  border-bottom: 1px solid rgba(12, 36, 97, .055);
  box-shadow: 0 10px 32px rgba(20, 35, 67, .045);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}
body .brandbar.wrap:not(#site-global-header),
body .searcharea,
body .hero-wrap,
body .categories,
body #discover { display: none !important; }
.account-locale { display: none !important; }
.brandbar .identity { flex: 0 0 auto; }
.brandbar .toplinks { flex: 1 1 auto; justify-content: center; gap: clamp(18px, 3vw, 40px); }
.brandbar .toplinks a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.header-action-group { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.header-action-group [data-language-control] { position: relative; }
.header-action-group .language { height: 44px; min-height: 44px; }
.st-search-open {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  color: var(--blue);
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 5px 18px rgba(13, 36, 96, .1), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  animation: st-search-breathe 2.8s ease-in-out infinite;
  transition: transform .22s ease, background .22s ease;
}
.st-search-open:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .92); }
.st-search-open svg { width: 20px; height: 20px; }
@keyframes st-search-breathe {
  0%, 100% { box-shadow: 0 5px 18px rgba(13, 36, 96, .1), 0 0 0 0 rgba(70, 113, 226, .16), inset 0 1px 0 #fff; }
  50% { box-shadow: 0 8px 24px rgba(13, 36, 96, .15), 0 0 0 7px rgba(70, 113, 226, .055), inset 0 1px 0 #fff; }
}

.st-search-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: clamp(94px, 13vh, 142px) 24px 32px;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.st-search-dialog::backdrop {
  background: rgba(17, 27, 58, .28);
  -webkit-backdrop-filter: blur(15px) saturate(1.25);
  backdrop-filter: blur(15px) saturate(1.25);
}
.st-search-glass {
  position: relative;
  isolation: isolate;
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 27px 30px 30px;
  border: 1px solid var(--st-glass-line);
  border-radius: 28px;
  background: linear-gradient(128deg, rgba(255,255,255,.86), rgba(247,249,255,.68) 62%, rgba(255,255,255,.78));
  box-shadow: 0 28px 90px rgba(7, 20, 62, .23), inset 0 1px 0 rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  backdrop-filter: blur(26px) saturate(1.45);
}
.st-search-glass::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 35deg at 55% 45%, rgba(123,157,255,.24), transparent 20%, rgba(255,190,121,.2) 40%, transparent 58%, rgba(144,206,255,.25) 78%, transparent);
  filter: blur(24px);
  opacity: .56;
  pointer-events: none;
}
.st-search-dialog[open] .st-search-glass { animation: st-glass-enter .32s cubic-bezier(.22,.8,.25,1) both; }
@keyframes st-glass-enter { from { opacity: 0; transform: translateY(-10px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.st-search-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 19px; }
.st-search-top-copy { min-width: 0; }
.st-search-kicker { display: block; margin-bottom: 7px; color: #71809c; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.st-search-title { margin: 0; color: #10234e; font-size: clamp(21px, 3vw, 27px); font-weight: 680; letter-spacing: -.045em; }
.st-search-close { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 auto; border: 1px solid rgba(23, 48, 104, .09); border-radius: 50%; color: #34476e; background: rgba(255,255,255,.66); }
.st-search-close svg { width: 19px; height: 19px; }
.st-search-dialog .search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  height: 60px;
  padding: 0 17px 0 20px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 18px;
  background: linear-gradient(112deg, rgba(255,255,255,.93), rgba(255,255,255,.72));
  box-shadow: 0 9px 28px rgba(28, 50, 101, .09), inset 0 0 0 1px rgba(55, 89, 169, .045);
}
.st-search-dialog .search::after {
  position: absolute;
  content: "";
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(103,139,255,.42), rgba(255,255,255,0) 38%, rgba(255,174,104,.32) 78%, rgba(111,177,255,.35));
  filter: blur(12px);
  opacity: .42;
  pointer-events: none;
}
.st-search-dialog .search > svg { width: 21px; height: 21px; flex: 0 0 auto; color: #425b91; }
.st-search-dialog .search input { height: 100%; font-size: 16px; }
.st-search-dialog .search kbd { padding: 5px 7px; border: 1px solid rgba(26,51,101,.08); border-radius: 7px; color: #8490a6; font-size: 9px; letter-spacing: .1em; }
.st-search-footnote { margin: 15px 1px 0; color: #778198; font-size: 11px; line-height: 1.7; }
.st-search-dialog .search-suggest {
  z-index: 4;
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 20px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 20px 56px rgba(13, 29, 70, .2);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
  backdrop-filter: blur(24px) saturate(1.35);
}

.st-home-chapters { max-width: 1240px; margin: 0 auto; padding: 10px 40px 0; }
.st-home-chapter { scroll-margin-top: 96px; margin: 0 0 56px; }
.st-chapter-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 19px; }
.st-chapter-heading .eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.st-chapter-title { margin: 10px 0 0; color: var(--blue); font-size: clamp(25px, 3vw, 34px); font-weight: 680; letter-spacing: -.055em; line-height: 1.3; }
.st-chapter-note { max-width: 36%; padding-bottom: 5px; color: var(--muted); font-size: 12px; line-height: 1.6; text-align: right; }
.st-home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(300px, .83fr) minmax(0, 1.17fr);
  min-height: 418px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background: #102b79;
  box-shadow: 0 16px 42px rgba(13, 38, 104, .11);
}
.st-home-hero-copy { position: relative; z-index: 2; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; justify-content: center; padding: 44px clamp(27px, 4vw, 56px); }
.st-home-hero-eyebrow { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.7); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.st-home-hero-eyebrow::before { content: ""; width: 21px; height: 2px; border-radius: 2px; background: var(--orange); }
.st-home-hero-title { max-width: 470px; margin: 26px 0 13px; color: #fff; font-size: clamp(34px, 4vw, 55px); font-weight: 690; letter-spacing: -.06em; line-height: 1.17; white-space: pre-line; }
.st-home-hero-body { max-width: 370px; margin: 0; color: rgba(241,245,255,.83); font-size: 13px; line-height: 1.9; white-space: pre-line; }
.st-home-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 23px; }
.st-home-hero .button { gap: 18px; margin: 0; }
.st-home-secondary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; font-size: 12px; }
.st-home-secondary svg { width: 16px; height: 16px; transition: transform .2s ease; }
.st-home-secondary:hover svg { transform: translateX(3px); }
.st-home-visual { position: relative; min-width: 0; min-height: 418px; overflow: hidden; background: #ddd9cf; }
.st-home-visual img { display: block; width: 100%; height: 100%; min-height: 418px; object-fit: cover; object-position: 66% center; animation: st-image-in .46s ease both; }
@keyframes st-image-in { from { opacity: .4; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }
.st-home-visual::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg, rgba(12,26,60,.19), transparent 34%), linear-gradient(0deg, rgba(9,18,38,.34), transparent 28%); pointer-events: none; }
.st-home-slide-caption { position: absolute; z-index: 1; left: 20px; bottom: 17px; color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .1em; }
.st-home-slide-count { position: absolute; z-index: 1; top: 17px; right: 19px; color: #fff; font-size: 11px; letter-spacing: .13em; }
.st-home-slide-caption,.st-home-slide-count,.st-category-index { padding: 3px 6px; border-radius: 4px; background: rgba(9,18,38,.72); text-shadow: none; }
.st-home-carousel { position: absolute; z-index: 2; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 6px; padding: 5px; border: 1px solid rgba(255,255,255,.42); border-radius: 24px; background: rgba(18,30,55,.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.st-home-dot,.st-home-arrow { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: transparent; }
.st-home-dot { width: 9px; height: 9px; background: rgba(255,255,255,.55); transition: width .2s ease, background .2s ease; }
.st-home-dot[aria-current="true"] { width: 21px; border-radius: 9px; background: #fff; }
.st-home-arrow svg { width: 16px; height: 16px; }
.st-home-divider { display: flex; align-items: center; gap: 15px; margin: 2px 0 30px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .14em; }
.st-home-divider::before,.st-home-divider::after { content: ""; height: 1px; flex: 1; background: rgba(10,35,101,.12); }

.st-core-categories { max-width: 1240px; margin: 28px auto 64px; padding: 0 40px; scroll-margin-top: 100px; }
.st-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin: 0 0 22px; }
.st-section-head h2 { margin: 10px 0 0; color: var(--blue); font-size: clamp(24px, 3vw, 31px); font-weight: 670; letter-spacing: -.05em; }
.st-section-head p { max-width: 430px; margin: 0; color: #727c8b; font-size: 12px; line-height: 1.8; text-align: right; }
.st-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.st-category-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid rgba(17,42,95,.045); border-radius: 16px; color: var(--ink); background: #f6f5f1; text-align: left; transition: transform .25s ease, box-shadow .25s ease; }
.st-category-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(20,38,77,.12); }
.st-category-image { position: relative; display: block; aspect-ratio: 1.12; overflow: hidden; background: linear-gradient(145deg,#e6e3db,#f5f3ec); }
.st-category-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.8,.25,1); }
.st-category-card:hover img { transform: scale(1.045); }
.st-category-image::after { position: absolute; content: ""; inset: 45% 0 0; background: linear-gradient(transparent,rgba(7,22,54,.48)); }
.st-category-index { position: absolute; z-index: 1; left: 11px; bottom: 9px; color: #fff; font-size: 11px; letter-spacing: .12em; }
.st-category-copy { min-height: 70px; display: flex; flex-direction: column; justify-content: center; padding: 12px; }
.st-category-copy strong { font-size: 12px; font-weight: 700; }
.st-category-copy small { margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }

.st-retail-project { max-width: 1240px; margin: 0 auto 60px; padding: 0 40px; scroll-margin-top: 100px; }
.st-retail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.st-retail-card { position: relative; display: flex; min-height: 272px; overflow: hidden; border-radius: 20px; background: #f0eee8; }
.st-retail-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-retail-card::after { position: absolute; content: ""; inset: 0; background: linear-gradient(90deg,rgba(8,20,49,.82),rgba(8,20,49,.72) 82%,rgba(8,20,49,.2)); }
.st-retail-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: min(460px, 82%); padding: 29px clamp(22px, 3vw, 36px); color: #fff; }
.st-retail-copy small { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 650; letter-spacing: .13em; }
.st-retail-copy h3 { margin: 14px 0 9px; color: #fff; font-size: clamp(21px, 2.6vw, 29px); font-weight: 670; letter-spacing: -.05em; line-height: 1.36; }
.st-retail-copy p { max-width: 365px; margin: 0; color: rgba(247,248,252,.84); font-size: 12px; line-height: 1.8; }
.st-retail-copy button.st-home-secondary { min-height: 42px; margin-top: 13px; padding: 0 13px; border: 1px solid rgba(255,255,255,.9); border-radius: 8px; color: #102b79; background: rgba(255,255,255,.96); font-size: 12px; font-weight: 680; box-shadow: 0 5px 16px rgba(5,14,34,.16); }
.st-retail-copy button.st-home-secondary svg { color: #102b79; }
.st-retail-copy button.st-home-secondary:hover { transform: translateY(-1px); background: #fff; box-shadow: 0 8px 20px rgba(5,14,34,.2); }

.service#supply { scroll-margin-top: 100px; }
.service#supply .service-intro { align-self: stretch; }
.service#supply .service-steps { max-width: 850px; }
.service#supply .service-steps li { min-width: 0; }
.service#supply .service-steps p { max-width: 260px; }

.catalog-mode .st-home-chapters,
.catalog-mode #core-categories,
.catalog-mode #retail-project,
.catalog-mode #supply { display: none !important; }
.catalog-load-sentinel { min-height: 0; display: flex; justify-content: center; padding: 8px 0 32px; }
.catalog-load-sentinel[hidden] { display: none; }
.catalog-load-state { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border: 1px solid rgba(8,31,128,.1); border-radius: 24px; color: #64718b; background: rgba(255,255,255,.72); font-size: 12px; }
.catalog-load-spinner { width: 14px; height: 14px; border: 2px solid rgba(8,31,128,.16); border-top-color: var(--blue); border-radius: 50%; animation: st-spin .75s linear infinite; }
.catalog-load-retry { border: 0; padding: 0; color: var(--blue); background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
@keyframes st-spin { to { transform: rotate(360deg); } }

.commerce-dialog .dialog-head {
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 64px;
  padding-top: max(12px, env(safe-area-inset-top));
  border-bottom-color: rgba(14,37,96,.08);
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}
.dialog-head-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.dialog-head-actions [data-language-control] { position: relative; }
.dialog-head-actions .language { height: 40px; min-height: 40px; }
.dialog-head-actions .st-search-open { width: 40px; height: 40px; }

.st-contact-dock { position: fixed; z-index: 45; left: 22px; bottom: 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.catalog-sheet-dialog .st-contact-dock { display: none; }
.st-contact-toggle { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; color: #fff; background: linear-gradient(145deg,#13399c,#081f80 70%); box-shadow: 0 12px 32px rgba(8,31,128,.28),inset 0 1px 0 rgba(255,255,255,.3); transition: transform .22s ease, box-shadow .22s ease; }
.st-contact-toggle:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(8,31,128,.35),inset 0 1px 0 rgba(255,255,255,.3); }
.st-contact-toggle svg { width: 22px; height: 22px; }
.st-contact-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.st-contact-popover { width: min(304px, calc(100vw - 34px)); padding: 17px; border: 1px solid rgba(255,255,255,.9); border-radius: 21px; background: rgba(255,255,255,.86); box-shadow: 0 20px 56px rgba(10,27,71,.22); -webkit-backdrop-filter: blur(24px) saturate(1.35); backdrop-filter: blur(24px) saturate(1.35); transform-origin: 20% 100%; animation: st-contact-in .22s cubic-bezier(.22,.8,.25,1) both; }
.st-contact-popover[hidden] { display: none; }
@keyframes st-contact-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.st-contact-popover-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 0 2px 12px; }
.st-contact-popover-head strong { display: block; color: #10234e; font-size: 14px; }
.st-contact-popover-head small { display: block; margin-top: 5px; color: #7a8498; font-size: 11px; line-height: 1.5; }
.st-contact-channels { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.st-contact-channels .contact-channel { display: flex; min-height: 82px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 8px 4px; border: 1px solid rgba(14,42,110,.09); border-radius: 15px; color: #1a2d56; background: rgba(255,255,255,.74); font-size: 10px; }
.st-contact-channels .contact-channel svg { width: 23px; height: 23px; color: var(--blue); }
.st-contact-channels .contact-channel.is-pending { border-style: dashed; color: #758098; }
.st-contact-channels .contact-channel.is-pending svg { color: #7f8ca7; }
.st-contact-detail { margin-top: 10px; padding: 12px; border: 1px solid rgba(14,42,110,.08); border-radius: 15px; background: rgba(247,249,253,.9); }
.st-contact-detail[hidden] { display: none; }
.st-contact-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.st-contact-detail-head strong { color: #162a52; font-size: 12px; }
.st-contact-detail-back { border: 0; padding: 4px; color: #61708a; background: transparent; font-size: 10px; }
.st-contact-detail-qr { display: grid; place-items: center; min-height: 120px; overflow: hidden; border: 1px dashed rgba(34,62,117,.16); border-radius: 11px; color: #818ba0; background: rgba(255,255,255,.75); font-size: 10px; text-align: center; }
.st-contact-detail-qr img { display: block; width: 130px; height: 130px; object-fit: contain; }
.st-contact-detail-value { margin: 10px 0; color: #5d6980; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.st-contact-detail-action { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; border: 0; border-radius: 10px; color: #fff; background: var(--blue); font-size: 10px; }

/* Dense but readable inquiry cards; keep controls and price hierarchy intact. */
.commerce-dialog.page-inquiry .inquiry-list { gap: 8px; padding: 0 8px; }
.commerce-dialog.page-inquiry .remove-line { top: 5px; right: 5px; width: 28px; height: 28px; min-height: 28px; }

.commerce-dialog.page-workbench .quote-upload { width: min(720px, 100%); margin: 0 auto; padding: 16px 20px 0; }
.commerce-dialog.page-workbench .quote-preview { top: auto; bottom: 20px; max-height: calc(100vh - 76px); }

@media (max-width: 900px) {
  body .brandbar.wrap { padding-right: 22px; padding-left: 22px; }
  .st-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .st-home-hero { grid-template-columns: minmax(270px,.84fr) minmax(0,1.16fr); min-height: 390px; }
  .st-home-visual,.st-home-visual img { min-height: 390px; }
}
@media (max-width: 720px) {
  body .brandbar.wrap { min-height: 65px; padding: 8px 16px; gap: 8px; }
  .brandbar .identity { gap: 8px; }
  .brandbar .identity img { width: 31px; height: 38px; }
  .brandbar .identity strong { font-size: 14px; }
  .brandbar .identity small { max-width: 126px; overflow: hidden; font-size: 8px; letter-spacing: .35px; white-space: nowrap; }
  .brandbar .toplinks { display: none; }
  .header-action-group { gap: 6px; }
  .header-action-group .language { height: 40px; min-height: 40px; }
  .header-action-group .st-search-open { width: 40px; height: 40px; }
  .st-search-dialog { padding: max(86px, calc(env(safe-area-inset-top) + 84px)) 14px 20px; }
  .st-search-glass { padding: 20px 16px 19px; border-radius: 23px; }
  .st-search-top { margin-bottom: 15px; }
  .st-search-close { width: 38px; height: 38px; }
  .st-search-dialog .search { height: 55px; padding: 0 13px; border-radius: 15px; }
  .st-search-dialog .search input { font-size: 16px; }
  .st-search-dialog .search kbd { display: none; }
  .st-search-footnote { font-size: 10px; }
  .st-home-chapters { padding: 8px 14px 0; }
  .st-home-chapter { margin-bottom: 24px; }
  .st-chapter-heading { align-items: flex-start; justify-content: flex-start; flex-direction: column; gap: 3px; margin-bottom: 8px; }
  .st-chapter-heading .eyebrow { font-size: 8px; letter-spacing: .1em; }
  .st-chapter-title { font-size: 24px; line-height: 1.35; }
  .st-chapter-note { max-width: none; padding: 0; font-size: 10px; text-align: left; }
  .st-home-hero { display: flex; min-height: 0; flex-direction: column; border-radius: 17px; }
  .st-home-hero-copy { order: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 0; align-content: start; align-items: start; column-gap: 18px; row-gap: 6px; padding: 12px 22px; text-align: left; }
  .st-home-hero-eyebrow { grid-column: 1 / -1; grid-row: 1; font-size: 8px; letter-spacing: .1em; }
  .st-home-hero-title { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 0; font-size: 34px; line-height: 1.17; white-space: normal; text-wrap: wrap; }
  .st-home-hero-body { grid-column: 1; grid-row: 3; align-self: center; min-width: 0; width: 100%; max-width: none; font-size: 12px; line-height: 1.6; text-wrap: wrap; }
  .st-home-hero-actions { grid-column: 2; grid-row: 3; align-self: center; width: auto; margin: 0; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; }
  .st-home-hero .button { min-height: 43px; padding-left: 15px; font-size: 12px; }
  .st-home-hero .button i { width: 32px; height: 32px; }
  .st-home-secondary { min-height: 40px; font-size: 10px; }
  .st-home-hero .st-home-secondary { min-height: 44px; }
  .st-home-visual { order: 1; height: 218px; min-height: 218px; }
  .st-home-visual img { min-height: 218px; object-position: center 55%; }
  .st-home-carousel { right: 10px; bottom: 10px; gap: 3px; }
  .st-home-dot,.st-home-arrow { width: 27px; height: 27px; }
  .st-home-dot { width: 8px; height: 8px; }
  .st-home-dot[aria-current="true"] { width: 18px; }
  .st-home-slide-caption { left: 12px; bottom: 14px; max-width: 48%; }
  .st-home-slide-count { top: 12px; right: 12px; }
  .st-home-divider { margin: 0 0 16px; font-size: 7px; letter-spacing: .08em; }
  .st-core-categories { margin: 17px auto 42px; padding: 0 18px; }
  .st-section-head { display: block; margin-bottom: 15px; }
  .st-section-head h2 { margin-top: 9px; font-size: 24px; }
  .st-section-head p { margin-top: 7px; font-size: 10px; line-height: 1.75; text-align: left; }
  .st-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .st-category-card { border-radius: 13px; }
  .st-category-image { aspect-ratio: 1.24; }
  .st-category-copy { min-height: 60px; padding: 9px 10px; }
  .st-category-copy strong { font-size: 11px; }
  .st-category-copy small { font-size: 7px; }
  .st-retail-project { margin-bottom: 39px; padding: 0 18px; }
  .st-retail-grid { grid-template-columns: 1fr; gap: 10px; }
  .st-retail-card { min-height: 230px; border-radius: 17px; }
  .st-retail-copy { width: 88%; padding: 21px 20px; }
  .st-retail-copy h3 { margin: 11px 0 7px; font-size: 22px; }
  .st-retail-copy p { font-size: 10px; }
  .st-retail-copy .st-home-secondary { margin-top: 9px; }
  .service#supply { margin: 0; padding: 25px 20px; border-radius: 18px; }
  .service#supply .service-steps { margin-top: 19px; }
  .service#supply .service-steps li { padding: 12px 0; }
  .commerce-dialog .dialog-head { min-height: 58px; padding: 8px 14px; padding-top: max(8px, env(safe-area-inset-top)); }
  .dialog-head-actions { gap: 6px; }
  .dialog-head-actions .language { height: 38px; min-height: 38px; }
  .dialog-head-actions .st-search-open { width: 38px; height: 38px; }
  .st-contact-dock { right: 12px; left: auto; bottom: calc(var(--mobile-nav-height, 72px) + env(safe-area-inset-bottom,0px) + 12px); align-items: flex-end; }
  .st-contact-popover { transform-origin: 80% 100%; }
  .st-back-to-top,
  .st-back-to-top[data-context="inquiry"],
  .st-back-to-top[data-context="workbench"] { right: auto; left: 16px; }
  .st-contact-toggle { width: 48px; height: 48px; }
  .st-contact-popover { width: min(286px, calc(100vw - 24px)); padding: 13px; }
  .st-contact-channels .contact-channel { min-height: 73px; }
  .commerce-dialog.page-inquiry .inquiry-list { gap: 7px; padding: 0 3px; }
  .commerce-dialog.page-workbench .quote-upload { box-sizing: border-box; width: 100%; padding: 12px 14px 0; }
  .commerce-dialog.page-workbench .quote-preview { bottom: calc(var(--mobile-nav-height, 72px) + env(safe-area-inset-bottom,0px)); }
  body:has(.page-workbench .quote-preview) .st-contact-dock { bottom: calc(var(--mobile-nav-height,72px) + env(safe-area-inset-bottom,0px) + var(--quote-preview-mobile-h, 250px) + 14px); }
}
@media (max-width: 480px) {
  .st-home-hero-copy { grid-template-columns: minmax(0,1fr); padding: 12px 20px; row-gap: 6px; }
  .st-home-hero-body { grid-column: 1; grid-row: 3; }
  .st-home-hero-actions { grid-column: 1; grid-row: 4; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; }
}
@media (width > 480px) and (max-width: 720px) {
  .st-home-hero-copy { grid-template-columns: minmax(0,1fr); }
  .st-home-hero-title { text-wrap: balance; }
  .st-home-hero-body { grid-column: 1; grid-row: 3; align-self: start; }
  .st-home-hero .st-home-hero-actions { grid-column: 1; grid-row: 4; align-self: start; width: 100%; margin-top: 2px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; }
}
@media (max-width: 390px) {
  .brandbar .identity small { max-width: 95px; }
  .st-home-hero-title { font-size: 31px; }
  .st-home-hero-actions { gap: 5px; }
  .st-home-secondary { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-search-open { animation: none; }
  .st-search-dialog[open] .st-search-glass,.st-home-visual img,.st-contact-popover { animation: none; }
  .st-home-dot,.st-home-arrow,.st-category-card,.st-category-image img,.st-search-open { transition: none; }
  .catalog-load-spinner { animation: none; }
}
/* Contact actions are centralized in the persistent floating dock. */

.contact-block,
.account-contact-row { display: none !important; }

/* One shared page header: Uiverse-style tactile controls, in the ST glass palette. */
body .brandbar.wrap { box-sizing: border-box; }
.commerce-dialog .dialog-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-height: 78px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(14,37,96,.08);
  background: rgba(255,255,255,.42);
  box-shadow: 0 10px 32px rgba(20,35,67,.045);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}
.commerce-dialog.commerce-page .dialog-head {
  grid-template-columns: minmax(44px,1fr) auto minmax(44px,1fr);
  position: sticky;
  top: 0;
  z-index: 25;
  min-height: 78px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(14,37,96,.08);
  background: rgba(255,255,255,.42);
  box-shadow: 0 10px 32px rgba(20,35,67,.045);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}
.commerce-dialog .dialog-head > p {
  min-width: 0;
  margin: 0;
  color: #12234b;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
  text-align: left;
}
.commerce-dialog.commerce-page .dialog-head > p { text-align: center; }
.commerce-dialog.commerce-page .dialog-head > .round-control { justify-self: start; }
.commerce-dialog.commerce-page .dialog-head-actions { justify-self: end; }
.commerce-dialog.commerce-page .dialog-head-actions {
  position: static;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  width: auto;
  min-width: 0;
  overflow: visible;
}
.commerce-dialog.commerce-page .dialog-head-actions .language { height: 44px; min-height: 44px; }
.commerce-dialog.commerce-page .dialog-head-actions .st-search-open { width: 44px; height: 44px; }
.commerce-dialog.commerce-page .dialog-head-actions .st-search-open,
.commerce-dialog.commerce-page .dialog-head-actions .language {
  transition: transform .2s cubic-bezier(.22,.8,.25,1), box-shadow .2s ease, background-color .2s ease;
}
.commerce-dialog.commerce-page .dialog-head-actions .st-search-open:hover,
.commerce-dialog.commerce-page .dialog-head-actions .language:hover { transform: translateY(-1px); }
.commerce-dialog.commerce-page .dialog-head-actions .st-search-open:active,
.commerce-dialog.commerce-page .dialog-head-actions .language:active { transform: scale(.96); }
.commerce-dialog.commerce-page .dialog-head > .round-control {
  width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 14px;
}

/* Keep every line subtotal inside its card, including long Kip amounts. */

@media (max-width: 720px) {
  /* 首页与分类页共用左侧品牌锁定区；压过分类页旧样式中的额外放大规则。 */
  #site-global-header .identity { gap: 8px; }
  #site-global-header .identity img { width: 31px; height: 38px; }
  #site-global-header .identity strong { font-size: 14px; line-height: normal; font-weight: 700; }
  .st-home-visual img { object-position: 66% center; }
  .commerce-dialog.commerce-page .dialog-head {
    min-height: 65px;
    padding: max(8px,env(safe-area-inset-top)) 14px 8px;
  }
  .commerce-dialog.commerce-page .dialog-head {
    grid-template-columns: minmax(40px,1fr) auto minmax(40px,1fr);
  }
  .commerce-dialog.commerce-page .dialog-head-actions { gap: 6px; }
  .commerce-dialog.commerce-page .dialog-head-actions .language { height: 40px; min-height: 40px; }
  .commerce-dialog.commerce-page .dialog-head-actions .st-search-open { width: 40px; height: 40px; }
  .commerce-dialog.commerce-page .dialog-head > .round-control { width: 40px; height: 40px; min-height: 40px; }
  .st-contact-toggle { width: 42px; height: 42px; background: rgba(8,31,128,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-dialog.commerce-page .dialog-head-actions .language,
  .commerce-dialog.commerce-page .dialog-head-actions .st-search-open { transition: none; }
}

/* Category and inquiry refinement: tighter rhythm, softer surfaces, clearer groups. */
body.catalog-mode .goods-section { min-height: 0; padding-bottom: 30px; }
body.catalog-mode .catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  align-items: center;
  gap: 8px;
  margin: 8px 0 12px;
  padding: 7px 0 10px;
  border-bottom: 1px solid rgba(18,39,86,.08);
}
body.catalog-mode .catalog-toolbar > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
body.catalog-mode .catalog-result { color: #717c92; font-size: 12px; line-height: 1.4; }
body.catalog-mode .stock-only-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 8px 0 7px;
  border: 1px solid rgba(18,39,86,.11);
  border-radius: 999px;
  background: linear-gradient(180deg,#fff 0%,#fafbfe 100%);
  color: #68748c;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(18,39,86,.055), inset 0 1px 0 rgba(255,255,255,.95);
  transition: background-color .24s cubic-bezier(.2,.7,.2,1), border-color .24s cubic-bezier(.2,.7,.2,1), color .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s cubic-bezier(.2,.7,.2,1);
}
body.catalog-mode .stock-only-toggle::before {
  display: block;
  box-sizing: border-box;
  width: 28px;
  height: 16px;
  flex: none;
  border: 0;
  border-radius: 999px;
  background: #e2e7f0;
  box-shadow: inset 0 1px 2px rgba(20,39,78,.12);
  content: "";
  transition: background-color .24s cubic-bezier(.2,.7,.2,1), box-shadow .24s cubic-bezier(.2,.7,.2,1);
}
body.catalog-mode .stock-only-toggle::after {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 12px;
  height: 12px;
  border: 1px solid rgba(22,42,80,.08);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11,28,68,.22), 0 0 0 1px rgba(255,255,255,.7);
  content: "";
  transform: translateY(-50%);
  transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .24s cubic-bezier(.2,.7,.2,1);
}
body.catalog-mode .stock-only-toggle[aria-checked="true"] {
  border-color: rgba(20,47,138,.2);
  background: linear-gradient(180deg,#f7f9ff 0%,#eff3ff 100%);
  color: #142f8a;
}
body.catalog-mode .stock-only-toggle[aria-checked="true"]::before {
  background: #183b91;
  box-shadow: inset 0 1px 2px rgba(5,22,70,.24), 0 1px 2px rgba(18,48,125,.16);
}
body.catalog-mode .stock-only-toggle[aria-checked="true"]::after {
  transform: translate(12px,-50%);
}
body.catalog-mode .stock-only-toggle:focus-visible { outline: 2px solid #ed7a00; outline-offset: 2px; }
body.catalog-mode .catalog-toolbar > label { justify-self: end; }
body.catalog-mode .catalog-toolbar select {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #e6eaf2;
  border-radius: 10px;
  background: #fff;
  color: #30436e;
  font-size: 11px;
}
body.catalog-mode .catalog-empty {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto;
  grid-template-rows: auto auto;
  grid-template-areas: "icon title action" "icon body action";
  align-content: center;
  align-items: center;
  gap: 5px 15px;
  min-height: 126px;
  padding: 20px 24px;
  border: 1px solid #e9ebef;
  border-radius: 15px;
  background: linear-gradient(112deg,#f8f9fc 0%,#fbfaf7 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  text-align: left;
}
body.catalog-mode .catalog-empty > svg {
  grid-area: icon;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 13px;
  background: #edf1fb;
  color: #183785;
}
body.catalog-mode .catalog-empty h2 { grid-area: title; margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.25px; }
body.catalog-mode .catalog-empty p { grid-area: body; margin: 0; color: #737e92; font-size: 12px; line-height: 1.6; }
body.catalog-mode .catalog-empty .button { grid-area: action; justify-self: end; min-height: 38px; margin: 0; border-radius: 11px; font-size: 12px; }

.commerce-dialog.page-inquiry .inquiry-list { gap: 7px; padding: 0 5px; }
.commerce-dialog.page-inquiry .empty-inquiry {
  margin: 12px 8px;
  padding: 20px 18px;
  border: 1px solid #e9edf3;
  border-radius: 14px;
  background: linear-gradient(135deg,#fbfcff 0%,#fff 58%,#fbfaf7 100%);
  box-shadow: 0 8px 24px -22px rgba(13,35,83,.42);
}
.commerce-dialog.page-inquiry .empty-inquiry > svg { width: 36px; height: 36px; }
.commerce-dialog.page-inquiry .empty-inquiry h2 { margin: 10px 0 6px; font-size: 18px; line-height: 1.35; }
.commerce-dialog.page-inquiry .empty-inquiry p { max-width: 440px; margin: 6px auto 13px; font-size: 12px; line-height: 1.6; }
.commerce-dialog.page-inquiry .empty-inquiry .button { min-height: 38px; border-radius: 11px; font-size: 12px; }
.commerce-dialog.page-inquiry .inquiry-promise { margin: 10px 8px 4px; padding: 11px 12px; border-radius: 12px; }

@media (max-width: 720px) {
  body.catalog-mode .goods-section { padding-bottom: 22px; }
  body.catalog-mode .catalog-toolbar {
    grid-template-columns: auto auto minmax(0,1fr) auto;
    grid-template-rows: auto;
    column-gap: 5px;
    row-gap: 0;
    margin: 6px 0 10px;
    padding: 5px 0 8px;
  }
  body.catalog-mode .catalog-toolbar > div { display: contents; }
  body.catalog-mode .stock-only-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  body.catalog-mode .catalog-sort-open { grid-column: 4; grid-row: 1; }
  body.catalog-mode .catalog-empty {
    grid-template-columns: 38px minmax(0,1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas: "icon title" "icon body" ". action";
    align-content: center;
    gap: 4px 11px;
    min-height: 0;
    padding: 16px;
    border-radius: 13px;
  }
  body.catalog-mode .catalog-empty > svg { width: 38px; height: 38px; padding: 8px; border-radius: 11px; }
  body.catalog-mode .catalog-empty h2 { font-size: 15px; }
  body.catalog-mode .catalog-empty p { font-size: 11px; line-height: 1.55; }
  body.catalog-mode .catalog-empty .button { justify-self: start; min-height: 35px; margin-top: 5px; }

  .commerce-dialog.page-inquiry .dialog-body { padding-top: 12px; }
  .commerce-dialog.page-inquiry .inquiry-list { gap: 6px; padding: 0 2px; }
  .commerce-dialog.page-inquiry .empty-inquiry { margin: 10px 4px; padding: 18px 14px; }
  .commerce-dialog.page-inquiry .empty-inquiry > svg { width: 32px; height: 32px; }
  .commerce-dialog.page-inquiry .empty-inquiry h2 { margin-top: 8px; font-size: 17px; }
  .commerce-dialog.page-inquiry .empty-inquiry p { margin-bottom: 11px; }
  .commerce-dialog.page-inquiry .inquiry-promise { margin: 8px 4px 3px; padding: 10px 11px; }
}

/* One compact glass header shared by the storefront and full-page views. */
.st-page-header {
  --st-header-glass: rgba(255,255,255,.62);
  --st-header-edge: rgba(255,255,255,.7);
  --st-header-shadow: 0 9px 28px rgba(13,31,76,.085), inset 0 1px 0 rgba(255,255,255,.78);
}
body .brandbar.wrap.st-page-header,
body .commerce-dialog .dialog-head.st-page-header {
  position: sticky;
  top: 0;
  z-index: 60;
  box-sizing: border-box;
  min-height: 66px;
  border: 1px solid var(--st-header-edge);
  border-top-color: transparent;
  border-radius: 0 0 17px 17px;
  background: var(--st-header-glass);
  box-shadow: var(--st-header-shadow);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  backdrop-filter: blur(20px) saturate(1.35);
}
body .brandbar.wrap.st-page-header { padding-top: 8px; padding-bottom: 8px; }
body .commerce-dialog .dialog-head.st-page-header {
  min-height: 66px;
  padding: 8px max(20px,calc((100% - 1160px)/2));
}
body .commerce-dialog.page-inquiry .dialog-head.st-page-header,
body .commerce-dialog.page-account .dialog-head.st-page-header {
  grid-template-columns: minmax(0,1fr) auto;
}
.st-page-heading { display: flex; align-items: center; gap: 10px; min-width: 0; }
.st-page-logo { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; }
.st-page-logo img { display: block; width: 44px; height: 44px; object-fit: contain; }
.st-page-heading-copy { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
.st-page-heading-copy small { order: 1; color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .15em; line-height: 1; white-space: nowrap; }
.st-page-heading p {
  min-width: 0;
  margin: 0;
  color: #12234b;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}
body .commerce-dialog.page-inquiry .dialog-head-actions,
body .commerce-dialog.page-account .dialog-head-actions { justify-self: end; }

@media (max-width: 720px) {
  body .brandbar.wrap.st-page-header {
    min-height: 54px;
    padding: max(6px,env(safe-area-inset-top)) 16px 6px;
    gap: 6px;
    border-radius: 0 0 14px 14px;
  }
  body .commerce-dialog .dialog-head.st-page-header {
    min-height: 54px;
    padding: max(6px,env(safe-area-inset-top)) 16px 6px;
    gap: 8px;
    border-radius: 0 0 14px 14px;
  }
  #site-global-header .identity { flex: 1 1 auto; min-width: 0; gap: 7px; }
  #site-global-header .identity > div { min-width: 0; }
  #site-global-header .identity img { width: 28px; height: 33px; }
  #site-global-header .identity strong { font-size: 14px; line-height: 1.05; }
  #site-global-header .identity small {
    margin-top: 3px;
    font-size: 7.2px;
    letter-spacing: 0;
    line-height: 1.1;
    max-width: 142px;
    overflow-wrap: anywhere;
    white-space: normal;
  }
  #site-global-header .header-action-group { flex: 0 0 auto; gap: 6px; margin-left: auto; }
  #site-global-header .header-action-group .st-search-open,
  body .commerce-dialog .dialog-head-actions .st-search-open { width: 36px; height: 36px; }
  #site-global-header .header-action-group .language,
  body .commerce-dialog .dialog-head-actions .language { height: 36px; min-height: 36px; }
  body .commerce-dialog .dialog-head-actions { gap: 6px; }
  body .commerce-dialog.page-inquiry .dialog-head-actions,
  body .commerce-dialog.page-account .dialog-head-actions { gap: 5px; }
  .st-page-heading { gap: 8px; }
  .st-page-logo { width: 28px; height: 33px; }
  .st-page-logo img { width: 28px; height: 33px; }
  .st-page-heading-copy { gap: 2px; }
  .st-page-heading-copy small { font-size: 7px; letter-spacing: .13em; }
  .st-page-heading p { font-size: 15px; }
}

/* Page title beats legacy per-page font overrides; all page headers use the same hierarchy. */
body .commerce-dialog.commerce-page .dialog-head .st-page-heading-copy p {
  order: 0;
  min-width: 0;
  margin: 0;
  color: #12234b;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
body .commerce-dialog.commerce-page .dialog-head .st-page-heading-copy small { order: 1; }
body .commerce-dialog.commerce-page.page-history .dialog-head .st-page-heading-copy,
body .commerce-dialog.commerce-page.page-workbench .dialog-head .st-page-heading-copy { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; }
@media (max-width: 720px) {
  body .commerce-dialog.commerce-page .dialog-head .st-page-heading-copy p { font-size: 15px; }
  body .commerce-dialog.commerce-page .dialog-head .st-page-heading-copy small { font-size: 7px; }
}

/* Restore the compact editorial catalog masthead from the approved direction. */
.catalog-mode .catalog-title { align-items: flex-end; margin: 8px 0; }
.catalog-mode .catalog-title .eyebrow { display: block !important; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; line-height: 1.2; }
.catalog-mode .catalog-title .eyebrow::before { display: none; }
.catalog-mode .catalog-title h1 { margin: 5px 0 0; color: #10245a; font-size: 28px; font-weight: 800; letter-spacing: -.9px; line-height: 1.12; }
.catalog-mode .catalog-edition { display: flex !important; align-items: baseline; gap: 5px; padding-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 550; letter-spacing: .08em; line-height: 1; white-space: nowrap; }
.catalog-mode .catalog-edition strong { color: #536583; font-size: 10px; font-weight: 700; }
.catalog-mode .catalog-edition small { display: inline; margin: 0; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .08em; }

/* Let the account cover image continue behind the translucent sticky header. */
.page-account .account-cover { margin-top: -66px; min-height: 0; padding-top: 94px; padding-bottom: 20px; }
@media (min-width: 721px) {
  /* Match the dialog body's 26px right inset so the cover photo reaches the modal edge. */
  .commerce-dialog.commerce-page.page-account .account-cover { margin-right: -26px; }
}
@media (max-width: 720px) {
  .catalog-mode .catalog-title h1 { font-size: 27px; letter-spacing: -.8px; }
  .page-account .account-cover {
    --st-account-header-overlap: max(54px, calc(44px + env(safe-area-inset-top, 0px)));
    margin-top: calc(-1 * var(--st-account-header-overlap));
    min-height: 0;
    padding-top: calc(22px + var(--st-account-header-overlap));
  }
}

/* Logged-in account covers only need to wrap the user details and logout
   action; the guest hero minimum height leaves an oversized blank tail here. */
.page-account .account-cover:has(.account-logout) {
  min-height: 0;
  padding-bottom: 18px;
}

/* Smaller header controls keep the compact mobile glass bar visually balanced. */
@media (max-width: 720px) {
  #site-global-header .header-action-group { gap: 5px; }
  #site-global-header .header-action-group .st-search-open,
  body .commerce-dialog.commerce-page .dialog-head-actions .st-search-open { width: 32px; height: 32px; }
  #site-global-header .header-action-group .language,
  body .commerce-dialog.commerce-page .dialog-head-actions .language {
    min-width: 68px;
    min-height: 32px;
    height: 32px;
    gap: 4px;
    padding: 3px 6px 3px 4px;
    font-size: 10px;
  }
  #site-global-header .header-action-group .language-flag,
  body .commerce-dialog.commerce-page .dialog-head-actions .language-flag { width: 17px; height: 17px; flex-basis: 17px; }
  #site-global-header .header-action-group .language-chevron,
  body .commerce-dialog.commerce-page .dialog-head-actions .language-chevron { width: 9px; height: 9px; }
  #site-global-header .header-action-group .st-search-open svg,
  body .commerce-dialog.commerce-page .dialog-head-actions .st-search-open svg { width: 17px; height: 17px; }
  body .commerce-dialog.commerce-page .dialog-head-actions { gap: 5px; }
  #site-global-header .header-action-group .st-search-open,
  body .commerce-dialog.commerce-page .dialog-head-actions .st-search-open { animation-name: st-search-breathe-compact; }
}
@keyframes st-search-breathe-compact {
  0%, 100% { box-shadow: 0 4px 13px rgba(13,36,96,.1), 0 0 0 0 rgba(70,113,226,.14), inset 0 1px 0 #fff; }
  50% { box-shadow: 0 6px 17px rgba(13,36,96,.13), 0 0 0 4px rgba(70,113,226,.05), inset 0 1px 0 #fff; }
}

/* Restore the blue closing panel requested for the homepage sourcing section. */
.service#supply {
  margin: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: linear-gradient(125deg, #102b79 0%, #081f80 64%, #18388a 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(8,31,128,.16);
}
.service#supply .service-kicker { color: rgba(255,255,255,.68); }
.service#supply h2 { color: #fff; }
.service#supply .service-steps li { border-color: rgba(255,255,255,.2); }
.service#supply .service-steps li > span { color: #ffb36c; }
.service#supply .service-steps p { color: rgba(255,255,255,.8); }
.service#supply > .button { color: #162446; background: #f47700; padding-right: 6px; }

/* 首页商品标题行与可单指拖动的门店地图。 */
body:not(.catalog-mode) #goods>.section-heading{height:32px;min-height:32px;align-items:flex-end}
body:not(.catalog-mode) #goods>.section-heading h2{line-height:1}
body:not(.catalog-mode) #goods>.section-heading>a{display:flex;align-items:flex-end;height:32px;min-height:32px;padding-top:0;padding-bottom:0}
html body .st-map-panel .st-store-map{width:100%;height:300px;touch-action:none}
html body .st-map-panel .st-store-map-note{margin:0;padding:10px 12px;font-size:12px;line-height:1.5;color:var(--muted)}
@media(max-width:720px){html body .st-map-panel .st-store-map{height:240px}}
