:root {
  color-scheme: light;
  font-family: 'Segoe UI','Microsoft YaHei',system-ui,sans-serif;
  --paper: #f5f0e5;
  --ink: #282823;
  --muted: #625e52;
  --edge: #ded5c6;
  --warm: #e6a375;
  --milk: #fff9ed;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: radial-gradient(ellipse at 80% 0,#eee0cc,transparent 34rem),var(--paper); }
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button,select { font: inherit; cursor: pointer; }
button:focus-visible,a:focus-visible,select:focus-visible { outline: 3px solid #a35638; outline-offset: 3px; }
img { display: block; }
p,h1,h2 { margin: 0; }
.shell { width: min(1190px,calc(100% - 72px)); margin-inline: auto; }
.header { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 850; font-size: 20px; line-height: 1; letter-spacing: -.045em; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 8px; letter-spacing: .14em; }
.main-nav { display: flex; align-items: center; gap: clamp(14px,3vw,32px); font-size: 13px; font-weight: 670; color: var(--muted); }
.main-nav a:hover,.footer a:hover { color: #994827; }
.language { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--edge); border-radius: 99px; background: #fffaf1; color: var(--muted); }
.language select { border: 0; background: transparent; color: var(--ink); padding: 3px; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 392px; overflow: hidden; border: 1px solid #494437; border-radius: 26px; background: radial-gradient(ellipse at 8% 1%,#514638,transparent 80%),#292923; color: #fff8e8; box-shadow: 0 15px 42px #57422926; }
.hero-copy { align-self: center; padding: clamp(27px,5.1vw,64px); }
.edition,.eyebrow { color: #9a5637; font-size: 10px; font-weight: 820; letter-spacing: .15em; }
.edition { display: inline-flex; align-items: center; gap: 8px; color: #ffd6b5; }
.edition span:first-child { display: block; width: 6px; height: 6px; background: var(--warm); transform: rotate(45deg); }
.hero h1 { margin-top: 15px; font-size: clamp(40px,5.5vw,76px); font-weight: 860; line-height: 1.01; letter-spacing: -.07em; text-wrap: balance; }
.hero h1 em { color: #efb58f; font-style: normal; }
html:lang(zh) .hero h1 { font-size: clamp(34px,5.1vw,64px); letter-spacing: -.045em; line-height: 1.12; }
.hero-intro { max-width: 380px; margin: 17px 0 22px; color: #e0d7c4; font-size: 15px; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 13px; border: 1px solid transparent; border-radius: 9px; font-size: 13px; font-weight: 750; }
.primary { background: #edb690; color: #2b261f; }
.primary:hover { background: #ffd0af; }
.hero-photo { position: relative; min-width: 0; min-height: 100%; background: #615b4f; overflow: hidden; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 47%; }
.hero-photo > span { position: absolute; right: 13px; bottom: 13px; padding: 6px 8px; border: 1px solid #fff6de7a; border-radius: 7px; background: #28261fc9; color: #fff7e6; font-size: 10px; letter-spacing: .13em; }
.collection { padding-block: clamp(36px,5vw,62px); scroll-margin-top: 14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 11px; margin-bottom: 17px; }
.section-heading h2 { margin: 6px 0; font-size: clamp(28px,4.2vw,46px); line-height: 1.05; font-weight: 830; letter-spacing: -.055em; }
.subtitle,.footer-panel p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.pill { flex-shrink: 0; padding: 5px 9px; border: 1px solid var(--edge); border-radius: 99px; color: #64412e; background: #fff8ed; font-size: 11px; font-weight: 740; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.filter { min-height: 35px; padding: 5px 9px; border: 1px solid var(--edge); border-radius: 9px; background: #fff8ed; color: var(--muted); font-size: 12px; font-weight: 700; }
.filter[aria-pressed=true] { border-color: #36362e; background: #36362e; color: var(--milk); }
.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(10px,1.6vw,18px); }
.product-card { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; text-align: left; border: 1px solid var(--edge); border-radius: 15px; background: #fffaf1; color: var(--ink); box-shadow: 0 5px 15px #46342511; transition: transform .2s,box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #4634252b; }
.product-image { position: relative; width: 100%; aspect-ratio: 1 / 1.1; overflow: hidden; background: #ddd6ca; }
.product-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.image-label { position: absolute; top: 8px; left: 8px; padding: 4px 6px; border-radius: 6px; background: #292923db; color: #fff5e4; font-size: 9px; letter-spacing: .1em; font-weight: 730; }
.product-copy { display: flex; flex-direction: column; flex: 1; width: 100%; gap: 5px; padding: 11px 12px 12px; }
.product-category { color: #826755; font-size: 10px; font-weight: 720; }
.product-name { font-size: clamp(14px,1.45vw,18px); line-height: 1.24; overflow-wrap: anywhere; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 6px; margin-top: auto; padding-top: 5px; color: #844326; font-size: clamp(16px,1.8vw,21px); font-weight: 850; }
.card-price small,.detail-price small { color: var(--muted); font-size: 10px; font-weight: 620; }
.product-detail { display: block; margin-top: 3px; padding-top: 7px; border-top: 1px solid #e8ddce; color: #6f4c39; font-size: 11px; font-weight: 760; }
.footer { padding-bottom: 19px; }
.footer-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 17px 32px; padding: clamp(15px,3vw,27px); border: 1px solid var(--edge); border-radius: 16px; background: #f3e6d5; }
.footer-panel p { margin-top: 9px; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; }
.footer-nav h2 { flex-basis: 100%; font-size: 14px; }
.footer-nav button,.close,.contact-row button { min-height: 35px; padding: 6px 9px; border: 1px solid #dbcfbc; border-radius: 8px; background: #fff8ec; color: #4e3b30; font-size: 12px; font-weight: 720; }
.footer-nav button:hover,.close:hover,.contact-row button:hover { background: #edd7bf; }
.footer-bottom { display: flex; justify-content: space-between; gap: 9px; padding-top: 13px; color: var(--muted); font-size: 11px; }
dialog { max-width: calc(100% - 22px); max-height: calc(100dvh - 18px); padding: 0; border: 1px solid #d5bfa6; border-radius: 18px; color: var(--ink); background: var(--milk); box-shadow: 0 22px 80px #25201a75; }
dialog::backdrop { background: #231d16b0; backdrop-filter: blur(4px); }
#product-dialog { width: 740px; }
.info-dialog { width: 465px; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 13px; border-bottom: 1px solid #e5d5c1; background: #f4e6d5; }
.detail { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,1fr); gap: 15px; padding: 15px; }
.detail-media { min-width: 0; }
#main-photo { width: 100%; height: min(49dvh,415px); object-fit: contain; border-radius: 10px; background: #e7ddcf; }
.thumbnails { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.thumbnail { padding: 2px; width: 50px; height: 55px; overflow: hidden; border: 1px solid #d4c1ad; border-radius: 6px; background: #fffaf0; }
.thumbnail[aria-pressed=true] { border-color: #a25f3b; box-shadow: inset 0 0 0 1px #a25f3b; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.detail-copy { align-self: start; padding-block: 8px; }
.detail-copy h2,.info-copy h2 { margin: 5px 0 8px; font-size: clamp(22px,4vw,31px); line-height: 1.14; letter-spacing: -.04em; }
.detail-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin-bottom: 10px; color: #844326; font-size: 27px; font-weight: 850; }
#product-description,#info-body { color: var(--muted); font-size: 14px; line-height: 1.65; }
#product-contact { margin-top: 15px; }
.info-copy { padding: 14px 16px 19px; }
.contact-code { margin-top: 9px; color: #884727; font-size: 12px; font-weight: 750; }
.contacts { display: grid; gap: 7px; margin-top: 11px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid #e1cfba; border-radius: 8px; background: #f7eee2; }
.contact-row span { display: block; color: var(--muted); font-size: 10px; }
.contact-row strong { color: #453528; font-size: 13px; overflow-wrap: anywhere; user-select: all; }
#copy-status { color: #7e4b34; font-size: 12px; }
#copy-status:empty { display: none; }
@media (max-width: 940px) {
  .shell { width: calc(100% - 42px); }
  .hero { min-height: 340px; }
  .products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 26px); }
  .header { min-height: 62px; }
  .brand { font-size: 18px; }
  .brand img { width: 31px; height: 31px; }
  .main-nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; border-radius: 19px; }
  .hero-copy { padding: 22px 17px; }
  .hero-photo { min-height: 205px; }
  .hero-photo img { object-position: 50% 42%; }
  .hero-intro { margin-block: 11px 14px; font-size: 13px; }
  .section-heading { align-items: start; }
  .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-copy { padding-inline: 8px; }
  .footer-panel,.detail { grid-template-columns: 1fr; }
  .detail { padding: 10px; gap: 8px; }
  #main-photo { height: min(35dvh,270px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product-card { transition: none; }
}
