/* XINVEN preview pages — same language as the homepage, separate files. */

:root {
  --navy: #12344C;
  --navy-soft: #1B4258;
  --ink: #0A1A24;
  --gilt: #E7D9BA;
  --gilt-bright: #EFE3C6;
  --bronze: #8F7A4E;
  --white: #FFFFFF;
  --frost: #D8E4EC;
  --mist: #F4F7F9;
  --paper: #FBFDFE;
  --ink-soft: rgba(10, 26, 36, 0.64);
  --line: rgba(18, 52, 76, 0.14);
  --danger: #8a2e2e;
  --font-display: "Bodoni Moda", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-sans: "Manrope", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Helvetica Neue", sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }
html.site-frame {
  scroll-behavior: auto;
  scrollbar-gutter: auto;
}
html.site-frame #main { padding-top: var(--header-h); }
html.site-frame #main.ac { min-height: 100vh; }

/* 幕布页：#main 铺满视口白底，内容栏宽度仍由 .ac-stage 控制 */
html.site-frame.has-underlay-reveal #main {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0;
  background: var(--paper);
}
html.site-frame.has-underlay-reveal #main.ac {
  padding-left: 0;
  padding-right: 0;
}
html.site-frame.has-underlay-reveal #main.ac > .ac-stage {
  max-width: 920px;
  margin-inline: auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}
html.site-frame.has-underlay-reveal #main.ac.is-wide > .ac-stage {
  max-width: 1484px;
}
html.ac-nav { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

html[data-lang="zh"] .i18n-en { display: none; }
html[data-lang="en"] .i18n-zh { display: none; }
.i18n-zh,
.i18n-zh * { font-style: normal; }
html[data-lang="zh"] em { font-style: normal; }

html:not(.site-frame) .skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.8rem;
  background: var(--ink);
  color: var(--gilt);
}
html:not(.site-frame) .skip-link:focus { top: 0.5rem; }

.pv-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-h);
  background: rgba(251, 253, 254, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.pv-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  gap: 1rem;
}

.pv-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.35rem);
}

.pv-nav a {
  position: relative;
  padding: 0.4rem 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(10, 26, 36, 0.52);
}

.pv-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.pv-nav a:hover,
.pv-nav a.is-active { color: var(--bronze); }
.pv-nav a:hover::after,
.pv-nav a.is-active::after { transform: scaleX(1); }

.pv-brand {
  display: flex;
  align-items: flex-end;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink);
}

.pv-brand img { width: 2.1rem; height: 1.7rem; object-fit: contain; }

.pv-brand span {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 1.35rem;
  line-height: 1;
}

.pv-tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.85rem;
}

.pv-header .lang-switch { display: flex; align-items: center; gap: 0.35rem; font-size: 11px; letter-spacing: 0.12em; }
.pv-header .lang-switch button {
  border: 0;
  background: none;
  padding: 0.4rem 0;
  cursor: pointer;
  color: rgba(10, 26, 36, 0.45);
}
.pv-header .lang-switch button[aria-pressed="true"] { color: var(--navy); }
.pv-header .lang-switch span { color: rgba(10, 26, 36, 0.28); }

.pv-icon {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.pv-icon img { width: 1.15rem; height: 1.15rem; }
.pv-icon.is-active { box-shadow: inset 0 -1px 0 var(--gilt); }

.pv-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 4.5rem clamp(1.25rem, 4vw, 4rem) 2rem;
}

.pv-footer__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 3rem;
}

.pv-footer__mark {
  width: 7.5rem;
  margin-bottom: 1rem;
}

.pv-footer__slogan {
  font-family: var(--font-display);
  color: var(--gilt);
  letter-spacing: 0.14em;
  margin: 0 0 0.4rem;
}

.pv-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.pv-footer__links a {
  display: block;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 0.2rem 0;
  color: rgba(255, 255, 255, 0.72);
}
.pv-footer__links a:hover { color: var(--gilt); }
.pv-footer__links h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gilt);
}

.pv-footer__bar {
  max-width: 1180px;
  margin: 2.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(231, 217, 186, 0.22);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.48);
}
.pv-footer__bar a { color: inherit; }

.eyebrow {
  margin: 0 0 0.8rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.rule {
  width: 2.75rem;
  height: 1px;
  background: var(--gilt);
  border: 0;
  margin: 1.25rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 0;
  border-radius: 0;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}
.btn:hover { background-color: var(--navy-soft); }

.text-link {
  display: inline-block;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.text-link:hover { color: var(--bronze); }

.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.35rem; }
.field label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(18, 52, 76, 0.62);
}
.field input[type="email"],
.field input[type="password"],
.field input[type="text"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(18, 52, 76, 0.28);
  background: transparent;
  border-radius: 0;
  padding: 0.7rem 0;
  outline: none;
}
.field input:focus { border-bottom-color: var(--bronze); }
.field-error { min-height: 1.2em; margin: -0.6rem 0 0.8rem; color: var(--danger); font-size: 13px; }
.hint { margin: -0.4rem 0 0; font-size: 12px; color: var(--ink-soft); }
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 13px;
  margin: 0.4rem 0 1.4rem;
  color: var(--ink-soft);
}
.check input { margin-top: 0.25rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; width: 100%; }

/* Homepage modules — 50/50, centered sans titles, italic slogan, ink button */

.mod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 2 / 1;
  background: var(--white);
  width: 100%;
}
.mod--tall {
  aspect-ratio: auto;
  min-height: calc(100vh - var(--header-h));
}
.mod--rev .mod__media { order: -1; }

.mod__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.6rem, 5vw, 4.5rem);
  background: var(--white);
  min-width: 0;
}
.mod__eyebrow {
  margin: 0 0 1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bronze);
}
.mod__title {
  margin: 0;
  max-width: 14em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.1vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
html[data-lang="zh"] .mod__title { letter-spacing: 0.2em; }
.mod__body {
  margin: 1.2rem 0 0;
  max-width: 28em;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.mod__slogan {
  margin: 1.25rem 0 0;
  max-width: 16em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--navy);
}
.mod__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  min-height: 44px;
  padding: 0.8rem 1.5rem;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.mod__cta:hover,
.mod__cta:focus-visible { background: var(--navy); color: var(--gilt); }
.mod__media {
  position: relative;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: var(--mist);
}
.mod__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.mod:hover .mod__media img { transform: scale(1.04); }
.mod__media--product { background: var(--mist); }
.mod__media--product img {
  object-fit: contain;
  padding: 8%;
  transform: none;
  filter: drop-shadow(0 18px 22px rgba(10, 26, 36, 0.1));
}
.mod:hover .mod__media--product img { transform: none; }
.mod__ink {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--white);
}
.mod__ink .mod__eyebrow { color: var(--gilt); }
.mod__ink .mod__slogan { color: var(--gilt); font-size: clamp(1.6rem, 3vw, 2.6rem); }
.mod__points { list-style: none; margin: 1.3rem 0 0; padding: 0; width: min(26em, 100%); }
.mod__points li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.mod__points li:last-child { border-bottom: 1px solid var(--line); }
.mod__points b {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
}

.stage {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  background: var(--ink);
  overflow: hidden;
}
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stage__box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(16rem, calc(100% - 2.5rem));
  padding: 1.6rem 1.2rem 2.2rem;
  background: #fff;
  color: #121010;
  text-align: center;
}
.stage__box .mod__title { font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: 0.04em; font-size: clamp(1rem, 1.6vw, 1.2rem); }
.stage__box .mod__eyebrow { margin-bottom: 0.7rem; }

.auth-form { width: min(340px, 100%); text-align: left; }
.success-panel { display: none; }
.is-done .auth-form { display: none; }
.is-done .success-panel { display: block; text-align: center; }
.auth-links { margin-top: 1.3rem; text-align: center; }

.board { background: var(--white); }
.toc { list-style: none; margin: 0; padding: 0 clamp(1.25rem, 4vw, 3rem) 4rem; max-width: 980px; }
.toc a {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}
.toc li:last-child a { border-bottom: 1px solid var(--line); }
.toc strong {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}
html[data-lang="zh"] .toc strong { letter-spacing: 0.18em; }
.toc span { color: var(--ink-soft); font-size: 13px; }
.toc .mod__eyebrow { margin: 0; }

.dock { display: none; }

.mod__media--face img { object-position: center 15%; }

/* Cart — totals stick only beside the bag, then stop above the recommendations */
.cart {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 0 0;
  display: block;
}
.bag-stage {
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 4vw, 3.5rem) 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.72fr);
  gap: 4.5rem 7.5rem;
  align-items: start;
}
.bag__note { margin: 0 0 2.2rem; font-size: 12px; color: var(--ink-soft); letter-spacing: 0.02em; }
.bag__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.4rem; }
.cart h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.35rem;
}
.bag__count { margin: 0.4rem 0 0; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.04em; }
.bag__est {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gilt);
  transition: color 0.35s var(--ease);
}
.bag__est.is-open { color: var(--navy); }
.bag__est-note {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.35s var(--ease);
}
.bag__est-note > p {
  overflow: hidden;
  margin: 0 0 1.4rem;
  font-size: 13px;
  color: var(--navy);
}
.bag__est-note.is-open { grid-template-rows: 1fr; opacity: 1; }
.bag-line {
  --bag-trash-w: 96px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.bag-line:last-child { border-bottom: 1px solid var(--line); }
.bag-line__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--bag-trash-w);
  width: calc(100% + var(--bag-trash-w));
  transition: transform 0.42s var(--ease);
}
.bag-line.is-armed .bag-line__track { transform: translateX(calc(var(--bag-trash-w) * -1)); }
.bag-line.is-leaving .bag-line__track {
  transform: translateX(100%);
  transition-duration: 0.52s;
}
.bag-line.is-entering {
  transform: translateX(-100%);
  transition: none;
}
.bag-line.is-entering.is-in {
  transform: translateX(0);
  transition: transform 0.62s var(--ease);
}
.bag-line.is-collapsing {
  overflow: hidden;
  border-top-width: 0;
  border-bottom-width: 0;
  transition: height 0.48s var(--ease), border-width 0.48s var(--ease);
}
.bag-line__slide {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1fr);
  gap: 3.2rem;
  min-height: 420px;
  padding: 2.6rem 0;
  background: var(--paper);
  align-items: stretch;
}
.bag-line__trash {
  display: grid;
  place-items: center;
  border: 0;
  background: #800020;
  color: #fff;
  cursor: pointer;
}
.bag-line__trash .ui-icon { width: 22px; height: 22px; }
.bag-line__trash:hover,
.bag-line__trash:focus-visible { background: #800020; }
.bag-line__media {
  position: relative;
  display: block;
  align-self: stretch;
  background: #fff;
  min-height: 0;
  overflow: hidden;
}
.bag-line__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.bag-line__body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.bag-line__top { display: flex; justify-content: space-between; gap: 1.6rem; align-items: flex-start; }
.bag-line h2 { margin: 0; font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }
.bag-line__top p { margin: 0; font-size: 12px; letter-spacing: 0.02em; }
.bag-line__sku { margin: 0.9rem 0 0; color: var(--ink-soft); font-size: 11px; letter-spacing: 0.06em; }
.bag-line__meta { margin: 0.45rem 0 0; color: var(--ink-soft); font-size: 12px; }
.bag-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.qty { display: inline-flex; align-items: center; gap: 0.45rem; }
.qty button {
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.2s ease;
}
.qty button:disabled,
.qty button.is-disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}
.qty .sku-qty__viewport {
  width: 1.35em;
  height: 1.2em;
  line-height: 1.2em;
  font-size: 1em;
}
.qty span { min-width: 1.2rem; text-align: center; }
.remove {
  align-self: flex-end;
  margin-top: auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  padding: 0;
  cursor: pointer;
}
.remove .ui-icon { width: 20px; height: 20px; }
.remove:hover,
.remove:focus-visible { color: #800020; }
.bag-rec {
  box-sizing: border-box;
  width: 100%;
  margin: 3.2rem 0 0;
  padding: 3.6rem max(1.5rem, calc((100% - 1280px) / 2)) 3.4rem;
  background: var(--mist);
  --bag-panel: var(--mist); /* panel 跟区色上浮 */
}
.bag-rec__head { margin-bottom: 1.5rem; }
.bag-rec h2 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.2rem; }
.bag-rec__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.bag-tile {
  --bag-lift: 2.25rem; /* is-hot 上浮距离；勿改成 margin，否则会破坏 translateY 叠图 */
  text-align: center;
  /* 备选：整卡纵向 flex、gap=0（与下方 block+BFC 方案二选一，启用时取消注释）
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  */
}
.bag-tile__media {
  position: relative;
  display: flow-root; /* BFC：阻断与 panel 的纵向 margin 塌陷 */
  margin: 0;
  padding: 0;
  line-height: 0; /* 已排除 inline 空白 / 图片基线；保留作防御 */
  font-size: 0;
}
.bag-tile__wish {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  overflow: visible;
  transition: color 0.35s ease;
}
.bag-tile__wish:hover,
.bag-tile__wish:focus-visible { color: var(--gilt); }
.bag-tile__wish.is-on,
.bag-tile__wish.is-on:hover,
.bag-tile__wish.is-on:focus-visible { color: var(--navy); }
.wish-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
  overflow: visible;
}
.wish-icon__line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.28s ease;
}
.wish-icon__top,
.wish-icon__tail,
.wish-icon__minus { opacity: 0; }
.wish-icon__top,
.wish-icon__tail { fill: var(--navy); }
.wish-icon__top,
.wish-icon__minus { transition: opacity 0.28s ease; }
.wish-icon__tail {
  transform-box: fill-box;
  transform-origin: center top;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.wish-icon__minus {
  fill: none;
  stroke: #fff;
  stroke-width: 1.75;
  stroke-linecap: round;
}
.bag-tile__wish.is-on .wish-icon__line { opacity: 0; }
.bag-tile__wish.is-on .wish-icon__top,
.bag-tile__wish.is-on .wish-icon__tail,
.bag-tile__wish.is-on .wish-icon__minus { opacity: 1; }
.bag-tile__wish.is-on .wish-icon__tail { transform: scaleY(1.85); }
.bag-tile a {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 3 / 4.6;
  line-height: 0;
  font-size: 0;
}
.bag-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.bag-tile__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Image crossfade only — keep slower than panel lift (0.55s), do not share that timing */
  transition: opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.bag-tile__shot--base { opacity: 1; z-index: 0; }
.bag-tile__shot--hover { opacity: 0; z-index: 1; }
@media (hover: hover) and (pointer: fine) {
  .bag-tile:hover .bag-tile__shot--base { opacity: 0; }
  .bag-tile:hover .bag-tile__shot--hover { opacity: 1; }
}
/* 全局 p 不再用 1.5rem 顶距制造 media→文案缝；排版间距交给 name/meta/price */
.bag-tile p {
  margin: 0;
  font-family: Optima, "Optima Nova", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.1875rem;
  letter-spacing: 0;
  color: var(--navy);
}
.bag-tile__panel {
  position: relative;
  z-index: 2;
  display: flow-root; /* BFC：首子 margin 不会塌出 panel 顶 */
  width: max-content;
  max-width: calc(100% - 1.25rem);
  min-width: min(9rem, 100%);
  margin: 0 auto; /* 垂直外边距为 0，水平居中 */
  /* 顶 padding 给标题呼吸；侧/底留给底板 */
  padding: 0.55rem 1rem 0.5rem;
  /* 底板常显：色跟随所在区 --bag-panel（默认 mist）；hover 只上下位移 */
  background: var(--bag-panel, var(--mist));
  transform: translateY(0); /* 静止位；上浮只靠 is-hot 的 translateY，不用 margin 顶开 */
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* media 紧跟 panel：清零外边距缝，保留 panel 顶 padding */
.bag-tile__media + .bag-tile__panel {
  margin-top: 0;
}
.bag-tile__panel > :first-child {
  margin-top: 0; /* 首子再保险，避免漏网顶距 */
}
.bag-tile.is-hot .bag-tile__panel,
.bag-tile.is-hot .bag-tile__specs {
  /* JS 把 --bag-lift 设为 panel 高度，底边本应对齐 media 底；
     +1px = 少上浮 1px，让 panel 底压过 media 底，吃掉亚像素发丝缝 */
  transform: translateY(calc(var(--bag-lift) * -1 + 1px));
}
.bag-tile.is-hot .bag-tile__panel {
  /* 再向下溢 1px 同色，双保险盖住 compositor 发丝线 */
  box-shadow: 0 1px 0 0 var(--bag-panel, var(--mist));
}
/* 内部文案间距：各自可控，互不依赖全局 p 顶距 */
.bag-tile p.bag-tile__name {
  margin: 0; /* 标题贴 panel 顶（= 贴 media 底） */
  font-size: 0.95rem;
  line-height: 1.25;
}
.bag-tile p.bag-tile__meta {
  margin-top: 0.05rem; /* 调 meta 与标题间距改这里 */
  font-size: 0.75rem;
  line-height: 1.15;
  color: var(--bronze);
}
.bag-tile p.bag-tile__price {
  margin: 0.32rem 0 0; /* 调价格与 meta 间距改这里 */
  min-height: 1rem;
  font-size: 0.75rem;
  line-height: 1.15;
  color: var(--navy);
  /* 价格仅在 tile hover（is-priced）时淡入；panel 本体只上下移 */
  opacity: 0;
  transition: opacity 0.4s ease;
}
.bag-tile.is-priced .bag-tile__price {
  opacity: 1;
}
.bag-tile__specs {
  position: relative;
  min-height: 3.6rem;
  margin-top: 0.55rem;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.bag-tile__specs-face--options {
  /* 规格仅在 hover（is-specs）时淡入；不跟 panel 抢位移 */
  opacity: 0;
  transform: none;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.bag-tile.is-specs:not(.is-added) .bag-tile__specs-face--options {
  opacity: 1;
  pointer-events: auto;
}
.bag-tile.is-added .bag-tile__specs-face--options {
  opacity: 0;
  pointer-events: none;
}
.bag-tile__sizes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.15rem;
  min-height: 3.6rem;
}
.bag-tile__size {
  border: 1px solid transparent;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}
.bag-tile__size:hover,
.bag-tile__size:focus-visible {
  border-color: var(--navy);
  outline: none;
}
.bag-tile__size.is-launching { border-color: transparent; }
.bag-tile__specs-face--done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.bag-tile.is-added .bag-tile__specs-face--done {
  opacity: 1;
  transform: none;
}
.bag-tile__specs-face--done p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.bag-fly {
  position: fixed;
  z-index: 140;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  pointer-events: none;
}
.bag-fly svg {
  width: 16px;
  height: 16px;
  opacity: 0;
}
@keyframes bag-catch {
  0% { transform: scale(1); }
  35% { transform: scale(0.82); }
  70% { transform: scale(1.16); }
  100% { transform: scale(1); }
}
.ui-icon--bag.is-catch { animation: bag-catch 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@media (prefers-reduced-motion: reduce) {
  .bag-tile__panel,
  .bag-tile__specs,
  .bag-tile__price,
  .bag-tile__specs-face,
  .bag-tile__size,
  .ui-icon--bag.is-catch {
    transition: none;
    animation: none;
  }
}
.bag-tile .btn {
  width: 100%;
  margin-top: 0.95rem;
  min-height: 46px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
}
.summary .btn,
.bag-tile .btn,
.btn.wl-add {
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt));
  background-repeat: no-repeat;
  background-position:
    left 2px top 2px,
    left 2px top 2px,
    right 2px top 2px,
    right 2px top 2px,
    left 2px bottom 2px,
    left 2px bottom 2px,
    right 2px bottom 2px,
    right 2px bottom 2px;
  background-size:
    10px 1px, 1px 7px,
    10px 1px, 1px 7px,
    10px 1px, 1px 7px,
    10px 1px, 1px 7px;
  transition:
    background-color 0.6s var(--ease),
    background-size 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.summary .btn:hover,
.bag-tile .btn:hover,
.btn.wl-add:hover {
  background-color: var(--navy-soft);
  background-size:
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px);
}
@media (prefers-reduced-motion: reduce) {
  .summary .btn,
  .bag-tile .btn,
  .btn.wl-add { transition: none; }
}
.summary {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  background: var(--mist);
  padding: 2.2rem 1.7rem 1.8rem;
  align-self: start;
}
.summary h2 { margin: 0 0 1rem; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.2rem; letter-spacing: 0; text-transform: none; }
.bag__ship { margin: 0 0 1.6rem; font-size: 12px; color: var(--ink-soft); }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.4rem 0; font-size: 13px; }
.sum-row--grand { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sum-row strong { font-weight: 500; font-size: 13px; }
.summary .btn {
  width: 100%;
  margin-top: 1.6rem;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.14em;
}
.bag__continue { margin: 1.1rem 0 0; }
.coupon { margin-top: 1.4rem; }
.coupon h2 { margin-bottom: 0; }
.coupon form { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.coupon input { flex: 1; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 0.4rem 0; }
.coupon form button {
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  letter-spacing: 0.12em;
  color: var(--navy);
  transition: color 0.3s ease;
}
.coupon form button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.32);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.coupon form button:hover,
.coupon form button:focus-visible { color: var(--bronze); }
.coupon form button:hover::after,
.coupon form button:focus-visible::after { transform: scaleX(1); }
.bag__main > .ac-empty { display: none; }
.cart.is-empty .cart-lines,
.cart.is-empty .summary,
.cart.is-empty .bag__note { display: none; }
.cart.is-empty .bag-stage {
  max-width: 1484px;
  grid-template-columns: minmax(0, 1fr);
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}
.cart.is-empty .bag__head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  margin-bottom: 3.6rem;
}
.cart.is-empty .bag__head > div { grid-column: 2; text-align: center; }
.cart.is-empty .bag__head h1 {
  font-style: normal;
  font-size: 1.45rem;
}
.cart.is-empty .bag__count {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0;
}
.cart.is-empty .bag__count [data-bag-count] {
  color: var(--bronze);
  font-weight: 500;
}
.cart.is-zero .bag__est,
.cart.is-zero .bag__est-note { display: none; }
.cart.is-empty .bag__main > .ac-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin: 0;
}
.cart.is-empty .bag__main > .ac-empty .text-link::after { bottom: 0; }

.note { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; }

@media (max-width: 900px) {
  .pv-nav { display: none; }
  .pv-header__inner { grid-template-columns: 1fr auto; }
  .pv-brand { justify-self: start; }
  .mod, .bag-stage, .pv-footer__grid, .pv-footer__links, .toc a { grid-template-columns: 1fr; }
  .bag-stage { padding-top: 2.4rem; padding-bottom: 2rem; gap: 2.8rem; }
  .bag__head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1rem;
  }
  .bag__est { margin-left: auto; }
  /* Mobile: thumb left, copy right; media stretches to match body height. */
  .bag-line__slide {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    padding: 1.25rem 0;
    align-items: stretch;
  }
  .bag-line__media {
    width: min(128px, 34vw);
    min-height: 0;
    aspect-ratio: auto;
    justify-self: start;
    align-self: stretch;
  }
  .bag-line__body {
    min-width: 0;
    min-height: 0;
    width: auto;
  }
  .bag-line__top,
  .bag-qty {
    width: 100%;
    box-sizing: border-box;
  }
  .bag-qty { margin-top: 0.85rem; }
  .bag-line .remove { margin-top: 0.7rem; }
  .bag-rec__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bag-tile { min-width: 0; }
  .bag-tile__panel {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
  .summary { position: static; }
  .mod { aspect-ratio: auto; }
  .mod__media { min-height: 72vw; order: -1; }
  .mod__ink { min-height: 42vh; order: -1; }
  .stage { min-height: 78vh; }
  .pv-footer__bar { flex-direction: column; }
  .dock {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid var(--line);
  }
  .dock .mod__cta { width: 100%; margin-top: 0; }
  .hide-sm { display: none; }
}

/* Account — Loro Piana dashboard structure, XINVEN surface */
.ac { max-width: 920px; margin: 0 auto; padding: 4.5rem clamp(1.25rem, 4vw, 2rem) 5rem; }
.ac-stage { position: relative; }
.ac.is-animating .ac-stage { overflow: hidden; }
.ac [data-panel] { display: none; }
.ac [data-panel].is-current { display: block; }
.ac [data-panel="home"] { padding-top: 3.6rem; }
.ac [data-panel].is-measure {
  display: block;
  position: absolute;
  visibility: hidden;
  width: 100%;
  pointer-events: none;
}
.ac.is-animating [data-panel].is-leave,
.ac.is-animating [data-panel].is-enter {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}
/* 幕布页把左右内边距放在 .ac-stage 上。绝对定位的 left/right:0 会贴到
   padding edge，比正常流的内容区宽一圈。动画结束去掉绝对定位时，
   面板会突然收窄并重排。测量和进出场都改贴内容区。 */
html.site-frame.has-underlay-reveal .ac [data-panel].is-measure,
html.site-frame.has-underlay-reveal .ac.is-animating [data-panel].is-leave,
html.site-frame.has-underlay-reveal .ac.is-animating [data-panel].is-enter {
  left: clamp(1.25rem, 4vw, 2rem);
  right: clamp(1.25rem, 4vw, 2rem);
  width: auto;
}
.ac [data-panel].is-enter { animation: ac-enter 0.62s var(--ease) both; }
.ac [data-panel].is-leave { animation: ac-leave 0.42s var(--ease) both; pointer-events: none; }
.ac [data-panel].is-leave-snap {
  animation: none;
  opacity: 0;
  pointer-events: none;
}
.ac.is-back [data-panel].is-enter { animation-name: ac-enter-back; }
.ac.is-back [data-panel].is-leave { animation-name: ac-leave-back; }
@keyframes ac-enter {
  from { opacity: 0; transform: translate3d(36px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes ac-leave {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(-28px, 0, 0); }
}
@keyframes ac-enter-back {
  from { opacity: 0; transform: translate3d(-36px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes ac-leave-back {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translate3d(28px, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .ac [data-panel].is-enter,
  .ac [data-panel].is-leave,
  .ac-item.is-out,
  .wl-card.is-out { animation: none; }
}
.ac-welcome { text-align: center; margin-bottom: 2.5rem; }
.ac-welcome__kicker {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--navy);
}
.ac-welcome h1 {
  margin: 0.15rem 0 0.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.22em;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  text-transform: uppercase;
}
.ac-welcome p { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.ac-welcome__kicker + p { margin-top: 0.7rem; }
.ac-chevron {
  width: 1px; height: 2.2rem; margin: 1.6rem auto 4.4rem; background: var(--gilt);
}
.ac-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem); margin-bottom: 4.8rem; }
.ac-card { text-align: center; }
.ac-card__image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #F7F4EF;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.ac-card__image::before { content: ""; display: block; padding-bottom: 158%; }
.ac-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.ac-card h2 {
  margin: 1.2rem 0 0.9rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}
.ac-card h2 i { font-family: var(--font-display); font-style: normal; font-weight: 500; letter-spacing: 0; }
.ac-outline {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 1.2rem;
  border: 1px solid var(--navy); background: transparent; color: var(--navy);
  letter-spacing: 0.16em; text-transform: uppercase; font-size: 11px; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.ac-outline { transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.ac-outline:hover { background: var(--navy); color: var(--white); }
.ac-rows { border-top: 1px solid var(--line); }
.ac-row {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 3.6rem 0.15rem;
  border: 0; border-bottom: 1px solid var(--line);
  background: transparent; cursor: pointer; text-align: left;
  font: inherit; color: var(--ink); letter-spacing: 0.32em;
}
.ac-row { transition: color 0.3s var(--ease); }
.ac-row:hover { color: var(--bronze); }
.ac-row i { width: 8px; height: 8px; border-right: 1px solid currentColor; border-top: 1px solid currentColor; transform: rotate(45deg); transition: transform 0.35s var(--ease); }
.ac-row:hover i { transform: rotate(45deg) translate(2px, -2px); }
.ac-signout {
  margin-top: 3.4rem;
  padding-bottom: 4.8rem;
  text-align: right;
}
.ac-signout .text-link:hover,
.ac-signout .text-link:focus-visible { color: #800020; }
.ac-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 0;
  background: none;
  margin-top: 4.5rem;
  padding: 0 0 1.4rem;
  cursor: pointer;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink);
}
.ac-back::before {
  content: "<";
  letter-spacing: 0;
}
.ac-panel h2 { margin: 0 0 1.2rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ac-filters { display: flex; gap: 1rem; margin-bottom: 1rem; }
.ac-filters button { border: 0; background: none; padding: 0.3rem 0; cursor: pointer; letter-spacing: 0.12em; font-size: 12px; color: var(--ink-soft); border-bottom: 1px solid transparent; }
.ac-filters button.is-on { color: var(--navy); border-bottom-color: var(--gilt); }
.ac-item, .ac-order {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line); align-items: center;
}
.ac-item img, .ac-order img { width: 88px; height: 110px; object-fit: contain; background: var(--mist); }
.ac-item h3, .ac-order h3 { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: 0.04em; }
.ac-item p, .ac-order p { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 13px; }
.ac-textbtn { border: 0; background: none; padding: 0; cursor: pointer; font-size: 12px; letter-spacing: 0.08em; border-bottom: 1px solid var(--gilt); }
.ac-order { grid-template-columns: 1fr auto; }
.ac-order__detail {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.35s var(--ease);
}
.ac-order__detail-in { overflow: hidden; }
.ac-order.is-open .ac-order__detail { grid-template-rows: 1fr; opacity: 1; }
.ac-item.is-out { animation: ac-item-out 0.36s var(--ease) forwards; }
@keyframes ac-item-out {
  to { opacity: 0; transform: translate3d(16px, 0, 0); }
}
.ac-addr { padding: 1rem 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.ac-addr h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.ac-addr p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.ac-actions { display: flex; gap: 0.9rem; align-items: flex-start; }
.ac-form { max-width: 460px; margin-top: 1rem; }
.ac-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.ac-toast { min-height: 1.4em; color: var(--navy); font-size: 13px; letter-spacing: 0.04em; }
.ac-switch { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.9rem 0; border-top: 1px solid var(--line); }
.ac-switch:last-child { border-bottom: 1px solid var(--line); }
.ac-switch button { width: 42px; height: 24px; border: 1px solid var(--navy); background: transparent; position: relative; cursor: pointer; }
.ac-switch button::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; background: var(--frost); transition: transform 0.2s var(--ease); }
.ac-switch button[aria-pressed="true"] { background: var(--navy); }
.ac-switch button[aria-pressed="true"]::after { transform: translateX(18px); background: var(--gilt); }
.ac-empty { padding: 2rem 0; color: var(--ink-soft); }
.ac-empty .text-link {
  position: relative;
  border-bottom: 0;
  padding-bottom: 0.12rem;
}
.ac-empty .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.4s var(--ease);
}
.ac-empty .text-link:hover::after,
.ac-empty .text-link:focus-visible::after { clip-path: inset(0 0 0 0); }
.wl-grid > .ac-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin: 0;
}
.wl-grid > .ac-empty .text-link::after { bottom: 0; }
.ac.is-wide { max-width: 1484px; }
.ac [data-panel="wishlist"] .ac-back {
  margin-bottom: 3.2rem;
  padding-bottom: 0;
}

.wl-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  margin-bottom: 3.6rem;
}
.wl-head__copy { grid-column: 2; text-align: center; }
.wl-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.45rem;
}
.wl-head p { margin: 0.85rem 0 0; color: var(--ink-soft); font-size: 14px; }
.wl-head em { font-style: normal; color: var(--bronze); font-weight: 500; }
.wl-share {
  justify-self: end;
  align-self: end;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  color: var(--bronze);
}
.wl-share i { font-style: normal; letter-spacing: 0.12em; margin-left: 0.2rem; }
.wl-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 4.5rem; row-gap: 3.2rem; position: relative; }
.wl-card {
  --wl-trash-w: 84px;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.wl-card.is-leaving { pointer-events: none; }
.wl-card__track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wl-trash-w);
  width: calc(100% + var(--wl-trash-w));
  transition: transform 0.42s var(--ease);
}
.wl-card.is-armed .wl-card__track { transform: translateX(calc(var(--wl-trash-w) * -1)); }
.wl-card.is-leaving .wl-card__track {
  transform: translateX(100%);
  transition-duration: 0.52s;
}
.wl-card.is-entering {
  transform: translateX(-100%);
  transition: none;
}
.wl-card.is-entering.is-in {
  transform: translateX(0);
  transition: transform 0.62s var(--ease);
}
.wl-card.is-collapsing {
  overflow: hidden;
  transition: height 0.48s var(--ease);
}
.wl-card__slide {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.15fr);
  gap: 1.35rem;
  align-items: stretch;
  min-height: 420px;
  background: var(--paper);
}
.wl-card__trash {
  display: grid;
  place-items: center;
  border: 0;
  background: #800020;
  color: #fff;
  cursor: pointer;
}
.wl-card__trash .ui-icon { width: 22px; height: 22px; }
.wl-card__trash:hover,
.wl-card__trash:focus-visible { background: #800020; }
.wl-card.is-out { animation: ac-item-out 0.36s var(--ease) forwards; }
.wl-card__media {
  position: relative;
  display: block;
  align-self: stretch;
  background: #fff;
  min-height: 0;
  overflow: hidden;
}
.wl-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.wl-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.wl-card__title { display: flex; justify-content: space-between; gap: 0.8rem; align-items: flex-start; padding-right: 2.5rem; }
.wl-card__title a {
  color: var(--ink);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.wl-card__title .drawer-line__remove {
  position: absolute;
  top: -0.15rem;
  right: 0;
  width: 32px;
  height: 32px;
}
.wl-card__title .drawer-line__remove .ui-icon { width: 20px; height: 20px; }
.wl-card__material { margin: 0.2rem 0 0; color: var(--bronze); font-size: 13px; }
.wl-card__sku { margin: 0.05rem 0 0; font-size: 13px; color: var(--ink-soft); letter-spacing: 0; }
.wl-card__price { margin: 0.85rem 0 1.7rem; font-size: 14px; }
.wl-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.wl-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 53px;
  margin: 0;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
.wl-spec__label { min-width: 0; }
.wl-spec .ui-icon { width: 20px; height: 20px; }
.wl-spec:hover,
.wl-spec:focus-visible { color: var(--navy); }
.drawer-spec__count {
  margin: -0.65rem 0 1.15rem;
  font-size: 13px;
  color: var(--ink-soft);
}
.drawer-spec .sku-format.is-picked { border-color: var(--navy); }
.wl-swatch { width: 12px; height: 12px; flex: none; }
.wl-add {
  width: 100%;
  margin-top: auto;
  min-height: 46px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 14px;
  font-weight: 500;
}
.wl-added { margin: 0.55rem 0 0; font-size: 13px; color: var(--navy); }
.wl-rec {
  box-sizing: border-box;
  width: 100vw;
  margin-top: 8rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.6rem max(1.5rem, calc((100vw - 1280px) / 2)) 3.4rem;
  background: var(--mist);
}
body:has(.wl-rec) { overflow-x: clip; }
.wl-rec h2 {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 1.2rem;
}
.wl-dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--navy);
  padding: 1.6rem 1.4rem 1.3rem;
  max-width: 22rem;
  width: calc(100% - 2rem);
}
.wl-dialog::backdrop { background: rgba(10, 26, 36, 0.28); }
.wl-dialog h3 { margin: 0 0 0.5rem; font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.wl-dialog p { margin: 0 0 1rem; }
.wl-dialog .btn, .wl-dialog .ac-outline { width: 100%; margin-top: 0.55rem; }
.wl-dialog .ac-outline { min-height: 48px; }

/* Same breakpoints as the reference account: stack under 992, tighten under 768 and 576. */
@media (max-width: 991.98px) {
  .ac-cards { grid-template-columns: 1fr; gap: 2.6rem; }
  .ac-card h2 { margin-top: 1rem; }
  .wl-grid { grid-template-columns: 1fr; }
  /* Fix: previously only .wl-card got 1fr (no effect); slide stayed 2-col + min-height 420,
     so aspect-ratio media overflowed over .wl-card__body. */
  .wl-card {
    min-height: 0;
    align-items: start;
  }
  .wl-card__slide {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    min-width: 0;
    min-height: 0;
    align-items: start;
  }
  .wl-card__media {
    width: min(120px, 32vw);
    aspect-ratio: 1 / 1;
    justify-self: start;
    align-self: start;
  }
  .wl-card__body { min-width: 0; min-height: 0; }
  .wl-card__price { margin-bottom: 1rem; }
  .wl-add { margin-top: 1.15rem; }
  .wl-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .wl-head__copy { grid-column: auto; }
  .wl-share { justify-self: center; }
  .cart.is-empty .bag__head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cart.is-empty .bag__head > div { grid-column: auto; justify-self: center; }
}
@media (max-width: 767.98px) {
  .ac { padding-top: 2.6rem; padding-bottom: 3.2rem; }
  .ac [data-panel="home"] { padding-top: 1.8rem; }
  .ac-welcome { margin-bottom: 1.6rem; }
  .ac-chevron { margin: 1.1rem auto 2.8rem; }
  .ac-item {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.8rem;
  }
  .ac-item img { width: 72px; height: 90px; }
  .ac-item .ac-textbtn { grid-column: 2; justify-self: start; }
  .ac-order { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .ac-order > div:nth-child(2) {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
  }
  .ac-addr { flex-direction: column; align-items: flex-start; }
  .ac-actions { flex-wrap: wrap; }
  .ac-form { max-width: none; }
  .ac-form__row { grid-template-columns: 1fr; }
  .ac-filters { flex-wrap: wrap; row-gap: 0.4rem; }
  .ac-switch { align-items: center; }
  .ac-switch span { min-width: 0; }
}
@media (max-width: 575.98px) {
  .ac-welcome h1 { letter-spacing: 0.12em; }
  .ac-card h2 { font-size: 1.05rem; }
  .ac-outline { max-width: 100%; }
  .ac-row { letter-spacing: 0.22em; }
  .bag-line__slide { gap: 0.85rem; padding: 1.1rem 0; }
  .bag-line__media { width: min(112px, 32vw); }
  .wl-card__media { width: min(100px, 30vw); }
}

/* Float controls — same right-edge stack as the homepage */
html:not(.site-frame) body.no-scroll { overflow: hidden; }

.ui-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask: var(--ui-icon) center / contain no-repeat;
  mask: var(--ui-icon) center / contain no-repeat;
}
.ui-icon--close { --ui-icon: url("../assets/icons/x.svg"); }
.ui-icon--back { --ui-icon: url("../assets/icons/arrow-left.svg"); }
.ui-icon--chevron-up { --ui-icon: url("../assets/icons/chevron-up.svg"); }
.ui-icon--chevron-down { --ui-icon: url("../assets/icons/chevron-down.svg"); }
.ui-icon--sparkles { --ui-icon: url("../assets/icons/sparkles.svg"); }

.back-top,
.back-top * {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
.back-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1.25rem, 4vw, 2rem);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--gilt-bright);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s var(--ease),
    transform 0.25s var(--ease),
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}
.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  animation: back-top-pulse 2.8s var(--ease) 0.4s 2;
}
.back-top.is-visible:hover,
.back-top.is-visible:focus-visible {
  color: var(--ink);
  background: rgba(231, 217, 186, 0.38);
  border-color: var(--gilt);
  box-shadow: 0 0 0 4px rgba(231, 217, 186, 0.28);
  transform: translateY(-3px);
  animation: none;
}
.back-top:focus-visible {
  outline: 2px solid var(--gilt);
  outline-offset: 3px;
}
.back-top .ui-icon { width: 18px; height: 18px; }
@keyframes back-top-pulse {
  0%, 100% { box-shadow: none; }
  50% { box-shadow: 0 0 0 6px rgba(231, 217, 186, 0.28); }
}
@media (prefers-reduced-motion: reduce) {
  .back-top.is-visible { animation: none; }
}

.ai-skin {
  position: fixed;
  inset: 0;
  z-index: 220;
}
.ai-skin__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 14, 20, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ai-skin.is-open .ai-skin__backdrop { opacity: 1; }
.ai-skin__panel {
  position: fixed;
  left: 0;
  top: 0;
  width: min(400px, calc(100vw - 2rem));
  height: min(400px, calc(100vw - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-origin: center center;
}
.ai-skin__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}
.ai-skin__close .ui-icon { width: 14px; height: 14px; }
.ai-skin__close:hover,
.ai-skin__close:focus-visible {
  color: var(--bronze);
  border-color: var(--bronze);
}
.ai-skin__content {
  height: 100%;
  padding: clamp(1.4rem, 4vw, 1.85rem);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.28s ease;
}
.ai-skin.is-ready .ai-skin__content { opacity: 1; }
.ai-skin__kicker {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--bronze);
}
.ai-skin__title {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.ai-skin__intro {
  margin: 0.55rem 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.ai-skin__drop {
  position: relative;
  flex: 1;
  margin-top: 1rem;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(18, 52, 76, 0.28);
  background: linear-gradient(180deg, rgba(216, 228, 236, 0.35), rgba(251, 253, 254, 0.9));
  cursor: pointer;
}
.ai-skin__drop:hover,
.ai-skin__drop.is-dragover {
  border-color: var(--bronze);
  background: linear-gradient(180deg, rgba(231, 217, 186, 0.22), rgba(251, 253, 254, 0.95));
}
.ai-skin__drop-idle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem;
  text-align: center;
  color: var(--navy);
}
.ai-skin__drop-idle .ui-icon {
  width: 22px;
  height: 22px;
  color: var(--bronze);
}
.ai-skin__drop-title { font-size: 13px; font-weight: 500; }
.ai-skin__drop-hint { font-size: 11px; letter-spacing: 0.08em; color: rgba(18, 52, 76, 0.48); }
.ai-skin__drop.has-file .ai-skin__drop-idle { display: none; }
.ai-skin__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-skin__analyze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.9rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  cursor: pointer;
}
.ai-skin__analyze:hover,
.ai-skin__analyze:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
}
.ai-skin__analyze:disabled { opacity: 0.42; cursor: not-allowed; }

/* SKU drawer — quick add */
body.is-sku-open { overflow: hidden; }
.sku-shade {
  position: fixed;
  inset: 0;
  z-index: 230;
  /* Solo open: same tint as .side-drawer__backdrop. Nested (over an open drawer) stays clear. */
  background: rgba(6, 14, 20, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s ease;
}
.sku-shade.is-nested { background: transparent; }
.sku-shade.is-on { opacity: 1; pointer-events: auto; cursor: none; }
.sku-shade__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 250;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.68s ease, transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1);
  box-shadow: 0 2px 12px rgba(6, 14, 20, 0.18);
}
.sku-shade__cursor .ui-icon { width: 20px; height: 20px; }
.sku-shade__cursor.is-hovering {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.sku-shade__cursor.is-leaving {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.16);
}
.sku-drawer {
  --sku-pad-x: clamp(1rem, 3.5vw, 1.5rem);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 240;
  width: min(100vw, max(480px, calc(100vw / 3)));
  height: 100%;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 0 var(--sku-pad-x) 2.6rem;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.sku-drawer.is-on { transform: translateX(0); }
.sku-drawer__close {
  position: absolute;
  top: 0.85rem;
  right: var(--sku-pad-x);
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: rgba(40, 40, 40, 0.42);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.25s ease;
}
.sku-drawer__close:hover,
.sku-drawer__close:focus-visible { background: rgba(40, 40, 40, 0.62); color: #fff; }
.sku-drawer__close .ui-icon { width: 16px; height: 16px; }
.sku-drawer__media {
  position: relative;
  width: calc(100% + (var(--sku-pad-x) * 2));
  margin: 0 calc(var(--sku-pad-x) * -1) 1.65rem;
  height: 100vh;
  height: 100dvh;
  background: #fff;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.sku-drawer__media.is-dragging { cursor: grabbing; }
.sku-gallery { position: relative; width: 100%; height: 100%; }
.sku-gallery__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.sku-gallery__track.is-dragging { transition: none; }
.sku-gallery__slide {
  flex: 0 0 100%;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.sku-gallery__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.sku-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.sku-gallery__nav--prev { left: clamp(0.45rem, 2vw, 0.75rem); }
.sku-gallery__nav--next { right: clamp(0.45rem, 2vw, 0.75rem); }
.sku-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.7rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}
.sku-gallery__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 52, 76, 0.28);
  cursor: pointer;
}
.sku-gallery__dot.is-on { background: var(--navy); }
.sku-drawer__series {
  margin: 0 0 0.55rem;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.sku-drawer__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0;
}
.sku-drawer__price { margin: 0.7rem 0 1.45rem; font-size: 15px; }
.sku-drawer__label { margin: 1.35rem 0 0.7rem; font-size: 13px; letter-spacing: 0.06em; }
.sku-swatches,
.sku-formats { position: relative; }
.sku-swatches { display: flex; gap: 0.75rem; }
.sku-select {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  box-sizing: border-box;
  pointer-events: none;
  opacity: 0;
  border: 2px solid var(--navy);
  transform: translate(0, 0);
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}
.sku-select.is-ready { opacity: 1; }
.sku-select.is-instant { transition: none; }
.sku-select--swatch {
  border-radius: 0;
  box-shadow: 0 0 0 1px var(--paper);
}
.sku-select--format {
  border-width: 1px;
  border-radius: 0;
  box-shadow: inset 0 0 0 1px var(--navy);
}
.sku-swatch {
  position: relative;
  z-index: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--swatch);
  cursor: pointer;
}
.sku-swatch.is-on { border-color: transparent; }
.sku-format {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 0.7rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease;
}
.sku-format.is-on { border-color: transparent; }
.sku-formats .sku-format:first-of-type { margin-top: 0; }
.sku-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  padding: 0.25rem 0.45rem;
}
.sku-qty button {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.sku-qty button:disabled,
.sku-qty button.is-disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}
.sku-qty__viewport {
  position: relative;
  display: block;
  overflow: hidden;
  width: 2em;
  height: 1.35em;
  line-height: 1.35em;
  text-align: center;
  font-size: 0.95rem;
}
.sku-qty__input {
  position: relative;
  z-index: 1;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.sku-qty__input::-webkit-outer-spin-button,
.sku-qty__input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.sku-qty__input:focus {
  outline: none;
}
.sku-qty__input.is-animating {
  opacity: 0;
  pointer-events: none;
}
.sku-qty__num {
  display: block;
  width: 100%;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sku-qty__num.is-leave,
.sku-qty__num.is-enter {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}
.sku-qty__num.is-leave-left { transform: translateX(-110%); }
.sku-qty__num.is-leave-right { transform: translateX(110%); }
.sku-qty__num.is-enter-from-right { transform: translateX(110%); }
.sku-qty__num.is-enter-from-left { transform: translateX(-110%); }
.sku-qty__num.is-current { transform: translateX(0); }
.sku-drawer__code { margin: 1.15rem 0 0; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.08em; }
.sku-drawer .btn,
.buy-commit {
  width: 100%;
  margin-top: 1.1rem;
  min-height: 48px;
  background-color: var(--navy);
  background-image:
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt));
  background-repeat: no-repeat;
  background-position:
    left 2px top 2px, left 2px top 2px,
    right 2px top 2px, right 2px top 2px,
    left 2px bottom 2px, left 2px bottom 2px,
    right 2px bottom 2px, right 2px bottom 2px;
  background-size: 10px 1px, 1px 7px, 10px 1px, 1px 7px, 10px 1px, 1px 7px, 10px 1px, 1px 7px;
  transition: background-color 0.6s var(--ease), background-size 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.sku-drawer .btn:hover,
.sku-drawer .btn:focus-visible,
.btn.buy-commit:hover,
.btn.buy-commit:focus-visible {
  background-color: var(--navy-soft);
  background-image:
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt)),
    linear-gradient(var(--gilt), var(--gilt));
  background-repeat: no-repeat;
  background-position:
    left 2px top 2px, left 2px top 2px,
    right 2px top 2px, right 2px top 2px,
    left 2px bottom 2px, left 2px bottom 2px,
    right 2px bottom 2px, right 2px bottom 2px;
  background-size:
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px),
    calc(50% - 1px) 1px, 1px calc(50% - 1px);
}
.sku-drawer__more { margin: 1.25rem 0 0; }
.sku-drawer .text-link {
  border-bottom: 0;
  padding-bottom: 0;
}
.sku-drawer .text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: none;
  clip-path: none;
}

/* Detail configurator — Apple Buy-style rail + Loro gallery */
.buy-page { --buy-rail: min(420px, 32vw); --buy-header-pad: clamp(1.1rem, 3.2vw, 2.4rem); --buy-bar-h: 0px; }
html.buy-page.site-frame #main {
  padding-top: calc(var(--header-h) + var(--buy-bar-h));
}
.buy-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(251, 253, 254, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  --buy-chrome-lift: 0px;
  transform: translate3d(0, calc(-1 * var(--buy-chrome-lift)), 0);
  transition: transform 0.32s ease;
  will-change: transform;
}
.buy-chrome.is-compact {
  transform: translate3d(0, calc(-1 * var(--header-h) - var(--buy-chrome-lift)), 0);
}
.buy-chrome.is-underlay-lifting {
  transition: none;
}
.buy-chrome.is-underlay-hidden {
  pointer-events: none;
  visibility: hidden;
}
html.buy-page .buy-chrome .site-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
  height: var(--header-h);
  overflow: hidden;
  translate: none !important;
  transform: none !important;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
/* Mobile drawer / lang menu sit below the header bar — must not be clipped by
   overflow:hidden, and must stack above .buy-chrome__bar (z-index: 2). */
html.buy-page .buy-chrome .site-header:has(#primary-nav.is-open),
html.buy-page .buy-chrome .site-header:has(.lang-switch.is-open),
html.buy-page .buy-chrome .site-header:has(.lang-switch.is-closing),
html.buy-page .buy-chrome .site-header:has(.lang-switch:hover),
html.buy-page .buy-chrome .site-header:has(.lang-switch:focus-within) {
  overflow: visible;
  z-index: 3;
}
html.buy-page .buy-chrome:has(#primary-nav.is-open),
html.buy-page .buy-chrome:has(.lang-switch.is-open),
html.buy-page .buy-chrome:has(.lang-switch.is-closing),
html.buy-page .buy-chrome:has(.lang-switch:hover),
html.buy-page .buy-chrome:has(.lang-switch:focus-within) {
  /* Keep chrome above page content while drawer / lang menu is open */
  z-index: 120;
}
html.buy-page .buy-chrome.is-compact .site-header {
  pointer-events: none;
}
.buy-chrome__bar { position: relative; z-index: 2; }
.buy-wrap {
  max-width: none;
  margin: 0;
  padding: 0 0 4rem;
}
.buy__bar {
  position: relative;
  top: auto;
  z-index: 1;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid var(--line);
}
.buy__bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.75rem var(--buy-header-pad);
  transition: padding 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}
.buy__bar-main { min-width: 0; }
.buy__bar-name { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; }
.buy__bar-meta { margin: 0.15rem 0 0; font-size: 12px; color: var(--ink-soft); }
.buy__bar-side {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.buy__bar-price { margin: 0; font-size: 14px; white-space: nowrap; }
.buy-commit--bar {
  width: auto;
  min-width: 8.5rem;
  margin-top: 0;
  min-height: 36px;
  padding: 0 1rem;
  font-size: 12px;
}
.buy__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--buy-rail);
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: start;
  width: min(1380px, calc(100% - clamp(1.85rem, 5.25vw, 4.5rem)));
  margin: 0 auto;
  padding-top: 1.25rem;
}
.buy__gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  align-content: start;
  min-height: 0;
  background: transparent;
}
.buy__layout.is-synced .buy__gallery {
  position: sticky;
  top: calc(var(--header-h) + var(--buy-bar-h) + 0.75rem);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - var(--buy-bar-h) - 1.5rem);
  overflow: auto;
  scrollbar-width: none;
}
.buy__layout.is-synced .buy__gallery::-webkit-scrollbar { display: none; }
.buy-chrome.is-compact ~ #main .buy__layout.is-synced .buy__gallery {
  top: calc(var(--buy-bar-h) + 0.75rem);
  max-height: calc(100vh - var(--buy-bar-h) - 1.5rem);
}
.buy__gallery img {
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.buy-shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 4 / 7;
  outline: none;
  cursor: none;
  content-visibility: auto;
  contain-intrinsic-block-size: auto 780px;
}
/* Absolute fill: Safari often fails height:100% when parent height comes from aspect-ratio,
   so object-fit:cover never engages and portrait frames letterbox. */
.buy-shot__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.buy-shot__frame img[data-src] { visibility: hidden; }
.buy-shot__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
.buy-zoom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
  /* Exit: fade out. Enter snaps via .is-visible so the glass orb is never fully transparent. */
  transition: opacity 0.5s ease;
  color: #fff;
}
.buy-zoom-cursor.is-visible {
  opacity: 1;
  transition: opacity 0s;
}
.buy-zoom-cursor__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  /* Solid frosted fill; avoid live backdrop blur over large gallery images. */
  background: rgba(20, 20, 20, 0.48);
  transform: scale(0.2);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.buy-zoom-cursor.is-visible .buy-zoom-cursor__orb { transform: scale(1); }
.buy-zoom-cursor__orb img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
}
/* Loro-style fullscreen zoom */
.buy-lightbox {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #fff;
  cursor: none;
}
.buy-lightbox[hidden] { display: none !important; }
.buy-lightbox.is-motion .buy-lightbox__img { visibility: hidden; }
.buy-lightbox__ghost {
  position: fixed;
  z-index: 260;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.buy-lightbox__ghost img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  transform-origin: 0 0;
  pointer-events: none;
  user-select: none;
}
.buy-lightbox__rail {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 5.5rem;
  height: 100%;
  min-height: 0;
  align-self: stretch;
  overflow: hidden;
  background: #fff;
  cursor: auto;
}
.buy-lightbox__thumbs {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 22%, #000 78%, rgba(0, 0, 0, 0.35) 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 22%, #000 78%, rgba(0, 0, 0, 0.35) 90%, transparent 100%);
}
.buy-lightbox__track {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.buy-lightbox__track.is-instant { transition: none; }
.buy-lightbox__focus {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 3.6rem;
  height: 4.8rem;
  border: 1px solid #C3B0A5;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.buy-lightbox__thumb {
  width: 3.6rem;
  height: 4.8rem;
  padding: 0.2rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.buy-lightbox__thumb img {
  width: 55%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.buy-lightbox__nav {
  position: relative;
  z-index: 3;
  flex: 0 0 clamp(88px, 14%, 128px);
  width: 100%;
  height: clamp(88px, 14%, 128px);
  display: flex;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  cursor: pointer;
}
.buy-lightbox__nav--prev {
  top: 0;
  align-items: flex-end;
  padding-bottom: 0.35rem;
}
.buy-lightbox__nav--next {
  bottom: 0;
  align-items: flex-start;
  padding-top: 0.35rem;
}
.buy-lightbox__nav .ui-icon { width: 22px; height: 22px; }
.buy-lightbox__nav:hover,
.buy-lightbox__nav:focus-visible { color: var(--bronze); }
.buy-lightbox__nav:disabled {
  opacity: 0;
  pointer-events: none;
}
.buy-lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #fff;
  cursor: none;
  touch-action: none;
}
.buy-lightbox__img {
  width: min(1080px, calc(100% - 4rem));
  height: auto;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transform-origin: center center;
}
.buy-lightbox.is-system-cursor,
.buy-lightbox.is-system-cursor .buy-lightbox__stage {
  cursor: auto;
}
.buy-lightbox__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--ink);
  cursor: pointer;
  opacity: 0.72;
  transition:
    opacity 0.45s ease,
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}
.buy-lightbox.is-close-near .buy-lightbox__close {
  border-color: rgba(18, 52, 76, 0.28);
}
.buy-lightbox__close:hover,
.buy-lightbox__close:focus-visible {
  opacity: 1;
  border-color: rgba(18, 52, 76, 0.62);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.buy-lightbox__close .ui-icon { width: 16px; height: 16px; }
.buy-lightbox__cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  transform: translate(-50%, -50%);
  transition: opacity 0.68s ease;
}
.buy-lightbox__cursor.is-visible {
  opacity: 1;
  transition: opacity 0.18s ease;
}
.buy-lightbox__orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: scale(0.72);
  transition: transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.buy-lightbox__cursor.is-visible .buy-lightbox__orb {
  transform: scale(1);
  transition: transform 0.18s ease;
}
.buy-lightbox__cursor.is-leaving .buy-lightbox__orb {
  transform: scale(0.16);
}
.buy-lightbox__orb img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}
body.is-buy-lightbox { overflow: hidden; }
.buy__steps {
  position: sticky;
  /* Stay under the header slot. When the header slides away, this offset
     remains as a blank of the same height so the rail does not jump. */
  top: calc(var(--header-h) + var(--buy-bar-h) + 0.75rem);
  align-self: start;
}
.buy__layout.is-split .buy__steps {
  position: sticky;
}
.buy-config {
  position: relative;
  min-height: 0;
  padding: 0.35rem 0 2rem;
  justify-content: flex-start;
}
.buy-config > .bag-tile__wish {
  top: 0.35rem;
  right: 0;
}
.buy-config .sku-config {
  width: 100%;
}
.buy-config .sku-drawer__series {
  margin: 0;
}
.buy-config .sku-drawer__name {
  margin: 0.35rem 0 0;
}
.buy-config .buy__note,
.buy-config .note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}
/* Short desktop viewports (zoom / low height): tighten the sticky rail so
   ADD TO BAG stays in view without nested scrolling. */
@media (min-width: 861px) and (max-height: 920px) {
  .buy-config {
    padding: 0.2rem 0 1.15rem;
  }
  .buy-config .sku-drawer__name {
    font-size: 1.45rem;
    margin: 0.2rem 0 0;
  }
  .buy-config .sku-drawer__price {
    margin: 0.4rem 0 0.85rem;
  }
  .buy-config .sku-drawer__label {
    margin: 0.85rem 0 0.4rem;
  }
  .buy-config .sku-swatch {
    width: 34px;
    height: 34px;
  }
  .buy-config .sku-format {
    margin-top: 0.45rem;
    padding: 0.7rem 0.9rem;
  }
  .buy-config .sku-drawer__code {
    margin: 0.7rem 0 0;
  }
  .buy-config .buy-commit {
    margin-top: 0.75rem;
    min-height: 42px;
  }
}
@media (min-width: 861px) and (max-height: 780px) {
  .buy-config .sku-drawer__name {
    font-size: 1.28rem;
  }
  .buy-config .sku-drawer__price {
    margin: 0.3rem 0 0.55rem;
    font-size: 14px;
  }
  .buy-config .sku-drawer__label {
    margin: 0.55rem 0 0.3rem;
    font-size: 12px;
  }
  .buy-config .sku-swatch {
    width: 30px;
    height: 30px;
  }
  .buy-config .sku-format {
    margin-top: 0.3rem;
    padding: 0.5rem 0.75rem;
    font-size: 13px;
  }
  .buy-config .sku-drawer__code {
    margin: 0.5rem 0 0;
  }
  .buy-config .buy-commit {
    margin-top: 0.55rem;
    min-height: 40px;
  }
}
.buy__series {
  margin: 0;
  color: var(--bronze);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.buy__steps h1 {
  margin: 0.45rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  font-weight: 500;
  letter-spacing: 0;
}
.buy__lead {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.buy-step {
  margin-top: 0;
  min-height: calc(100vh - var(--header-h) - var(--buy-bar-h) - 2rem);
  padding: 1.25rem 0 2.5rem;
  scroll-margin-top: calc(var(--header-h) + var(--buy-bar-h) + 0.75rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.buy-step--intro {
  min-height: auto;
  padding: 0.35rem 0 1.5rem;
  justify-content: flex-start;
}
.buy-step h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.25;
}
.buy-step__label { color: var(--ink); }
.buy-step__ask { color: var(--ink-soft); font-weight: 400; }
.buy-option-group { display: flex; flex-direction: column; gap: 0.7rem; }
.buy-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 0;
  padding: 1.05rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.buy-option:hover { border-color: rgba(18, 52, 76, 0.35); }
.buy-option.is-on {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}
.buy-option__main { display: flex; flex-direction: column; gap: 0.2rem; }
.buy-option__main strong { font-weight: 500; font-size: 16px; }
.buy-option__main small { color: var(--ink-soft); font-size: 12px; }
.buy-option__price { font-size: 14px; white-space: nowrap; }
.buy-option--color .buy-option__main strong {
  display: inline-flex;
  align-items: center;
}
.buy-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: var(--swatch);
  vertical-align: -1px;
}
.buy__summary {
  margin-top: 0;
  padding-top: 0.5rem;
  border-top: 0;
}
.buy__sku { margin: 0; color: var(--ink-soft); font-size: 12px; letter-spacing: 0.06em; }
.buy__summary-price {
  margin: 0.65rem 0 0;
  font-size: 1.35rem;
  font-weight: 500;
}
.buy__note { margin: 0.7rem 0 0; color: var(--bronze); font-size: 13px; }
.buy-rec {
  box-sizing: border-box;
  width: 100%;
  margin: 8rem 0 0;
  padding: 3.6rem max(clamp(1rem, 4vw, 2.5rem), calc((100% - 1320px) / 2)) 3.4rem;
  border-top: 0;
  background: var(--mist);
  --bag-panel: var(--mist);
}
.buy-rec .bag-tile__media > a {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 3 / 4.6;
  line-height: 0;
  font-size: 0;
}
/* buy-rec 与全局一致：清外边距缝，保留 panel 顶 padding */
.buy-rec .bag-tile__media + .bag-tile__panel {
  margin-top: 0;
}
.buy-rec .bag-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.buy-rec .bag-tile__shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.mod__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.2rem;
}
.mod__cta--solid,
button.mod__cta {
  border: 0;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
}
.mod__cta--solid:hover,
button.mod__cta:hover { background: var(--navy-soft); }
@media (hover: none) {
  .buy__gallery,
  .buy-shot { cursor: auto; }
  .buy-zoom-cursor,
  .buy-lightbox__cursor { display: none; }
  .buy-lightbox { cursor: auto; }
  .buy-lightbox__stage { cursor: auto; }
}
@media (max-width: 980px) {
  .buy-page { --buy-rail: min(380px, 38vw); }
}
@media (max-width: 860px) {
  .buy__layout { grid-template-columns: 1fr; width: calc(100% - 2rem); }
  .buy__gallery,
  .buy__layout.is-synced .buy__gallery {
    position: relative;
    top: auto;
    max-height: none;
    cursor: auto;
  }
  .buy-shot { cursor: auto; }
  .buy__steps { position: relative; top: auto; }
  .buy-step {
    min-height: 0;
    padding: 1.75rem 0;
    justify-content: flex-start;
  }
  .buy__bar-inner { padding: 0.75rem 1rem; }
  .buy__bar-side { flex-direction: column; align-items: flex-end; gap: 0.4rem; }
  .buy-commit--bar { display: inline-flex; }
  .buy-zoom-cursor { display: none; }
  .buy-lightbox {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .buy-lightbox__stage {
    grid-row: 1;
    grid-column: 1;
    cursor: auto;
  }
  .buy-lightbox__rail {
    position: relative;
    grid-row: 2;
    grid-column: 1;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    width: 100%;
    height: 5.2rem;
    min-height: 5.2rem;
    align-self: stretch;
    padding: 0 0.15rem;
    z-index: 2;
    border-top: 1px solid rgba(18, 52, 76, 0.08);
  }
  .buy-lightbox__thumbs {
    min-width: 0;
    min-height: 0;
    touch-action: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.35) 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.35) 8%, #000 18%, #000 82%, rgba(0, 0, 0, 0.35) 92%, transparent 100%);
  }
  .buy-lightbox__track {
    flex-direction: row;
    height: 100%;
    align-items: center;
    width: max-content;
  }
  .buy-lightbox__focus {
    width: 2.8rem;
    height: 3.6rem;
  }
  .buy-lightbox__thumb {
    width: 2.8rem;
    height: 3.6rem;
  }
  .buy-lightbox__nav {
    flex: 0 0 3.25rem;
    width: 3.25rem;
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  .buy-lightbox__nav--prev,
  .buy-lightbox__nav--next {
    top: auto;
    bottom: auto;
    padding: 0;
    align-items: center;
  }
  .buy-lightbox__nav--prev .ui-icon,
  .buy-lightbox__nav--next .ui-icon {
    transform: rotate(-90deg);
  }
  .buy-lightbox__img {
    width: auto;
    max-width: calc(100% - 1.5rem);
    max-height: calc(100% - 1.25rem);
  }
  .buy-lightbox__close {
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
}
@media (max-width: 720px) {
  .sku-drawer { width: 100vw; }
  .sku-gallery__slide img { width: 100%; height: 100%; }
  .buy__gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sku-shade, .sku-shade__cursor, .sku-drawer, .sku-drawer .btn, .buy-commit, .sku-gallery__track,
  .buy-chrome, .buy__bar-inner,
  .buy-zoom-cursor, .buy-zoom-cursor__orb, .buy-lightbox__cursor, .buy-lightbox__orb,
  .buy-lightbox__track, .buy-lightbox__close,
  .sku-qty__num,
  .wish-icon__line, .wish-icon__top, .wish-icon__tail, .wish-icon__minus { transition: none; }
}
.ai-skin__status {
  margin: 0.55rem 0 0;
  min-height: 1.1em;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--bronze);
  text-align: center;
}
