/* ==========================================================================
   Sundaze Birdnest — 响应式官网样式
   Mobile-first。断点：720px（平板） / 1024px（桌面） / 1440px（宽屏）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 颜色 */
  --ink:        #2B211A;
  --ink-soft:   #3B2E24;
  --ink-hover:  #43342A;
  --muted:      #7C6B5B;
  --muted-2:    #6E6053;
  --gold:       #7A5A32;
  --gold-2:     #7F6040;
  --gold-3:     #B08A50;
  --gold-light: #C9AE8A;
  --gold-pale:  #D9BE93;
  --line:       #EFE6D9;
  --line-2:     #E4D7C4;
  --cream:      #FCFAF6;
  --cream-2:    #F7F1E8;
  --cream-3:    #F4EDE3;
  --sand:       #EDE6DC;
  --green:      #1EBE5D;

  /* 字体 */
  --f-serif-cn: "Noto Serif SC", "Songti SC", serif;
  --f-sans-cn:  "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  --f-display:  "Cormorant Garamond", Georgia, serif;
  --f-label:    Archivo, "Helvetica Neue", Arial, sans-serif;

  /* 版心与间距 */
  --wrap: 1280px;
  --pad: 22px;
  --sec-y: 56px;

  /* 其他 */
  --radius: 0px;
  --shadow-card: 0 22px 44px -26px rgba(43, 33, 26, 0.38);
  --shadow-float: 0 26px 46px -22px rgba(43, 33, 26, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --pad: 40px; --sec-y: 72px; }
}
@media (min-width: 1024px) {
  :root { --pad: 60px; --sec-y: 84px; }
}

/* --------------------------------------------------------------------------
   2. 基础重置
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* 手机端底部常驻栏的避让高度 */
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-sans-cn);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--gold); }

button { font-family: inherit; }

h1, h2, h3, h4, p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; color: var(--cream); }

/* --------------------------------------------------------------------------
   3. 排版工具类
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--f-label);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold-2);
  text-transform: uppercase;
}

.h-sec {
  font-family: var(--f-serif-cn);
  font-weight: 400;
  font-size: clamp(26px, 5.2vw, 42px);
  line-height: 1.3;
  color: var(--ink);
}

.sub-en {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(15px, 2.4vw, 24px);
  color: var(--gold);
}

.lede {
  font-size: clamp(13px, 1.6vw, 15.5px);
  line-height: 2;
  color: var(--muted);
  text-wrap: pretty;
}

.link-underline {
  font-size: 14px;
  color: var(--gold);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  align-self: flex-start;
}
.link-underline:hover { border-color: var(--gold); }

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 28px;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-sans-cn);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--ink-hover); color: var(--cream); }
.btn:active { transform: translateY(1px); }

.btn--lg { height: 58px; font-size: 17px; padding: 0 34px; }
.btn--sm { height: 44px; font-size: 14px; padding: 0 18px; gap: 8px; }
.btn--block { width: 100%; }

.btn--ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--cream-2); color: var(--ink); }

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover { background: #fff; color: var(--ink); }

/* --------------------------------------------------------------------------
   5. 公告跑马灯
   -------------------------------------------------------------------------- */
.announce {
  overflow: hidden;
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.announce__track {
  display: flex;
  width: max-content;
  animation: sd-marquee-l 30s linear infinite;
}
.announce__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 9px 13px;
  font-family: var(--f-label);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
  white-space: nowrap;
}
.announce__sep { opacity: 0.4; }

@media (min-width: 1024px) {
  .announce__track { animation-duration: 42s; }
  .announce__group { gap: 44px; padding: 11px 22px; font-size: 11px; letter-spacing: 0.22em; }
}

/* --------------------------------------------------------------------------
   6. 头部导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}
@media (min-width: 1024px) {
  .header__inner { padding-block: 18px; }
}

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 999px;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__name {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.26em;
  line-height: 1;
  color: var(--ink);
}
.brand__tag {
  font-family: var(--f-display);
  font-size: 8px;
  font-style: italic;
  letter-spacing: 0.28em;
  color: var(--gold-2);
}
@media (min-width: 1024px) {
  .brand { gap: 14px; }
  .brand__mark { width: 52px; height: 52px; }
  .brand__name { font-size: 25px; letter-spacing: 0.28em; }
  .brand__tag { font-size: 9px; }
}

/* 桌面导航 */
.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.6vw, 36px);
    font-size: 14px;
    color: var(--muted);
  }
  .nav-desktop a[aria-current="page"] { color: var(--ink); }
}

.header__actions { display: flex; align-items: center; gap: 4px; }

/* 购物车按钮 */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .cart-btn {
    width: auto; height: 46px;
    padding: 0 20px;
    border: 1px solid var(--line-2);
    background: var(--cream);
    font-size: 14.5px;
  }
  .cart-btn:hover { background: var(--cream-2); }
}
.cart-btn__label { display: none; }
@media (min-width: 1024px) { .cart-btn__label { display: inline; } }

.cart-badge {
  position: absolute;
  top: 4px; right: 3px;
  min-width: 17px; height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-badge[hidden] { display: none; }
@media (min-width: 1024px) {
  .cart-badge {
    position: static;
    min-width: 20px; height: 20px;
    padding: 0 5px;
    font-size: 11px;
  }
}

/* 汉堡按钮 */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease, width 0.3s ease;
}
.burger span:nth-child(1) { width: 20px; }
.burger span:nth-child(2) { width: 20px; }
.burger span:nth-child(3) { width: 13px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { width: 20px; transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1024px) { .burger { display: none; } }

/* 手机抽屉导航 */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  grid-template-rows: 1fr;
  pointer-events: none;
}
.nav-drawer[hidden] { display: none; }

.nav-drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 26, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav-drawer__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(84vw, 340px);
  height: 100%;
  background: var(--cream);
  box-shadow: -30px 0 60px -20px rgba(43, 33, 26, 0.4);
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 22px;
  overflow-y: auto;
}
.nav-drawer.is-open { pointer-events: auto; }
.nav-drawer.is-open .nav-drawer__scrim { opacity: 1; }
.nav-drawer.is-open .nav-drawer__panel { transform: none; }

.nav-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.nav-drawer__title {
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-2);
}
.nav-drawer__links { display: flex; flex-direction: column; }
.nav-drawer__links a {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-serif-cn);
  font-size: 18px;
  color: var(--ink);
}
.nav-drawer__foot { margin-top: auto; padding-top: 26px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.icon-btn:hover { background: var(--cream-2); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: 30px var(--sec-y); }
.hero__inner {
  display: grid;
  gap: 30px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero { padding-block: 76px var(--sec-y); }
  .hero__inner { grid-template-columns: 1fr 0.88fr; gap: 60px; }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: sd-up 0.9s ease both;
}
@media (min-width: 1024px) { .hero__copy { gap: 24px; } }

.hero__title {
  font-family: var(--f-serif-cn);
  font-weight: 400;
  font-size: clamp(35px, 6.6vw, 68px);
  line-height: 1.3;
  color: var(--ink);
}
.hero__en {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(15.5px, 2.4vw, 25px);
  color: var(--gold);
}
.hero__lede { max-width: 46ch; }

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 6px;
}
.hero__cta-note {
  align-self: center;
  font-size: 12px;
  color: var(--muted);
}
@media (min-width: 720px) {
  .hero__cta { flex-direction: row; align-items: center; gap: 20px; }
  .hero__cta .btn { flex: 0 0 auto; }
  .hero__cta-note { align-self: auto; font-size: 14px; }
}

.hero__media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero__frame {
  position: relative;
  width: min(252px, 72vw);
  animation: sd-float 7s ease-in-out infinite;
}
@media (min-width: 1024px) {
  .hero__frame { width: 386px; animation-duration: 8s; }
}
.hero__video-wrap {
  border-radius: 4px 4px 60px 4px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: var(--cream-3);
}
@media (min-width: 1024px) {
  .hero__video-wrap { border-radius: 4px 4px 90px 4px; box-shadow: 0 40px 70px -30px rgba(43, 33, 26, 0.45); }
}
.hero__video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.hero__chip {
  position: absolute;
  left: -14px;
  bottom: 28px;
  padding: 9px 14px;
  background: var(--cream);
  box-shadow: 0 10px 22px -10px rgba(43, 33, 26, 0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__chip-label {
  font-family: var(--f-label);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}
.hero__chip-text { font-family: var(--f-serif-cn); font-size: 12px; color: var(--ink); }

.hero__chip--hours {
  left: auto;
  right: -14px;
  bottom: auto;
  top: 34px;
  border: 1px solid var(--line-2);
  background: rgba(252, 250, 246, 0.94);
  box-shadow: none;
}
.hero__chip--hours .hero__chip-big {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
}
.hero__chip--hours span:last-child { font-size: 10.5px; color: var(--muted); }

@media (min-width: 1024px) {
  .hero__chip {
    left: -34px; bottom: 54px;
    padding: 14px 20px;
    box-shadow: 0 16px 30px -14px rgba(43, 33, 26, 0.32);
    animation: sd-drift 9s ease-in-out infinite;
  }
  .hero__chip-label { font-size: 10px; letter-spacing: 0.18em; }
  .hero__chip-text { font-size: 14px; }
  .hero__chip--hours {
    right: -28px; top: 48px; left: auto; bottom: auto;
    padding: 14px 18px;
    animation: sd-drift 11s 1.5s ease-in-out infinite;
  }
  .hero__chip--hours .hero__chip-big { font-size: 26px; }
}

/* --------------------------------------------------------------------------
   8. 数据条
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 17px var(--pad);
  border-bottom: 1px solid var(--line);
}
.stats__item:nth-child(odd) { border-right: 1px solid var(--line); }
.stats__item:nth-last-child(-n+2) { border-bottom: 0; }
.stats__num {
  font-family: var(--f-display);
  font-size: 25px;
  line-height: 1;
  color: var(--gold);
}
.stats__label { font-size: 11px; color: var(--muted); }

@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats__item {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 30px clamp(20px, 3vw, 44px);
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
  .stats__item:last-child { border-right: 0; }
  .stats__num { font-size: 34px; }
  .stats__label { font-size: 13.5px; }
}

/* --------------------------------------------------------------------------
   9. 浓缩系列
   -------------------------------------------------------------------------- */
.series {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
}
.series__inner {
  display: grid;
  gap: 0;
  align-items: center;
}
@media (min-width: 1024px) {
  .series__inner { grid-template-columns: 1.05fr 1fr; }
}

.series__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 38px var(--pad) 32px;
}
@media (min-width: 1024px) {
  .series__copy { gap: 22px; padding: 80px var(--pad); }
}

.series__photo {
  order: -1;
  overflow: hidden;
  background: var(--sand);
}
.series__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 46%;
}
@media (min-width: 1024px) {
  .series__photo { order: 0; height: 100%; min-height: 660px; }
  .series__photo img { aspect-ratio: auto; height: 100%; object-position: 46% 50%; }
}

/* 口味 chips */
.flavours {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.flavour-chip {
  font-family: var(--f-sans-cn);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  padding: 8px 15px;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--muted);
  transition: all 0.3s ease;
}
.flavour-chip:hover { border-color: var(--gold-light); color: var(--gold); }
.flavour-chip[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
@media (min-width: 1024px) {
  .flavours { gap: 8px; }
  .flavour-chip { font-size: 13.5px; padding: 10px 18px; }
}

/* 口味详情卡 */
.flavour-card {
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 470px;
}
@media (min-width: 1024px) { .flavour-card { padding: 24px 26px; gap: 10px; } }

.flavour-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}
.flavour-card__name {
  font-family: var(--f-serif-cn);
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--ink);
}
.flavour-card__price {
  font-family: var(--f-display);
  font-size: clamp(21px, 2.6vw, 26px);
  font-weight: 500;
  color: var(--ink);
}
.flavour-card__en {
  font-family: var(--f-display);
  font-size: 14px;
  font-style: italic;
  color: var(--gold);
}
.flavour-card__note { font-size: 13px; line-height: 1.85; color: var(--muted); }

/* --------------------------------------------------------------------------
   10. 热销三款
   -------------------------------------------------------------------------- */
.bestsellers { padding-block: var(--sec-y); }
.sec-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.sec-head__meta { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 720px) {
  .sec-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
}

/* 带左右箭头的区块标题：手机上就要横排（标题左、箭头右） */
.sec-head--rail {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.sec-head--rail .sec-head__meta { gap: 7px; }
/* 手机上「全部产品与价格」让位给左右箭头 */
.sec-head__all { display: none; }
@media (min-width: 1024px) {
  .sec-head--rail { margin-bottom: 40px; }
  .sec-head--rail .sec-head__meta { gap: 10px; }
  .sec-head__all { display: block; }
}

/* 左右滑动轨道（手机 / 平板）→ 三栏网格（桌面） */
.rail-nav { display: flex; align-items: center; gap: 7px; }
.rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}
.rail-btn:hover { background: var(--cream-2); }
.rail-btn[disabled] { opacity: 0.32; cursor: default; }
.rail-btn[disabled]:hover { background: var(--cream); }

.product-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--pad);
  /* 出血到画面两侧，卡片可以滑到边缘 */
  margin-inline: calc(var(--pad) * -1);
  padding: 2px var(--pad) 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.product-rail::-webkit-scrollbar { display: none; }

.product {
  flex: 0 0 258px;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "media media"
    "info  price"
    "add   add";
  align-content: start;
  gap: 13px 12px;
  transition: transform 0.5s var(--ease);
}

.product__media  { grid-area: media; }
.product__info   { grid-area: info;  }
.product__price  { grid-area: price; }
.product__add    { grid-area: add;   }
.product__rule   { display: none; }   /* 手机不显示分隔线 */

.product__media {
  position: relative;
  overflow: hidden;
  background: var(--cream-3);
  box-shadow: 0 16px 34px -20px rgba(43, 33, 26, 0.34);
}
.product__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.product__flag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  background: rgba(252, 250, 246, 0.92);
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}

.product__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; align-self: end; }
.product__name { font-family: var(--f-serif-cn); font-size: 16px; color: var(--ink); }
.product__en { font-family: var(--f-display); font-size: 12.5px; font-style: italic; color: var(--gold); }
.product__spec { font-size: 11px; color: var(--muted); }
.product__ing { display: none; }

.product__price {
  font-family: var(--f-display);
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  align-self: end;
}

.product__add { height: 46px; font-size: 14px; padding: 0 16px; }

/* 平板：卡片放大一点 */
@media (min-width: 720px) {
  .product { flex-basis: 300px; }
  .product-rail { gap: 20px; }
}

/* 桌面：不再滑动，回到三栏网格 */
@media (min-width: 1024px) {
  .rail-nav { display: none; }

  .product-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
    scroll-snap-type: none;
  }

  .product {
    flex: none;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "media media"
      "info  info"
      "rule  rule"
      "price add";
    grid-template-rows: auto auto 1fr auto;
    gap: 16px 12px;
  }
  @media (hover: hover) {
    .product:hover { transform: translateY(-8px); }
  }

  .product__media { box-shadow: var(--shadow-card); }
  .product__flag { top: 14px; left: 14px; padding: 6px 13px; }

  .product__info { gap: 6px; align-self: start; }
  .product__name { font-size: 19px; }
  .product__en   { font-size: 15px; }
  .product__spec { font-size: 12.5px; }
  .product__ing  { display: inline; }

  /* 价格与按钮同一排，上方一条通栏分隔线 */
  .product__rule {
    display: block;
    grid-area: rule;
    align-self: end;
    height: 1px;
    background: var(--line);
  }
  .product__price { font-size: 26px; align-self: center; }
  .product__add {
    height: 44px;
    padding: 0 20px;
    justify-self: end;
    align-self: center;
  }
}

/* --------------------------------------------------------------------------
   11. 制作过程
   -------------------------------------------------------------------------- */
.process { padding-bottom: var(--sec-y); }
.process__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .process__inner { grid-template-columns: 1fr 1.1fr; gap: 60px; }
}

.process__copy { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1024px) { .process__copy { gap: 22px; } }

.steps { display: flex; flex-direction: column; margin-top: 4px; }
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--gold-2);
  min-width: 26px;
  padding-top: 2px;
}
.step__body { display: flex; flex-direction: column; gap: 5px; }
.step__title { font-size: 15px; color: var(--ink); }
.step__desc { font-size: 13px; line-height: 1.85; color: var(--muted); }
@media (min-width: 1024px) {
  .step { gap: 22px; padding: 20px 0; }
  .step__title { font-size: 15.5px; }
  .step__desc { font-size: 13.5px; }
}

.process__gallery { display: flex; flex-direction: column; gap: 14px; }
.process__gallery img { width: 100%; object-fit: cover; }
.process__wide { aspect-ratio: 16 / 9; }
.process__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.process__pair img { aspect-ratio: 4 / 5; }
.process__pair > div:last-child { margin-top: 20px; }
@media (min-width: 1024px) {
  .process__gallery { gap: 18px; }
  .process__pair { gap: 18px; }
  .process__pair > div:last-child { margin-top: 28px; }
}

/* --------------------------------------------------------------------------
   12. 优惠区块
   -------------------------------------------------------------------------- */
.offer {
  margin-inline: var(--pad);
  margin-bottom: var(--sec-y);
  border: 1px solid var(--line-2);
  overflow: hidden;
  max-width: calc(var(--wrap) - var(--pad) * 2);
}
@media (min-width: 1280px) { .offer { margin-inline: auto; } }

.offer__sheen {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-pale) 40%, #F5EBD8 55%, var(--gold-pale) 70%, transparent);
  background-size: 220% 100%;
  animation: sd-sheen 5s ease-in-out infinite;
}
.offer__inner {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 26px 22px 30px;
  background: var(--cream);
}
@media (min-width: 1024px) {
  .offer__inner {
    grid-template-columns: 0.58fr 1.2fr 1fr;
    gap: 40px;
    padding: 40px 48px;
  }
}

.offer__media { overflow: hidden; background: var(--cream-3); max-width: 220px; }
.offer__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 1024px) { .offer__media { max-width: none; } }

.offer__copy { display: flex; flex-direction: column; gap: 10px; }
.offer__meta { display: flex; align-items: center; gap: 12px; }
.offer__tag {
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--gold);
}
.offer__dot { width: 3px; height: 3px; border-radius: 999px; background: var(--gold-pale); }
.offer__date { font-size: 12.5px; color: var(--muted); }
.offer__headline { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.offer__big {
  font-family: var(--f-serif-cn);
  font-size: clamp(28px, 5.4vw, 44px);
  line-height: 1.15;
  color: var(--ink);
}
.offer__big-en {
  font-family: var(--f-display);
  font-size: clamp(17px, 2.4vw, 23px);
  font-style: italic;
  color: var(--gold);
}
.offer__desc { font-size: 14px; line-height: 1.95; color: var(--muted); max-width: 470px; }
.offer__actions { display: flex; flex-direction: column; gap: 12px; }

/* --------------------------------------------------------------------------
   13. 门市
   -------------------------------------------------------------------------- */
.store {
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  padding-block: var(--sec-y);
}
.store__card {
  display: grid;
  border: 1px solid var(--line-2);
  background: var(--cream);
}
@media (min-width: 1024px) { .store__card { grid-template-columns: 1fr 1.15fr; } }

.store__body {
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 1024px) { .store__body { padding: 44px; gap: 18px; } }

.store__name {
  font-family: var(--f-serif-cn);
  font-size: clamp(21px, 3.4vw, 30px);
  line-height: 1.35;
  color: var(--ink);
}
.store__addr { font-size: 14px; line-height: 1.95; color: var(--muted); text-wrap: pretty; }
.store__hours {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}
.live-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--green);
  animation: sd-pulse 1.9s ease-in-out infinite;
  flex-shrink: 0;
}
.store__note { font-size: 13px; line-height: 1.9; color: var(--muted); }

.store__map {
  position: relative;
  min-height: 240px;
  background: var(--sand);
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1024px) {
  .store__map { min-height: 340px; border-top: 0; border-left: 1px solid var(--line-2); }
}
.store__map-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  color: #8A7A66;
}
.store__map-label { font-family: var(--f-label); font-size: 11px; letter-spacing: 0.18em; }
.store__map-hint { font-size: 12.5px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   14. 评价
   -------------------------------------------------------------------------- */
.reviews { padding-block: var(--sec-y); }
.reviews__head {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}
@media (min-width: 1024px) {
  .reviews__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 34px;
  }
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) { .reviews__score { gap: 34px; } }

.score { display: flex; align-items: baseline; gap: 12px; }
.score__num {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 56px);
  line-height: 0.9;
  color: var(--ink);
}
.score__meta { display: flex; flex-direction: column; gap: 4px; }
.stars { font-size: 14px; color: var(--gold-3); letter-spacing: 0.16em; }
.score__count { font-size: 12px; color: var(--muted); }

.bars { display: flex; flex-direction: column; gap: 7px; width: 100%; max-width: 220px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar__label,
.bar__pct { font-family: var(--f-label); font-size: 10px; color: var(--muted); }
.bar__label { min-width: 16px; }
.bar__track { flex: 1; height: 3px; background: var(--line); overflow: hidden; }
.bar__fill {
  display: block;
  height: 100%;
  background: var(--gold-3);
  transform-origin: left;
  animation: sd-grow 1.4s var(--ease) both;
}

.live-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}
.live-badge b { font-family: var(--f-label); font-weight: 600; color: var(--ink); }

.marquee { overflow: hidden; padding-block: 4px; }
.marquee__track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: sd-marquee-l 42s linear infinite;
}
.marquee--rev .marquee__track { animation-name: sd-marquee-r; animation-duration: 48s; }
@media (hover: hover) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}
@media (min-width: 1024px) { .marquee__track { gap: 20px; } }

.review-card {
  width: min(280px, 78vw);
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .review-card { width: 340px; padding: 28px; } }
.review-card__text {
  font-family: var(--f-serif-cn);
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.review-card__who { font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(252, 250, 246, 0.7);
  /* 底部多留一段，让固定的底部栏与 WhatsApp 按钮有地方停，不会盖住内容 */
  padding-block: 48px 118px;
  padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 1024px) { .site-footer { padding-block: 64px 34px; } }

.footer__grid {
  display: grid;
  gap: 32px;
  margin-bottom: 34px;
}
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.35fr 0.85fr 0.85fr 1.3fr; gap: 44px; margin-bottom: 44px; }
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .footer__brand { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .footer__brand { grid-column: auto; } }

.footer__brand-row { display: flex; align-items: center; gap: 15px; }
.footer__mark { width: 62px; height: 62px; border-radius: 999px; flex-shrink: 0; }
.footer__name {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--cream);
}
.footer__slogan {
  font-family: var(--f-display);
  font-size: 12px;
  font-style: italic;
  letter-spacing: 0.14em;
  color: var(--gold-light);
}
.footer__about {
  font-size: 13px;
  line-height: 1.95;
  color: rgba(252, 250, 246, 0.58);
  max-width: 42ch;
}

.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; }
.footer__col a { color: rgba(252, 250, 246, 0.7); }
.footer__col a:hover { color: var(--cream); }
.footer__label {
  font-family: var(--f-label);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold-light);
}

.footer__addr { display: flex; align-items: flex-start; gap: 11px; }
.footer__addr span { font-size: 12.5px; line-height: 1.8; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(252, 250, 246, 0.22);
  font-size: 12.5px;
  color: rgba(252, 250, 246, 0.78);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.social:hover { border-color: rgba(252, 250, 246, 0.5); color: var(--cream); }

/* 四个图标统一：金褐色、同线宽、随 hover 一起提亮 */
.social__icon {
  color: var(--gold-light);
  flex-shrink: 0;
  transition: color 0.25s ease;
}
.social:hover .social__icon { color: var(--cream); }

.footer__base {
  padding-top: 22px;
  border-top: 1px solid rgba(252, 250, 246, 0.13);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(252, 250, 246, 0.4);
}
@media (min-width: 720px) {
  .footer__base { flex-direction: row; justify-content: space-between; gap: 20px; }
}

/* --------------------------------------------------------------------------
   16. 浮动 WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  left: 16px;
  bottom: 104px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0;
  width: 52px;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 12px 26px -8px rgba(30, 190, 93, 0.75);
  color: #fff;
  transition: transform 0.3s var(--ease), opacity 0.3s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float__text { display: none; }

@media (min-width: 1024px) {
  .wa-float {
    left: 30px;
    bottom: 30px;
    width: auto;
    height: 62px;
    padding: 0 24px 0 9px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 18px 40px -12px rgba(43, 33, 26, 0.45), 0 0 0 1px rgba(43, 33, 26, 0.06);
  }
  .wa-float:hover { background: #fff; color: var(--ink); transform: none; }
  .wa-float__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 999px;
    background: var(--green);
    flex-shrink: 0;
  }
  .wa-float__text { display: flex; flex-direction: column; gap: 2px; }
  .wa-float__title { font-size: 14.5px; font-weight: 500; letter-spacing: 0.03em; }
  .wa-float__sub { font-size: 11px; color: var(--muted); }
}

/* --------------------------------------------------------------------------
   17. 手机底部常驻栏
   -------------------------------------------------------------------------- */
.bottom-bar {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 38;
  padding: 9px 9px 9px 18px;
  background: rgba(43, 33, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px -10px rgba(43, 33, 26, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 1024px) { .bottom-bar { display: none; } }

.bottom-bar__info { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.bottom-bar__line {
  font-family: var(--f-display);
  font-size: 15px;
  font-style: italic;
  color: var(--cream);
}
.bottom-bar__hint { font-size: 10.5px; color: rgba(252, 250, 246, 0.6); }

/* --------------------------------------------------------------------------
   18. 购物车抽屉 / 底部弹层
   -------------------------------------------------------------------------- */
.cart { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.cart[hidden] { display: none; }

.cart__scrim {
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 26, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cart.is-open { pointer-events: auto; }
.cart.is-open .cart__scrim { opacity: 1; }

/* 手机：从下弹出 */
.cart__panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 86vh;
  background: var(--cream);
  box-shadow: 0 -20px 50px -18px rgba(43, 33, 26, 0.45);
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.34s var(--ease);
}
.cart.is-open .cart__panel { transform: none; }

/* 桌面：右侧滑出 */
@media (min-width: 1024px) {
  .cart__panel {
    left: auto;
    top: 0;
    right: 0;
    bottom: 0;
    width: 440px;
    max-height: none;
    height: 100%;
    box-shadow: -30px 0 60px -20px rgba(43, 33, 26, 0.4);
    transform: translateX(100%);
  }
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
@media (min-width: 1024px) { .cart__head { padding: 30px 32px 24px; } }
.cart__title { font-family: var(--f-serif-cn); font-size: 19px; color: var(--ink); }
@media (min-width: 1024px) { .cart__title { font-size: 24px; } }
.cart__count { font-size: 11.5px; color: var(--muted); }

.cart__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 22px;
  min-height: 120px;
}
@media (min-width: 1024px) { .cart__body { padding: 8px 32px; } }

.cart__empty {
  padding: 44px 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}
.cart__empty[hidden] { display: none; }

.cart-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .cart-line { gap: 16px; padding: 20px 0; } }
.cart-line__info { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cart-line__name { font-family: var(--f-serif-cn); font-size: 15px; color: var(--ink); }
.cart-line__meta { font-size: 11.5px; color: var(--muted); }
@media (min-width: 1024px) {
  .cart-line__name { font-size: 16px; }
  .cart-line__meta { font-size: 12.5px; }
}

.stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  flex-shrink: 0;
}
.stepper button {
  width: 34px; height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.stepper button:hover { background: var(--cream-2); }
.stepper__qty {
  min-width: 26px;
  text-align: center;
  font-family: var(--f-label);
  font-size: 14px;
  color: var(--ink);
}
@media (min-width: 1024px) { .stepper button { width: 36px; height: 36px; } .stepper__qty { min-width: 28px; } }

.cart-line__sum {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  min-width: 62px;
  text-align: right;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .cart-line__sum { font-size: 21px; min-width: 70px; } }

.cart__foot {
  padding: 18px 22px 22px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: var(--cream-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .cart__foot { padding: 24px 32px 30px; gap: 14px; } }

.cart__subtotal { display: flex; align-items: center; justify-content: space-between; }
.cart__subtotal-label { font-size: 13.5px; color: var(--muted); }
.cart__subtotal-val {
  font-family: var(--f-display);
  font-size: 27px;
  font-weight: 500;
  color: var(--ink);
}
@media (min-width: 1024px) { .cart__subtotal-val { font-size: 30px; } }

.ship-progress { display: flex; align-items: center; gap: 10px; }
.ship-progress__track { flex: 1; height: 3px; background: var(--line-2); overflow: hidden; }
.ship-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold-3);
  transition: width 0.4s ease;
}
.ship-progress__hint { font-size: 12px; color: var(--muted); white-space: nowrap; }

.cart__pay { align-self: center; font-size: 11.5px; color: var(--muted); }

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 12px);
  z-index: 80;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 13.5px;
  box-shadow: 0 16px 36px -12px rgba(43, 33, 26, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 1024px) { .toast { bottom: 40px; left: auto; right: 40px; transform: translateY(12px); }
  .toast.is-on { transform: none; } }

/* --------------------------------------------------------------------------
   19. 动画
   -------------------------------------------------------------------------- */
@keyframes sd-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes sd-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes sd-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-5px) rotate(1.2deg); }
}
@keyframes sd-marquee-l {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes sd-marquee-r {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes sd-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes sd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.3; transform: scale(0.7); }
}
@keyframes sd-sheen {
  0%   { background-position: -140% 0; }
  100% { background-position: 240% 0; }
}

/* 滚动进场 */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. 无障碍：减少动态效果
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   21. 打印
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .bottom-bar, .wa-float, .cart, .nav-drawer, .marquee { display: none !important; }
  body { padding-bottom: 0; }
}
