:root {
  --mist: #f7f7f5;
  --silver: #dadada;
  --glacier: #dce3ea;
  --mist-glass: rgba(247, 247, 245, 0.82);
  --silver-glass: rgba(218, 218, 218, 0.58);
  --glacier-glass: rgba(220, 227, 234, 0.72);
  --glacier-soft: rgba(220, 227, 234, 0.36);
  --pearl: #fbfbfa;
  --platinum: #b8bec1;
  --ink: #2c3134;
  --muted: #626d72;
  --deep: #253034;
  --line: rgba(94, 103, 108, 0.16);
  --white: #fff;
  --shadow: 0 24px 70px rgba(54, 64, 69, 0.12);
  --soft-shadow: 0 14px 36px rgba(74, 83, 88, 0.09);
  --radius: 8px;
  --rail: 76px;
  --max: 1180px;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  --font-latin: Didot, "Bodoni 72", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  background:
    linear-gradient(112deg, rgba(220, 227, 234, 0.5) 0 18%, rgba(247, 247, 245, 0.12) 18% 58%, rgba(218, 218, 218, 0.3) 58% 100%),
    radial-gradient(circle at 74% 7%, rgba(220, 227, 234, 0.52), transparent 22rem),
    url("assets/qixin-silk-bg.png") center center / cover fixed no-repeat,
    var(--mist);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
}

body::before,
body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
}

body::before {
  background:
    linear-gradient(112deg, rgba(247, 247, 245, 0.58), transparent 18%, rgba(218, 218, 218, 0.22) 31%, transparent 46%),
    repeating-linear-gradient(98deg, rgba(220, 227, 234, 0.25) 0 1px, transparent 1px 16px);
  opacity: 0.9;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 78%);
}

body::after {
  background-image: url("assets/qixin-silk-bg.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.36;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select,
summary,
a {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7f9199;
  outline-offset: 3px;
}

.side-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  width: var(--rail);
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 12px 8px 18px;
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.94), rgba(220, 227, 234, 0.86)),
    var(--mist);
  border-right: 1px solid rgba(150, 157, 160, 0.26);
  box-shadow: 16px 0 42px rgba(50, 58, 62, 0.08);
  backdrop-filter: blur(18px);
}

.rail-logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.rail-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: none;
  image-rendering: auto;
  mix-blend-mode: normal;
}

.rail-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rail-action,
.rail-member {
  position: relative;
  width: 58px;
  min-height: 58px;
  display: grid;
  place-items: center;
  gap: 2px;
  margin: 0 auto;
  color: #596368;
  background: rgba(247, 247, 245, 0.46);
  border: 0;
  border-radius: 8px;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rail-action {
  padding: 7px 4px;
}

.rail-action svg,
.rail-member svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rail-action span {
  font-size: 0.66rem;
}

.rail-action:hover,
.rail-member:hover {
  color: var(--ink);
  background: linear-gradient(145deg, rgba(247, 247, 245, 0.92), rgba(220, 227, 234, 0.66));
  box-shadow: var(--soft-shadow);
}

.rail-action strong {
  position: absolute;
  top: 6px;
  right: 5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 0.64rem;
}

.site-canvas {
  min-height: 100vh;
  margin-left: var(--rail);
  overflow-x: clip;
}

.announcement {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding: 10px 20px;
  color: #596165;
  background: linear-gradient(90deg, rgba(247, 247, 245, 0.92), rgba(220, 227, 234, 0.54), rgba(247, 247, 245, 0.92));
  border-bottom: 1px solid rgba(218, 218, 218, 0.76);
  font-size: 0.76rem;
}

.announcement span:first-child {
  color: var(--ink);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: calc(var(--max) + 96px);
  min-height: 84px;
  margin: 0 auto 22px;
  padding: 14px 28px;
  background: linear-gradient(115deg, rgba(247, 247, 245, 0.9), rgba(220, 227, 234, 0.48));
  border: 0;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 14px 44px rgba(60, 69, 74, 0.08);
  backdrop-filter: blur(22px) saturate(1.06);
}

.brand-lockup img {
  width: 184px;
  height: 56px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: contrast(1.06) drop-shadow(0 1px 2px rgba(44, 49, 52, 0.12));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: #4f575b;
  font-size: 0.92rem;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: #9aa3a7;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.text-link {
  color: var(--muted);
  font-size: 0.84rem;
}

.cart-button,
.primary-action,
.secondary-action,
.filter-chip,
.sort-button,
.icon-button,
.add-button,
.wish-button {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(225, 231, 234, 0.5)), var(--mist);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 8px 24px rgba(64, 73, 78, 0.08);
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-button strong {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 0.72rem;
}

.commerce-tabs,
.category-tabs,
.page-tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  max-width: var(--max);
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.commerce-tabs {
  position: sticky;
  top: 84px;
  z-index: 60;
}

.commerce-tabs a,
.category-tabs a,
.page-tabs a {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #526066;
  border-right: 0;
  border-bottom: 1px solid rgba(96, 105, 110, 0.12);
  transition: background 180ms ease, color 180ms ease;
}

.commerce-tabs a:last-child,
.category-tabs a:last-child,
.page-tabs a:last-child {
  border-right: 0;
}

.commerce-tabs a:hover,
.commerce-tabs a.is-active,
.category-tabs a:hover,
.category-tabs a.is-active,
.page-tabs a:hover,
.page-tabs a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.48);
}

main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
}

.market-hero {
  position: relative;
  min-height: 560px;
  margin: 8px auto 0;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  border-bottom: 0;
}

.market-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(112deg, rgba(247, 247, 245, 0.56) 0 34%, rgba(220, 227, 234, 0.26) 34% 66%, rgba(247, 247, 245, 0.42) 66%),
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.38), transparent 22rem);
  opacity: 0.86;
  z-index: -1;
}

.hero-track {
  position: relative;
  min-height: 560px;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.76fr);
  gap: 0;
  opacity: 0;
  transform: translateX(2.5%);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 44px;
}

.hero-media img {
  width: min(660px, 84%);
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(60, 70, 76, 0.12));
  mix-blend-mode: normal;
}

.hero-mark-only img {
  width: min(410px, 62%);
  max-height: 430px;
}

.hero-product-line,
.hero-point-visual {
  isolation: isolate;
}

.hero-bottle {
  position: absolute;
  width: 108px;
  height: 205px;
  border-radius: 30px 30px 10px 10px;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.98), rgba(220, 227, 234, 0.92) 50%, rgba(218, 218, 218, 0.72)),
    var(--glacier);
  border: 1px solid rgba(170, 178, 182, 0.2);
  box-shadow: 24px 30px 48px rgba(80, 90, 96, 0.16);
}

.hero-bottle::before {
  position: absolute;
  top: -22px;
  left: 38px;
  width: 32px;
  height: 22px;
  content: "";
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(90deg, #fff, var(--silver));
  border: 1px solid rgba(115, 124, 128, 0.12);
}

.hero-bottle::after {
  position: absolute;
  inset: 78px 15px auto;
  content: "QIXIN";
  color: rgba(52, 59, 63, 0.55);
  font-family: var(--font-latin);
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-align: center;
}

.hero-bottle-one {
  left: 24%;
  top: 28%;
  transform: rotate(-4deg);
}

.hero-bottle-two {
  left: 44%;
  top: 20%;
  width: 126px;
  height: 230px;
  transform: translateX(-50%);
}

.hero-bottle-three {
  right: 24%;
  top: 32%;
  transform: rotate(4deg);
}

.point-orbit {
  position: relative;
  width: min(430px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: url("logo.png") center / 70% no-repeat;
  filter: contrast(1.06) drop-shadow(0 18px 32px rgba(44, 49, 52, 0.12));
  mix-blend-mode: normal;
}

.point-orbit::before,
.point-orbit::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(105, 116, 121, 0.16);
  border-radius: 50%;
}

.point-orbit::after {
  inset: 24%;
}

.point-orbit span {
  position: absolute;
  min-width: 90px;
  padding: 10px 14px;
  text-align: center;
  color: #4c575c;
  background: linear-gradient(145deg, rgba(247, 247, 245, 0.88), rgba(220, 227, 234, 0.72));
  border: 1px solid rgba(218, 218, 218, 0.72);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(73, 82, 87, 0.08);
  font-size: 0.78rem;
}

.point-orbit span:nth-child(1) {
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
}

.point-orbit span:nth-child(2) {
  left: 0;
  bottom: 28%;
}

.point-orbit span:nth-child(3) {
  right: 0;
  bottom: 28%;
}

.hero-dots {
  position: absolute;
  left: 66px;
  bottom: 34px;
  display: flex;
  gap: 9px;
  z-index: 4;
}

.hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border-radius: 999px;
  background: var(--silver);
}

.hero-dots button.is-active {
  background: #7c8b91;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 70px 56px 16px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #6d777b;
  background: rgba(255, 255, 255, 0.62);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(68, 76, 81, 0.1);
  transform: translateY(-50%);
  font-size: 2rem;
  line-height: 1;
}

.slider-arrow:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #7a8589;
  font-family: var(--font-latin);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 4.2vw, 4.35rem);
  line-height: 1.12;
  font-weight: 400;
  text-shadow: 0 1px 0 #fff, 0 16px 30px rgba(70, 78, 83, 0.06);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 3.1rem);
  line-height: 1.18;
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  font-weight: 500;
}

p,
li {
  color: #5c666a;
  line-height: 1.85;
}

.hero-copy p {
  max-width: 560px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.primary-action {
  color: #fff;
  background: linear-gradient(145deg, #4b585e, #253034 62%, #1f282b);
  border-color: #30373a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 34px rgba(34, 41, 44, 0.2);
}

.secondary-action {
  color: #4e585c;
  background: linear-gradient(145deg, rgba(247, 247, 245, 0.96), rgba(220, 227, 234, 0.68));
  border-color: rgba(218, 218, 218, 0.92);
}

.primary-action:hover,
.secondary-action:hover,
.filter-chip:hover,
.cart-button:hover,
.sort-button:hover,
.add-button:hover,
.wish-button:hover {
  border-color: rgba(71, 81, 86, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 36px rgba(59, 68, 73, 0.12);
}

.subscription-intro,
.shop-section,
.notes-section,
.content-page,
.values-grid,
.science-section,
.membership,
.journal,
.faq-section,
.contact-section {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(24px, 6vw, 92px);
  padding-right: clamp(24px, 6vw, 92px);
}

.page-hero {
  width: 100%;
  max-width: none;
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: 42px;
  margin: 0 auto;
  padding: 56px clamp(24px, 6vw, 92px);
  background: linear-gradient(115deg, rgba(247, 247, 245, 0.58) 0 42%, rgba(220, 227, 234, 0.24) 42% 78%, rgba(247, 247, 245, 0.36) 78%);
  border-bottom: 0;
}

.page-hero > *,
.subscription-intro > *,
.mock-section > *,
.notes-section > *,
.content-page > *,
.journal > *,
.faq-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.page-hero-visual {
  min-height: 260px;
  display: grid;
  place-items: center;
  position: relative;
}

.page-hero-visual img {
  width: min(520px, 86%);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(60, 70, 76, 0.14));
  mix-blend-mode: normal;
}

.page-tabs-row {
  max-width: var(--max);
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 34px auto 10px;
  padding: 0 44px 14px;
  border-bottom: 1px solid rgba(218, 218, 218, 0.86);
}

.page-tabs-row a,
.page-tabs-row button {
  color: #607075;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 2px 12px;
}

.page-tabs-row a.is-active,
.page-tabs-row button.is-active,
.page-tabs-row a:hover,
.page-tabs-row button:hover {
  color: var(--ink);
  border-bottom-color: var(--glacier);
}

.mock-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 44px;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mock-card {
  min-height: 210px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.92), rgba(255, 255, 255, 0.7)),
    var(--mist);
  border: 0;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(68, 78, 84, 0.07);
}

.mock-card:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.84), rgba(220, 227, 234, 0.5)),
    var(--glacier);
}

.mock-card:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(218, 218, 218, 0.46)),
    var(--silver);
}

.mock-card h3 {
  margin-bottom: 14px;
}

.login-shell {
  max-width: 980px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: 40px;
  margin: 0 auto;
  padding: 88px 44px;
}

.login-panel {
  padding: 34px;
  background: linear-gradient(155deg, rgba(247, 247, 245, 0.9), rgba(220, 227, 234, 0.54));
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-panel form {
  display: grid;
  gap: 16px;
}

.login-panel label {
  display: grid;
  gap: 8px;
  color: #4f595e;
}

.login-panel input {
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(247, 247, 245, 0.9);
  border: 1px solid rgba(170, 178, 182, 0.24);
  border-radius: 8px;
}

.login-status {
  min-height: 22px;
  color: #4f6f5a;
}

.login-benefits {
  grid-template-columns: 1fr;
  margin-top: 30px;
}

.login-benefits .mock-card {
  min-height: auto;
}

.login-links {
  justify-content: flex-start;
  gap: 28px;
  margin: 24px 0 0;
  padding: 0;
  border-bottom: 0;
}

.subscription-intro {
  padding-top: 86px;
  padding-bottom: 52px;
}

.category-tabs {
  margin-bottom: 52px;
}

.intro-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro-copy h2 {
  margin-bottom: 24px;
  color: #455d66;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
}

.intro-copy ul {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 26px auto 0;
  padding: 0;
  list-style: none;
}

.intro-copy li {
  color: #52656c;
}

.shop-section {
  padding-top: 42px;
  padding-bottom: 72px;
  background:
    linear-gradient(180deg, rgba(247, 247, 245, 0.28), rgba(220, 227, 234, 0.1) 55%, rgba(247, 247, 245, 0.34)),
    linear-gradient(90deg, rgba(247, 247, 245, 0.06), transparent 34%, rgba(220, 227, 234, 0.12));
  border-top: 0;
}

.shop-section > .shop-toolbar,
.shop-section > .shop-mode-tabs,
.shop-section > .shop-controls,
.shop-section > .product-grid {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.shop-toolbar h2 {
  margin-bottom: 0;
}

.shop-sort {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sort-button,
.shop-sort select {
  min-height: 38px;
  padding: 0 14px;
  color: #657075;
  background: rgba(247, 247, 245, 0.84);
  border: 0;
  border-radius: 6px;
}

.shop-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 26px;
}

.shop-mode-tabs {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin: 20px 0 30px;
  border-bottom: 1px solid rgba(147, 157, 162, 0.12);
}

.shop-mode-tabs button {
  min-height: 52px;
  padding: 0 4px;
  color: #607075;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
}

.shop-mode-tabs button:hover,
.shop-mode-tabs button.is-active {
  color: var(--ink);
  border-bottom-color: var(--glacier);
}

.filter-chip {
  min-height: 38px;
  padding: 0 15px;
  color: #596368;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid transparent;
}

.filter-chip.is-active {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(247, 247, 245, 0.2), rgba(220, 227, 234, 0.44));
  border-bottom-color: #7c8b91;
}

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

.empty-products {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #607075;
  background: linear-gradient(135deg, rgba(247, 247, 245, 0.78), rgba(220, 227, 234, 0.48));
  border-radius: 8px;
}

.product-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 247, 245, 0.74)),
    var(--mist);
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 22px 58px rgba(58, 67, 72, 0.13), 0 1px 0 rgba(255, 255, 255, 0.72) inset;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px rgba(58, 67, 72, 0.17), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.product-visual {
  position: relative;
  min-height: 210px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(247, 247, 245, 0.1), rgba(220, 227, 234, 0.2));
  overflow: hidden;
}

.product-visual::before {
  display: none;
}

.bottle {
  position: relative;
  z-index: 1;
  width: 80px;
  height: 148px;
  border-radius: 24px 24px 8px 8px;
  background: linear-gradient(90deg, rgba(247, 247, 245, 0.96), rgba(220, 227, 234, 0.9) 50%, rgba(218, 218, 218, 0.58)), var(--glacier);
  border: 1px solid rgba(136, 146, 151, 0.18);
  box-shadow: 18px 22px 34px rgba(80, 90, 96, 0.18);
}

.bottle::before {
  position: absolute;
  top: -18px;
  left: 27px;
  width: 28px;
  height: 18px;
  content: "";
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(90deg, #fff, var(--silver));
  border: 1px solid rgba(115, 124, 128, 0.16);
}

.bottle::after {
  position: absolute;
  inset: 54px 12px auto;
  content: "QIXIN";
  color: rgba(52, 59, 63, 0.54);
  font-family: var(--font-latin);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-align: center;
}

.wish-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #61706c;
  background: rgba(247, 247, 245, 0.84);
  border: 0;
}

.wish-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.product-tag {
  color: #728087;
  font-size: 0.76rem;
}

.product-info h3 {
  min-height: 58px;
  margin: 9px 0 10px;
}

.product-info p {
  flex: 1;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.product-price {
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.product-actions select {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  color: #657075;
  background: rgba(247, 247, 245, 0.88);
  border: 0;
  border-radius: 6px;
  font-size: 0.78rem;
}

.add-button {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #50616a, #253034);
}

.add-button[disabled] {
  color: #7b8488;
  background: var(--silver);
  border-color: #c8d0d3;
  cursor: not-allowed;
}

.add-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.notes-section {
  padding-top: 34px;
  padding-bottom: 96px;
  text-align: center;
}

.notes-section h2 {
  color: #455d66;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.notes-section ol {
  max-width: 760px;
  margin: 28px auto 0;
  text-align: left;
}

.content-page {
  padding-top: 82px;
  padding-bottom: 76px;
  border-top: 1px solid rgba(218, 218, 218, 0.72);
}

.page-tabs {
  margin-bottom: 56px;
}

.content-layout,
.science-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
}

.text-flow p,
.science-copy p,
.membership p,
.contact-copy p,
.faq-list p,
.journal p,
.cart-summary p {
  color: #5c666a;
  line-height: 2;
}

.values-grid {
  padding-bottom: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.values-grid article {
  min-height: 230px;
  padding: 26px;
  background:
    linear-gradient(152deg, rgba(247, 247, 245, 0.94), rgba(255, 255, 255, 0.56)),
    var(--mist);
  border: 1px solid rgba(218, 218, 218, 0.72);
  box-shadow: 0 16px 40px rgba(67, 76, 82, 0.07);
}

.values-grid article:nth-child(2),
.values-grid article:nth-child(4) {
  background:
    linear-gradient(152deg, rgba(247, 247, 245, 0.82), rgba(220, 227, 234, 0.56)),
    var(--glacier);
}

.values-grid article:nth-child(3) {
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.72), rgba(218, 218, 218, 0.44)),
    var(--silver);
}

.values-grid span {
  color: #8d979b;
  font-family: var(--font-latin);
  font-size: 0.85rem;
}

.values-grid h3 {
  margin: 40px 0 18px;
  font-family: var(--font-latin);
  font-size: 1.55rem;
}

.science-section {
  padding-top: 84px;
  padding-bottom: 92px;
  background: linear-gradient(110deg, rgba(247, 247, 245, 0.72), rgba(220, 227, 234, 0.24));
  border-top: 1px solid rgba(218, 218, 218, 0.72);
}

.identity-panel {
  padding: 18px;
  background: linear-gradient(145deg, rgba(247, 247, 245, 0.92), rgba(220, 227, 234, 0.42));
  border: 1px solid rgba(218, 218, 218, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.identity-panel img {
  width: 100%;
  aspect-ratio: 2.58 / 1;
  object-fit: cover;
  border-radius: 5px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.swatches span {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 16px;
  color: #4e565a;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0)), var(--swatch);
  border: 1px solid rgba(120, 130, 135, 0.18);
  border-radius: var(--radius);
  font-size: 0.83rem;
  line-height: 1.8;
}

.membership {
  display: grid;
  grid-template-columns: 0.72fr 1fr auto;
  align-items: center;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 38px;
  background:
    linear-gradient(120deg, rgba(247, 247, 245, 0.86) 0 38%, rgba(220, 227, 234, 0.58) 38% 76%, rgba(218, 218, 218, 0.34) 76%),
    var(--glacier);
  border-top: 1px solid rgba(218, 218, 218, 0.8);
  border-bottom: 1px solid rgba(218, 218, 218, 0.8);
}

.membership h2 {
  margin-bottom: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.journal {
  padding-top: 88px;
  padding-bottom: 70px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(218, 218, 218, 0.82);
  border: 1px solid rgba(218, 218, 218, 0.82);
}

.journal article {
  min-height: 246px;
  padding: 28px;
  background: rgba(247, 247, 245, 0.84);
}

.journal article:nth-child(2) {
  background: rgba(220, 227, 234, 0.52);
}

.journal time {
  color: #818b90;
  font-family: var(--font-latin);
  font-size: 0.8rem;
}

.journal h3 {
  margin: 42px 0 14px;
}

.faq-section {
  padding-top: 76px;
  padding-bottom: 84px;
  border-top: 1px solid var(--line);
}

.faq-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: #30373a;
  font-size: 1.04rem;
}

.faq-list p {
  margin: 16px 0 0;
  max-width: 760px;
}

.contact-section {
  grid-template-columns: minmax(320px, 540px) minmax(320px, 430px);
  justify-content: center;
  column-gap: clamp(44px, 7vw, 108px);
  padding-top: 84px;
  padding-bottom: 92px;
  width: calc(100% - clamp(20px, 4vw, 56px));
  margin: 0 auto 54px;
  background:
    linear-gradient(135deg, rgba(247, 247, 245, 0.78), rgba(220, 227, 234, 0.62)),
    var(--glacier);
  border-top: 0;
  border-radius: 22px;
  box-shadow: 0 28px 78px rgba(58, 67, 72, 0.08);
}

.contact-section > * {
  max-width: none;
}

.contact-section > .contact-copy {
  width: min(540px, 100%);
  justify-self: end;
}

.contact-section > .inquiry-form {
  width: min(430px, 100%);
  justify-self: start;
}

address {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  color: #5d666a;
  font-style: normal;
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: linear-gradient(155deg, rgba(247, 247, 245, 0.94), rgba(220, 227, 234, 0.52));
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: #4f595e;
  font-size: 0.9rem;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(247, 247, 245, 0.9);
  border: 1px solid rgba(145, 154, 158, 0.22);
  border-radius: var(--radius);
}

.inquiry-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #4f6f5a;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 34px;
  padding: 48px 44px 28px;
  color: #626d72;
  background: linear-gradient(180deg, rgba(247, 247, 245, 0.48), rgba(220, 227, 234, 0.32));
  border-top: 0;
}

.footer-brand img {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  filter: contrast(1.06) drop-shadow(0 1px 2px rgba(44, 49, 52, 0.1));
}

.footer-brand p {
  max-width: 330px;
  margin: 16px 0 6px;
}

.footer-brand span,
.footer-bottom,
.footer-column a,
.footer-column p {
  color: #657075;
  font-size: 0.86rem;
}

.footer-brand span {
  font-family: var(--font-latin);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0;
}

.footer-column p {
  margin: 0;
  line-height: 1.8;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--ink);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 22px;
  padding-top: 24px;
  border-top: 1px solid rgba(147, 157, 162, 0.14);
}

.footer-bottom a {
  margin-left: 18px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  background: rgba(26, 31, 34, 0);
  pointer-events: none;
  transition: background 220ms ease;
}

.cart-drawer.is-open {
  background: rgba(26, 31, 34, 0.28);
  pointer-events: auto;
}

.cart-panel {
  width: min(430px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(247, 247, 245, 0.96), rgba(220, 227, 234, 0.78)),
    var(--glacier);
  box-shadow: -24px 0 60px rgba(36, 43, 47, 0.18);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cart-drawer.is-open .cart-panel {
  transform: translateX(0);
}

.cart-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-logo {
  width: 180px;
  height: 58px;
  margin-bottom: 10px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: contrast(1.06) drop-shadow(0 1px 2px rgba(44, 49, 52, 0.1));
}

.cart-panel-header h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(247, 247, 245, 0.82);
  font-size: 1.6rem;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 0;
}

.empty-cart {
  color: var(--muted);
  line-height: 1.8;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity-control button,
.remove-button {
  border: 0;
  background: rgba(247, 247, 245, 0.84);
}

.quantity-control span {
  text-align: center;
  font-size: 0.9rem;
}

.remove-button {
  grid-column: 2;
  margin-top: 8px;
  color: #7a4b4b;
  font-size: 0.78rem;
}

.cart-summary {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.full {
  width: 100%;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(37, 48, 52, 0);
  pointer-events: none;
  transition: background 220ms ease;
}

.menu-overlay.is-open {
  background: rgba(37, 48, 52, 0.32);
  pointer-events: auto;
}

.menu-panel {
  width: min(960px, calc(100vw - 72px));
  min-height: 520px;
  padding: 34px;
  background:
    linear-gradient(120deg, rgba(247, 247, 245, 0.92) 0 38%, rgba(220, 227, 234, 0.78) 38% 78%, rgba(218, 218, 218, 0.44) 78%),
    url("assets/qixin-silk-bg.png") center center / cover no-repeat;
  border: 1px solid rgba(218, 218, 218, 0.68);
  border-radius: 8px;
  box-shadow: 0 34px 100px rgba(34, 42, 46, 0.22);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 220ms ease, transform 220ms ease;
}

.menu-overlay.is-open .menu-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.menu-panel-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.menu-panel-header img {
  width: 230px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: normal;
  filter: contrast(1.06) drop-shadow(0 1px 2px rgba(44, 49, 52, 0.1));
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.menu-grid section {
  display: grid;
  align-content: start;
  gap: 14px;
}

.menu-grid h2 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.menu-grid a {
  padding: 12px 0;
  color: #465257;
  border-bottom: 1px solid rgba(160, 168, 172, 0.22);
  font-size: 1.02rem;
}

.menu-grid a:hover {
  color: var(--ink);
}

@media (max-width: 1180px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: 170px 1fr auto;
  }

  .main-nav {
    gap: 16px;
  }
}

@media (max-width: 920px) {
  :root {
    --rail: 0px;
  }

  .side-rail {
    inset: auto 0 0;
    width: 100vw;
    height: 66px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 6px 10px;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .rail-logo,
  .rail-member {
    display: none;
  }

  .rail-nav {
    grid-auto-flow: column;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }

  .rail-action[data-cart-open] {
    display: none;
  }

  .rail-action {
    width: 100%;
    min-height: 52px;
  }

  .site-canvas {
    margin-left: 0;
    padding-bottom: 66px;
  }

  .site-header {
    grid-template-columns: 76px 1fr auto;
    min-height: 76px;
    margin-bottom: 18px;
    padding: 12px 20px;
  }

  .brand-lockup {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
  }

  .brand-lockup img {
    content: url("logo.png");
    width: 58px;
    height: 58px;
    object-fit: contain;
    object-position: center;
    filter: none;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(248, 248, 246, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .market-hero,
  .hero-slide,
  .page-hero,
  .login-shell,
  .content-layout,
  .science-section,
  .contact-section,
  .membership {
    grid-template-columns: 1fr;
  }

  .contact-section {
    justify-content: stretch;
    row-gap: 36px;
  }

  .contact-section > .contact-copy,
  .contact-section > .inquiry-form {
    width: 100%;
    justify-self: stretch;
  }

  .mock-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 20px 44px 58px;
  }

  .product-grid,
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .announcement {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
  }

  .site-header {
    grid-template-columns: 58px 1fr auto;
    gap: 10px;
    min-height: 70px;
    margin-bottom: 14px;
    padding: 10px 14px;
  }

  .brand-lockup {
    width: 50px;
    height: 50px;
  }

  .brand-lockup img {
    width: 48px;
    height: 48px;
  }

  .header-actions .text-link,
  .cart-button span {
    display: none;
  }

  .commerce-tabs {
    top: 70px;
  }

  .commerce-tabs,
  .category-tabs,
  .page-tabs,
  .page-tabs-row {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .commerce-tabs::-webkit-scrollbar,
  .category-tabs::-webkit-scrollbar,
  .page-tabs::-webkit-scrollbar,
  .page-tabs-row::-webkit-scrollbar {
    display: none;
  }

  .commerce-tabs a,
  .category-tabs a,
  .page-tabs a,
  .page-tabs-row a {
    min-width: 136px;
    flex: 1 0 136px;
  }

  .market-hero {
    min-height: auto;
    margin-top: 4px;
  }

  .hero-track {
    min-height: 690px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 320px;
    padding: 30px 16px;
  }

  .hero-media img {
    width: min(310px, 86%);
  }

  .hero-bottle {
    width: 74px;
    height: 142px;
  }

  .hero-bottle::before {
    top: -16px;
    left: 26px;
    width: 23px;
    height: 16px;
  }

  .hero-bottle::after {
    inset: 52px 10px auto;
    font-size: 0.5rem;
  }

  .hero-bottle-two {
    width: 88px;
    height: 164px;
  }

  .point-orbit {
    width: min(290px, 80vw);
  }

  .hero-copy {
    padding: 10px 22px 42px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .slider-prev {
    left: 12px;
  }

  .slider-next {
    right: 12px;
  }

  .hero-dots {
    top: 300px;
    left: 50%;
    bottom: auto;
    transform: translateX(-50%);
  }

  h1 {
    font-size: clamp(2.15rem, 10.8vw, 3rem);
  }

  .subscription-intro,
  .shop-section,
  .notes-section,
  .page-hero,
  .mock-section,
  .login-shell,
  .content-page,
  .values-grid,
  .science-section,
  .membership,
  .journal,
  .faq-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .shop-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .shop-controls {
    justify-content: flex-start;
  }

  .shop-mode-tabs {
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .shop-mode-tabs::-webkit-scrollbar {
    display: none;
  }

  .shop-mode-tabs button {
    flex: 0 0 auto;
  }

  .product-grid,
  .values-grid,
  .swatches,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .site-footer {
    gap: 24px;
    padding: 36px 20px 92px;
  }

  .footer-brand img {
    width: 168px;
    height: 52px;
  }

  .footer-bottom {
    display: grid;
    justify-content: start;
  }

  .footer-bottom a {
    margin-left: 0;
  }

  .menu-overlay {
    padding: 14px;
  }

  .menu-panel {
    width: calc(100vw - 28px);
    min-height: auto;
    max-height: calc(100vh - 28px);
    overflow: auto;
    padding: 22px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
