/* ============================================================
   云顶小铺 · 前台样式
   设计基调：米白纸感 + 墨色文字 + 陶土红点缀
   ============================================================ */

:root {
  --paper: #f7f4ee;
  --paper-2: #fffdf8;
  --paper-3: #f1ece2;
  --ink: #1a1815;
  --ink-2: #514c45;
  --muted: #8b8378;
  --line: #e5dfd3;
  --line-2: #d6cebe;
  --accent: #b5432b;
  --accent-dark: #96341f;
  --gold: #b08d4f;
  --ok: #3d7a5a;
  --danger: #a3341f;
  --r: 14px;
  --shadow-sm: 0 1px 2px rgba(26, 24, 21, 0.04);
  --shadow: 0 18px 50px -28px rgba(26, 24, 21, 0.35);
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", Georgia, serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(60% 40% at 12% 0%, rgba(181, 67, 43, 0.05), transparent 70%),
    radial-gradient(50% 40% at 92% 12%, rgba(176, 141, 79, 0.08), transparent 70%);
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.muted {
  color: var(--muted);
}

.muted-inline {
  color: var(--muted);
  font-size: 12px;
  margin-left: 6px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ───────────────────────── 公告 / 顶栏 ───────────────────────── */

.announce {
  position: relative;
  z-index: 30;
  background: var(--ink);
  color: #efe8dc;
}

.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-align: center;
}

.announce-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  background: var(--paper-2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.brand-text em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.32em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  color: var(--ink-2);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 16px !important;
  background: var(--paper-2);
}

.nav-cart::after {
  display: none;
}

.cart-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper-2);
  cursor: pointer;
  padding: 0;
  place-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink);
}

/* ───────────────────────── Flash ───────────────────────── */

.flash {
  position: fixed;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(92vw, 520px);
  padding: 12px 14px 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #f6efe3;
  font-size: 13px;
  box-shadow: var(--shadow);
  animation: flash-in 0.3s ease both;
}

.flash-error {
  background: var(--danger);
}

.flash-close {
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: inherit;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
  flex: none;
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translate(-50%, -8px);
  }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  z-index: 70;
  transform: translate(-50%, 10px);
  opacity: 0;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #f6efe3;
  font-size: 12px;
  max-width: 88vw;
  text-align: center;
  box-shadow: var(--shadow);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ───────────────────────── Hero ───────────────────────── */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 100px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 86px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.hero-dot {
  color: var(--accent);
}

.hero-tagline {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

.hero-desc {
  margin-top: 22px;
  max-width: 40ch;
  color: var(--ink-2);
  line-height: 2;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-meta dt {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-meta dd {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(100%, 460px);
}

/* 还没有商品时：隐藏右侧空栏，让文案占满一栏 */
.hero-solo .hero-grid {
  grid-template-columns: minmax(0, 720px);
}

.hero-solo .hero-art {
  display: none;
}

.hero-solo .hero-desc {
  max-width: 46ch;
}

.hero-frame {
  display: block;
  background: #fff;
  padding: 12px 12px 0;
  box-shadow: 0 30px 70px -34px rgba(26, 24, 21, 0.45);
  transform: rotate(-2.2deg);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.hero-frame:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-frame-inner {
  display: block;
  overflow: hidden;
  background: var(--paper-3);
}

.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.hero-frame:hover img {
  transform: scale(1.03);
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 4px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero-caption-price {
  color: var(--accent);
  font-weight: 600;
}

.hero-stamp {
  position: absolute;
  left: -26px;
  bottom: 54px;
  padding: 10px 12px;
  border: 1px dashed var(--line-2);
  border-radius: 50%;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  font-size: 9px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
  transform: rotate(-9deg);
  background: rgba(247, 244, 238, 0.9);
}

/* ───────────────────────── 页码头 / 分区标题 ───────────────────────── */

.page-head {
  padding: clamp(40px, 5vw, 64px) 0 28px;
}

.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 42px);
  letter-spacing: 0.02em;
}

.page-head-sub {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.section-head {
  display: block;
  margin-bottom: 26px;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
}

/* ───────────────────────── 商品列表 ───────────────────────── */

.catalog {
  padding-bottom: clamp(48px, 6vw, 80px);
}

.catalog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 26px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  background: transparent;
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

.chip-num {
  font-size: 10px;
  opacity: 0.55;
}

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-2);
  padding: 0 6px 0 14px;
  height: 38px;
}

.search input {
  border: 0;
  background: transparent;
  outline: none;
  font-size: 12px;
  width: 132px;
  color: var(--ink);
}

.search button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.search button:hover {
  color: var(--ink);
  background: var(--paper-3);
}

.sort select {
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--paper-2);
  padding: 0 14px;
  font-size: 12px;
  color: var(--ink-2);
  outline: none;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 40px 24px;
}

.card {
  opacity: 0;
  animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}

.card:nth-child(2) { animation-delay: 0.04s; }
.card:nth-child(3) { animation-delay: 0.08s; }
.card:nth-child(4) { animation-delay: 0.12s; }
.card:nth-child(5) { animation-delay: 0.16s; }
.card:nth-child(6) { animation-delay: 0.2s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paper-3);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.card:hover .card-media img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.94);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink);
  backdrop-filter: blur(4px);
}

.badge-out {
  background: rgba(26, 24, 21, 0.82);
  color: #f4ede2;
}

.card-body {
  padding: 16px 2px 0;
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card-title a {
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s ease;
}

.card-title a:hover {
  background-size: 100% 1px;
}

.card-sub {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-bottom {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 12px;
}

.price {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.card-stock {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
  font-size: 12px;
}

.pager-link {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 16px;
  transition: all 0.2s ease;
}

.pager-link:hover {
  border-color: var(--ink);
}

.pager-now {
  color: var(--muted);
  letter-spacing: 0.1em;
}

.empty {
  text-align: center;
  padding: 80px 24px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--paper-2);
}

.empty-title {
  font-family: var(--serif);
  font-size: 24px;
}

.empty-desc {
  margin: 10px 0 24px;
  color: var(--muted);
  font-size: 13px;
}

/* ───────────────────────── 承诺条 ───────────────────────── */

.promise {
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0;
}

.promise-item h3 {
  margin: 10px 0 8px;
  font-size: 15px;
  font-weight: 500;
}

.promise-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}

.promise-num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.2em;
}

/* ───────────────────────── 面包屑 ───────────────────────── */

.crumbs {
  display: flex;
  gap: 8px;
  padding: 28px 0 4px;
  font-size: 11px;
  color: var(--muted);
}

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

.crumbs-now {
  color: var(--ink-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 50vw;
}

/* ───────────────────────── 商品详情 ───────────────────────── */

.product {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(28px, 5vw, 64px);
  padding: 28px 0 clamp(48px, 6vw, 72px);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 104px;
}

.gallery-main {
  position: relative;
  background: var(--paper-3);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb {
  width: 72px;
  height: 90px;
  flex: none;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-3);
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb:hover {
  opacity: 1;
}

.thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.product-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.product-sub {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 14px;
}

.product-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 8px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-lg {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.product-stock {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.buy-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-top: 4px;
}

.field-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.variants {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  cursor: pointer;
  background: var(--paper-2);
  transition: all 0.2s ease;
  min-width: 96px;
}

.variant input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant:hover {
  border-color: var(--ink);
}

.variant:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper-2);
}

.variant-name {
  font-size: 13px;
}

.variant-price {
  font-size: 11px;
  opacity: 0.65;
}

.variant-out {
  position: absolute;
  top: -8px;
  right: -6px;
  background: var(--paper-3);
  border: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 999px;
}

.variant.is-out {
  opacity: 0.5;
  cursor: not-allowed;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: var(--paper-2);
  height: 44px;
}

.qty-btn {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-2);
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: var(--paper-3);
}

.qty input {
  width: 48px;
  height: 100%;
  border: 0;
  text-align: center;
  background: transparent;
  font-size: 14px;
  font-family: var(--sans);
  outline: none;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-sm {
  height: 36px;
}

.qty-sm .qty-btn {
  width: 32px;
}

.qty-sm input {
  width: 38px;
  font-size: 13px;
}

.buy-actions {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.22s ease;
  background: transparent;
  text-align: center;
  line-height: 1.4;
  font-family: var(--sans);
}

.btn-primary {
  background: var(--ink);
  color: #f7f1e6;
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
}

.btn-danger {
  border-color: rgba(163, 52, 31, 0.35);
  color: var(--danger);
  background: rgba(163, 52, 31, 0.04);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}

.btn-mini {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-block {
  width: 100%;
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.out-note {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.product-points {
  list-style: none;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-2);
}

.product-points li {
  display: flex;
  gap: 14px;
}

.point-label {
  flex: none;
  width: 40px;
  color: var(--muted);
  letter-spacing: 0.1em;
  font-size: 10px;
  text-transform: uppercase;
  padding-top: 3px;
}

.product-desc {
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.prose {
  max-width: 68ch;
  color: var(--ink-2);
  line-height: 2.05;
  font-size: 14px;
}

.prose p + p {
  margin-top: 10px;
}

.related {
  padding-bottom: clamp(56px, 7vw, 90px);
}

/* ───────────────────────── 购物车 ───────────────────────── */

.cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 90px);
  align-items: start;
}

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

.cart-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row.is-out {
  opacity: 0.6;
}

.cart-thumb {
  width: 84px;
  height: 105px;
  border-radius: 3px;
  overflow: hidden;
  background: var(--paper-3);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-main h3 {
  font-size: 14px;
  font-weight: 500;
}

.cart-meta {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.cart-warn {
  margin-top: 6px;
  font-size: 11px;
  color: var(--danger);
}

.cart-line-total {
  font-size: 14px;
  font-weight: 600;
  min-width: 72px;
  text-align: right;
}

.cart-remove {
  margin: 0;
}

.link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
}

.link-btn:hover {
  color: var(--ink);
}

.link-danger:hover {
  color: var(--danger);
}

.cart-summary,
.order-summary {
  position: sticky;
  top: 104px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: 28px;
}

.cart-summary h2,
.order-summary h2 {
  font-family: var(--serif);
  font-size: 20px;
  margin-bottom: 20px;
}

.sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ink-2);
}

.sum-total {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  color: var(--ink);
  font-weight: 600;
}

.sum-tip {
  margin: 6px 0 0;
  padding: 8px 12px;
  background: rgba(176, 141, 79, 0.1);
  border-radius: 8px;
  font-size: 11px;
  color: #7d6330;
}

.sum-note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.cart-summary .btn {
  margin-top: 20px;
}

.sum-back {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ───────────────────────── 结算 ───────────────────────── */

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(56px, 7vw, 90px);
  align-items: start;
}

.card-panel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: 28px;
}

.card-panel + .card-panel {
  margin-top: 20px;
}

.panel-title {
  font-family: var(--serif);
  font-size: 19px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.input-field > span {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.input-field > span em {
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  opacity: 0.8;
}

.input-field input,
.input-field textarea,
.input-field select {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--paper);
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-field input:focus,
.input-field textarea:focus,
.input-field select:focus {
  border-color: var(--ink);
  background: #fff;
}

.input-field textarea {
  resize: vertical;
  line-height: 1.8;
}

.checkout-form .form-grid {
  margin-bottom: 16px;
}

.checkout-form .input-field + .input-field {
  margin-top: 16px;
}

.checkout-form .form-grid .input-field + .input-field {
  margin-top: 0;
}

.form-errors {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(163, 52, 31, 0.06);
  border: 1px solid rgba(163, 52, 31, 0.2);
  color: var(--danger);
  font-size: 12px;
}

.form-errors p {
  font-weight: 600;
  margin-bottom: 4px;
}

.form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.pay-method {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}

.pay-method-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.pay-method-value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pay-method-value em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}

.pay-method-value.is-off {
  color: var(--danger);
  font-weight: 400;
  font-size: 12px;
}

.pay-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #1677ff;
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.form-foot {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.8;
}

.form-foot a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary-items {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.summary-items li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.summary-items img {
  width: 52px;
  height: 64px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--paper-3);
}

.summary-title {
  font-size: 13px;
  line-height: 1.5;
}

.summary-meta {
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted);
}

.summary-price {
  font-size: 13px;
  font-weight: 500;
}

/* ───────────────────────── 支付页 ───────────────────────── */

.pay {
  padding: clamp(36px, 5vw, 64px) 24px clamp(56px, 7vw, 90px);
}

.pay-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 36px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.pay-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pay-step i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 10px;
}

.pay-step.is-done i {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.pay-step.is-now {
  color: var(--ink);
}

.pay-step.is-now i {
  border-color: var(--accent);
  color: var(--accent);
}

.pay-card {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.pay-amount {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.pay-order {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.pay-order strong {
  color: var(--ink-2);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 1px dashed var(--line-2);
}

.pay-lead {
  margin: 28px auto 20px;
  max-width: 36ch;
  font-size: 13px;
  color: var(--ink-2);
}

.pay-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
}

.qr-box {
  margin: 28px auto 14px;
  width: 248px;
  height: 248px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.qr-box img {
  width: 100%;
  height: 100%;
}

.qr-tip {
  font-size: 12px;
  color: var(--muted);
}

.qr-tip strong {
  color: #1677ff;
  font-weight: 600;
}

.pay-alert {
  margin: 26px 0 8px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(176, 141, 79, 0.09);
  border: 1px solid rgba(176, 141, 79, 0.25);
  font-size: 13px;
  color: var(--ink-2);
}

.pay-alert.error {
  background: rgba(163, 52, 31, 0.05);
  border-color: rgba(163, 52, 31, 0.22);
}

.pay-alert-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.pay-alert .btn {
  margin-top: 16px;
}

.pay-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 28px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}

.pay-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 12px;
}

.pay-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-2);
}

.pay-notice {
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.9;
}

/* ───────────────────────── 订单 ───────────────────────── */

.order-head .order-no {
  font-family: var(--sans);
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.order-head .page-head-sub {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(56px, 7vw, 90px);
  align-items: start;
}

.order-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 20px 24px;
  border-radius: var(--r);
  background: rgba(181, 67, 43, 0.06);
  border: 1px solid rgba(181, 67, 43, 0.18);
}

.order-action-bar.is-shipped {
  background: rgba(61, 122, 90, 0.06);
  border-color: rgba(61, 122, 90, 0.2);
}

.order-action-title {
  font-family: var(--serif);
  font-size: 17px;
  margin-bottom: 4px;
}

.order-action-btns {
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-action-btns form {
  margin: 0;
}

.order-shipped-at {
  font-size: 12px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status-pending {
  color: #9a6b1f;
  background: rgba(176, 141, 79, 0.1);
  border-color: rgba(176, 141, 79, 0.28);
}

.status-paid {
  color: #1f6a8c;
  background: rgba(31, 106, 140, 0.08);
  border-color: rgba(31, 106, 140, 0.24);
}

.status-shipped {
  color: var(--accent);
  background: rgba(181, 67, 43, 0.07);
  border-color: rgba(181, 67, 43, 0.24);
}

.status-done {
  color: var(--ok);
  background: rgba(61, 122, 90, 0.08);
  border-color: rgba(61, 122, 90, 0.24);
}

.status-cancelled {
  color: var(--muted);
  background: rgba(139, 131, 120, 0.1);
  border-color: rgba(139, 131, 120, 0.24);
}

.order-time {
  font-size: 12px;
  color: var(--muted);
}

.kv {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.kv div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  font-size: 13px;
}

.kv dt {
  color: var(--muted);
  font-size: 12px;
}

.kv dd {
  margin: 0;
  color: var(--ink-2);
  word-break: break-word;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  padding: 0 0 22px 18px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -21px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
}

.timeline-paid .timeline-dot {
  background: var(--ok);
  border-color: var(--ok);
}

.timeline-cancelled .timeline-dot {
  background: var(--muted);
  border-color: var(--muted);
}

.timeline-text {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
}

.timeline-time {
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.card-help p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.order-side .card-panel + .card-panel {
  margin-top: 20px;
}

.order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 80px;
}

.order-item {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: 20px 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-item:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow-sm);
}

.order-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.order-item-no {
  font-size: 12px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

.order-item-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.order-item-goods {
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-item-goods img {
  width: 44px;
  height: 54px;
  object-fit: cover;
  border-radius: 3px;
  background: var(--paper-3);
}

.order-item-count {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}

.order-item-total {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.order-item-total span {
  font-size: 15px;
  font-weight: 600;
}

.order-item-total time {
  font-size: 11px;
  color: var(--muted);
}

/* ───────────────────────── 支付结果 / 错误 ───────────────────────── */

.result {
  padding: clamp(48px, 7vw, 80px) 24px clamp(64px, 8vw, 100px);
}

.result-card {
  width: min(560px, 100%);
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: clamp(32px, 5vw, 52px);
}

.result-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  font-size: 24px;
  border: 1px solid var(--line-2);
}

.result-icon.is-ok {
  background: rgba(61, 122, 90, 0.1);
  color: var(--ok);
  border-color: rgba(61, 122, 90, 0.3);
}

.result-icon.is-wait {
  color: var(--gold);
  border-color: rgba(176, 141, 79, 0.4);
}

.result-icon.is-warn {
  color: var(--danger);
  border-color: rgba(163, 52, 31, 0.3);
}

.result-card h1 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
}

.result-desc {
  margin: 14px auto 0;
  max-width: 34ch;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.9;
}

.result-meta {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.result-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-meta span {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.result-meta strong {
  font-size: 14px;
  font-weight: 500;
}

.result-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.result-actions form {
  margin: 0;
}

.result-note {
  margin-top: 22px;
  font-size: 11px;
  color: var(--muted);
}

.error {
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 24px;
}

.error-code {
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 120px);
  line-height: 1;
  color: var(--line-2);
}

.error h1 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 12px;
}

.error-message {
  margin: 14px auto 28px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 13px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ───────────────────────── 页脚 ───────────────────────── */

.site-footer {
  margin-top: auto;
  background: var(--ink);
  color: #cfc6b8;
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-title {
  font-family: var(--serif);
  font-size: 22px;
  color: #f4ece0;
  letter-spacing: 0.08em;
}

.footer-en {
  margin-top: 6px;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: #8a8174;
}

.footer-desc {
  margin-top: 16px;
  font-size: 12px;
  color: #a49a8b;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8174;
  margin-bottom: 16px;
  font-weight: 400;
}

.footer-col p {
  font-size: 12px;
  line-height: 2.1;
  color: #b6ac9d;
}

.footer-note {
  color: #8a8174 !important;
  margin-top: 6px;
}

.footer-col a:hover {
  color: #f4ece0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(244, 236, 224, 0.12);
  font-size: 11px;
  color: #7d7466;
}

.footer-admin {
  color: #7d7466;
}

.footer-admin:hover {
  color: #f4ece0;
}

/* ───────────────────────── 响应式 ───────────────────────── */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    justify-self: start;
    width: min(100%, 400px);
    margin-top: 12px;
  }

  .hero-stamp {
    left: auto;
    right: -12px;
    bottom: -20px;
  }

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

  .product-gallery {
    position: static;
  }

  .cart,
  .checkout,
  .order {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .order-summary {
    position: static;
  }

  .promise-grid {
    gap: 24px;
  }

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

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    min-height: 64px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 84px 28px 28px;
    background: var(--paper-2);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 60px -30px rgba(26, 24, 21, 0.4);
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s step-end;
    z-index: 40;
  }

  .site-nav a {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-cart {
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 16px 0 !important;
  }

  body.nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(26, 24, 21, 0.32);
    z-index: 30;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-meta {
    gap: 24px;
  }

  .catalog-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .catalog-tools {
    justify-content: space-between;
  }

  .search {
    flex: 1;
  }

  .search input {
    width: 100%;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }

  .card-body {
    padding-top: 12px;
  }

  .card-title {
    font-size: 13px;
  }

  .card-sub {
    display: none;
  }

  .card-stock {
    display: none;
  }

  .price {
    font-size: 14px;
  }

  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb main remove"
      "thumb qty total";
    row-gap: 10px;
    align-items: start;
  }

  .cart-thumb {
    grid-area: thumb;
    width: 64px;
    height: 80px;
  }

  .cart-main {
    grid-area: main;
  }

  .cart-qty {
    grid-area: qty;
  }

  .cart-line-total {
    grid-area: total;
    align-self: center;
  }

  .cart-remove {
    grid-area: remove;
    justify-self: end;
  }

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

  .buy-actions {
    grid-template-columns: 1fr;
  }

  .buy-actions .btn-ghost {
    order: 2;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pay-steps {
    gap: 16px;
    font-size: 10px;
  }

  .result-meta {
    gap: 20px;
  }

  .kv div {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 10px;
  }

  .card-title {
    font-size: 12.5px;
  }

  .price {
    font-size: 13px;
  }

  .hero-stamp {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
