/* ============================================================
   ONETOONE. — Premium Watch & Jewelry — main.css
   Apple-clean × Luxury restraint × Black / White / Gold
============================================================ */

/* ---------- Tokens ---------- */
:root {
  --c-ink:        #1D1D1F;
  --c-gold:       #C5A059;
  --c-gold-deep:  #A88A3F;
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #FBFBFB;
  --c-muted:      #86868B;
  --c-border:     #EAEAEA;

  --f-display: 'Playfair Display', 'Times New Roman', serif;
  --f-sans:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --nav-h: 76px;
  --ann-h: 38px;

  --ease-out: cubic-bezier(.22,.61,.36,1);
  --ease-luxe: cubic-bezier(.7,0,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
html { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
}
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; }

/* ============================================================
   1) 公告横幅
============================================================ */
.announcement-bar {
  position: relative;
  height: var(--ann-h);
  background: var(--c-ink);
  color: var(--c-gold);
  overflow: hidden;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 60;
}
.announcement-track {
  position: relative;
  height: 100%;
}
.announcement-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .6s var(--ease-luxe), transform .6s var(--ease-luxe);
  padding: 0 16px;
  text-align: center;
}
.announcement-item.active {
  opacity: 1;
  transform: translateY(0);
}
.announcement-item.leaving {
  opacity: 0;
  transform: translateY(-100%);
}

/* ============================================================
   2) 固定导航栏
============================================================ */
.site-header {
  position: fixed;
  top: var(--ann-h);
  left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid transparent;
  z-index: 50;
  transition: top .35s var(--ease-out), border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled {
  top: 0;
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}

/* Header 占位 — 替代 fixed header 在流中被吃掉的空间 */
.header-spacer {
  height: var(--nav-h);
  flex-shrink: 0;
}

.nav-container {
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.brand-logo {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .14em;
  color: var(--c-ink);
}
a.brand-logo:hover,
a.brand-logo:focus { color: #c5a059 !important; }
.logo-dot { color: var(--c-gold); }

/* 主菜单 */
.primary-nav ul {
  display: flex;
  gap: 36px;
}
.primary-nav > ul > li { position: relative; }
.primary-nav .caret {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  width: 10px;
  height: 10px;
  transform: translateY(-1px);
  transition: transform .3s, color .3s;
  color: var(--c-muted);
}
.primary-nav .has-sub:hover .caret { transform: translateY(-1px) rotate(-180deg); color: var(--c-gold); }

/* PC 下拉 */
.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--c-border);
  border-top: 2px solid var(--c-gold);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease-luxe), transform .3s var(--ease-luxe), visibility 0s linear .3s;
  box-shadow: 0 24px 60px rgba(29,29,31,.08);
  z-index: 80;
}
.primary-nav .has-sub:hover .submenu,
.primary-nav .has-sub:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
/* 缓冲区让鼠标从父级挪到子级时不闪 */
.submenu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.primary-nav .submenu a {
  display: block;
  padding: 11px 26px;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--c-ink);
  white-space: nowrap;
  transition: background .3s, color .3s, padding-left .3s;
}
.primary-nav .submenu a::after { display: none; } /* 关闭父级下划线动画 */
.primary-nav .submenu a:hover {
  background: var(--c-bg-soft);
  color: var(--c-gold);
  padding-left: 32px;
}
.primary-nav .submenu .submenu-all {
  margin-top: 8px;
  padding-top: 14px;
  padding-bottom: 12px;
  border-top: 1px solid var(--c-border);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.primary-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  padding: 6px 0;
  transition: color .3s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width .4s var(--ease-luxe);
}
.primary-nav a:hover { color: var(--c-gold); }
.primary-nav a:hover::after { width: 100%; }

/* 右侧 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lang-btn {
  display: inline-block;
  padding: 4px 2px;
  color: var(--c-muted);
  cursor: pointer;
  user-select: none;
  transition: color .3s;
  text-decoration: none;
}
.lang-btn.active { color: var(--c-ink); }
.lang-btn:hover,
.lang-btn:focus-visible { color: var(--c-gold); outline: none; }
.lang-divider { color: var(--c-muted); }

.nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  color: var(--c-ink);
  transition: color .3s, transform .3s;
}
.nav-icon-btn:hover { color: var(--c-gold); transform: translateY(-1px); }
.bag-count {
  position: absolute;
  top: -2px; right: -4px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--c-gold);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 汉堡 */
.hamburger {
  display: none;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 1.4px;
  background: var(--c-ink);
  transition: transform .35s var(--ease-luxe), opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.4px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.4px) rotate(-45deg); }

/* 手机抽屉 */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 86vw);
  height: 100vh;
  background: #fff;
  z-index: 70;
  padding: calc(var(--nav-h) + 30px) 40px 40px;
  transform: translateX(110%);
  transition: transform .5s var(--ease-luxe);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-left: 1px solid var(--c-border);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { display: flex; flex-direction: column; gap: 0; }
.mobile-nav > li { border-bottom: 1px solid var(--c-border); }
.mobile-nav .m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav > li > a,
.mobile-nav .m-row > a {
  display: block;
  flex: 1;
  padding: 16px 0;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--c-ink);
  transition: color .3s, padding-left .3s;
}
.mobile-nav > li > a:hover,
.mobile-nav .m-row > a:hover { color: var(--c-gold); padding-left: 4px; }

/* 二级展开按钮 */
.mobile-nav .sub-toggle {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: color .3s, transform .3s var(--ease-luxe);
}
.mobile-nav .sub-toggle:hover { color: var(--c-gold); }
.mobile-nav .has-sub.open .sub-toggle { color: var(--c-gold); transform: rotate(180deg); }

/* 二级列表（默认折叠） */
.mobile-nav .sub-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-luxe), padding .4s var(--ease-luxe);
  padding-left: 14px;
  border-left: 1px solid var(--c-border);
  margin-left: 2px;
}
.mobile-nav .has-sub.open .sub-list {
  max-height: 400px;
  padding-top: 4px;
  padding-bottom: 14px;
}
.mobile-nav .sub-list li { list-style: none; }
.mobile-nav .sub-list a {
  display: block;
  padding: 9px 0;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-muted);
  transition: color .3s, padding-left .3s;
}
.mobile-nav .sub-list a:hover { color: var(--c-gold); padding-left: 6px; }
.mobile-extra { display: flex; flex-direction: column; gap: 14px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.mobile-extra a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.mobile-extra a:hover { color: var(--c-gold); }

.overlay {
  position: fixed; inset: 0;
  background: rgba(29,29,31,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
  z-index: 65;
}
.overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- Cart Drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 420px; max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 200;
  transform: translateX(100%);
  transition: transform .4s var(--ease-luxe);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.08);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(29,29,31,.45);
  opacity: 0; pointer-events: none;
  transition: opacity .4s;
  z-index: 199;
}
.cart-drawer-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  border-bottom: 1px solid var(--c-border);
}
.cart-drawer-header h3 {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}
.cart-drawer-close {
  cursor: pointer;
  background: none; border: none;
  padding: 4px;
  color: var(--c-ink);
  transition: color .3s;
}
.cart-drawer-close:hover { color: var(--c-gold); }
/* 运费进度条 */
.cart-shipping-progress {
  padding: 16px 28px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.cart-shipping-bar {
  height: 4px;
  background: var(--c-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}
.cart-shipping-bar-fill {
  height: 100%;
  background: var(--c-gold);
  border-radius: 2px;
  transition: width .5s var(--ease-luxe);
}
.cart-shipping-msg {
  font-size: 11px;
  color: var(--c-muted);
  line-height: 1.4;
}
.cart-shipping-msg strong { color: var(--c-ink); }
.cart-shipping-free { color: var(--c-gold); font-weight: 600; }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px;
}
.cart-drawer-empty {
  text-align: center;
  color: var(--c-muted);
  padding: 48px 0;
  font-size: 13px;
}
.cart-drawer-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.cart-drawer-item:last-child { border-bottom: none; }
.cart-drawer-item-img {
  width: 72px; height: 72px;
  object-fit: cover;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  flex-shrink: 0;
}
.cart-drawer-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.cart-drawer-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-ink);
}
.cart-drawer-item-meta {
  font-size: 11px;
  color: var(--c-muted);
}
.cart-drawer-item-price {
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}
.cart-drawer-item-remove {
  align-self: flex-start;
  background: none; border: none;
  cursor: pointer;
  color: var(--c-muted);
  font-size: 11px;
  padding: 2px 0;
  transition: color .3s;
}
.cart-drawer-item-remove:hover { color: #d44; }
.cart-drawer-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid var(--c-border);
}
.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.cart-drawer-footer .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 8px;
}
.cart-drawer-footer .btn:last-child { margin-bottom: 0; }

/* ============================================================
   3) Hero / Banner Slider — 100vh
============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%),
    radial-gradient(120% 80% at 50% 90%, rgba(0,0,0,.45), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8vw;
  max-width: 1200px;
  color: #fff;
}
.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(197,160,89,.5);
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 24px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}
.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 0 0 36px;
  letter-spacing: .02em;
}

/* 文案进入动画 */
.is-active .hero-title .word {
  animation: wordRise .9s var(--ease-luxe) forwards;
}
.is-active .hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: .25s; }
.is-active .hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: .35s; }
.is-active .hero-title .line:nth-child(1) .word:nth-child(3) { animation-delay: .45s; }
.is-active .hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: .55s; }
.is-active .hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: .65s; }
.is-active .reveal { animation: fadeUp .9s var(--ease-luxe) forwards; opacity: 0; }
.is-active .hero-tag.reveal { animation-delay: .1s; }
.is-active .hero-sub.reveal { animation-delay: .8s; }
.is-active .btn.reveal { animation-delay: .95s; }

@keyframes wordRise {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background .35s, border-color .35s, transform .35s;
}
.hero-arrow:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  transform: translateY(-50%) scale(1.05);
}
.hero-arrow.prev { left: 32px; }
.hero-arrow.next { right: 32px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}
.dot {
  width: 56px; height: 2px;
  background: rgba(255,255,255,.25);
  position: relative;
  overflow: hidden;
  border: 0;
  padding: 0;
}
.dot .dot-progress {
  position: absolute;
  inset: 0;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
}
.dot.is-active .dot-progress {
  animation: dotProgress 6s linear forwards;
}
@keyframes dotProgress { to { transform: scaleX(1); } }

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  z-index: 3;
}
.line-anim {
  display: block;
  width: 60px; height: 1px;
  background: linear-gradient(90deg, var(--c-gold), transparent);
  animation: lineSlide 2.4s var(--ease-luxe) infinite;
}
@keyframes lineSlide {
  0%   { transform: translateX(-30%); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateX(30%); opacity: 0; }
}

/* ============================================================
   通用 Section / 标题 / 按钮
============================================================ */
.section {
  padding: 120px 40px;
  max-width: 1440px;
  margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: 2.5rem;
  letter-spacing: -.015em;
  margin: 0;
}
.section-sub {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 14px;
}
.section-foot { text-align: center; margin-top: 64px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--ease-out), border-color .35s, background .35s, transform .35s;
}
.btn-gold { background: var(--c-gold); color: #fff; }
.btn-gold { isolation: isolate; }
.btn-gold::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--c-gold-deep);
  transform: translateY(101%);
  transition: transform .45s var(--ease-luxe);
  z-index: -1;
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-gold:hover::before { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn-outline:hover {
  background: var(--c-ink);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   精选商品区
============================================================ */
.products-section { background: var(--c-bg-soft); max-width: none; }
.products-section .section-head,
.products-section .product-grid,
.products-section .section-foot {
  max-width: 1440px; margin-left: auto; margin-right: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 0 40px;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-border);
  overflow: hidden;
  transition: transform .5s var(--ease-luxe), box-shadow .5s, border-color .35s;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(29,29,31,.08);
  border-color: rgba(197,160,89,.45);
}
.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: #f2f2f4;
  transition: transform 1.2s var(--ease-luxe);
}
.product-card:hover .product-media { transform: scale(1.06); }
.product-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.05));
  opacity: 0;
  transition: opacity .4s;
}
.product-card:hover .product-media::after { opacity: 1; }

/* 占位渐变 */
.product-media.placeholder { background: linear-gradient(135deg, #2b2b2e 0%, #1d1d1f 100%); }
.product-media.ph-1 { background: linear-gradient(135deg, #1d1d1f, #2a2a2d 60%, #3d3327); }
.product-media.ph-2 { background: linear-gradient(135deg, #1d1d1f, #312a1d 70%, #C5A059); }
.product-media.ph-3 { background: linear-gradient(135deg, #1d1d1f 0%, #353537 100%); }
.product-media.ph-4 { background: radial-gradient(80% 80% at 30% 30%, #3a3329, #1d1d1f); }
.product-media.ph-5 { background: linear-gradient(160deg, #2c2520, #1d1d1f 60%); }
.product-media.ph-6 { background: linear-gradient(135deg, #1d1d1f, #2a2218); }

.product-body { padding: 22px 22px 26px; }
.product-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 10px;
}
.product-name {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  margin: 0 0 10px;
  line-height: 1.5;
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: .02em;
}

/* 骨架屏 */
.product-card.skeleton .product-media,
.product-card.skeleton .product-body { position: relative; }
.product-card.skeleton::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  animation: shimmer 1.6s linear infinite;
  z-index: 2;
  pointer-events: none;
}
.product-card.loaded::before { display: none; }
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================================
   信任徽章区
============================================================ */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.trust-item {
  padding: 64px 32px;
  text-align: center;
  border-right: 1px solid var(--c-border);
  transition: background .4s;
}
.trust-item:last-child { border-right: 0; }
.trust-item:hover { background: var(--c-bg-soft); }
.trust-icon {
  color: var(--c-gold);
  margin-bottom: 16px;
  display: inline-flex;
  transition: transform .5s var(--ease-luxe);
}
.trust-item:hover .trust-icon { transform: translateY(-4px) rotate(-3deg); }
.trust-item h4 {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--c-muted);
}

/* ============================================================
   评价区
============================================================ */
.reviews-section {
  padding: 120px 40px;
  background: var(--c-bg-soft);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
}
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 40px 36px;
  transition: transform .5s var(--ease-luxe), box-shadow .5s, border-color .35s;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(29,29,31,.06);
  border-color: rgba(197,160,89,.45);
}
.stars {
  display: flex;
  gap: 4px;
  color: var(--c-gold);
  margin-bottom: 20px;
  font-size: 16px;
}
.stars::before { content: ""; }
.review-text {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.55;
  color: var(--c-ink);
  margin: 0 0 24px;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--c-border);
}
.reviewer {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.reviewer-loc { font-size: 12px; color: var(--c-muted); }

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: #fff;
  color: var(--c-ink);
  padding: 96px 40px 40px;
}
.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--c-border);
}
.footer-logo { color: var(--c-ink); font-size: 22px; }
.footer-desc {
  margin-top: 18px;
  color: var(--c-muted);
  max-width: 320px;
  font-size: 13px;
  line-height: 1.7;
}
.socials { display: flex; gap: 14px; margin-top: 28px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  transition: color .35s, background .35s, border-color .35s, transform .35s;
}
.socials a:hover {
  color: #fff;
  background: var(--c-gold-deep, var(--c-gold));
  border-color: var(--c-gold);
  transform: translateY(-3px);
}

.footer-col h5 {
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 22px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a {
  font-size: 13px;
  color: var(--c-muted);
  transition: color .3s, padding-left .3s;
}
.footer-col ul a:hover {
  color: var(--c-gold);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-muted);
}

/* ============================================================
   悬浮按钮
============================================================ */
.float-btn {
  position: fixed;
  right: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .35s, background .35s, opacity .35s;
}
a.whatsapp-btn,
a.whatsapp-btn:visited {
  bottom: 84px;
  background: var(--c-ink) !important;
  color: #fff !important;
}
a.whatsapp-btn:hover,
a.whatsapp-btn:focus,
a.whatsapp-btn:active {
  transform: translateY(-3px) scale(1.05);
  background: #c5a059 !important;
  color: #8a6d2f !important;
}
.back-to-top {
  bottom: 24px;
  background: var(--c-ink);
  color: #fff;
  opacity: 0;
  pointer-events: none;
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--c-gold); transform: translateY(-3px); }

/* ============================================================
   滚动入场
============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease-luxe), transform .9s var(--ease-luxe);
}
.reveal-up.in {
  opacity: 1;
  transform: translateY(0);
}
.product-grid .reveal-up { transition-delay: var(--d, 0s); }

/* Elementor 编辑器内跳过入场动画，直接显示 */
.elementor-editor-active .reveal-up,
.elementor-editor-preview .reveal-up {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================================
   响应式
============================================================ */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .footer-col:nth-child(4) { grid-column: span 3; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .nav-container { padding: 0 20px; }
  .primary-nav { display: none; }
  .nav-actions .lang-switch,
  .nav-actions .nav-icon-btn:not(.bag-btn) { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 0 24px; }
  .hero-arrow { display: none; }
  .hero-dots { bottom: 28px; }
  .hero-scroll-hint { display: none; }

  .section, .reviews-section { padding: 80px 20px; }
  .section-title { font-size: 2rem; }

  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 20px; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--c-border); }
  .trust-item:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }

  .reviews-grid {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    grid-template-columns: none;
    padding-bottom: 8px;
  }
  .reviews-grid .review-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }

  .site-footer { padding: 64px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; padding-bottom: 36px; }
  .footer-grid .brand-col { grid-column: span 2; }
  .footer-grid .footer-col:nth-child(4) { grid-column: auto; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-tag { font-size: 10px; letter-spacing: .22em; }

  .trust-bar {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    grid-template-columns: none;
  }
  .trust-item {
    flex: 0 0 75vw;
    scroll-snap-align: center;
    border-right: 1px solid var(--c-border);
    border-bottom: 0;
  }
  .trust-item:last-child { border-right: 0; }
  .trust-bar::-webkit-scrollbar { display: none; }
}

/* ============================================================
   通用：内页头部 / 面包屑
============================================================ */
.page-hero {
  padding: 20px 40px 48px;
  text-align: center;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.breadcrumb {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 22px;
}
.breadcrumb a { color: var(--c-muted); transition: color .3s; }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb .sep { margin: 0 10px; opacity: .5; }
.breadcrumb .current { color: var(--c-ink); }
.page-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.page-title .count {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--c-muted);
  margin-left: 14px;
  vertical-align: middle;
}
.page-lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--c-muted);
  font-size: 15px;
}

/* ============================================================
   分类筛选栏 / 排序
============================================================ */
.collection-toolbar {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.toolbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.filter-tabs-wrap { position: relative; flex: 1; min-width: 0; }
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tab {
  flex: 0 0 auto;
  padding: 6px 14px;
  font-size: 10px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  transition: color .3s, background .3s, border-color .3s, transform .3s;
  white-space: nowrap;
}
.filter-tab:hover { border-color: var(--c-gold); color: var(--c-gold); }
.filter-tab.active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
.filter-tab .num {
  margin-left: 6px;
  font-weight: 500;
  color: var(--c-muted);
}
.filter-tab.active .num { color: rgba(255,255,255,.6); }

.sort-select {
  flex: 0 0 auto;
  padding: 6px 32px 6px 14px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231D1D1F' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--c-ink);
  transition: border-color .3s;
}
.sort-select:hover { border-color: var(--c-gold); }

@media (max-width: 860px) {
  .collection-toolbar .toolbar-inner { flex-direction: column; align-items: stretch; padding: 14px 20px; gap: 12px; }
  .sort-select { align-self: stretch; width: 100%; }
}

/* ============================================================
   商品网格 — 内页扩展（带 hover 加购）
============================================================ */
.collection-section {
  padding: 56px 40px 120px;
  background: var(--c-bg-soft);
}
.collection-section .product-grid { padding: 0; max-width: 1440px; margin-left: auto; margin-right: auto; }

.product-card.with-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.product-card.with-cta > .product-media,
.product-card.with-cta > .add-to-bag {
  grid-column: 1;
  grid-row: 1;
}
.product-card.with-cta > .product-body {
  grid-column: 1;
  grid-row: 2;
}
.product-card .add-to-bag {
  align-self: end;
  margin: 0 16px 16px;
  height: 44px;
  background: var(--c-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: transform .45s var(--ease-luxe), opacity .35s, background .3s;
  z-index: 3;
}
.product-card .add-to-bag:hover { background: var(--c-gold); }
@media (hover: hover) {
  .product-card.with-cta:hover .add-to-bag { transform: translateY(0); opacity: 1; }
}
@media (hover: none) {
  .product-card .add-to-bag { display: none; }
}

@media (max-width: 860px) {
  .page-hero { padding: 80px 16px 32px; }
  .page-title { font-size: 1.6rem; }
  .page-title .count { display: block; margin-left: 0; margin-top: 8px; }
  .page-lead { font-size: 13px; }
  .collection-section { padding: 32px 10px 60px; }
  .collection-section .product-grid { gap: 10px; }
  .collection-section .product-body { padding: 10px; }
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-card.is-hidden { display: none; }
.product-card.fade-swap { animation: fadeSwap .3s ease; }
@keyframes fadeSwap {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 空状态 */
.empty-state {
  padding: 80px 20px;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--c-border);
}
.empty-state .icon {
  font-size: 36px;
  color: var(--c-muted);
  margin-bottom: 16px;
}
.empty-state h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.empty-state p { color: var(--c-muted); margin-bottom: 24px; }

/* ============================================================
   底部 CTA 引导
============================================================ */
.cta-band {
  background: var(--c-ink);
  color: #fff;
  padding: 88px 40px;
  text-align: center;
}
.cta-band h2 {
  font-size: 2.4rem;
  color: #fff;
  margin: 0 0 16px;
}
.cta-band p {
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 15px;
}
.cta-band .btn-gold { color: #fff; }

/* ============================================================
   Sourcing 页 — 表单 / 服务卡
============================================================ */
.sourcing-section { padding: 96px 40px; max-width: 1100px; margin: 0 auto; }
.sourcing-section.alt { background: var(--c-bg-soft); max-width: none; }
.sourcing-section.alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: span 2; }
.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.form-field label .req { color: var(--c-gold); }
.form-input, .form-textarea, .form-select {
  font-family: var(--f-sans);
  font-size: 14px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  background: #fff;
  color: var(--c-ink);
  transition: border-color .3s, box-shadow .3s;
  border-radius: 0;
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(197,160,89,.15);
}
.form-file {
  border: 1px dashed var(--c-border);
  padding: 24px;
  text-align: center;
  color: var(--c-muted);
  font-size: 13px;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.form-file:hover { border-color: var(--c-gold); color: var(--c-gold); background: #fff; }
.form-file input { display: none; }
.form-meta {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 12px;
}
.form-submit { margin-top: 24px; }

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
}

.collab-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.collab-card {
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 36px 28px;
  text-align: center;
  transition: transform .5s var(--ease-luxe), border-color .3s, box-shadow .5s;
}
.collab-card:hover {
  transform: translateY(-4px);
  border-color: rgba(197,160,89,.5);
  box-shadow: 0 18px 40px rgba(29,29,31,.06);
}
.collab-card .ico { color: var(--c-gold); margin-bottom: 16px; }
.collab-card h4 {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.collab-card p { font-size: 13px; color: var(--c-muted); margin: 0; line-height: 1.6; }

@media (max-width: 860px) {
  .collab-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   QC Process 页
============================================================ */
.qc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: #fff;
}
.qc-step {
  position: relative;
  padding: 56px 32px;
  border-right: 1px solid var(--c-border);
}
.qc-step:last-child { border-right: 0; }
.qc-step .num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
}
.qc-step h3 {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.qc-step p { font-size: 13px; color: var(--c-muted); margin: 0; }

.qc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.qc-gallery .item {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: #1d1d1f;
  position: relative;
  overflow: hidden;
}
.qc-gallery .item::after {
  content: attr(data-label);
  position: absolute;
  left: 16px; bottom: 14px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  background: rgba(29,29,31,.5);
  padding: 4px 10px;
  backdrop-filter: blur(6px);
}
.qc-promise {
  background: var(--c-ink);
  color: #fff;
  padding: 96px 40px;
  text-align: center;
}
.qc-promise h2 { color: #fff; font-size: 2.4rem; margin: 0 0 18px; }
.qc-promise p { color: rgba(255,255,255,.72); max-width: 640px; margin: 0 auto; font-size: 15px; line-height: 1.8; }
.qc-promise .seal {
  width: 96px; height: 96px;
  border: 2px solid var(--c-gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  margin-bottom: 26px;
  font-family: var(--f-display);
  font-size: 32px;
}

@media (max-width: 860px) {
  .qc-steps { grid-template-columns: repeat(2, 1fr); }
  .qc-step { border-right: 0; border-bottom: 1px solid var(--c-border); }
  .qc-step:nth-child(odd) { border-right: 1px solid var(--c-border); }
  .qc-step:nth-last-child(-n+2) { border-bottom: 0; }
  .qc-gallery { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Journal 页
============================================================ */
.journal-section { max-width: 1440px; margin: 0 auto; }
.journal-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 56px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.article-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.article-card-link.is-hidden { display: none; }
.article-card {
  background: #fff;
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: transform .5s var(--ease-luxe), box-shadow .5s, border-color .3s;
}
.article-card-link:hover .article-card,
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(29,29,31,.07);
  border-color: rgba(197,160,89,.45);
}
.article-media {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #1d1d1f;
  transition: transform 1.2s var(--ease-luxe);
}
.article-card:hover .article-media { transform: scale(1.04); }
.article-body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; }
.article-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.article-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 12px;
}
.article-excerpt { color: var(--c-muted); font-size: 14px; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.article-more {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .3s, gap .3s;
}
.article-more:hover { color: var(--c-gold); gap: 14px; }

.journal-widgets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 80px;
}
.widget {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  padding: 36px;
}
.widget h4 {
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}
.widget h3 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin-bottom: 12px;
}
.widget p { color: var(--c-muted); margin-bottom: 20px; font-size: 14px; }
.widget-input {
  display: flex;
  gap: 0;
  border: 1px solid var(--c-border);
  background: #fff;
}
.widget-input input {
  flex: 1;
  border: 0;
  padding: 14px 16px;
  font-family: var(--f-sans);
  font-size: 13px;
  outline: none;
}
.widget-input button {
  padding: 0 22px;
  background: var(--c-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .3s;
}
.widget-input button:hover { background: var(--c-gold); }

@media (max-width: 720px) {
  .journal-widgets { grid-template-columns: 1fr; }
}

/* ============================================================
   Article Detail 页 — 文章详情
============================================================ */
.article-detail {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 40px 120px;
}
.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: .04em;
}
.article-detail-meta .cat-label {
  background: var(--c-ink);
  color: #fff;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.article-detail-meta .sep { opacity: .4; }
.article-detail-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 28px;
}
.article-detail-hero {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 48px;
  border: 1px solid var(--c-border);
}
.article-detail-content {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}
.article-detail-content h2 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin: 48px 0 16px;
}
.article-detail-content h3 {
  font-family: var(--f-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 36px 0 12px;
}
.article-detail-content p { margin: 0 0 20px; }
.article-detail-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
  border: 1px solid var(--c-border);
}
.article-detail-content blockquote {
  border-left: 3px solid var(--c-gold);
  margin: 32px 0;
  padding: 16px 24px;
  background: var(--c-bg-soft);
  font-style: italic;
  color: var(--c-muted);
}
.article-detail-content a { color: var(--c-gold); text-decoration: underline; }
.article-detail-content a:hover { color: var(--c-gold-deep); }
.article-detail-content ul, .article-detail-content ol {
  margin: 0 0 20px 24px;
}
.article-detail-content li { margin-bottom: 8px; }

/* 底部分享 & 导航 */
.article-detail-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.article-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--c-border);
  color: var(--c-ink);
  transition: border-color .3s, color .3s;
}
.article-share a:hover { border-color: var(--c-gold); color: var(--c-gold); }

/* 相关文章 */
.related-posts { margin-top: 80px; }
.related-posts-title {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-align: center;
  color: var(--c-muted);
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 860px) {
  .article-detail { padding: 32px 16px 80px; }
  .article-detail-title { font-size: 1.5rem; }
  .related-posts-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Legal / Policy 页
============================================================ */
.legal-section {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px 40px 120px;
}
.legal-section h2 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin: 56px 0 18px;
  letter-spacing: -.01em;
}
.legal-section h2:first-of-type { margin-top: 0; }
.legal-section h3 {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 28px 0 10px;
}
.legal-section p, .legal-section li {
  font-size: 14.5px;
  color: var(--c-ink);
  line-height: 1.85;
  margin-bottom: 14px;
}
.legal-section ul { padding-left: 22px; list-style: disc; margin-bottom: 18px; }
.legal-section li::marker { color: var(--c-gold); }
.legal-meta {
  margin-bottom: 56px;
  padding: 20px 24px;
  background: var(--c-bg-soft);
  border-left: 2px solid var(--c-gold);
  font-size: 13px;
  color: var(--c-muted);
}

/* ============================================================
   商品详情页 — WC reset
============================================================ */
.woocommerce-page .product-detail,
.woocommerce-page .product-tabs,
.woocommerce-page .products-section { box-sizing: border-box; }
.baijia-cart-form { margin: 0; padding: 0; }

.breadcrumb { font-size: 12px; letter-spacing: .06em; color: var(--c-muted); }
.breadcrumb a { color: var(--c-muted); text-decoration: none; transition: color .3s; }
.breadcrumb a:hover { color: var(--c-gold); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }
.breadcrumb .current { color: var(--c-ink); font-weight: 500; }

/* ============================================================
   商品详情页
============================================================ */
.product-detail {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 40px 96px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
}
.gallery-main {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--c-bg-soft);
  background-size: cover;
  background-position: center;
  cursor: zoom-in;
  overflow: hidden;
}
.gallery-main::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(29,29,31,.04);
  opacity: 0;
  transition: opacity .3s;
}
.gallery-main:hover::after { opacity: 1; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.gallery-thumb {
  aspect-ratio: 1/1;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-soft);
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color .3s, opacity .3s;
  opacity: .7;
}
.gallery-thumb.active { border-color: var(--c-gold); opacity: 1; }
.gallery-thumb:hover { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  transform: scale(.92);
  transition: transform .4s var(--ease-luxe);
}
.lightbox-overlay.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: .7;
  transition: opacity .3s;
  z-index: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: .7;
  transition: opacity .3s, background .3s;
}
.lightbox-nav:hover { opacity: 1; background: rgba(255,255,255,.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
}

.product-info .product-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 14px;
}
.product-info h1 {
  font-family: var(--f-display);
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 24px;
}
.price-now {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-ink);
}
.price-old {
  font-size: 14px;
  color: var(--c-muted);
  text-decoration: line-through;
}
.price-save {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-gold);
  padding: 3px 10px;
}
.short-desc {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0 0 28px;
  line-height: 1.7;
}

.variant-group {
  margin-bottom: 22px;
}
.variant-group .label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-opt {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  border: 1px solid var(--c-border);
  background: #fff;
  cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.variant-opt:hover { border-color: var(--c-gold); color: var(--c-gold); }
.variant-opt.active { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.variant-opt.disabled {
  color: var(--c-muted);
  cursor: not-allowed;
  position: relative;
  text-decoration: line-through;
}

.stock-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.stock-status.in    { color: #2ea05a; }
.stock-status.low   { color: #c79b21; }
.stock-status.out   { color: #c14a4a; }

.qty-row { display: flex; align-items: stretch; gap: 14px; margin-bottom: 18px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--c-border);
}
.qty-control .qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 50px;
  font-size: 18px;
  color: var(--c-ink);
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.qty-control .qty-btn:hover { color: var(--c-gold); }
.qty-control input {
  width: 50px;
  height: 50px;
  border: 0;
  text-align: center;
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  outline: none;
}
.btn-buy { flex: 1; }
.btn-cart { flex: 1; }

/* 强制覆盖 Astra 主题对按钮悬停的默认样式 */
.product-info .btn-outline.btn-cart,
.product-info button.btn-outline.btn-cart {
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  background: transparent;
}
.product-info .btn-outline.btn-cart:hover,
.product-info .btn-outline.btn-cart:focus,
.product-info button.btn-outline.btn-cart:hover,
.product-info button.btn-outline.btn-cart:focus {
  background: var(--c-ink) !important;
  color: #fff !important;
  border-color: var(--c-ink) !important;
  transform: translateY(-2px);
}
.product-info a.btn-gold.btn-buy,
.product-info .btn-gold.btn-buy {
  color: #fff;
}
.product-info a.btn-gold.btn-buy:hover,
.product-info a.btn-gold.btn-buy:focus,
.product-info .btn-gold.btn-buy:hover,
.product-info .btn-gold.btn-buy:focus {
  color: #fff !important;
  transform: translateY(-2px);
}

.detail-meta {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* 物流时效折叠 */
.delivery-estimate {
  margin-top: 20px;
  border: 1px solid var(--c-border);
}
.delivery-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink);
  transition: background .2s;
}
.delivery-toggle:hover { background: var(--c-bg-soft); }
.delivery-toggle span { flex: 1; }
.delivery-arrow {
  transition: transform .3s;
}
.delivery-estimate.open .delivery-arrow {
  transform: rotate(180deg);
}
.delivery-table-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out);
}
.delivery-estimate.open .delivery-table-wrap {
  max-height: 300px;
}
.delivery-table {
  width: 100%;
  font-size: 12px;
  border-collapse: collapse;
}
.delivery-table thead th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 8px 16px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg-soft);
}
.delivery-table tbody td {
  padding: 10px 16px;
  border-top: 1px solid var(--c-border);
  color: var(--c-ink);
}
.delivery-table tbody tr:last-child td {
  padding-bottom: 14px;
}

/* Tabs */
.product-tabs {
  max-width: 1440px;
  margin: 0 auto 96px;
  padding: 0 40px;
}
.tab-headers {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 40px;
}
.tab-headers button {
  position: relative;
  padding: 18px 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .3s;
  white-space: nowrap;
}
.tab-headers button.active { color: var(--c-ink); }
.tab-headers button.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--c-gold);
}
.tab-panel { display: none; max-width: 880px; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease-luxe); }
.tab-panel p { font-size: 14.5px; line-height: 1.85; color: var(--c-ink); margin-bottom: 16px; }
.tab-panel h3 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--c-ink);
}
.tab-panel h3:first-child { margin-top: 0; }
.tab-panel ul, .tab-panel ol { padding-left: 20px; margin-bottom: 16px; }
.tab-panel li { font-size: 14.5px; line-height: 1.85; color: var(--c-ink); margin-bottom: 6px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
}
.spec-table tr:first-child th,
.spec-table tr:first-child td {
  border-top: 1px solid var(--c-border);
}
.spec-table tr:hover {
  background: rgba(0,0,0,.015);
}
.spec-table th {
  width: 30%;
  min-width: 140px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-muted);
  font-family: var(--f-sans);
  white-space: nowrap;
}
.spec-table td {
  color: var(--c-ink);
  font-weight: 400;
}
.spec-richtext { margin-bottom: 24px; }
.spec-richtext table { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.spec-richtext th,
.spec-richtext td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  line-height: 1.6;
  vertical-align: top;
}
.spec-richtext tr:first-child th,
.spec-richtext tr:first-child td { border-top: 1px solid var(--c-border); }
.spec-richtext tr:hover { background: rgba(0,0,0,.015); }
.spec-richtext th {
  width: 30%;
  font-weight: 600;
  color: var(--c-muted);
  font-family: var(--f-sans);
}
.spec-richtext td { color: var(--c-ink); }
.spec-richtext p { font-size: 14.5px; line-height: 1.85; margin-bottom: 14px; }
.spec-richtext h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 14px; color: var(--c-ink); }
.spec-richtext h3:first-child { margin-top: 0; }

@media (max-width: 600px) {
  .spec-table th,
  .spec-table td {
    padding: 10px 12px;
    font-size: 13px;
  }
  .spec-table th {
    width: 38%;
    min-width: auto;
  }
  .spec-richtext th,
  .spec-richtext td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Sticky Add to Cart (Mobile) */
.sticky-cart {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 35;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform .4s var(--ease-luxe);
}
.sticky-cart.show { transform: translateY(0); }
.sticky-cart .info { flex: 1; min-width: 0; }
.sticky-cart .info .name { font-size: 12px; font-weight: 500; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cart .info .price { font-size: 14px; font-weight: 600; color: var(--c-gold); }
.sticky-cart .btn { height: 44px; padding: 0 22px; }

@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px 64px; }
  .product-tabs { padding: 0 24px; margin-bottom: 64px; }
  .tab-headers { gap: 20px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-headers::-webkit-scrollbar { display: none; }
}
@media (max-width: 860px) {
  .sticky-cart { display: flex; }
  .product-detail { padding: 24px 16px 100px; gap: 24px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
  .product-info h1 { font-size: 1.5rem; margin-bottom: 12px; }
  .price-row { gap: 10px; margin-bottom: 18px; }
  .price-now { font-size: 1.4rem; }
  .short-desc { font-size: 13px; margin-bottom: 20px; }
  .variant-group { margin-bottom: 16px; }
  .variant-opt { padding: 8px 14px; font-size: 11px; }
  .qty-row { gap: 8px; flex-wrap: wrap; }
  .qty-control .qty-btn { width: 38px; height: 44px; font-size: 16px; }
  .qty-control input { width: 42px; height: 44px; font-size: 13px; }
  .btn-cart, .btn-buy { height: 44px; font-size: 11px; padding: 0 14px; }
  .detail-meta { font-size: 11px; margin-top: 20px; padding-top: 16px; }
  .product-tabs { padding: 0 16px; margin-bottom: 48px; }
  .tab-headers { gap: 16px; margin-bottom: 28px; }
  .tab-headers button { font-size: 11px; padding: 14px 0; }
  .tab-panel p { font-size: 13.5px; }
  .tab-panel h3 { font-size: 1rem; margin: 24px 0 12px; }
  .page-hero[style] { padding: 72px 16px 12px !important; }
  .breadcrumb {
    font-size: 11px;
    letter-spacing: .04em;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 14px;
  }
  .breadcrumb .sep { margin: 0 5px; }
  .breadcrumb .current {
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
  }
  .lightbox-nav { width: 36px; height: 36px; font-size: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 16px; right: 16px; font-size: 24px; }
}
@media (max-width: 480px) {
  .product-detail { padding: 16px 12px 100px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .product-info h1 { font-size: 1.25rem; }
  .price-now { font-size: 1.2rem; }
  .qty-row { gap: 6px; }
  .btn-cart, .btn-buy { flex: 1 1 auto; min-width: 0; font-size: 10px; letter-spacing: .12em; padding: 0 10px; }
  .tab-headers { gap: 12px; }
  .tab-headers button { font-size: 10px; letter-spacing: .12em; }
  .product-tabs { padding: 0 12px; }
  .sticky-cart .btn { padding: 0 16px; font-size: 10px; }
}

/* ============================================================
   WooCommerce 归档页（商店 / 分类页）
============================================================ */
.woocommerce-page .site-content,
.woocommerce-page .ast-container,
.woocommerce-page #content .ast-container,
.tax-product_cat .site-content,
.tax-product_cat .ast-container,
.tax-product_cat #content .ast-container,
.post-type-archive-product .site-content,
.post-type-archive-product .ast-container,
.post-type-archive-product #content .ast-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.woocommerce-page .ast-container > main,
.tax-product_cat .ast-container > main,
.post-type-archive-product .ast-container > main {
  width: 100%;
}

.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
.page-hero-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--c-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* 子分类栏 */
.subcategory-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}
.subcategory-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subcategory-inner::-webkit-scrollbar { display: none; }
.subcat-link {
  flex: 0 0 auto;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  text-decoration: none;
  transition: color .3s, background .3s, border-color .3s;
  white-space: nowrap;
}
.subcat-link:hover { border-color: var(--c-gold); color: var(--c-gold); }
.subcat-link.active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* 工具栏 */
.shop-toolbar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.shop-toolbar-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-count {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-sort label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.shop-sort select {
  padding: 8px 32px 8px 14px;
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%231D1D1F' stroke-width='1.4' d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  color: var(--c-ink);
  transition: border-color .3s;
}
.shop-sort select:hover { border-color: var(--c-gold); }

/* Sale 标签 */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  z-index: 2;
}
.product-badge.sale {
  background: var(--c-gold);
  color: #fff;
}

/* 分页 */
.shop-pagination,
.collection-pagination {
  max-width: 1440px;
  margin: 48px auto 0;
  padding: 0 40px;
  display: flex;
  justify-content: center;
}
.shop-pagination ul,
.collection-pagination ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-pagination li a,
.shop-pagination li span,
.collection-pagination li a,
.collection-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: border-color .3s, background .3s, color .3s;
}
.shop-pagination li a:hover,
.collection-pagination li a:hover { border-color: var(--c-gold); color: var(--c-gold); }
.shop-pagination li span.current,
.collection-pagination li span.current {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

/* 空状态 */
.shop-empty {
  text-align: center;
  padding: 96px 40px;
  color: var(--c-muted);
  font-size: 15px;
}
.shop-empty .btn { margin-top: 24px; display: inline-block; }

/* 归档页 product-price 里的划线价 */
.product-price .price-old {
  font-size: 12px;
  color: var(--c-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

@media (max-width: 860px) {
  .subcategory-inner { padding: 12px 20px; }
  .shop-toolbar { padding: 14px 20px; }
  .shop-toolbar-inner { flex-direction: column; gap: 10px; align-items: flex-start; }
  .shop-pagination,
  .collection-pagination { padding: 0 20px; }
}

/* ============================================================
   Cart & Checkout — Astra 容器覆盖
============================================================ */
.woocommerce-cart .ast-container,
.woocommerce-checkout .ast-container,
.woocommerce-cart #content .ast-container,
.woocommerce-checkout #content .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-cart .ast-container #primary,
.woocommerce-checkout .ast-container #primary,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-cart #secondary,
.woocommerce-checkout #secondary {
  display: none !important;
}
.woocommerce-cart .ast-article-single,
.woocommerce-checkout .ast-article-single {
  width: 100% !important;
  max-width: 100% !important;
}
.woocommerce-cart .site-content > .ast-container,
.woocommerce-checkout .site-content > .ast-container {
  display: block !important;
}
.woocommerce-cart .ast-container > aside,
.woocommerce-checkout .ast-container > aside:not(.oto-cart-summary):not(.oto-checkout-summary) {
  display: none !important;
}

/* ============================================================
   Cart Page — 购物车页
============================================================ */
/* 消除 wpautop 插入的 br/p 对 flex 布局的干扰 */
.oto-cart-page br,
.oto-checkout-page br { display: none; }
.oto-cart-page p,
.oto-checkout-page p { margin: 0; padding: 0; }

.oto-cart-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 120px;
}
.oto-cart-shipping-bar {
  margin-bottom: 40px;
}
.oto-shipping-track {
  height: 4px;
  background: var(--c-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}
.oto-shipping-fill {
  height: 100%;
  background: var(--c-gold);
  border-radius: 2px;
  transition: width .5s var(--ease-luxe);
}
.oto-shipping-note {
  font-size: 12px;
  color: var(--c-muted);
}
.oto-shipping-note strong { color: var(--c-ink); }
.oto-shipping-free { color: var(--c-gold); font-weight: 600; }

.oto-cart-layout {
  display: flex !important;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}
.oto-cart-items {
  flex: 1;
  min-width: 0;
}
.oto-cart-summary {
  width: 380px;
  flex-shrink: 0;
}
.oto-cart-title {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 32px;
}

/* 购物车行 */
.oto-cart-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-border);
}
.oto-cart-row:first-of-type { border-top: 1px solid var(--c-border); }
.oto-cart-row-img {
  width: 100px; height: 100px;
  flex-shrink: 0;
}
.oto-cart-row-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.oto-cart-row-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.oto-cart-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.oto-cart-row-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  line-height: 1.4;
}
.oto-cart-row-name:hover { color: var(--c-gold); }
.oto-cart-row-price { font-size: 14px; font-weight: 600; white-space: nowrap; }
.oto-cart-row-variant { font-size: 11px; color: var(--c-muted); }
.oto-cart-row-unit { font-size: 11px; color: var(--c-muted); }
.oto-cart-row-bottom {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 8px;
}

/* 数量控件 */
.oto-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--c-border);
  height: 34px;
}
.oto-qty-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
  color: var(--c-ink);
  transition: background .2s;
}
.oto-qty-btn:hover { background: var(--c-bg-soft); }
.oto-qty-input {
  width: 40px; height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--c-border);
  border-right: 1px solid var(--c-border);
  font-size: 13px;
  font-family: var(--f-sans);
  -moz-appearance: textfield;
  appearance: textfield;
}
.oto-qty-input::-webkit-inner-spin-button,
.oto-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.oto-cart-row-remove {
  font-size: 11px;
  color: var(--c-muted);
  text-decoration: underline;
  cursor: pointer;
  transition: color .2s;
}
.oto-cart-row-remove:hover { color: #d44; }

.oto-cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.oto-continue-link {
  font-size: 12px;
  color: var(--c-muted);
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
}
.oto-continue-link:hover { color: var(--c-gold); }
.oto-update-btn { height: 42px; padding: 0 24px; font-size: 11px; }

/* 订单摘要侧栏 */
.oto-cart-summary {
  background: var(--c-bg-soft);
  padding: 32px;
  border: 1px solid var(--c-border);
  position: sticky;
  top: calc(var(--nav-h) + var(--ann-h) + 24px);
}
.oto-summary-title {
  font-family: var(--f-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 24px;
}
.oto-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 0;
  color: var(--c-ink);
}
.oto-summary-discount span:last-child { color: var(--c-gold); }
.oto-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 0;
  border-top: 1px solid var(--c-border);
  margin-top: 8px;
}

/* 优惠券 */
.oto-coupon-wrap { padding: 12px 0; }
.oto-coupon-form {
  display: flex;
  gap: 8px;
}
.oto-coupon-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--c-border);
  font-size: 12px;
  font-family: var(--f-sans);
}
.oto-coupon-input:focus { border-color: var(--c-ink); outline: none; }
.oto-coupon-btn {
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--c-ink);
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s;
}
.oto-coupon-btn:hover { background: var(--c-ink); color: #fff; }

.oto-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  text-decoration: none;
  color: #fff !important;
}
.oto-checkout-btn:hover,
.oto-checkout-btn:focus,
.oto-checkout-btn:visited {
  color: #fff !important;
  text-decoration: none;
}
.oto-trust-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 11px;
  color: var(--c-muted);
}

/* 空购物车 */
.oto-cart-empty {
  text-align: center;
  padding: 80px 0;
}
.oto-cart-empty svg { margin-bottom: 24px; }
.oto-cart-empty-title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.oto-cart-empty-text {
  color: var(--c-muted);
  font-size: 14px;
  margin: 0 0 24px;
}

@media (max-width: 860px) {
  .oto-cart-page { padding: 32px 16px 80px; }
  .oto-cart-layout { flex-direction: column; gap: 32px; }
  .oto-cart-summary { width: 100%; position: static; }
  .oto-cart-row-img { width: 72px; height: 72px; }
}

/* ============================================================
   Checkout Page — 结账页
============================================================ */
.oto-checkout-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 40px 120px;
}
.oto-checkout-layout {
  display: flex !important;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}
.oto-checkout-fields {
  flex: 1;
  min-width: 0;
}
.oto-checkout-summary {
  width: 420px;
  flex-shrink: 0;
}
.oto-checkout-title {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 32px;
}
.oto-checkout-login-notice {
  font-size: 13px;
  color: var(--c-muted);
  margin-bottom: 24px;
}
.oto-login-toggle { color: var(--c-gold); text-decoration: underline; }

/* 字段组 */
.oto-field-group {
  margin-bottom: 32px;
}
.oto-field-group-title {
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}
.oto-field {
  margin-bottom: 16px;
}
.oto-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.oto-field label abbr {
  color: var(--c-gold);
  text-decoration: none;
}
.oto-field input[type="text"],
.oto-field input[type="email"],
.oto-field input[type="tel"],
.oto-field input[type="number"],
.oto-field select,
.oto-field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: #fff;
  transition: border-color .3s;
}
.oto-field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}
.oto-field input:focus,
.oto-field select:focus,
.oto-field textarea:focus {
  border-color: var(--c-ink);
  outline: none;
}
.oto-field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.oto-field-row { display: flex; gap: 16px; }
.oto-field-row-half > .oto-field { flex: 1; }
.oto-field-row-third > .oto-field { flex: 1; }

/* WC 原生字段统一样式 */
.oto-wc-fields-wrap .form-row { padding: 0 0 16px !important; margin: 0 !important; }
.oto-wc-fields-wrap .form-row label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.oto-wc-fields-wrap .form-row label .required { color: var(--c-gold); text-decoration: none; }
.oto-wc-fields-wrap .form-row .woocommerce-input-wrapper { display: block; }
.oto-wc-fields-wrap .form-row input[type="text"],
.oto-wc-fields-wrap .form-row input[type="email"],
.oto-wc-fields-wrap .form-row input[type="tel"],
.oto-wc-fields-wrap .form-row select,
.oto-wc-fields-wrap .oto-field-input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-family: var(--f-sans);
  color: var(--c-ink);
  background: #fff;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.oto-wc-fields-wrap .form-row input:focus,
.oto-wc-fields-wrap .form-row select:focus {
  border-color: var(--c-ink);
  outline: none;
}
.oto-wc-fields-wrap .form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2386868B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.oto-wc-fields-wrap .select2-container { width: 100% !important; }
.oto-wc-fields-wrap .select2-container .select2-selection--single {
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
}
.oto-wc-fields-wrap .select2-container .select2-selection__rendered {
  font-size: 13px;
  color: var(--c-ink);
  line-height: 44px;
  padding: 0;
}
.oto-wc-fields-wrap .select2-container .select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

/* 旧兼容 */
.oto-field-wc-wrap { padding: 0 !important; margin: 0 !important; }
.oto-field-wc-wrap label { display: none !important; }
.oto-field-wc-wrap select,
.oto-field-select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-border);
  font-size: 13px;
  font-family: var(--f-sans);
}

/* 结账页订单摘要 */
.oto-checkout-summary {
  background: var(--c-bg-soft);
  padding: 32px;
  border: 1px solid var(--c-border);
  position: sticky;
  top: calc(var(--nav-h) + var(--ann-h) + 24px);
}
.oto-checkout-items { margin-bottom: 20px; }
.oto-checkout-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}
.oto-checkout-item-img-wrap {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.oto-checkout-item-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.oto-checkout-item-qty {
  position: absolute;
  top: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--c-ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.oto-checkout-item-info { flex: 1; }
.oto-checkout-item-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  display: block;
}
.oto-checkout-item-variant {
  font-size: 11px;
  color: var(--c-muted);
  display: block;
}
.oto-checkout-item-price {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.oto-summary-divider {
  height: 1px;
  background: var(--c-border);
  margin: 12px 0;
}

/* 支付区域覆盖 WC 默认样式 */
#oto-payment-wrap .wc_payment_methods { list-style: none; padding: 0; margin: 0; }
#oto-payment-wrap .wc_payment_method { padding: 14px 0; border-bottom: 1px solid var(--c-border); }
#oto-payment-wrap .wc_payment_method:last-child { border-bottom: none; }
#oto-payment-wrap .wc_payment_method label {
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
#oto-payment-wrap .payment_box { padding: 12px 0 0 26px; font-size: 12px; color: var(--c-muted); }
#oto-payment-wrap #place_order {
  width: 100%;
  height: 50px;
  background: var(--c-gold);
  color: #fff;
  border: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 16px;
  transition: background .3s;
}
#oto-payment-wrap #place_order:hover { background: var(--c-gold-deep); }

@media (max-width: 860px) {
  .oto-checkout-page { padding: 32px 16px 80px; }
  .oto-checkout-layout { flex-direction: column; gap: 32px; }
  .oto-checkout-summary { width: 100%; position: static; order: -1; }
  .oto-checkout-fields { width: 100%; }
  .oto-field-row-third { flex-direction: column; gap: 0; }
}

/* ============================================================
   WP 管理工具栏适配（fixed 模式：top 需累加 admin-bar 高度）
============================================================ */
body.admin-bar .site-header { top: calc(var(--ann-h) + 32px); }
body.admin-bar .site-header.scrolled { top: 32px; }
body.admin-bar .mobile-menu {
  top: 32px;
  height: calc(100vh - 32px);
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: calc(var(--ann-h) + 46px); }
  body.admin-bar .site-header.scrolled { top: 46px; }
  body.admin-bar .mobile-menu {
    top: 46px;
    height: calc(100vh - 46px);
  }
}

/* ============================
   Auth Modal — 登录/注册弹窗
   ============================ */
.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.auth-modal-overlay.open { opacity: 1; visibility: visible; }

.auth-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.95);
  width: 420px;
  max-width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px 36px 32px;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s, transform .3s;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}
.auth-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.auth-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: none; border: none;
  font-size: 24px; line-height: 1;
  color: var(--c-muted);
  cursor: pointer;
  transition: color .2s;
}
.auth-modal-close:hover { color: var(--c-ink); }

.auth-modal-title {
  font-family: var(--f-serif, 'Playfair Display', serif);
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.auth-modal-subtitle {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0 0 24px;
}

.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 6px;
}
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
  background: #fafafa;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--c-gold);
  background: #fff;
}

.auth-remember {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}
.auth-remember label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.auth-forgot {
  color: var(--c-gold);
  font-size: 12px;
  text-decoration: none;
}
.auth-forgot:hover { text-decoration: underline; }

.auth-submit {
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  cursor: pointer;
}
.auth-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.auth-msg {
  font-size: 13px;
  min-height: 18px;
  margin: 4px 0 0;
}
.auth-msg-err { color: #c0392b; }
.auth-msg-ok { color: #27ae60; }

.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--c-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}
.auth-switch a {
  color: var(--c-gold);
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
}
.auth-switch a:hover { text-decoration: underline; }


/* ============================
   Slider Captcha — 拖动验证
   ============================ */
.captcha-slider {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.captcha-track {
  position: relative;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  overflow: hidden;
}
.captcha-track-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: rgba(196, 162, 92, .18); /* gold tint */
  transition: background .25s;
  pointer-events: none;
}
.captcha-track-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--c-muted);
  pointer-events: none;
  letter-spacing: .02em;
}
.captcha-handle {
  position: absolute;
  top: 0; left: 0;
  width: 44px;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  cursor: grab;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  transition: background .2s, color .2s, border-color .2s;
}
.captcha-handle:active,
.captcha-slider.is-dragging .captcha-handle {
  cursor: grabbing;
  background: var(--c-gold, #c4a25c);
  color: #fff;
  border-color: var(--c-gold, #c4a25c);
}
.captcha-slider.is-success .captcha-track {
  border-color: #27ae60;
  background: rgba(39, 174, 96, .08);
}
.captcha-slider.is-success .captcha-track-fill { background: rgba(39, 174, 96, .18); }
.captcha-slider.is-success .captcha-track-text { color: #27ae60; font-weight: 600; }
.captcha-slider.is-success .captcha-handle {
  background: #27ae60;
  color: #fff;
  border-color: #27ae60;
  cursor: default;
}
.captcha-slider.is-fail .captcha-track {
  border-color: #c0392b;
  background: rgba(192, 57, 43, .06);
  animation: captchaShake .3s ease;
}
.captcha-slider.is-fail .captcha-track-text { color: #c0392b; }
@keyframes captchaShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
