/* DIYMANSHOES — refined dark luxury, editorial-couture direction
   Fonts: Cormorant Garamond (display serif) + Jost (geometric sans) */
:root {
  --bg: #131311;
  --bg-soft: #1b1a17;
  --card: #201f1b;
  --line: #33312a;
  --line-bright: #4a463a;
  --text: #f1eee6;
  --text-dim: #a8a396;
  --text-faint: #6e6a5e;
  --gold: #c2a063;
  --gold-bright: #e0c58a;
  --gold-dim: #8a744a;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  letter-spacing: .02em;
  overflow-x: hidden;
}
/* film grain overlay */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
a { color: var(--text); text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #131311; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(19,19,17,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 36px;
}
.logo {
  font-family: var(--serif);
  font-size: 23px; letter-spacing: .22em; font-weight: 500;
  color: var(--text); white-space: nowrap;
}
.logo em { color: var(--gold); font-style: normal; }
.logo .diy-tag {
  display: block; font-family: var(--sans); font-size: 8.5px;
  letter-spacing: .5em; color: var(--text-faint); margin-top: 2px;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-dim); position: relative; padding: 4px 0; font-weight: 400;
}
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-cta {
  border: 1px solid var(--gold); padding: 10px 24px !important;
  color: var(--gold-bright) !important; transition: all .3s var(--ease);
}
.nav-cta:hover { background: var(--gold); color: #131311 !important; }
.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 22px; cursor: pointer; }

/* ---------- sections ---------- */
.section { max-width: 1320px; margin: 0 auto; padding: 90px 36px; }
.section-eyebrow {
  font-size: 10.5px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--gold); text-align: center; margin-bottom: 20px;
}
.section-title {
  font-family: var(--serif);
  font-size: 40px; font-weight: 400; letter-spacing: .04em;
  text-align: center; line-height: 1.25;
}
.section-title em { font-style: italic; color: var(--gold-bright); }
.section-sub { text-align: center; color: var(--text-dim); margin: 18px auto 56px; font-size: 14.5px; max-width: 620px; font-weight: 300; }
/* 锚点跳转不被 sticky header 遮挡 */
.section[id], div[id="order"] { scroll-margin-top: 96px; }
.divider {
  width: 52px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 24px auto 0;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, #26241e 0%, var(--bg) 55%);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../assets/products/02739-18_DSC_2878.jpg') right 8% center/38% auto no-repeat;
  opacity: .16; filter: grayscale(.5) contrast(1.05);
}
.hero-frame {
  position: absolute; inset: 5.5%; border: 1px solid var(--line);
  pointer-events: none;
}
.hero-frame::before {
  content: 'EST. 2010 — GUANGZHOU ATELIER';
  position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
  background: var(--bg); padding: 0 16px;
  font-size: 9px; letter-spacing: .42em; color: var(--text-faint);
}
.hero-inner { position: relative; max-width: 760px; padding: 60px 36px; }
.hero-kicker {
  font-size: 11px; letter-spacing: .55em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  animation: riseIn .9s var(--ease) both;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 6.4vw, 78px);
  font-weight: 300; line-height: 1.08; letter-spacing: .01em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; animation: riseIn 1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .15s; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero p {
  color: var(--text-dim); margin: 30px 0 42px; font-size: 16.5px;
  font-weight: 300; max-width: 540px; line-height: 1.9;
  animation: riseIn 1s .3s var(--ease) both;
}
.hero p strong { color: var(--text); font-weight: 400; }
.btn-group { display: flex; gap: 18px; flex-wrap: wrap; animation: riseIn 1s .45s var(--ease) both; }
.btn {
  display: inline-block; padding: 16px 40px;
  letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-weight: 400;
  border: 1px solid var(--gold); position: relative; overflow: hidden;
  transition: color .35s var(--ease);
  background: transparent; cursor: pointer;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); z-index: 1;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: #131311; }
.btn-solid::before { transform: scaleX(1); }
.btn-solid { color: #131311; }
.btn-solid:hover::before { transform: scaleX(0); }
.btn-solid:hover { color: var(--gold-bright); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  font-size: 9.5px; letter-spacing: .4em; color: var(--text-faint); text-transform: uppercase;
  animation: fadePulse 2.6s ease-in-out infinite;
}
@keyframes riseIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes fadePulse { 0%,100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- marquee strip ---------- */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 14px 0; background: var(--bg-soft);
}
.marquee-track { display: flex; gap: 64px; white-space: nowrap; animation: scroll 30s linear infinite; width: max-content; }
.marquee-track span {
  font-family: var(--serif); font-style: italic; font-size: 15px;
  color: var(--text-faint); letter-spacing: .1em;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.step {
  text-align: center; padding: 44px 26px;
  background: var(--bg-soft); border: 1px solid var(--line);
  position: relative; transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.step:hover { border-color: var(--gold-dim); transform: translateY(-5px); }
.step-num {
  font-family: var(--serif); font-size: 52px; font-weight: 300;
  color: transparent; -webkit-text-stroke: 1px var(--gold-dim);
  display: block; margin-bottom: 14px; line-height: 1;
}
.step h3 { font-family: var(--serif); font-weight: 400; margin-bottom: 10px; font-size: 21px; letter-spacing: .03em; }
.step p { color: var(--text-dim); font-size: 13.5px; font-weight: 300; }
.step-corner {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--gold); border-style: solid; border-width: 0;
  transition: all .35s var(--ease);
}
.step-corner.tl { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.step-corner.br { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.step:hover .step-corner.tl { top: 6px; left: 6px; }
.step:hover .step-corner.br { bottom: 6px; right: 6px; }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  position: relative; transition: border-color .4s var(--ease), transform .4s var(--ease);
  display: block;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-6px); }
.card-imgwrap { overflow: hidden; position: relative; aspect-ratio: 1; background: #f4f2ec; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: #131311; background: var(--gold); padding: 5px 12px;
}
.card-body { padding: 22px 24px 26px; }
.card-body h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; letter-spacing: .03em; line-height: 1.35; }
.card-body .price { color: var(--gold-bright); margin: 10px 0 12px; font-size: 17px; font-weight: 400; }
.card-body .from { color: var(--text-faint); font-size: 12.5px; letter-spacing: .06em; }
.card-more {
  margin-top: 16px; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 10px;
}
.card-more::after { content: '→'; transition: transform .3s var(--ease); }
.card:hover .card-more::after { transform: translateX(6px); }

/* ---------- customizer ---------- */
.customizer-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.preview-panel { position: sticky; top: 100px; }
.preview-box {
  background: #f4f2ec; position: relative;
  aspect-ratio: 1; overflow: hidden;
}
.preview-box::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(19,19,17,.08);
  pointer-events: none;
}
.preview-box img { width: 100%; height: 100%; object-fit: contain; transition: opacity .4s var(--ease); }
.preview-box img.switching { opacity: 0; }
.preview-caption {
  margin-top: 12px; display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint);
}
.price-bar {
  margin-top: 16px; padding: 22px 26px;
  background: linear-gradient(135deg, #201e18, #1b1a17);
  border: 1px solid var(--line-bright);
  display: flex; justify-content: space-between; align-items: baseline;
}
.price-bar .total { font-family: var(--serif); font-size: 34px; color: var(--gold-bright); font-weight: 400; }
.price-bar .total small { font-size: 13px; color: var(--text-faint); font-family: var(--sans); letter-spacing: .08em; }
.price-bar .lbl { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--text-dim); }

.opt-group { margin-bottom: 34px; }
.opt-label {
  font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: baseline;
}
.opt-label .upcharge { color: var(--gold); letter-spacing: .1em; font-size: 10px; }
.opt-row { display: flex; flex-wrap: wrap; gap: 10px; }
.opt-btn {
  padding: 11px 20px; background: transparent;
  border: 1px solid var(--line-bright); color: var(--text-dim);
  cursor: pointer; font-size: 12.5px; letter-spacing: .07em; font-family: var(--sans); font-weight: 300;
  transition: all .3s var(--ease); position: relative;
}
.opt-btn:hover { border-color: var(--gold); color: var(--text); }
.opt-btn.active { border-color: var(--gold); color: #131311; background: var(--gold); font-weight: 400; }
.opt-btn.swatch {
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line-bright); position: relative;
}
.opt-btn.swatch::after {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); transition: all .3s var(--ease);
}
.opt-btn.swatch.active { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(194,160,99,.35); }
.opt-btn.swatch.active::after { border-color: rgba(19,19,17,.4); }
.opt-input {
  width: 100%; padding: 13px 16px; background: var(--bg-soft);
  border: 1px solid var(--line-bright); color: var(--text); font-size: 13.5px;
  font-family: var(--sans); font-weight: 300; letter-spacing: .04em;
  transition: border-color .3s var(--ease);
}
.opt-input:focus { outline: none; border-color: var(--gold); }
.note { font-size: 12px; color: var(--text-faint); margin-top: 10px; font-weight: 300; }

/* ---------- order form ---------- */
.order-form { background: var(--bg-soft); border: 1px solid var(--line-bright); padding: 36px; position: relative; }
.order-form::before {
  content: ''; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.order-form label {
  display: block; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-faint); margin: 20px 0 8px;
}
.order-form input, .order-form textarea {
  width: 100%; padding: 13px 16px; background: var(--bg);
  border: 1px solid var(--line-bright); color: var(--text);
  font-size: 13.5px; font-family: var(--sans); font-weight: 300;
  transition: border-color .3s var(--ease);
}
.order-form input:focus, .order-form textarea:focus { outline: none; border-color: var(--gold); }
.order-summary { margin: 26px 0; padding: 20px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; }
.order-summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-weight: 300; }
.order-summary .row.total {
  border-top: 1px solid var(--line-bright); margin-top: 10px; padding-top: 14px;
  font-family: var(--serif); font-size: 20px; color: var(--gold-bright);
}
.order-form .btn { width: 100%; cursor: pointer; font-family: var(--sans); }

/* ---------- table ---------- */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; font-weight: 300; }
.tbl th { color: var(--gold); font-weight: 400; letter-spacing: .22em; text-transform: uppercase; font-size: 10.5px; }
.tbl tr { transition: background .3s; }
.tbl tr:hover td { background: var(--bg-soft); }

/* ---------- faq ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 24px 6px; }
.faq-item h3 {
  font-family: var(--serif); font-weight: 400; font-size: 19px;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  letter-spacing: .02em;
}
.faq-item p { color: var(--text-dim); display: none; margin-top: 12px; font-weight: 300; font-size: 14px; max-width: 780px; }
.faq-item.open p { display: block; animation: riseIn .5s var(--ease) both; }
.faq-item h3 .mark { color: var(--gold); font-size: 24px; font-weight: 300; transition: transform .35s var(--ease); }
.faq-item.open h3 .mark { transform: rotate(45deg); }

/* ---------- story ---------- */
.story-quote {
  font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.6;
  color: var(--gold-bright); text-align: center; max-width: 720px; margin: 0 auto;
}
.story-quote::before { content: '\201C'; display: block; font-size: 60px; color: var(--gold-dim); height: 40px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); margin-top: 100px; padding: 64px 36px 44px; background: var(--bg-soft); }
.footer-grid {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-grid h4 { font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; font-weight: 400; }
.footer-grid a, .footer-grid p { display: block; color: var(--text-dim); font-size: 13px; margin-bottom: 10px; font-weight: 300; }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-bottom {
  max-width: 1320px; margin: 44px auto 0; padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-faint); font-size: 11.5px; text-align: center; letter-spacing: .1em;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 24px 36px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-btn { display: block; }
  .hero { min-height: 78vh; }
  .hero-bg { right: -30%; opacity: .1; }
  .customizer-wrap { grid-template-columns: 1fr; }
  .preview-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 24px; }
  .section-title { font-size: 32px; }
  .cat-tiles { grid-template-columns: 1fr; }
  .pdp-wrap { grid-template-columns: 1fr; }
  .pdp-info { padding-left: 0; border-left: none; padding-top: 40px; }
  /* 移动端下拉导航改为内联平铺，保证分类入口可达 */
  .nav .nav-links .nav-drop .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: transparent; min-width: 0;
    padding: 0 0 0 18px; display: block;
  }
  .nav .nav-links .nav-drop .dropdown a { padding: 8px 18px; font-size: 11px; color: var(--text-dim); }
  .nav .nav-links .nav-drop .dropdown a:hover { padding-left: 18px; color: var(--gold-bright); }
  .nav-drop { display: block; }
  .announce { font-size: 9.5px; letter-spacing: .12em; }
  .craft-grid { grid-template-columns: 1fr; }
  .craft-grid.flip .craft-media { order: 0; }
}

/* ---------- 小屏补丁 ---------- */
@media (max-width: 640px) {
  .section { padding: 52px 20px; }
  .crumbs { padding: 16px 20px 0; }
  .pdp-wrap { padding: 30px 20px 56px; gap: 36px; }
  .pdp-name { font-size: 28px; }
  .pdp-cta .btn { flex: 1; text-align: center; }
  .newsletter form { flex-direction: column; border: none; gap: 10px; }
  .newsletter input { border: 1px solid var(--line-bright); }
  .newsletter button { padding: 14px 0; }
  .tbl { display: block; overflow-x: auto; }
  .btn { padding: 14px 26px; }
  .order-form { padding: 24px; }
}

/* =========================================================
   v2 新增 — 男士系列信息架构（公告条 / 下拉 / 分类 / 详情页）
   ========================================================= */

/* ---------- 公告条 ---------- */
.announce {
  background: var(--gold); color: #131311;
  text-align: center; padding: 8px 16px;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 400;
  transition: margin-top .4s var(--ease), opacity .4s var(--ease);
}
.announce.hide { margin-top: -64px; opacity: 0; }

/* ---------- 男士下拉导航 ---------- */
.nav-drop { position: relative; }
.nav-drop > a { cursor: default; }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -20px;
  background: var(--bg-soft); border: 1px solid var(--line-bright);
  min-width: 210px; padding: 12px 0; z-index: 120;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  box-shadow: 0 22px 44px rgba(0,0,0,.45);
}
.dropdown::before {
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-drop:hover .dropdown, .nav-drop:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.dropdown a {
  display: block; padding: 10px 26px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap;
}
.dropdown a:hover { background: var(--bg); color: var(--gold-bright); padding-left: 32px; }
.dropdown a::after { display: none !important; }

/* ---------- 分类磁贴（Men 系列） ---------- */
.cat-tiles {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px;
}
.cat-tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border: 1px solid var(--line);
}
.cat-tile img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.35) contrast(1.02);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.cat-tile:hover img { transform: scale(1.07); filter: grayscale(0); }
.cat-tile-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 28px;
  background: linear-gradient(180deg, transparent 40%, rgba(12,12,10,.82));
}
.cat-tile-overlay .cat-name {
  font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: .04em;
  color: var(--text); line-height: 1.2;
}
.cat-tile-overlay .cat-count {
  font-size: 10px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 8px;
}
.cat-tile-overlay .cat-cta {
  margin-top: 14px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--text-dim); display: flex; align-items: center; gap: 10px;
  transition: color .3s;
}
.cat-tile-overlay .cat-cta::after { content: '→'; transition: transform .3s var(--ease); }
.cat-tile:hover .cat-cta { color: var(--gold-bright); }
.cat-tile:hover .cat-cta::after { transform: translateX(6px); }

/* ---------- 面包屑 ---------- */
.crumbs {
  max-width: 1320px; margin: 0 auto; padding: 22px 36px 0;
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-faint);
}
.crumbs a { color: var(--text-faint); transition: color .3s; }
.crumbs a:hover { color: var(--gold-bright); }
.crumbs .sep { margin: 0 10px; color: var(--gold-dim); }

/* ---------- 筛选条 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; margin: 0 auto 46px;
}
.filter-chip {
  padding: 9px 22px; background: transparent; cursor: pointer;
  border: 1px solid var(--line-bright); color: var(--text-dim);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 300;
  transition: all .3s var(--ease);
}
.filter-chip:hover { border-color: var(--gold); color: var(--text); }
.filter-chip.active { border-color: var(--gold); background: var(--gold); color: #131311; font-weight: 400; }
.filter-count {
  text-align: center; color: var(--text-faint); font-size: 11px;
  letter-spacing: .24em; text-transform: uppercase; margin: -28px auto 40px;
}

/* ---------- 产品详情页 ---------- */
.pdp-wrap {
  display: grid; grid-template-columns: 6fr 5fr; gap: 64px;
  max-width: 1200px; margin: 0 auto; padding: 56px 36px 90px; align-items: start;
}
.pdp-gallery { position: sticky; top: 110px; }
.pdp-main {
  background: #f4f2ec; aspect-ratio: 1; overflow: hidden; position: relative; border: 1px solid var(--line);
}
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease); }
.pdp-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pdp-thumb {
  width: 64px; height: 64px; border: 1px solid var(--line-bright); cursor: pointer;
  background: #f4f2ec; padding: 0; overflow: hidden; position: relative;
  transition: border-color .3s var(--ease);
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(194,160,99,.3); }
.pdp-thumb .dot {
  position: absolute; bottom: 4px; right: 4px; width: 12px; height: 12px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.6);
}
.pdp-info { border-left: 1px solid var(--line); padding-left: 56px; }
.pdp-cat { font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pdp-name { font-family: var(--serif); font-size: 38px; font-weight: 400; line-height: 1.15; letter-spacing: .02em; margin-bottom: 14px; }
.pdp-tagline { color: var(--text-dim); font-size: 15px; font-weight: 300; margin-bottom: 22px; line-height: 1.8; }
.pdp-price { font-family: var(--serif); font-size: 30px; color: var(--gold-bright); margin-bottom: 4px; }
.pdp-price-note { font-size: 11px; color: var(--text-faint); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; }
.pdp-label {
  font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--text-faint); margin: 26px 0 12px; display: flex; justify-content: space-between; align-items: baseline;
}
.pdp-label .val { color: var(--gold-bright); letter-spacing: .14em; }
.pdp-swatches { display: flex; gap: 12px; flex-wrap: wrap; }
.pdp-swatch {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-bright); position: relative;
  transition: all .3s var(--ease);
}
.pdp-swatch.active { border-color: var(--gold-bright); box-shadow: 0 0 0 3px rgba(194,160,99,.35); }
.pdp-cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.pdp-specs { margin-top: 40px; border-top: 1px solid var(--line); }
.pdp-specs .row { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pdp-specs .row span:first-child { color: var(--text-faint); letter-spacing: .1em; text-transform: uppercase; font-size: 10.5px; padding-top: 2px; white-space: nowrap; }
.pdp-specs .row span:last-child { color: var(--text-dim); text-align: right; font-weight: 300; }

/* ---------- 工艺页 ---------- */
.craft-hero {
  position: relative; padding: 120px 36px 90px; text-align: center; overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, #26241e 0%, var(--bg) 60%);
}
.craft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 40px; }
.craft-grid.flip .craft-media { order: 2; }
.craft-media { position: relative; border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4 / 3; background: #f4f2ec; }
.craft-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25); transition: filter .6s var(--ease), transform .8s var(--ease); }
.craft-block:hover .craft-media img { filter: none; transform: scale(1.04); }
.craft-body h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 16px; letter-spacing: .02em; }
.craft-body h3 em { font-style: italic; color: var(--gold-bright); }
.craft-body p { color: var(--text-dim); font-size: 14.5px; font-weight: 300; line-height: 1.9; margin-bottom: 14px; }
.craft-body .eyebrow { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }

/* ---------- 订阅区 ---------- */
.newsletter {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-soft); padding: 74px 36px; text-align: center;
}
.newsletter h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-bottom: 12px; }
.newsletter h3 em { font-style: italic; color: var(--gold-bright); }
.newsletter p { color: var(--text-dim); font-size: 13.5px; margin-bottom: 28px; }
.newsletter form { display: flex; max-width: 460px; margin: 0 auto; border: 1px solid var(--line-bright); }
.newsletter input {
  flex: 1; background: var(--bg); border: none; padding: 15px 20px;
  color: var(--text); font-size: 13px; font-family: var(--sans); font-weight: 300; letter-spacing: .04em;
}
.newsletter input:focus { outline: none; }
.newsletter button {
  background: var(--gold); color: #131311; border: none; padding: 0 30px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; cursor: pointer;
  font-family: var(--sans); font-weight: 500; transition: background .3s var(--ease);
}
.newsletter button:hover { background: var(--gold-bright); }
.newsletter .nl-msg { margin-top: 14px; font-size: 12px; color: var(--gold-bright); min-height: 18px; }

/* ---------- 付款方式条 ---------- */
.pay-strip {
  display: flex; justify-content: center; gap: 34px; flex-wrap: wrap;
  padding: 26px 36px; border-bottom: 1px solid var(--line);
  color: var(--text-faint); font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
}

/* ---------- 详情页相关推荐 ---------- */
.related-title {
  font-family: var(--serif); font-size: 26px; font-weight: 400; text-align: center; margin-bottom: 8px;
}
.related-title em { font-style: italic; color: var(--gold-bright); }

/* ---------- 皮革库 ---------- */
.dropdown-tall { max-height: 60vh; overflow-y: auto; }
.leather-group-title {
  font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: .04em;
  margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.leather-group-title span { font-family: var(--sans); font-size: 12px; color: var(--text-faint); letter-spacing: .1em; }
.leather-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.leather-card {
  display: flex; flex-direction: column; background: var(--card);
  border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.leather-card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }
.leather-img { aspect-ratio: 16/9; overflow: hidden; background: #f4f2ec; }
.leather-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: filter .5s var(--ease), transform .7s var(--ease); }
.leather-card:hover .leather-img img { filter: none; transform: scale(1.05); }
.leather-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.leather-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.leather-body h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; letter-spacing: .03em; }
.leather-zh { font-size: 12px; color: var(--text-faint); letter-spacing: .14em; margin: 4px 0 10px; }
.leather-body p { color: var(--text-dim); font-size: 13px; font-weight: 300; line-height: 1.75; flex: 1; }
.leather-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint);
}
.leather-foot .go { color: var(--gold); transition: color .3s; }
.leather-card:hover .leather-foot .go { color: var(--gold-bright); }
.badge {
  font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  padding: 4px 10px; border: 1px solid;
}
.badge-stock { color: #7fae7f; border-color: rgba(127,174,127,.4); }
.badge-mto { color: var(--gold); border-color: rgba(194,160,99,.4); }
.leather-card, .leather-group-title { scroll-margin-top: 96px; }

/* 皮革色卡行 */
.leather-swatches {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.leather-swatches .dots { display: flex; gap: 8px; flex-wrap: wrap; }
.leather-dot {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.15);
}
.swatch-count { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint); }

/* 视频区块 */
.video-block { max-width: 860px; margin: 0 auto; }
.video-frame {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  border: 1px solid var(--line-bright); background: #0d0d0b;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video-fallback-inner { text-align: center; padding: 40px 24px; color: var(--text-dim); }
.video-fallback-inner p { font-size: 13.5px; margin-top: 16px; font-weight: 300; }
.video-fallback-inner code {
  font-family: monospace; font-size: 12px; color: var(--gold-bright);
  background: var(--bg-soft); padding: 2px 8px; border: 1px solid var(--line);
}
.video-fallback-inner .video-alt { font-size: 12px; color: var(--text-faint); }
.video-fallback-inner .video-alt a { color: var(--gold); border-bottom: 1px solid var(--gold-dim); }
.video-play {
  width: 72px; height: 72px; margin: 0 auto; border: 1px solid var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); font-size: 22px; padding-left: 6px;
  animation: fadePulse 2.6s ease-in-out infinite;
}
.video-caption {
  text-align: center; margin-top: 14px; font-size: 10.5px;
  letter-spacing: .3em; text-transform: uppercase; color: var(--text-faint);
}

/* ---------- 交互式 3D 工作室 ---------- */
.studio-stage {
  position: absolute; inset: 0;
  transform-style: preserve-3d; will-change: transform;
  cursor: grab; touch-action: none;
}
.studio-stage.dragging { cursor: grabbing; }
.studio-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; opacity: 0;
  transition: opacity .55s var(--ease);
  pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.studio-img.active { opacity: 1; }
.pdp-main .studio-img { object-fit: cover; }
.studio-light {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 45% at 30% 18%, rgba(255,255,255,.4), transparent 62%);
  mix-blend-mode: soft-light;
}
.studio-hud {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; pointer-events: none;
}
.hud-hint {
  font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(19,19,17,.55);
}
.hud-reset {
  pointer-events: auto; cursor: pointer;
  background: rgba(19,19,17,.78); color: #f1eee6; border: none;
  font-size: 8.5px; letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 13px; font-family: var(--sans);
  transition: background .3s var(--ease);
}
.hud-reset:hover { background: var(--gold); color: #131311; }
.studio-chips {
  position: absolute; top: 12px; left: 12px; z-index: 6;
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.studio-chip {
  background: rgba(19,19,17,.8); color: #e8e2d4;
  font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-left: 2px solid var(--gold);
  display: inline-flex; gap: 8px; align-items: baseline;
}
.studio-chip b { color: var(--gold-bright); font-weight: 400; }
/* ---------- Carmina 式鞋型图片卡片 ---------- */
.style-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 14px;
}
.style-tile {
  background: #fff; border: 1px solid var(--line-bright);
  padding: 0 0 12px; cursor: pointer; text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.style-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.style-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.style-tile.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(194,160,99,.3); }
.style-tile .st-name {
  display: block; margin-top: 10px; padding: 0 8px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text);
}
.style-tile .st-price {
  display: block; margin-top: 4px; font-size: 10px;
  letter-spacing: .08em; color: var(--text-faint); font-family: var(--sans);
}

/* ---------- 皮料家族按钮行 ---------- */
.fam-row { gap: 8px; }
.fam-btn {
  background: transparent; border: 1px solid var(--line-bright); color: var(--text-dim);
  font-family: var(--sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; cursor: pointer;
  transition: border-color .3s var(--ease), color .3s var(--ease), background .3s var(--ease);
}
.fam-btn em { font-style: normal; color: var(--gold); }
.fam-btn:hover { border-color: var(--gold); color: var(--text); }
.fam-btn.active { border-color: var(--gold); background: var(--gold); color: #131311; }
.fam-btn.active em { color: #131311; }

/* ---------- Share 配置按钮 ---------- */
.share-btn {
  margin-top: 12px; width: 100%; text-align: center;
  background: transparent; color: var(--gold-bright);
  border: 1px solid var(--line-bright); cursor: pointer;
  font-family: var(--sans); font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  padding: 13px 20px; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.share-btn:hover { border-color: var(--gold); }

/* ---------- 尺码双标 ---------- */
.size-btn { min-width: 92px; }
.size-btn small { display: block; font-size: 9px; letter-spacing: .1em; color: inherit; opacity: .65; margin-top: 2px; }

/* ---------- 预览叠加层（雕花 / 雕刻） ---------- */
.studio-medallion {
  position: absolute; z-index: 3; pointer-events: none;
  opacity: 0; transition: opacity .45s var(--ease);
}
.studio-medallion.show { opacity: .92; }
.studio-medallion svg { display: block; width: 100%; height: auto; }
.studio-engrave {
  position: absolute; z-index: 3; pointer-events: none;
  font-family: var(--serif); font-style: italic; white-space: nowrap;
  letter-spacing: .06em; text-shadow: 0 1px 1px rgba(0,0,0,.18);
  opacity: 0; transition: opacity .45s var(--ease);
}
.studio-engrave.show { opacity: .85; }
/* ---------- 雕花图案砖 ---------- */
.medallion-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 12px; }
.medallion-tile {
  background: transparent; border: 1px solid var(--line-bright);
  padding: 0; cursor: pointer; text-align: center;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  display: flex; flex-direction: column;
}
.medallion-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.medallion-tile.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(194,160,99,.3); }
.medallion-tile svg { display: block; width: 100%; height: auto; background: #efece2; }
.medallion-tile .mt-name {
  display: block; padding: 8px 6px; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-dim); font-family: var(--sans);
}
.medallion-tile .mt-name em { font-style: normal; color: var(--gold); }
.medallion-tile.active .mt-name { color: var(--gold-bright); }

@media (max-width: 640px) {
  .studio-chips { display: none; }
  .hud-hint { font-size: 7.5px; }
  .medallion-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
}
.filter-more { border-style: dashed; color: var(--text-faint); }
.filter-more:hover { color: var(--gold-bright); border-color: var(--gold); }
@media (max-width: 640px) { .leather-grid { grid-template-columns: 1fr; } }

