/* ============================================================
   Paviaco — 品牌层样式
   1) 封面（home hero）
   2) 全站品牌细节（字标、页脚、公告条）
   在 styles.css 之后加载，覆盖而非替换原样式。
   ============================================================ */

:root {
  --pv-ink: #100D0B;
  --pv-onyx: #17130F;
  --pv-onyx-2: #241C15;
  --pv-champagne: #D8C3A0;
  --pv-gold: #B08D57;
  --pv-cream: #F6F1E8;
  --pv-line: rgba(216, 195, 160, 0.22);
}

/* ------------------------------------------------------------
   1. 封面
   ------------------------------------------------------------ */

.pv-cover {
  position: relative;
  background: var(--pv-ink);
  color: var(--pv-cream);
  border-bottom: 1px solid var(--pv-line);
  overflow: hidden;
}

.pv-cover__inner {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  min-height: clamp(560px, 74vh, 760px);
  max-width: 1440px;
  margin: 0 auto;
}

/* ---- 左侧文案 ---- */

.pv-cover__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: clamp(48px, 6vw, 96px) clamp(28px, 6vw, 92px);
}

.pv-cover__kicker {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--pv-champagne);
  opacity: 0.85;
  margin: 0 0 clamp(22px, 3vw, 34px);
}

.pv-cover__wordmark {
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.6vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.16em;
  margin: 0;
  color: var(--pv-cream);
  text-indent: 0.16em; /* letter-spacing 会让右侧空一截，这里补回来 */
}

.pv-cover__rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(20px, 2.6vw, 30px) 0;
}
.pv-cover__rule::before {
  content: "";
  width: 54px;
  height: 1px;
  background: var(--pv-gold);
  flex: none;
}
.pv-cover__rule span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: var(--pv-champagne);
  opacity: 0.9;
}

.pv-cover__lede {
  font-family: var(--sans);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 1.75;
  color: rgba(246, 241, 232, 0.72);
  max-width: 42ch;
  margin: 0 0 clamp(28px, 3.4vw, 40px);
}

.pv-cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(30px, 4vw, 46px);
}

.pv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--pv-cream);
  background: transparent;
  border: 1px solid rgba(246, 241, 232, 0.28);
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.pv-btn:hover {
  border-color: var(--pv-cream);
  background: rgba(246, 241, 232, 0.08);
  color: var(--pv-cream);
}

.pv-btn--solid {
  background: var(--pv-champagne);
  border-color: var(--pv-champagne);
  color: var(--pv-ink);
  font-weight: 600;
}
.pv-btn--solid:hover {
  background: #EBDCC0;
  border-color: #EBDCC0;
  color: var(--pv-ink);
}

/* ---- 封面底部规格栏 ---- */

.pv-cover__meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 4vw, 52px);
  margin: 0;
  padding-top: clamp(20px, 2.4vw, 28px);
  border-top: 1px solid var(--pv-line);
}

.pv-cover__meta div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pv-cover__meta dt {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(216, 195, 160, 0.62);
}

.pv-cover__meta dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--pv-cream);
}

/* ---- 右侧视觉 ---- */

.pv-cover__art {
  position: relative;
  background: linear-gradient(148deg, #1B1611 0%, #2C2118 42%, #4A3524 74%, #6B4B31 100%);
  border-left: 1px solid var(--pv-line);
  min-height: 320px;
  display: flex;
}

.pv-cover__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pv-cover__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px clamp(18px, 3vw, 34px);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.62);
  border-top: 1px solid rgba(216, 195, 160, 0.16);
  background: linear-gradient(to top, rgba(16, 13, 11, 0.55), transparent);
}

.pv-cover__caption b {
  font-weight: 500;
  color: var(--pv-champagne);
}

/* ---- 封面下方的一句话承诺条 ---- */

.pv-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--pv-line);
  background: var(--pv-onyx);
}

.pv-promises div {
  padding: 20px clamp(14px, 3vw, 34px);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.6);
  text-align: center;
}
.pv-promises div + div {
  border-left: 1px solid var(--pv-line);
}

/* ---- 响应式 ---- */

@media (max-width: 960px) {
  .pv-cover__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pv-cover__copy {
    padding: clamp(40px, 9vw, 64px) clamp(22px, 6vw, 40px);
  }
  .pv-cover__art {
    order: -1;
    border-left: 0;
    border-bottom: 1px solid var(--pv-line);
    min-height: clamp(240px, 42vw, 340px);
  }
  .pv-cover__meta {
    gap: 26px;
  }
  .pv-promises {
    grid-template-columns: 1fr;
  }
  .pv-promises div + div {
    border-left: 0;
    border-top: 1px solid var(--pv-line);
  }
}

@media (max-width: 520px) {
  .pv-cover__wordmark {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }
  .pv-btn {
    padding: 14px 18px;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
  .pv-cover__actions .pv-btn {
    flex: 1 1 auto;
  }
}

/* ------------------------------------------------------------
   2. 全站品牌细节
   ------------------------------------------------------------ */

/* 页头字标：加宽字距，做出奢侈品字标的感觉 */
.site-header .brand {
  font-family: var(--serif);
  font-size: 1.28rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-indent: 0.3em;
}

.site-footer .brand {
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* 公告条用香槟金文字，比原来的灰白更贵气 */
.announce {
  background: var(--pv-ink);
  color: rgba(216, 195, 160, 0.9);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.66rem;
}

/* 主按钮统一成墨色，hover 更收敛 */
.btn {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

/* ------------------------------------------------------------
   3. 细节打磨（v2）
   ------------------------------------------------------------ */

/* 杂志式内嵌细边框 + 左上柔光，让封面更有层次 */
.pv-cover::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(216, 195, 160, 0.14);
  pointer-events: none;
  z-index: 2;
}

.pv-cover::after {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(216, 195, 160, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.pv-cover__inner {
  position: relative;
  z-index: 1;
}

/* 防止任何子元素把页面撑出横向滚动 */
html,
body {
  overflow-x: hidden;
}

.pv-cover,
.pv-cover__inner,
.pv-cover__copy,
.pv-cover__art {
  min-width: 0;
}

@media (max-width: 960px) {
  .pv-cover__caption {
    flex-wrap: wrap;
    row-gap: 4px;
  }
}

@media (max-width: 520px) {
  .announce {
    letter-spacing: 0.1em;
    font-size: 0.58rem;
    padding: 7px 14px;
  }
  .site-header .brand {
    font-size: 1.02rem;
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }
  .pv-cover__kicker {
    letter-spacing: 0.2em;
    font-size: 0.6rem;
    line-height: 1.6;
  }
  .pv-cover__actions {
    gap: 8px;
  }
  .pv-cover__actions .pv-btn {
    flex: 1 1 calc(50% - 4px);
    padding: 13px 10px;
  }
  .pv-cover__actions .pv-btn--solid {
    flex: 1 1 100%;
  }
  .pv-cover__caption {
    letter-spacing: 0.12em;
    font-size: 0.56rem;
    padding: 14px 18px;
  }
  .pv-promises div {
    padding: 16px 18px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }
}

/* ============================================================
   4. 封面备选方案
   ------------------------------------------------------------
   4a. .pv-cover--ivory  浅色版（米白 + 细线，old money）
   4b. .pv-cover--photo  摄影版（整屏大图，文字压图）
   默认方案见 front-page.php 顶部的 $paviaco_cover
   预览方式：在网址后面加 ?cover=ivory 或 ?cover=photo
   ============================================================ */

/* ---------------- 4a. 浅色版 ---------------- */

.pv-cover--ivory {
  background: #FBF8F2;
  color: #14110E;
  border-bottom: 1px solid #E7DFD2;
}

.pv-cover--ivory::before {
  border-color: rgba(20, 17, 14, 0.10);
}

.pv-cover--ivory::after {
  background: radial-gradient(closest-side, rgba(176, 141, 87, 0.12), transparent 70%);
}

.pv-cover--ivory .pv-cover__kicker {
  color: #8A6A44;
  opacity: 1;
}

.pv-cover--ivory .pv-cover__wordmark {
  color: #14110E;
}

.pv-cover--ivory .pv-cover__rule::before {
  background: #B08D57;
}

.pv-cover--ivory .pv-cover__rule span {
  color: #6E5C45;
  opacity: 1;
}

.pv-cover--ivory .pv-cover__lede {
  color: #57503F;
}

.pv-cover--ivory .pv-btn {
  color: #14110E;
  border-color: rgba(20, 17, 14, 0.26);
}

.pv-cover--ivory .pv-btn:hover {
  background: rgba(20, 17, 14, 0.05);
  border-color: #14110E;
  color: #14110E;
}

.pv-cover--ivory .pv-btn--solid {
  background: #14110E;
  border-color: #14110E;
  color: #F7F2E8;
}

.pv-cover--ivory .pv-btn--solid:hover {
  background: #2C251E;
  border-color: #2C251E;
  color: #F7F2E8;
}

.pv-cover--ivory .pv-cover__meta {
  border-top-color: #E7DFD2;
}

.pv-cover--ivory .pv-cover__meta dt {
  color: #96897A;
}

.pv-cover--ivory .pv-cover__meta dd {
  color: #14110E;
}

.pv-cover--ivory .pv-cover__art {
  background: linear-gradient(150deg, #FDFAF4 0%, #F4EDE1 55%, #EDE3D2 100%);
  border-left: 1px solid #E7DFD2;
}

.pv-cover--ivory .pv-cover__caption {
  color: #6B6259;
  border-top-color: rgba(20, 17, 14, 0.10);
  background: linear-gradient(to top, rgba(251, 248, 242, 0.9), transparent);
}

.pv-cover--ivory .pv-cover__caption b {
  color: #8A5A3B;
}

.pv-cover--ivory .pv-promises {
  background: #F3EDE2;
  border-top: 1px solid #E7DFD2;
}

.pv-cover--ivory .pv-promises div {
  color: #6B6259;
}

.pv-cover--ivory .pv-promises div + div {
  border-left-color: #E7DFD2;
}

/* ---------------- 4b. 摄影版 ---------------- */

.pv-cover--photo {
  background: #0F0C0A;
  border-bottom: 1px solid rgba(216, 195, 160, 0.16);
}

.pv-cover--photo::before {
  border-color: rgba(246, 241, 232, 0.16);
}

.pv-cover--photo::after {
  display: none;
}

.pv-photo {
  position: relative;
  min-height: clamp(520px, 78vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.pv-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.pv-photo__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(10, 8, 7, 0.88) 0%, rgba(10, 8, 7, 0.62) 42%, rgba(10, 8, 7, 0.10) 100%),
    linear-gradient(to top, rgba(10, 8, 7, 0.55) 0%, rgba(10, 8, 7, 0) 45%);
}

.pv-photo__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(48px, 7vw, 104px) clamp(28px, 6vw, 92px) clamp(64px, 8vw, 110px);
}

.pv-photo__inner .pv-cover__wordmark {
  color: #F7F2E8;
}

.pv-photo__inner .pv-cover__kicker {
  color: #D8C3A0;
  opacity: 0.9;
}

.pv-photo__inner .pv-cover__rule::before {
  background: #C6A876;
}

.pv-photo__inner .pv-cover__rule span {
  color: #E7D6B6;
  opacity: 1;
}

.pv-photo__inner .pv-cover__lede {
  color: rgba(246, 241, 232, 0.76);
  max-width: 40ch;
}

.pv-photo__inner .pv-btn {
  color: #F7F2E8;
  border-color: rgba(246, 241, 232, 0.34);
}

.pv-photo__inner .pv-btn--solid {
  background: #F0E3CC;
  border-color: #F0E3CC;
  color: #14110E;
}

.pv-photo__inner .pv-btn--solid:hover {
  background: #FBF2E2;
  border-color: #FBF2E2;
  color: #14110E;
}

.pv-photo__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 15px clamp(20px, 4vw, 40px);
  border-top: 1px solid rgba(246, 241, 232, 0.18);
  background: linear-gradient(to top, rgba(10, 8, 7, 0.55), transparent);
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 241, 232, 0.66);
}

.pv-photo__foot b {
  font-weight: 500;
  color: #D8C3A0;
}

.pv-cover--photo .pv-promises {
  background: #14110E;
  border-top: 1px solid rgba(216, 195, 160, 0.16);
}

@media (max-width: 960px) {
  .pv-photo {
    min-height: clamp(440px, 72vh, 620px);
  }
  .pv-photo__inner {
    padding-bottom: clamp(72px, 14vw, 110px);
  }
  .pv-photo__veil {
    background:
      linear-gradient(to top, rgba(10, 8, 7, 0.92) 0%, rgba(10, 8, 7, 0.55) 45%, rgba(10, 8, 7, 0.18) 100%);
  }
}


/* JS 用的隐藏（空分类等） */
[hidden] { display: none !important; }


/* ------------------------------------------------------------
   5. 详情页多图
   ------------------------------------------------------------ */

.pdp-gallery {
  display: block;
}

.pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.pdp-thumb {
  padding: 0;
  margin: 0;
  border: 1px solid #E7DFD2;
  background: #F1E8DF;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  transition: opacity 0.2s ease;
}

.pdp-thumb:hover {
  transform: translateY(-1px);
}

.pdp-thumb:hover img,
.pdp-thumb.is-active img {
  opacity: 1;
}

.pdp-thumb.is-active {
  border-color: #14110E;
}

@media (max-width: 860px) {
  .pdp-thumbs {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
}



/* 首页只剩一个分类卡时铺满整行 */
.categories--single {
  grid-template-columns: 1fr;
}
.categories--single .cat-card {
  max-width: 720px;
}


/* ------------------------------------------------------------
   6. 商品图：占位图与真实图片叠加，图片加载好自然盖住占位图
   ------------------------------------------------------------ */
.card__media,
.pdp__media,
.cart-line__media {
  display: grid;
  position: relative;
}
.card__media > *,
.pdp__media > *,
.cart-line__media > * {
  grid-area: 1 / 1;
  min-width: 0;
}
.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* 图片加载失败时的兜底修复条 */
.imgfix {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #14110E;
  color: #F6F1E8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(20, 17, 14, 0.25);
}
.imgfix button {
  padding: 8px 14px;
  border: 1px solid #D8C3A0;
  background: #D8C3A0;
  color: #14110E;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}
.imgfix button:hover { background: #EBDCC0; }


/* ------------------------------------------------------------
   7. 鞋子专区（/shoes/）
   ------------------------------------------------------------ */
.shoes-teaser {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.shoes-teaser__art {
  background: linear-gradient(150deg, #FBF6EE 0%, #EFE6D8 60%, #E8DCCB 100%);
  border: 1px solid #E7DFD2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.shoes-teaser__art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shoes-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.shoes-chips span {
  border: 1px solid #E7DFD2;
  padding: 9px 14px;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6B6259;
}

@media (max-width: 860px) {
  .shoes-teaser {
    grid-template-columns: 1fr;
  }
  .shoes-teaser__art {
    order: -1;
    aspect-ratio: 16 / 11;
  }
}


/* ------------------------------------------------------------
   8. 预约登记表单
   ------------------------------------------------------------ */
.waitlist {
  margin-top: 30px;
  max-width: 460px;
}

.waitlist__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6259;
  margin-bottom: 10px;
}

.waitlist__row {
  display: flex;
  gap: 8px;
}

.waitlist__row input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid #D9D0C2;
  background: #FFFFFF;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: #14110E;
}

.waitlist__row input:focus {
  outline: none;
  border-color: #14110E;
}

.waitlist__row .btn {
  flex: 0 0 auto;
  padding: 14px 22px;
}

.waitlist__note {
  margin: 12px 0 0;
}

.waitlist__ok {
  margin: 12px 0 0;
  color: #3F6B4A;
}

.waitlist__err {
  margin: 12px 0 0;
  color: #A33A2B;
}

.waitlist.is-done .waitlist__row input {
  opacity: 0.5;
}

@media (max-width: 520px) {
  .waitlist__row {
    flex-direction: column;
  }
  .waitlist__row .btn {
    width: 100%;
  }
}


/* 鞋子页底部的新品通知 */
.shoes-subscribe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid #E7DFD2;
}
.shoes-subscribe .waitlist {
  margin-top: 0;
  max-width: none;
}
@media (max-width: 860px) {
  .shoes-subscribe { grid-template-columns: 1fr; }
}

/* 首页分类卡：用实拍图代替线描 */
.cat-card__media img.cat-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.cat-card:hover .cat-card__media img.cat-card__img {
  transform: scale(1.03);
}

/* ------------------------------------------------------------
   9. 封面右侧商品轮播
   ------------------------------------------------------------ */
.pv-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
}
.pv-slide.is-active {
  opacity: 1;
}
.pv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  background: #F1E8DF;
  display: block;
}

/* 竖排字：压在图片上 */
.pv-cover__spine {
  position: absolute;
  left: 14px;
  bottom: 84px;
  z-index: 2;
  transform: rotate(-90deg);
  transform-origin: left bottom;
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 8px;
  color: #8A6A44;
  opacity: 0.65;
  pointer-events: none;
  white-space: nowrap;
}

/* 轮播上的说明条要点暗一点，保证在照片上可读 */
.pv-cover__art .pv-cover__caption {
  z-index: 3;
  background: linear-gradient(to top, rgba(251, 248, 242, 0.92), rgba(251, 248, 242, 0.55) 60%, transparent);
}

/* 轮播控件层（箭头 + 圆点）：默认隐藏，鼠标移入 / 触屏点按后淡入 */
.pv-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.pv-cover__art:hover .pv-controls,
.pv-carousel.show-controls .pv-controls {
  opacity: 1;
}

/* 左右箭头 */
.pv-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(20, 17, 14, 0.16);
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.92);
  color: #14110E;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}
.pv-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pv-arrow:hover {
  background: #FFFFFF;
}
.pv-arrow--prev { left: 16px; }
.pv-arrow--next { right: 16px; }

/* 圆点 */
.pv-dots {
  position: absolute;
  right: 20px;
  bottom: 62px;
  display: flex;
  gap: 7px;
  pointer-events: auto;
}
.pv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(20, 17, 14, 0.22);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.pv-dot.is-active {
  background: #14110E;
}

@media (max-width: 960px) {
  .pv-cover__spine { display: none; }
  .pv-arrow { width: 34px; height: 34px; }
  .pv-arrow--prev { left: 10px; }
  .pv-arrow--next { right: 10px; }
  .pv-dots { right: 14px; bottom: 58px; }
  .pv-cover__art {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
  .pv-slide img {
    object-fit: contain;
    object-position: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pv-slide { transition: none; }
}


/* ------------------------------------------------------------
   10. 收藏夹
   ------------------------------------------------------------ */

/* 商品卡片右上角的心 */
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.9);
  color: #6B6259;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.wish-btn svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.wish-btn:hover { background: #FFFFFF; transform: scale(1.06); }
.wish-btn.is-on { color: #A33A2B; }
.wish-btn.is-on svg { fill: currentColor; }

/* 详情页的收藏按钮 */
.wish-save { margin-top: 10px; }
.wish-save.is-on { color: #A33A2B; border-color: rgba(163, 58, 43, 0.4); }

/* 右下角悬浮收藏按钮 */
.wish-fab {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 72;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #14110E;
  color: #F6F1E8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(20, 17, 14, 0.28), 0 2px 6px rgba(20, 17, 14, 0.16);
  transition: transform 0.18s ease, background 0.18s ease;
}
.wish-fab:hover { transform: scale(1.06); background: #2A241E; }
.wish-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

.wish-fab__count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: #D8C3A0;
  color: #14110E;
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* 收藏夹页 */
.fav-empty {
  padding: 40px 0 20px;
  text-align: center;
}
.fav-empty p { margin-left: auto; margin-right: auto; }
.fav-empty p[style] { justify-content: center; }


/* ------------------------------------------------------------
   11. 下单表单
   ------------------------------------------------------------ */

.order-form {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--pv-line, #E7DFD2);
  max-width: 640px;
}
.order-form h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.order-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}
.order-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.order-form label .muted { opacity: 0.7; }
.order-form input,
.order-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: #FFFDFA;
  border: 1px solid #DED5C6;
  border-radius: 2px;
}
.order-form input:focus,
.order-form textarea:focus {
  outline: none;
  border-color: #14110E;
}
.order-form textarea { resize: vertical; }
.order-form__err {
  color: #A33A2B;
  font-size: 0.85rem;
  margin: 0 0 12px;
}
.order-form .btn { margin-top: 6px; }

@media (max-width: 640px) {
  .order-form__grid { grid-template-columns: 1fr; }
}

/* 下单成功 */
.order-done {
  text-align: center;
  padding: 56px 0 40px;
}


/* 首页「最新上架」的分类筛选 */
.home-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}


/* 商品卡片上的分类标签 */
.card__cat {
  color: #8A6A44;
  letter-spacing: 0.04em;
}

/* ============================================================
   Shop 列表页 v2 —— 左侧筛选栏 + 密集网格（参考买手店版式）
   ============================================================ */

.shop-head{ padding-top: 26px; }
.shop-head .crumb{
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(20,17,14,.45); margin: 0 0 16px;
}
.shop-head .crumb a{ color: inherit; text-decoration: none; }
.shop-head .crumb a:hover{ color: #14110E; }
.shop-head .crumb span:last-child{ color: #14110E; }
.shop-head h1{
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 400; margin: 0 0 8px;
}
.shop-head__sub{ font-size: .9rem; max-width: 56ch; margin: 0; }

.shop-layout{
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 28px;
  padding-bottom: 80px;
}

/* ---------- 筛选栏 ---------- */
.shop-filters{
  position: sticky;
  top: 18px;
  border-top: 1px solid rgba(20,17,14,.14);
  padding-top: 14px;
}
.shop-filters__head{
  display: flex; align-items: center; justify-content: space-between;
  font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(20,17,14,.5); margin-bottom: 4px;
}
.shop-clear{
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; letter-spacing: .1em; color: #14110E;
  border-bottom: 1px solid currentColor;
}
.filter-group{ border-bottom: 1px solid rgba(20,17,14,.1); }
.filter-group > summary{
  list-style: none; cursor: pointer;
  padding: 16px 0 12px;
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: #14110E; display: flex; align-items: center; justify-content: space-between;
}
.filter-group > summary::-webkit-details-marker{ display: none; }
.filter-group > summary::after{
  content: '+'; font-size: .95rem; color: rgba(20,17,14,.45); line-height: 1;
}
.filter-group[open] > summary::after{ content: '–'; }
.filter-body{ padding: 0 0 14px; }

.filter-row{
  display: flex; align-items: center; gap: 9px;
  padding: 5px 0; cursor: pointer;
  font-size: .86rem; color: rgba(20,17,14,.78);
  transition: color .15s ease;
}
.filter-row:hover{ color: #14110E; }
.filter-row input[type="checkbox"]{
  appearance: none; -webkit-appearance: none;
  width: 13px; height: 13px; flex: 0 0 13px;
  border: 1px solid rgba(20,17,14,.35); background: #fff;
  cursor: pointer; position: relative;
}
.filter-row input[type="checkbox"]:checked{
  background: #14110E; border-color: #14110E;
}
.filter-row input[type="checkbox"]:checked::after{
  content: ''; position: absolute; left: 3px; top: 0px;
  width: 5px; height: 9px;
  border: solid #F7F4EF; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.filter-row .sw{
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid rgba(20,17,14,.18); display: inline-block;
  margin-right: 2px; vertical-align: -2px;
}
.filter-label{ flex: 1 1 auto; }
.filter-count{ font-size: .74rem; color: rgba(20,17,14,.38); }

/* ---------- 工具条 ---------- */
.shop-main{ min-width: 0; }
.shop-toolbar{
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(20,17,14,.12);
}
.chips{ display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.chip-x{
  display: inline-flex; align-items: center; gap: 8px;
  background: none; cursor: pointer;
  border: 1px solid rgba(20,17,14,.2); border-radius: 999px;
  padding: 6px 12px; font: inherit; font-size: .78rem; color: #14110E;
  transition: border-color .15s ease, background .15s ease;
}
.chip-x:hover{ border-color: #14110E; background: rgba(20,17,14,.04); }
.chip-x i{ font-style: normal; color: rgba(20,17,14,.45); }

.shop-sort{ display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.shop-sort > span{
  font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(20,17,14,.5);
}
.shop-sort select{
  font-family: var(--sans); font-size: .84rem; color: #14110E;
  background: #fff; border: 1px solid rgba(20,17,14,.2);
  padding: 7px 26px 7px 10px; cursor: pointer;
}

.shop-count{
  font-size: .74rem; letter-spacing: .04em;
  color: rgba(20,17,14,.45); margin: 14px 0 22px;
}

/* ---------- 网格 ---------- */
.shop-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 18px;
}
@media (max-width: 1180px){ .shop-grid{ grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 820px){
  .shop-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 12px; }
  .shop-layout{ grid-template-columns: 1fr; gap: 8px; padding-top: 18px; }
  .shop-filters{ position: static; }
}

/* 悬停切图 */
.card__alt{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .45s ease;
}
.card:hover .card__alt{ opacity: 1; }

/* 空态 */
.shop-empty{
  border: 1px solid rgba(20,17,14,.12);
  padding: 54px 28px; text-align: center; margin-top: 8px;
}
.shop-empty strong{
  display: block; font-family: var(--serif); font-weight: 400;
  font-size: 1.15rem; margin-bottom: 8px;
}
.shop-empty span{ font-size: .86rem; color: rgba(20,17,14,.6); }

.shop-more{ text-align: center; padding-top: 44px; }
.shop-more .btn{ min-width: 200px; }

/* 筛选栏可滚动（颜色多时不至于太长） */
.filter-body{ max-height: 300px; overflow-y: auto; overflow-x: hidden; }
.filter-body::-webkit-scrollbar{ width: 6px; }
.filter-body::-webkit-scrollbar-thumb{ background: rgba(20,17,14,.18); }

/* 移动端：筛选折叠面板 */
.shop-filter-toggle{ display: none; }

@media (max-width: 820px){
  .shop-filter-toggle{
    display: flex; align-items: center; justify-content: space-between;
    width: auto; margin: 4px 0 10px; padding: 13px 14px;
    background: #fff; border: 1px solid rgba(20,17,14,.18);
    font: inherit; font-size: .72rem; letter-spacing: .16em;
    text-transform: uppercase; color: #14110E; cursor: pointer;
  }
  .shop-filter-toggle i{ font-style: normal; font-size: 1rem; color: rgba(20,17,14,.5); }
  .shop-filters{ display: none; }
  .shop-filters.is-open{ display: block; position: static; border-top: 0; padding-top: 0; }
  .filter-body{ max-height: none; }
  .shop-toolbar{ flex-direction: column; align-items: stretch; gap: 10px; }
  .shop-sort{ justify-content: space-between; }
}

/* 颜色列表滚动区：给点呼吸，避免文字被切半 */
.filter-body{ max-height: 330px; padding-bottom: 6px; }
.filter-body::-webkit-scrollbar-track{ background: transparent; }
.filter-body{ scrollbar-width: thin; }

/* 移动端开关：width:100% 会和 padding 叠加导致右侧图标被裁 */
.shop-filter-toggle{ box-sizing: border-box; min-width: 0; }

/* 没有筛选条件时不占位 */
.chips:empty{ display: none; }

/* ???????? */
.shop-layout.is-empty{ grid-template-columns: 1fr; }


/* ============================================================
   PDP v2 —— 左侧图片马赛克 + 右侧粘性信息（参考买手店详情页）
   ============================================================ */

.pdp{ grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; }
@media (max-width: 980px){ .pdp{ grid-template-columns: 1fr; gap: 22px; } }

.pdp__media{ aspect-ratio: auto; overflow: visible; background: none; }

.pdp-mosaic{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.pdp-mosaic.is-single{ grid-template-columns: 1fr; }
.pdp-shot{
  display: block; padding: 0; border: 0; cursor: zoom-in;
  background: #F1E8DF; overflow: hidden; line-height: 0;
}
.pdp-shot img{
  width: 100%; height: 100%; display: block;
  aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .6s ease;
}
.pdp-shot:hover img{ transform: scale(1.03); }

@media (max-width: 640px){
  .pdp-mosaic{
    display: flex; gap: 8px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  }
  .pdp-mosaic::-webkit-scrollbar{ display: none; }
  .pdp-shot{ flex: 0 0 86%; scroll-snap-align: center; }
}

.pdp__info{ position: sticky; top: 24px; }
@media (max-width: 980px){ .pdp__info{ position: static; } }

.pdp__title-row{ display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pdp__title-row h1{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0 0 4px; line-height: 1.15;
}
.pdp__price{ font-size: 1.05rem; margin: 2px 0 16px; }
.pdp__short{ color: rgba(20,17,14,.62); font-size: .94rem; margin: 0 0 8px; max-width: 46ch; }

.opt{ padding: 16px 0; border-top: 1px solid rgba(20,17,14,.1); }
.opt__head{
  display: flex; align-items: center; justify-content: space-between;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(20,17,14,.55); margin-bottom: 11px;
}
.opt__value{ color: #14110E; letter-spacing: .04em; text-transform: none; font-size: .82rem; }

.swatches{ display: flex; gap: 10px; flex-wrap: wrap; }
.swatch{
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(20,17,14,.2); cursor: pointer; padding: 0;
  transition: box-shadow .15s ease;
}
.swatch[aria-pressed="true"]{ box-shadow: 0 0 0 2px #F7F4EF inset, 0 0 0 3px #14110E; }

.sizes{ display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn{
  min-width: 54px; padding: 10px 12px;
  border: 1px solid rgba(20,17,14,.2); background: #fff;
  font: inherit; font-size: .86rem; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.size-btn:hover{ border-color: #14110E; }
.size-btn[aria-pressed="true"]{ background: #14110E; color: #F7F4EF; border-color: #14110E; }

.pdp-add{ margin-top: 22px; }
.pdp-wa{ margin-top: 10px; }
.pdp-note{ font-size: .78rem; color: rgba(20,17,14,.5); margin: 14px 0 0; line-height: 1.5; }
.pdp-note strong{ font-weight: 400; color: #14110E; }

.wish-btn--pdp{ margin-top: 4px; }

/* 尺码表弹窗 */
.modal{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,17,14,.55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal__panel{
  position: relative; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto;
  background: #F7F4EF; padding: 34px 30px 26px;
}
.modal__panel h2{ font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 8px; }
.modal__close{
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  background: none; border: 0; cursor: pointer; padding: 6px;
}
.modal__close svg{ width: 18px; height: 18px; fill: none; stroke: #14110E; stroke-width: 1.5; }
.size-table{ width: 100%; border-collapse: collapse; font-size: .86rem; }
.size-table th, .size-table td{ text-align: left; padding: 9px 6px; border-bottom: 1px solid rgba(20,17,14,.1); }
.size-table th{
  font-weight: 400; font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(20,17,14,.5);
}
.modal__foot{ font-size: .8rem; color: rgba(20,17,14,.55); margin: 16px 0 0; }

/* 灯箱 */
.lightbox{
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,13,11,.94);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img{ max-width: 92vw; max-height: 88vh; object-fit: contain; display: block; }
.lb-btn{ position: absolute; background: none; border: 0; cursor: pointer; padding: 12px; line-height: 0; }
.lb-btn svg{ width: 26px; height: 26px; fill: none; stroke: #F7F4EF; stroke-width: 1.4; }
.lb-close{ top: 14px; right: 14px; }
.lb-prev{ left: 10px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 10px; top: 50%; transform: translateY(-50%); }
.lb-count{
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #F7F4EF; font-size: .76rem; letter-spacing: .12em;
}

/* ============================================================
   导航二级菜单（megamenu）
   ============================================================ */

.nav{ position: relative; }
.nav-link.has-mega{ display: inline-block; }


.mega{
  position: absolute; top: calc(100% + 12px); right: 0;
  transform: translateY(8px);
  width: min(720px, 88vw);
  background: #FBF8F3;
  border: 1px solid rgba(20,17,14,.1);
  box-shadow: 0 24px 48px -24px rgba(20,17,14,.28);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 190px;
  gap: 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 90;
}
.mega.is-open{
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.mega__col{ display: flex; flex-direction: column; gap: 2px; }
.mega__title{
  margin: 0 0 10px;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(20,17,14,.45);
}
.mega__col a{
  display: flex; align-items: center; gap: 9px;
  padding: 7px 0; font-size: .88rem; color: rgba(20,17,14,.8);
  text-decoration: none; transition: color .15s ease;
}
.mega__col a:hover{ color: #14110E; }
.mega__sw{
  width: 13px; height: 13px; border-radius: 50%; flex: 0 0 13px;
  border: 1px solid rgba(20,17,14,.18);
}
.mega__promo{
  display: block; text-decoration: none; position: relative;
  background: #F1E8DF; overflow: hidden;
}
.mega__promo img{
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.mega__promo:hover img{ transform: scale(1.04); }
.mega__promo span{
  position: absolute; left: 10px; bottom: 10px;
  background: #F7F4EF; color: #14110E;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 9px;
}

/* 移动端：菜单展开时二级项直接铺开 */
@media (max-width: 900px){
  .mega{
    position: static; transform: none; width: 100%;
    grid-template-columns: 1fr 1fr; gap: 16px;
    box-shadow: none; border: 0; border-top: 1px solid rgba(20,17,14,.1);
    padding: 16px 0 8px; background: transparent;
    display: none; opacity: 1; visibility: visible; pointer-events: auto;
  }
  .mega.is-open{ display: grid; }
  .mega__promo{ display: none; }
}

/* ============================================================
   Home v2 - editorial banner + horizontal product rails
   ============================================================ */

.pv-edit{
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
  background: #F1E8DF;
}
.pv-edit__media{ overflow: hidden; }
.pv-edit{ align-items: center; }
.pv-edit__media img{
  width: 100%; height: auto; aspect-ratio: 5 / 4;
  object-fit: cover; display: block;
}
.pv-edit__copy{ padding: clamp(26px, 4vw, 60px); align-self: center; }
.pv-edit__copy h2{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  margin: 8px 0 14px; line-height: 1.15;
}
.pv-edit__text{
  color: rgba(20,17,14,.62); font-size: .95rem;
  line-height: 1.65; max-width: 44ch; margin: 0 0 24px;
}
@media (max-width: 860px){
  .pv-edit{ grid-template-columns: 1fr; }
  .pv-edit__media img{ max-height: 380px; }
}

.rail-nav{ display: flex; gap: 8px; }
.rail-btn{
  width: 38px; height: 38px; padding: 0;
  border: 1px solid rgba(20,17,14,.2); background: transparent;
  color: #14110E; font-size: 1.2rem; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rail-btn:hover{ background: #14110E; color: #F7F4EF; border-color: #14110E; }

.rail{
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: thin;
}
.rail > *{ scroll-snap-align: start; }
.rail::-webkit-scrollbar{ height: 5px; }
.rail::-webkit-scrollbar-thumb{ background: rgba(20,17,14,.22); }
.rail::-webkit-scrollbar-track{ background: transparent; }
@media (max-width: 720px){
  .rail{ grid-auto-columns: 66%; gap: 12px; }
}

/* 图库超过 8 张时，最后一张盖一层 +N */
.pdp-shot{ position: relative; }
.pdp-shot.has-more img{ filter: brightness(.72); }
.pdp-shot__more{
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-family: var(--sans); font-size: .9rem; letter-spacing: .08em;
  color: #F7F4EF; text-transform: uppercase; pointer-events: none;
}

/* 商品名过长时卡片上最多两行 */
.card__name{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}

/* ============================================================
   PDP 图库：左侧竖排缩略图 + 右侧大图 + 左右箭头
   ============================================================ */

.pdp-gallery{ display: flex; gap: 14px; align-items: flex-start; }

.pdp-rail{
  flex: 0 0 76px; width: 76px;
  display: flex; flex-direction: column; gap: 8px;
  max-height: 620px; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; padding-right: 2px;
}
.pdp-rail::-webkit-scrollbar{ width: 4px; }
.pdp-rail::-webkit-scrollbar-thumb{ background: rgba(20,17,14,.18); }

.pdp-thumb{
  flex: 0 0 auto; padding: 0; margin: 0;
  border: 1px solid #E4DED1; background: #F1E8DF;
  cursor: pointer; line-height: 0; overflow: hidden;
  transition: border-color .15s ease;
}
.pdp-thumb img{
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; display: block; opacity: .78;
  transition: opacity .2s ease;
}
.pdp-thumb:hover img{ opacity: 1; }
.pdp-thumb[aria-pressed="true"]{ border-color: #14110E; }
.pdp-thumb[aria-pressed="true"] img{ opacity: 1; }

.pdp-main{ position: relative; flex: 1 1 auto; min-width: 0; }
.pdp-main__img{
  width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; display: block;
  background: #F1E8DF; cursor: zoom-in;
}

.pdp-arrow{
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
  z-index: 2;
}
.pdp-arrow:hover{ background: #fff; }
.pdp-arrow svg{ width: 20px; height: 20px; fill: none; stroke: #14110E; stroke-width: 1.6; }
.pdp-arrow--prev{ left: 12px; }
.pdp-arrow--next{ right: 12px; }

.pdp-count{
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(20,17,14,.62); color: #F7F4EF;
  font-size: .68rem; letter-spacing: .08em; padding: 4px 9px;
}

@media (max-width: 820px){
  .pdp-gallery{ flex-direction: column-reverse; gap: 10px; }
  .pdp-rail{
    flex-direction: row; width: 100%; max-height: none;
    overflow-x: auto; overflow-y: hidden; gap: 8px;
  }
  .pdp-thumb{ flex: 0 0 64px; width: 64px; }
  .pdp-arrow{ width: 38px; height: 38px; }
}

/* 卡片上的品牌行 */
.card__brand{
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(20,17,14,.55);
  margin-bottom: 2px;
}

/* 详情页：商品名上方的品牌行 */
.pdp__brand{
  margin: 2px 0 8px;
  font-family: var(--sans);
  font-size: .98rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #14110E;
}

/* ============================================================
   Filter polish - 更精致的筛选栏
   ============================================================ */

.shop-filters{ border-top: 0; padding-top: 0; }

.shop-filters__head{
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 0 12px; margin-bottom: 2px;
  border-bottom: 1px solid rgba(20,17,14,.14);
}
.shop-filters__label{
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: #14110E;
}
.shop-filters__label em{
  font-style: normal;
  min-width: 17px; height: 17px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #14110E; color: #F7F4EF;
  font-size: .62rem; letter-spacing: 0; border-radius: 999px;
}
.shop-filters__label em:empty{ display: none; }

.shop-clear{
  font-size: .68rem; letter-spacing: .04em; text-transform: none;
  color: rgba(20,17,14,.62);
  border-bottom: 1px solid rgba(20,17,14,.28);
  padding-bottom: 1px;
}
.shop-clear:hover{ color: #14110E; border-color: #14110E; }

.filter-group{ border-bottom: 1px solid rgba(20,17,14,.08); }
.filter-group > summary{
  padding: 17px 0 13px;
  font-size: .67rem; letter-spacing: .18em; color: #14110E;
  transition: color .15s ease;
}
.filter-group > summary:hover{ color: #000; }
.filter-group > summary::after{
  content: ''; width: 8px; height: 8px;
  border-right: 1.4px solid rgba(20,17,14,.4);
  border-bottom: 1.4px solid rgba(20,17,14,.4);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease, border-color .2s ease;
}
.filter-group[open] > summary::after{
  transform: rotate(-135deg) translateY(-2px);
  border-color: rgba(20,17,14,.7);
}

.filter-body{ padding: 1px 0 14px; }

.filter-row{
  padding: 7px 7px; margin: 0 -7px;
  border-radius: 3px;
  font-size: .86rem; color: rgba(20,17,14,.72);
  transition: background .14s ease, color .14s ease;
}
.filter-row:hover{ background: rgba(20,17,14,.035); color: #14110E; }
.filter-row.is-on{ color: #14110E; }

.filter-row input[type="checkbox"]{
  width: 15px; height: 15px; flex: 0 0 15px;
  border: 1px solid rgba(20,17,14,.26); background: #fff;
  transition: border-color .14s ease, background .14s ease;
}
.filter-row:hover input[type="checkbox"]{ border-color: rgba(20,17,14,.6); }
.filter-row input[type="checkbox"]:checked{
  background: #14110E; border-color: #14110E;
}
.filter-row input[type="checkbox"]:checked::after{
  left: 4px; top: 1px; width: 5px; height: 9px;
  border-width: 0 1.6px 1.6px 0;
}

.filter-row .sw{
  width: 15px; height: 15px;
  border: 1px solid rgba(20,17,14,.16);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.filter-count{
  font-size: .73rem; color: rgba(20,17,14,.34);
  font-variant-numeric: tabular-nums;
  min-width: 18px; text-align: right;
}

/* 价格档位稍微收紧一点 */
.filter-group:last-child .filter-row{ letter-spacing: .01em; }

/* 没有价格的商品显示 Enquire */
.card__price--ask{
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(20,17,14,.55);
}

/* 商品不存在 / 已下架 */
.pdp-empty{
  padding: 64px 8px 72px;
  max-width: 560px;
  border-top: 1px solid rgba(20,17,14,.12);
}
.pdp-empty h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 8px 0 12px;
  line-height: 1.2;
}
.pdp-empty .muted{ line-height: 1.7; }
.pdp-empty a{ color: #14110E; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 购物车图标 + 语言选择 ---------- */
.cart-link{
  display: inline-flex; align-items: center; gap: 4px;
  position: relative; text-decoration: none;
}
.cart-ico{
  width: 21px; height: 21px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linejoin: round; stroke-linecap: round;
}
.cart-count{
  position: absolute; top: -7px; right: -9px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #14110E; color: #F7F4EF;
  font-size: .58rem; line-height: 1; border-radius: 999px;
}
.cart-count[data-empty="1"]{ display: none; }
.sr-only{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.lang{
  font-family: var(--sans); font-size: .72rem; letter-spacing: .06em;
  color: #14110E; background: #fff;
  border: 1px solid rgba(20,17,14,.2);
  padding: 5px 4px; cursor: pointer;
}
.lang:hover{ border-color: #14110E; }

/* ---------- 头部控件组（货币 / 语言 / 购物袋）美化 ---------- */
.tools{
  display: flex;
  align-items: center;
  gap: 6px;
}
.tools .currency,
.tools .lang{
  appearance: none; -webkit-appearance: none;
  height: 30px;
  padding: 0 24px 0 9px;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(20,17,14,.75);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%2314110E' stroke-width='1.1' stroke-linecap='round'/></svg>") no-repeat right 8px center;
  border: 1px solid rgba(20,17,14,.16);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.tools .currency:hover,
.tools .lang:hover{
  border-color: rgba(20,17,14,.55);
  color: #14110E;
  background-color: #FBF9F6;
}
.tools .currency:focus,
.tools .lang:focus{
  outline: none;
  border-color: #14110E;
  box-shadow: 0 0 0 2px rgba(20,17,14,.08);
}
.tools .cart-link{
  margin-left: 2px;
  padding: 3px 2px 3px 4px;
  color: #14110E;
  transition: opacity .16s ease;
}
.tools .cart-link:hover{ opacity: .62; }
.tools .cart-ico{ width: 20px; height: 20px; }

@media (max-width: 720px){
  .tools{ gap: 4px; }
  .tools .currency,
  .tools .lang{ height: 28px; font-size: .62rem; padding-right: 20px; }
  .tools .cart-ico{ width: 19px; height: 19px; }
}
