@import url('./details.css?v=20261009-keywords-v10');
@font-face {
  font-family: Manrope;
  src: url('assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #19272e;
  --muted: #606d74;
  --line: #e3e7e9;
  --paper: #fff;
  --soft: #f5f7f8;
  --accent: #efab51;
  --accent-ink: #85501b;
  --focus: #966020;
  --radius: 8px;
  --gutter: clamp(20px, 3.5vw, 64px);
  --content: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; scrollbar-color: #aab4ba #f4f6f7; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: Manrope, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
#app { min-height: 100dvh; display: flex; flex-direction: column; }
#app > main { flex: 1; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.site-footer span { margin-inline: 8px; color: #a8b3b9; }
::selection { color: #17252c; background: #f9d8ab; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
img { display: block; max-width: 100%; }
.container, .header-inner {
  width: min(var(--content), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.skip {
  position: fixed; top: -100px; left: 20px; z-index: 100;
  padding: 10px 16px; border-radius: 4px; background: var(--accent);
}
.skip:focus { top: 12px; }
.site-header { background: var(--ink); color: #fff; }
.header-inner { display: flex; align-items: center; gap: 64px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: .02em; }
.brand-mark {
  display: grid; place-items: center; width: 35px; height: 35px;
  border-radius: 4px; color: var(--ink); background: var(--accent); font-size: 23px;
}
.brand-en { display: block; font-size: 10px; line-height: 1.4; letter-spacing: .18em; font-weight: 500; color: #c3cdd2; }
.site-header nav { display: flex; gap: 32px; align-self: stretch; }
.site-header nav a {
  position: relative; display: flex; align-items: center; font-size: 14px; color: #cbd4d9;
  transition: color 180ms;
}
.site-header nav a::after {
  content: ""; position: absolute; inset: auto 0 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.site-header nav a.active { color: #fff; }
.site-header nav a.active::after, .site-header nav a:hover::after { transform: scaleX(1); }
.site-header nav a:hover { color: #fff; }
.home { padding-block: 32px 56px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; }
.catalog-heading h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.catalog-heading > span { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; animation: catalog-enter 480ms var(--ease); }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.image-link { display: block; overflow: hidden; border: 1px solid #edf0f1; border-radius: 10px; transition: border-color 220ms; }
.image-link:hover, .image-link:focus-visible { border-color: #b1bec5; }
.product-image {
  position: relative; width: 100%; aspect-ratio: 1 / 1; height: auto; display: block;
  overflow: hidden; background: #fff;
}
.product-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center; background: #fff;
}
.image-fallback { position: absolute; inset: 24px; display: grid; place-items: center; border: 1px dashed #b4c0c6; color: var(--muted); font-size: 14px; }
.image-fallback[hidden] { display: none; }
.card-content { display: flex; flex-direction: column; flex: 1; padding: 18px 2px 0; }
.card-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; line-height: 1.5; }
.card-meta span:last-child { font-variant-numeric: tabular-nums; }
.card-title { display: block; margin: 10px 0 20px; }
.card-title h2 { font-size: 22px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; transition: color 180ms; }
.card-title p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.75; overflow-wrap: anywhere; }
.card-title:hover h2 { color: var(--accent-ink); }
.card-price { display: flex; align-items: baseline; gap: 12px; margin-top: auto; }
.card-price span { font-size: 13px; color: var(--muted); }
.card-price strong { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.card-actions { display: flex; gap: 20px; justify-content: space-between; align-items: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px; border: 1px solid transparent; border-radius: 5px;
  font-size: 14px; line-height: 1.5; font-weight: 600; white-space: nowrap;
  transition: background 180ms, color 180ms, border-color 180ms;
}
.primary { color: #272014; background: var(--accent); }
.primary:hover { background: #e6a045; }
.secondary { background: #fff; border-color: #b9c5cb; color: var(--ink); }
.secondary:hover { border-color: var(--ink); background: var(--soft); }
.text-link, .reason-link { text-decoration: underline; text-decoration-color: #bac3c8; text-decoration-thickness: 1px; transition: color 180ms, text-decoration-color 180ms; }
.text-link { font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 36px; }
.reason-link { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; color: var(--accent-ink); white-space: nowrap; }
.text-link:hover, .reason-link:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.placeholder-label, .status-label { display: inline-block; font-size: 12px; color: var(--muted); line-height: 1.7; }
.breadcrumb { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; font-size: 13px; color: var(--muted); }
.breadcrumb span { color: #a8b3b9; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.small-note { font-size: 12px; color: var(--muted); line-height: 1.8; }
.copy-status { font-size: 13px; color: var(--accent-ink); margin-top: 16px; }
@keyframes catalog-enter { from { opacity: .8; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 180ms; }
@media(max-width:1050px) {
  .header-inner { gap: 40px; }
  .product-grid { gap: 24px; }
  .card-title h2 { font-size: 20px; }
  .card-title p { font-size: 13px; }
  .card-actions { gap: 12px; }
  .card-actions .button { padding-inline: 15px; }
}
@media(max-width:760px) {
  :root { --gutter: 20px; }
  .header-inner { min-height: 64px; justify-content: space-between; gap: 20px; }
  .brand { font-size: 21px; }
  .brand-mark { width: 32px; height: 32px; font-size: 21px; }
  .site-header nav { gap: 22px; }
  .site-header nav a { font-size: 13px; }
  .home { padding-block: 24px 36px; }
  .catalog-heading { margin-bottom: 20px; gap: 12px; }
  .catalog-heading h1 { font-size: 22px; }
  .catalog-heading > span { font-size: 12px; }
  .product-grid { grid-template-columns: 1fr; gap: 36px; }
  .card-title h2 { font-size: 22px; }
  .card-title p { font-size: 14px; }
  .card-content { padding-top: 16px; }
  .card-title { margin-bottom: 16px; }
  .card-actions { margin-top: 16px; padding-top: 16px; }
  .reason-link, .text-link { min-height: 44px; font-size: 13px; }
  .breadcrumb { font-size: 12px; margin: 18px 0 22px; gap: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  ::view-transition-group(*) { animation: none; }
}

