/* 商户目录：通栏横幅、1400px 内容区和保留原有接口的筛选卡片。 */
.stores-reference { --directory-ease: cubic-bezier(.22,1,.36,1); background: #fff; color: #111; font-family: "DM Sans", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.stores-reference .site-topline { background: #15120e; }
.stores-reference .site-header::after { background: linear-gradient(#032a32ee,#1e1b1666 75%,transparent); }
.stores-reference .site-header .nav { font-family: inherit; }
.stores-reference .site-header .brand__pt { font-family: Arial,sans-serif; text-transform: uppercase; }
.stores-reference .site-header .locale__select { border-radius: 8px; }
.stores-reference .site-footer { --footer-max: 1400px; }
.stores-reference .banner { height: auto; min-height: 390px; background: #1e1b16; }
.stores-reference .hero { height: auto; min-height: 390px; display: flex; align-items: flex-end; }
.stores-reference .hero__media { left: 22%; }
.stores-reference .hero__media img { animation: none; transform: none; object-position: center 55%; filter: none; }
.stores-reference .hero__shade { background: linear-gradient(90deg,#15120e 0%,#032a32ed 24%,#032a3280 52%,transparent 85%),linear-gradient(0deg,#1e1b1666,transparent 65%); }
.stores-reference .hero__content { width: 100%; max-width: 1400px; margin: 0 auto; padding: 174px 32px 48px; }
.stores-reference .hero__kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; color: #a08654; font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stores-reference .hero__kicker::before { content: ""; width: 40px; height: 3px; background: #a08654; flex: 0 0 40px; }
.stores-reference .hero__title { margin: 0 0 16px; font-family: var(--font-display-pt); font-weight: 700; font-size: clamp(40px,4.1vw,64px); line-height: 1.08; letter-spacing: -.025em; }
.stores-reference .hero__text { max-width: 29em; font-size: 19px; line-height: 1.5; color: #ece8df; }
.stores-reference .shell { width: min(100%,1400px); padding: 20px 24px 64px; }

/* 搜索与分类筛选。 */
.toolbar { position: relative; z-index: 3; margin: 0; }
.toolbar__panel { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(260px,1fr); align-items: center; gap: 28px; padding: 16px 24px; border: 1px solid #fff; border-radius: 4px; background: #fff; box-shadow: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.filters li { min-width: 0; }
.filters button { min-height: 44px; padding: 10px 17px; border: 1px solid #e5e0d5; border-radius: 4px; background: #fff; color: #1e1b16; box-shadow: none; font-family: inherit; font-size: 14px; font-weight: 650; line-height: 1.3; cursor: pointer; transition: background-color .2s,color .2s,border-color .2s; }
.filters button > span { display: none; }
.filters button[aria-pressed="true"] { border-color: #1e1b16; background: #111; color: white; }
.filters button:hover { border-color: #a08654; }
.search { position: relative; min-width: 0; padding-left: 28px; border-left: 1px solid #ece8df; }
.search::before { content: ""; position: absolute; z-index: 1; left: 44px; top: 50%; width: 12px; height: 12px; border: 2px solid #8a8172; border-radius: 50%; transform: translateY(-65%); pointer-events: none; }
.search::after { content: ""; position: absolute; z-index: 1; left: 56px; top: calc(50% + 4px); width: 6px; height: 2px; background: #8a8172; transform: rotate(45deg); pointer-events: none; }
.search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.search input { width: 100%; min-width: 0; min-height: 46px; padding: 12px 14px 12px 42px; border: 1px solid #ece8df; border-radius: 4px; background: #fff; color: #1e1b16; font-family: inherit; font-size: 13px; }
.search input::placeholder { color: #8a8172; opacity: 1; }
.search input:focus { outline: none; border-color: #a08654; box-shadow: none; }
.result-meta { display: flex; align-items: center; gap: 16px; margin: 25px 0 20px; color: #111; font-family: var(--font-display-pt); font-size: 20px; font-weight: 650; line-height: 1.5; letter-spacing: .06em; }
.result-meta::before { content: ""; width: 34px; height: 2px; background: #d6c6a8; }
.directory { padding-bottom: 36px; }
.shop-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px 18px; margin: 0; padding: 0; list-style: none; }
.shop-list > li,.shop-list article { min-width: 0; height: 100%; }
.shop-list[hidden],.shop-list > li[hidden] { display: none; }

/* 状态颜色只依赖稳定的状态编码，翻译文字只负责展示。 */
.shop { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 0; border-bottom: 4px solid #d6c6a8; border-radius: 4px; background: #fff; color: inherit; text-decoration: none; box-shadow: none; -webkit-tap-highlight-color: transparent; transition: transform .28s var(--directory-ease),box-shadow .28s; }
.shop__media { position: relative; aspect-ratio: 1.78; margin: 0; overflow: hidden; background: #ece8df; }
.shop__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--directory-ease); }
.shop__bay { position: absolute; left: 12px; bottom: 0; padding: 10px 14px; border-radius: 10px 10px 0 0; background: #073e47ed; color: #fff; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; }
.shop__status { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 7px; max-width: calc(100% - 20px); padding: 7px 11px; border-radius: 4px; background: #f0eee8; color: #57503f; font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1.3; }
.shop__status[data-state="open"] { background: #e6efe6; color: #3d6b4f; }
.shop__status[data-state="open"]::before { content: "✓"; font-size: 16px; line-height: 1; }
.shop__status[data-state="opening_soon"] { background: #d6c6a8; color: #4d4536; }
.shop__status[data-state="opening_soon"]::before { content: "◷"; font-size: 17px; line-height: 1; }
.shop__body { display: flex; flex: 1; flex-direction: column; gap: 12px; min-height: 156px; padding: 17px 20px 12px; }
.shop__name { margin: 0; color: #111; font-family: var(--font-display-pt); font-size: clamp(23px,1.75vw,29px); font-weight: 700; line-height: 1.13; letter-spacing: -.025em; overflow-wrap: anywhere; }
.shop__tags { display: flex; align-items: flex-start; gap: 9px; color: #8a8172; font-family: inherit; font-size: 13px; font-weight: 550; line-height: 1.4; }
.shop__category-icon { display: inline-flex; flex: 0 0 19px; width: 19px; height: 22px; color: #a89e8c; }
.shop__category-icon svg { width: 19px; height: 22px; }
.shop__tag { min-width: 0; }
.shop__tag:last-child { padding-left: 10px; border-left: 1px solid #c8bda6; }
.shop__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: auto; color: #8a6d3b; font-size: 16px; font-weight: 700; line-height: 1.4; }
.shop__cta > span { display: inline-block; font-size: 24px; transition: transform .25s var(--directory-ease); }
.shop:focus-visible,.filters button:focus-visible,.floor-guide button:focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.empty { display: none; padding: 44px 24px; border: 1px dashed #e5e0d5; border-radius: 4px; background: #fff; text-align: center; }
.empty.is-visible { display: block; }
.empty h2 { margin: 0 0 10px; font-family: var(--font-display-pt); font-size: 28px; }
.empty p { color: #6f675a; }
.empty button { min-height: 44px; margin-top: 16px; padding: 10px 20px; border: 0; border-radius: 4px; background: #1e1b16; color: white; font: inherit; cursor: pointer; }
.floor-guide { margin-top: 20px; padding: 28px; border-radius: 4px; background: #f0eee8; }
.floor-guide h2 { margin: 0 0 8px; font-family: var(--font-display-pt); font-size: 27px; }
.floor-guide p { margin: 0 0 18px; color: #6f6250; }
.floor-guide__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.floor-guide__list button { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 16px; border: 1px solid #e5e0d5; border-radius: 4px; background: #fff; color: #4d4536; font: inherit; cursor: pointer; }
.floor-guide__list button span { color: #8a8172; font-size: 12px; }

/* 商户详情：参考纯白信息面板，保留原生对话框的键盘操作。 */
.store-dialog { position: fixed; width: min(560px,calc(100% - 32px)); max-height: calc(100dvh - 40px); margin: auto; padding: 0; overflow: auto; border: 1px solid #ece8df; border-radius: 0; background: #fff; color: #111; box-shadow: none; font-family: "DM Sans", Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif; }
.store-dialog::backdrop { background: #0006; }
.store-dialog__close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #111; font: 28px/1 Arial,sans-serif; cursor: pointer; }
.store-dialog__close:hover { background: #f3f1ea; }
.store-dialog__body { padding: 60px 64px 64px; }
.store-dialog__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; margin-bottom: 24px; }
.store-dialog__meta p { margin: 0; font-size: 17px; line-height: 1.5; }
.store-dialog__status { display: inline-flex; align-items: center; gap: 10px; }
.store-dialog__status-symbol { position: relative; display: inline-flex; flex: 0 0 21px; width: 21px; height: 21px; }
.store-dialog__status-symbol svg { width: 100%; height: 100%; }
.store-dialog__status:has([data-state="open"]) .store-dialog__status-symbol::after { content: ""; position: absolute; top: -1px; right: -1px; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 50%; background: #4a8a5f; }
.store-dialog h2 { margin: 0 0 44px; color: #1e1b16; font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif; font-size: clamp(36px,4vw,54px); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.store-dialog__description { margin: -16px 0 36px; color: #444; font-size: 16px; line-height: 1.7; }
.store-dialog__info { display: grid; gap: 32px; margin: 0 0 40px; }
.store-dialog__info > div { display: grid; gap: 8px; }
.store-dialog__info dt { color: #111; font-size: 13px; line-height: 1.5; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.store-dialog__info dd { display: grid; gap: 8px; margin: 0; color: #111; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.store-dialog__info a { width: fit-content; min-height: 28px; color: #111; font-weight: 600; text-decoration: none; }
.store-dialog__info a:hover { text-decoration: underline; text-underline-offset: 5px; }
.store-dialog__map { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 60px; padding: 16px 24px; border: 1px solid #000; border-radius: 999px; background: #000; color: #fff; font-size: 16px; font-weight: 750; line-height: 1.4; letter-spacing: .04em; text-align: center; text-transform: uppercase; text-decoration: none; }
.store-dialog__map:hover { background: #2e2a22; color: #fff; }
.store-dialog :is(a,button):focus-visible { outline: 2px solid #111; outline-offset: 4px; }
.store-dialog [hidden] { display: none; }

@media (hover:hover) and (pointer:fine) {
.shop:hover { color: inherit; transform: none; box-shadow: none; }
  .shop:hover .shop__media img { transform: scale(1.035); }
  .shop:hover .shop__cta > span { transform: translateX(4px); }
}

@media (max-width:1100px) {
.stores-reference .hero__content { padding-top: 170px; }
  .toolbar__panel { grid-template-columns: 1fr; gap: 18px; }
  .search { padding-left: 0; border-left: 0; }
  .search::before { left: 16px; }
  .search::after { left: 28px; }
  .shop-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width:800px) {
.shop-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .shop__name { font-size: 24px; }
}

@media (max-width:600px) {
.stores-reference .site-header .brand { flex: 1 1 0; min-width: 0; gap: 6px; margin-left: 0; }
  .stores-reference .site-header .brand__text { min-width: 0; }
  .stores-reference .site-header .brand__mark--image { flex: 0 0 30px; width: 30px; height: 28px; }
  .stores-reference .site-header .brand__pt { display: block; max-width: 9ch; font-size: 18px; line-height: 1.05; white-space: normal; overflow: visible; text-overflow: clip; }
  .stores-reference .site-header .brand__zh { font-size: 7px; }
  .stores-reference .site-header .locale__select { min-width: 74px; padding-left: 4px; font-size: 12px; letter-spacing: 0; }
  .stores-reference .banner,.stores-reference .hero { min-height: 0; }
  .stores-reference .hero__media { left: 0; }
  .stores-reference .hero__content { padding: 152px 24px 40px; }
  .stores-reference .hero__title { font-size: 42px; }
  .stores-reference .hero__text { font-size: 16px; }
  .stores-reference .hero__kicker { gap: 12px; font-size: 11px; }
  .stores-reference .shell { padding: 18px 20px 40px; }
  .toolbar__panel { gap: 12px; padding: 14px; border-radius: 4px; }
  .search { order: -1; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding: 3px 2px 8px; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: thin; }
  .filters li { flex: 0 0 auto; }
  .filters button { padding-inline: 14px; white-space: nowrap; font-size: 13px; }
  .result-meta { margin-block: 22px 16px; font-size: 18px; }
  .shop-list { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .shop__media { aspect-ratio: 1.8; }
  .shop__body { min-height: 146px; padding: 20px 22px 14px; }
  .shop__name { font-size: 28px; }
  .shop__tags { font-size: 14px; }
  .floor-guide { padding: 22px; }
  .floor-guide h2 { font-size: 25px; }
  .store-dialog__body { padding: 56px 28px 36px; }
  .store-dialog h2 { font-size: 40px; margin-bottom: 36px; }
  .store-dialog__meta { gap: 12px 24px; }
  .store-dialog__map { width: 100%; justify-content: center; }
  /* 联系入口随页脚排布，避免遮住搜索栏和分类按钮。 */
  .stores-reference .contact-dock { position: static; transform: none; flex-direction: row; justify-content: center; gap: 18px; padding: 20px 24px; background: #15120e; }
  .stores-reference .contact-dock__panel { position: fixed; top: auto; left: 16px; right: 16px; bottom: 88px; width: auto; max-height: calc(100svh - 112px); transform: none; }
}

@media (prefers-reduced-motion:reduce) {
.stores-reference *,.stores-reference *::before,.stores-reference *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .shop:hover,.shop:hover .shop__media img { transform: none; }
}

/* 列表及详情弹窗中的商户标识使用完整比例。 */
.stores-reference .shop__media img[src*="/merchant-logos/"], .stores-reference .store-dialog__media img[src*="/merchant-logos/"] { object-fit: contain; object-position: center; padding: 22px; background: #fff; }
/* 页面样式。 */
.stores-reference { background: #fff; }
.stores-reference .banner { min-height: 0; background: transparent; overflow: hidden; }
.stores-reference .hero { min-height: 0; align-items: initial; background: transparent; }
.stores-reference .hero__content { max-width: 1440px; padding: 165px 32px 26px; color: #111; }
.stores-reference .hero__kicker { gap: 12px; color: #111; font-size: 19px; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.stores-reference .hero__kicker::before { content: none; }
.stores-reference .hero__kicker::after { content: ""; width: 60px; height: 3px; background: #a08654; }
.stores-reference .hero__kicker svg { width: 24px; height: 28px; color: #3d6b4f; }
.stores-reference .hero__title { font-family: inherit; font-size: clamp(32px,3vw,48px); font-weight: 800; margin-bottom: 12px; color: #111; }
.stores-reference .hero__text { max-width: 660px; color: #6f675a; font-size: 18px; line-height: 1.25; margin: 0; }
.stores-reference .hero__content { position: relative; z-index: 1; }
.stores-reference .shell { width: min(100%,1400px); margin-inline: auto; padding: 0 32px 64px; }
.stores-reference .toolbar__panel { display: grid; grid-template-columns: 1.1fr 1.05fr 1fr 1.8fr; gap: 24px; padding: 18px 28px; border-radius: 4px; background: white; box-shadow: none; }
.stores-reference .filters[hidden] { display: none; }
.directory-select { display: flex; align-items: center; position: relative; min-width: 0; }
.directory-select > span { position: absolute; left: 20px; color: #111; font-size: 26px; pointer-events: none; }
.directory-select select { width: 100%; min-height: 46px; padding: 8px 28px 8px 58px; border: 1px solid #d9d1c2; border-radius: 4px; background: white; color: #111; font: inherit; font-weight: 650; cursor: pointer; }
.stores-reference .search { padding: 0; border: 0; }
.stores-reference .search input { min-height: 46px; border: 1px solid #d9d1c2; border-radius: 4px; background: white; font-size: 14px; }
.stores-reference .search::before { left: 18px; border-color: #111; }
.stores-reference .search::after { left: 30px; background: #1e1b16; }
.directory-options { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 24px 0; font-size: 13px; color: #555; }
.directory-options label { display: flex; align-items: center; gap: 10px; }
.directory-options select { border: 1px solid #e5e0d5; border-radius: 8px; padding: 5px 10px; background: white; color: #111; font: inherit; }
.directory-open { color: #111; font-weight: 600; }
.directory-open input { width: 20px; height: 20px; accent-color: #3d6b4f; }
.stores-reference .result-meta { margin: 0 0 0 auto; font: inherit; letter-spacing: 0; }
.stores-reference .result-meta::before { content: none; }
.stores-reference .shop-list { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 26px 42px; }
.stores-reference .shop { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.stores-reference .shop__media { aspect-ratio: 1.6; background: white; border: 1px solid #e5e0d5; border-radius: 4px; overflow: hidden; box-shadow: none; }
.stores-reference .shop__media img,
.stores-reference .shop__media img[src*="/merchant-logos/"] { object-fit: contain; padding: 14px; background: white; }
.stores-reference .shop__status { top: 2px; left: 10px; right: auto; padding: 2px 12px; font-size: 11px; gap: 0; }
.stores-reference .shop__status[data-state="open"] { color: white; background: #3d6b4f; }
.stores-reference .shop__status[data-state="opening_soon"] { color: #111; background: #a08654; }
.stores-reference .shop__status::before { content: none; }
.stores-reference .shop__bay,.stores-reference .shop__cta,.stores-reference .shop__category-icon,.stores-reference .shop__tag:first-of-type { display: none; }
.stores-reference .shop__body { min-height: 0; padding: 6px 0 0; align-items: center; gap: 4px; text-align: center; }
.stores-reference .shop__name { font-family: inherit; font-size: 14px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
.stores-reference .shop__tags { justify-content: center; font-size: 12px; color: #6f675a; }
.stores-reference .shop__tag:last-child { border: 0; padding: 0; }
.stores-reference .shop__tag:not(:last-child) { display: none; }
.stores-reference .floor-guide { display: none; }

@media (hover:hover) {
.stores-reference .shop:hover { box-shadow: none; }
}

@media (max-width:1100px) {
.stores-reference .toolbar__panel { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border-radius: 4px; }
 .stores-reference .search { grid-column: 1 / -1; }
 .stores-reference .shop-list { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
}

@media (max-width:600px) {
.stores-reference .hero__content { padding: 146px 24px 24px; }
 .stores-reference .hero__title { font-size: 34px; }
 .stores-reference .hero__text { font-size: 16px; }
 .stores-reference .shell { padding-inline: 20px; }
 .stores-reference .toolbar__panel { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 16px; gap: 12px; border-radius: 4px; }
 .directory-select select { padding-left: 36px; font-size: 13px; }
 .directory-select > span { left: 12px; font-size: 20px; }
 .directory-select:nth-child(3) { grid-column: 1 / -1; }
 .stores-reference .search { order: -1; }
 .directory-options { gap: 12px; }
 .stores-reference .result-meta { flex-basis: 100%; }
 .stores-reference .shop-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 16px; }
 .stores-reference .shop__name { font-size: 13px; }
 .stores-reference .shop__media { border-radius: 4px; }
}

/* 名录沿用相同的黑白层级，不添加装饰彩带。 */
.stores-reference .hero__content { padding-top: 64px; padding-bottom: 40px; }
.stores-reference .hero__title { color: #111; font-family: inherit; }
.stores-reference .hero__kicker { color: #555; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.stores-reference .hero__kicker svg { width: 20px; height: 24px; color: #111; }
.stores-reference .hero__text { line-height: 1.65; }
.stores-reference .toolbar__panel { padding: 20px 0; border: 0; border-top: 1px solid #e5e0d5; border-bottom: 1px solid #e5e0d5; border-radius: 0; box-shadow: none; }
.stores-reference .directory-select select,
.stores-reference .search input { border-radius: 0; font-weight: 400; }
.stores-reference .shop__media { border-radius: 0; border-color: #e5e0d5; }
.stores-reference .shop__body { padding-top: 14px; gap: 6px; }
.stores-reference .shop__name { color: #111; font-weight: 700; }
.stores-reference .shop__status { border-radius: 0; }

@media (max-width:600px) {
.stores-reference .hero__content { padding: 40px 24px 28px; }
  .store-dialog__meta p { font-size: 15px; }
  .store-dialog__info dd { font-size: 17px; }
  .store-dialog__map { min-height: 56px; font-size: 14px; }
}

.stores-reference .hero__kicker::after { content: none; }