:root {
  --blue: #b9dde7;
  --blue-soft: #eaf6f7;
  --blue-deep: #7bbbc9;
  --ink: #163a4b;
  --ink-soft: #31596a;
  --muted: #617782;
  --soft-muted: #8ca0a8;
  --cream: #fbfcfa;
  --white: #ffffff;
  --line: rgba(22, 58, 75, 0.18);
  --line-dark: rgba(22, 58, 75, 0.42);
  --coral: #f3a28f;
  --coral-dark: #c86b5c;
  --shadow: 0 24px 70px rgba(22, 58, 75, 0.17);
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Avenir Next", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  font-synthesis: none;
}
body.is-dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 16px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.section-shell { width: min(1180px, calc(100% - 56px)); margin-inline: auto; }

/* The header sits over the full-bleed hero like the reference composition. */
.site-header { position: absolute; z-index: 50; top: 0; right: 0; left: 0; min-height: var(--header-height); border-bottom: 1px solid rgba(22, 58, 75, 0.15); background: rgba(185, 221, 231, 0.72); backdrop-filter: blur(14px); }
.header-inner { display: flex; width: min(1280px, calc(100% - 56px)); min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 24px; margin-inline: auto; }
.brand-mark { display: inline-flex; min-width: 0; align-items: center; gap: 12px; }
.brand-mark strong, .brand-mark small { display: block; overflow-wrap: anywhere; }
.brand-mark strong { font-size: 16px; font-weight: 800; }
.brand-mark small { margin-top: 2px; color: var(--ink-soft); font-size: 10px; letter-spacing: 0.02em; }
.brand-symbol { display: inline-grid; width: 38px; height: 38px; flex: 0 0 38px; place-items: center; color: var(--white); background: var(--ink); font-size: 11px; font-weight: 800; }
.brand-symbol-word { font-family: "Noto Serif SC", "Songti SC", serif; font-size: 14px; font-weight: 500; }
.header-nav, .desktop-nav { display: flex; align-items: center; }
.header-nav { gap: 24px; }
.desktop-nav { gap: 21px; }
.desktop-nav a { color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.desktop-nav a:hover { color: var(--coral-dark); }
.desktop-nav a span { display: block; margin-top: 1px; color: var(--muted); font-size: 8px; font-weight: 500; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; color: var(--ink); font-size: 12px; font-weight: 800; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span { margin-left: 5px; color: var(--coral-dark); font-size: 18px; font-weight: 400; }
.mobile-nav-panel { position: absolute; top: calc(100% + 16px); right: 0; display: grid; width: 224px; gap: 0; padding: 8px; border: 1px solid var(--line); background: var(--cream); box-shadow: var(--shadow); }
.mobile-nav-panel a { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; font-weight: 700; }
.mobile-nav-panel a:last-child { border-bottom: 0; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid transparent; border-radius: 3px; font-size: 12px; font-weight: 800; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: var(--white); background: var(--coral-dark); }
.button-primary:hover { background: #a84f43; }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--coral-dark); background: var(--blue-soft); }
.button-secondary { color: var(--ink); border-color: var(--line-dark); background: transparent; }
.button-secondary:hover { border-color: var(--coral-dark); color: var(--coral-dark); background: rgba(255, 255, 255, 0.5); }
.button-compact { min-height: 40px; padding: 9px 13px; font-size: 11px; }
.button:focus-visible, .filter-tab:focus-visible, .product-card-button:focus-visible, .featured-card button:focus-visible, .category-card button:focus-visible, .dialog-close:focus-visible, .search-field:focus-within, .sort-field:focus-within, .clear-filters:focus-visible, .inquiry-mailto-link:focus-visible, .text-link:focus-visible, .mobile-nav summary:focus-visible, .faq-list summary:focus-visible { outline: 3px solid rgba(200, 107, 92, 0.35); outline-offset: 3px; }

/* Hero: split editorial composition with a right-side product data interface. */
.hero { position: relative; min-height: max(720px, 100svh); overflow: hidden; color: var(--ink); background: var(--blue); }
.hero-shell { display: grid; width: min(1280px, calc(100% - 56px)); height: 100vh; min-height: 720px; grid-template-columns: minmax(290px, 0.76fr) minmax(480px, 1.24fr); grid-template-rows: 1fr auto; gap: 24px clamp(30px, 5vw, 76px); align-items: stretch; margin-inline: auto; padding: calc(var(--header-height) + 40px) 0 52px; }
.hero-headline { display: flex; min-width: 0; grid-column: 1; grid-row: 1; flex-direction: column; justify-content: end; padding-bottom: 8px; }
.hero-brandline { margin: 0 0 22px; color: var(--ink-soft); font-size: 10px; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-brandline span { display: block; }
.hero-brandline span[lang="en"] { margin-top: 5px; color: rgba(22, 58, 75, 0.62); font-size: 8px; letter-spacing: 0.16em; }
.hero-headline h1 { display: flex; max-width: 440px; flex-direction: column; margin: 0; font-size: clamp(56px, 7vw, 94px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.86; }
.hero-headline h1 span { display: block; overflow-wrap: anywhere; }
.hero-script { font-family: "Baskerville", "Noto Serif SC", "Songti SC", Georgia, serif; font-size: 0.9em; font-style: italic; font-weight: 400; letter-spacing: -0.04em; }
.hero-bold { color: var(--white); text-shadow: 0 1px 0 rgba(22, 58, 75, 0.1); }
.hero-tagline { max-width: 320px; margin: 24px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.35; }
.hero-train { position: relative; z-index: 2; min-width: 0; grid-column: 2; grid-row: 1 / 3; min-height: 572px; margin: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.64); background: rgba(255, 255, 255, 0.2); box-shadow: 0 24px 60px rgba(22, 58, 75, 0.12); }
.hero-train::before { position: absolute; z-index: 3; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 6px); content: ""; pointer-events: none; mix-blend-mode: screen; }
.hero-train::after { position: absolute; z-index: 3; top: 50%; right: 20px; left: 20px; height: 1px; background: rgba(255, 255, 255, 0.7); box-shadow: 0 0 18px rgba(255, 255, 255, 0.75); content: ""; opacity: 0.45; pointer-events: none; animation: hero-scan 4.2s ease-in-out infinite; }
.hero-train-grid { display: grid; height: calc(100% - 48px); grid-template-columns: minmax(0, 1fr) 142px; gap: 12px; padding: 18px 18px 0; }
.hero-train-main { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.72); background: var(--cream); }
.hero-train-main-image, .hero-train-main-image img { width: 100%; height: 100%; }
.hero-train-main-image img { object-fit: cover; animation: hero-frame-in 700ms cubic-bezier(0.2, 0.75, 0.25, 1) both; }
.hero-train-main-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, transparent 48%, rgba(22, 58, 75, 0.2) 48.2%, transparent 48.7%), linear-gradient(0deg, rgba(22, 58, 75, 0.42), transparent 34%); pointer-events: none; }
.hero-train-main-copy { position: absolute; right: 18px; bottom: 17px; left: 18px; display: grid; gap: 4px; color: var(--white); text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32); }
.hero-train-main-copy strong { font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: clamp(18px, 2.2vw, 28px); font-weight: 600; line-height: 1.12; }
.hero-train-main-copy small, .hero-train-kicker { font-size: 9px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.hero-train-main-copy small { color: rgba(255, 255, 255, 0.78); font-weight: 500; }
.hero-train-kicker { color: var(--coral); }
.hero-train-rail { display: grid; min-width: 0; grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 8px; }
.hero-train-thumb { position: relative; display: grid; min-width: 0; grid-template-columns: 26px minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 0 7px; overflow: hidden; padding: 6px; border: 1px solid rgba(255, 255, 255, 0.38); color: var(--ink); background: rgba(251, 252, 250, 0.54); text-align: left; transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.hero-train-thumb:hover, .hero-train-thumb.is-active { border-color: var(--white); background: rgba(251, 252, 250, 0.96); transform: translateX(-3px); }
.hero-train-thumb-number { grid-row: 1 / 3; align-self: start; color: var(--coral-dark); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.hero-train-thumb-image { display: block; min-width: 0; height: 100%; overflow: hidden; }
.hero-train-thumb-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-train-thumb-label { display: flex; grid-column: 2; min-width: 0; align-items: baseline; justify-content: space-between; gap: 4px; padding-top: 4px; color: var(--ink-soft); font-size: 8px; font-weight: 800; }
.hero-train-thumb-label small { overflow: hidden; color: var(--muted); font-size: 7px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.hero-train-footer { display: grid; grid-template-columns: 26px minmax(80px, 1fr) auto; align-items: center; gap: 10px; height: 48px; padding: 0 18px; color: var(--ink-soft); font-size: 8px; font-weight: 800; letter-spacing: 0.12em; }
.hero-train-progress { display: block; height: 2px; overflow: hidden; background: rgba(22, 58, 75, 0.18); }
.hero-train-progress i { display: block; width: 16%; height: 100%; background: var(--coral-dark); transition: width 300ms ease; }
.hero-aside { display: flex; min-width: 0; grid-column: 1; grid-row: 2; align-items: end; justify-content: space-between; gap: 20px; padding: 0 0 8px; text-align: left; }
.hero-aside-copy { max-width: 270px; margin: 0; color: var(--white); font-size: 14px; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.hero-aside-copy span { display: block; }
.hero-aside-copy span[lang="en"] { margin-top: 10px; color: rgba(22, 58, 75, 0.72); font-size: 8px; font-weight: 800; letter-spacing: 0.08em; }
.hero-features { display: grid; max-width: 150px; gap: 7px; color: var(--white); font-size: 9px; font-weight: 800; line-height: 1.35; text-transform: uppercase; }
.hero-features span { display: block; }
.hero-features small { display: block; color: rgba(22, 58, 75, 0.68); font-size: 7px; letter-spacing: 0.09em; }
.hero-scroll-cue { position: absolute; z-index: 4; bottom: 21px; left: 50%; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 10px; font-weight: 800; transform: translateX(-50%); }
.hero-scroll-cue span:last-child { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-size: 15px; }

/* A sticky editorial story block echoes the reference's long-scroll rhythm. */
.story-section { min-height: 132svh; background: var(--cream); }
.story-shell { position: sticky; top: 0; display: grid; min-height: 100svh; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); grid-template-rows: 1fr auto; gap: 0 42px; align-items: stretch; padding-top: 48px; padding-bottom: 48px; overflow: hidden; }
.story-image { position: relative; min-height: 300px; overflow: hidden; background: var(--blue-soft); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms ease; }
.story-image:hover img { transform: scale(1.035); }
.story-image-main { grid-row: 1 / 3; }
.story-image-detail { width: min(280px, 55%); height: 240px; justify-self: end; align-self: end; margin-top: 32px; }
.story-copy { align-self: center; padding: 34px 0 14px; }
.section-kicker { margin: 0 0 16px; color: var(--coral-dark); font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.section-kicker span { display: block; margin-top: 4px; color: var(--soft-muted); font-size: 8px; letter-spacing: 0.14em; }
.story-copy h2, .detail-intro h2, .faq-intro h2 { max-width: 690px; margin: 0; font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: clamp(35px, 4.6vw, 61px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.story-copy h2 em, .detail-intro h2 em, .faq-intro h2 em { font-family: "Baskerville", "Noto Serif SC", "Songti SC", Georgia, serif; font-weight: 400; }
.editorial-rule { width: 100%; height: 1px; margin: 32px 0 25px; background: var(--line-dark); transform-origin: left; }
.story-copy p, .detail-intro > p:last-of-type, .faq-intro > p:last-of-type { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.story-copy p[lang="en"] { margin-top: 10px; color: var(--soft-muted); font-size: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 11px; font-weight: 800; }
.text-link:hover { color: var(--coral-dark); }
.text-link-dark { margin-top: 25px; }
.story-caption { display: flex; grid-column: 2; align-items: center; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); color: var(--soft-muted); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; }
.story-caption strong { color: var(--ink-soft); }

.category-section, .featured-section, .feedback-section { padding: 112px 0; }
.category-section { background: var(--blue-soft); }
.featured-section { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2, .catalog-heading h2, .sourcing-inner h2, .inquiry-content h2 { margin: 0; font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: 39px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; overflow-wrap: anywhere; }
.section-intro { max-width: 360px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; text-align: right; }
.section-intro span { display: block; margin-top: 4px; color: var(--soft-muted); font-size: 9px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 240px 170px; gap: 12px; margin-top: 48px; }
.category-card { min-width: 0; border: 1px solid rgba(22, 58, 75, 0.22); background: var(--white); transition: transform 240ms ease, border-color 240ms ease; }
.category-card:first-child { grid-row: 1 / 3; }
.category-card:hover { border-color: var(--coral-dark); transform: translateY(-4px); }
.category-card button { display: grid; width: 100%; height: 100%; grid-template-rows: 1fr auto; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.category-image { min-height: 0; overflow: hidden; background: var(--cream); }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.category-card:hover .category-image img { transform: scale(1.04); }
.category-body { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; padding: 14px 15px 15px; }
.category-index { grid-column: 1 / -1; color: var(--coral-dark); font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.category-body h3 { margin: 0; font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: 21px; font-weight: 600; line-height: 1.1; }
.category-body p { align-self: end; margin: 0; color: var(--muted); font-size: 9px; }
.category-body .card-action { grid-column: 2; grid-row: 2; align-self: end; margin: 0; }
.card-action { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: 9px; font-weight: 800; }

.detail-section { padding: 108px 0; color: var(--ink); background: var(--blue); }
.detail-shell { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(270px, 0.85fr) minmax(180px, 0.55fr); align-items: center; gap: 45px; }
.detail-intro h2 { font-size: clamp(34px, 4.4vw, 54px); }
.detail-intro > p:last-of-type { margin-top: 22px; color: var(--ink-soft); }
.detail-visual { position: relative; height: 440px; overflow: hidden; background: var(--cream); }
.detail-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform 650ms ease; }
.detail-visual:hover img { transform: scale(1.04); }
.detail-visual-label { position: absolute; right: 15px; bottom: 15px; color: var(--white); font-size: 9px; font-weight: 800; letter-spacing: 0.1em; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); text-transform: uppercase; }
.detail-data { display: grid; margin: 0; border-top: 1px solid var(--line-dark); }
.detail-data > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-data dt { color: var(--ink-soft); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.detail-data dd { margin: 5px 0 0; color: var(--ink); font-size: 15px; font-weight: 800; overflow-wrap: anywhere; }

.featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 48px; }
.featured-card { min-width: 0; border-top: 1px solid var(--line-dark); transition: border-color 180ms ease, transform 180ms ease; }
.featured-card:hover { border-color: var(--coral-dark); transform: translateY(-3px); }
.featured-card button { width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.featured-image { width: 100%; aspect-ratio: 1.16 / 1; margin-top: 18px; overflow: hidden; background: var(--blue-soft); }
.featured-image img, .product-image img, .dialog-product-image img, .spec-image img { width: 100%; height: 100%; object-fit: contain; background: var(--cream); }
.featured-image img, .product-image img { transition: transform 300ms ease; }
.featured-card:hover .featured-image img, .product-card:hover .product-image img { transform: scale(1.025); }
.featured-body { padding: 18px 0 0; }
.category-label { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.featured-body h3, .product-card h3 { margin: 9px 0 0; font-size: 18px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.product-name-en { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.featured-meta { display: flex; justify-content: space-between; gap: 14px; margin: 20px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: var(--soft-muted); font-size: 9px; }
.featured-meta strong { color: var(--ink); font-size: 10px; }

.catalog-section { padding: 108px 0 116px; color: var(--ink); background: var(--cream); }
.catalog-heading { display: flex; align-items: start; justify-content: space-between; gap: 28px; }
.catalog-heading > div:first-child > p:last-child { max-width: 670px; margin: 15px 0 0; color: var(--muted); font-size: 12px; }
.catalog-heading > div:first-child > p:last-child span { color: var(--soft-muted); }
.catalog-marker { color: var(--coral-dark); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.catalog-controls { display: grid; grid-template-columns: minmax(220px, 0.85fr) minmax(400px, 1.8fr) minmax(200px, 0.65fr); gap: 15px; margin-top: 43px; padding: 15px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line); }
.search-field, .sort-field { display: flex; min-width: 0; min-height: 48px; align-items: center; border-bottom: 1px solid var(--line-dark); background: transparent; }
.search-field { padding: 0 4px; }
.search-icon { margin-right: 9px; color: var(--coral-dark); font-size: 20px; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; }
.search-field input::placeholder { color: var(--soft-muted); }
.filter-tabs { display: grid; min-width: 0; grid-template-columns: repeat(auto-fit, minmax(106px, 1fr)); gap: 5px; }
.filter-tab { min-width: 0; min-height: 44px; padding: 6px 8px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; font-size: 10px; font-weight: 800; transition: border-color 160ms ease, color 160ms ease; overflow-wrap: anywhere; }
.filter-tab span, .filter-tab small { display: block; }
.filter-tab small { margin-top: 2px; color: var(--soft-muted); font-size: 8px; font-weight: 500; }
.filter-tab.is-active { color: var(--ink); border-color: var(--coral-dark); }
.sort-field { position: relative; flex-direction: column; align-items: flex-start; justify-content: center; padding: 4px 24px 4px 4px; }
.sort-field span { color: var(--soft-muted); font-size: 9px; font-weight: 700; }
.sort-field select { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 11px; font-weight: 700; }
.result-bar { display: flex; min-height: 61px; align-items: center; justify-content: space-between; gap: 16px; }
.result-bar p { margin: 0; color: var(--muted); font-size: 11px; }
.result-bar strong { color: var(--ink); font-size: 18px; }
.clear-filters { padding: 7px 0; border: 0; color: var(--ink-soft); background: transparent; font-size: 10px; font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; opacity: 1; transition: opacity 140ms ease; }
.product-grid.is-updating { opacity: 0.35; }
.product-card { display: flex; min-width: 0; flex-direction: column; border-top: 1px solid var(--line); transition: border-color 180ms ease, transform 180ms ease; }
.card-enter { animation: card-enter 280ms ease both; animation-delay: var(--card-delay, 0ms); }
.product-card:hover { border-color: var(--coral-dark); transform: translateY(-3px); }
.product-card-button { display: flex; width: 100%; height: 100%; min-width: 0; flex-direction: column; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; }
.product-image { position: relative; width: 100%; aspect-ratio: 1 / 1; margin-top: 16px; overflow: hidden; background: var(--blue-soft); }
.product-card-body { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 16px 0 24px; }
.product-card-topline { display: flex; min-width: 0; align-items: start; justify-content: space-between; gap: 10px; }
.product-card-topline .category-label { min-width: 0; }
.product-id { flex: 0 0 auto; color: var(--soft-muted); font-size: 9px; font-weight: 800; letter-spacing: 0.05em; }
.size-line { min-width: 0; margin: 14px 0 0; color: var(--muted); font-size: 10px; overflow-wrap: anywhere; white-space: pre-wrap; }
.size-line strong { margin-right: 6px; color: var(--soft-muted); font-size: 9px; }
.card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: auto; padding-top: 15px; color: var(--soft-muted); font-size: 9px; }
.card-footer strong { color: var(--ink); font-size: 10px; }
.card-footer .card-action { margin-top: 0; margin-left: auto; }
.empty-state { min-height: 280px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; border-top: 1px solid var(--line-dark); background: transparent; text-align: center; }
.empty-state:not([hidden]) { display: flex; }
.empty-state strong { font-size: 19px; }
.empty-state span { color: var(--muted); font-size: 12px; }
.empty-state .load-error-detail { max-width: min(620px, 100%); color: var(--soft-muted); font-size: 10px; overflow-wrap: anywhere; }
.empty-state .button { margin-top: 16px; }

.feedback-section { background: var(--blue-soft); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 47px; }
.testimonial-card, .testimonial-empty { min-width: 0; min-height: 220px; padding: 24px; border: 1px solid rgba(22, 58, 75, 0.2); background: rgba(255, 255, 255, 0.65); }
.testimonial-mark { display: block; color: var(--coral-dark); font-family: Georgia, serif; font-size: 38px; line-height: 0.8; }
.testimonial-card blockquote { margin: 23px 0 0; }
.testimonial-card blockquote p { margin: 0; color: var(--ink); font-size: 13px; line-height: 1.7; }
.testimonial-card blockquote p[lang="en"] { margin-top: 10px; color: var(--muted); font-size: 10px; }
.testimonial-card footer { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--coral-dark); font-size: 9px; font-weight: 800; }
.testimonial-empty { display: flex; grid-column: 1 / -1; align-items: center; gap: 26px; min-height: 174px; }
.testimonial-empty strong { font-family: "Noto Serif SC", "Songti SC", Georgia, serif; font-size: 23px; font-weight: 600; }
.testimonial-empty p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.testimonial-empty small { display: block; margin-top: 14px; color: var(--soft-muted); font-size: 10px; line-height: 1.6; }

.faq-section { padding: 112px 0; background: var(--white); }
.faq-shell { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 70px; align-items: start; }
.faq-intro h2 { font-size: clamp(34px, 4.4vw, 54px); }
.faq-intro > p:last-of-type { margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line-dark); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; cursor: pointer; list-style: none; color: var(--ink); font-size: 15px; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--coral-dark); font-size: 20px; font-weight: 400; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 620px; margin: -4px 34px 21px 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.sourcing-section { padding: 82px 0; color: var(--white); background: var(--ink); }
.sourcing-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(250px, 0.75fr) auto; align-items: end; gap: 50px; }
.sourcing-inner .section-kicker { color: var(--blue); }
.sourcing-inner .section-kicker span[lang="en"] { color: rgba(255, 255, 255, 0.52); }
.sourcing-inner h2 { max-width: 600px; font-size: 35px; }
.sourcing-inner > div > p:last-child { margin: 14px 0 0; color: rgba(255, 255, 255, 0.65); font-size: 11px; }
.sourcing-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.sourcing-list li { padding-top: 11px; border-top: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.9); font-size: 10px; line-height: 1.5; }
.sourcing-list li span { display: block; margin-top: 2px; color: rgba(255, 255, 255, 0.5); font-size: 8px; }
.sourcing-inner .button { white-space: nowrap; }

.site-footer { padding: 43px 0 92px; border-top: 1px solid var(--line); background: var(--cream); }
.footer-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(280px, 1.5fr) auto; align-items: start; gap: 36px; }
.footer-grid p { margin: 0; color: var(--muted); font-size: 10px; }
.footer-grid .footer-brand { color: var(--ink); font-size: 20px; font-weight: 800; }
.footer-note { margin-top: 13px !important; color: var(--soft-muted) !important; }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 9px 18px; color: var(--muted); font-size: 10px; }
.footer-contact a:hover { color: var(--coral-dark); }
.footer-actions { display: grid; justify-items: start; gap: 13px; }
.back-to-top { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.mobile-inquiry { display: none; }

dialog { max-width: calc(100% - 32px); padding: 0; border: 0; border-radius: 4px; color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(22, 58, 75, 0.62); backdrop-filter: blur(7px); }
dialog[open] { animation: dialog-in 180ms ease both; }
.product-dialog { width: min(980px, calc(100% - 32px)); max-height: min(88vh, 820px); overflow: auto; }
.inquiry-dialog { width: min(560px, calc(100% - 32px)); max-height: min(88vh, 820px); overflow: auto; }
.dialog-close { position: sticky; z-index: 5; top: 14px; float: right; display: grid; width: 36px; height: 36px; margin: 14px 14px -50px 0; place-items: center; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--ink); background: var(--white); font-size: 21px; line-height: 1; }
.dialog-layout { display: grid; grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr); min-height: 620px; }
.dialog-product-image { position: sticky; top: 0; height: min(88vh, 820px); min-height: 620px; overflow: hidden; background: var(--blue-soft); }
.dialog-product-info { min-width: 0; padding: 52px 40px 40px; }
.dialog-product-info h2 { margin: 12px 48px 0 0; font-size: 32px; font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; }
.dialog-name-en { margin: 8px 48px 0; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 30px 0 0; border-top: 1px solid var(--line-dark); }
.spec-list > div { min-width: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--soft-muted); font-size: 9px; text-transform: uppercase; }
.spec-list dd { margin: 5px 0 0; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; white-space: pre-wrap; }
.spec-image { height: 230px; margin-top: 26px; overflow: hidden; background: var(--blue-soft); }
.spec-text { margin-top: 24px; padding: 14px 0; border-top: 1px solid var(--line-dark); color: var(--muted); font-size: 12px; font-weight: 700; }
.dialog-inquiry-button { width: 100%; margin-top: 28px; }
.inquiry-content { padding: 52px 40px 40px; }
.inquiry-context { margin: 14px 48px 0 0; color: var(--muted); font-size: 13px; }
.inquiry-form { display: grid; gap: 15px; margin-top: 26px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inquiry-form label { display: grid; min-width: 0; gap: 7px; }
.inquiry-form label > span { color: var(--muted); font-size: 10px; font-weight: 800; }
.inquiry-form em { color: var(--coral-dark); font-style: normal; }
.inquiry-form input, .inquiry-form textarea { width: 100%; min-width: 0; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; outline: 0; color: var(--ink); background: transparent; font-size: 13px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.inquiry-form input:focus, .inquiry-form textarea:focus { border-color: var(--coral-dark); box-shadow: 0 1px 0 var(--coral-dark); }
.inquiry-form input::placeholder, .inquiry-form textarea::placeholder { color: var(--soft-muted); }
.inquiry-form textarea { min-height: 104px; resize: vertical; }
.inquiry-submit { width: 100%; margin-top: 3px; }
.inquiry-status { min-height: 20px; margin: -3px 0 0; color: var(--ink-soft); font-size: 11px; font-weight: 800; }
.inquiry-mailto-link { display: inline-block; margin-top: -4px; color: var(--ink-soft); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.contact-options { display: grid; gap: 0; margin-top: 24px; }
.contact-options > div { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-options > div > span:last-child { min-width: 0; }
.contact-options small, .contact-options strong { display: block; overflow-wrap: anywhere; }
.contact-options small { color: var(--soft-muted); font-size: 9px; }
.contact-options strong { margin-top: 2px; font-size: 12px; }
.contact-icon { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; color: var(--white); background: var(--ink); font-size: 9px; font-weight: 800; }
.image-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; flex-direction: column; gap: 12px; padding: 16px; color: var(--muted); background: var(--blue-soft); text-align: center; font-size: 11px; }
.image-fallback small { font-size: 9px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-frame-in { from { opacity: 0; transform: scale(1.035) translateX(18px); filter: saturate(0.75); } to { opacity: 1; transform: none; filter: saturate(1); } }
@keyframes hero-scan { 0%, 100% { transform: translateY(-235px); opacity: 0; } 18%, 82% { opacity: 0.55; } 50% { transform: translateY(235px); opacity: 0.75; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }
@keyframes card-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

@media (max-width: 1080px) {
  .desktop-nav { gap: 13px; }
  .hero-shell { grid-template-columns: minmax(250px, 0.72fr) minmax(430px, 1.28fr); gap: 22px 34px; }
  .hero-headline h1 { font-size: clamp(50px, 7vw, 76px); }
  .hero-train-grid { grid-template-columns: minmax(0, 1fr) 118px; }
  .hero-aside { gap: 14px; }
  .catalog-controls { grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.7fr); }
  .sort-field { grid-column: 1 / -1; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-shell { grid-template-columns: minmax(0, 0.85fr) minmax(240px, 0.9fr) minmax(170px, 0.6fr); gap: 28px; }
  .sourcing-inner { grid-template-columns: minmax(0, 1fr) minmax(230px, 0.75fr); }
  .sourcing-inner .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 780px) {
  :root { --header-height: 64px; }
  .section-shell, .header-inner, .hero-shell { width: min(100% - 36px, 1180px); }
  .header-inner { min-height: var(--header-height); gap: 10px; }
  .brand-mark small, .desktop-nav { display: none; }
  .brand-mark strong { max-width: 180px; font-size: 14px; }
  .header-nav { gap: 10px; }
  .mobile-nav { display: block; }
  .hero { min-height: 0; }
  .hero-shell { display: flex; height: auto; min-height: 0; flex-direction: column; gap: 0; padding-top: calc(var(--header-height) + 24px); padding-bottom: 62px; }
  .hero-headline { min-height: 310px; padding: 35px 0 20px; }
  .hero-headline h1 { max-width: 500px; font-size: clamp(58px, 14vw, 92px); }
  .hero-train { order: 2; width: min(100%, 620px); height: 440px; min-height: 0; margin: 0 auto; border: 1px solid rgba(255, 255, 255, 0.6); }
  .hero-train-grid { grid-template-columns: minmax(0, 1fr) 118px; padding: 14px 14px 0; }
  .hero-train-footer { padding: 0 14px; }
  .hero-aside { order: 3; align-items: start; padding: 36px 0 0; text-align: left; }
  .hero-aside-copy { max-width: 560px; font-size: 17px; }
  .hero-features { max-width: none; margin-top: 32px; }
  .hero-scroll-cue { position: relative; right: auto; bottom: auto; left: auto; justify-content: center; padding-bottom: 20px; transform: none; }
  .story-section { min-height: 0; }
  .story-shell { position: relative; display: grid; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; gap: 22px; padding-top: 70px; padding-bottom: 70px; }
  .story-image-main { grid-row: auto; min-height: 390px; }
  .story-copy { grid-row: auto; padding: 22px 0 0; }
  .story-image-detail { grid-row: auto; width: 65%; height: 220px; margin-top: 5px; }
  .story-caption { grid-column: auto; }
  .section-heading, .catalog-heading { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .catalog-heading h2, .sourcing-inner h2, .inquiry-content h2 { font-size: 33px; }
  .section-intro { max-width: 520px; text-align: left; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 220px 180px; }
  .category-card:first-child { grid-row: 1 / 3; }
  .detail-shell { grid-template-columns: 1fr 1fr; gap: 28px; }
  .detail-intro { grid-column: 1 / -1; }
  .detail-visual { height: 370px; }
  .detail-data { align-self: stretch; }
  .catalog-controls { grid-template-columns: 1fr; }
  .sort-field { grid-column: auto; }
  .filter-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(112px, 1fr)); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-empty { grid-column: auto; }
  .faq-shell { grid-template-columns: 1fr; gap: 42px; }
  .sourcing-inner { grid-template-columns: 1fr; gap: 28px; }
  .sourcing-inner .button { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-contact { grid-column: 1 / -1; }
  .footer-actions { grid-column: 2; grid-row: 1; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-product-image { position: relative; height: min(52vh, 440px); min-height: 340px; }
}

@media (max-width: 560px) {
  .section-shell, .header-inner, .hero-shell { width: min(100% - 28px, 1180px); }
  .site-header .button-light { display: none; }
  .brand-mark strong { max-width: 164px; font-size: 13px; }
  .hero-headline { min-height: 274px; }
  .hero-headline h1 { font-size: 59px; }
  .hero-tagline { font-size: 12px; }
  .hero-train { height: 360px; }
  .hero-train-grid { grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; padding: 10px 10px 0; }
  .hero-train-footer { grid-template-columns: 23px minmax(60px, 1fr) auto; gap: 7px; height: 40px; padding: 0 10px; font-size: 7px; }
  .hero-train-thumb { grid-template-columns: 18px minmax(0, 1fr); gap: 0 4px; padding: 4px; }
  .hero-train-thumb-label small { display: none; }
  .hero-train-main-copy { right: 12px; bottom: 12px; left: 12px; }
  .hero-train-main-copy strong { font-size: 19px; }
  .hero-aside-copy { font-size: 15px; }
  .hero-features { font-size: 10px; }
  .story-shell { padding-top: 54px; padding-bottom: 54px; }
  .story-image-main { min-height: 330px; }
  .story-image-detail { width: 75%; height: 180px; }
  .category-section, .featured-section, .feedback-section, .faq-section { padding: 78px 0 84px; }
  .detail-section { padding: 76px 0 84px; }
  .catalog-section { padding: 78px 0 88px; }
  .section-heading h2, .catalog-heading h2, .sourcing-inner h2, .inquiry-content h2 { font-size: 28px; }
  .category-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .category-card:first-child { grid-row: auto; }
  .category-card { min-height: 290px; }
  .detail-shell { grid-template-columns: 1fr; }
  .detail-intro, .detail-visual { grid-column: auto; }
  .detail-visual { height: 320px; }
  .detail-data { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .product-grid, .featured-grid { grid-template-columns: 1fr; }
  .product-card-body { padding-bottom: 30px; }
  .testimonial-empty { align-items: flex-start; flex-direction: column; gap: 18px; }
  .faq-list summary { font-size: 13px; }
  .sourcing-section { padding: 62px 0 96px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-contact { grid-column: auto; flex-direction: column; }
  .footer-actions { grid-column: auto; grid-row: auto; }
  .mobile-inquiry { position: fixed; z-index: 45; right: 14px; bottom: 14px; display: inline-flex; min-height: 48px; align-items: center; gap: 8px; padding: 10px 16px; border: 0; border-radius: 3px; color: var(--white); background: var(--coral-dark); box-shadow: 0 10px 24px rgba(22, 58, 75, 0.22); font-weight: 800; }
  .mobile-inquiry span[lang="en"] { font-size: 9px; font-weight: 500; }
  .product-dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - 18px); margin: auto 0 0; border-radius: 4px 4px 0 0; }
  .dialog-product-image { height: 43vh; min-height: 290px; }
  .dialog-product-info, .inquiry-content { padding: 36px 20px 28px; }
  .dialog-product-info h2 { margin-right: 40px; font-size: 27px; }
  .dialog-name-en { margin-right: 40px; }
  .spec-list { grid-template-columns: 1fr; }
  .inquiry-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 18px); margin: auto 10px 0; border-radius: 4px 4px 0 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-train-main-image img, .hero-train::after { animation: none; }
}

/* Refined product-page pass: quieter contrast, smaller product preview, and clear feedback states. */
:root {
  --blue: #dceff3;
  --blue-soft: #eef7f8;
  --blue-deep: #9ccbd4;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --soft-muted: #86868b;
  --cream: #f5f5f7;
  --white: #ffffff;
  --line: rgba(29, 29, 31, 0.12);
  --line-dark: rgba(29, 29, 31, 0.22);
  --coral: #5da9bb;
  --coral-dark: #0071e3;
  --shadow: 0 18px 44px rgba(29, 29, 31, 0.08);
}

body { background: var(--cream); }
.site-header { border-bottom-color: rgba(29, 29, 31, 0.08); background: rgba(245, 245, 247, 0.78); }
.brand-symbol { color: var(--white); background: var(--ink); }
.button { border-radius: 980px; }
.button-primary { background: var(--coral-dark); }
.button-primary:hover { background: #0077ed; }
.button-secondary { border-color: var(--line-dark); }

.hero { background: var(--blue); }
.hero-shell { grid-template-columns: minmax(290px, 0.9fr) minmax(420px, 1.1fr); gap: 24px clamp(34px, 6vw, 96px); }
.hero-train {
  align-self: center;
  justify-self: end;
  width: min(100%, 560px);
  height: min(560px, calc(100vh - 210px));
  min-height: 0;
  border-color: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 20px 46px rgba(29, 29, 31, 0.1);
}
.hero-train::before, .hero-train::after { display: none; }
.hero-train-grid { grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; padding: 14px 14px 0; }
.hero-train-main { border-color: rgba(29, 29, 31, 0.08); border-radius: 12px; background: var(--white); }
.hero-train-main-image img { object-fit: contain; padding: 18px; }
.hero-train-main-overlay { background: linear-gradient(0deg, rgba(29, 29, 31, 0.38), transparent 38%); }
.hero-train-main-copy { right: 20px; bottom: 19px; left: 20px; }
.hero-train-kicker { color: #b7e4ed; }
.hero-train-thumb { border-color: rgba(29, 29, 31, 0.08); border-radius: 10px; background: rgba(255, 255, 255, 0.68); }
.hero-train-thumb:hover, .hero-train-thumb.is-active { border-color: rgba(0, 113, 227, 0.38); background: rgba(255, 255, 255, 0.96); transform: translateX(-2px); }
.hero-train-thumb-number { color: var(--coral-dark); }
.hero-train-progress { background: rgba(29, 29, 31, 0.12); }
.hero-train-progress i { background: var(--coral-dark); }

.category-section { background: var(--blue-soft); }
.category-card, .featured-card, .testimonial-card, .testimonial-empty { border-color: var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(29, 29, 31, 0.035); }
.category-card:hover, .featured-card:hover { border-color: rgba(0, 113, 227, 0.38); }
.feedback-section { background: var(--cream); }
.testimonial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 42px; }
.testimonial-card { min-height: 214px; padding: 22px; background: var(--white); }
.testimonial-mark { color: var(--coral-dark); font-size: 34px; }
.testimonial-card blockquote { margin-top: 20px; }
.testimonial-card blockquote p { font-size: 13px; line-height: 1.65; }
.testimonial-card blockquote p[lang="en"] { margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.testimonial-card footer { margin-top: 22px; padding-top: 11px; border-top-color: var(--line); color: var(--coral-dark); font-size: 9px; letter-spacing: 0.01em; }
.testimonial-attribution { display: block; margin-bottom: 7px; color: var(--ink-soft); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.testimonial-attribution span { margin-left: 4px; color: var(--muted); font-size: 9px; font-weight: 500; }
.testimonial-empty { background: var(--white); }

@media (max-width: 1080px) {
  .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-train { width: min(100%, 520px); }
}

@media (max-width: 780px) {
  .hero-train { align-self: center; justify-self: center; width: min(100%, 620px); height: 420px; border-radius: 16px; }
  .hero-train-main-image img { padding: 12px; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-train { height: 340px; border-radius: 14px; }
  .hero-train-main-image img { padding: 8px; }
}

/* Uniform image presentation: fixed frames, no crop, and consistent product scale. */
.hero-train {
  width: min(100%, 760px);
  height: min(500px, calc(100vh - 230px));
  min-height: 420px;
}
.hero-train-main { display: grid; place-items: center; aspect-ratio: 1 / 1; }
.hero-train-main-image { display: grid; width: 100%; height: 100%; place-items: center; }
.hero-train-main-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.hero-train-rail { grid-template-rows: repeat(6, minmax(0, 1fr)); }
.hero-train-thumb-image { aspect-ratio: 1 / 1; }
.hero-train-thumb-image img { object-fit: contain; padding: 4px; background: var(--white); }

.story-image img,
.category-image img,
.detail-visual img,
.featured-image img,
.product-image img,
.dialog-product-image img,
.spec-image img { object-fit: contain; padding: 12px; background: var(--white); }
.story-image,
.category-image,
.detail-visual,
.featured-image,
.product-image,
.dialog-product-image,
.spec-image { display: grid; place-items: center; }
.story-image img,
.category-image img,
.detail-visual img,
.featured-image img,
.product-image img,
.dialog-product-image img,
.spec-image img { min-width: 0; min-height: 0; }

@media (max-width: 780px) {
  .hero-train { width: min(100%, 680px); height: 420px; min-height: 0; }
}

@media (max-width: 560px) {
  .hero-train { height: 340px; min-height: 0; }
  .hero-train-main-image img { padding: 10px; }
}
